CN105025518B - A kind of application operation quality auto-dial testing method, server and system - Google Patents

A kind of application operation quality auto-dial testing method, server and system Download PDF

Info

Publication number
CN105025518B
CN105025518B CN201410178184.0A CN201410178184A CN105025518B CN 105025518 B CN105025518 B CN 105025518B CN 201410178184 A CN201410178184 A CN 201410178184A CN 105025518 B CN105025518 B CN 105025518B
Authority
CN
China
Prior art keywords
testing
angle point
image
matching
point
Prior art date
Application number
CN201410178184.0A
Other languages
Chinese (zh)
Other versions
CN105025518A (en
Inventor
胡建平
胡晶
郦敏懿
杜涛
朱裕江
李学军
朱彤
朱一彤
孙丹宇
Original Assignee
中国电信股份有限公司
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 中国电信股份有限公司 filed Critical 中国电信股份有限公司
Priority to CN201410178184.0A priority Critical patent/CN105025518B/en
Publication of CN105025518A publication Critical patent/CN105025518A/en
Application granted granted Critical
Publication of CN105025518B publication Critical patent/CN105025518B/en

Links

Abstract

The invention discloses a kind of application operation quality auto-dial testing method, server and systems.This method includes:Testing server is communicated with terminal foundation, is issued to terminal and is instructed using testing, and receives the testing result that the terminal returns;The result shows that five application page has been opened, then the testing server matches the testing image in the five application page opened with expected image, and judges application operation quality according to matching result for the testing.Present invention improves over the accuracy of testing result and integralities.

Description

A kind of application operation quality auto-dial testing method, server and system

Technical field

The present invention relates to mobile Internet field more particularly to a kind of application operation quality auto-dial testing method, servers And system.

Background technology

Continuous development with third generation mobile technology and maturation have more and more mobile manufacturers' inputs a large amount of Manpower and materials carry out the researchs such as terminal device update, type of service innovation.Mobile communication business is gradually by traditional voice to various 3G application transformations.To effectively improve the user experience of mobile communication business, need to dial mobile phone business in network-wide basis It surveys.

Existing mobile Internet application quality auto-dial testing technology main purpose is identified for network failure, that is, to Test request is initiated using the network element or server at place, the running quality of application is measured according to the test result of return.Example Such as, network delay, connect into power etc..

For example, initiating to open certain http request linked to network element or server, network element or server can return to http sound It answers, if test result is normal, indicates to ask to handle successfully, if results abnormity, it is wrong that possible return time-out etc. contains exception The accidentally message of code indicates request processing failure.For example, the opening success rate of a certain page of testing, returns to normal code, then recognizes For success, exception error code is returned to, then it is assumed that failure.

But although sometimes returning successful code, still there may be some picture on the page and be not turned on The case where.Therefore, it still can not judge whether the page is fully open according to the test result of return, that is, can not be tied according to test Fruit carries out accurate judgement.

Invention content

The inventors found that above-mentioned exist in the prior art problem, and at least one be therefore directed in described problem A problem proposes a kind of new technical solution.

According to an aspect of the present invention, a kind of mobile Internet application operation quality auto-dial testing method is proposed, including:

Testing server is communicated with terminal foundation, is issued to terminal and is instructed using testing, and receives what the terminal returned Testing result;

The testing is the result shows that five application page has been opened, then the testing server will be in the five application page that opened Testing image is matched with expected image, and judges application operation quality according to matching result.

Further, the testing server matches the static part of testing image with expected image.

Further, if matching result shows successful match, the testing image in five application page is opened, otherwise, matching Failure, then the testing image in five application page is unopened.

Further, Corner Detection is carried out to testing image and expected image;

Pixel value by the pixel value of each angle point of testing image one by one with all angle points in expected image carries out phase Subtract, the absolute value of result will be subtracted each other as minimum error values;

Judge whether minimum error values are less than or equal to error threshold, if so, regard the angle point as match point, it is no Then, match point it is not;

Judge to regard as in all angle points of the testing image whether the quantity of match point is more than or equal to match point quantity Otherwise threshold value, mismatches if it is, thinking testing image and expected images match.

Further, n neighborhood is arranged in each angle point to detect, by the pixel value in the angle point and n neighborhood The pixel value with all angle points in expected image is subtracted each other one by one, will subtract each other the absolute value of result as error amount, from n+1 It is minimized as minimum error values in a error amount.

Further, by the angle point A for regarding match point in testing image as and in the expection image and matched angles angle point A Point B is as matching pair;

In the neighborhood of the angle point A, the angle point in the neighborhood and the holding strength A between the angle point B are calculated, and It is the ratio of the matching degree and its distance that match picture point pair to take the maximum value of holding strength A, the holding strength;

In the neighborhood of the angle point B, the angle point in the neighborhood and the holding strength B between the angle point A are calculated, and Take the maximum value of holding strength B;

The sum of the maximum value of the maximum value and holding strength B of holding strength A is calculated, if summed result is 0, indicates angle point A and angle point B is not matching pair, is matching pair otherwise;

Judge whether the quantity of matching pair is more than or equal to matching to amount threshold, if it is, think testing image with it is pre- Otherwise phase images match mismatches.

According to an aspect of the present invention, it is also proposed that a kind of mobile Internet application operation quality auto-dial testing server, including:

Transmit-Receive Unit is configured at and is communicated with terminal foundation, issues to terminal and instructed using testing, and receive the terminal and return Return testing as a result, the testing the result shows that five application page has been opened;

Matching unit, the testing image being configured in the five application page that will have been opened is matched with expected image, and root Judge application operation quality according to matching result.

Further, the matching unit matches the static part of testing image with expected image.

Further, if matching result shows successful match, the testing image in five application page is opened, otherwise, matching Failure, then the testing image in five application page is unopened.

Further, the matching unit carries out Corner Detection to testing image and expected image, by each of testing image Pixel value of the pixel value of angle point one by one with all angle points in expected image is subtracted each other, will subtract each other the absolute value of result as Minimum error values, the angle point that minimum error values are less than or equal to error threshold regard match point as, judge the testing image Regard whether the quantity of match point is more than or equal to match point amount threshold in all angle points as, if it is, thinking testing image It is otherwise mismatched with expected images match.

Further, the matching unit is that n neighborhood is arranged in each angle point detected, and the angle point and n is adjacent The pixel value of pixel value in domain one by one with all angle points in expected image is subtracted each other, will subtract each other the absolute value of result as Error amount is minimized from n+1 error amount as minimum error values.

Further, the matching unit will regard as in testing image the angle point A of match point in expected image with it is described The matched angle point B of angle point A are as matching pair;In the neighborhood of the angle point A, the angle point in the neighborhood and the angle point are calculated Holding strength A between B, and take the maximum value of holding strength A, the holding strength be match picture point pair matching degree and its The ratio of distance;In the neighborhood of the angle point B, the angle point in the neighborhood and the holding strength between the angle point A are calculated B, and take the maximum value of holding strength B;The sum of the maximum value of the maximum value and holding strength B of holding strength A is calculated, if summation As a result it is 0, it is matching pair to indicate angle point A and angle point B not, is matching pair otherwise;Judge whether the quantity of matching pair is more than or equal to Matching is to amount threshold, if it is, thinking testing image and expected images match, otherwise, mismatches.

According to an aspect of the present invention, it is also proposed that a kind of mobile Internet application operation quality auto-dial testing system, including:On State any testing server and application server, wherein the application testing that the application server receives terminal instructs, And return to testing result to the terminal.

According to an aspect of the present invention, it is also proposed that a kind of mobile Internet application operation quality auto-dial testing system, including:On State any testing server, terminal and application server, wherein

The testing server is communicated with terminal foundation, is issued to terminal and is instructed using testing;

Application testing instruction is sent to the application server by the terminal;

The application server returns to testing result to the terminal;

The testing result is sent to the testing server by the terminal.

Testing image in five application page is compared the present invention with expected image, and judges testing according to comparison result Whether image is opened, and may determine that five application page whether by complete, correct opening, improves the accurate of testing result in turn Property and integrality.

By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.

Description of the drawings

The attached drawing of a part for constitution instruction describes the embodiment of the present invention, and is used to solve together with the description Release the principle of the present invention.

The present invention can be more clearly understood according to following detailed description with reference to attached drawing, wherein:

Fig. 1 show a kind of flow of mobile Internet application operation quality auto-dial testing method in the embodiment of the present invention Schematic diagram.

Fig. 2 show a kind of structure of mobile Internet application operation quality auto-dial testing system in the embodiment of the present invention Schematic diagram.

Fig. 3 show a kind of mobile Internet application operation quality auto-dial testing system in another embodiment of the present invention Structural schematic diagram.

Specific implementation mode

Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition having Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.

Simultaneously, it should be appreciated that for ease of description, the size of attached various pieces shown in the drawings is not according to reality Proportionate relationship draw.

It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the present invention And its application or any restrictions that use.

Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as authorizing part of specification.

In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.

It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.

The present invention proposes a kind of application operation quality auto-dial testing method, server and system, in testing server The middle process being inserted into the characteristics of image Auto-matching of five application page testing result, and according to images match result test application page Whether correctly open in face.Application operation quality is measured so as to more complete, accurate.

The automatic service that the present invention is suitable for terminal is tested, the shiftings such as mobile phone, hand-held device especially in radio communication The automatic service test of dynamic terminal.

To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference Attached drawing, the present invention is described in more detail.

Fig. 1 show a kind of flow of mobile Internet application operation quality auto-dial testing method in the embodiment of the present invention Schematic diagram.This approach includes the following steps:

In step 11, testing server is communicated with terminal foundation, and is issued to terminal and instructed using testing.

The built-in testing program in step 12, terminal is answered where simulating true application program to application from the testing program With server send this using testing instruct, receive application server return testing as a result, and by testing result return to dial Survey server.

In step 13, testing is the result shows that five application page has been opened, then testing server will be in the five application page that opened Testing image matched with expected image, and application operation quality is judged according to matching result.Testing server can be deposited The expection image of various businesses is stored up, the type and quantity of image information can be configured according to business or other situations.

The prior art is only tested in signaling level, can not comprehensively and accurately reflect the genuine interface of terminal.Example Such as, it can not judge whether the picture on the page is opened completely.

The embodiment compares the testing image in five application page with expected image from testing screenshot picture itself It is right, and judge whether testing image is opened according to comparison result, and may determine that five application page whether by complete, correct in turn It opens, improves the accuracy and integrality of testing result.

Wherein, the testing image in the five application page opened is carried out matched operation with expected image is:

The static part of testing image is matched with expected image.

Wherein, if matching result shows successful match, the testing image in five application page is opened, and otherwise, matching is lost It loses, then the testing image in five application page is unopened.

In another embodiment of the invention, testing image and the expected image in the five application page opened are carried out The operation matched is as follows, that is, carries out thick matching operation:

Harris Corner Detections are carried out to testing image and expected image, respectively obtain the coordinate that angle point corresponds to the image Position.Wherein, the output result of Corner Detection is exactly the coordinate position of image, this is the function of function.

Each angle point of testing image is subtracted each other with all angle points in expected image one by one, the exhausted of result will be subtracted each other Minimum error values are used as to value, and record the coordinate position of the angle point of testing image.

Judge whether minimum error values are less than or equal to error threshold, if so, regard the angle point as match point, otherwise, It is not match point.

Judge to regard as in all angle points of testing image whether the quantity of match point is more than or equal to match point amount threshold, If it is, thinking testing image and expected images match, otherwise, mismatch.

In another embodiment of the invention, by each angle point of testing image one by one with all angle points in expected image Subtracted each other, the absolute value for subtracting each other result is as follows as the operation of minimum error values:

For each angle point for detecting, n neighborhood is set, by the pixel value in the angle point and n neighborhood one by one in advance The pixel value of all angle points in phase image is subtracted each other, and will subtract each other the absolute value of result as error amount, from n+1 error amount In be minimized as minimum error values.

The embodiment is calculated by the way that neighborhood is arranged according to the pixel value in angle point and neighborhood.To improve Accuracy of detection.

Below by a specific embodiment, above-mentioned matching process is described in detail.

Randomly choose the coordinate position of testing image and expected image, intercept anticipated image block A and testing image block B.

Using the Harris angular-point detection methods based on color-aware, extracts characteristic quantity and form feature vector.

Angle point receptance function (CRF) expression formula of Harris is:

CRF (x, y)=det (M)-k (trace (M))2, wherein:

Each pixel is filtered and acquires IxAnd Iy.W is window function, is generally set toSum formula In bound indicate neighborhood around calculated pixel.

The determinant of det (M) representing matrixes M, det (M)=1 × λ of λ 2, the mark of trace (M) representing matrix, trace (M) =λ 1+ λ 2, λ 1, λ 2 are characterized value.K is parameter, generally 0≤k≤1.If the CRF values of target pixel points are more than given threshold Value, illustrates that the pixel has strong response, which is angle point.

For example, being the coordinate position of 17 angle points of image one below

x 212 301 309 353 58 201 178 58 202 186 329 161 202 58 57 201 306 y 2 65 68 77 94 94 142 143 144 150 150 170 177 178 228 228 228

Centered on the coordinate position of angle point, n neighborhood territory pixel value is taken, for example, taking 8 neighborhood territory pixel values.Here 8 neighborhoods are taken Pixel value can reach certain matching accuracy.8 pixel values corresponding with the angle point are respectively

Coordinate Angle point 1 Angle point 2 Angle point 3 . . . Angle point 17 (x-1,y-1) 30 7 35 . . . 142 (x-1,y) 48 59 17 . . . 9 (x-1,y+1) 37 108 128 . . . 63 (x,y+1) 31 114 15 . . . 101 (x+1,y+1) 143 183 32 . . . 95 (x+1,y) 101 177 25 . . . 20 (x+1,y-1) 2 92 24 . . . 49 (x,y-1) 3 22 30 . . . 198

Angle point 1 in image one (i.e. testing image) and the pixel value in 8 neighborhoods is (i.e. expected with image two one by one Image) in the pixel values of all angle points subtracted each other, the absolute value of result will be subtracted each other as error amount, from 9 error amounts It is minimized as minimum error values, and records the coordinate position of the angle point of testing image.In this way, successively will be in image one Angle point 2, angle point 3 are subtracted each other until pixel value of the angle point 17 all with all angle points in image two (i.e. expected image), by phase Subtract the absolute value of result as error amount, and is minimized respectively as minimum error values from 9 error amounts.

Judge whether minimum error values are less than or equal to error threshold, if so, regard the angle point as match point, otherwise, It is not match point.

Here is the match point of two images

Match point 0 10 13 14 15 16 17 0 0 0 4 0 5 12 0 0 0 Error amount 0 336 105 64 53 34 104 0 0 0 389 0 204 400 0 0 0

Wherein, the error amount of match point is that match point is not found in 0 representative.

Judge to regard as in all angle points of testing image whether the quantity of match point is more than or equal to match point amount threshold, If it is, thinking testing image and expected images match, otherwise, mismatch.

In this embodiment, it can determine whether five application page whether by complete, correct opening according to thick matched process.

In another embodiment of the invention, testing image and the expected image in the five application page opened are carried out The operation matched is as follows, that is, smart matching is carried out on the basis of thick matching operation:

To regard as in testing image the angle point A of match point in expected image with the matched angle point B of the angle point A as Matching pair;

In the neighborhood of the angle point A, the angle point in the neighborhood and the holding strength A between the angle point B are calculated, and It is the ratio of the matching degree and its distance that match picture point pair to take the maximum value of holding strength A, the holding strength;

In the neighborhood of the angle point B, the angle point in the neighborhood and the holding strength B between the angle point A are calculated, and Take the maximum value of holding strength B;

The sum of the maximum value of the maximum value and holding strength B of holding strength A is calculated, if summed result is 0, indicates angle point A and angle point B is not matching pair, is matching pair otherwise;

Judge whether the quantity of matching pair is more than or equal to matching to amount threshold, if it is, think testing image with it is pre- Otherwise phase images match mismatches.

Below by a specific embodiment, above-mentioned smart matching process is described in detail.

Assuming that (Ai,Bj) it is matching pair, N (Ai) it is AiSurrounding angle point supports range (center Ai, radius is the circle domain of R).It is right In N (Ai) in all support AiAngle point Ah, (AhCorresponding matching is to (Ah,Br)), defining holding strength is:

Supp is holding strength, and corres is correlation function value, and ρ is parameter, 0<ρ<1, dis is the distance between 2 points. Wherein, holding strength is the common matching distance of maximum of angular points, and extracts matching pair in supporting corners Matching distance (Ai,Bj), calculate match strength.Holding strength indicates in angle point support range, matches the matching degree and its distance of picture point pair Ratio, images match point is to closer, and more similar, then holding strength is bigger.

Take N (Ai) in maximum holding strength maxsupp, the maximum of maximum holding strength expression holding strength in circle domain Value, then only consider matching by two-way, then matching is to (Ai,Bj) match strength be:

In the neighborhood of the angle point A, the angle point in the neighborhood and the holding strength A between the angle point B are calculated, and Take the maximum value of holding strength A.And in the neighborhood of the angle point B, the angle point in the neighborhood and the angle point A are calculated Between holding strength B, and take the maximum value of holding strength B.

Consider symmetry, there are S (Ai,Bj)=S (Bj,Ai).Calculate the maximum of the maximum value and holding strength B of holding strength A The sum of value, if summed result is 0, it is matching pair to indicate angle point A and angle point B not, is matching pair otherwise.

Judge whether the quantity of matching pair is more than or equal to matching to amount threshold, if it is, think testing image with it is pre- Otherwise phase images match mismatches.

Fig. 2 show a kind of structure of mobile Internet application operation quality auto-dial testing system in the embodiment of the present invention Schematic diagram.The system includes:Testing server 21, terminal 22 and application server 23.

The testing server 21 is communicated with the foundation of terminal 22, is issued to terminal 22 and is instructed using testing;

Application testing instruction is sent to the application server 23 by the terminal 22;

The application server 23 returns to testing result to the terminal 22;

The testing result is sent to the testing server 21 by the terminal 22.

Fig. 3 show a kind of mobile Internet application operation quality auto-dial testing system in another embodiment of the present invention Structural schematic diagram.Wherein, testing server 21 includes Transmit-Receive Unit 31 and matching unit 32.

Transmit-Receive Unit 31 is configured at and is communicated with terminal foundation, issues to terminal and instructed using testing, and receive the terminal The testing of return as a result, the testing the result shows that five application page has been opened;

Matching unit 32, the testing image being configured in the five application page that will have been opened are matched with expected image, and Judge application operation quality according to matching result.Wherein, matching unit can store the expection image of various businesses, image information Type and quantity can be configured according to business or other situations.

The prior art is only tested in signaling level, can not comprehensively and accurately reflect the genuine interface of terminal.Example Such as, it can not judge whether the picture on the page is opened completely.

The embodiment compares the testing image in five application page with expected image from testing screenshot picture itself It is right, and judge whether testing image is opened according to comparison result, and may determine that five application page whether by complete, correct in turn It opens, improves the accuracy and integrality of testing result.

In an embodiment of the present invention, the matching unit 32 by the static part of testing image and is expected image progress Match.

Wherein, if matching result shows successful match, the testing image in five application page is opened, and otherwise, matching is lost It loses, then the testing image in five application page is unopened.

In an embodiment of the present invention, the matching unit 32 carries out Corner Detection to testing image and expected image, will Pixel value of the pixel value of each angle point of testing image one by one with all angle points in expected image is subtracted each other, and knot will be subtracted each other The absolute value of fruit as minimum error values,

The angle point that minimum error values are less than or equal to error threshold regards match point as, judges all of the testing image Regard whether the quantity of match point is more than or equal to match point amount threshold in angle point as, if it is, think testing image with it is pre- Otherwise phase images match mismatches.

In an embodiment of the present invention, the matching unit 32 is that n neighborhood is arranged in each angle point detected, will be described Pixel value of the pixel value one by one with all angle points in expected image in angle point and n neighborhood is subtracted each other, and knot will be subtracted each other The absolute value of fruit is minimized from n+1 error amount as minimum error values as error amount.

Below by a specific embodiment, above-mentioned matching process is described in detail.

Randomly choose the coordinate position of testing image and expected image, intercept anticipated image block A and testing image block B.

Using the Harris angular-point detection methods based on color-aware, extracts characteristic quantity and form feature vector.

Angle point receptance function (CRF) expression formula of Harris is:

CRF (x, y)=det (M)-k (trace (M))2, wherein:

Each pixel is filtered and acquires IxAnd Iy.W is window function, is generally set toSum formula In bound indicate neighborhood around calculated pixel.

The determinant of det (M) representing matrixes M, det (M)=1 × λ of λ 2, the mark of trace (M) representing matrix, trace (M) =λ 1+ λ 2, λ 1, λ 2 are characterized value.K is parameter, generally 0≤k≤1.If the CRF values of target pixel points are more than given threshold Value, illustrates that the pixel has strong response, which is angle point.

For example, being the coordinate position of 17 angle points of image one below

x 212 301 309 353 58 201 178 58 202 186 329 161 202 58 57 201 306 y 2 65 68 77 94 94 142 143 144 150 150 170 177 178 228 228 228

Centered on the coordinate position of angle point, n neighborhood territory pixel value is taken, for example, taking 8 neighborhood territory pixel values.Here 8 neighborhoods are taken Pixel value can reach certain matching accuracy.8 pixel values corresponding with the angle point are respectively

Coordinate Angle point 1 Angle point 2 Angle point 3 . . . Angle point 17 (x-1,y-1) 30 7 35 . . . 142 (x-1,y) 48 59 17 . . . 9 (x-1,y+1) 37 108 128 . . . 63 (x,y+1) 31 114 15 . . . 101 (x+1,y+1) 143 183 32 . . . 95 (x+1,y) 101 177 25 . . . 20 (x+1,y-1) 2 92 24 . . . 49 (x,y-1) 3 22 30 . . . 198

Angle point 1 in image one (i.e. testing image) and the pixel value in 8 neighborhoods is (i.e. expected with image two one by one Image) in the pixel values of all angle points subtracted each other, the absolute value of result will be subtracted each other as error amount, from 9 error amounts It is minimized as minimum error values, and records the coordinate position of the angle point of testing image.In this way, successively will be in image one Angle point 2, angle point 3 are subtracted each other until pixel value of the angle point 17 all with all angle points in image two (i.e. expected image), by phase Subtract the absolute value of result as error amount, and is minimized respectively as minimum error values from 9 error amounts.

Judge whether minimum error values are less than or equal to error threshold, if so, regard the angle point as match point, otherwise, It is not match point.

Here is the match point of two images

Match point 0 10 13 14 15 16 17 0 0 0 4 0 5 12 0 0 0 Error amount 0 336 105 64 53 34 104 0 0 0 389 0 204 400 0 0 0

Wherein, the error amount of match point is that match point is not found in 0 representative.

Judge to regard as in all angle points of testing image whether the quantity of match point is more than or equal to match point amount threshold, If it is, thinking testing image and expected images match, otherwise, mismatch.

In this embodiment, it can determine whether five application page whether by complete, correct opening according to thick matched process.

In an embodiment of the present invention, the matching unit 32 will regard as in testing image the angle point A of match point with it is pre- With the matched angle point B of the angle point A as matching pair in phase image;In the neighborhood of the angle point A, calculate in the neighborhood Holding strength A between angle point and the angle point B, and the maximum value of holding strength A is taken, the holding strength is matching picture point To matching degree and its distance ratio;In the neighborhood of the angle point B, the angle point in the neighborhood and the angle point A are calculated Between holding strength B, and take the maximum value of holding strength B;Calculate the maximum of the maximum value and holding strength B of holding strength A The sum of value, if summed result is 0, it is matching pair to indicate angle point A and angle point B not, is matching pair otherwise;Judge matching pair Whether quantity is more than or equal to matching to amount threshold, if it is, think testing image and expected images match, otherwise, not Match.

Below by a specific embodiment, above-mentioned smart matching process is described in detail.

Assuming that (Ai,Bj) it is matching pair, N (Ai) it is AiSurrounding angle point supports range (center Ai, radius is the circle domain of R).It is right In N (Ai) in all support AiAngle point Ah, (AhCorresponding matching is to (Ah,Br)), defining holding strength is:

Supp is holding strength, and corres is correlation function value, and ρ is parameter, 0<ρ<1, dis is the distance between 2 points. Wherein, holding strength is the common matching distance of maximum of angular points, and extracts matching pair in supporting corners Matching distance (Ai,Bj), calculate match strength.Holding strength indicates in angle point support range, matches the matching degree and its distance of picture point pair Ratio, images match point is to closer, and more similar, then holding strength is bigger.

Take N (Ai) in maximum holding strength maxsupp, the maximum of maximum holding strength expression holding strength in circle domain Value, then only consider matching by two-way, then matching is to (Ai,Bj) match strength be:

In the neighborhood of the angle point A, the angle point in the neighborhood and the holding strength A between the angle point B are calculated, and Take the maximum value of holding strength A.And in the neighborhood of the angle point B, the angle point in the neighborhood and the angle point A are calculated Between holding strength B, and take the maximum value of holding strength B.

Consider symmetry, there are S (Ai,Bj)=S (Bj,Ai).Calculate the maximum of the maximum value and holding strength B of holding strength A The sum of value, if summed result is 0, it is matching pair to indicate angle point A and angle point B not, is matching pair otherwise.

Judge whether the quantity of matching pair is more than or equal to matching to amount threshold, if it is, think testing image with it is pre- Otherwise phase images match mismatches.

So far, the present invention is described in detail.In order to avoid the design of the masking present invention, it is public that this field institute is not described Some details known.Those skilled in the art as described above, can be appreciated how to implement technology disclosed herein completely Scheme.

The method and device of the present invention may be achieved in many ways.For example, can by software, hardware, firmware or Person's software, hardware, firmware any combinations come realize the present invention method and device.The step of for the method it is above-mentioned Sequence is merely to illustrate, and the step of method of the invention is not limited to sequence described in detail above, unless with other sides Formula illustrates.In addition, in some embodiments, the present invention can be also embodied as recording program in the recording medium, these Program includes for realizing machine readable instructions according to the method for the present invention.Thus, the present invention also covers storage for executing The recording medium of program according to the method for the present invention.

Although some specific embodiments of the present invention are described in detail by example, the skill of this field Art personnel it should be understood that above example merely to illustrating, the range being not intended to be limiting of the invention.The skill of this field Art personnel are it should be understood that can without departing from the scope and spirit of the present invention modify to above example.This hair Bright range is defined by the following claims.

Claims (12)

1. a kind of mobile Internet application operation quality auto-dial testing method, which is characterized in that including:
Testing server is communicated with terminal foundation, is issued to terminal and is instructed using testing, and receives the testing that the terminal returns As a result;
The testing is the result shows that five application page has been opened, then the testing server is by the testing in the five application page opened Image is matched with expected image, and judges application operation quality according to matching result;
Wherein, the testing server by testing image and the expected image in the five application page opened match including:
Corner Detection is carried out to testing image and expected image;
Pixel value by the pixel value of each angle point of testing image one by one with all angle points in expected image subtracts each other, will Subtract each other the absolute value of result as minimum error values;
Judge whether minimum error values are less than or equal to error threshold, if so, regarding the angle point as match point, otherwise, no It is match point;
Judge to regard as in all angle points of the testing image whether the quantity of match point is more than or equal to match point amount threshold, If it is, thinking testing image and expected images match, otherwise, mismatch.
2. mobile Internet application operation quality auto-dial testing method according to claim 1, which is characterized in that including:
The testing server matches the static part of testing image with expected image.
3. mobile Internet application operation quality auto-dial testing method according to claim 1, which is characterized in that including:
If matching result shows successful match, the testing image in five application page is opened, and otherwise, it fails to match, then applies Testing image on the page is unopened.
4. mobile Internet application operation quality auto-dial testing method according to claim 1, which is characterized in that including:
N neighborhood is arranged in each angle point to detect, and the pixel value in the angle point and n neighborhood is schemed with expected one by one The pixel value of all angle points as in is subtracted each other, and using the absolute value for subtracting each other result as error amount, is taken from n+1 error amount Minimum value is as minimum error values.
5. according to the mobile Internet application operation quality auto-dial testing method of claim 1 or 4, which is characterized in that including:
Using the angle point A for regarding match point in testing image as in expected image with the matched angle point B of the angle point A as matching It is right;
In the neighborhood of the angle point A, the angle point in the neighborhood and the holding strength A between the angle point B are calculated, and take branch The maximum value of intensity A is held, the holding strength is the ratio of the matching degree and its distance that match picture point pair;
In the neighborhood of the angle point B, the angle point in the neighborhood and the holding strength B between the angle point A are calculated, and take branch Hold the maximum value of intensity B;
Calculate the sum of the maximum value of the maximum value and holding strength B of holding strength A, if summed result is 0, indicate angle point A with Angle point B is not matching pair, is matching pair otherwise;
Judge whether the quantity of matching pair is more than or equal to matching to amount threshold, if it is, thinking that testing image is schemed with expected As matching, otherwise, mismatch.
6. a kind of mobile Internet application operation quality auto-dial testing server, which is characterized in that including:
Transmit-Receive Unit is configured at and is communicated with terminal foundation, issues to terminal and instructed using testing, and receives what the terminal returned Testing as a result, the testing the result shows that five application page has been opened;
Matching unit, the testing image being configured in the five application page that will have been opened are matched with expected image, and according to Judge application operation quality with result;
Wherein, the matching unit carries out Corner Detection to testing image and expected image, by each angle point of testing image Pixel value of the pixel value one by one with all angle points in expected image is subtracted each other, and the absolute value for subtracting each other result is missed as minimum Difference, the angle point that minimum error values are less than or equal to error threshold regard match point as, judge all angles of the testing image Regard whether the quantity of match point is more than or equal to match point amount threshold in point as, if it is, thinking testing image and expection Otherwise images match mismatches.
7. mobile Internet application operation quality auto-dial testing server according to claim 6, which is characterized in that including:
The matching unit matches the static part of testing image with expected image.
8. mobile Internet application operation quality auto-dial testing server according to claim 6, which is characterized in that including:
If matching result shows successful match, the testing image in five application page is opened, and otherwise, it fails to match, then applies Testing image on the page is unopened.
9. mobile Internet application operation quality auto-dial testing server according to claim 6, which is characterized in that including:
The matching unit is that n neighborhood is arranged in each angle point detected, by the pixel value in the angle point and n neighborhood The pixel value with all angle points in expected image is subtracted each other one by one, will subtract each other the absolute value of result as error amount, from n+1 It is minimized as minimum error values in a error amount.
10. mobile Internet application operation quality auto-dial testing server according to claim 6, which is characterized in that including:
The matching unit will regard as in testing image the angle point A of match point with it is matched with the angle point A in expected image Angle point B is as matching pair;In the neighborhood of the angle point A, the angle point in the neighborhood and the support between the angle point B are calculated Intensity A, and the maximum value of holding strength A is taken, the holding strength is the ratio of the matching degree and its distance that match picture point pair; In the neighborhood of the angle point B, the angle point in the neighborhood and the holding strength B between the angle point A are calculated, and takes support strong Spend the maximum value of B;The sum of the maximum value of the maximum value and holding strength B of holding strength A is calculated, if summed result is 0, is indicated Angle point A and angle point B is not matching pair, is matching pair otherwise;Judge whether the quantity of matching pair is more than or equal to matching to quantity threshold Otherwise value, mismatches if it is, thinking testing image and expected images match.
11. a kind of mobile Internet application operation quality auto-dial testing system, which is characterized in that including:Claim 6 to 10 times The one testing server and application server, wherein the application testing that the application server receives terminal instructs, and to The terminal returns to testing result.
12. a kind of mobile Internet application operation quality auto-dial testing system, which is characterized in that including:Claim 6 to 10 times The one testing server, terminal and application server, wherein
The testing server is communicated with terminal foundation, is issued to terminal and is instructed using testing;
Application testing instruction is sent to the application server by the terminal;
The application server returns to testing result to the terminal;
The testing result is sent to the testing server by the terminal.
CN201410178184.0A 2014-04-30 2014-04-30 A kind of application operation quality auto-dial testing method, server and system CN105025518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410178184.0A CN105025518B (en) 2014-04-30 2014-04-30 A kind of application operation quality auto-dial testing method, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410178184.0A CN105025518B (en) 2014-04-30 2014-04-30 A kind of application operation quality auto-dial testing method, server and system

Publications (2)

Publication Number Publication Date
CN105025518A CN105025518A (en) 2015-11-04
CN105025518B true CN105025518B (en) 2018-09-25

Family

ID=54415136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410178184.0A CN105025518B (en) 2014-04-30 2014-04-30 A kind of application operation quality auto-dial testing method, server and system

Country Status (1)

Country Link
CN (1) CN105025518B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314386A (en) * 2011-09-05 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for testing mobile terminal
CN102624576A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for automatically testing webpage downloading time of browser and system thereof
CN102932197A (en) * 2011-08-11 2013-02-13 阿里巴巴集团控股有限公司 Testing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9152521B2 (en) * 2011-03-09 2015-10-06 Asset Science Llc Systems and methods for testing content of mobile communication devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624576A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for automatically testing webpage downloading time of browser and system thereof
CN102932197A (en) * 2011-08-11 2013-02-13 阿里巴巴集团控股有限公司 Testing method and system
CN102314386A (en) * 2011-09-05 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for testing mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Harris 角点量与相位相关的亚像素级图像配准方法;樊志华等;《计算机应用研究》;20110228;全文 *
高分辨率遥感影像匹配中的相似性度量综述;杨晟,李学军,刘涛,王珏;《测绘与空间地理信息》;20130531;全文 *

Also Published As

Publication number Publication date
CN105025518A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
Li et al. A new cost function for spatial image steganography
CN103929402B (en) Sensitive operation verification method, terminal unit, server and checking system
US8397275B1 (en) Time-varying sequenced image overlays for CAPTCHA
CN104282050B (en) The attendance checking system verified based on smart phone digital certificate and time location
US9014718B2 (en) Location sensing using channel fading fingerprinting
US9691137B2 (en) Radial distortion parameter acquiring method and apparatus
US9154516B1 (en) Detecting risky network communications based on evaluation using normal and abnormal behavior profiles
RU2628127C2 (en) Method and device for identification of user behavior
CA3001839C (en) Call detail record analysis to identify fraudulent activity and fraud detection in interactive voice response systems
CN104200166B (en) Script-based website vulnerability scanning method and system
CN105392178B (en) A kind of method and apparatus for being used to obtain the access information of WAP
CN103488528B (en) A kind of Quick Response Code processing method and processing device based on mobile terminal
KR101814989B1 (en) Method of detecting fraud financial trade and server performing the same
CN105207996B (en) Account merging method and device
JP6622316B2 (en) System and method for user attribute information confirmation, and client and server using the same
WO2013085652A2 (en) Cognitive-impact modeling for users having divided attention
TWI640890B (en) Method and device for detecting weak password
CN104486140B (en) It is a kind of to detect device and its detection method that webpage is held as a hostage
CN104463643A (en) Method for presenting user comments on advertisement
US20150278076A1 (en) Smart tester application for testing other applications
CN104580451A (en) Method and system for achieving account number synchronization among multiple platforms, and electronic device
US9747610B2 (en) Method and apparatus for determining presence
CN105119735B (en) A kind of method and apparatus for determining discharge pattern
US20160314560A1 (en) Image displaying method, apparatus, and device, and computer program product
CN104767714B (en) A kind of ID and the correlating method of user resources information, terminal and system

Legal Events

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