Touch screen detection robot, detection method, device and medium

文档序号:7400 发布日期:2021-09-17 浏览:27次 中文

1. A touch screen detection robot, comprising: the touch control device comprises a base, a first electric control cross sliding table, a first Z-axis sliding table, a second electric control cross sliding table, a second Z-axis sliding table, a first touch control pen, a second touch control pen and a control device;

the base is provided with a fixing area, and the fixing area is used for fixing a terminal to be tested with a touch screen;

the first electric control cross sliding table is arranged on the base and comprises a first X-axis sliding table and a first Y-axis sliding table which can move on the plane where the XY axes are located;

the first Z-axis sliding table is arranged on the first electric control cross sliding table and can move in the Z-axis direction;

the first touch control pen is arranged on the first Z-axis sliding table;

the second electric control cross sliding table is arranged on the base and comprises a second X-axis sliding table and a second Y-axis sliding table which can move on the plane where the XY axes are located;

the second Z-axis sliding table is arranged on the second electric control cross sliding table and can move in the Z-axis direction;

the second touch pen is arranged on the second Z-axis sliding table;

the control device is electrically connected with the first electric control cross sliding table, the first Z-axis sliding table, the second electric control cross sliding table and the second Z-axis sliding table, and is used for controlling the first touch pen and the second touch pen to move and touch on an XY axis and a Z axis to touch the touch screen of the terminal to be tested.

2. The touch screen detection robot of claim 1, further comprising an image capture device;

the image acquisition device is arranged right above the fixed area and used for acquiring image information displayed by the touch screen;

the control device is further configured to obtain the image information, determine a touch position of the touch screen according to the image information, and control the first stylus and the second stylus to click the touch position.

3. The touch screen detection robot according to claim 1 or 2, further comprising a first rotating slide table and a second rotating slide table;

the first rotating sliding table is arranged on the first Z-axis sliding table, the first touch pen is arranged at the rotating end of the first rotating sliding table, and the rotating end of the first rotating sliding table is used for adjusting the angle of the first touch pen;

the second rotates the slip table and locates second Z axle slip table, the second touch-control pen is located the rotation end of second rotation slip table, the rotation end of second rotation slip table is used for adjusting the angle of second touch-control pen.

4. The touch screen detection robot of claim 3, wherein the fixing area is a square adjusting table, and the square adjusting table is adjustable in length and width.

5. The touch screen detection robot of claim 4, wherein the first X-axis slide, the first Y-axis slide, the first Z-axis slide, the second X-axis slide, the second Y-axis slide, the second Z-axis slide, the first rotary slide and the second rotary slide all employ servo motors as power sources.

6. A detection method of a touch screen detection robot, characterized in that the touch screen detection robot of any one of claims 1 to 5 is used for detection, the method comprising:

issuing a test task;

acquiring image information displayed by the touch screen acquired by the image acquisition device according to the received test task;

determining a touch position of the touch screen according to the image information;

and controlling the first touch pen and the second touch pen to click the touch position.

7. The method of claim 6, wherein controlling the first stylus and the second stylus to click the touch location comprises:

the control device is used for controlling the first touch pen and the second touch pen to move on an XY axis and a Z axis and clicking the touch position.

8. The method of claim 7, wherein controlling the first stylus and the second stylus to click the touch location further comprises:

the control device is used for controlling the adjustment of the angles of the first touch pen and the second touch pen and clicking the touch position.

9. The method of claim 7 or 8, wherein controlling the first stylus and the second stylus to click the touch location comprises:

acquiring target image information displayed by the touch screen and acquired by the image acquisition device;

and judging and analyzing the target image information and the test task, and generating a judgment result.

10. The method of claim 9, wherein performing a judgment analysis on the target image information and the test task and generating a judgment result comprises:

and when the target image information is consistent with the test image information in the test task, generating a test passing result, and when the target image information is inconsistent with the test image information in the test task, generating a test failure result.

11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 6 to 10 when executing the computer program.

12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 6 to 10.

Background

With the continuous progress and development of science and technology, touch screens are mostly installed on intelligent products, and people can use the touch screens conveniently, for example, mobile phones, tablets and the like in daily life. In the traditional mobile phone test method, a tester needs to manually operate the mobile phone according to a test case, and simultaneously, two eyes tightly stare at a mobile phone screen, constantly pay attention to the change of a software interface, and judge whether the change accords with a normal flow.

When the test workload is small, the test mode is more efficient, and the tester can rapidly complete the test by manually operating the mobile phone. When the workload becomes large, for example, it is specified that a certain operation is executed more than thousands of times, or continuous testing is performed for many hours, and the requirement of the working precision is high, for example, the starting time of the test application requires the test result to be accurate to millisecond level. The pressure of the tester is very large, and the progress and the quality of the test work cannot be guaranteed.

Disclosure of Invention

The invention aims to provide a touch screen detection robot, a detection method, equipment and a medium, which realize automatic detection of a touch screen and improve the test efficiency.

To achieve the above object, in a first aspect, the present invention provides a touch screen detection robot, including: the touch control device comprises a base, a first electric control cross sliding table, a first Z-axis sliding table, a second electric control cross sliding table, a second Z-axis sliding table, a first touch control pen, a second touch control pen and a control device. The base is provided with a fixing area, the fixing area is used for fixing a terminal to be tested with a touch screen, the base is arranged on the first electronic control cross sliding table, and the first electronic control cross sliding table comprises a first X-axis sliding table and a first Y-axis sliding table which can move on the plane where the XY axes are located. First Z axle slip table locates first automatically controlled cross slip table, and first Z axle slip table can remove in Z axle direction, and first Z axle slip table is located to first stylus. The base is located to automatically controlled cross slip table of second, and automatically controlled cross slip table of second includes second X axle slip table and the second Y axle slip table that can remove in XY axle place plane, and automatically controlled cross slip table of second is located to second Z axle slip table, and second Z axle slip table can remove in Z axle direction, and second Z axle slip table is located to the second touch-control pen. And the control device is electrically connected with the first electric control cross sliding table, the first Z-axis sliding table, the second electric control cross sliding table and the second Z-axis sliding table and is used for controlling the first touch pen and the second touch pen to move on the XY axis and the Z axis and touch the touch screen of the terminal to be tested.

The embodiment of the invention provides a touch screen detection robot, which has the beneficial effects that: control device and first automatically controlled cross slip table, first Z axle slip table, the equal electricity of second automatically controlled cross slip table and second Z axle slip table is connected, realized that first touch-control pen of simultaneous control moves at XY axle and Z epaxial with the second touch-control pen, the efficiency of test touch-control screen has been improved greatly, and many functions need 2 touch-control pens to operate simultaneously on current touch-control screen at least, for example the enlargeing or reducing etc. of picture, so this scheme adopts first touch-control pen and second touch-control pen to increase the variety of operation, further improved efficiency of software testing.

In a possible implementation, the touch screen further comprises an image acquisition device, the image acquisition device is arranged right above the fixed area and used for acquiring image information displayed by the touch screen, and the control device is further used for acquiring the image information, determining the touch position of the touch screen according to the image information and controlling the first touch pen and the second touch pen to click the touch position. The beneficial effects are that: the image information displayed on the touch screen is acquired in real time through the image acquisition device, and the image information is sent to the control device to be subjected to image analysis and then the touch position is confirmed, so that automatic acquisition, analysis and test of the image information are realized, and the test efficiency is greatly improved.

In a possible realization, still include first slip table and the second slip table of rotating, first Z axle slip table is located to first slip table of rotating, and first touch-control pen locates the rotation end of first slip table of rotating, and the rotation end of first slip table of rotating is used for adjusting the angle of first touch-control pen. The second rotates the slip table and locates second Z axle slip table, and the second touch-control pen is located the rotation end of second rotation slip table, and the rotation end of second rotation slip table is used for adjusting the angle of second touch-control pen. The beneficial effects are that: through additionally arranging the first rotating sliding table and the second rotating sliding table, the angle adjustment of the first touch control pen and the second touch control pen is realized, and the automatic detection of the touch control screen with the curved surface is convenient to complete.

In one possible implementation, the fixing area is a square adjusting table, and the length and the width of the square adjusting table are adjustable. The beneficial effects are that: the fixed area is set to be the square adjusting table with adjustable length and width, so that the adjusting table is suitable for terminals to be tested with different sizes, and the applicability of automatic testing is improved.

In a possible realization, first X axle slip table, first Y axle slip table, first Z axle slip table, second X axle slip table, second Y axle slip table, second Z axle slip table, first slip table and the second slip table of rotating all adopt servo motor as the power supply. The beneficial effects are that: the servo motor is used as a power source, so that the operation precision of the first touch control pen and the second touch control pen is improved.

In a second aspect, the present invention provides a method for detecting a touch screen detection robot, where the method for detecting a touch screen detection robot includes:

the control device issues a test task, acquires image information displayed by the touch screen acquired by the image acquisition device according to the received test task, sends the image information to the control device, determines the touch position of the touch screen according to the image information, and controls the first touch pen and the second touch pen to click the touch position.

The embodiment of the invention provides a detection method of a touch screen detection robot, which has the beneficial effects that: the touch position of the first touch pen and the second touch pen can be controlled simultaneously, the efficiency of automatically testing the touch screen is greatly improved, and many functions on the existing touch screen need 2 touch pens to operate simultaneously, such as amplification or reduction of pictures and the like, so that the first touch pen and the second touch pen are adopted in the scheme, the diversity of operation is increased, and the testing efficiency is further improved.

In one possible implementation, controlling the first stylus and the second stylus to click on the touch position includes: the control device is used for controlling the first touch pen and the second touch pen to move on an XY axis and a Z axis and clicking the touch position. The beneficial effects are that: the movement of the first touch pen and the second touch pen on the XY axis and the Z axis is realized.

In one possible implementation, controlling the first stylus and the second stylus click touch positions further comprises: the control device is used for controlling the adjustment of the angles of the first touch pen and the second touch pen and clicking the touch position. The beneficial effects are that: the angle adjustment of the first touch control pen and the second touch control pen is realized, and the automatic detection of the touch control screen with the curved surface is convenient to complete.

In one possible implementation, after controlling the first stylus and the second stylus click touch positions, the method includes: and acquiring target image information displayed on the touch screen and acquired by the image acquisition device, judging and analyzing the target image information and the test task, and generating a judgment result.

In one possible implementation, the performing judgment analysis on the target image information and the test task and generating a judgment result includes: and when the target image information is consistent with the test image information in the test task, generating a test passing result, and when the target image information is inconsistent with the test image information in the test task, generating a test failure result.

In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the above-mentioned method steps when executing the computer program.

The electronic equipment has the beneficial effects that: the operation of the detection method is realized by executing a computer program through a processor.

In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the above-described method steps.

The computer-readable storage medium of the present invention is advantageous in that the operation of the above-described detection method is realized by executing a computer program.

Drawings

Fig. 1A is a top view of a touch screen detection robot according to an embodiment of the present invention;

fig. 1B is a perspective view of a touch screen detection robot according to an embodiment of the present invention;

fig. 1C is a schematic structural diagram of a touch screen detecting robot according to an embodiment of the present invention after an angle of a touch pen is adjusted;

fig. 1D is a front view of a touch screen detecting robot according to an embodiment of the present invention after an angle of a touch pen is adjusted;

fig. 2 is a flowchart of a method for detecting a touch screen detection robot according to an embodiment of the present invention.

Reference numerals:

a base 100, a fixing area 101;

a first electric control cross sliding table 110, a first X-axis sliding table 111, a first Y-axis sliding table 112, a first Z-axis sliding table 113, a first touch control pen 114 and a first rotating sliding table 115;

a second electrically controlled cross slide table 120, a second X-axis slide table 121, a second Y-axis slide table 122, a second Z-axis slide table 123, a second stylus 124, and a second rotating slide table 125;

touch screen 130, controlling means 140, image acquisition device 150.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. As used herein, the word "comprising" and similar words are intended to mean that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items.

With the continuous progress of science and technology, electronic products are updated more and more frequently, and touch screens are installed on most of the existing electronic products, so that the electronic products are convenient to use by people, such as mobile phones, tablet computers and the like. After the electronic product is prepared, the touch screen needs to be detected, and whether the touch screen is damaged or not and cannot be used is tested. According to the traditional touch screen testing method, a tester needs to manually operate according to a test case, two eyes tightly stare at a mobile phone screen at the same time, the change of a software interface is constantly noticed, whether the change accords with a normal flow or not is judged, and when the manual detection is adopted along with the increase of workload, the efficiency is low, and the quality cannot be guaranteed.

In view of the above existing problems, an embodiment of the present invention provides a touch screen detection robot, which is shown in fig. 1A and 1B and includes: the touch control device comprises a base 100, a first electric control cross sliding table 110, a first Z-axis sliding table 113, a second electric control cross sliding table 120, a second Z-axis sliding table 123, a first touch control pen 114, a second touch control pen 124 and a control device 140.

The base 100 is provided with a fixing area 101, and the fixing area 101 is used for fixing a terminal to be tested, such as a mobile phone or a tablet computer, having a touch screen 130. The first electrically controlled cross slide table 110 is disposed on the base 100, and the first electrically controlled cross slide table 110 includes a first X-axis slide table 111 and a first Y-axis slide table 112 capable of moving on the plane where the XY-axes are located. The first Z-axis sliding table 113 is disposed on the first electrically controlled cross sliding table 110, the first Z-axis sliding table 113 is movable in the Z-axis direction, and the first stylus 114 is disposed on the first Z-axis sliding table 113. The second electronic control cross sliding table 120 is arranged on the base 100, the second electronic control cross sliding table 120 comprises a second X-axis sliding table 121 and a second Y-axis sliding table 122 which can move on the plane where the XY axes are located, a second Z-axis sliding table 123 is arranged on the second electronic control cross sliding table 120, the second Z-axis sliding table 123 can move in the Z-axis direction, and a second touch pen 124 is arranged on the second Z-axis sliding table 123. And the control device 140 is electrically connected with the first electrically controlled cross sliding table 110, the first Z-axis sliding table 113, the second electrically controlled cross sliding table 120 and the second Z-axis sliding table 123, and the control device 140 is used for controlling the first touch pen 114 and the second touch pen 124 to move on the XY axis and the Z axis to touch the touch screen 130 of the terminal to be tested.

In this embodiment, the control device 140 is electrically connected to the first electrically controlled cross sliding table 110, the first Z-axis sliding table 113, the second electrically controlled cross sliding table 120, and the second Z-axis sliding table 123, so that the first stylus 114 and the second stylus 124 are controlled to move on the XY axis and the Z axis simultaneously, the efficiency of automatically testing the touch screen is greatly improved, and many functions on the existing touch screen 130 require at least 2 styli to operate simultaneously, such as enlarging or reducing pictures, and the like, so that the first stylus 114 and the second stylus 124 are adopted in the scheme, so that the diversity of operations is increased, and the testing efficiency is further improved.

It should be noted that the XY axis in this embodiment is parallel to the surface of the base 100, and the Z axis is perpendicular to the surface of the base 100.

In a possible implementation, the touch screen inspection robot further includes an image capturing device 150, and the image capturing device 150 is disposed right above the fixed area 101 and is configured to capture image information displayed on the touch screen 130. The control device 140 is further configured to obtain the image information, determine a touch position of the touch screen 130 according to the image information, and then the control device 140 controls the first stylus 114 and the second stylus 124 to click the touch position.

By setting the image acquisition device 150 to acquire information of image information displayed on the touch screen 130 in real time and sending the image information to the control device 140 to perform image analysis and then confirm the touch position, automatic acquisition, analysis and test of the image information are realized, and the test efficiency is greatly improved.

In another possible implementation, as shown in fig. 1A, 1C, and 1D, the touch screen inspection robot further includes a first rotating slide table 115 and a second rotating slide table 125, and since the connection structures of the second rotating slide table 125 and the second touch pen 124 are the same as those of the first rotating slide table 115 and the first touch pen 114, fig. 1C and 1D only show a part of the structure schematic diagram of the first rotating slide table 115 controlling the first touch pen 114. The first rotating sliding table 115 is arranged on the first Z-axis sliding table 113, the first stylus 114 is arranged at a rotating end of the first rotating sliding table 115, and the rotating end of the first rotating sliding table 115 is used for adjusting an angle of the first stylus 114. The second rotating sliding table 125 is disposed on the second Z-axis sliding table 123, the second stylus 124 is disposed at a rotating end of the second rotating sliding table 125, and the rotating end of the second rotating sliding table 125 is used for adjusting an angle of the second stylus 124.

In this embodiment, by additionally providing the first rotating sliding table 115 and the second rotating sliding table 125, the angle adjustment of the first stylus 114 and the second stylus 124 is realized, which is convenient for completing the automatic detection of the curved touch screen 130. It can be understood that, since the surface of the curved touch screen 130 has a curvature, in order to ensure that the first touch pen 114 and the second touch pen 124 accurately click on the image information displayed on the touch screen 130, the angles of the first touch pen 114 and the second touch pen 124 are adjusted to make the first touch pen 114 and the second touch pen 124 perpendicular to the curved touch screen 130 as much as possible, so as to increase the reliability of the click.

Further, the fixing area 101 on the base 100 is a square adjusting table, and the length and width of the square adjusting table are adjustable. Because the length and the width of the square adjusting table are adjustable, terminals to be tested with the touch screen 130 of different models and brands can be installed in the fixed area 101, and the applicability of the product is improved.

In this embodiment, the first X-axis sliding table 111, the first Y-axis sliding table 112, the first Z-axis sliding table 113, the second X-axis sliding table 121, the second Y-axis sliding table 122, the second Z-axis sliding table 123, the first rotating sliding table 115, and the second rotating sliding table 125 all use servo motors as power sources. The servo motor is used as a power source, and the operation precision of the servo motor is high, so that the operation precision of the first touch pen 114 and the second touch pen 124 is improved.

It should be noted that the number of the touch pens can be set to be more than 2, and the specific number can be determined according to actual requirements.

In another embodiment provided by the present invention, a method for detecting a touch screen detection robot, which uses the touch screen detection robot in the above embodiments to perform detection, with reference to fig. 2, includes:

s201: and the control device issues a test task.

In the step, after a worker starts a test starting button, the control device issues a test task.

S202: the control device acquires image information displayed by the touch screen acquired by the image acquisition device according to the received test task.

In this step, specifically, the image acquisition device receives the test task, starts to acquire image information displayed by the touch screen, and sends the image information to the control device, and the control device performs step S203 to determine the touch position of the touch screen according to the received image information.

S203: and the control device determines the touch position of the touch screen according to the image information.

In this step, the control device analyzes the graphic information and determines the touch position of the touch screen.

S204: the control device controls the first touch pen and the second touch pen to click touch positions.

In the step, the control device is used for controlling the first touch pen and the second touch pen to move on an XY axis and a Z axis, so that the click touch position is realized, the test task is completed, the angle adjustment of the first touch pen and the second touch pen can be controlled, and the effective click test of the touch screen with the curved surface is realized. After the first touch pen and the second touch pen click the touch positions, target image information can be displayed on the touch screen.

S205: the control device acquires target image information displayed on the touch screen and acquired by the image acquisition device, judges and analyzes the target image information and the test task, and generates a judgment result.

In the step, the target image information and the test task are judged and analyzed, a judgment result is generated, and when the target image information is consistent with the test image information in the test task, a test passing result is generated. And when the target image information is inconsistent with the test image information in the test task, generating a test failure result. I.e. the whole test task is completed.

In this embodiment, the first stylus and the second stylus are controlled to click the touch position simultaneously, so that the efficiency of automatically testing the touch screen is greatly improved, and many functions on the existing touch screen require at least 2 styli to operate simultaneously, such as amplification or reduction of pictures, and the like. And the control system preferentially controls the first touch pen close to click the touch position by analyzing the distance between the first touch pen and the touch position and the distance between the second touch pen and the touch position, so that the detection efficiency is improved.

Specifically, the control device is used for controlling the first touch pen and the second touch pen to move to touch positions on an XY axis and a Z axis, and clicking the touch positions. When the touch screen is a curved touch screen, the control device is used for controlling the adjustment of the angles of the first touch pen and the second touch pen and clicking the touch position.

In another possible implementation, after the first stylus and the second stylus click the touch positions, the touch screen displays target image information, the image acquisition device acquires the target image information displayed on the touch screen, and the control device acquires the target image information, performs judgment analysis on the target image information and the test task, and generates a judgment result. The scheme is to judge whether the touch screen is normal or not, and when the target image information is consistent with the test image information in the test task, a test passing result is generated. And when the target image information is inconsistent with the test image information in the test task, generating a test failure result.

In another embodiment of the present disclosure, on the basis of the above embodiment, an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the method as described in the above embodiment. In some simple touch screen tests, a detection program can be set, so that the control device directly controls the first touch pen and the second touch pen to detect the touch screen.

In another embodiment of the present disclosure, on the basis of the above-mentioned embodiment, a computer-readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the method of detecting as in the above-mentioned embodiment.

The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种开机硬件故障的诊断方法、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!