CN105279059A - Intelligent mobile terminal test system and method - Google Patents
Intelligent mobile terminal test system and method Download PDFInfo
- Publication number
- CN105279059A CN105279059A CN201510833569.0A CN201510833569A CN105279059A CN 105279059 A CN105279059 A CN 105279059A CN 201510833569 A CN201510833569 A CN 201510833569A CN 105279059 A CN105279059 A CN 105279059A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- intelligent mobile
- coordinate
- module
- pixel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an intelligent mobile terminal test system and a method. The system comprises an intelligent mobile terminal and a server, wherein the server comprises a recording algorithm module, an operation determining module and a result storing module, the recording algorithm module is used for acquiring a present screen interface of the intelligent mobile terminal, control is realized through an inputted coordinate, a bright spot coordinate and a bitmap pixel block are figured out, the operation determining module is used for acquiring the determination result through bitmap pixel contrast, the result storing module is used for storing the result acquired by the operation determining module, the intelligent mobile terminal is connected with the server, the recording algorithm module is connected with the operation determining module, the operation determining module is connected with the result storing module. Through the system and the method, cross-platform, stable and precise test on frames of the intelligent mobile terminal can be realized.
Description
Technical field
The present invention relates to a kind of intelligent mobile terminal test macro and method.
Background technology
Existing intelligent mobile terminal is Suresh Kumar developing state, dominant systems software has Android system and ios system, wherein Android system and ios system respectively have multiple different editions, have again various custom-built system in each version, and its branch's version kind is countless.If automatic test will be done to all versions wherein, need a kind of can compatible all versions and the cross-platform test of cross-system can support scheme.Do not have a kind of scheme can support the testing scheme of Android system and ios system and other system at present and stable and accurate requirement can be reached.
Existing automatic technology can obtain attribute and operate from Android system or ios system control, but such as plays, and the pictures such as picture library all adopt painting canvas form, cannot obtain control and attribute, therefore in carrying out control operation., there is painting canvas form in game and library module, other application modules also have this problem to be existed, and from technical standpoint, control property auto-control cannot cover the operation of all modules completely.In like manner, the robotization of Android system cannot compatible ios system; The robotization of ios system also cannot compatible Android system, cannot go to realize this cross-system from technical standpoint and stable robotization manipulation scheme.
Summary of the invention
The object of this invention is to provide a kind of intelligent mobile terminal test macro and method, with solve cannot be cross-platform technical matters that is stable and precisely test is carried out to intelligent mobile terminal picture.
For realizing above goal of the invention, on the one hand, the invention provides a kind of intelligent mobile terminal test macro, comprise intelligent mobile terminal and server; Described server also comprises records algoritic module, operation judge module and result preservation module;
Described recording algoritic module, for obtaining the current screen interface of intelligent mobile terminal, being undertaken manipulating by the coordinate of input and being calculated bright dot coordinate and bitmap pixels block;
Described operation judge module, for according to bitmap pixels contrast, obtains judged result;
Described result preserves module, for preserving the result run judge module and obtain;
Described intelligent mobile terminal is connected with server; Described recording algoritic module is connected with operation judge module; Described operation judge module and result preserve model calling.
Further, described intelligent mobile terminal is connected with server by USB bridged protocol.
On the other hand, present invention also offers a kind of intelligent mobile terminal method of testing, comprise the steps:
Step S1: during setup test intelligent mobile terminal, is connected intelligent mobile terminal to be measured with server;
Step S2: record algoritic module in server by the screen prjection of intelligent mobile terminal to server screen, and show the screen resolution of size and mobile terminal in conversion server;
Step S3: record algoritic module and receive input coordinate and buffer memory;
Step S4: record algoritic module and judge whether to need to use bitmap checking;
If desired during bitmap checking, then step S401 is performed;
If when not needing bitmap to verify, the input coordinate received is generated message bit pattern and then perform step S5 in step S3;
Step S401: record algoritic module obtains bitmap by algorithm process pixel to the input coordinate received in step S3, and generate message bit pattern;
Step S5: record algoritic module and preserve message bit pattern;
Step S6: run judge module obtaining step S5 Bitmap information;
Step S7: run the area pixel data that judge module obtains coordinate and coordinate formation from message bit pattern;
Step S8: run judge module and obtain the area pixel data that on current server screen, the coordinate corresponding with coordinate in message bit pattern and coordinate are formed;
Step S9: run judge module and coordinate and pixel data in coordinate in step S7 and pixel data and step S8 are compared, judge whether to coincide;
If when pixel is coincide, then judge that test is passed through;
If when pixel misfits, then judge that test is not passed through;
Step S10: result is preserved module and preserved test result.
Further, record algoritic module in described step S401 to comprise the steps: the method for the input coordinate received in step S3 by the pixel of algorithm process acquisition bitmap
Step S40101: obtain the pixels across value of intelligent mobile terminal screen pixels and longitudinal pixel value;
Step S40102: contrast district pixel is set, described contrast district pixel is less than intelligent mobile terminal screen pixels;
Step S40103: record algoritic module in conjunction with contrast district pixel, and according to the position of input coordinate at intelligent mobile terminal screen, generate message bit pattern.
Further, described step S40103 records algoritic module in conjunction with contrast district pixel, and according to the position of input coordinate at intelligent mobile terminal screen, the method generating message bit pattern is as follows:
If when input coordinate is positioned at intelligent mobile terminal center Screen region, then centered by input coordinate; With contrast district pixel for bitmap pixels size generates the message bit pattern of this bitmap pixels;
If when input coordinate is positioned at intelligent mobile terminal screen top corner regions, be then this bitmap of pixels information of a dot generation with input coordinate;
If when input coordinate is positioned at the fringe region of intelligent mobile terminal screen non-top corner regions, then the horizontal line section centered by input coordinate or vertically line segment generate the message bit pattern of this horizontal line section or vertical line segment pixels.
Further, judge in described step S40103 that input coordinate is positioned at the condition in intelligent mobile terminal center Screen region as follows:
Xp-Xd >=X >=Xd and Yp-Yd >=Y >=Yd
Judge that input coordinate is positioned at the condition of intelligent mobile terminal screen top corner regions as follows:
0≤X < Xd and 0≤Y < Yd
Or 0≤X < Xd and Yp-Yd < Y≤Yp
Or Xp-Xd < X≤Xp and 0≤Y < Yd
Or Xp-Xd < X≤Xp and Yp-Yd < Y≤Yp
Judge that input coordinate is positioned at the condition of the fringe region of the non-top corner regions of intelligent mobile terminal screen as follows:
0≤X < Xd and Yd < Y < Yp-Yd
Or Xd < X < Xp-Xd and Yp-Yd < Y≤Yp
Or Xp-Xd < X≤Xp and Yd < Y < Yp-Yd
Or Xd < X < Xp-Xd and 0≤Y < Yd
Wherein " Xp " is the pixels across value of intelligent mobile terminal screen pixels; " Xd " is contrast district pixels across value; " X " is the horizontal ordinate of input coordinate; " Yp " is longitudinal pixel value of intelligent mobile terminal screen pixels; " Yd " is the longitudinal pixel value in contrast district; " Y " is the ordinate of input coordinate.
Further, the method that the horizontal line section in described step S40103 centered by input coordinate or vertically line segment generate the message bit pattern of this horizontal line section or vertical line segment pixels is as follows:
If when input coordinate is positioned at the left or right edge of intelligent mobile terminal screen, then centered by input coordinate; Respectively obtain a coordinate points up and down, intercept the pixel of vertically line segment between Two coordinate point as message bit pattern; Wherein Two coordinate point coordinate is as follows respectively:
[X,Y-(Yp/2)]
[X,Y+(Yp/2)]
If when input coordinate is positioned at the upper of intelligent mobile terminal screen or lower limb, then centered by input coordinate; Left and right is each obtains a coordinate points, intercepts the pixel of horizontal line section between Two coordinate point as message bit pattern; Wherein Two coordinate point coordinate is as follows respectively:
[X-(Xp/2),Y]
[X+(Xp/2),Y]
Wherein " Xp " is the pixels across value of intelligent mobile terminal screen pixels; " X " is the horizontal ordinate of input coordinate; " Yp " is longitudinal pixel value of intelligent mobile terminal screen pixels; " Y " is the ordinate of input coordinate.
Further, run judge module in described step S9 coordinate and pixel data in coordinate in step S7 and pixel data and step S8 are compared by circulation relative method; Concrete steps are as follows
Step S901: in determining step S7 coordinate and pixel data and coordinate in step S8 and pixel data whether identical,
If time identical, then judge that test is passed through;
If time not identical, then perform step S902;
Step S902: judge whether to reach circulation number of comparisons;
If when not reaching, then perform step S901, and cycle index is added one;
If when reaching, then judge that test is not passed through.
Further; The method arranging contrast district pixel in described step S40102 comprises, and reduces the pixel value area pixel value as a comparison of intelligent mobile terminal screen with pre-set ratio.
Further, described pre-set ratio is 10;
Further, the number of comparisons that circulates in described step S902 is 15 times.
Compared with prior art, the invention has the beneficial effects as follows:
1. the present invention uses the core algorithm recorded in algoritic module, to the technical scheme that input coordinate processes, obtains the technique effect can stablizing, obtain accurately bitmap pixels information.
2. recycle ratio of the present invention compared with mode technical scheme that image is compared, obtain and avoid leading to errors because mobile terminal response speed is slow the technique effect judged.
Accompanying drawing explanation
Fig. 1 is the block diagram of intelligent mobile terminal test macro of the present invention;
Fig. 2 is the process flow diagram of intelligent mobile terminal method of testing of the present invention;
Fig. 3 is the specific embodiment process flow diagram of intelligent mobile terminal method of testing of the present invention.
In figure,
Intelligent mobile terminal 1;
Server 2; Record algoritic module 201; Run judge module 202; Result preserves module 203.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
Specific embodiment 1:
As shown in Figure 1, the invention provides a kind of intelligent mobile terminal test macro, comprise intelligent mobile terminal 1 and server 2; Described server 2 also comprises records algoritic module 201, operation judge module 202 and result preservation module 203;
Record algoritic module 201, for obtaining the current screen interface of intelligent mobile terminal 1, being undertaken manipulating by the coordinate of input and calculating bright dot coordinate and bitmap pixels block;
Run judge module 202, for according to bitmap pixels contrast, obtain judged result;
Result preserves module 203, for preserving the result run judge module 202 and obtain;
Intelligent mobile terminal 1 is connected with server 2; Record algoritic module 201 and judge that mould 202 pieces is connected with operation; Operation judge module 202 is preserved module 203 with result and is connected.
Specifically, record algoritic module 201 can receive user and input and just do; By the screen prjection of intelligent mobile terminal on server, and the screen resolution to the size shown in server and intelligent mobile terminal.Record algoritic module 201 and the coordinate that user inputs is carried out buffer memory, need bitmap to verify block if user is arranged, then by its core algorithm, acquisition is carried out and buffer memory to bitmap checking block.Run judge module 202 to read the data recording algoritic module 201 buffer memory line by line, and the data read on geodata and services device are compared.Here manner of comparison have employed recycle ratio compared with method, the misjudgment that intelligent mobile terminal brings operational processes hysteresis quality can be avoided.Run judge module 202 judged result is preserved.Result is preserved module 203 and whole test process and test result is all preserved, and is of value to and is further analyzed test.
Specific embodiment 2:
As shown in Figure 2, the invention provides a kind of intelligent mobile terminal method of testing, comprise the steps:
Step S1: during setup test intelligent mobile terminal 1, is connected intelligent mobile terminal 1 to be measured with server 2;
Step S2: record algoritic module 201 in server 2 by the screen prjection of intelligent mobile terminal 1 to server 2 screen, and show the screen resolution of size and mobile terminal 1 in conversion server 2;
Step S3: record algoritic module 201 and receive input coordinate and buffer memory;
Step S4: record algoritic module 201 and judge whether to need to use bitmap checking;
If desired during bitmap checking, then step S401 is performed;
If when not needing bitmap to verify, the input coordinate received is generated message bit pattern and then perform step S5 in step S3;
Step S401: record the input coordinate received in algoritic module 201 couples of step S3 obtains bitmap pixel by algorithm process, and generate message bit pattern;
Step S5: record algoritic module 201 and preserve message bit pattern;
Step S6: run judge module 202 obtaining step S5 Bitmap information;
Step S7: run the area pixel data that judge module 202 obtains coordinate and coordinate formation from message bit pattern;
Step S8: run judge module 202 and obtain the area pixel data that on current server 2 screen, the coordinate corresponding with coordinate in message bit pattern and coordinate are formed;
Step S9: run judge module 202 and coordinate and pixel data in coordinate in step S7 and pixel data and step S8 are compared;
If when pixel is coincide, then judge that test is passed through;
If when pixel misfits, then judge that test is not passed through;
Step S10: result is preserved module 203 pairs of test results and preserved.
Specifically, when needing to test the picture of intelligent mobile terminal, be first connected on server 2 by intelligent mobile terminal 1, connected mode can select USB bridged protocol to realize connecting.When test starts, click intelligent mobile terminal 1 screen, record the coordinate (X, Y) that algoritic module 201 obtains this click location; After obtaining coordinate, judge whether the message bit pattern needing to obtain this point according to initial setting, when needs obtain, then message bit pattern collection is carried out to this coordinate; Do not need obtain time, then direct using this point as message bit pattern.After recording algoritic module 201 has worked, the message bit pattern that operation judge module 202 starts recording algoritic module 201 provides processes, obtain bitmap pixels wherein, and the bitmap pixels of this bitmap pixels with server relevant position compared, identical, test is passed through.Result is preserved module 203 and is preserved all test processs and result, checks for the later stage.
Specific embodiment 3:
As shown in Figure 3, the invention provides a kind of intelligent mobile terminal method of testing, comprise the steps:
Steps A 1: during setup test intelligent mobile terminal 1, is connected intelligent mobile terminal 1 to be measured with server 2;
Steps A 2: record algoritic module 201 in server 2 by the screen prjection of intelligent mobile terminal 1 to server 2 screen, and show the screen resolution of size and mobile terminal 1 in conversion server 2;
Steps A 3: record algoritic module 201 and receive input coordinate and buffer memory;
Steps A 4: record algoritic module 201 and judge whether to need to use bitmap checking;
If desired during bitmap checking, then steps A 40101 is performed;
If when not needing bitmap to verify, the input coordinate received is generated message bit pattern and then perform steps A 5 in steps A 3;
Steps A 40101: record algoritic module 201 and obtain the pixels across value of intelligent mobile terminal screen pixels and longitudinal pixel value;
Steps A 40102: contrast district pixel is set, described contrast district pixel is less than intelligent mobile terminal screen pixels;
Steps A 40103: record algoritic module 201 in conjunction with contrast district pixel, and according to the position of input coordinate at intelligent mobile terminal screen, generate message bit pattern;
Steps A 5: record algoritic module 201 and preserve message bit pattern;
Steps A 6: run judge module 202 obtaining step A5 Bitmap information;
Steps A 7: run the area pixel data that judge module 202 obtains coordinate and coordinate formation from message bit pattern;
Steps A 8: run judge module 202 and obtain the area pixel data that on current server 2 screen, the coordinate corresponding with coordinate in message bit pattern and coordinate are formed;
Steps A 901: in determining step A7 coordinate and pixel data and coordinate in steps A 8 and pixel data whether identical,
If time identical, then judge that test is passed through;
If time not identical, then perform steps A 902;
Steps A 902: judge whether to reach circulation number of comparisons;
If when not reaching, then perform steps A 901, and cycle index is added one;
If when reaching, then judge that test is not passed through;
Steps A 10: result is preserved module 203 pairs of test results and preserved.
Wherein, the step S401 in specific embodiment 2 is embodied as steps A 40101, A40102 and A40103; Step S9 is embodied as steps A 901 and A902.
Specifically, other steps except steps A 40101 to steps A 40103 and steps A 901 to steps A 902 in specific embodiment 3 are substantially identical with the method for operation of corresponding steps in specific embodiment 2.
When recording algoritic module and judging to need bitmap to verify, first obtain the pixel of screen; Such as 1280*760.Screen pixels value area pixel value is as a comparison reduced again according to ratio; Such as ratio is 10%, then contrast district pixel is 128*76.After contrast district pixel obtains, the coordinate (X, Y) according to input judges coordinate is positioned at which region of screen.Screen is divided into three regions in conjunction with contrast district pixel: middle section, top corner regions, non-top corner edge region; Concrete criterion is as follows:
The condition of middle section:
Xp-Xd >=X >=Xd and Yp-Yd >=Y >=Yd
The condition of top corner regions:
0≤X < Xd and 0≤Y < Yd
Or 0≤X < Xd and Yp-Yd < Y≤Yp
Or Xp-Xd < X≤Xp and 0≤Y < Yd
Or Xp-Xd < X≤Xp and Yp-Yd < Y≤Yp
The condition in top corner edge region:
0≤X < Xd and Yd < Y < Yp-Yd
Or Xd < X < Xp-Xd and Yp-Yd < Y≤Yp
Or Xp-Xd < X≤Xp and Yd < Y < Yp-Yd
Or Xd < X < Xp-Xd and 0≤Y < Yd
Wherein " Xp " is the pixels across value of intelligent mobile terminal screen pixels; " Xd " is contrast district pixels across value; " X " is the horizontal ordinate of input coordinate; " Yp " is longitudinal pixel value of intelligent mobile terminal screen pixels; " Yd " is the longitudinal pixel value in contrast district; " Y " is the ordinate of input coordinate.
When input coordinate is (90,150); According to above-mentioned Rule of judgment, 76<90<760-76 and 128<150<1280-128; Meet the condition that coordinate is positioned at middle section.Now then centered by coordinate (90,150), do the bitmap that a pixel is identical with contrast district pixel, specifically doing figure mode can be as follows; With coordinate (90,150) centered by, a coordinate is selected to be [X-(Xd/2), Y-(Yd/2)] i.e. [52,86], another coordinate is [X+ (Xd/2), Y+ (Yd/2)] i.e. [128,214], two points, according to the rectangle that these 2 are formed, this rectangular pixels is 128*76.
When input coordinate is (10,10); According to above-mentioned Rule of judgment, 0<10<76 and 0<10<128; Meet the condition that coordinate is positioned at top corner regions.Now then with the bitmap that coordinate (10,10) is output, this bitmap is a point.
When input coordinate is (50,200); According to above-mentioned Rule of judgment, 0<50<76 and 128<200<1280; Meet the condition that coordinate is positioned at the fringe region of non-drift angle.Now coordinate is positioned at left border region, so centered by coordinate (90,100), respectively obtains a coordinate points up and down, intercepts the pixel of vertically line segment between Two coordinate point as message bit pattern.Such as; The method respectively obtaining a coordinate points is up and down: the coordinate points coordinate obtained downwards is that [X, Y-(Yp/2)] is [50,136]; The coordinate points coordinate upwards obtained is that [X, Y+ (Yp/2)] is [50,264]; The pixel of final this line segment of acquisition is as message bit pattern.
When judging that coordinate is right border region, obtain when the method for message bit pattern and coordinate are positioned at left border region the same.
When input coordinate is (90,100); According to above-mentioned Rule of judgment, 76<90<760-76 and 0<100<128; Meet the condition that coordinate is positioned at the fringe region of non-drift angle.Now coordinate is positioned at lower edge region, so centered by coordinate (90,100), respectively obtains a coordinate points to the left and right, intercepts the pixel of horizontal line section between Two coordinate point as message bit pattern.Such as; The method respectively obtaining a coordinate points is to the left and right: the coordinate points coordinate obtained left is that [X-(Xp/2), Y] is [52,100]; The coordinate points coordinate obtained to the right is that [X+ (Xp/2), Y] is [128,100]; The pixel of final this line segment of acquisition is as message bit pattern.
When judging that coordinate is upper edge region, obtain when the method for message bit pattern and coordinate are positioned at lower edge region the same.
When running judge module 202 and needing to analyse and compare to image, because different mobile terminal is different to test response speed, if only carry out a comparative analysis, test may be judged by accident because terminal has not also responded and not pass through.So the pattern that operation judge module 202 adopts cycle criterion to contrast is tested.Circulation contrast once about 500-2000ms consuming time (this speed configures relevant with server), so carry out 15 circulations to relatively good, circulate 15 about 15S consuming time, this duration responds test with enough mobile terminals, if circulation terminates also non-comparison success, then can determine that test is not passed through.As long as comparison success, stops circulation immediately in circulation comparison process.
In addition to the implementation, the present invention can also have other embodiments, and all employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop in the protection domain of application claims.
Claims (10)
1. intelligent mobile terminal test macro, comprises intelligent mobile terminal and server, it is characterized in that, described server also comprises records algoritic module, operation judge module and result preservation module;
Described recording algoritic module, for obtaining the current screen interface of intelligent mobile terminal, being undertaken manipulating by the coordinate of input and being calculated bright dot coordinate and bitmap pixels block;
Described operation judge module, for according to bitmap pixels contrast, obtains judged result;
Described result preserves module, for preserving the result run judge module and obtain;
Described intelligent mobile terminal is connected with server; Described recording algoritic module is connected with operation judge module; Described operation judge module and result preserve model calling.
2. intelligent mobile terminal test macro as described in claim 1, is characterized in that, described intelligent mobile terminal is connected with server by USB bridged protocol.
3. intelligent mobile terminal method of testing, is characterized in that, described intelligent mobile terminal method of testing is applied to the intelligent mobile terminal test macro as described in claim 1 or 2, comprises the steps:
Step S1: during setup test intelligent mobile terminal, is connected intelligent mobile terminal to be measured with server;
Step S2: record algoritic module in server by the screen prjection of intelligent mobile terminal to server screen, and show the screen resolution of size and mobile terminal in conversion server;
Step S3: record algoritic module and receive input coordinate and buffer memory;
Step S4: record algoritic module and judge whether to need to use bitmap checking;
If desired during bitmap checking, then step S401 is performed;
If when not needing bitmap to verify, the input coordinate received is generated message bit pattern and then perform step S5 in step S3;
Step S401: record algoritic module obtains bitmap by algorithm process pixel to the input coordinate received in step S3, and generate message bit pattern;
Step S5: record algoritic module and preserve institute's bitmap information;
Step S6: run judge module obtaining step S5 Bitmap information;
Step S7: run the area pixel data that judge module obtains coordinate and coordinate formation from message bit pattern;
Step S8: run judge module and obtain the area pixel data that on current server screen, the coordinate corresponding with coordinate in message bit pattern and coordinate are formed;
Step S9: run judge module and coordinate and pixel data in coordinate in step S7 and pixel data and step S8 are compared, judge whether to coincide;
If when pixel is coincide, then judge that test is passed through;
If when pixel misfits, then judge that test is not passed through;
Step S10: result is preserved module and preserved test result.
4. intelligent mobile terminal method of testing as described in claim 3, is characterized in that, records algoritic module and comprise the steps: the method for the input coordinate received in step S3 by the pixel of algorithm process acquisition bitmap in described step S401
Step S40101: obtain the pixels across value of intelligent mobile terminal screen pixels and longitudinal pixel value;
Step S40102: contrast district pixel is set, described contrast district pixel is less than intelligent mobile terminal screen pixels;
Step S40103: record algoritic module in conjunction with contrast district pixel, and according to the position of input coordinate at intelligent mobile terminal screen, generate message bit pattern.
5. intelligent mobile terminal method of testing as described in claim 4, is characterized in that, described step S40103 records algoritic module in conjunction with contrast district pixel, and according to the position of input coordinate at intelligent mobile terminal screen, the method generating message bit pattern is as follows:
If when input coordinate is positioned at intelligent mobile terminal center Screen region, then centered by input coordinate; With contrast district pixel for bitmap pixels size generates the message bit pattern of this bitmap pixels;
If when input coordinate is positioned at intelligent mobile terminal screen top corner regions, be then this bitmap of pixels information of a dot generation with input coordinate;
If when input coordinate is positioned at the fringe region of intelligent mobile terminal screen non-top corner regions, then the horizontal line section centered by input coordinate or vertically line segment generate the message bit pattern of this horizontal line section or vertical line segment pixels.
6. as described in claim 5 intelligent mobile terminal method of testing, is characterized in that, judges that input coordinate is positioned at the condition in intelligent mobile terminal center Screen region as follows in described step S40103:
Xp-Xd >=X >=Xd and Yp-Yd >=Y >=Yd
Judge that input coordinate is positioned at the condition of intelligent mobile terminal screen top corner regions as follows:
0≤X < Xd and 0≤Y < Yd
Or 0≤X < Xd and Yp-Yd < Y≤Yp
Or Xp-Xd < X≤Xp and 0≤Y < Yd
Or Xp-Xd < X≤Xp and Yp-Yd < Y≤Yp
Judge that input coordinate is positioned at the condition of the fringe region of the non-top corner regions of intelligent mobile terminal screen as follows:
0≤X < Xd and Yd < Y < Yp-Yd
Or Xd < X < Xp-Xd and Yp-Yd < Y≤Yp
Or Xp-Xd < X≤Xp and Yd < Y < Yp-Yd
Or Xd < X < Xp-Xd and 0≤Y < Yd
Wherein " Xp " is the pixels across value of intelligent mobile terminal screen pixels; " Xd " is contrast district pixels across value; " X " is the horizontal ordinate of input coordinate; " Yp " is longitudinal pixel value of intelligent mobile terminal screen pixels; " Yd " is the longitudinal pixel value in contrast district; " Y " is the ordinate of input coordinate.
7. intelligent mobile terminal method of testing as described in claim 6, is characterized in that, the method that the horizontal line section in described step S40103 centered by input coordinate or vertically line segment generate the message bit pattern of this horizontal line section or vertical line segment pixels is as follows:
If when input coordinate is positioned at the left or right edge of intelligent mobile terminal screen, then centered by input coordinate; Respectively obtain a coordinate points up and down, intercept the pixel of vertically line segment between Two coordinate point as message bit pattern; Wherein Two coordinate point coordinate is as follows respectively:
[X,Y-(Yp/2)]
[X,Y+(Yp/2)]
If when input coordinate is positioned at the upper of intelligent mobile terminal screen or lower limb, then centered by input coordinate; Left and right is each obtains a coordinate points, intercepts the pixel of horizontal line section between Two coordinate point as message bit pattern; Wherein Two coordinate point coordinate is as follows respectively:
[X-(Xp/2),Y]
[X+(Xp/2),Y]
Wherein " Xp " is the pixels across value of intelligent mobile terminal screen pixels; " X " is the horizontal ordinate of input coordinate; " Yp " is longitudinal pixel value of intelligent mobile terminal screen pixels; " Y " is the ordinate of input coordinate.
8., as the intelligent mobile terminal method of testing as described in arbitrary in claim 3-7, it is characterized in that, run judge module in described step S9 and coordinate and pixel data in coordinate in step S7 and pixel data and step S8 are compared by circulation relative method; Concrete steps are as follows
Step S901: in determining step S7 coordinate and pixel data and coordinate in step S8 and pixel data whether identical,
If time identical, then judge that test is passed through;
If time not identical, then perform step S902;
Step S902: judge whether to reach circulation number of comparisons;
If when not reaching, then perform step S901, and cycle index is added one;
If when reaching, then judge that test is not passed through.
9. intelligent mobile terminal method of testing as described in claim 4, it is characterized in that, the method arranging contrast district pixel in described step S40102 comprises, and reduces the pixel value area pixel value as a comparison of intelligent mobile terminal screen with pre-set ratio.
10. intelligent mobile terminal method of testing as described in claim 9, it is characterized in that, described pre-set ratio is 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510833569.0A CN105279059A (en) | 2015-11-25 | 2015-11-25 | Intelligent mobile terminal test system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510833569.0A CN105279059A (en) | 2015-11-25 | 2015-11-25 | Intelligent mobile terminal test system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105279059A true CN105279059A (en) | 2016-01-27 |
Family
ID=55148105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510833569.0A Pending CN105279059A (en) | 2015-11-25 | 2015-11-25 | Intelligent mobile terminal test system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105279059A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006125894A (en) * | 2004-10-27 | 2006-05-18 | Nidec Tosok Corp | Flat panel display inspection device |
TW200921087A (en) * | 2007-11-06 | 2009-05-16 | Ites Co Ltd | Apparatus for determining defect position of panel |
CN102904996A (en) * | 2012-10-16 | 2013-01-30 | 深圳创维数字技术股份有限公司 | Method, device and system for testing performance of mobile phone touch screen |
CN104679627A (en) * | 2013-12-02 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Testing method and device |
CN104717337A (en) * | 2015-04-03 | 2015-06-17 | 杭州昕云信息科技有限公司 | Method for testing mobile application in batch and equipment used in method |
-
2015
- 2015-11-25 CN CN201510833569.0A patent/CN105279059A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006125894A (en) * | 2004-10-27 | 2006-05-18 | Nidec Tosok Corp | Flat panel display inspection device |
TW200921087A (en) * | 2007-11-06 | 2009-05-16 | Ites Co Ltd | Apparatus for determining defect position of panel |
CN102904996A (en) * | 2012-10-16 | 2013-01-30 | 深圳创维数字技术股份有限公司 | Method, device and system for testing performance of mobile phone touch screen |
CN104679627A (en) * | 2013-12-02 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Testing method and device |
CN104717337A (en) * | 2015-04-03 | 2015-06-17 | 杭州昕云信息科技有限公司 | Method for testing mobile application in batch and equipment used in method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103136094B (en) | A kind of page method of testing and device | |
CN106648510B (en) | The display methods and device of a kind of display resolution | |
CN106875408B (en) | Screenshot method and device and terminal equipment | |
CN105302413B (en) | UI (user interface) testing method and system for control | |
CN107451976B (en) | A kind of image processing method and device | |
CN108074237B (en) | Image definition detection method and device, storage medium and electronic equipment | |
CN111127559A (en) | Method, device, equipment and storage medium for detecting marker post in optical dynamic capturing system | |
CN110602490B (en) | Method and device for automatically testing reproduction rate and readable storage medium | |
CN109801342B (en) | Method and device for dynamically identifying mapping fit degree in running process on mobile equipment | |
CN108924544A (en) | Camera distortion measurement method and test device | |
CN108961345A (en) | A kind of effective determination method and determining device of color in Urine test paper | |
CN105354138A (en) | Method for determining specific control attribute of mobile phone page | |
CN111915567A (en) | Image quality evaluation method, device, equipment and medium | |
US10705950B2 (en) | Method and system for semi-automatic testing of program code for graphical user interfaces | |
CN112381092A (en) | Tracking method, device and computer readable storage medium | |
CN107343197A (en) | The angle calibration system method, apparatus and storage medium of mobile terminal camera | |
CN106295620A (en) | Hair style recognition methods and hair style identification device | |
CN105138311A (en) | Method and device for improving graphic drawing efficiency | |
CN114116514A (en) | User interface test acceptance method | |
CN106910207B (en) | Method and device for identifying local area of image and terminal equipment | |
CN105279059A (en) | Intelligent mobile terminal test system and method | |
CN109951699B (en) | Method and device for testing television display scale and storage medium | |
CN109496284B (en) | Method for recording machining track by bitmap and numerical control equipment | |
CN103942543B (en) | A kind of image-recognizing method and device | |
CN116149987A (en) | Automatic verification method for graphic slider |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20190423 |
|
AD01 | Patent right deemed abandoned |