Method and device for testing touch screen and testing platform

By connecting the touch screen to test and the touch screen simulator to be tested using mobile hotspots and shared memory on the test platform, the problem of manually connecting pins in the existing technology is solved, and the degree of automation and development and testing efficiency are improved.

CN120123155APending Publication Date: 2025-06-10QINDAO HAIER REFRIGERATOR CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311676368.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-07
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

In the touch screen testing, the prior art still requires manual connection of the test board and the pins of the touch screen, which are cumbersome to operate, affecting development and testing efficiency, and insufficient automation.

Method used

By connecting the touch screen to test and the touch screen simulator to be tested using mobile hotspots and shared memory on the test platform, automated testing and development and testing are achieved, reducing manual intervention.

Benefits of technology

It improves the automation of touch screen testing, simplifies the workflow of development testers, and significantly improves the efficiency of touch screen development tests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120123155A_ABST
    Figure CN120123155A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of product testing, and discloses a method for testing a touch screen, which comprises the following steps: when a test platform runs, determining a use scene; when the use scene is a function test, connecting the touch screen to be tested through the mobile hotspot to perform an automatic test on the function; and when the use scene is function development, the touch screen simulator is connected through the shared memory to develop and test functions. In the process of testing the touch screen, the touch screen and the simulator are connected through the mobile hotspot and the shared memory, automatic testing or testing while development is achieved, the work of connecting testing equipment and pins of the touch screen by development testing personnel is not needed, the automation degree of touch screen testing is enhanced, and the testing efficiency is improved. Therefore, the efficiency of developing and testing the touch screen is improved. The invention further discloses a device for testing the touch screen and a testing platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of product testing, for example, to a method and device for testing a touch screen, and a testing platform. Background Art

[0002] Currently, in current touch screen factories, for the testing of touch screen functions, after connecting the product to the fixture, a mouse driver program is manually clicked for testing. This traditional operation method is not only inefficient but also involves human factors. When personnel are working, product screening may be missed due to emotions or night shift fatigue during production. Defective products enter the next production process along the assembly line and even flow into the client, resulting in a reduction in product quality and low production efficiency.

[0003] Related technologies disclose a semi-automatic touch screen testing device, including a testing platform and a testing host. The testing host is connected to a display. The testing platform is provided with a testing board and a driving mechanism for driving the testing board to move up and down. The testing platform is provided with a placement position for placing the touch screen. The lower end surface of the testing board is provided with connection pins corresponding to the pins on the touch screen. An induction component for controlling the operation of the testing software is provided between the testing platform and the testing board. It can reduce the labor intensity of the staff, improve the testing efficiency, and avoid missed testing of products.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related technologies:

[0005] Using the related technologies to control the operation of the testing software by setting an induction component between the testing platform and the testing board improves the automation degree of touch screen testing to a certain extent. However, in the actual application process, the related technologies still require manual connection of the connection pins of the testing board and the pin of the touch screen to test the touch screen, and the operation is cumbersome. Especially during the development process, it is necessary to connect the pins of the touch screen while developing, which seriously affects the development and testing efficiency and the automation degree is insufficient.

[0006] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0007] To have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. The summary is not a general review, nor is it intended to identify key / important constituent elements or delineate the protection scope of these embodiments, but rather serves as a preface to the following detailed description.

[0008] Embodiments of the present disclosure provide a method, an apparatus, and a test platform for testing a touch screen, which simplify the work of developers and testers in connecting the touch screen during the process of testing the touch screen, enhance the automation degree of touch screen testing, and thus improve the efficiency of touch screen development and testing.

[0009] In some embodiments, the method includes: when the test platform is running, determining the usage scenario; when the usage scenario is functional testing, automatically testing the functions by connecting to the touch screen to be tested through a mobile hotspot; when the usage scenario is functional development, developing and testing the functions simultaneously by connecting to a touch screen simulator through shared memory.

[0010] Optionally, automatically testing the functions by connecting to the touch screen to be tested through a mobile hotspot includes: connecting to the touch screen to be tested through a mobile hotspot, and determining the device model of the device to which the touch screen to be tested belongs; determining whether to perform automatic testing; when it is determined to perform automatic testing, sequentially sending the functions to the touch screen to be tested according to the device model for testing.

[0011] Optionally, sequentially sending the functions to the touch screen to be tested according to the device model for testing includes: determining the target functions to be tested for the touch screen to be tested according to the device model and user requirements; sequentially sending the target functions to the touch screen to be tested for testing.

[0012] Optionally, determining the target functions to be tested for the touch screen to be tested according to the device model and user requirements includes: displaying all the functions corresponding to the device model for the user to select according to the device model; determining the functions selected by the user as the target functions.

[0013] Optionally, after sequentially sending the functions to the touch screen to be tested according to the device model for testing, it further includes: receiving feedback information from the touch screen to be tested; when the feedback information is an error response or there is no response, determining that the function test corresponding to the feedback information fails; when the feedback information is a correct response, determining that the function test corresponding to the feedback information passes.

[0014] Optionally, developing and testing the functions simultaneously by connecting to a touch screen simulator through shared memory includes: determining the functions to be developed according to the device model of the device to which the touch screen to be tested belongs and the development progress; connecting to the touch screen simulator through shared memory; when the functions to be developed are developed, testing the functions through the touch screen simulator.

[0015] Optionally, determining the functions to be developed according to the device model of the device to which the touch screen to be tested belongs and the development progress includes: determining all the functions corresponding to the device model according to the device model; determining the functions that have been developed according to the development progress; determining the functions that are not developed among all the functions as the functions to be developed.

[0016] Optionally, the touch screen simulator test function includes: sending the developed function to the touch screen simulator for testing; receiving feedback information from the touch screen simulator; when the feedback information is a correct response, determining that the function to be developed corresponding to the feedback information passes the test.

[0017] In some embodiments, the device includes: a processor and a memory storing program instructions, and the processor is configured to execute the above method for testing the touch screen when executing the above program instructions.

[0018] In some embodiments, the test platform includes:

[0019] A test platform body;

[0020] The above device for testing the touch screen is installed on the above test platform body.

[0021] In some embodiments, the computer-readable storage medium stores program instructions, and the above program instructions, when running, execute the above method for testing the touch screen.

[0022] The method and device for testing the touch screen, the test platform, and the computer-readable storage medium provided by the embodiments of the present disclosure can achieve the following technical effects:

[0023] When the test platform is running, determine the usage scenario. When the usage scenario is functional testing, the function is automatically tested by connecting to the touch screen to be tested through a mobile hotspot. When the usage scenario is function development, the function is tested while being developed by connecting to the touch screen simulator through shared memory. During the process of testing the touch screen, the touch screen and the simulator are connected through the mobile hotspot and shared memory respectively to achieve automated testing or testing while developing, eliminating the need for development testers to connect the test device to the pins of the touch screen, enhancing the automation degree of touch screen testing, and thus improving the efficiency of touch screen development and testing.

[0024] The above general description and the following description are only exemplary and explanatory, and are not used to limit this application. Description of the Drawings

[0025] One or more embodiments are exemplarily illustrated by corresponding drawings. These exemplary illustrations and the drawings do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation, and among them:

[0026] Figure 1 is a schematic diagram of a method for testing a touch screen provided by an embodiment of the present disclosure;

[0027] Figure 2It is a schematic diagram of another method for testing a touch screen provided by an embodiment of the present disclosure;

[0028] Figure 3 It is a schematic diagram of another method for testing a touch screen provided by an embodiment of the present disclosure;

[0029] Figure 4 It is a schematic diagram of another method for testing a touch screen provided by an embodiment of the present disclosure;

[0030] Figure 5 It is a schematic diagram of a device for testing a touch screen provided by an embodiment of the present disclosure;

[0031] Figure 6 It is a schematic diagram of a test platform provided by an embodiment of the present disclosure. Detailed implementation manners

[0032] In order to be able to understand the features and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are only for reference and illustration purposes and are not used to limit the embodiments of the present disclosure. In the following technical description, for the sake of explanation, numerous details are provided to give a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other instances, well-known structures and devices may be shown in a simplified manner.

[0033] In the description of the embodiments of the present disclosure, the terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that such data may be interchanged when appropriate, so as to implement the embodiments of the present disclosure described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion.

[0034] Unless otherwise specified, the term "plurality" means two or more.

[0035] In the embodiments of the present disclosure, the character " / " indicates that the objects before and after are in an "or" relationship. For example, A / B means: A or B.

[0036] The term "and / or" is a description of the associated relationship of an object, indicating that there can be three relationships. For example, A and / or B means: A or B, or, A and B these three relationships.

[0037] The term "corresponding" may refer to an associated relationship or a binding relationship. A corresponding to B means that there is an associated relationship or a binding relationship between A and B.

[0038] At present, in current touch screen factories, for the testing of touch screen functions, after connecting the product to the fixture, the mouse driver is manually clicked to conduct the test. This traditional operation method is not only inefficient but also involves human factors. When operating, due to the influence of emotions or night shift fatigue production, products may be missed during screening, and defective products will enter the next production process along the assembly line and even flow into the client, resulting in a decrease in product quality and low production efficiency. Therefore, automated solutions are increasingly favored by many manufacturers. Related technologies have disclosed a semi-automatic touch screen testing device, including a testing platform and a testing host. The testing host is connected to a display. The testing platform is provided with a testing board and a driving mechanism for driving the testing board to move up and down. The testing platform is provided with a placement position for placing the touch screen. The lower end surface of the testing board is provided with connection pins corresponding to the pins on the touch screen. An induction component for controlling the operation of the testing software is provided between the testing platform and the testing board; it can reduce the labor intensity of workers, improve the testing efficiency, and avoid missed testing of products. By using related technologies to set an induction component between the testing platform and the testing board to control the operation of the testing software, the automation degree of touch screen testing is improved to a certain extent. However, in the actual application process, related technologies still require manual connection of the connection pins of the testing board and the pins of the touch screen to test the touch screen, and the operation is cumbersome. Especially during the development process, it is necessary to connect the pins of the touch screen while developing, which seriously affects the development and testing efficiency, and the automation degree is insufficient.

[0039] An embodiment of the present disclosure discloses a testing platform, including a touch screen simulator for simulating the testing of a touch screen, a communication module for wirelessly connecting to the touch screen, and a processor. The processor is electrically connected to the above-mentioned various electrical components and is used to control the above-mentioned various electrical components to perform actions.

[0040] Based on the structure of the above-mentioned testing platform, as Figure 1 shown, an embodiment of the present disclosure provides a method for testing a touch screen, including:

[0041] S01, when the testing platform is running, the processor determines the usage scenario.

[0042] S02, when the usage scenario is functional testing, the processor connects to the touch screen to be tested through a mobile hotspot to perform automated testing of the function.

[0043] S03, when the usage scenario is functional development, the processor connects to the touch screen simulator through shared memory to develop and test the function simultaneously.

[0044] Among them, the processor can determine the usage scenario by showing the user whether to connect to the touch screen simulator. If the user selects the option to connect to the touch screen simulator, the processor can determine that the usage scenario is function development. If the user selects the option not to connect to the touch screen simulator, the processor can determine that the usage scenario is non-functional development, that is, at this time, the user needs to test the function. Functional testing is divided into automated testing and manual testing. To clarify the user's intention, it is also necessary to add a link to determine whether the user needs automated testing or manual testing.

[0045] Using the method for testing a touch screen provided by the embodiment of the present disclosure, when the test platform is running, the usage scenario is determined. When the usage scenario is functional testing, the function is automatically tested by connecting the touch screen to be tested through a mobile hotspot. When the usage scenario is function development, the function is developed and tested simultaneously by connecting to the touch screen simulator through shared memory. During the process of testing the touch screen, the touch screen and the simulator are connected respectively through the mobile hotspot and shared memory to achieve automated testing or development and testing at the same time, eliminating the need for the development tester to connect the test device to the pins of the touch screen, enhancing the automation of touch screen testing, and thus improving the efficiency of touch screen development and testing.

[0046] Based on the structure of the above test platform, as Figure 2 shown, the embodiment of the present disclosure provides a method for testing a touch screen, including:

[0047] S01, when the test platform is running, the processor determines the usage scenario.

[0048] S21, when the usage scenario is functional testing, the processor connects to the touch screen to be tested through a mobile hotspot and determines the device model of the device to which the touch screen to be tested belongs.

[0049] S22, the processor determines whether to perform automated testing.

[0050] S23, when it is determined to perform automated testing, the processor sequentially sends the functions to the touch screen to be tested according to the device model for testing.

[0051] S03, when the usage scenario is function development, the processor connects to the touch screen simulator through shared memory to develop and test the function simultaneously.

[0052] Among them, during automated testing, the processor can sequentially send all the functions of the device model to the touch screen to be tested for testing, or can also sequentially send some functions to the touch screen to be tested for testing. When the processor determines to perform manual testing, the tester can manually select the functions to be tested for testing and sequentially send the functions selected by the tester to the touch screen to be tested for testing.

[0053] When using the method for testing a touch screen provided by the embodiments of the present disclosure, when the usage scenario is a function test, it is necessary to connect the touch screen to be tested for function testing. Then, it is necessary to determine whether it is an automated test or a manual test, increasing the selection space for testers, thereby improving the testing experience of testers. Finally, the functions are sequentially sent to the touch screen to be tested according to the device model for testing, so as to improve the accuracy of function testing.

[0054] Based on the structure of the above test platform, as Figure 3 shown, the embodiments of the present disclosure provide a method for testing a touch screen, including:

[0055] S01, when the test platform is running, the processor determines the usage scenario.

[0056] S21, when the usage scenario is a function test, the processor connects to the touch screen to be tested through a mobile hotspot and determines the device model of the device to which the touch screen to be tested belongs.

[0057] S22, the processor determines whether to perform an automated test.

[0058] S31, when it is determined to perform an automated test, the processor determines the target functions that need to be tested for the touch screen to be tested according to the device model and user requirements.

[0059] S32, the processor sequentially sends the target functions to the touch screen to be tested for testing.

[0060] S03, when the usage scenario is function development, the processor connects to a touch screen simulator through shared memory to test the function while developing.

[0061] When using the method for testing a touch screen provided by the embodiments of the present disclosure, the processor can determine the target functions that need to be tested for the touch screen to be tested according to the device model and user requirements, and sequentially send the selected partial functions to the touch screen to be tested for testing. Thus, it is possible to avoid testing functions that do not need to be tested in an automated test, improving the efficiency of function testing.

[0062] Optionally, the processor determines the target functions that need to be tested for the touch screen to be tested according to the device model and user requirements, including: the processor displays all functions corresponding to the device model for the user to select according to the device model; the processor determines the functions selected by the user as the target functions.

[0063] Among them, the processor displays all functions corresponding to the device model for the user to select according to the device model. Specifically, it can query the preset corresponding relationship to determine all functions corresponding to the device model. The preset corresponding relationship can be determined by introducing expert knowledge, determined by developers, or determined by a project plan, etc.

[0064] In this way, since devices of different models may have different functions. For example, the functions of refrigerators of different models may vary. Some models of refrigerators have a handle control function, while some do not; the functions of air conditioners of different models may also be different. Some models of air conditioners have an anti-direct-blow function, while some do not. Therefore, the processor displays all the functions corresponding to the device model for the user to select according to the device model, and determines the function selected by the user as the target function, which can make the target function to be tested match the device model, thereby improving the accuracy of functional automated testing. And by sending the function selected by the tester himself / herself as the target function to the touch screen for testing, it is possible to avoid testing irrelevant functions and improve the testing efficiency.

[0065] Optionally, after the processor sequentially sends the functions to the touch screen to be tested for testing, it further includes: the processor receives feedback information from the touch screen to be tested; when the feedback information is an answer error or there is no answer, the processor determines that the function test corresponding to the feedback information fails; when the feedback information is an answer correct, the processor determines that the function test corresponding to the feedback information passes.

[0066] Among them, the touch screen to be tested can send feedback information to the test platform in any way. For example, the touch screen can send feedback information to the test platform after all target function tests are completed, or can send feedback information to the test platform separately after each target function test is completed. Similarly, the processor can receive feedback information from the touch screen to be tested in any way. It can receive the feedback information sent by the test platform after all target function tests are completed, or can receive the feedback information sent by the test platform separately after each target function test is completed.

[0067] In this way, after sequentially sending the target functions to the touch screen to be tested, the touch screen sequentially tests each received target function and feeds back the test results to the test platform. The processor presents the test results to the tester according to the feedback information of the touch screen, thereby improving the testing efficiency of the tester.

[0068] Optionally, the method for testing the touch screen further includes: when the feedback information is an answer correct, marking the function to be developed corresponding to the feedback information as green; when the feedback information is an answer error or there is no answer, marking the function to be developed corresponding to the feedback information as red.

[0069] In this way, by marking the functions as red or green, the tester can clearly master the current development progress or testing progress, so that during the automated testing process, the tester can always master the testing situations of different functions.

[0070] Based on the structure of the above-mentioned test platform, such asFigure 4 As shown, the embodiment of the present disclosure provides a method for testing a touch screen, comprising:

[0071] S01, when the test platform is running, the processor determines a usage scenario.

[0072] S02, when the usage scenario is a functional test, the processor connects to the touch screen to be tested via a mobile hotspot to perform an automatic test on the function.

[0073] S41, when the usage scenario is function development, the processor determines the function to be developed according to the device model and development progress of the device to which the touch screen to be tested belongs.

[0074] S42, the processor is connected to the touch screen simulator via the shared memory.

[0075] S43, when the function to be developed is completed, the processor tests the function through the touch screen simulator.

[0076] Using the method for testing a touch screen provided by an embodiment of the present disclosure, when the usage scenario is function development, in order to improve the development efficiency of developers, the processor connects to the touch screen simulator through shared memory to test the function while developing, thereby improving the efficiency of function development. Since many project development cycles are long, the function development work of developers is not completed in one go. Therefore, the processor records the progress at the end of each development work, thereby providing the development progress for the next function development, so that the processor can determine the function to be developed based on the device model and development progress of the device to which the touch screen to be tested belongs. When a function to be developed is completed during this development process, the processor tests the function through the touch screen simulator, thereby achieving development and testing.

[0077] Optionally, the processor determines the functions to be developed based on the device model and development progress of the device to which the touch screen to be tested belongs, including: the processor determines all functions corresponding to the device model based on the device model; the processor determines the developed functions based on the development progress; the processor determines that non-developed functions among all functions are functions to be developed.

[0078] The processor determines all functions corresponding to the device model according to the device model, and specifically can query the preset corresponding relationship to determine all functions corresponding to the device model. The preset corresponding relationship can be determined by introducing expert knowledge, developers, or project plans.

[0079] In this way, the processor determines all functions corresponding to the device model according to the device model. Since the processor records the progress at the end of each development task, providing the development progress for the next function development, in the current development task, the processor can determine the developed functions according to the development progress, and then determine the functions among all functions that are not developed as the functions to be developed, thus improving the efficiency of the development task.

[0080] Optionally, the processor tests the functions through a touch screen simulator, including: the processor sends the developed functions to the touch screen simulator for testing; the processor receives feedback information from the touch screen simulator; when the feedback information is a correct response, the processor determines that the function to be developed corresponding to the feedback information passes the test.

[0081] Among them, the developed functions refer to the functions to be developed that need to be tested and are developed in the current development task. When the feedback information is a correct response and the processor determines that the function to be developed corresponding to the feedback information passes the test, the processor starts to test the next developed function until all the developed functions among all the functions to be developed are tested, or the developer actively aborts the development task. The processor sends the developed functions to the touch screen simulator for testing. If the developer develops multiple or all the functions to be developed first and then conducts the test, the test order can be determined according to the time when the developer develops different functions. For example, the processor can first test the function that is developed earlier, and sequentially send the developed functions to the touch screen simulator for testing in the order from front to back in terms of time; the processor can also first test the function that is developed later, and sequentially send the developed functions to the touch screen simulator for testing in the order from back to front in terms of time. The developer can also conduct the test every time a function is developed, and the processor sends the function to be developed that the developer develops each time to the touch screen simulator for testing.

[0082] In this way, the processor sends the developed functions to the touch screen simulator for testing to determine whether the developed functions can pass the test. Then the processor receives the feedback information from the touch screen simulator. When the feedback information is a correct response, it is determined that the function to be developed corresponding to the feedback information passes the test. When the feedback information is an incorrect response or there is no response, it is determined that the function to be developed corresponding to the feedback information fails the test, that is, the function needs to be further developed.

[0083] Combined with Figure 5As shown in the figure, an embodiment of the present disclosure provides a device 800 for testing a touch screen, including a processor 801 and a memory 802. Optionally, the device may further include a communication interface 803 and a bus 804. Among them, the processor 801, the communication interface 803, and the memory 802 can communicate with each other through the bus 804. The communication interface 803 can be used for information transmission. The processor 801 can call the logical instructions in the memory 802 to execute the method for testing the touch screen in the above embodiment.

[0084] In addition, when the logical instructions in the above-mentioned memory 802 are implemented in the form of a software functional unit and sold or used as an independent product, they can be stored in a computer-readable storage medium.

[0085] As a computer-readable storage medium, the memory 802 can be used to store software programs and computer-executable programs, such as the program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor 801 executes functional applications and data processing by running the program instructions / modules stored in the memory 802, that is, implements the method for testing the touch screen in the above embodiment.

[0086] The memory 802 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 802 may include a high-speed random access memory and may also include a non-volatile memory.

[0087] Combined with Figure 6 As shown in the figure, an embodiment of the present disclosure provides a test platform 900, including: a test platform body, and the above-mentioned device 800 for testing a touch screen. The device 800 for testing a touch screen is installed on the test platform body. The installation relationship described here is not limited to being placed inside the test platform, but also includes installation connections with other components of the test platform, including but not limited to physical connections, electrical connections, or signal transmission connections, etc. Those skilled in the art can understand that the device 800 for testing a touch screen can be adapted to a feasible test platform main body, and further implement other feasible embodiments.

[0088] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are set to execute the above-mentioned method for testing a touch screen.

[0089] The technical solution of the embodiments of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.

[0090] The above description and the drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process, and other changes. The embodiments merely represent possible variations. Unless explicitly required, separate components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or substituted for parts and features of other embodiments. Moreover, the terms used in this application are only for describing the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to also include the plural forms. Similarly, as used in this application, the term "and / or" refers to any and all possible combinations including one or more of the associated listed items. Additionally, when used in this application, the term "comprise" and its variants "comprises" and / or "comprising" etc. mean the presence of the stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups of these. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, or device comprising the element. In this document, what each embodiment focuses on may be the differences from other embodiments, and the same or similar parts among the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, the relevant parts may refer to the description of the method part.

[0091] Those skilled in the art will realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software can depend on the specific application and design constraints of the technical solution. The technician can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the embodiments of the present disclosure. The technician can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0092] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the couplings, direct couplings, or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms. The units described as separate components can be or can not be physically separated, and the components shown as units can be or can not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. Additionally, in the embodiments of the present disclosure, the functional units can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0093] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of code, or a portion thereof, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. Each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for testing a touch screen, characterized in that, it is applied to a test platform; the method includes: When the test platform is running, determine the usage scenario; When the usage scenario is functional testing, connect to the touch screen under test through a mobile hotspot to perform automated testing on the functions; When the usage scenario is functional development, connect to the touch screen simulator through shared memory to develop and test the functions simultaneously.

2. The method according to claim 1, characterized in that, Performing automated testing on the functions by connecting to the touch screen under test through a mobile hotspot includes: Connect to the touch screen under test through a mobile hotspot and determine the device model of the device to which the touch screen under test belongs; Judge whether to perform automated testing; When it is determined to perform automated testing, sequentially send the functions to the touch screen under test according to the device model for testing.

3. The method according to claim 2, characterized in that, Sequentially sending the functions to the touch screen under test according to the device model for testing includes: Determine the target functions to be tested for the touch screen under test according to the device model and user requirements; Sequentially send the target functions to the touch screen under test for testing.

4. The method according to claim 3, characterized in that, Determining the target functions to be tested for the touch screen under test according to the device model and user requirements includes: According to the device model, display all the functions corresponding to the device model for the user to select; Determine the function selected by the user as the target function.

5. The method according to claim 2, characterized in that, After sequentially sending the functions to the touch screen under test according to the device model for testing, it further includes: Receive feedback information from the touch screen under test; When the feedback information is an answer error or there is no answer, determine that the function test corresponding to the feedback information fails; When the feedback information is an answer correct, determine that the function test corresponding to the feedback information passes.

6. The method according to any one of claims 1 to 5, characterized in that, Developing and testing the functions simultaneously by connecting to the touch screen simulator through shared memory includes: Determine the functions to be developed according to the device model of the device to which the touch screen under test belongs and the development progress; Connect to the touch screen simulator through shared memory; When the functions to be developed are developed, test the functions through the touch screen simulator.

7. The method according to claim 6, characterized in that, Determining the functions to be developed according to the device model of the device to which the touch screen under test belongs and the development progress includes: According to the device model, determine all the functions corresponding to the device model; According to the development progress, determine the functions that have been developed; Determine the functions that are not developed among all the functions as the functions to be developed.

8. The method according to claim 6, characterized in that, Testing the functions through the touch screen simulator includes: Send the developed functions to the touch screen simulator for testing; Receive feedback information from the touch screen simulator; When the feedback information is an answer correct, determine that the function test corresponding to the feedback information for the functions to be developed passes.

9. A device for testing a touch screen, including a processor and a memory storing program instructions, characterized in that, The processor is configured to execute the method for testing a touch screen according to any one of claims 1 to 8 when running the program instructions.

10. A test platform, characterized in that it comprises: a test platform body; the device for testing a touch screen according to claim 9, which is installed on the test platform body.