CN102904996A - Method, device and system for testing performance of mobile phone touch screen - Google Patents

Method, device and system for testing performance of mobile phone touch screen Download PDF

Info

Publication number
CN102904996A
CN102904996A CN2012103923052A CN201210392305A CN102904996A CN 102904996 A CN102904996 A CN 102904996A CN 2012103923052 A CN2012103923052 A CN 2012103923052A CN 201210392305 A CN201210392305 A CN 201210392305A CN 102904996 A CN102904996 A CN 102904996A
Authority
CN
China
Prior art keywords
main frame
mechanical arm
action
realtime graphic
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.)
Granted
Application number
CN2012103923052A
Other languages
Chinese (zh)
Other versions
CN102904996B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201210392305.2A priority Critical patent/CN102904996B/en
Publication of CN102904996A publication Critical patent/CN102904996A/en
Application granted granted Critical
Publication of CN102904996B publication Critical patent/CN102904996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a method, a device and a system for testing the performance of a mobile phone touch screen. The method comprises the following steps that: a host transmits an execution instruction to a mechanical arm, wherein the execution instruction is used for indicating the mechanical arm to execute a corresponding action on the touch screen; the host receives execution feedback information which is transmitted in real time by the mechanical arm after the action is executed by the mechanical arm; and the host acquires a real-time image which is displayed by the touch screen and acquired by a camera after the mechanical arm executes the action, and searches and judges whether information which is matched with a preset action identifier exists in the real-time image. By the method, the device and the system, testing cost and requirements are reduced, and working efficiency and a practical application range are improved.

Description

A kind of method of handset touch panel performance test and device, system
Technical field
The present invention relates to the communications field, relate in particular to a kind of method of handset touch panel performance test and device, system.
Background technology
At present, the method for testing mobile phone touch-screen is generally, and sends the instruction of analog subscriber operation to cell phone platform, the information of mobile phone feedback is processed, thereby reached the purpose of test.The method requires the tester to be familiar with the mobile phone code, and the source code that can write out the instruction that analog subscriber operates and obtain the cell phone platform that supplier provides could be realized the automatic test of handset touch panel.Yet in fact only the mobile phone supplier of some can announce the source code of its cell phone platform, and existing measuring technology can not be applied to not announce the cell phone platform of source code, and there is limitation in test specification.
Summary of the invention
The technical problem that the embodiment of the invention solves is, a kind of method of handset touch panel performance test and device, system are provided, can be in the situation of the source code that does not obtain cell phone platform, handset touch panel is carried out performance test, reduce testing cost and requirement, improved operating efficiency and usage range.
Concrete, the method for a kind of handset touch panel performance test that the embodiment of the invention provides comprises:
Main frame sends carries out instruction to mechanical arm, and described execution instruction is used to indicate described mechanical arm touch-screen is carried out corresponding action;
Described main frame receives described mechanical arm and carries out the execution feedback information that described action sends afterwards in real time;
The described mechanical arm that described main frame obtains described camera collection from image capture device is carried out the realtime graphic that described touch-screen shows after the described action, and searches the information that whether exists in the described realtime graphic with predefined action identification coupling.
Better, the method also comprises:
Described main frame is chosen representative part still image in the effect image that corresponding described action generates on the described touch-screen in advance, stores described still image as the action identification of described action.
Better, the described mechanical arm that described main frame obtains described camera collection from image capture device is carried out the realtime graphic that described touch-screen shows after the described action, and searches the information that whether exists in the described realtime graphic with predefined action identification coupling and comprise:
The realtime graphic that the described touch-screen that the described image capture device of described main frame typing sends shows, putting in order is the pixel set, described pixel set is the set that comprises the point of coordinate figure and pigment value;
Described main frame is with the coordinate order, travel through the pixel in the set of described realtime graphic pixel, search simultaneously whether contain in the pixel set of described realtime graphic with described action identification pixel set in the zone of the identical point of pigment value of all pixels;
If comprise the zone of the identical point of pigment value of all pixels in the described and described action identification pixel set in the set of the pixel of described realtime graphic, then identify current function smoothly and send next and carry out instruction to described mechanical arm.
Accordingly, the main frame that the embodiment of the invention provides comprises:
Write module, be used for writing the execution instruction;
Control module is used for sending and carries out instruction to mechanical arm;
Receiver module is carried out the execution feedback information that sends in real time after the described execution instruction for the reception mechanical arm, and the realtime graphic that receives the touch-screen demonstration of image capture device transmission;
The contrast module is used for comparing realtime graphic and the action identification that described image capture device is sent, and sends comparison result to control module.
Better, the contrast module comprises in this device:
Acquisition module is used for obtaining the pixel set of the image that the described image capture device that receives from receiver module sends, and described pixel set is the set of the point that comprises coordinate figure and pigment value;
Correction verification module, be used for the coordinate order, travel through each pixel in the pixel set of described realtime graphic, search whether contain in the pixel set of described realtime graphic with the set of described action effect sign pixel in the zone of the identical point of pigment value of all pixels;
Feedback module is used for sending described check results to described control module.
Better, control module also is used for receiving the check results that described feedback module sends in this device, and sign is carried out the instruction operation state; Also be used for being designated of described running status when smooth, automatically send next and carry out instruction to mechanical arm.
Better, control module also is used for being designated of described running status when unusual in this device, automatically finishes test job.
Accordingly, the handset touch panel Performance Test System that the embodiment of the invention provides comprises:
Main frame is aforesaid main frame;
Image capture device is used for the realtime graphic that collection touch shows; The described realtime graphic that also is used for collecting is sent to described main frame;
Mechanical arm is used for receiving the execution instruction that described main frame sends; Also be used for carrying out the action of described execution instruction, and will carry out ending message and feed back to described main frame.
Better, image capture device described in this device also is used for gathering the effect image that generates behind the execution action; The described effect image that also is used for collecting is sent to described main frame.
Implement the embodiment of the invention, have following beneficial effect:
The embodiment of the invention is carried out instruction by the operation of main frame robot brain tool arm, the mode testing mobile phone touch-screen that whether has the information of mating with predefined action identification in the realtime graphic that the comparison image capture device sends, have flexibility and objectivity, reduce cost and the requirement of test, improved operating efficiency and usage range.In addition, the mode that the embodiment of the invention utilizes mechanical arm action combination to gather image has replaced the mode according to cell phone platform source code development and testing application, has avoided the problem that can't test because obtaining the cell phone platform source code.
Description of drawings
Fig. 1 is an embodiment schematic flow sheet of handset touch panel performance test methods of the present invention;
Fig. 2 is that an example structure of PC device of the present invention forms schematic diagram;
Fig. 3 is that handset touch panel Performance Test System structure of the present invention forms schematic diagram;
Fig. 4 is an embodiment schematic flow sheet of handset touch panel Performance Test System of the present invention;
Fig. 5 is another embodiment schematic flow sheet of handset touch panel Performance Test System of the present invention;
Fig. 6 is the another embodiment schematic flow sheet of handset touch panel Performance Test System of the present invention;
The schematic diagram at a kind of mobile phone screen master interface that Fig. 7 provides for the embodiment of the invention;
A kind of mobile phone screen dialing interface schematic diagram that Fig. 8 provides for the embodiment of the invention;
Fig. 9 is that the structure of a kind of mechanical arm of embodiment of the invention employing forms schematic diagram;
Figure 10 is front view and the vertical view of a kind of permanent plant device of embodiment of the invention employing;
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The invention provides a kind of method of handset touch panel performance test, it can comprise: main frame sends carries out instruction to mechanical arm, and described execution instruction is used to indicate described mechanical arm touch-screen is carried out corresponding action; Described main frame receives described mechanical arm and carries out the execution feedback information that described action sends afterwards in real time; The described mechanical arm that described main frame obtains described camera collection from image capture device is carried out the realtime graphic that described touch-screen shows after the described action, and searches the information that whether exists in the described realtime graphic with predefined action identification coupling.When the present invention wants to carry out the handset touch panel performance test, need not know from the mobile phone supplier source code of cell phone platform, can pass through the analog subscriber real-time operation, and the method for the live effect of comparison screen is carried out reliable stability feature test to mobile phone, thus, the present invention has broken away from the limitation of testing touch screen method, and has certain flexibility and objectivity, reduce cost and the requirement of test, changed operating efficiency and usage range.
In the specific implementation, testing apparatus of the present invention comprises main frame, mechanical arm and image collecting device.When carrying out the handset touch panel performance test, main frame sends the execution instruction makes the mechanical arm analog subscriber operate at handset touch panel, the variation that utilizes the rear mobile phone screen display of image collecting device record mechanical arm action to show, whether consistent with the design sketch of prerecording by the Mobile phone screen image of comparison image collecting device Real-time Obtaining in main frame, reach the purpose of test.
Below in conjunction with the drawings and the specific embodiments, technical scheme of the present invention is elaborated.
As shown in Figure 1, an embodiment of handset touch panel performance test methods provided by the invention can may further comprise the steps:
Step S110, main frame send and carry out instruction to mechanical arm, and described execution instruction is used to indicate described mechanical arm touch-screen is carried out corresponding action.In the implementation, the method for writing instruction can be the function of definition required movement, and the function of action has comprised statement and the position of action.Wherein, the function of definable click action is Click (int x, int y), and wherein x, y are respectively abscissa and the ordinate of implementing the click action position; Also the function of definable ole Server OLE is HoldClick (int x1, int x2, int y1, int y2), wherein x1, y1 are respectively abscissa and the ordinate of implementing the ole Server OLE original position, and x2, y2 are respectively abscissa and the ordinate of implementing the ole Server OLE final position; In addition, the function HoldClick (intx1, int x2, int y1, int y2) of definition ole Server OLE also can comprise long by effect, namely the initial transverse and longitudinal coordinate of ole Server OLE remains unchanged with the transverse and longitudinal coordinate that ole Server OLE stops, at this moment x1=x2, y1=y2.For example, in mobile phone screen master interface display figure shown in Figure 7, the coordinate points on horizontal coordinate plane (1,8) is positioned at the zone that the dialer icon covers on the handset touch panel, call function Click (the int x of click action, int y), the input point coordinate makes x=1, y=8, then can be used for implementing to click the dialer of corresponding (1,8) coordinate position on the mobile phone screen, make mobile phone screen show dialing interface shown in Figure 8.For example, dialing interface at mobile phone screen shown in Figure 8 shows among the figure, the coordinate points (4 on horizontal coordinate plane, 2) be positioned at the icon area of mobile phone screen supernatant spacing code effect, call function HoldClick (the int x1 of ole Server OLE, int x2, int y1, int y2), input two identical point coordinates (4,2), be x1=x2=4, y1=y2=2, then can be used for implement the long position that press correspondence (4,2) coordinate on the mobile phone screen, the numeral in the dialing display field of mobile phone screen is emptied.Function and tester's analog subscriber of described definition action may have corresponding relation to the mode of operation of touch-screen, and the mode of specifically calling is decided on the brake for the treatment of of measurand.
In the implementation, predefined action identification is chosen in advance and is stored by image capture device by main frame.The mode of test script typing action identification can be chosen representative part still image in the effect image that corresponding described action generates on the described touch-screen in advance for described main frame, the mode of described still image with the pixel set stored, described pixel set is the set that comprises the point of coordinate figure and pigment value, and described still image can be used as the action identification of this action.Wherein, the still image of choosing should have uniqueness and representativeness, namely can't find identical with it part on other interface, and still image can be used as the specific identifier of this action effect figure; Then, extract the property value of image slices vegetarian refreshments, comprise abscissa value, ordinate value, cyanine value, marennin value and the haematochrome value of obtaining this point, saving format can be { X coordinate, the Y coordinate, cyanine, marennin, haematochrome }, described pixel set is the pixel that comprises above form and property value.For example, can choose the dialing icon in the upper left corner among Fig. 8 as the action identification that enters dialing interface, the mode of typing dialing icon can for, dialing interface is placed in the effective range of image capture device operation, choose the image-region of dialing icon on the dialing interface, store this regional pixel set, described pixel set will comprise all pigment point corresponding to point coordinates on the dialing icon.In the practical application, specifically choose the method for action identification and decide on the functional effect to be measured of measurand.
Step S111, described main frame receive described mechanical arm and carry out the execution feedback information that described action sends afterwards in real time.
Step S112, the described mechanical arm that described main frame obtains described camera collection from image capture device is carried out the realtime graphic that described touch-screen shows after the described action, and searches the information that whether exists in the described realtime graphic with predefined action identification coupling.In the implementation, the realtime graphic that the described touch-screen that the described image capture device of described main frame typing sends shows, putting in order is the pixel set, described pixel set is the set that comprises the point of coordinate figure and pigment value; Described main frame is with the coordinate order, travel through the pixel in the set of described realtime graphic pixel, search simultaneously whether contain in the pixel set of described realtime graphic with described action identification pixel set in the zone of the identical point of pigment value of all pixels; If comprise the zone of the identical point of pigment value of all pixels in the described and described action identification pixel set in the set of the pixel of described realtime graphic, then identify current function smoothly and send next and carry out instruction to described mechanical arm.Wherein, the mode of arrangement pixel set can be with reference to the pixel acquisition mode among the step S110, and the pixel set that gather this moment comprises the pixel of All Ranges on the real-time interface image.
In the implementation, the mode of traversal coordinate can adopt the method for depth-first traversal according to the depth-first traversal principle, accesses the pixel set of real-time interface image.A coordinate is (x1 in the selected pixel set, y1) point is as the initial point of depth-first traversal access, accessed content comprises initial point (x1, y1) the pigment value in the corresponding pixel points, and it is labeled as accesses, search for simultaneously the pixel that whether has identical pigment value in the corresponding action identification; Then from initial point access and initial point (x1, y1) adjacent point (x2, y2), if this is not accessed, then proceed depth-first traversal access and search take (x2, y2) as new starting point, until the zone of the identical point of pixel value of all pixels in discovery and the set of action identification pixel, then sign is compared successfully, and it is normal to carry out instruction operation; If until the depth-first traversal access finishes, also do not have the zone of the identical point of pixel value of all pixels in the set of discovery and action identification pixel, then sign is compared unsuccessfully, and it is unusual to carry out instruction operation.
The embodiment of the invention is carried out instruction by the operation of main frame robot brain tool arm, whether there is the performance test of handset touch panel being carried out with the mode of the information of predefined action identification coupling in the realtime graphic that the comparison image capture device sends, reduce testing cost and requirement, improved operating efficiency and usage range.
Accordingly, the invention provides a kind of main frame and be used for carrying out the performance test of handset touch panel, it can comprise: write module, be used for writing the execution instruction; Control module is used for sending and carries out instruction to mechanical arm; Receiver module is carried out the execution feedback information that sends in real time after the described execution instruction for the reception mechanical arm, and the realtime graphic that receives the touch-screen demonstration of image capture device transmission; The contrast module is used for comparing realtime graphic and the action identification that described image capture device is sent, and sends comparison result to control module.
In the specific implementation, execution instruction of the present invention is the analog subscriber content of operation possible to touch-screen, and action identification is by in advance typing of image capture device.Design is carried out instruction and can be finished by the call definition function, the mode of typing action identification is to choose representative part still image in the effect image that corresponding described action generates on the touch-screen, obtain the pixel set in this still image zone, the mode that gathers realtime graphic also is like this.Carry out image ratio to the time, can adopt the mode of depth-first traversal, certain point in the selected realtime graphic pixel set is initial point, begin to access pixel along adjacent path, search simultaneously whether contain in the pixel set of realtime graphic with the set of action identification pixel in the zone of the identical point of pigment value of all pixels, and feedback comparison information.
Below in conjunction with the drawings and the specific embodiments, the technical scheme of device of the present invention is elaborated.
Fig. 2 is that the example structure of main frame of the present invention forms schematic diagram.The device of this embodiment can be used for carrying out method shown in Figure 1, concrete, the device of this embodiment comprises: write module 21, control module 22, receiver module 23, contrast module 24, wherein, described contrast module 24 can further comprise acquisition module 241, correction verification module 242 and feedback module 243, wherein:
Write module 21, be used for writing the execution instruction.In the specific implementation, carrying out instruction is to be used for the Black-box Testing instruction that the analog subscriber operation is write by the tester, and the mode of writing can be with reference to step S110, and therefore not to repeat here.
Control module 22 is used for sending and carries out instruction to mechanical arm.
Receiver module 23 is carried out the execution feedback information that sends in real time after the described execution instruction for the reception mechanical arm, and the realtime graphic that receives the touch-screen demonstration of image capture device transmission.In the specific implementation, the realtime graphic that described touch-screen shows can for being used for choosing in advance the action effect figure of action identification, also can shield for being used for test touch the image of the Real-time Feedback of performance.
Contrast module 24 is used for comparing realtime graphic and the action identification that described image capture device is sent, and sends comparison result to control module.In the present embodiment, contrast module 24 can further comprise: acquisition module 241, correction verification module 242 and feedback module 243.
Acquisition module 241 is used for obtaining the pixel set of the image that the described image capture device that receives from receiver module sends, and described pixel set is the set of the point that comprises coordinate figure and pigment value.In the specific implementation, the mode of obtaining the pixel set can be with reference to step S112, and therefore not to repeat here.
Correction verification module 242, be used for the coordinate order, travel through each pixel in the pixel set of described realtime graphic, search whether contain in the pixel set of described realtime graphic with the set of described action effect sign pixel in the zone of the identical point of pigment value of all pixels.In the specific implementation, obtaining can be with reference to step S112 with the mode of comparison pixels point set, and therefore not to repeat here.
Feedback module 243 is used for sending described check results to described control module.
In addition, in the present embodiment, control module 22 also is used for receiving the check results that described feedback module sends, and sign is carried out the instruction operation state; Also be used for being designated of running status when smooth, send next and carry out instruction to mechanical arm; And be used for being designated of described running status when unusual, automatically finish test job.
Accordingly, the invention provides a kind of handset touch panel Performance Test System, it can comprise: main frame, image capture device and mechanical arm.Native system can move action in the execution instruction that main frame sends automatically by mechanical arm, and image and the action effect figure of comparison image capture device Real-time Collection reach the purpose of handset touch panel performance test.
Below in conjunction with the drawings and the specific embodiments, handset touch panel Performance Test System of the present invention is elaborated.
Fig. 3 is that the structure of handset touch panel Performance Test System of the present invention forms schematic diagram.It can comprise: main frame 31, image capture device 32 and mechanical arm 33, wherein:
Main frame 31 is used for writing the execution instruction; Also be used for sending and carry out instruction to mechanical arm; Also carry out the execution feedback information that sends in real time after the described execution instruction for the reception mechanical arm, and the realtime graphic that receives the touch-screen demonstration of image capture device transmission; Also be used for comparing realtime graphic and the action identification that described image capture device is sent.
Image capture device 32 is used for the realtime graphic that collection touch shows; The described realtime graphic that also is used for collecting is sent to described main frame; Also be used for gathering the effect image that generates behind the execution action; The described effect image that also is used for collecting is sent to described main frame.
Mechanical arm 33 is used for receiving the execution instruction that described main frame sends; Also be used for carrying out the action of described execution instruction, and will carry out ending message and feed back to described main frame.Wherein, the mechanical arm that adopts of the embodiment of the invention can be truly, analog subscriber is to the manual operation of handset touch panel exactly.
Concrete, can be with reference to robot arm device shown in Figure 9, three relatively-movable scales have wherein formed jointly can be used in the mechanical structure that the measuring head that operates at touch-screen moves to the target location exactly, and the measuring head top is with removable touch head, touch the upper touch inductor with can be used for receiving and sending touch signal of head, in addition, robot arm device also comprises the corresponding permanent plant device in horizontal coordinate plane that forms with two scales of horizontal direction, can be used for making mobile phone screen to be measured to be fixed in the coordinate plane corresponding with the measuring head moving range, the permanent plant device that adopts such as Figure 10 comprises that 3 can be regulated standing valve, can respectively from horizontal plane and the fixing mobile phone to be measured of vertical direction, touch-screen be in the coordinate plane corresponding with mechanical structure exactly.
In the implementation, after mechanical arm receives the execution instruction of main frame transmission, according to operating protocol, can be converted into executable movement content with carrying out instruction.The operating protocol of the execution instruction of respective hosts ole Server OLE can be formulated and be: data head (ff)+initial x coordinate+drag and drop of drag and drop (01)+drag and drop begin y coordinate+drag and drop and finish x coordinate+drag and drop termination y coordinate+data tail (ee), the meaning of representative is, the mechanical arm measuring head begins near handset touch panel until contact after moving to starting point coordinate, keep the contact condition with touch-screen, after moving to drag and drop termination coordinate, remove the contact condition of mechanical arm measuring head and touch-screen.For example, the instruction that main frame sends is HoldClick (int x1, int x2, int y1, int y2), origin coordinates and termination coordinate position are respectively (5,6), (8,9) two coordinate points, then mechanical arm is with reading command and change into corresponding operating protocol and be: ff0105060809ee, the mechanical arm specific implementation process is: the mechanical arm contact at first with touch-screen on respective coordinates point (5,6) position contact, keep in touch state, remove contact condition after moving to the position of respective coordinates point (8,9) on the touch-screen; Wherein, when origin coordinates is identical with the termination coordinate, but the action that mechanical arm measuring head 05 executive chairman presses; The operating protocol that can stipulate the respective hosts click action is: data head (ff)+click (02)+00+00+ clicks x coordinate+click y coordinate+data tail (ee), the meaning of representative is, the mechanical arm contact moves to this position, leaves immediately after touching handset touch panel.For example, the execution instruction that main frame sends is Click (int x, int y), the coordinate position of clicking operation is (5,6) coordinate points, then mechanical arm is with reading command and change into corresponding operating protocol and be: ff0200000506ee will represent the position that the mechanical arm contact is clicked respective coordinates point (5,6) on the touch-screen.The mechanical arm that the embodiment of the invention adopts can be carried out the execution instruction that main frame sends accurately, because the measuring head in the mechanism can be changed flexibly for the attribute of touch-screen is different, so practically analog subscriber operation adopts main frame robot brain tool arm to implement that the method for touch screen operation is had certain flexibility, accuracy and authenticity.
Please in the lump with reference to Fig. 4, Fig. 4 is an embodiment schematic flow sheet of handset touch panel Performance Test System of the present invention, and this flow chart has been showed the operating process of image comparison in the handset touch panel Performance Test System, wherein:
Step S410 seeks this interface still image different from other interfaces.Wherein, can observe at the display screen of main frame the current interface image of the touch-screen that image capture device sends, choose still image representative among the figure as the action identification that enters current interface.
Step S411 stores the pixel set of this icon.The pixel set is for comprising pixel (x, y, B, G, R) point of form set, wherein, x is the abscissa value of pixel, and y is the ordinate value of pixel, B is the cyanine value of pixel, G is the marennin value of pixel, and R is the haematochrome value of pixel, and the mode of obtaining pixel can be with reference to the described method of step S110.
Step S412, typing is finished.Wherein, the set of the pixel of the icon of this step main frame typing is as the reference frame of image ratio to operation.
Step S413 begins to carry out instruction.Wherein, the execution instruction that sends to mechanical arm by main frame is to be used for the Black-box Testing instruction that the analog subscriber operation is write by the tester.
Step S414, comparison current interface and effect sign.Wherein, the method for the realtime graphic of comparison execution action and action identification can be with reference to the described method of step S112.
When writing the execution instruction, main frame is directed to the test of the same function of mobile phone and a plurality of test execution instructions of writing and sending can be integrated into a test script that is directed to this function, can comprise the action of writing by call function in this script, and the action identification that is used for comparison that should move mutually.
Please in the lump with reference to Fig. 5, Fig. 5 is another embodiment schematic flow sheet of handset touch panel Performance Test System of the present invention, and this flow chart has been showed the operating process of writing the dialup test script in the handset touch panel Performance Test System, wherein:
Step S510, the click to dial device.Call the click function of movement, position coordinates (1,8) is clicked in input.Wherein, the action of this step is to write according to the function of predefined, and the method for defined function can be with reference to the described method of step S110.
Step S511, typing dialing icon.Wherein, the dialing icon has been used as entering the dialer display interface in Fig. 4 embodiment action identification, the method for the pixel set of concrete repertory dialer icon can be with reference to the flow process among step S410, step S411 and the step S412.
Step S512 clicks phone number.Call and click function of movement five times, the respectively coordinate of correspondence of digital 10086 positions is clicked in input.
Step S513, typing phone number display field image.Wherein, phone number display field image is used to implement the action identification that dial action finishes, and the method that specifically stores the pixel set of phone number display field image can be with reference to the flow process among step S410, step S411 and the step S412.
Step S514, the click to dial key.Call the click function of movement, coordinate position (2,8) is clicked in input.
Please in the lump with reference to Fig. 6, Fig. 6 is the another embodiment schematic flow sheet of handset touch panel Performance Test System of the present invention, and this flow chart has been showed the operating process of carrying out the dialup test script in the handset touch panel Performance Test System, wherein:
Step S610, the click to dial device.Wherein, main frame is the first element of script in the test shown in Figure 5 to the click to dial device instruction that mechanical arm sends.
Step S611, mechanical arm feedback OK.Wherein, the feedback information of mechanical arm is for carrying out the signal of test script first element end.
Step S612 compares current dialing interface and dialing interface effect sign.Wherein, the dialing interface image sends in the main frame after by the image capture device Real-time Collection.
Step S613, the input handset number.Wherein, the click phone number instruction that sends to mechanical arm of main frame is second action in the test script shown in Figure 5.
Step S614, mechanical arm feedback OK.Wherein, the feedback information of mechanical arm is for carrying out the signal of second release of test script.
Step S615 compares current dialing interface and the effect sign that Enters Number.Wherein, phone number display field image is also by sending in the main frame behind the image capture device Real-time Collection.
Step S616, the click to dial key.Wherein, main frame is the 3rd action of script in the test shown in Figure 5 to the click to dial key instruction that mechanical arm sends.
Step S617, mechanical arm feedback OK.Wherein, the feedback information of mechanical arm is for carrying out the signal of the 3rd release of test script.
Step S618, recording exceptional.Wherein, if step S612, step S615 do not find action identification in current interface all the time in the process of comparison, then main frame is recorded comparison result, and finishes the operation of test script.
The handset touch panel Performance Test System that the embodiment of the invention provides can be used for writing and carrying out of image comparison, test instruction and script, to reach the purpose of handset touch panel performance test.Wherein, test instruction or script write can according to actual conditions with treat that the different of brake make corresponding additions and deletions and change, so long as the instruction or the script that use the described method of this flow process to write, can be as test instruction or the script of the embodiment of the invention.
The embodiment of the invention is by the operation test instruction of main frame robot brain tool arm or script, the mode that whether comprises the action identification of corresponding actions in the real-time interface image that the comparison image capture device sends is carried out performance test to handset touch panel, owing to test instruction or script that the embodiment of the invention provides are all write by tester's analog subscriber practical operation situation, so have certain flexibility and objectivity; In addition, the embodiment of the invention utilizes the mechanical arm action to replace the mode of using according to the development and testing of cell phone platform source code in conjunction with the method that gathers image, avoided the problem that to test because obtaining the cell phone platform source code, broken away from the limitation of prior art, reduce cost and the requirement of test, improved operating efficiency and usage range.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or store-memory body (Random Access Memory, RAM) etc. at random.
Above disclosed only is preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, one of ordinary skill in the art will appreciate that all or part of flow process that realizes above-described embodiment, and according to the equivalent variations that claim of the present invention is done, still belong to the scope that invention is contained.

Claims (9)

1. a handset touch panel performance test method is characterized in that, comprising:
Main frame sends carries out instruction to mechanical arm, and described execution instruction is used to indicate described mechanical arm touch-screen is carried out corresponding action;
Described main frame receives described mechanical arm and carries out the execution feedback information that described action sends afterwards in real time;
The described mechanical arm that described main frame obtains described camera collection from image capture device is carried out the realtime graphic that described touch-screen shows after the described action, and searches the information that whether exists in the described realtime graphic with predefined action identification coupling.
2. handset touch panel performance test method as claimed in claim 1 is characterized in that, comprising:
Described main frame is chosen representative part still image in the effect image that corresponding described action generates on the described touch-screen in advance, stores described still image as the action identification of described action.
3. the method for handset touch panel performance test as claimed in claim 1 or 2, it is characterized in that, the described mechanical arm that described main frame obtains described camera collection from image capture device is carried out the realtime graphic that described touch-screen shows after the described action, and searches the information that whether exists in the described realtime graphic with predefined action identification coupling and comprise:
The realtime graphic that the described touch-screen that the described image capture device of described main frame typing sends shows, putting in order is the pixel set, described pixel set is the set that comprises the point of coordinate figure and pigment value;
Described main frame is with the coordinate order, travel through the pixel in the set of described realtime graphic pixel, search simultaneously whether contain in the pixel set of described realtime graphic with described action identification pixel set in the zone of the identical point of pigment value of all pixels;
If comprise the zone of the identical point of pigment value of all pixels in the described and described action identification pixel set in the set of the pixel of described realtime graphic, then identify current function smoothly and send next and carry out instruction to described mechanical arm.
4. a main frame is characterized in that, comprising:
Write module, be used for writing the execution instruction;
Control module is used for sending and carries out instruction to mechanical arm;
Receiver module is carried out the execution feedback information that sends in real time after the described execution instruction for the reception mechanical arm, and the realtime graphic that receives the touch-screen demonstration of image capture device transmission;
The contrast module is used for comparing realtime graphic and the action identification that described image capture device is sent, and sends comparison result to control module.
5. main frame as claimed in claim 4 is characterized in that, described contrast module comprises:
Acquisition module is used for obtaining the pixel set of the image that the described image capture device that receives from receiver module sends, and described pixel set is the set of the point that comprises coordinate figure and pigment value;
Correction verification module, be used for the coordinate order, travel through each pixel in the pixel set of described realtime graphic, search whether contain in the pixel set of described realtime graphic with the set of described action effect sign pixel in the zone of the identical point of pigment value of all pixels;
Feedback module is used for sending described check results to described control module.
6. such as claim 4 or 5 described main frames, it is characterized in that, comprising:
Described control module also is used for receiving the check results that described feedback module sends, and sign is carried out the instruction operation state; Also be used for being designated of described running status when smooth, automatically send next and carry out instruction to mechanical arm.
7. main frame as claimed in claim 6 is characterized in that, comprising:
Described control module also is used for being designated of described running status when unusual, automatically finishes test job.
8. a handset touch panel Performance Test System is characterized in that, comprising:
Main frame is each described main frame of claim 4 to 6;
Image capture device is used for the realtime graphic that collection touch shows; The described realtime graphic that also is used for collecting is sent to described main frame;
Mechanical arm is used for receiving the execution instruction that described main frame sends; Also be used for carrying out the action of described execution instruction, and will carry out ending message and feed back to described main frame.
9. handset touch panel Performance Test System as claimed in claim 8 is characterized in that, comprising:
Described image capture device also is used for gathering the effect image that generates behind the execution action; The described effect image that also is used for collecting is sent to described main frame.
CN201210392305.2A 2012-10-16 2012-10-16 The method and device of a kind of handset touch panel performance test, system Active CN102904996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210392305.2A CN102904996B (en) 2012-10-16 2012-10-16 The method and device of a kind of handset touch panel performance test, system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210392305.2A CN102904996B (en) 2012-10-16 2012-10-16 The method and device of a kind of handset touch panel performance test, system

Publications (2)

Publication Number Publication Date
CN102904996A true CN102904996A (en) 2013-01-30
CN102904996B CN102904996B (en) 2016-08-03

Family

ID=47577027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210392305.2A Active CN102904996B (en) 2012-10-16 2012-10-16 The method and device of a kind of handset touch panel performance test, system

Country Status (1)

Country Link
CN (1) CN102904996B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679017A (en) * 2013-11-29 2015-06-03 ***股份有限公司 Automatic test device and test method for mobile terminal application program
CN104794032A (en) * 2015-04-23 2015-07-22 福州大学 Method for automatically testing hardware module of intelligent displayer
CN104849576A (en) * 2014-02-13 2015-08-19 广东小天才科技有限公司 Automatic testing system and testing method thereof
CN104899140A (en) * 2015-06-03 2015-09-09 上海斐讯数据通信技术有限公司 Test method for mobile terminal assembly
CN105049574A (en) * 2015-08-20 2015-11-11 工业和信息化部电信研究院 System for detecting fluency of mobile phone by utilizing robot hand and detection method thereof
CN105279059A (en) * 2015-11-25 2016-01-27 上海斐讯数据通信技术有限公司 Intelligent mobile terminal test system and method
CN105675043A (en) * 2016-01-08 2016-06-15 上海轩田工业设备有限公司 Touch screen performance detection device
CN105785941A (en) * 2014-12-25 2016-07-20 上海无线通信研究中心 Smart terminal auxiliary testing apparatus
CN105842559A (en) * 2016-03-23 2016-08-10 广东欧珀移动通信有限公司 Test result write-in method, test result write-in device, testing system and mobile terminal
CN106506762A (en) * 2016-09-23 2017-03-15 惠州Tcl移动通信有限公司 Test equipment
CN106534442A (en) * 2016-11-30 2017-03-22 四川宏基博业企业管理有限公司 Mobile terminal detection system
CN107592397A (en) * 2017-09-22 2018-01-16 苏州惠邦科信息技术有限公司 The method of handset touch panel performance test
CN107800729A (en) * 2016-08-30 2018-03-13 ***通信集团广东有限公司 A kind of information query method and system
CN105183599B (en) * 2015-09-08 2018-07-13 上海斐讯数据通信技术有限公司 script recording system and method
CN109117067A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 The detection method and its device of terminal touch-control performance
CN109144379A (en) * 2017-06-26 2019-01-04 深圳回收宝科技有限公司 Method, terminal detection device, system and the storage medium that terminal is operated
CN109581104A (en) * 2018-11-27 2019-04-05 安徽江淮汽车集团股份有限公司 A kind of vehicle entertainment system testing touch screen method
CN110390328A (en) * 2019-06-28 2019-10-29 联想(北京)有限公司 A kind of information processing method and equipment
CN110398682A (en) * 2018-04-19 2019-11-01 京东方科技集团股份有限公司 Touch-control test device and touch-control test method
CN111327746B (en) * 2020-01-21 2021-08-10 上海万物新生环保科技集团有限公司 Method and device for determining pressure abnormity of mobile terminal
CN115294263A (en) * 2022-10-08 2022-11-04 武汉大学 Illumination estimation model, network, method and system

Citations (2)

* 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
US20120188176A1 (en) * 2011-01-24 2012-07-26 Microsoft Corporation Contact Geometry Tests

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120188176A1 (en) * 2011-01-24 2012-07-26 Microsoft Corporation Contact Geometry Tests
CN102314386A (en) * 2011-09-05 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for testing mobile terminal

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679017A (en) * 2013-11-29 2015-06-03 ***股份有限公司 Automatic test device and test method for mobile terminal application program
CN104849576A (en) * 2014-02-13 2015-08-19 广东小天才科技有限公司 Automatic testing system and testing method thereof
CN104849576B (en) * 2014-02-13 2018-06-22 广东小天才科技有限公司 A kind of automatization test system and test method
CN105785941A (en) * 2014-12-25 2016-07-20 上海无线通信研究中心 Smart terminal auxiliary testing apparatus
CN105785941B (en) * 2014-12-25 2018-06-12 上海无线通信研究中心 A kind of intelligent terminal auxiliary test unit
CN104794032A (en) * 2015-04-23 2015-07-22 福州大学 Method for automatically testing hardware module of intelligent displayer
CN104794032B (en) * 2015-04-23 2018-09-18 福州大学 A method of realizing intelligent display hardware module automatic test
CN104899140A (en) * 2015-06-03 2015-09-09 上海斐讯数据通信技术有限公司 Test method for mobile terminal assembly
CN104899140B (en) * 2015-06-03 2017-08-25 上海斐讯数据通信技术有限公司 A kind of method of testing of mobile terminal component
CN105049574A (en) * 2015-08-20 2015-11-11 工业和信息化部电信研究院 System for detecting fluency of mobile phone by utilizing robot hand and detection method thereof
CN105183599B (en) * 2015-09-08 2018-07-13 上海斐讯数据通信技术有限公司 script recording system and method
CN105279059A (en) * 2015-11-25 2016-01-27 上海斐讯数据通信技术有限公司 Intelligent mobile terminal test system and method
CN105675043B (en) * 2016-01-08 2018-04-17 上海轩田工业设备有限公司 A kind of touch screen performance detection device
CN105675043A (en) * 2016-01-08 2016-06-15 上海轩田工业设备有限公司 Touch screen performance detection device
CN105842559A (en) * 2016-03-23 2016-08-10 广东欧珀移动通信有限公司 Test result write-in method, test result write-in device, testing system and mobile terminal
CN105842559B (en) * 2016-03-23 2018-11-20 广东欧珀移动通信有限公司 Test result wiring method, device and test macro and mobile terminal
CN107800729A (en) * 2016-08-30 2018-03-13 ***通信集团广东有限公司 A kind of information query method and system
CN106506762A (en) * 2016-09-23 2017-03-15 惠州Tcl移动通信有限公司 Test equipment
CN106534442A (en) * 2016-11-30 2017-03-22 四川宏基博业企业管理有限公司 Mobile terminal detection system
CN109117067A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 The detection method and its device of terminal touch-control performance
CN109144379A (en) * 2017-06-26 2019-01-04 深圳回收宝科技有限公司 Method, terminal detection device, system and the storage medium that terminal is operated
CN107592397A (en) * 2017-09-22 2018-01-16 苏州惠邦科信息技术有限公司 The method of handset touch panel performance test
CN110398682A (en) * 2018-04-19 2019-11-01 京东方科技集团股份有限公司 Touch-control test device and touch-control test method
CN109581104A (en) * 2018-11-27 2019-04-05 安徽江淮汽车集团股份有限公司 A kind of vehicle entertainment system testing touch screen method
CN110390328A (en) * 2019-06-28 2019-10-29 联想(北京)有限公司 A kind of information processing method and equipment
CN111327746B (en) * 2020-01-21 2021-08-10 上海万物新生环保科技集团有限公司 Method and device for determining pressure abnormity of mobile terminal
CN115294263A (en) * 2022-10-08 2022-11-04 武汉大学 Illumination estimation model, network, method and system
CN115294263B (en) * 2022-10-08 2023-02-03 武汉大学 Illumination estimation method and system

Also Published As

Publication number Publication date
CN102904996B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN102904996A (en) Method, device and system for testing performance of mobile phone touch screen
CN107223246B (en) Image labeling method and device and electronic equipment
CN102901898B (en) A kind of system and method touch-screen and corresponding software being carried out to test automatically
CN108229373A (en) Calligraphy exercising method and calligraphy practicing device, computer equipment and storage medium
CN102387234A (en) Mobile phone automatic test device and method
CN103823758A (en) Browser testing method and device
CN103472996A (en) Method and device for receiving touch in mobile device
CN109359043B (en) Mobile game automatic testing method based on machine learning
CN103377119A (en) Automatic nonstandard control testing method and device
CN107370823B (en) Data acquisition and remote control method, device and computer readable storage medium
CN103414737B (en) A kind of method and system carrying out input synchronization at equipment room
CN104049874A (en) Touch chirography generation method and system of touch pen
CN111047147B (en) Automatic business process acquisition method and intelligent terminal
CN110413740A (en) Querying method, device, electronic equipment and the storage medium of chemical expression
CN104284128A (en) Electronic device and video tagging method
CN104917972A (en) Method for remotely controlling picture taking, device and system
CN104407699A (en) Human-computer interaction method, device and system
CN111078983B (en) Method for determining page to be identified and learning equipment
CN113127486A (en) Information collection and storage method, device, equipment and storage medium
CN105718363B (en) Mobile phone response starting time point acquisition methods and device
CN105187788B (en) A kind of method and system of analog machine real-time data record and displaying
CN111417026A (en) Online learning method and device based on writing content
CN103995638A (en) Data processing apparatus, data processing system, and non-transitory computer readable medium
CN110554939A (en) method, system and terminal for debugging embedded equipment
CN105374131A (en) Method and device for automatic testing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant after: Shenzhen Skyworth Digital Technology Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant