CN104834597A - Method and system for measuring application response duration - Google Patents

Method and system for measuring application response duration Download PDF

Info

Publication number
CN104834597A
CN104834597A CN201510099920.8A CN201510099920A CN104834597A CN 104834597 A CN104834597 A CN 104834597A CN 201510099920 A CN201510099920 A CN 201510099920A CN 104834597 A CN104834597 A CN 104834597A
Authority
CN
China
Prior art keywords
image
terminal
feature value
similarity
image feature
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
CN201510099920.8A
Other languages
Chinese (zh)
Other versions
CN104834597B (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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Network Technology Shenzhen 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 Sangfor Network Technology Shenzhen Co Ltd filed Critical Sangfor Network Technology Shenzhen Co Ltd
Priority to CN201510099920.8A priority Critical patent/CN104834597B/en
Publication of CN104834597A publication Critical patent/CN104834597A/en
Application granted granted Critical
Publication of CN104834597B publication Critical patent/CN104834597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for measuring application response duration. The method comprises the following steps that: a first terminal receiving a first time point transmitted by a second terminal; when the first time point is received, the first terminal acquires a first image of a display interface of the second terminal, and determines a first image characteristic value corresponding to the acquired first image; the first terminal acquires a second image of the display interface of the second terminal periodically, and determines a second image characteristic value corresponding to the second image every time the second image is acquired; when the similarity between the second image characteristic value and the first image characteristic value is matched with preset similarity, the first terminal acquires a second time point corresponding to the second image; and the first terminal takes the time difference between the first time point and the second time point as the response duration of an application. The invention also discloses a system for measuring the application response duration. Through adoption of the method and system, the detection of the application response duration is accurate.

Description

The measuring method of application response time and system
Technical field
The present invention relates to computer software fields, particularly relate to measuring method and the system of application response time.
Background technology
Consumer's Experience is that a kind of pure subjectivity uses the impression set up in product process user, it comprises sensory experience, interactive experience, viewing experience etc., for the Consumer's Experience of application (as interactive software), service response duration is one of important indicator weighing Consumer's Experience, such as: open a remote desktop and operate, service response duration how, play a video, picture card or not, open a virtual desktop to operate, service response duration how, inquire about a form, how etc. service response duration, these response times are all the user experience datas that we wish to quantize very much, contribute to the Consumer's Experience performance that helper applications developer improves product.
In prior art, the general timestamp sent a request message by third party's instrument prize procedure interface and receive response message is determined to apply response time, but when third party's instrument captures response message, the display interface applied does not show the display interface after response message completely, causes the application response time measured to be inaccurate.
Foregoing, only for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Fundamental purpose of the present invention is to propose a kind of measuring method and the system of applying response time, is intended to solve the technical matters that the detection of application response time is not accurate enough.
For achieving the above object, the invention provides a kind of measuring method applying response time, the measuring method of described application response time comprises the following steps:
First terminal receives the very first time point that the second terminal sends, and wherein, the very first time corresponding for described application operating instruction point, when detecting application operating instruction, is sent to described first terminal by described second terminal;
When receiving point of the described very first time, described first terminal gathers first image at described second terminal demonstration interface, and determines the first image feature value that the first image of collection is corresponding;
Second image at the second terminal demonstration interface described in described first terminal timing acquiring, when collecting described second image at every turn, determines the second image feature value that described second image is corresponding;
When the similarity between described second image feature value and described first image feature value and the similarity mode preset, described first terminal obtains the second time point corresponding to described second image;
Described first terminal is using the response time of the mistiming between described very first time point and the second time point as described application.
Preferably, when described similarity between described second image feature value and described first image feature value and the similarity mode preset, the step that described first terminal obtains the second time point corresponding to described second image comprises:
When the similarity between described second image feature value and described first image feature value and the similarity mode preset, described first terminal upgrades the number of times of described similarity mode;
When the number of times of described similarity mode is more than or equal to the first predetermined threshold value, described first terminal obtains the second time point corresponding to the second image corresponding to current described second image feature value determined.
Preferably, when the similarity between described second image feature value and described first image feature value and the similarity mode preset, the step that described first terminal obtains the second time point corresponding to described second image comprises:
Described first terminal determines the operational order of the current execution of the second terminal, and based on mapping relations between the operational order preset and similarity, determines the similarity that described operational order is corresponding;
When the similarity between described second image feature value and described first image feature value and the similarity mode determined, described first terminal obtains the second time point corresponding to described second image.
Preferably, the very first time point of the second terminal transmission is received at described first terminal, wherein, described second terminal is when detecting application operating instruction, before the very first time corresponding for described application operating instruction point is sent to the step of described first terminal, the measuring method of described application response time also comprises:
Described first terminal obtains the first image of the second terminal current display interface, and determines the first image feature value that the first image of collection is corresponding;
Second image at the second terminal demonstration interface described in described first terminal timing acquiring, when collecting described second image at every turn, determines the second image feature value that described second image is corresponding;
Described first terminal calculates the similarity between described second image feature value and described first image feature value, and when described similarity is with the similarity mode preset, described first terminal upgrades the number of times of described similarity mode;
When the number of times of described similarity mode is more than or equal to the second predetermined threshold value, store the current similarity calculated.
Preferably, the measuring method of described application response time also comprises:
When the second terminal carries out video playback, the picture frame that described first terminal timing acquisition first terminal is play;
When getting described picture frame at every turn, described first terminal calculates the 3rd image feature value corresponding to the picture frame that gets;
When the 3rd image feature value that this calculates is identical with the 3rd image feature value that last computation obtains, described first terminal output video card pauses information.
In addition, for achieving the above object, the present invention also proposes a kind of measuring system applying response time, and the measuring system of described application response time comprises:
Receiver module, receives the very first time point that other terminal sends, and wherein, the very first time corresponding for described application operating instruction point, when detecting application operating instruction, is sent to the terminal at described receiver module place by other terminal described;
Image capture module, for when receiving point of the described very first time, gathers first image at other terminal demonstration interface described;
Characteristics extraction module, for determining the first image feature value that the first image of collection is corresponding;
Described image capture module is also for second image at other terminal demonstration interface described in timing acquiring;
Described characteristics extraction module, also for when collecting described second image at every turn, determines the second image feature value that described second image is corresponding;
Acquisition module, during for the similarity between described second image feature value and described first image feature value with the similarity mode preset, obtains the second time point that described second image is corresponding;
Processing module, for putting the response time of the mistiming between the second time point as described application using the described very first time.
Preferably, described acquisition module comprises:
Updating block, during for the similarity between described second image feature value and described first image feature value with the similarity mode preset, upgrades the number of times of described similarity mode;
First acquiring unit, for when the number of times of described similarity mode is more than or equal to the first predetermined threshold value, obtains the second time point that the second image corresponding to current described second image feature value determined is corresponding.
Preferably, described acquisition module comprises:
Determining unit, for determining the operational order of the current execution of other terminal, and based on mapping relations between the operational order preset and similarity, determines the similarity that described operational order is corresponding;
Second acquisition unit, during for the similarity between described second image feature value and described first image feature value with the similarity mode determined, obtains the second time point that described second image is corresponding.
Preferably, the measuring system of described application response time also comprises:
Described image capture module, also for obtaining the image of other terminal current display interface;
Described characteristics extraction module, also for determining the first image feature value that the image of collection is corresponding;
Described image capture module, also for the image at other terminal demonstration interface described in timing acquiring;
Described characteristics extraction module, also for when collecting described image at every turn, determines the second image feature value that described image is corresponding;
Similarity calculation module, for calculating the similarity between described second image feature value and described first image feature value;
Update module, for when described similarity is with the similarity mode preset, upgrades the number of times of described similarity mode;
Memory module, for when the number of times of described similarity mode is more than or equal to the second predetermined threshold value, stores the current similarity calculated.
Preferably, the measuring system of described application response time also comprises:
Described image capture module, also for when other terminal carries out video playback, the picture frame that described first terminal timing acquisition first terminal is play;
Described characteristics extraction module, also for when getting described picture frame at every turn, the 3rd image feature value that the picture frame that calculating gets is corresponding;
Message output module, when the 3rd image feature value that the 3rd image feature value and last computation for calculating at this obtain is identical, output video card pauses information.
The detection method of the application response time that the present invention proposes and system, first terminal calculates the first image feature value of the display interface before the second terminal response application operating instruction, and calculate the second image feature value that the second terminal rings the display interface after receiving application operating instruction, when the similarity between the first image feature value and the second image feature value and the similarity mode preset, illustrate that the display interface of the second terminal has jumped to default display interface (namely having responded this application operating instruction), now the response time of the time interval between the first image feature value and the second image feature value as described application will be calculated, to make the detection of application response time comparatively accurate.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of detection method first embodiment of the present invention's application response time;
Fig. 2 is the refinement schematic flow sheet of step S40 first embodiment in Fig. 1;
Fig. 3 is the refinement schematic flow sheet of step S40 second embodiment in Fig. 1;
Fig. 4 is the schematic flow sheet of detection method second embodiment of the present invention's application response time;
Fig. 5 is the high-level schematic functional block diagram of the present invention's application response time detection system first embodiment;
Fig. 6 is the refinement high-level schematic functional block diagram of acquisition module first embodiment in Fig. 5;
Fig. 7 is the refinement high-level schematic functional block diagram of acquisition module first embodiment in Fig. 5;
Fig. 8 is the high-level schematic functional block diagram of the present invention's application response time detection system second embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of detection method applying response time.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are detection method first embodiment of the present invention's application response time.
The present embodiment proposes a kind of detection method applying response time, and the detection method of described application response time comprises:
Step S10, first terminal receives the very first time point that the second terminal sends, and wherein, the very first time corresponding for described application operating instruction point, when detecting application operating instruction, is sent to described first terminal by described second terminal;
In the present embodiment, second terminal is by VGA (Video Graphics Array, Video Graphics Array) or HDMI (High Definition Multimedia Interface, HDMI (High Definition Multimedia Interface)) interface be connected with first terminal.This application operating instruction by double-click application icon, click the corresponding operational order such as control and touch, voice and gesture in application display interface and trigger, the second terminal will be put by the mode that the very first time stabs and be sent to first terminal the very first time.
Step S20, when receiving point of the described very first time, described first terminal gathers first image at described second terminal demonstration interface, and determines the first image feature value that the first image of collection is corresponding;
In the present embodiment, the second terminal obtains the first image in its display interface by screenshotss or the mode that obtains display information, and the first image got is sent to first terminal through VGA or HDMI.The first image feature value that this first image is corresponding is preferably finger image, this finger image needs the image received to be reduced into default size when calculating, and the gray scale of the image after reducing is adjusted to greyish white, then the pixel average of the image after adjustment gray scale is calculated, compare each pixel one by one and pixel average magnitude relationship obtains finger image, when the pixel value of pixel is less than pixel average, the fingerprint value that this pixel is corresponding is 0, when the pixel value of pixel is greater than pixel average, the fingerprint value that this pixel is corresponding is 1, pixel value based on each pixel is arranged as finger image.Such as: each pixel value: 64642535124223; Pixel average: 37 finger images: 1100010.This first image is the display interface before the second terminal response operational order.
Step S30, second image at the second terminal demonstration interface described in described first terminal timing acquiring, when collecting described second image at every turn, determines the second image feature value that described second image is corresponding;
Step S40, when the similarity between described second image feature value and described first image feature value and the similarity mode preset, described first terminal obtains the second time point corresponding to described second image;
Step S50, described first terminal is using the response time of the mistiming between described very first time point and the second time point as described application.
In the present embodiment, the similarity between the image feature value of the image display interfaces before this similarity preset is operation response instruction and after operation response instruction.Time interval gathered between image is set by designer at every turn for this, and this time interval is ms rank, such as 15ms.When described first terminal gathers second image at described second terminal demonstration interface at every turn, corresponding timestamp can be added in the image gathered, and when the similarity between described second image feature value and described first image feature value and default similarity mode, determine the second image that the second image feature value of this coupling is corresponding, using timestamp corresponding for this second image as the second time point.Second image feature value is identical with the account form of the first image feature value, does not repeat them here.
In the present embodiment, the similarity acquisition process preset is as follows, namely before step S10, also comprises step:
A, described first terminal obtain the first image of the second terminal current display interface, and determine the first image feature value that the first image of collection is corresponding;
Second image at the second terminal demonstration interface described in B, described first terminal timing acquiring, when collecting described second image at every turn, determines the second image feature value that described second image is corresponding;
C, described first terminal calculate the similarity between described second image feature value and described first image feature value, and when described similarity is with the similarity mode preset, described first terminal upgrades the number of times of described similarity mode;
D, when the number of times of described similarity mode is more than or equal to the second predetermined threshold value, store the current similarity calculated.
In the present embodiment, above-mentioned second predetermined threshold value can be arranged by user.Because the first image feature value and the second image feature value are all relevant with the resolution of image, then, when the image resolution ratio amendment of the second terminal, the second terminal re-executes steps A-D, to redefine default similarity.
The detection method of the application response time that the present embodiment proposes, first terminal calculates the first image feature value of the display interface before the second terminal response application operating instruction, and calculate the second image feature value that the second terminal rings the display interface after receiving application operating instruction, when the similarity between the first image feature value and the second image feature value and the similarity mode preset, illustrate that the display interface of the second terminal has jumped to default display interface (namely having responded this application operating instruction), now the response time of the time interval between the first image feature value and the second image feature value as described application will be calculated, to make the detection of application response time comparatively accurate, simultaneously, the response time of the application run in the second terminal is detected by first terminal, the operational efficiency applied in first terminal can not be affected, and improve the accuracy of detection of application response time.
Further, for improving the accuracy of detection of application response time, with reference to Fig. 2, described step S40 comprises:
Step S41, when the similarity between described second image feature value and described first image feature value and the similarity mode preset, described first terminal upgrades the number of times of described similarity mode;
Step S42, when the number of times of described similarity mode is more than or equal to the first predetermined threshold value, described first terminal obtains the second time point corresponding to the second image corresponding to current described second image feature value determined.
In the present embodiment, the number of times of the described similarity mode of the renewal of indication, refers to and now adds 1 to described similarity mode, and can reset the number of times of similarity mode after acquisition second time point.First predetermined threshold value can be identical with the second predetermined threshold value, also can be different from the second predetermined threshold value.
Further, for improving the accuracy of detection of application response time, with reference to Fig. 3, described step S40 comprises:
Step S43, described first terminal determines the operational order of the current execution of the second terminal, and based on mapping relations between the operational order preset and similarity, determines the similarity that described operational order is corresponding;
Step S44, when the similarity between described second image feature value and described first image feature value and the similarity mode determined, described first terminal obtains the second time point corresponding to described second image.
In the present embodiment, the operational order of current execution can be sent to first terminal by described second terminal while transmission very first time point, optimal way is be added in the operational order of current execution using very first time point as timestamp, and be sent to first terminal, because the image display interfaces before the execution that different operational orders is corresponding and after performing is different, therefore different default similarities can be set for different application operating instructions.
Further, the function of horn of plenty application corresponding duration detection system, with reference to Fig. 4, propose the second embodiment of the present invention's application response time detection method based on the first embodiment, in the present embodiment, described application corresponding duration detection method also comprises step:
Step S60, when the second terminal carries out video playback, the picture frame that described first terminal timing acquisition first terminal is play;
Step S70, when getting described picture frame at every turn, described first terminal calculates the 3rd image feature value corresponding to the picture frame that gets;
Step S80, when the 3rd image feature value that this calculates is identical with the 3rd image feature value that last computation obtains, described first terminal output video card pauses information.
In the present embodiment, determine whether the video file of current broadcasting occurs card by the last image feature value detected of comparison and the image feature value this time detected.
The present invention further provides a kind of application response time detection system.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are the present invention's application response time detection system first embodiment.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 5 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the application response time detection system shown in Fig. 5, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for auxiliary each program function block understanding this application response time detection system, be not used in and limit technical scheme of the present invention, the core of technical solution of the present invention is, the function that the functional module of respective define name will be reached.
The present embodiment proposes a kind of application response time detection system, and described application response time detection system comprises:
Receiver module 10, receives the very first time point that other terminal sends, and wherein, the very first time corresponding for described application operating instruction point, when detecting application operating instruction, is sent to the terminal at described receiver module 10 place by other terminal described;
In the present embodiment, other terminal is by VGA (Video Graphics Array, Video Graphics Array) or HDMI (High Definition Multimedia Interface, HDMI (High Definition Multimedia Interface)) interface be connected with the terminal at receiver module 10 place.This application operating instruction by double-click application icon, click the corresponding operational order such as control and touch, voice and gesture in application display interface and trigger, the very first time is put the terminal being sent to receiver module 10 place by the mode that other terminal stab by the very first time.
Image capture module 20, for when receiving point of the described very first time, gathers first image at other terminal demonstration interface described;
Characteristics extraction module 30, for determining the first image feature value that the first image of collection is corresponding;
In the present embodiment, other terminal obtains the first image in its display interface by screenshotss or the mode that obtains display information, and the first image got is sent to first terminal through VGA or HDMI.The first image feature value that this first image is corresponding is preferably finger image, this finger image needs the image received to be reduced into default size when calculating, and the gray scale of the image after reducing is adjusted to greyish white, then the pixel average of the image after adjustment gray scale is calculated, when the pixel value of pixel is less than pixel average, the fingerprint value that this pixel is corresponding is 0, when the pixel value of pixel is greater than pixel average, the fingerprint value that this pixel is corresponding is 1, and the pixel value based on each pixel is arranged as finger image.Such as: each pixel value: 64642535124223; Pixel average: 37 finger images: 1100010.This first image is the display interface before the second terminal response operational order.
Described image capture module 20, also for second image at other terminal demonstration interface described in timing acquiring;
Described characteristics extraction module 30, also for when collecting described second image at every turn, determines the second image feature value that described second image is corresponding;
Acquisition module 40, during for the similarity between described second image feature value and described first image feature value with the similarity mode preset, obtains the second time point that described second image is corresponding;
Processing module 50, for putting the response time of the mistiming between the second time point as described application using the described very first time.
In the present embodiment, the similarity between the image feature value of the image display interfaces before this similarity preset is operation response instruction and after operation response instruction.Time interval gathered between image is set by designer at every turn for this, and this time interval is ms rank, such as 15ms.When the terminal at described receiver module 10 place gathers second image at other terminal demonstration interface described at every turn, corresponding timestamp can be added in the image gathered, and when the similarity between described second image feature value and described first image feature value and default similarity mode, determine the second image that the second image feature value of this coupling is corresponding, using timestamp corresponding for this second image as the second time point.Second image feature value is identical with the account form of the first image feature value, does not repeat them here.
In the present embodiment, the similarity acquisition process preset is as follows, and described image capture module 20 obtains the image of other terminal current display interface; Characteristics extraction module 30 determines the first image feature value that the image of collection is corresponding; The image at other terminal demonstration interface described in image capture module 20 timing acquiring; Characteristics extraction module 30, when collecting described image at every turn, determines the second image feature value that described image is corresponding; Similarity calculation module, calculates the similarity between described second image feature value and described first image feature value; Update module, when described similarity is with the similarity mode preset, upgrades the number of times of described similarity mode; Memory module, when the number of times of described similarity mode is more than or equal to the second predetermined threshold value, stores the current similarity calculated.
In the present embodiment, above-mentioned second predetermined threshold value can be arranged by user.Because the first image feature value and the second image feature value are all relevant with the resolution of image, then, when the image resolution ratio amendment of other terminal, other terminal re-executes similarity acquisition process, to redefine default similarity.
The detection system of the application response time that the present embodiment proposes, first terminal calculates the first image feature value of the display interface before other terminal response application operating instruction, and calculate the second image feature value that other terminal rings the display interface after receiving application operating instruction, when the similarity between the first image feature value and the second image feature value and the similarity mode preset, illustrate that the display interface of other terminal has jumped to default display interface (namely having responded this application operating instruction), now the response time of the time interval between the first image feature value and the second image feature value as described application will be calculated, to make the detection of application response time comparatively accurate, simultaneously, the response time of the application run in other terminal is detected by first terminal, the operational efficiency applied in first terminal can not be affected, and improve the accuracy of detection of application response time.
Further, for improving the accuracy of detection of application response time, with reference to Fig. 6, described acquisition module 40 comprises:
Updating block 41, during for the similarity between described second image feature value and described first image feature value with the similarity mode preset, upgrades the number of times of described similarity mode;
First acquiring unit 42, for when the number of times of described similarity mode is more than or equal to the first predetermined threshold value, obtains the second time point that the second image corresponding to current described second image feature value determined is corresponding.
In the present embodiment, the number of times of the described similarity mode of the renewal of indication, refers to and now adds 1 to described similarity mode, and can reset the number of times of similarity mode after acquisition second time point.First predetermined threshold value can be identical with the second predetermined threshold value, also can be different from the second predetermined threshold value.
Further, for improving the accuracy of detection of application response time, with reference to Fig. 7, described acquisition module 40 comprises:
Determining unit 43, for determining the operational order of the current execution of other terminal, and based on mapping relations between the operational order preset and similarity, determines the similarity that described operational order is corresponding;
Second acquisition unit 44, during for the similarity between described second image feature value and described first image feature value with the similarity mode determined, obtains the second time point that described second image is corresponding.
In the present embodiment, the operational order of current execution can be sent to the terminal at receiver module 10 place by other terminal described while sending very first time point, optimal way is be added in the operational order of current execution using very first time point as timestamp, and be sent to the terminal at receiver module 10 place, because the image display interfaces before the execution that different operational orders is corresponding and after performing is different, therefore different default similarities can be set for different application operating instructions.
Further, the function of horn of plenty application corresponding duration detection system, with reference to Fig. 8, proposes the second embodiment of the measuring system of the present invention's application response time based on the first embodiment, in the present embodiment,
Described image capture module 20, also for when other terminal carries out video playback, the picture frame that described first terminal timing acquisition first terminal is play;
Described characteristics extraction module 30, also for when getting described picture frame at every turn, the 3rd image feature value that the picture frame that calculating gets is corresponding;
The measuring system of described application response time also comprises:
Message output module 60, when the 3rd image feature value that the 3rd image feature value and last computation for calculating at this obtain is identical, output video card pauses information.
In the present embodiment, determine whether the video file of current broadcasting occurs card by the last image feature value detected of comparison and the image feature value this time detected.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or system and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or system.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the system comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. apply a measuring method for response time, it is characterized in that, the measuring method of described application response time comprises the following steps:
First terminal receives the very first time point that the second terminal sends, and wherein, the very first time corresponding for described application operating instruction point, when detecting application operating instruction, is sent to described first terminal by described second terminal;
When receiving point of the described very first time, described first terminal gathers first image at described second terminal demonstration interface, and determines the first image feature value that the first image of collection is corresponding;
Second image at the second terminal demonstration interface described in described first terminal timing acquiring, when collecting described second image at every turn, determines the second image feature value that described second image is corresponding;
When the similarity between described second image feature value and described first image feature value and the similarity mode preset, described first terminal obtains the second time point corresponding to described second image;
Described first terminal is using the response time of the mistiming between described very first time point and the second time point as described application.
2. the measuring method of application response time as claimed in claim 1, it is characterized in that, when described similarity between described second image feature value and described first image feature value and the similarity mode preset, the step that described first terminal obtains the second time point corresponding to described second image comprises:
When the similarity between described second image feature value and described first image feature value and the similarity mode preset, described first terminal upgrades the number of times of described similarity mode;
When the number of times of described similarity mode is more than or equal to the first predetermined threshold value, described first terminal obtains the second time point corresponding to the second image corresponding to current described second image feature value determined.
3. the measuring method of application response time as claimed in claim 1, it is characterized in that, when the similarity between described second image feature value and described first image feature value and the similarity mode preset, the step that described first terminal obtains the second time point corresponding to described second image comprises:
Described first terminal determines the operational order of the current execution of the second terminal, and based on mapping relations between the operational order preset and similarity, determines the similarity that described operational order is corresponding;
When the similarity between described second image feature value and described first image feature value and the similarity mode determined, described first terminal obtains the second time point corresponding to described second image.
4. the measuring method of the application response time as described in any one of claim 1-3, it is characterized in that, the very first time point of the second terminal transmission is received at described first terminal, wherein, described second terminal is when detecting application operating instruction, before the very first time corresponding for described application operating instruction point is sent to the step of described first terminal, the measuring method of described application response time also comprises:
Described first terminal obtains the first image of the second terminal current display interface, and determines the first image feature value that the first image of collection is corresponding;
Second image at the second terminal demonstration interface described in described first terminal timing acquiring, when collecting described second image at every turn, determines the second image feature value that described second image is corresponding;
Described first terminal calculates the similarity between described second image feature value and described first image feature value, and when described similarity is with the similarity mode preset, described first terminal upgrades the number of times of described similarity mode;
When the number of times of described similarity mode is more than or equal to the second predetermined threshold value, store the current similarity calculated.
5. the measuring method of the application response time as described in any one of claim 1-3, is characterized in that, the measuring method of described application response time also comprises:
When the second terminal carries out video playback, the picture frame that described first terminal timing acquisition first terminal is play;
When getting described picture frame at every turn, described first terminal calculates the 3rd image feature value corresponding to the picture frame that gets;
When the 3rd image feature value that this calculates is identical with the 3rd image feature value that last computation obtains, described first terminal output video card pauses information.
6. apply a measuring system for response time, it is characterized in that, the measuring system of described application response time comprises:
Receiver module, receives the very first time point that other terminal sends, and wherein, the very first time corresponding for described application operating instruction point, when detecting application operating instruction, is sent to the terminal at described receiver module place by other terminal described;
Image capture module, for when receiving point of the described very first time, gathers first image at other terminal demonstration interface described;
Characteristics extraction module, for determining the first image feature value that the first image of collection is corresponding;
Described image capture module is also for second image at other terminal demonstration interface described in timing acquiring;
Described characteristics extraction module, also for when collecting described second image at every turn, determines the second image feature value that described second image is corresponding;
Acquisition module, during for the similarity between described second image feature value and described first image feature value with the similarity mode preset, obtains the second time point that described second image is corresponding;
Processing module, for putting the response time of the mistiming between the second time point as described application using the described very first time.
7. the measuring system of application response time as claimed in claim 6, it is characterized in that, described acquisition module comprises:
Updating block, during for the similarity between described second image feature value and described first image feature value with the similarity mode preset, upgrades the number of times of described similarity mode;
First acquiring unit, for when the number of times of described similarity mode is more than or equal to the first predetermined threshold value, obtains the second time point that the second image corresponding to current described second image feature value determined is corresponding.
8. the measuring system of application response time as claimed in claim 6, it is characterized in that, described acquisition module comprises:
Determining unit, for determining the operational order of the current execution of other terminal, and based on mapping relations between the operational order preset and similarity, determines the similarity that described operational order is corresponding;
Second acquisition unit, during for the similarity between described second image feature value and described first image feature value with the similarity mode determined, obtains the second time point that described second image is corresponding.
9. the measuring system of the application response time as described in any one of claim 6-8, is characterized in that, the measuring system of described application response time also comprises:
Described image capture module, also for obtaining the image of other terminal current display interface;
Described characteristics extraction module, also for determining the first image feature value that the image of collection is corresponding;
Described image capture module, also for the image at other terminal demonstration interface described in timing acquiring;
Described characteristics extraction module, also for when collecting described image at every turn, determines the second image feature value that described image is corresponding;
Similarity calculation module, for calculating the similarity between described second image feature value and described first image feature value;
Update module, for when described similarity is with the similarity mode preset, upgrades the number of times of described similarity mode;
Memory module, for when the number of times of described similarity mode is more than or equal to the second predetermined threshold value, stores the current similarity calculated.
10. the measuring system of the application response time as described in any one of claim 6-8, is characterized in that, the measuring system of described application response time also comprises:
Described image capture module, also for when other terminal carries out video playback, the picture frame that described first terminal timing acquisition first terminal is play;
Described characteristics extraction module, also for when getting described picture frame at every turn, the 3rd image feature value that the picture frame that calculating gets is corresponding;
Message output module, when the 3rd image feature value that the 3rd image feature value and last computation for calculating at this obtain is identical, output video card pauses information.
CN201510099920.8A 2015-03-06 2015-03-06 Using the measuring method and system of response time Active CN104834597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510099920.8A CN104834597B (en) 2015-03-06 2015-03-06 Using the measuring method and system of response time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510099920.8A CN104834597B (en) 2015-03-06 2015-03-06 Using the measuring method and system of response time

Publications (2)

Publication Number Publication Date
CN104834597A true CN104834597A (en) 2015-08-12
CN104834597B CN104834597B (en) 2017-12-26

Family

ID=53812502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510099920.8A Active CN104834597B (en) 2015-03-06 2015-03-06 Using the measuring method and system of response time

Country Status (1)

Country Link
CN (1) CN104834597B (en)

Cited By (9)

* 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
CN106227632A (en) * 2016-08-05 2016-12-14 北京小米移动软件有限公司 The method and device of judgement equipment response time, electronic equipment
CN106961631A (en) * 2017-04-10 2017-07-18 上海艾策通讯科技股份有限公司 The apparatus and method for monitoring video traffic playing request response delay
CN107515825A (en) * 2017-08-22 2017-12-26 网易(杭州)网络有限公司 Fluency method of testing and device, storage medium, terminal
CN107704388A (en) * 2017-09-26 2018-02-16 百度在线网络技术(北京)有限公司 For the method and apparatus for the startup time for determining application
CN110426393A (en) * 2019-07-23 2019-11-08 中储粮成都储藏研究院有限公司 The detection method and system of grain seed
CN110908905A (en) * 2019-11-15 2020-03-24 北京博睿宏远数据科技股份有限公司 Method, device, equipment and medium for measuring transaction speed of security dealer APP
CN112445687A (en) * 2019-08-30 2021-03-05 深信服科技股份有限公司 Blocking detection method of computing equipment and related device
CN112788391A (en) * 2021-01-22 2021-05-11 深圳创维-Rgb电子有限公司 Key delay testing method and device, computer equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011073759A1 (en) * 2009-12-01 2011-06-23 Cinnober Financial Technology Ab Methods and systems for automatic testing of a graphical user interface
CN102662839A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Testing method and device for software interface state change time
CN102902625A (en) * 2012-11-14 2013-01-30 北京奇虎科技有限公司 Software performance test system and method
CN104090842A (en) * 2014-07-15 2014-10-08 深圳市金立通信设备有限公司 Detection method for application program running
CN104123221A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Response time test method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011073759A1 (en) * 2009-12-01 2011-06-23 Cinnober Financial Technology Ab Methods and systems for automatic testing of a graphical user interface
CN102662839A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Testing method and device for software interface state change time
CN102902625A (en) * 2012-11-14 2013-01-30 北京奇虎科技有限公司 Software performance test system and method
CN104123221A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Response time test method and device
CN104090842A (en) * 2014-07-15 2014-10-08 深圳市金立通信设备有限公司 Detection method for application program running

Cited By (11)

* 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
CN105389258B (en) * 2015-12-10 2020-08-14 腾讯科技(深圳)有限公司 Program detection method and device
CN106227632A (en) * 2016-08-05 2016-12-14 北京小米移动软件有限公司 The method and device of judgement equipment response time, electronic equipment
CN106961631A (en) * 2017-04-10 2017-07-18 上海艾策通讯科技股份有限公司 The apparatus and method for monitoring video traffic playing request response delay
CN107515825A (en) * 2017-08-22 2017-12-26 网易(杭州)网络有限公司 Fluency method of testing and device, storage medium, terminal
CN107704388A (en) * 2017-09-26 2018-02-16 百度在线网络技术(北京)有限公司 For the method and apparatus for the startup time for determining application
CN110426393A (en) * 2019-07-23 2019-11-08 中储粮成都储藏研究院有限公司 The detection method and system of grain seed
CN112445687A (en) * 2019-08-30 2021-03-05 深信服科技股份有限公司 Blocking detection method of computing equipment and related device
CN110908905A (en) * 2019-11-15 2020-03-24 北京博睿宏远数据科技股份有限公司 Method, device, equipment and medium for measuring transaction speed of security dealer APP
CN110908905B (en) * 2019-11-15 2023-07-14 北京博睿宏远数据科技股份有限公司 Method, device, equipment and medium for measuring APP transaction speed of security dealer
CN112788391A (en) * 2021-01-22 2021-05-11 深圳创维-Rgb电子有限公司 Key delay testing method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN104834597B (en) 2017-12-26

Similar Documents

Publication Publication Date Title
CN104834597A (en) Method and system for measuring application response duration
CN105867751B (en) Operation information processing method and device
US11280809B2 (en) Method and apparatus for processing oscilloscope signal and oscilloscope
CN109446025B (en) Operation behavior playback method and device, electronic equipment and readable medium
CN104657211A (en) Method and equipment used for operating target application on corresponding equipment
JP2014106681A5 (en)
CN111858318B (en) Response time testing method, device, equipment and computer storage medium
CN103455403B (en) Method of testing and device
US20230316529A1 (en) Image processing method and apparatus, device and storage medium
CN111736918B (en) Buried point configuration method and device and electronic equipment
US20150012644A1 (en) Performance measurement method, storage medium, and performance measurement device
CN112994980B (en) Time delay test method, device, electronic equipment and storage medium
CN112487871B (en) Handwriting data processing method and device and electronic equipment
CN116126580B (en) Touch display control method, device, equipment and storage medium
CN110673886A (en) Method and device for generating thermodynamic diagram
CN109104608B (en) Television performance test method, equipment and computer readable storage medium
CN115134523B (en) Remote control method, remote control device, operation terminal, control device and storage medium
JP5266416B1 (en) Test system and test program
CN111124862B (en) Intelligent device performance testing method and device and intelligent device
CN113656286A (en) Software testing method and device, electronic equipment and readable storage medium
CN109269628B (en) Method for monitoring motor vibration, terminal device and computer readable storage medium
CN111274104B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN112817441A (en) Method and device for combining key and human eye identification
CN114706498B (en) Method and device for displaying pressing position of touch screen through touch screen software
CN114327592A (en) Page point burying method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200611

Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park building A1 layer

Patentee after: SANGFOR TECHNOLOGIES Inc.

Address before: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park A1 building five floor

Patentee before: Shenxin network technology (Shenzhen) Co.,Ltd.

TR01 Transfer of patent right