Touch screen equipment testing method, system and device and storage medium

By designing a system of touch control devices and testing equipment, input target operations into the touch screen of the human-computer interactive interface of the automobile and verify the response results, the problem of manual testing is solved, and efficient and accurate touch screen is achieved test.

CN119046067APending Publication Date: 2024-11-29CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411102151.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In the prior art, manual testing of the touch screen of the automotive human-computer interactive interface is time-consuming, cost-effective and low-efficiency, making it difficult to ensure the accuracy and efficiency of the test.

Method used

设计一种触屏设备的测试方法和系统,通过触控装置向屏幕输入目标操作,生成触控结果,并通过测试设备获取和校验这些结果,确定测试信息,指示结果是否正常,响应时长是否符合阈值。

Benefits of technology

Accurate and reliable testing of touch screens is achieved, and the stability and response time of touch screens can be quickly and economically evaluated, improving the efficiency and accuracy of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119046067A_ABST
    Figure CN119046067A_ABST
Patent Text Reader

Abstract

The invention relates to a test method, system and device of touch screen equipment and a storage medium, and relates to the technical field of automobiles. The technical problems of long time consumption, high cost and relatively low efficiency of manual testing in related technologies are at least solved. The method is applied to the test system, the test system comprises a touch screen device, a touch control device and a test device, and the touch screen device comprises a screen; the method comprises the following steps: the test equipment sends a touch instruction to the touch device; in response to the touch instruction, the touch device inputs a target operation to the screen; the touch screen device generates a touch result in response to the target operation; the test equipment obtains the touch result; the test equipment verifies the touch result and determines test information, and the test information is used for indicating whether the touch result is normal or not.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile technology, and in particular to the field of testing technology of automobile human-machine interaction interface touch screens, and specifically to a testing method, system, device and storage medium for a touch screen device. Background Art

[0002] In the human-machine interaction of automobiles, whether the human-machine interface (HMI) touch screen is stable has an important impact on the quality of the user's human-machine interaction experience.

[0003] Currently, the stability test of the touch screen of the human-computer interaction interface can be completed by manual testing. However, manual testing has the problems of long time consumption, high cost and low efficiency. Therefore, a reliable testing method is needed to test the touch screen of the human-computer interaction interface. Summary of the invention

[0004] According to the first aspect provided by the present application, the present application provides a test method, system, device and storage medium for a touch screen device, so as to at least solve the technical problems in the related art that manual testing is time-consuming, costly and inefficient. The technical solution of the present application is applied to a test system, which includes: a touch screen device, a touch control device and a test device, and the touch screen device includes a screen; the method includes: the test device sends a touch control instruction to the touch control device; in response to the touch control instruction, the touch control device inputs a target operation to the screen; the touch screen device generates a touch control result in response to the target operation; the test device obtains the touch control result; the test device verifies the touch control result and determines the test information, and the test information is used to indicate whether the touch control result is normal.

[0005] In a possible implementation, the test device obtains the touch result, including: the test device collects the touch result through a camera; or the test device receives the touch result sent by the touch screen device.

[0006] In one possible implementation, the test device verifies the touch result and determines test information, including: if the touch result is the same as a preset result corresponding to the touch instruction, the test device determines that the test information is first information, and the first information is used to indicate that the touch result is normal; or, if the touch result is different from the preset result corresponding to the touch instruction, the test device determines that the test information is second information, and the second information is used to indicate that the touch result is abnormal.

[0007] In a possible implementation, if the touch result is the same as the preset result corresponding to the touch instruction, the test device determines that the test information is the first information, including: if the touch result is the same as the preset result corresponding to the touch instruction, the test device obtains the response time corresponding to the touch result; if the response time is less than the time threshold, the test device determines that the test information is the third information, and the third information is used to indicate that the response time of the touch result is normal.

[0008] In a possible implementation, the method further includes: if the response time is less than the time threshold, the test device determines that the test information is fourth information, and the fourth information is used to indicate that the response time of the touch result is abnormal.

[0009] In a possible implementation, the touch device includes: a connecting rod stabilizing device, two cross bars, a longitudinal bar and a touch module; wherein one end of the connecting rod stabilizing device is connected to a connection point between the cross bar and the longitudinal bar, and the other end of the connecting rod stabilizing device is connected to an adsorption plate; one of the two cross bars is located on the upper side of the touch device, and the other is located on the lower side of the touch device, a rack is installed on the upper cross bar, a slide rail is installed on the lower cross bar, and a baffle is installed on the upper cross bar; the longitudinal bar is connected to the upper cross bar through a gear, and is connected to the lower cross bar through a pulley, a distance sensor is installed on the upper side of the longitudinal bar for detecting the lateral distance between the touch module and the baffle, and the area of ​​the longitudinal bar between the gear and the pulley is a screw structure; the touch module is connected to the longitudinal bar through the screw structure, and the touch module can move on the screw structure; the touch module includes a capacitive touch pen head for inputting target operations to the screen.

[0010] In a possible implementation, the touch instruction includes position information, and the position information is used to indicate the position at which the target operation is input on the screen. In response to the touch instruction, the touch device inputs the target operation to the screen, including: the touch device controls the touch module to move to the position corresponding to the target operation based on the position information; and the touch module controls the capacitive stylus pen head to input the target operation to the screen.

[0011] According to a second aspect provided by the present application, a testing system for a touch screen device is provided, comprising a touch screen device, a touch control device and a testing device, wherein the touch screen device comprises a screen; the testing device is used to send a touch control instruction to the touch control device; the touch control device is used to input a target operation to the screen in response to the touch control instruction; the touch screen device is used to generate a touch control result in response to the target operation; the testing device is used to obtain the touch control result; the testing device is used to verify the touch control result and determine test information, wherein the test information is used to indicate whether the touch control result is normal.

[0012] In a possible implementation, the test device is used to collect the touch result through a camera; or, the test device is used to receive the touch result sent by the touch screen device.

[0013] In one possible implementation, the test device is used to determine that the test information is first information if the touch result is the same as a preset result corresponding to the touch instruction, and the first information is used to indicate that the touch result is normal; or, the test device is used to determine that the test information is second information if the touch result is different from the preset result corresponding to the touch instruction, and the second information is used to indicate that the touch result is abnormal.

[0014] In one possible implementation, the testing device is used to obtain the response time corresponding to the touch result if the touch result is the same as the preset result corresponding to the touch instruction; the testing device is used to determine that the test information is third information if the response time is less than a time threshold, and the third information is used to indicate that the response time of the touch result is normal.

[0015] In a possible implementation, the testing device is used to determine that the test information is fourth information if the response time is less than the time threshold, and the fourth information is used to indicate that the response time of the touch result is abnormal.

[0016] In a possible implementation, the touch device includes: a connecting rod stabilizing device, two cross bars, a longitudinal bar and a touch module; wherein one end of the connecting rod stabilizing device is connected to a connection point between the cross bar and the longitudinal bar, and the other end of the connecting rod stabilizing device is connected to an adsorption plate; one of the two cross bars is located on the upper side of the touch device, and the other is located on the lower side of the touch device, a rack is installed on the upper cross bar, a slide rail is installed on the lower cross bar, and a baffle is installed on the upper cross bar; the longitudinal bar is connected to the upper cross bar through a gear, and is connected to the lower cross bar through a pulley, a distance sensor is installed on the upper side of the longitudinal bar for detecting the lateral distance between the touch module and the baffle, and the area of ​​the longitudinal bar between the gear and the pulley is a screw structure; the touch module is connected to the longitudinal bar through the screw structure, and the touch module can move on the screw structure; the touch module includes a capacitive touch pen head for inputting target operations to the screen.

[0017] In a possible implementation, the touch instruction includes position information, and the position information is used to indicate the position at which the target operation is input on the screen; the touch device is used to control the touch module to move to the position corresponding to the target operation based on the position information; and the touch module is used to control the capacitive stylus pen head to input the target operation to the screen.

[0018] According to the third aspect provided by the present application, another method for testing a touch screen device is provided, which is applied to the test device, and the method includes: sending a touch command to a touch device; obtaining a touch result of the touch screen device in response to the touch command; verifying the touch result to determine test information, and the test information is used to indicate whether the touch result is normal.

[0019] According to the fourth aspect provided by the present application, another test transposition of a touch screen device is provided, which is applied to a test device and includes a sending module, an acquisition module and a determination module; the sending module is used to send a touch instruction to a touch device; the acquisition module is used to obtain a touch result of the touch screen device in response to the touch instruction; the determination module is used to verify the touch result and determine test information, wherein the test information is used to indicate whether the touch result is normal.

[0020] According to the fifth aspect provided by the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method of the third aspect mentioned above.

[0021] According to a sixth aspect provided by the present application, a computer program product is provided, the computer program product comprising computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method of the third aspect mentioned above.

[0022] Therefore, the above technical features of the present application have the following beneficial effects:

[0023] (1) The touch device can be used to simulate the control operation of the touch screen device by the person in the car; the touch screen device responds to the target operation and generates a touch result; the test equipment obtains the touch result and verifies the touch result to determine the test information, so as to accurately and reliably complete the test of the touch screen device.

[0024] (2) Through the position information in the touch command, the touch device can accurately move the touch module to the position corresponding to the target operation, and reliably input the target operation to the screen through the capacitive touch pen tip, reliably simulating the process of the occupant inputting the control operation to the screen.

[0025] (3) The test device can accurately obtain the touch results through the camera or screenshot operation, ensuring the reliability and accuracy of the test.

[0026] (4) The third information or the fourth information can be used to complete the test of the response time of the touch screen device to generate a touch result, thereby ensuring the test of the response time of the touch screen device and ensuring the timeliness of the user's experience of the touch screen device.

[0027] (5) Testing equipment, by sending touch commands, obtaining touch results of the touch screen device, and verifying the touch results, to reliably complete the test of the touch screen device.

[0028] It should be noted that the technical effects brought about by any implementation method in the second to sixth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.

[0029] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0031] Figure 1 is a schematic diagram of the architecture of a test system for a touch screen device according to an exemplary embodiment;

[0032] Figure 2 is a structural schematic diagram of a testing device according to an exemplary embodiment;

[0033] Figure 3 is a schematic structural diagram of a touch control device according to an exemplary embodiment;

[0034] Figure 4 is a top view showing a meshing of a rack 3012 of a first crossbar 301 and a gear 3031 of a longitudinal bar 303 according to an exemplary embodiment;

[0035] Figure 5 is a front view showing a meshing of a rack 3012 of a first crossbar 301 and a gear 3031 of a longitudinal bar 303 according to an exemplary embodiment;

[0036] Figure 6 is a top view showing the cooperation between the slide rail 3021 of the first crossbar 301 and the pulley 3032 of the longitudinal bar 303 according to an exemplary embodiment;

[0037] Figure 7 is a front view showing the cooperation between the slide rail 3021 of the first crossbar 301 and the pulley 3032 of the longitudinal bar 303 according to an exemplary embodiment;

[0038] Figure 8 is a schematic structural diagram of a longitudinal rod 303 according to an exemplary embodiment;

[0039] Fig. 9is a flow chart of a method for testing a touch screen device according to an exemplary embodiment;

[0040] Fig.10 is a flow chart of another method for testing a touch screen device according to an exemplary embodiment;

[0041] Fig.11 is a flow chart of another method for testing a touch screen device according to an exemplary embodiment;

[0042] Fig.12 is a schematic structural diagram of a testing device for a touch screen device according to an exemplary embodiment;

[0043] Fig.13 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0044] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0046] During the human-computer interaction process in a car, the stability of the touch screen of the human-computer interaction interface has an important impact on the user's human-computer interaction experience, so the touch screen of the human-computer interaction interface needs to be tested.

[0047] At present, the stability test of the touch screen of the human-computer interaction interface can be completed through manual testing. Generally, two testers are required, one tester conducts human-computer interaction tests, and the other tester records the test video, continuously observes the stability of the vehicle computer, and connects to external devices to capture the vehicle computer log in time.

[0048] However, this manual testing method requires human resources and requires two testers to work well together. The recorded video resources will not only occupy the tester's mobile phone memory, but also require timely cleaning of confidential files. In addition, manual testing is easily affected by external interference, some of which is caused by accidental factors, and the detection efficiency is difficult to guarantee. In the case of large changes in light or during manual testing, certain defects will cause visual fatigue and lead to misjudgment. In addition, manual testing also has the problems of long time consumption, high cost and low efficiency. Therefore, a reliable testing method is needed to test the touch screen of the human-computer interaction interface.

[0049] In order to solve the above problems, the present application provides a test method for a touch screen device, which is applied to a test system, and the test system includes: a touch screen device, a touch control device and a test device, and the touch screen device includes a screen; the method includes: the test device sends a touch control instruction to the touch control device; in response to the touch control instruction, the touch control device inputs a target operation to the screen; the touch screen device generates a touch control result in response to the target operation; the test device obtains the touch control result; the test device verifies the touch control result and determines the test information, and the test information is used to indicate whether the touch control result is normal. In this way, the input of the target operation can be completed through the touch control device, and by obtaining the touch control result, the response result of the touch control device to the target operation can be accurately and reliably determined based on the touch control result.

[0050] In some embodiments, Figure 1 As shown, the test method of the touch screen device provided in the embodiment of the present application is applied to a test system of the touch screen device, including a touch screen device 101, a touch control device 102 and a test device 103;

[0051] The touch screen device 101 is used to generate a touch result in response to a target operation corresponding to a touch instruction, and the touch instruction is an instruction sent by the test device 103 to the touch device 102;

[0052] The touch control device 102 is used to input a target operation to the screen of the touch screen device 101 in response to a touch control instruction;

[0053] The testing device 103 is used to verify the touch result and determine test information, where the test information is used to indicate whether the touch result is normal.

[0054] Optionally, the test system may further include a positioning device for fixing (or positioning and clamping) the touch screen device.

[0055] Optionally, the positioning device may be combined with the touch control device 102 .

[0056] In some embodiments, Figure 2As shown, the test device in the test system for the touch screen device provided in the embodiment of the present application includes a data input module 201, an automatic positioning module 202, a control execution module 203, a data acquisition and detection module 204, and a data analysis and processing module 205.

[0057] The data input module 201 is used to generate a numerical control script including expected coordinate values. The expected coordinate values ​​are coordinate values ​​corresponding to the instruction to be tested.

[0058] Exemplarily, the data input module 201 can input the expected coordinate values ​​into the numerical control script through a keyboard or a mouse external device.

[0059] The automatic positioning module 202 is used to obtain the working coordinate system of the human-machine interaction interface touch screen of the vehicle computer; or to locate the current touch point on the human-machine interaction interface touch screen; or to transmit data such as coordinate values ​​to the control execution module 203 based on the instruction to be tested.

[0060] In some embodiments, the human-computer interaction interface touch screen is also called the vehicle central control screen.

[0061] The control execution module 203 is used to control the touch control module in the automatic touch control device to move to the expected coordinate value and execute the touch control operation corresponding to the instruction to be tested.

[0062] Exemplarily, the touch module includes a retractable capacitive stylus tip, and the capacitive stylus tip is used to perform touch operations.

[0063] Optionally, the touch operation includes a click operation and a slide operation.

[0064] The data acquisition and detection module 204 is used for image acquisition and vehicle computer index detection.

[0065] Exemplarily, the data collection and detection module 204 can complete the video collection and recording of the human-computer interaction interface touch screen based on the codec component MediaCodec, and collect each frame of the video corresponding to the human-computer interaction interface touch screen as the corresponding image to be analyzed.

[0066] Optionally, the data collection and detection module 204 may receive and analyze the vehicle-machine index detection data to obtain monitoring data corresponding to the vehicle-machine index detection data, and establish a data monitoring point table corresponding to the monitoring data.

[0067] The data analysis and processing module 205 is used to analyze and process the data collected by the data collection and detection module 204 .

[0068] For example, the data analysis and processing module 205 analyzes and processes the collected data to obtain the response time of the touch screen of the human-computer interaction interface and the delay time corresponding to the display screen of the touch screen of the human-computer interaction interface after the video stream signal is refreshed. In this way, the stability of human-computer interaction in the test vehicle loading environment can be efficiently evaluated.

[0069] In some embodiments, the above-mentioned data input module 201, automatic positioning module 202, control execution module 203, data acquisition and detection module 204, and data analysis and processing module 205 are collectively referred to as a control software system.

[0070] In addition, if Figure 3 As shown, the present application embodiment provides a structural schematic diagram of a touch device, including a first crossbar 301, a second crossbar 302, a longitudinal bar 303, a touch module 304 and a connecting rod stabilizing device 305; wherein the first crossbar 301 is located above the touch device, and a blocking piece 3011 and a rack 3012 are installed on the first crossbar 301; the second crossbar 302 is located below the touch device, and a slide rail 3021 is installed on the second crossbar 302; the upper side of the longitudinal bar 303 is connected to the rack 3012 of the first crossbar 301 through a gear 3031, and the lower side of the longitudinal bar 303 is connected to the lower end of the second crossbar 302 through a pulley 3032, and a distance sensor 304 is installed on the upper side of the longitudinal bar 303. The sensor 3033 is used to determine the lateral distance between the touch module 304 and the baffle 3011. The area between the gear 3031 and the pulley 3032 of the longitudinal rod 303 is a screw structure 3034. The touch module 304 is connected to the longitudinal rod 303 through the screw structure 3034, and the touch module 304 can move on the screw structure 3034. The touch module 304 includes a capacitive touch pen head, which is used to input executable operations (such as the target operation corresponding to the above-mentioned touch command) to the screen of the touch screen device. One end of the connecting rod stabilizing device 305 is connected to the first cross bar 301, and the other end of the connecting rod stabilizing device 305 is attached with an adsorption disk.

[0071] Optionally, the first crossbar 301 and the second crossbar 302 may be hollow metal rods.

[0072] Optionally, there are two blocking pieces 3011 , which are respectively located on two sides of the first crossbar 301 .

[0073] It should be understood that the longitudinal rod 303 , the first cross rod 301 and the second cross rod 302 form an I-shaped structure; the longitudinal rod 303 can move laterally between the first cross rod 301 and the second cross rod 302 via the gear 3031 and the pulley 3032 .

[0074] Optionally, the longitudinal rod 303 can be extended and contracted on both sides of the shaft.

[0075] Optionally, the capacitive stylus tip is retractable on the touch module 304 .

[0076] Optionally, the connecting rod stabilizing device 305 may include a first connecting rod 3051 and a second connecting rod 3052, one end of the first connecting rod 3051 is connected to the first cross bar 301, and the other end of the first connecting rod 3051 is connected to one end of the second connecting rod 3052; the other end of the second connecting rod 3052 is connected to the adsorption disk; the first connecting rod 3051 and the second connecting rod 3052 are connected by a loosening device 3053, and the loosening device 3053 can adjust the angle between the first connecting rod 3051 and the second connecting rod 3052.

[0077] Optionally, the adsorption disk may be an adsorption disk made of silica gel.

[0078] For example, Figure 4 , which is a top view of the meshing of a rack 3012 of a first crossbar 301 and a gear 3031 of a longitudinal bar 303 provided in an embodiment of the present application, including the longitudinal bar 303 , the gear 3031 of the longitudinal bar 303 , and the rack 3012 of the first crossbar 301 .

[0079] For example, Figure 5 , which is a front view of the meshing of a rack 3012 of a first crossbar 301 and a gear 3031 of a longitudinal bar 303 provided in an embodiment of the present application, including the longitudinal bar 303 , the gear 3031 of the longitudinal bar 303 , and the rack 3012 of the first crossbar 301 .

[0080] For example, Figure 6 As shown, it is a top view of the cooperation between the slide rail 3021 of the first cross bar 301 and the pulley 3032 of the longitudinal bar 303 provided in an embodiment of the present application, including the longitudinal bar 303, the pulley 3032 of the longitudinal bar 303, and the slide rail 3021 of the first cross bar 301.

[0081] For example, Figure 7 As shown, it is a front view of the cooperation of the slide rail 3021 of the first cross bar 301 and the pulley 3032 of the longitudinal bar 303 provided in an embodiment of the present application, including the longitudinal bar 303, the pulley 3032 of the longitudinal bar 303, and the slide rail 3021 of the first cross bar 301.

[0082] For example, Figure 8 , which is a schematic diagram of the structure of a longitudinal rod 303 provided in an embodiment of the present application, includes the longitudinal rod 303, a screw rod structure 3034 of the longitudinal rod 303, a touch module 304, and a position adjustment module 3035. The position adjustment module 3035 is used to adjust the position of the touch module 304.

[0083] For ease of understanding, the testing method provided in this application is specifically introduced below with reference to the accompanying drawings.

[0084] Fig. 9 is a flow chart of a method for testing a touch screen device according to an exemplary embodiment. Fig. 9 As shown, the test method includes S901-S905:

[0085] S901: The testing device sends a touch control instruction to the touch control device.

[0086] In a possible implementation, the testing device may send the touch control instruction to the touch control device via a wireless or wired connection.

[0087] S902: In response to the touch control instruction, the touch control device inputs a target operation to the screen.

[0088] Optionally, the target operation includes at least one of the following: a click operation, a long press operation, a sliding operation, etc.

[0089] In some embodiments, the touch instruction includes position information, and the position information is used to indicate the position of inputting the target operation on the screen.

[0090] In a possible implementation, the touch control device controls the touch control module to move to a position corresponding to the target operation based on the position information, and the touch control module controls the capacitive touch pen head to input the target operation to the screen.

[0091] It should be understood that through the position information in the touch command, the touch device can accurately move the touch module to the position corresponding to the target operation, and reliably input the target operation into the screen through the capacitive touch pen head, reliably simulating the process of people in the car inputting control operations into the screen.

[0092] In a possible implementation, the touch instruction includes multiple position information and a sequence corresponding to the multiple position information, and the target operation may include multiple operations to be executed and a sequence corresponding to the multiple operations to be executed, wherein one position information corresponds to one operation to be executed.

[0093] Exemplarily, the touch control instruction includes first position information and second position information, the first position information is executed before the second position information, the target operation includes a first operation to be executed and a second operation to be executed, the first operation to be executed is executed before the second generation execution operation, the first operation to be executed corresponds to the first position information, and the second operation to be executed corresponds to the second position information. The touch control device controls the touch control module to move to the position corresponding to the first operation to be executed based on the first position information, and controls the capacitive stylus pen to execute the first operation to be executed; then, the touch control device controls the touch control module to move to the position corresponding to the second generation execution operation based on the second position information, and controls the capacitive stylus pen to execute the second operation to be executed.

[0094] It should be understood that by using touch instructions including multiple position information and target operations including multiple operations to be performed, a more complex testing process can be completed, which can more reliably and accurately simulate the user's use of the touch screen device and obtain more reliable touch screen device test results.

[0095] S903: The touch screen device generates a touch result in response to the target operation.

[0096] In a possible implementation, the touch screen device is deployed with an in-vehicle application, and the target operation is used to trigger an application function of the in-vehicle application, thereby generating a touch result.

[0097] S904: The testing device obtains a touch result.

[0098] In a possible implementation, the testing device collects touch results through a camera.

[0099] In a possible implementation, the touch screen device generates a screenshot image including a touch result through a frequency capture operation, and sends the screenshot image to the test device. The test device receives the screenshot image sent by the touch screen device, thereby obtaining the touch result.

[0100] It should be understood that the camera or screenshot operation can accurately enable the test device to obtain the touch results, thereby ensuring the reliability and accuracy of the test.

[0101] S905: The testing device verifies the touch result and determines the test information.

[0102] The test information is used to indicate whether the touch result is normal.

[0103] In a possible implementation, a normal touch result corresponding to a touch instruction is stored in the test device. The test device compares the touch result with the normal touch result to complete the verification of the touch result and determine the test information.

[0104] In a possible implementation, if the touch result is the same as a preset result corresponding to the touch instruction, the testing device determines that the test information is the first information, and the first information is used to indicate that the touch result is normal.

[0105] In a possible implementation, if the touch result is different from a preset result corresponding to the touch instruction, the test device determines that the test information is second information, and the second information is used to indicate that the touch result is abnormal.

[0106] Exemplarily, the abnormal touch result includes at least one of the following: a black screen, a distorted screen, a frozen interface, etc.

[0107] In the embodiment of the present application, the touch device can be used to simulate the control operation of the touch screen device by the person in the car; the touch screen device responds to the target operation and generates a touch result; the test device obtains the touch result and verifies the touch result to determine the test information, so as to accurately and reliably complete the test of the touch screen device.

[0108] In some embodiments, the testing device may also generate a test report based on the above test information.

[0109] It should be understood that the test report can enable the tester to take improvement measures corresponding to the test information in a timely manner, thereby completing the test and abnormal adjustment of the touch screen device.

[0110] In some embodiments, if the touch result is the same as the preset result corresponding to the touch instruction, the test device determines that the test information is the first information, including:

[0111] If the touch result is the same as the preset result corresponding to the touch instruction, the test device obtains the response time corresponding to the touch result.

[0112] In a possible implementation, the test device obtains the moment when the camera collects the touch result, and determines the response time corresponding to the touch result based on the moment when the touch result is collected and the moment when the touch device controls the touch module to input the target operation to the screen.

[0113] If the response time is less than the time threshold, the test device determines that the test information is the third information.

[0114] The third information is used to indicate that the response time of the touch result is normal.

[0115] It should be understood that when the response time is less than the time threshold, it means that the touch screen device can respond to the touch instruction quickly and accurately. At this time, the test device determines that the test information is the third information.

[0116] In a possible implementation, if the response time is less than the time threshold, the testing device determines that the test information is fourth information, and the fourth information is used to indicate that the response time of the touch result is abnormal.

[0117] It should be understood that if the response time is less than the time threshold, it means that the touch screen device cannot quickly complete the response to the touch command and cannot reliably meet the user's touch screen experience. At this time, the test device determines that the test information is the fourth information.

[0118] It should be understood that the third information or the fourth information can complete the test of the response time of the touch screen device to generate a touch result, thereby ensuring the test of the response time of the touch screen device and ensuring the timeliness of the user's experience of the touch screen device.

[0119] like Fig.10As shown, the embodiment of the present application also provides another method for testing a touch screen device, which is applied to the testing device and includes S1001-S1003:

[0120] S1001. The testing device sends a touch control instruction to the touch control device.

[0121] In a possible implementation, the test device and the touch control device may be connected via a wireless signal, and the test device sends a touch control instruction to the touch control box via the wireless signal.

[0122] Optionally, the test equipment and the touch control device may also be connected via a wire.

[0123] S1002: The testing device obtains a touch result of the touch screen device in response to a touch instruction.

[0124] In a possible implementation, the testing device may collect the touch results of the touch screen device in response to the touch instruction through a camera.

[0125] In a possible implementation, a touch screen device may touch the result.

[0126] S1003: The testing device verifies the touch result and determines the test information.

[0127] The test information is used to indicate whether the touch result is normal.

[0128] In the embodiment of the present application, the testing device reliably completes the test of the touch screen device by sending a touch command, obtaining a touch result of the touch screen device, and verifying the touch result.

[0129] For example, Fig.11As shown, the embodiment of the present application also provides a flow chart of another test method for a touch screen device, and the flow is described in detail below: a test instruction is input into the touch device through an external device (such as a keyboard or a mouse), or a control execution module parses the test instruction (or a test script) and transmits it to the touch device; the touch device moves according to the parsed test instruction to complete the test task; the data acquisition and monitoring module monitors whether the touch screen has any abnormalities in real time during the test; if no abnormalities occur, the data acquisition and monitoring module records the test data generated during the test in real time (such as the response time of the vehicle computer, the delay time of the screen display after the video stream signal is refreshed, etc.), and summarizes the data; the data analysis and processing module analyzes and processes the summarized test data; the analyzed and processed test data is formed into a data chart or a test graph The report is output; the indicator light of the touch device lights up in green, reminding the tester that the test task is completed normally; in the event of an abnormality (such as a black screen, a distorted screen, or a stuck state, etc.), first determine whether the test equipment can communicate normally with the vehicle computer; if normal communication is possible, the data acquisition and monitoring module captures the time point when the abnormal data is generated in real time and pulls relevant logs and other information from the vehicle computer; the data analysis and processing module analyzes, processes and summarizes the abnormal data and writes it into subsequent test reports; data charts or test reports are formed for the data generated under abnormal circumstances and output; in the event of failure to communicate normally, the data acquisition and monitoring module also records the time point when the abnormal data is generated; the indicator light of the touch device lights up in red, reminding the tester that the test task is abnormal (in this way, the tester takes corresponding measures after discovery and terminates the test task in time).

[0130] In a possible implementation, the tester can manually hold the capacitive stylus pen and move it in the coordinate system of the screen to complete the input of the target operation.

[0131] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, the test device or electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in conjunction with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0132] The embodiment of the present application can divide the functional modules of the test device or electronic device according to the above method. For example, the test device or electronic device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0133] Fig.12 FIG. 1 is a schematic diagram of a structure of a testing device for a touch screen device according to an exemplary embodiment. Fig.12 The testing device of the touch screen device includes a sending module 1201, an acquiring module 1202 and a determining module 1203.

[0134] The sending module 1201 is used to send a touch control instruction to the touch control device.

[0135] The acquisition module 1202 is used to acquire the touch result of the touch screen device in response to the touch instruction.

[0136] The determination module 1203 is used to verify the touch result and determine test information, where the test information is used to indicate whether the touch result is normal.

[0137] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0138] Fig.13 FIG. 1 is a schematic diagram showing the structure of an electronic device according to an exemplary embodiment. Fig.13 As shown, the electronic device includes but is not limited to: a processor 1301 and a memory 1302 .

[0139] The memory 1302 is used to store executable instructions of the processor 1301. It can be understood that the processor 1301 is configured to execute instructions to implement the test method in the above embodiment.

[0140] It should be noted that those skilled in the art can understand that Fig.13 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include Fig.13 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.

[0141] The processor 1301 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1302, and calling data stored in the memory 1302, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1301 may include one or more processing units. Optionally, the processor 1301 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1301.

[0142] The memory 1302 may be used to store software programs and various data. The memory 1302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as a determination unit, a processing unit, etc.), etc. In addition, the memory 1302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0143] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1302 including instructions. The instructions can be executed by a processor 1301 of an electronic device to implement the method in the above embodiment.

[0144] In actual implementation, Fig.13 The functions of the sending module 1201, the obtaining module 1202 and the determining module 1203 in the embodiment can be realized by Fig.13 The processor 1301 in the embodiment calls the computer program stored in the memory 1302 to implement. The specific execution process can refer to the description of the method part in the above embodiment, which will not be repeated here.

[0145] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0146] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 1301 of the electronic device to complete the method in the above embodiment.

[0147] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect as the above-mentioned method can be achieved. To avoid repetition, they will not be repeated here.

[0148] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0149] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0150] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0151] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0152] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or CD and other media that can store program code.

[0153] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A testing method for a touch screen device, It is characterized in that Applied to a test system, the test system comprises: a touch screen device, a touch control device and a test device, the touch screen device comprises a screen; the method comprises: The testing device sends a touch control instruction to the touch control device; In response to the touch control instruction, the touch control device inputs a target operation to the screen; The touch screen device generates a touch result in response to the target operation; The testing device obtains the touch result; The testing device verifies the touch result and determines test information, where the test information is used to indicate whether the touch result is normal.

2. The method according to claim 1, It is characterized in that The testing device obtains the touch result, including: The testing device collects the touch result through a camera; or, The testing device receives the touch result sent by the touch screen device.

3. The method according to claim 2, It is characterized in that The testing device verifies the touch result and determines the test information, including: If the touch result is the same as the preset result corresponding to the touch instruction, the test device determines that the test information is first information, and the first information is used to indicate that the touch result is normal; or, If the touch result is different from a preset result corresponding to the touch instruction, the testing device determines that the test information is second information, and the second information is used to indicate that the touch result is abnormal.

4. The method according to claim 3, It is characterized in that If the touch result is the same as the preset result corresponding to the touch instruction, the test device determines that the test information is the first information, including: If the touch result is the same as the preset result corresponding to the touch instruction, the test device acquires the response time corresponding to the touch result; If the response time is less than the time threshold, the testing device determines that the test information is third information, and the third information is used to indicate that the response time of the touch result is normal.

5. The method according to claim 4, It is characterized in that The method further comprises: If the response time is less than the time threshold, the testing device determines that the test information is fourth information, and the fourth information is used to indicate that the response time of the touch result is abnormal.

6. The method according to any one of claims 1 to 5, It is characterized in that The touch control device comprises: a connecting rod stabilizing device, two cross bars, a longitudinal bar and a touch control module; Wherein, one end of the connecting rod stabilizer is connected to a connection point between the cross bar and the longitudinal bar, and the other end of the connecting rod stabilizer is connected to a suction plate; One of the two cross bars is located on the upper side of the touch device, and the other is located on the lower side of the touch device, a rack is installed on the upper cross bar, a slide rail is installed on the lower cross bar, and a baffle is installed on the upper cross bar; The longitudinal rod is connected to the upper crossbar through a gear, and is connected to the lower crossbar through a pulley. A distance sensor is installed on the upper side of the longitudinal rod to detect the lateral distance between the touch module and the baffle. The longitudinal rod is a screw rod structure in the area between the gear and the pulley. The touch module is connected to the longitudinal rod via the screw structure, and the touch module can move on the screw structure; the touch module includes a capacitive touch pen head for inputting target operations to the screen.

7. The method according to claim 6, It is characterized in that The touch control instruction includes position information, and the position information is used to indicate the position where the target operation is input on the screen. In response to the touch control instruction, the touch control device inputs the target operation to the screen, including: The touch control device controls the touch control module to move to a position corresponding to the target operation based on the position information; The touch module controls the capacitive touch pen head to input a target operation to the screen.

8. A method for testing a touch screen device, It is characterized in that Applied to testing equipment, the method comprises: Sending a touch control command to the touch control device; Acquire a touch result of the touch screen device in response to the touch instruction; The touch result is verified to determine test information, where the test information is used to indicate whether the touch result is normal.

9. A testing system for a touch screen device, It is characterized in that The test system comprises: a touch screen device, a touch control device and a test device, wherein the touch screen device comprises a screen; The testing device is used to send a touch control instruction to the touch control device; The touch control device is used to input a target operation to the screen in response to the touch control instruction; The touch screen device is used to generate a touch result in response to the target operation; The testing device is further used to obtain the touch result; The testing device is further used to verify the touch result and determine test information, where the test information is used to indicate whether the touch result is normal.

10. A testing device for a touch screen device, It is characterized in that Applied to test equipment, including a sending module, an acquiring module and a determining module; The sending module is used to send a touch control instruction to the touch control device; The acquisition module is used to acquire the touch result of the touch screen device in response to the touch instruction; The determination module is used to verify the touch result and determine test information, where the test information is used to indicate whether the touch result is normal.

11. A computer-readable storage medium, It is characterized in that When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is capable of performing the method as claimed in claim 8.