Terminal equipment testing method and system, terminal equipment and storage medium

By collecting and analyzing touch data, the system automatically identifies and connects to the target test network, solving the inefficiency of manually configuring networks in wireless communication testing and achieving efficient and accurate terminal device testing.

CN121750772APending Publication Date: 2026-03-27HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In wireless communication testing, the wireless network connection at the workstation mainly relies on manual operation, resulting in low testing efficiency and a large consumption of human resources.

Method used

By collecting touch data from the screen, the system automatically identifies and connects to the target test network. By utilizing the correspondence between touch data and preset network connection information, automated network configuration is achieved.

Benefits of technology

It improves testing efficiency and accuracy, reduces human error, optimizes the testing process, and ensures that terminal devices can quickly and accurately connect to the correct test network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121750772A_ABST
    Figure CN121750772A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a terminal equipment testing method and system, terminal equipment and a storage medium, and is applied to the terminal equipment, and the terminal equipment testing method comprises the following steps: collecting touch data of a screen; determining target network connection information according to the touch data, and connecting to a corresponding test network according to the target network connection information; and performing a corresponding terminal device test through the test network. According to the embodiment of the invention, the target network connection information is identified by automatically collecting and analyzing the touch data, so that the terminal equipment can be quickly and accurately connected to the test network, the corresponding terminal equipment test is carried out, the whole process does not need human participation, the problems of complexity and low efficiency of manual network configuration in the prior art are solved, and the user experience is improved. Meanwhile, the test failure risk caused by manual configuration errors is reduced, the overall test process is optimized, and the test efficiency and reliability are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of terminal device testing, and in particular to a terminal device testing method and system, a terminal device, and a storage medium. BACKGROUND

[0002] In a conventional test production line, a wired connection method is often used to test the functions of a mobile phone. However, this method has many limitations. First, frequent plugging and unplugging of USB cables can not only cause physical wear and tear, but can also cause communication problems such as poor contact. Second, the hard contact of wired connection can cause scratches, pressure injuries, or bumps on the surface of the device. In addition, the transmission rate of wired connection is lower than that of wireless methods, which is not conducive to improving test efficiency.

[0003] To solve the above problems, wireless communication testing has gradually become a trend. It replaces wired connection with wireless network connection, avoiding the wear and tear and communication problems caused by physical connection, while improving the transmission rate. However, under the wireless communication testing method, each station on the test production line needs to be configured with different wireless network information to ensure that the test device can connect to the correct network for testing. Currently, the wireless network connection of the station mainly relies on manual operation, that is, by scanning a two-dimensional code to obtain the name and password of the network, and then manually inputting it into the test device. This process is not only inefficient, but also consumes a large amount of human resources. SUMMARY

[0004] The purpose of the present application is to provide a terminal device testing method and system, a terminal device, and a storage medium, to solve the problem that the wireless network connection of the station under the wireless communication testing method in the prior art mainly relies on manual operation, resulting in low test efficiency and a large consumption of human resources.

[0005] In a first aspect, the present application provides a terminal device testing method applied to a terminal device, the method comprising:

[0006] collecting touch data of the screen;

[0007] determining target network connection information according to the touch data, and connecting to a corresponding test network according to the target network connection information;

[0008] performing corresponding terminal device testing through the test network.

[0009] The embodiments of the present application identify target network connection information by automatically collecting and analyzing touch data, so that the terminal device can quickly and accurately connect to the test network and perform corresponding terminal device testing. The entire process does not require human intervention, solves the tedious and inefficient problem of manual network configuration in the prior art, reduces the risk of test failure caused by manual configuration errors, optimizes the overall test process, and greatly improves the efficiency and reliability of the test.

[0010] In some possible implementation manners, the target network connection information is determined according to the touch data, including:

[0011] The target touch image is determined according to the touch data in the preset plurality of touch images;

[0012] The target network connection information corresponding to the target touch image is determined according to the preset correspondence relationship in the plurality of preset network connection information.

[0013] In the embodiments of the present application, the preset touch images are identified and matched by using the touch data, and then the target network is determined according to the correspondence relationship between the images and the preset network connection information, which realizes a highly automated and accurate network selection process. Not only does it improve the efficiency of terminal device testing and ensure that the device can quickly connect to the correct test network, but also reduces the possibility of human error by reducing human intervention, thereby enhancing the reliability and accuracy of the testing process.

[0014] In some possible implementation manners, the target touch image is determined according to the touch data in the preset plurality of touch images, including:

[0015] An initial touch image is obtained according to the touch data;

[0016] Image features are extracted from the initial touch image to obtain corresponding image features;

[0017] In the preset plurality of touch images, the touch image matching the image features is determined as the target touch image.

[0018] In the embodiments of the present application, the initial touch image is obtained from the touch data and the image features are extracted, which realizes accurate analysis and identification of the image. Then, the specific image matching the extracted features is matched in the preset plurality of touch images, which improves the accuracy and reliability of image identification, ensures that the target touch image can be quickly and accurately determined from a large number of candidate images, and provides a solid foundation for the automation and intelligentization of terminal device testing, effectively reduces manual selection errors, and improves test efficiency and system response speed.

[0019] In some possible implementation manners, before the image features of the initial touch image are extracted, the method further includes:

[0020] filtering the initial touch image.

[0021] In the embodiments of the present application, filtering the initial touch image before image feature extraction can remove noise and unnecessary details in the image, thereby improving the accuracy and reliability of subsequent feature extraction. The filtering process ensures the quality of the image data, making the image features more prominent and reducing the risk of misidentification caused by image noise.

[0022] In some possible implementations, the image features include at least one or any combination of gray scale, circumscribed rectangle aspect ratio, circularity, circumradius difference, rectangularity, vertex left bottom edge difference, vertex right bottom edge difference, and triangle orientation, and the gray scale is related to the touch capacitance value of the touch data.

[0023] In the embodiments of the present application, the detailedness and accuracy of image recognition are greatly enhanced by comprehensively considering various image features. This multi-dimensional feature analysis not only ensures a comprehensive understanding of the touch image, but also improves the accuracy of image matching and recognition, thereby achieving more accurate network connection information determination in terminal device testing and optimizing the automation and intelligent level of the testing process.

[0024] In some possible implementations, the plurality of preset touch images include a circle, a square, a rectangle, and a triangle.

[0025] The image features matched with the circle include that the circumscribed rectangle aspect ratio belongs to the range [a, b), the circularity belongs to the range [c, ∞), and the circumradius difference belongs to the range (0, d).

[0026] The image features matched with the square include that the circumscribed rectangle aspect ratio belongs to the range [a, b), the circularity belongs to the range [e, c), the circumradius difference belongs to the range (d, ∞), and the rectangularity belongs to the range (g, ∞).

[0027] The image features matched with the rectangle include that the circumscribed rectangle aspect ratio belongs to the range (h, ∞), the circularity belongs to the range (0, e), the circumradius difference belongs to the range (i, ∞), and the rectangularity belongs to the range (j, ∞).

[0028] The image features matched with the triangle include that the circumscribed rectangle aspect ratio belongs to the range (0, b), the circularity belongs to the range (0, k), the circumradius difference belongs to the range (i, ∞), the rectangularity belongs to the range (0, g), the vertex left bottom edge difference belongs to the range (m, ∞), and the vertex right bottom edge difference belongs to the range (m, ∞).

[0029] Wherein, a, b, c, d, e, g, h, i, g, k, and m are preset parameters.

[0030] In the embodiments of the present application, a series of specific image feature matching conditions are preset for different touch control images such as circles, squares, rectangles and triangles, so as to realize accurate classification and recognition of the touch control images. Such a detailed matching mechanism not only improves the accuracy of image recognition and ensures that various shapes can be quickly and accurately recognized, but also enhances the sensitivity and distinguishing ability of the system to the features of the touch control images by defining clear parameter ranges, thereby providing a more accurate and reliable network connection information determination method for terminal device testing and optimizing the automation level and efficiency of the entire testing process.

[0031] In a second aspect, the present application further provides a terminal device testing system, which comprises a plurality of test sites, each test site comprising a corresponding terminal bearing platform, a touch conductor and a wireless network providing device, wherein:

[0032] The terminal bearing platform is configured to bear a terminal device.

[0033] The touch conductor is configured to touch the screen of the terminal device to generate touch control data, and the touch conductors of any two different test sites are configured to generate different touch control data, and the wireless network providing devices of any two different test sites are configured to provide different test networks.

[0034] The terminal device testing system in the embodiments of the present application allows testing to be performed in parallel through a plurality of test sites, each test site being equipped with a dedicated terminal bearing platform, a touch conductor and a wireless network providing device. Such a configuration realizes efficient parallel processing of the testing process, and each test site enables the terminal device to generate different touch control data and connect to different test networks. This not only improves the flexibility and adaptability of the testing, but also allows simultaneous customized testing of multiple terminal devices, greatly improving the testing efficiency and throughput, while ensuring the accuracy and reliability of the testing process, thereby meeting the diversified terminal device testing requirements.

[0035] In some possible implementation manners, at least one of the following features of the touch conductors of any two different test sites is different: pattern, material, size.

[0036] In the embodiments of the present application, the touch conductors of any two different test sites are designed to differ in features such as pattern, material and size, so that the terminal devices of different test sites can generate unique touch control data and then connect to the test networks specific to the test sites. This not only improves the targeting and accuracy of the testing, but also optimizes the testing process by accurately matching the test sites and the test networks, so that the terminal devices can be subjected to customized terminal device testing for specific test scenarios, thereby enhancing the reliability and practicality of the test results.

[0037] In some possible implementation manners, the system further comprises:

[0038] The pressing component has a first support platform on its surface, and the first support platform supports the touch conductor;

[0039] The pressing component is used to ensure that the touch pressure of any two different test positions on the screen of the terminal device is different.

[0040] In this embodiment, by equipping the device with a pressing component and a first support platform, not only can the touch conductor be stably supported, but the touch pressure applied to the terminal device screen by the touch conductors at different test positions can also be precisely controlled. This allows each test position to generate unique touch data based on the required pressure conditions, thereby ensuring that the system can accurately identify and connect to the corresponding test network based on this data, improving the accuracy of the test.

[0041] In some possible implementations, the contact area between the touch conductor and the terminal device is less than or equal to 10 square centimeters.

[0042] In this embodiment, by limiting the contact area between the touch conductor and the terminal device to 10 square centimeters or less, the baseline refresh mechanism for triggering the screen capacitance value is avoided, preventing touch data loss due to excessive contact area, and ensuring the stability and reliability of touch data.

[0043] In some possible implementations, the surface of the touch conductor is provided with a protective layer.

[0044] In this embodiment, by providing a protective layer on the surface of the touch conductor, the risk of scratches or other damage to the screen during contact can be effectively prevented. This reduces test interruptions or retests due to equipment failure, improves the continuity and reliability of the testing process, and also reduces maintenance costs and time, thereby improving overall testing efficiency.

[0045] Thirdly, this application also provides a terminal device, including:

[0046] processor;

[0047] Memory;

[0048] The memory stores a computer program, which, when executed, causes the terminal device to perform any of the methods in the first aspect.

[0049] Fourthly, this application also provides a computer-readable storage medium including a stored program, wherein, when the program is running, it controls the device on which the computer-readable storage medium is located to execute the method of any one of the first aspects.

[0050] This application embodiment identifies target network connection information by automatically collecting and analyzing touch data, enabling terminal devices to quickly and accurately connect to the test network and perform corresponding terminal device tests. The entire process does not require human intervention, solving the cumbersome and inefficient problem of manual network configuration in the prior art. At the same time, it reduces the risk of test failure due to manual configuration errors, optimizes the overall test process, and greatly improves the efficiency and reliability of testing. Attached Figure Description

[0051] Figure 1 This is a schematic diagram of a wireless network connection in the prior art;

[0052] Figure 2 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application;

[0053] Figure 3 A software structure block diagram of a terminal device provided in an embodiment of this application;

[0054] Figure 4 A flowchart illustrating a method for testing a terminal device provided in an embodiment of this application;

[0055] Figure 5 A flowchart illustrating another method for testing a terminal device provided in this application embodiment;

[0056] Figure 6 for Figure 5 A flowchart illustrating one actual behavior of S11 in another method for testing terminal devices provided.

[0057] Figure 7 This is a schematic diagram of a process for determining a target touch image provided in an embodiment of this application;

[0058] Figure 8 This is a schematic diagram illustrating the result of determining a target touch image based on image features, provided in an embodiment of this application.

[0059] Figure 9 This is a schematic diagram illustrating another result of determining a target touch image based on image features, provided in an embodiment of this application.

[0060] Figure 10 This is a schematic diagram of the structure of a terminal device testing system provided in an embodiment of this application;

[0061] Figure 11 A front view of the test position of a terminal device testing system provided in an embodiment of this application;

[0062] Figure 12 A top view of the test position of a terminal device testing system provided in an embodiment of this application;

[0063] Figure 13 A front view of the test position of another terminal device testing system provided in an embodiment of this application;

[0064] Figure 14 This is a top view of the test position of another terminal device testing system provided in an embodiment of this application. Detailed Implementation

[0065] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0066] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0067] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0068] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0069] To better understand the embodiments of this application, the terms or concepts that may be involved in the embodiments are explained below.

[0070] Touch data refers to information captured by touchscreens or touch-screen devices when a user or touch conductor performs a touch operation. This includes parameters such as the coordinates of the touch point, touch pressure, touch area, and touch duration. This data reflects the specific actions and force changes during user interaction with the device. It is typically detected by the touchscreen's sensor array and converted into electrical signals, which are then processed by the controller to determine the specific characteristics of the touch event.

[0071] Network connection information refers to a set of parameters and credentials used to establish and maintain network communication, including network identifiers (such as Wi-Fi network names SSID), encryption methods, passwords, IP addresses, subnet masks, default gateways, and DNS server addresses. This information enables devices to be correctly identified and connected to the appropriate network, allowing for the sending and receiving of data.

[0072] A test network is a network environment specifically configured for testing end devices. It provides a controlled, isolated communication platform for evaluating and verifying the communication performance and functionality of mobile devices or wireless modules. Test networks typically have the ability to simulate real-world communication conditions and support multiple wireless communication standards and protocols, ensuring the comprehensiveness and accuracy of the tests. In production and R&D environments, test networks enable engineers to diagnose, evaluate performance, and troubleshoot devices without being connected to a public network, thus ensuring the safety and reliability of the tests.

[0073] The method for testing terminal devices provided in the embodiments of this application will be described below.

[0074] Wireless communication testing replaces wired connections with wireless networks, avoiding the losses and communication problems associated with physical connections, while also improving transmission speed. However, in wireless communication testing, each workstation on the test production line needs to be configured with different wireless network information to ensure that the test equipment can connect to the correct network for testing. Please refer to [reference needed]. Figure 1 This is a schematic diagram of a wireless network connection in the prior art. Figure 1 As shown, current wireless network connections at workstations primarily rely on manual operation. This involves scanning a QR code to obtain the network name and password, which are then manually entered into the testing equipment. The specific process includes: operators at each workstation using a mobile phone or dedicated device to open the corresponding application, scanning a QR code to obtain the target network connection information for that workstation, and then manually entering the network name and password to complete the connection. After the connection is established, operators also need to issue test commands to control the mobile phone to perform specific actions and collect test results. This process is repeated at each workstation, which not only increases workload but is also prone to errors, affecting test accuracy and production efficiency.

[0075] In view of this, embodiments of this application provide a method for testing terminal devices. This method can solve the problem that wireless network connection at the workstation mainly relies on manual operation in wireless communication testing, resulting in low testing efficiency and a large consumption of human resources.

[0076] The following describes the terminal devices to which the terminal device testing method provided in this application is applicable and the specific process of the method, in conjunction with the embodiments.

[0077] The terminal device testing method provided in this application can be applied to devices capable of screen touch control, such as mobile phones, tablets, personal computers (PCs), personal digital assistants (PDAs), smartwatches, netbooks, wearable terminal devices, augmented reality (AR) devices, virtual reality (VR) devices, in-vehicle devices, smart cars, smart speakers, robots, smart glasses, and smart TVs.

[0078] For example, Figure 2 A schematic diagram of the structure of a terminal device is shown. For example... Figure 2 As shown, the terminal device 100 may include a display screen 194, a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, a motor 191, an indicator 192, a camera 193, and a user identification module (SIM) card interface 195, etc.

[0079] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0080] Display screen 194, also known as a display screen or screen, is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be an OLED display panel. In some embodiments, terminal device 100 may include one or N displays screens 194, where N is a positive integer greater than 1.

[0081] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0082] The controller can serve as the central nervous system and command center of the terminal device 100. The controller can generate operation control signals based on the instruction opcode and timing signals to control the fetching and execution of instructions.

[0083] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0084] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0085] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.

[0086] Internal memory 121 can be used to store executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as network connection control functions), etc. The data storage area may store data created during the use of terminal device 100, etc. In addition, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of terminal device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.

[0087] Touch sensor 180F, also known as a "touch panel," can be located on display screen 194. The touch sensor 180F and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180F detects touch operations applied to or near it. Touch sensor 180F can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180F may also be located on the surface of terminal device 100, in a different position than display screen 194.

[0088] Camera 193 is used to capture still images or videos.

[0089] See Figure 3 This is a software structure block diagram of a terminal device provided in an embodiment of this application. The software system of the terminal device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the application uses the layered architecture Android system as an example to illustrate the software structure of the terminal device 100. The layered architecture divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. Figure 2 As shown in the embodiments of this application, the Android system includes, from top to bottom, an application layer, a framework layer, a hardware abstraction layer, and a hardware layer.

[0090] The application layer (App) may include a series of application packages. For example, this application package may include applications such as camera, calendar, map, music, messaging, navigation, video, and browser. In this embodiment, the application also includes a network application. The network application is used to control the network connection of the terminal device. Optionally, the network application's network connection settings may be to connect to a corresponding test network based on determined target network connection information.

[0091] The Framework (FWK) layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer, including some predefined functions. Figure 2 In this framework layer, a resource manager, a graphics and image processing framework, a testing framework, and a network connection manager can be included. The resource manager provides various resources for the application, such as image processing resources and network resources. The graphics and image processing framework provides APIs and tools for graphics drawing, image processing, and animation. The testing framework provides automated testing tools and frameworks to help developers perform unit testing, integration testing, and other tasks. The network connection manager manages network connections.

[0092] The Hardware Abstraction Layer (HAL) is an interface layer located between the operating system kernel and the hardware circuitry, designed to abstract the hardware. It hides the hardware interface details of a specific platform, providing the operating system with a virtual hardware platform that is hardware-independent and portable across multiple platforms. For example, the HAL may include a display engine, which further processes the acquired initial touch image. In this embodiment, the HAL primarily utilizes the display engine to filter the image sent from the display chip.

[0093] The hardware layer (HW) is the lowest level of hardware within the operating system. For example, HW includes the central processing unit (CPU), screen sensors, and antennas. The screen sensors collect touch data from the screen and send it to the CPU. The CPU then uses this data to determine the target network connection information and connects to the corresponding test network via the antenna to perform terminal device testing.

[0094] For ease of understanding, the following embodiments of this application will be described using the following methods: Figure 2 and Figure 3 Taking the terminal device with the structure shown as an example, and in conjunction with the accompanying drawings and application scenarios, the method for testing the terminal device provided in this application will be specifically described.

[0095] See Figure 4 This is a flowchart illustrating a method for testing a terminal device provided in an embodiment of this application. It can be understood that... Figure 4 The timing of each step in the method for testing terminal devices is merely an example and does not impose any limitations on the order of action execution. For example... Figure 4 As shown, the main steps of the terminal device testing method provided in this application embodiment, applied to terminal devices, include:

[0096] S01: The terminal device collects touch data from the screen.

[0097] In this embodiment, the terminal device's acquisition of screen touch data refers to detecting and recording signals generated when a user touches the screen with their finger or other conductive object using a touch sensor integrated into the screen. These signals are then converted into touch data such as position coordinates, touch force, contact area, and touch duration.

[0098] For example, during terminal device testing, when a touch conductor comes into contact with the terminal device's touchscreen, the touch sensor on the terminal device can detect and record the corresponding touch data. Different touch conductors have different characteristics; when they touch the screen, they form a specific touch pattern or signal. These signals are captured by the touch sensor and converted into touch data, which is then sent to the terminal device's processor. The processor then uses this touch data to intelligently identify and match preset target network connection information. This method allows the terminal device to automatically select and connect to the correct test network, thereby optimizing the testing process, reducing human intervention, and improving testing efficiency and accuracy. In this way, each specific touch event can trigger the configuration to connect to a specific test network, achieving a highly automated test environment setup.

[0099] In some embodiments, the type of touch sensor may include an infrared sensor, a resistive sensor, a capacitive sensor, an ultrasonic sensor, etc. When the type of touch sensor is a capacitive sensor, the capacitive sensor can detect the capacitance change caused by the touch conductor touching the screen. These changes are converted into corresponding touch data, which can be stored in the form of a capacitance value matrix.

[0100] S02: The terminal device determines the target network connection information based on the touch data and connects to the corresponding test network according to the target network connection information.

[0101] In this embodiment, the terminal device intelligently identifies and selects target network connection information by analyzing touch data, and then automatically configures and connects to the specified test network to automate the testing process, reduce the tediousness and errors caused by users manually entering network connection information, improve the efficiency and accuracy of testing, and ensure that the terminal device can perform testing in the correct network environment.

[0102] In some embodiments, the target network connection information can be determined based on the touch data by pre-establishing a correspondence between touch data and target network connection information. For example, in an automated mobile phone testing production line, each mobile phone needs to connect to a different test network as it passes through different testing stations. To automate this process, a series of touch commands can be preset in the production line's control system, with each command generating touch data corresponding to a specific test network. For example, drawing a circle might represent a connection to "Network_A", while drawing a square might represent a connection to "Network_B".

[0103] When a mobile phone arrives at the testing station, an automated robotic arm executes the corresponding touch commands on the phone's screen. The phone's touch sensors capture these operations and generate corresponding touch data. The phone's operating system or testing software retrieves the network connection information corresponding to this touch data from its built-in network configuration database, including the network name and password. The phone automatically configures its wireless network settings and connects to the designated test network using the retrieved name and password. In this way, each phone can automatically connect to the correct test network based on preset touch commands, thus avoiding the tedious process of manually entering network information and improving testing efficiency and accuracy. At the same time, this method reduces problems caused by manual operation errors and improves the operational stability of the test production line.

[0104] S03: The terminal device performs corresponding terminal device tests through the test network.

[0105] In this embodiment, after the terminal device successfully connects to a predetermined test network, it will utilize that test network to perform a series of terminal device tests. In some embodiments, these tests may include, but are not limited to, basic functional testing, service function testing, performance testing, compatibility testing, security testing, environmental adaptability testing, radio frequency testing, stability testing, and stress testing, to ensure that the terminal device's functions meet expected performance standards in actual use. During the testing process, the terminal device may send and receive data packets, monitor network response time, evaluate the effectiveness of data encryption and authentication mechanisms, and detect potential sources of interference or faults. This process is crucial for verifying the reliability and performance of the terminal device under different network conditions.

[0106] In some embodiments, the terminal device performing corresponding terminal device testing through a test network, as mentioned in step S03, can be achieved by executing the following steps:

[0107] 1) Test Preparation: After successfully connecting to the preset test network, the terminal device will receive a series of test instructions from the server. For example, these instructions may include tasks such as sending and receiving data packets, making video calls, or downloading specific files.

[0108] 2) Performance Testing: The terminal device executes operations according to the received instructions. For example, if the test is about data transfer rate, the device will attempt to download or upload large files on the test network and record the time required. If the test is about signal stability, the device will monitor changes in signal strength over different time periods.

[0109] Next, the terminal device will send the collected test data back to the server for analysis:

[0110] 3) Data Collection and Analysis: After receiving the test data sent by the terminal device, the server will perform detailed analysis. For example, it will analyze whether the data transmission rate meets the expected standard, whether the signal stability meets the requirements, and the communication performance of the device under high load.

[0111] 4) Results Feedback: Based on the analysis results, the server will generate a test report, which will detail the performance indicators of the terminal device under the test network and provide a conclusion on whether the test passed. If problems are found, the report will also provide possible causes and improvement suggestions to help optimize device performance.

[0112] Based on the above technical solution, the embodiments of this application identify target network connection information by automatically collecting and analyzing touch data, enabling terminal devices to quickly and accurately connect to the test network and perform corresponding terminal device tests. The entire process does not require human intervention, solving the cumbersome and inefficient problem of manual network configuration in the prior art. At the same time, it reduces the risk of test failure due to manual configuration errors, optimizes the overall test process, and greatly improves the efficiency and reliability of testing.

[0113] In one specific embodiment, to simplify the process of determining target connection information, reduce the time spent on determining target network connection information, and further improve the efficiency of terminal device testing, it can also be achieved by pre-establishing touch images and network connection information.

[0114] Please refer to Figure 5 This is a flowchart illustrating another terminal device testing method provided in an embodiment of this application, as shown below. Figure 5As shown, this can be achieved by performing the following steps:

[0115] S01: The terminal device collects touch data from the screen.

[0116] S11: The terminal device determines the target touch image from a set of preset touch images based on the touch data.

[0117] In this embodiment of the application, the terminal device uses touch data to match a series of predefined touch images (such as specific shapes, symbols or gestures) to identify the target touch image corresponding to the touch data from these preset touch images.

[0118] In some embodiments, features can be extracted from touch data using a pre-trained deep learning model (such as a convolutional neural network model, a recurrent neural network model, a hierarchical attention network model, etc.) and compared with preset touch image features to accurately determine the target touch image of the touch data. This enables terminal devices to select specific network connections based on different touch data, thereby achieving fast and accurate network configuration and improving the efficiency of the entire testing process.

[0119] In some embodiments, the computation cycle of deep learning models is relatively long, resulting in slow feature extraction and comparison speeds, which leads to low efficiency in determining the target touch image. Therefore, to further improve the efficiency of target touch image determination, image feature comparison can also be used to determine the target touch image.

[0120] Please refer to Figure 6 , Figure 6 for Figure 5 A flowchart illustrating one actual behavior of S11 in another terminal device testing method provided, as follows: Figure 6 As shown, the step S11 mentioned, determining the target touch image from a set of preset touch images based on touch data, can be achieved by performing the following steps:

[0121] S21: The terminal device obtains the initial touch image based on the touch data.

[0122] In this embodiment of the application, the terminal device can process the touch data to generate image data, i.e., the initial touch image. The initial touch image can be obtained by directly converting the screen touch data. For example, the touch data in the form of a capacitance value matrix can be directly converted to obtain the corresponding image matrix, and the image matrix is ​​used as the initial touch image.

[0123] S22: The terminal device extracts features from the initial touch image to obtain the corresponding image features.

[0124] In this embodiment, the initial touch image is analyzed to extract key information representing the essential attributes of the image, such as shape, size, position, and grayscale, to ensure that the terminal device can match the correct network connection information based on these features. Through feature extraction, the system can reduce its reliance on the original image data, improve the efficiency and accuracy of recognition, and reduce the risk of misidentification due to image noise or differences in detail, thereby optimizing the automation and intelligence level of the entire terminal device testing process.

[0125] In some embodiments, to improve the accuracy and reliability of feature extraction, the initial touch image can be filtered before feature extraction. Filtering removes noise and unnecessary details from the image, ensuring the quality of the image data, making image features more prominent, and reducing the risk of misidentification caused by image noise.

[0126] S23: The terminal device determines the touch image that matches the image features from a plurality of preset touch images as the target touch image.

[0127] In this embodiment, the terminal device compares the extracted image features with a predefined series of touch image features to find the image that best matches the currently extracted features, thereby determining the target touch image. The purpose is to automate network connection selection, ensuring that the terminal device can quickly and accurately connect to the correct test network based on specific touch operations. This improves the efficiency and accuracy of terminal device testing.

[0128] In some embodiments, image features may include at least one or any combination of grayscale, aspect ratio of the bounding rectangle, roundness, difference in circumference radius, rectangularity, difference in the left base of a vertex, difference in the right base of a vertex, and triangle orientation, wherein:

[0129] Grayscale is related to the touch capacitance value of touch data. For example, different materials of touch conductors or different pressures exerted on the screen when the touch conductor contacts the screen will result in different touch capacitance values, which will be reflected in the different grayscale values ​​of the touch image.

[0130] The circumscribed rectangle is the bounding box used to describe the shape of a touch image; it is the smallest rectangle that completely contains all parts of the touch image's shape. The aspect ratio of the circumscribed rectangle is the ratio of its longer side to its shorter side, which helps identify and differentiate different touch images. For example, a near-square image might have an aspect ratio close to 1:1, while a rectangular image might have a larger or smaller aspect ratio, helping to distinguish the image's shape.

[0131] Roundness is a metric used to describe how closely a touch image's shape approximates a circle. It can be used to identify and classify circular objects in an image. For example, the outline of an object can be converted into a series of points, and then its roundness is evaluated by calculating how closely the polygon formed by these points resembles a circumcircle. If the polygon is very close to a circle, its roundness value will be high; if the polygon has more sides or the shape is more irregular, the roundness value will be lower.

[0132] The difference in circumference radius is calculated by taking the distance from each point on the shape boundary of the touch image to the center of the circumcircle, comparing it to the radius of the circumcircle, and averaging the absolute values ​​of these differences. This can be used to quantify the irregularity of a shape. Specifically, if a shape is a perfect circle, then the distance from all its points to the center (i.e., the radius) is the same, and the difference in circumference radius will be 0. However, if the shape is non-circular or irregular, the distances from different points to the center will vary significantly, resulting in a larger difference in circumference radius.

[0133] Rectangularity is a metric used to measure how closely a touch image resembles a rectangle. It determines whether the shape is similar to a rectangle and how close it is to an ideal rectangle.

[0134] The difference between the left and right base sides of a vertex is the distance between the projection of a vertex onto the opposite side and the left endpoint of that opposite side. The difference between the right and right base sides of a vertex is the distance between the projection of a vertex onto the opposite side and the right endpoint of that opposite side. Both can be used to describe the shape characteristics of a triangle, helping to identify and classify triangle shapes.

[0135] The orientation of a triangle refers to its direction on a two-dimensional plane, which can help identify and classify the shape and location of triangles.

[0136] In this embodiment, the detail and accuracy of image recognition are greatly enhanced by comprehensively considering various image features. This multi-dimensional feature analysis not only ensures a comprehensive understanding of the touch image but also improves the accuracy of image matching and recognition, thereby enabling more accurate determination of network connection information in terminal device testing and optimizing the automation and intelligence level of the testing process.

[0137] Based on the above embodiments, in some embodiments, the preset multiple touch images may include circles, squares, rectangles, and triangles;

[0138] Image features that match a circle include: the aspect ratio of the bounding rectangle is in the range [a, b), the roundness is in the range [c, ∞), and the difference in circumference radius is in the range (0, d).

[0139] Image features that match a square include: aspect ratio of the bounding rectangle in the range [a, b), roundness in the range [e, c), difference in circumference radius in the range (d, ∞), and rectangularity in the range (g, ∞).

[0140] Image features that match a rectangle include: the aspect ratio of the bounding rectangle is in the range (h, ∞), the roundness is in the range (0, e), the difference in circumference radius is in the range (i, ∞), and the rectangularity is in the range (j, ∞).

[0141] Image features that match the triangle include: the aspect ratio of the circumscribed rectangle is in the range (0, b), the roundness is in the range (0, k), the difference in circumference radius is in the range (i, ∞), the rectangularity is in the range (0, g), the difference in the left bottom edge of the vertex is in the range (m, ∞), and the difference in the right bottom edge of the vertex is in the range (m, ∞).

[0142] Among them, a, b, c, d, e, g, h, i, g, k, and m are preset parameters.

[0143] In this embodiment, by pre-setting a series of specific image feature matching conditions for different touch images such as circles, squares, rectangles, and triangles, accurate classification and recognition of touch images can be achieved. This meticulous matching mechanism not only improves the accuracy of image recognition, ensuring that various shapes can be quickly and accurately identified, but also enhances the system's sensitivity and distinguishability to touch image features by defining a clear parameter range. This provides a more accurate and reliable way to determine network connection information for terminal device testing, optimizing the automation level and efficiency of the entire testing process.

[0144] Based on the above embodiments, in some embodiments, when the target touch image matching the image features of the initial touch image is determined to be rectangular, the degree of tilt of the rectangle can be further determined based on the tilt angle of the circumscribed rectangle of the initial touch image, thereby achieving further accurate classification of the touch image:

[0145] The preset touch images also include horizontal rectangles, right-diagonal rectangles, vertical rectangles, and left-diagonal rectangles;

[0146] Image features that match a horizontal rectangle include: the circumscribed rectangle's tilt angle belongs to the range [0, n] & [q, 180];

[0147] Image features that match the right-angled rectangle include: the circumscribed rectangle's tilt angle belongs to the range (n, o);

[0148] Image features that match a vertical rectangle include: the circumscribed rectangle's tilt angle belongs to the range [o, p];

[0149] Image features that match the left-slanted rectangle include: the circumscribed rectangle's tilt angle belongs to the range (p, q).

[0150] Where n, o, p, and q are preset parameters.

[0151] In the embodiments of this application, the circumscribed rectangle tilt angle refers to the angle between the longer side of the circumscribed rectangle and the horizontal direction. The circumscribed rectangle tilt angle can describe the rotation or tilt state of the rectangle.

[0152] It should be noted that the preset parameters in this application embodiment can be obtained based on industry standards, technical personnel experience, experimental test results, or data analysis. This application embodiment does not limit the specific values ​​of the preset parameters. Table 1 shows a matching relationship table between the shape of a touch image and image features provided in this application embodiment:

[0153]

[0154] Table 1

[0155] In this context, a value of 1 for the triangle's orientation indicates that the triangle is facing upwards, making it an upper triangle; a value of -1 indicates that the triangle is facing downwards, making it a lower triangle. Based on the above embodiment, please refer to... Figure 7 This is a schematic diagram of a process for determining a target touch image provided in an embodiment of this application, such as... Figure 7 As shown, in this embodiment, touch data is first acquired, then an initial touch image is determined based on the touch data, then features are extracted from the initial touch image to obtain corresponding image features, and finally the corresponding target touch image is matched based on the image features. That is, the target touch image matched for the initial touch image is a square based on the aspect ratio, roundness, circumcircle distance, and rectangularity.

[0156] When determining the initial touch image based on touch data, a corresponding threshold value can be set. Threshold values ​​are commonly used in signal processing, image processing, and other fields. A threshold value is defined as a given threshold; if signal or image data exceeds this threshold, it is considered valid data; otherwise, it is considered noise or useless data. In image processing, threshold values ​​are frequently used for image binarization. Binarization can remove surrounding noise and background noise, better highlighting the features of the target in the image. The threshold value determines which pixels are considered part of the target or image, and which are considered background. Generally, the threshold value is adjusted according to different scenarios and needs to achieve the best processing effect.

[0157] Please refer to Figure 8, which is a schematic diagram illustrating the result of determining a target touch image based on image features according to an embodiment of this application. Figure 8As shown, the embodiments of this application can accurately identify the corresponding target touch image based on the image features of the initial touch image. This not only improves the accuracy of image recognition and ensures that various shapes can be quickly and accurately identified, but also enhances the system's sensitivity and distinguishability to touch image features by defining a clear parameter range. This provides a more accurate and reliable way to determine network connection information for terminal device testing, and optimizes the automation level and efficiency of the entire testing process.

[0158] Please refer to Figure 9 This is a schematic diagram illustrating another result of determining the target touch image based on image features according to an embodiment of this application. Because the test scenario is relatively complex, when the terminal device continuously acquires capacitance data, especially when the operator is operating the phone or transferring the phone to the screen, false triggering may occur. For example... Figure 9 As shown, in situations such as accidental touches like single-finger taps, half-palm taps, four-finger taps, or thumb taps, this embodiment determines that the initial touch image does not have a corresponding target touch image based on the fact that the image features are not within a preset parameter range. In other words, by analyzing image features and comparing them with preset parameters, this application can effectively distinguish between normal touch images and accidental touch scenarios, thereby improving the accuracy of target touch image recognition and reducing the occurrence of accidental triggers.

[0159] S12: The terminal device determines the target network connection information corresponding to the target touch image from multiple preset network connection information according to the preset correspondence.

[0160] S02: The terminal device determines the target network connection information based on the touch data and connects to the corresponding test network according to the target network connection information.

[0161] S03: The terminal device performs corresponding terminal device tests through the test network.

[0162] Based on the above technical solution, this application embodiment obtains an initial touch image from touch data and extracts its features, thereby achieving accurate analysis and recognition of the image. Subsequently, it matches a specific image that matches the extracted features among a number of preset touch images, improving the accuracy and reliability of image recognition. This ensures that the target touch image can be quickly and accurately determined from numerous candidate images, thus providing a solid foundation for the automation and intelligence of terminal device testing, effectively reducing manual selection errors, and improving testing efficiency and system response speed.

[0163] Please refer to Figure 10 This is a schematic diagram of the structure of a terminal device testing system provided in an embodiment of this application. Figure 10As shown, the terminal device testing system may include multiple test positions, each test position including a corresponding terminal bearer platform 101, a touch conductor 102, and a wireless network providing device 103, wherein:

[0164] Terminal platform 101 is used to support terminal equipment;

[0165] Touch conductor 102 is used to touch the screen of terminal device to generate touch data. Touch conductors 102 at any two different test positions are used to generate different touch data. Wireless network providing device 103 at any two different test positions is used to provide different test networks.

[0166] Please refer to Figure 11 and Figure 12 , Figure 11 This is a front view of the test positions of a terminal device testing system provided in an embodiment of this application. Figure 12 This is a top view of the test position of a terminal device testing system provided in an embodiment of this application.

[0167] like Figure 11 and Figure 12 As shown, the terminal carrier platform is equipped with a second carrier platform for carrying the touch conductor. When the terminal under test needs to be tested using the test position, the screen of the terminal under test can be placed directly face down on the terminal carrier platform so that the screen of the terminal under test contacts the touch conductor and generates corresponding touch data.

[0168] The terminal device testing system in this embodiment allows for parallel testing through multiple test stations, each equipped with a dedicated terminal carrier platform, touch conductor, and wireless network provider. This configuration enables highly efficient parallel processing of the testing workflow, allowing each test station to generate different touch data from the terminal device and connect to different test networks. This not only improves the flexibility and adaptability of the testing but also allows for customized testing of multiple terminal devices simultaneously, significantly enhancing testing efficiency and throughput while ensuring the accuracy and reliability of the testing process, thus meeting diverse terminal device testing needs.

[0169] Based on the above embodiments, in some embodiments, at least one of the following characteristics of any two different test positions of the touch conductor 102 is different: pattern, material, size.

[0170] In this embodiment, the touch conductors at any two different test positions are designed to differ in features such as pattern, material, and size. This allows terminal devices at different test positions to generate unique touch data, which is then connected to the test network specific to that test position. This not only improves the targeting and accuracy of the test but also optimizes the test process by precisely matching the test positions and the test network. This enables customized terminal device testing for specific test scenarios, thereby enhancing the reliability and practicality of the test results.

[0171] Based on the above embodiments, in some embodiments the system further includes:

[0172] The pressing component has a first support platform on its surface, and the first support platform supports the touch conductor 12.

[0173] The pressing component is used to ensure that the touch pressure of any two different test positions on the screen of the terminal device is different.

[0174] Please refer to Figure 13 and Figure 14 , Figure 13 This is a front view of the test positions of another terminal device testing system provided in an embodiment of this application. Figure 14 This is a top view of the test position of another terminal device testing system provided in an embodiment of this application.

[0175] like Figure 13 and Figure 14 As shown, the pressing component has a first support platform for supporting the touch conductor. When the terminal under test needs to be tested using the test position, the screen of the terminal under test can be placed upwards on the terminal support platform, and the pressing component can be driven to press downwards, so that the touch conductor contacts the screen of the terminal under test to generate corresponding touch data. At the same time, the pressing component can be made to generate different pressures, so that the touch conductor contacts the screen of the terminal under test under different pressures, generating different touch data.

[0176] Furthermore, to further improve the accuracy of network matching, the touch conductor can be grounded. Grounding the touch conductor provides a stable potential reference point, reducing the impact of electromagnetic interference on the touch signal, thereby ensuring the clarity and accuracy of capacitance data. This method not only enhances signal quality and improves the sensitivity of touch operation but also helps avoid misoperation, ensuring the stability and safety of the testing process. In addition, grounding simplifies the troubleshooting process, improves the system's compatibility and adaptability, and enables it to maintain high efficiency and reliable performance in complex environments.

[0177] In this embodiment, by equipping the device with a pressing component and a first support platform, not only can the touch conductor be stably supported, but the touch pressure applied to the terminal device screen by the touch conductors at different test positions can also be precisely controlled. This allows each test position to generate unique touch data based on the required pressure conditions, thereby ensuring that the system can accurately identify and connect to the corresponding test network based on this data, improving the accuracy of the test.

[0178] Based on the above embodiments, in some embodiments, the contact area between the touch conductor and the terminal device is less than or equal to 10 square centimeters.

[0179] In this embodiment, by limiting the contact area between the touch conductor and the terminal device to 10 square centimeters or less, the baseline refresh mechanism for triggering the screen capacitance value is avoided, preventing touch data loss due to excessive contact area, and ensuring the stability and reliability of touch data.

[0180] Based on the above embodiments, in some embodiments, the surface of the touch conductor is provided with a protective layer.

[0181] In this embodiment, by providing a protective layer on the surface of the touch conductor, the risk of scratches or other damage to the screen during contact can be effectively prevented. This reduces test interruptions or retests due to equipment failure, improves the continuity and reliability of the testing process, and also reduces maintenance costs and time, thereby improving overall testing efficiency.

[0182] This application embodiment also provides a terminal device testing apparatus, which may include:

[0183] The data acquisition module is used to collect touch data from the screen.

[0184] The network connection matching module is used to determine the target network connection information based on the touch data, and connect to the corresponding test network according to the target network connection information;

[0185] The testing module is used to test the corresponding terminal devices through the test network.

[0186] Based on the above embodiments, in some embodiments, the network connection matching module can specifically be used for:

[0187] The target touch image is determined from a set of preset touch images based on touch data;

[0188] Based on a preset correspondence, determine the target network connection information corresponding to the target touch image from multiple preset network connection information.

[0189] Based on the above embodiments, in some embodiments, the network connection matching module can specifically be used for:

[0190] Obtain the initial touch image based on the touch data;

[0191] Feature extraction is performed on the initial touch image to obtain the corresponding image features;

[0192] Among a number of preset touch images, the touch image that matches the image features is identified as the target touch image.

[0193] Based on the above embodiments, in some embodiments, the network connection matching module can also be used for:

[0194] Filter the initial touch image.

[0195] Based on the above embodiments, in some embodiments, the image features include at least one or any combination of grayscale, aspect ratio of the circumscribed rectangle, roundness, difference in circumference radius, rectangularity, difference in left bottom edge of vertex, difference in right bottom edge of vertex, and triangle orientation, and the grayscale is related to the touch capacitance value of the touch data.

[0196] Based on the above embodiments, in some embodiments, the preset multiple touch images include circles, squares, rectangles, and triangles;

[0197] Image features that match a circle include: the aspect ratio of the bounding rectangle is in the range [a, b), the roundness is in the range [c, ∞), and the difference in circumference radius is in the range (0, d).

[0198] Image features that match a square include: aspect ratio of the bounding rectangle in the range [a, b), roundness in the range [e, c), difference in circumference radius in the range (d, ∞), and rectangularity in the range (g, ∞).

[0199] Image features that match a rectangle include: the aspect ratio of the bounding rectangle is in the range (h, ∞), the roundness is in the range (0, e), the difference in circumference radius is in the range (i, ∞), and the rectangularity is in the range (j, ∞).

[0200] Image features that match the triangle include: the aspect ratio of the circumscribed rectangle is in the range (0, b), the roundness is in the range (0, k), the difference in circumference radius is in the range (i, ∞), the rectangularity is in the range (0, g), the difference in the left bottom edge of the vertex is in the range (m, ∞), and the difference in the right bottom edge of the vertex is in the range (m, ∞).

[0201] Among them, a, b, c, d, e, g, h, i, g, k, and m are preset parameters.

[0202] It should be understood that the term "module" in the embodiments of this application can be implemented in software and / or hardware, without specific limitation. For example, a "module" can be a software program, hardware circuit, or a combination of both that implements the above-described functions. Hardware circuits may include application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors, etc.) and memory for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components that support the described functions.

[0203] Therefore, the modules of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0204] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the various steps of the terminal device testing method of this application.

[0205] This application also provides a computer program product containing instructions that, when run on a computer or any at least one processor, causes the computer to execute the various steps of the terminal device testing method of this application.

[0206] This application also provides a chip, including a processor and a data interface. The processor reads instructions stored in the memory through the data interface to execute the corresponding operations and / or processes of the terminal device testing method provided in this application.

[0207] Optionally, the chip further includes a memory connected to the processor via a circuit or wire, the processor being used to read and execute computer programs stored in the memory. Further optionally, the chip includes a communication interface to which the processor is connected. The communication interface is used to receive data and / or information that needs to be processed, the processor obtaining the data and / or information from the communication interface and processing the data and / or information. The communication interface can be an input / output interface.

[0208] The memory can be read-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types of dynamic storage devices that can store information and instructions. It can also be electrically erasable programmable read-only memory (EEPROM), compact disc-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed discs, laser discs, optical discs, digital universal discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices. Alternatively, it can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer.

[0209] In this embodiment, "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0210] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0211] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0212] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0213] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application shall be determined by the scope of the claims.

Claims

1. A method for testing terminal devices, applied to terminal devices, characterized in that, The method includes: Collect touch data from the screen; The target network connection information is determined based on the touch data, and the connection is made to the corresponding test network according to the target network connection information; The corresponding terminal devices are tested through the test network.

2. The method according to claim 1, characterized in that, Determining the target network connection information based on the touch data includes: The target touch image is determined from a set of preset touch images based on the touch data; The target network connection information corresponding to the target touch image is determined from multiple preset network connection information according to a preset correspondence.

3. The method according to claim 2, characterized in that, The step of determining the target touch image from a preset plurality of touch images based on the touch data includes: The initial touch image is obtained based on the touch data; Feature extraction is performed on the initial touch image to obtain the corresponding image features; Among a plurality of preset touch images, the touch image that matches the image features is determined as the target touch image.

4. The method according to claim 3, characterized in that, Before performing image feature extraction on the initial touch image, the method further includes: The initial touch image is filtered.

5. The method according to claim 3, characterized in that, The image features include at least one or any combination of grayscale, aspect ratio of the circumscribed rectangle, roundness, difference in circumference radius, rectangularity, difference in left bottom edge of vertex, difference in right bottom edge of vertex, and triangle orientation, wherein the grayscale is related to the touch capacitance value of the touch data.

6. The method according to claim 5, characterized in that, The preset multiple touch images include circles, squares, rectangles, and triangles; Image features matching the circle include: the aspect ratio of the circumscribed rectangle is in the range [a, b), the roundness is in the range [c, ∞), and the difference in circumference radius is in the range (0, d); The image features that match the square include: the aspect ratio of the circumscribed rectangle is in the range [a, b), the roundness is in the range [e, c), the difference in circumference radius is in the range (d, ∞), and the rectangularity is in the range (g, ∞); The image features matching the rectangle include: the aspect ratio of the circumscribed rectangle is in the range (h, ∞), the roundness is in the range (0, e), the difference in circumference radius is in the range (i, ∞), and the rectangularity is in the range (j, ∞). The image features matching the triangle include: the aspect ratio of the circumscribed rectangle is in the range (0, b), the roundness is in the range (0, k), the difference in circumference radius is in the range (i, ∞), the rectangularity is in the range (0, g), the difference in the left bottom edge of the vertex is in the range (m, ∞), and the difference in the right bottom edge of the vertex is in the range (m, ∞). Among them, a, b, c, d, e, g, h, i, g, k, and m are preset parameters.

7. A system for testing terminal equipment, characterized in that, The system includes multiple test positions, each of which includes a corresponding terminal carrier platform, a touch conductor, and a wireless network providing device, wherein: The terminal support platform is used to support terminal devices; The touch conductor is used to touch the screen of the terminal device to generate touch data. The touch conductors at any two different test positions are used to generate different touch data. The wireless network providing device at any two different test positions is used to provide different test networks.

8. The system according to claim 7, characterized in that, The touch conductors of any two different test positions differ in at least one of the following characteristics: pattern, material, or size.

9. The system according to claim 7, characterized in that, The system also includes: The pressing component has a first support platform on its surface, and the first support platform supports the touch conductor. The pressing component is used to ensure that the touch pressure of the touch conductor at any two different test positions on the screen of the terminal device is different.

10. The system according to claim 7, characterized in that, The contact area between the touch conductor and the terminal device is less than or equal to 10 square centimeters.

11. The system according to claim 7, characterized in that, The surface of the touch conductor is provided with a protective layer.

12. A terminal device, characterized in that, include: processor; Memory; The memory stores a computer program that, when executed, causes the terminal device to perform the method described in any one of claims 1-6.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1-6.