Terminal testing method and system, electronic equipment and storage medium
By automatically switching signal sources and comparing image acquisition data in electronic devices, efficient and accurate testing of terminals is achieved, solving the problems of reliance on manual operation and high costs, and improving testing efficiency and stability.
Patent Information
- Application Number
- CN202411099783.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-22
AI Technical Summary
In the existing technology, terminal testing of electronic terminal products relies on manual operation, which results in low testing efficiency and high cost. In addition, it requires high computing power from the central control terminal, which increases testing costs and delays.
By responding to the channel switching command, the signal source is switched to the terminal channel under test, the test signal is received and the image acquired by the image acquisition device is obtained, the test display screen is dynamically compared with the preset display screen, the test result of the terminal channel is automatically determined, and the data processing is performed using the computing power of the electronic device itself.
It has enabled automated testing of terminals, improving testing efficiency and accuracy, reducing reliance on manual labor and testing costs, reducing data transmission latency and errors, and enhancing the stability and flexibility of the testing process.
Smart Images

Figure CN119011812A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automated testing technology, and in particular to a terminal testing method, system, electronic device and storage medium. Background Art
[0002] With the rapid development and popularization of information technology, electronic terminal products such as televisions and computers have become an indispensable part of modern life, greatly enriching people's entertainment and working methods. These electronic terminal products interact with the outside world through a variety of terminals, receive and process various types of video data, and greatly improve the user experience. In order to ensure that the electronic terminal can successfully receive external video data through its signal interface, it is necessary to detect each terminal of the electronic terminal in advance. In the relevant technology, the test method for the terminal generally relies on manual operation, which is not only time-consuming and labor-intensive, but also greatly reduces the test efficiency of the terminal.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present application is to provide a terminal testing method, system, electronic device and storage medium, aiming to achieve efficient testing of terminals.
[0005] To achieve the above object, an embodiment of the present application provides a terminal testing method, wherein the method is applied to an electronic device, and the method comprises:
[0006] In response to a channel switching instruction, switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction;
[0007] When the terminal channel to be tested receives a test signal, a test display screen is obtained according to the test signal;
[0008] Dynamically acquire an image acquired by an image acquisition device, and determine a current display screen of the electronic device according to the acquired image, wherein the current display screen includes the test display screen;
[0009] The test display screen is compared with a preset display screen that matches the test signal to determine a test result of the terminal channel to be tested.
[0010] In one embodiment, the image acquisition device is a built-in device of the electronic device, and the acquired image includes: a mirror and a display screen of the electronic device reflected by the mirror, wherein the mirror is arranged opposite to the display screen of the electronic device.
[0011] In one embodiment, the step of determining the current display screen of the electronic device according to the collected image includes:
[0012] Performing contour recognition on the collected image to obtain a first contour set;
[0013] Determining a mirror profile corresponding to the mirror from the first profile set;
[0014] Determine a second contour set according to contours in the first contour set that are within the area defined by the mirror contour;
[0015] Determine a display screen contour corresponding to the display screen of the electronic device from the second contour set;
[0016] The current display picture is determined according to the image content of the area defined by the display screen outline.
[0017] In one embodiment, the step of comparing the test display screen with a preset display screen matching the test signal to determine the test result of the terminal channel to be tested includes:
[0018] Determining the screen similarity between the test display screen and the preset display screen;
[0019] In the case where the picture similarity is greater than a preset similarity threshold, determining that the test result of the terminal channel to be tested is a test pass; or,
[0020] When the picture similarity is less than or equal to a preset similarity threshold, it is determined that the test result of the terminal channel to be tested is a test failure.
[0021] In one embodiment, after the step of switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction, the method further includes:
[0022] Determine whether the terminal channel to be tested receives the test signal;
[0023] When the terminal channel to be tested receives the test signal, a step of obtaining a test display screen according to the test signal is performed; or
[0024] In the case that the terminal channel to be tested does not receive the test signal, the step of switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction is re-executed.
[0025] In addition, to achieve the above-mentioned purpose, the embodiment of the present application further proposes a terminal testing method, wherein the method is applied to a terminal testing system, wherein the terminal testing system comprises: a signal source and a plurality of detection stations, and the method comprises:
[0026] In the case where there is an electronic device to be tested in the target detection station, a channel switching instruction is sent to the electronic device to be tested, wherein the channel switching instruction is used to instruct the electronic device to be tested to switch the local signal source to the terminal channel to be tested specified by the target detection station;
[0027] Control the signal source to send a test signal to the electronic device under test, so that the electronic device under test receives the test signal through the terminal channel under test, and obtains a test display screen according to the test signal; dynamically acquires an image acquired by an image acquisition device, and determines a current display screen of the electronic device according to the acquired image; compares the test display screen with a preset display screen that matches the test signal, and determines a test result of the terminal channel under test, wherein the current display screen includes the test display screen.
[0028] In addition, to achieve the above-mentioned purpose, the embodiment of the present application further provides a terminal testing device, which is applied to electronic equipment and includes:
[0029] A switching module is configured to respond to a channel switching instruction and switch a local signal source to a terminal channel to be tested indicated by the channel switching instruction;
[0030] an obtaining module, configured to obtain a test display screen according to the test signal when the terminal channel to be tested receives the test signal;
[0031] an acquisition module, configured to dynamically acquire an image acquired by an image acquisition device, and determine a current display screen of the electronic device according to the acquired image, wherein the current display screen includes the test display screen;
[0032] The determination module is configured to compare the test display screen with a preset display screen that matches the test signal to determine the test result of the terminal channel to be tested.
[0033] In addition, to achieve the above-mentioned purpose, an embodiment of the present application also proposes an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the terminal testing method described above.
[0034] In addition, to achieve the above-mentioned purpose, an embodiment of the present application also proposes a terminal testing system, which includes: a signal source, multiple detection stations, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the terminal testing method described above.
[0035] In one embodiment, the system further comprises a mirror disposed at each of the inspection stations, wherein the mirror is disposed opposite to a display screen of the electronic device to be tested at the inspection station, and is used to reflect a display screen of the electronic device to be tested.
[0036] In addition, to achieve the above-mentioned purpose, an embodiment of the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the terminal testing method described above are implemented.
[0037] In addition, to achieve the above-mentioned purpose, an embodiment of the present application further proposes a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the terminal testing method described above are implemented.
[0038] One or more technical solutions proposed in the embodiments of the present application have at least the following technical effects: a terminal testing method is provided, which is applied to electronic equipment, and by responding to a channel switching instruction, the local signal source is switched to the terminal channel to be tested indicated by the channel switching instruction; then the test signal is received through the terminal channel to be tested, and a test display screen is obtained according to the test signal; then the acquisition image acquired by the image acquisition device is dynamically acquired, wherein the acquisition image includes the current display screen of the electronic device, and the current display screen includes the test display screen, so the test display screen of the electronic device can be determined according to the acquisition image; then the test display screen is compared with the preset display screen that matches the test signal, and the test result of the terminal channel to be tested can be automatically determined. The embodiment of the present application realizes the automated testing of the terminals of the electronic equipment, and by carefully comparing the test display screen with the preset display screen, it can quickly and accurately evaluate whether the function of the terminal is normal. This method reduces the reliance on manual operation during the terminal testing process, thereby reducing the test time and improving the efficiency of the test. At the same time, it can also effectively avoid the errors that may be caused by human subjective judgment, and significantly improve the accuracy and reliability of terminal testing. In addition, the embodiment of the present application makes full use of the computing power of the electronic device itself to complete the in-depth analysis of the terminal test data by directly allocating the processing work of the test data to each electronic device to be tested. This method not only improves the efficiency of resource utilization, but also speeds up the speed and response time of data processing because the test data does not need to be remotely transmitted to the central control terminal, reduces the computing power requirements of the central control terminal, and reduces the testing cost. In addition, it can also reduce the delays and errors that may occur during data transmission, improve the stability and reliability of the test process, and bring higher flexibility and efficiency to the terminal automation test process. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] Figure 1 A schematic diagram of a process flow provided for the first embodiment of the terminal testing method of the present application;
[0042] Figure 2 This is a schematic diagram of the scenario involved in the terminal testing method embodiment of this application Figure 1 ;
[0043] Figure 3 This is a schematic diagram of the scenario involved in the terminal testing method embodiment of this application Figure 2 ;
[0044] Figure 4 This is a schematic diagram of the scenario involved in the terminal testing method embodiment of this application Figure 3 ;
[0045] Figure 5 This is a flow chart of a more complete embodiment of the present application;
[0046] Figure 6 This is a schematic diagram of the framework structure of the terminal testing system of this application;
[0047] Figure 7 This is a schematic diagram of the framework structure of the terminal testing device in the embodiment of the present application;
[0048] Figure 8 It is a schematic diagram of the device structure of the hardware operating environment of the electronic device involved in the terminal testing method in the embodiment of the present application.
[0049] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0052] In conventional technology, in order to ensure that the electronic terminal can successfully receive external audio and video data through its signal interface, it is necessary to detect each terminal of the electronic terminal in advance. In related technologies, the testing method for the terminals of electronic terminals generally relies on manual operation, which is not only time-consuming and labor-intensive, but also greatly reduces the testing efficiency of the terminals. In addition, it is also necessary to process the test data of the terminals through an additional control terminal, which increases the computing burden of the control terminal and increases the testing cost.
[0053] The embodiment of the present application provides a solution, which is applied to an electronic device, and by responding to a channel switching instruction, the local signal source is switched to the terminal channel to be tested indicated by the channel switching instruction; then the test signal is received through the terminal channel to be tested, and a test display screen is obtained according to the test signal; then the captured image captured by the image acquisition device is dynamically acquired, wherein the captured image includes the current display screen of the electronic device, and the current display screen includes the test display screen, so the test display screen of the electronic device can be determined according to the captured image; then the test display screen is compared with the preset display screen that matches the test signal, and the test result of the terminal channel to be tested can be automatically determined. The embodiment of the present application realizes the automated test of the terminal of the electronic device, and by carefully comparing the test display screen with the preset display screen, it can quickly and accurately evaluate whether the function of the terminal is normal. This method reduces the dependence on manual operation during the terminal test process, thereby reducing the test time and improving the test efficiency. At the same time, it can also effectively avoid errors that may be caused by human subjective judgment, and significantly improve the accuracy and reliability of the terminal test. In addition, the embodiment of the present application makes full use of the computing power of the electronic device itself to complete the in-depth analysis of the terminal test data by directly allocating the processing work of the test data to each electronic device to be tested. This method not only improves the efficiency of resource utilization, but also speeds up data processing and response time, reduces the computing power requirements of the central control terminal, and reduces testing costs, because the test data does not need to be transmitted remotely to the central control terminal. In addition, it can also reduce the delays and errors that may occur during data transmission, improve the stability and reliability of the test process, and bring higher flexibility and efficiency to the terminal's automated test process.
[0054] Reference Figure 1 , Figure 1 This is a flow chart of the first embodiment of the terminal testing method of the present application.
[0055] It should be noted that the execution subject of the terminal testing method can be an electronic device, which is a physical device that has terminal function testing requirements, such as a television, a computer, a set-top box, etc.; the electronic device can have a matching display screen, or an external display screen during the terminal testing process, which is not limited in this embodiment of the present application. The terminal testing method includes:
[0056] Step S10, in response to the channel switching instruction, switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction;
[0057] In a feasible embodiment, during a functional test of a terminal of an electronic device, when the electronic device receives a channel switching instruction, the electronic device responds to the channel switching instruction and switches its local signal source to the terminal channel to be tested indicated by the channel switching instruction.
[0058] It should be understood that a terminal is an interface used to connect electronic devices and other devices, and is used for data transmission and signal output of electronic devices; the terminal can be connected to a variety of devices such as television broadcast signals, audio, cameras, computers, etc. to achieve audio and video input and output. Electronic devices can be provided with multiple terminals with different functions, such as HDMI (High Definition Multimedia Interface) interface, AV (Audio Video) interface, S interface, VGA (Video Graphics Array) interface, etc. Therefore, it is necessary to switch the signal source of the electronic device to the terminal channel of each terminal to be tested (i.e., the terminal channel to be tested) one by one when the terminal to be tested is connected with a connecting line, so as to check whether the function of the terminal to be tested is normal.
[0059] Step S20, when the terminal channel to be tested receives a test signal, a test display screen is obtained according to the test signal;
[0060] In a feasible embodiment, the electronic device dynamically determines whether the terminal channel to be tested receives the test signal, and then obtains a test display screen according to the test signal and displays the screen when it is determined that the terminal channel to be tested receives the test signal.
[0061] Exemplarily, the electronic device can be a device equipped with a display screen, such as a television, a laptop, etc., and the screen content is displayed through its built-in display screen. In the case where the electronic device itself does not have a display screen, an external display screen can be set for each electronic device during the test, and the test signal can be converted into a visual image, and the screen can be displayed on the external display screen.
[0062] Exemplarily, in the scenario of automated testing of the terminals of an electronic device, a terminal testing system may be provided, the terminal testing system comprising: a central control terminal, a signal source, and a plurality of detection stations, wherein each detection station is used to test different types of terminals. During the terminal test, the electronic device to be tested is set at the target detection station, and the central control terminal sends a channel switching instruction to the electronic device according to the terminal to be tested that the target detection station is responsible for, so that the electronic device switches its local signal source to the terminal channel of the terminal to be tested (i.e., the terminal channel to be tested). The central control terminal controls the signal source to send a test signal matching the target detection station to the electronic device, so that the electronic device displays a screen.
[0063] Exemplarily, each inspection station of the terminal testing system can be respectively provided with a matching control terminal, and then when there is an electronic device to be tested in the target inspection station, the matching control terminal of the target inspection station sends a channel switching instruction to the electronic device to be tested, and controls the signal source to send a test signal to the electronic device to be tested.
[0064] Exemplarily, each inspection station of the terminal testing system may be provided with a matching signal source, and when there is an electronic device to be tested in the target inspection station, the matching signal source of the target inspection station sends a test signal to the electronic device to be tested.
[0065] Exemplarily, when the electronic device reaches the target detection station, it can be wired to a signal source matching the target detection station through the terminal to be tested, wherein the wiring (ie, wired connection) can be achieved manually or by a robotic arm.
[0066] Exemplarily, each electronic device to be tested may be provided with a matching signal source. During testing, all terminals to be tested of the electronic device are wired to the signal source, so that in the subsequent testing of each terminal, there is no need to plug in wires to the terminals one by one.
[0067] Exemplarily, the terminal testing system may further include: a conveying device, through which each electronic device to be tested reaches each inspection station and is then transferred from each inspection station to the next inspection station, thereby realizing automated testing and improving overall testing efficiency.
[0068] Step S30, dynamically acquiring an image acquired by an image acquisition device, and determining a current display screen of the electronic device according to the acquired image, wherein the current display screen includes a test display screen;
[0069] In a feasible embodiment, the electronic device dynamically acquires a captured image captured by a preset image capture device, and the captured image includes a display screen presented by a display screen of the electronic device, and the display screen of the electronic device is a test display screen associated with a test signal; therefore, the electronic device can further determine the test display screen based on the captured image.
[0070] Exemplarily, the preset image acquisition device may be an external device or a built-in device of the electronic device.
[0071] Step S40, comparing the test display screen with the preset display screen that matches the test signal, and determining the test result of the terminal channel to be tested.
[0072] In a feasible embodiment, the electronic device matches a preset display screen that matches the test signal, and then compares the preset display screen and the test display screen; based on the comparison result, the test result of the terminal channel to be tested can be determined to achieve automated testing of the terminal.
[0073] Exemplarily, the electronic device may store a preset display screen on the local side, or obtain the preset display screen from an associated database.
[0074] Conventionally, the terminal test data of each electronic device needs to be transmitted to an additional central control terminal, and then the central control terminal performs data analysis to determine the test results. However, this requires a high computing power of the central control terminal, which will undoubtedly increase the overall test cost. The embodiment of the present application makes full use of the computing power of the electronic device itself to complete the in-depth analysis of the terminal test data by directly allocating the processing of the test data to each electronic device to be tested. This method not only improves the efficiency of resource utilization, but also speeds up the speed and response time of data processing because the test data does not need to be remotely transmitted to the central control terminal, reduces the computing power requirements for the central control terminal, and reduces the test cost. The risk of single point failure is reduced through decentralized data processing, and the stability of the entire test system is improved; and as the number of devices to be tested increases, the central control system does not need to be upgraded on a large scale, enhancing the scalability of the system. In addition, it can also reduce the delays and errors that may occur during data transmission, improve the stability and reliability of the test process, and bring higher flexibility and efficiency to the automated test process of the terminal.
[0075] Exemplarily, when the test of all terminals is completed, the electronic device outputs a preset test result interface, wherein the test result interface displays the test result of each terminal.
[0076] In this embodiment, by responding to the channel switching instruction, the local signal source is switched to the terminal channel to be tested indicated by the channel switching instruction; then the test signal is received through the terminal channel to be tested, and the test display screen is obtained according to the test signal; then the captured image captured by the image acquisition device is dynamically acquired, wherein the captured image includes the current display screen of the electronic device, and the current display screen includes the test display screen, so the test display screen of the electronic device can be determined according to the captured image; then the test display screen is compared with the preset display screen that matches the test signal, and the test result of the terminal channel to be tested can be automatically determined. The embodiment of the present application realizes the automated test of the terminal of the electronic device, and by carefully comparing the test display screen with the preset display screen, it can quickly and accurately evaluate whether the function of the terminal is normal. This method reduces the dependence on manual operation during the terminal test process, thereby reducing the test time and improving the test efficiency. At the same time, it can also effectively avoid the errors that may be caused by human subjective judgment, and significantly improve the accuracy and reliability of the terminal test. In addition, the embodiment of the present application makes full use of the computing power of the electronic device itself to complete the in-depth analysis of the terminal test data by directly allocating the processing work of the test data to each electronic device to be tested. This method not only improves the efficiency of resource utilization, but also speeds up data processing and response time, reduces the computing power requirements of the central control terminal, and reduces testing costs, because the test data does not need to be transmitted remotely to the central control terminal. In addition, it can also reduce the delays and errors that may occur during data transmission, improve the stability and reliability of the test process, and bring higher flexibility and efficiency to the terminal's automated test process.
[0077] Based on the above-mentioned first embodiment, a second embodiment of the terminal testing method of the present application is proposed. In this embodiment, the image acquisition device is a built-in device of the electronic device, and the acquired image includes: a mirror and a display screen of the electronic device reflected by the mirror, wherein the mirror and the display screen of the electronic device are arranged opposite to each other.
[0078] In a feasible embodiment, conventional terminal testing can verify the functionality of the electronic terminal terminals by analyzing the images captured by high-definition visual equipment. Although the terminal testing efficiency is improved to a certain extent, high-quality high-definition visual equipment is often expensive, which leads to high costs for terminal testing. In the embodiment of the present application, a mirror can be set in the detection station, and the mirror and the display screen of the electronic device can be set relative to each other, so that the display screen of the electronic device is reflected by the mirror surface; and the image acquisition device built into the electronic device is used to realize the image acquisition of the current display screen of this end. Since most electronic devices usually have a high-definition camera (i.e., an image acquisition device) in order to improve user experience and functionality, the high-definition camera that comes with the electronic device can be used, so as to realize the reuse of multiple devices and improve resource utilization without increasing the test cost.
[0079] For example, refer to Figure 2 , the electronic device is a television 10, and the controller 12 of the television responds to the channel switching instruction to switch the local signal source to the terminal channel to be tested indicated by the channel switching instruction; when the terminal channel to be tested receives the test signal, the controller 12 of the television obtains the test display screen according to the test signal; the controller 12 of the television dynamically obtains the captured image captured by the camera 13 of the local end. A mirror 20 is provided in the light emitting direction of the display screen of the television 10, which is arranged opposite to the display screen of the television 10 and can reflect the display screen of the television 10 through the mirror. Therefore, the captured image captured by the camera 13 of the television may include the display screen of the television 10 ( Figure 2 The dotted line in the middle is the image acquisition range of the camera 13). Then, the controller 12 of the TV determines the test display screen of the electronic device according to the acquired image; the controller 12 of the TV retrieves the preset display screen matching the test signal from the local memory 11, and compares it with the test display screen, and determines the test result of the terminal channel to be tested according to the comparison result.
[0080] In one feasible implementation, step S30, the step of determining the current display screen of the electronic device according to the captured image includes:
[0081] Step S31, performing contour recognition on the collected image to obtain a first contour set;
[0082] In a feasible embodiment, the electronic device performs contour recognition on the collected image to obtain the contour of each object in the collected image, and combines them to obtain a first contour set.
[0083] Step S32, determining a mirror contour corresponding to the mirror from the first contour set;
[0084] In a feasible embodiment, since the captured image will capture the mirror and its reflection, the electronic device can first determine the mirror contour corresponding to the mirror from the first contour set.
[0085] Exemplarily, according to a preset mirror contour shape and a mirror contour range, a mirror contour corresponding to the mirror is determined from a first contour set.
[0086] Step S33, determining a second contour set according to the contours in the first contour set that are within the area defined by the mirror contour;
[0087] In a feasible embodiment, since the display screen of the electronic device will be reflected by the mirror surface, the display screen will be located in the image reflected by the mirror, and then the contours in the first contour set that are within the area defined by the mirror contour are filtered out and combined to obtain the second contour set.
[0088] Step S34, determining a display screen contour corresponding to the display screen of the electronic device from the second contour set;
[0089] In a feasible embodiment, since some contours of display screens of non-electronic devices have been screened out, the display screen contour corresponding to the display screen of the electronic device can be directly determined from the second contour set.
[0090] Exemplarily, according to a preset display screen outline shape and a display screen outline range, a display screen outline corresponding to the display screen of the electronic device is determined from the second outline set.
[0091] Exemplarily, the neural network model may be used to identify the type of each object in the captured image, and then the object whose identification type belongs to the display screen may be determined to be the display screen of the electronic device.
[0092] Step S35, determining the current display image according to the image content of the area defined by the display screen outline.
[0093] In a feasible embodiment, the current display frame can be determined according to the image content of the area defined by the display screen outline.
[0094] In one feasible implementation manner, each vertex of the display screen corresponding to the test signal is respectively provided with a positioning reference marker, and the positioning reference marker is a polygon. Step S30, the step of determining the current display screen of the electronic device according to the acquired image includes: performing contour recognition on the acquired image to obtain a first contour set, and filtering out a target marker contour corresponding to the positioning reference marker from the first contour set according to the contour shape of the positioning reference marker; performing corner point recognition on the acquired image to obtain a first corner point set, and filtering out target corner points corresponding to the vertices of the current display screen from the first corner point set according to the center point of each target marker contour; determining the screen position information according to the position information of each target corner point, and determining the image content corresponding to the screen position information in the acquired image as the test display screen.
[0095] Exemplarily, the step of filtering out the target identification contour corresponding to the positioning reference marker from the first contour set according to the contour shape of the positioning reference marker includes: determining the number of vertices of the positioning reference marker according to the contour shape of the positioning reference marker, and filtering out multiple contours with the same number of vertices as the positioning reference marker from the first contour set to obtain a second contour set; determining the regional grayscale value within the area defined by each contour included in the second contour set in the acquired image; and filtering out the target identification contour from the second contour set according to the grayscale value of each region.
[0096] For example, refer to Figure 3 , the captured image 100 includes the current display screen 110 of the display screen of the electronic device, and each vertex of the current display screen 110 is respectively provided with a positioning reference mark 111, and the positioning reference mark 111 is a triangle; the captured image 100 also includes obstacles (P8, P7 and P9). Contour recognition is performed on the captured image 100 to obtain a first contour set, including: P1 to P9; since the positioning reference mark 111 is a triangle, the number of vertices of the positioning reference mark 111 is 3, and then the contour with 3 vertices in the first contour set is determined as a contour consistent with the contour shape corresponding to the positioning reference mark 111, and a second contour set is obtained, including: P3, P4, P5, P6 and P7. The color of the internal area of the positioning reference mark 111 is the target grayscale value, so according to the preset grayscale value range, P3, P4, P5 and P6 are determined as the target mark contours.
[0097] Exemplarily, the step of selecting target corner points corresponding to the vertices of the currently displayed image from the first corner point set according to the center points of the target identification contours includes: determining the angular center distance between each corner point in the first corner point set and the center point of each target identification contour; sorting each corner point in the first corner point set according to the angular center distance associated with the center point of each target identification contour to obtain a corner point sorting result associated with the center point of each target identification contour; determining a target rank associated with the corner point sorting result according to the number of vertices of the positioning reference marker; and determining the target corner point from each corner point sorting result according to the target rank.
[0098] For example, refer to Figure 4 , the acquired image 100 includes the current display screen 110, and each vertex of the current display screen 110 is respectively provided with a positioning reference mark 111, and the positioning reference mark 111 is a triangle; the acquired image 100 also includes obstacles (P8, P7 and P9). Contour recognition is performed on the acquired image 100 to obtain a first contour set, including: P1 to P9. According to the contour shape corresponding to the positioning reference mark 111, the target mark contour corresponding to the positioning reference mark 111 is filtered out from the first contour set, namely P3, P4, P5 and P6. Corner point recognition is performed on the acquired image 100 to obtain a first corner point set, in which, Figure 4Each black × represents a corner point in the first corner point set. Since the positioning reference mark 111 is a triangle, the target ranking is determined to be 3 plus one, that is, 4. Determine the distance between each corner point in the first corner point set and the center point of each target mark outline, and obtain the angle-center distance associated with the center point of each target mark outline; and use each target mark outline as a reference, sort the corner points in the first corner point set based on the angle-center distance associated with it, and obtain the corner point sorting result associated with the center point of each target mark outline, wherein the shorter the angle-center distance, the higher the ranking. Taking P3 as a reference, the top 4 corner points in the corner point sorting result include: A31, A32, A33 and A34; wherein A31, A32 and A33 are the corner points corresponding to the vertices of P3, therefore, the corner point sorting result of the corner point corresponding to the vertex of the current display screen 110 should be the 4th, that is, A34. Similarly, with P4 as a reference, the top 4 corner points in the corner point sorting result include: A41, A42, A43 and A44; among them, A41, A42 and A43 are the corner points corresponding to the vertices of P4, so the corner point sorting result corresponding to the vertices of the current display screen 110 should be the 4th, that is, A44. With P5 as a reference, the top 5 corner points in the corner point sorting result include: A51, A52, A53 and A54; among them, A51, A52 and A53 are the corner points corresponding to the vertices of P5, so the corner point sorting result corresponding to the vertices of the current display screen 110 should be the 4th, that is, A54. Taking P6 as a reference, the first 6 corner points in the corner point sorting result include: A61, A62, A63 and A64; among them, A61, A62 and A63 are the corner points corresponding to the vertices of P6, so the corner point sorting result corresponding to the vertex of the current display screen 110 should be the 4th, that is, A64. Thus, the target corner points corresponding to the vertices of the current display screen 110 are obtained, that is, A34, A44, A54 and A64.
[0099] In this embodiment, by performing contour recognition on the captured image, the display screen contour corresponding to the display screen of the electronic device is determined, and then the current display screen is determined based on the image content of the area defined by the display screen contour, thereby achieving rapid recognition of the current display screen of the electronic device and improving terminal testing efficiency.
[0100] Based on the above first and / or second embodiments, a third embodiment of the terminal testing method of the present application is proposed. In this embodiment, after the step of switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction in step S10, the method further includes:
[0101] Step S11, determining whether the terminal channel to be tested receives a test signal;
[0102] Step S12, when the terminal channel to be tested receives a test signal, executing the step of obtaining a test display screen according to the test signal; or,
[0103] Step S13, when the terminal channel to be tested does not receive the test signal, re-execute the step of switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction.
[0104] In a feasible embodiment, the electronic device determines whether the terminal channel to be tested receives the test signal. If the terminal channel to be tested receives the test signal, step S20 is executed to obtain a test display screen according to the test signal, and subsequent steps. If the terminal channel to be tested does not receive the test signal, step S10 is re-executed to switch the local signal source to the terminal channel to be tested indicated by the channel switching instruction.
[0105] Exemplarily, when the terminal channel to be tested does not receive the test signal, the step of switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction is re-executed until the number of step executions (i.e., the number of channel switching times) reaches a preset switching threshold, and the test result of the terminal channel to be tested is determined to be a test failure, and the reason for the failure is recorded.
[0106] In this embodiment, before making a display screen judgment, it is pre-checked whether the terminal channel to be tested receives the test signal, and if the terminal channel to be tested does not receive the test signal, the step of switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction is re-executed, thereby automatically detecting and responding to problems that may arise during the test process, thereby improving overall stability and reliability.
[0107] In one feasible implementation, step S40, comparing the test display screen with the preset display screen matching the test signal, and determining the test result of the terminal channel to be tested includes:
[0108] Step S41, determining the screen similarity between the test display screen and the preset display screen;
[0109] Step S42, when the picture similarity is greater than a preset similarity threshold, determining the test result of the terminal channel to be tested as a test pass; or,
[0110] Step S43: when the picture similarity is less than or equal to the preset similarity threshold, determining that the test result of the terminal channel to be tested is a test failure.
[0111] In a feasible embodiment, the electronic device determines the screen similarity between the test display screen and the preset display screen; and determines the size relationship between the screen similarity and the preset similarity threshold. When the screen similarity is greater than the preset similarity threshold, it indicates that the test display screen and the preset display screen corresponding to the test signal are consistent, and the test result of the terminal channel to be tested is determined to be a test pass. When the screen similarity is less than or equal to the preset similarity threshold, it indicates that the difference between the test display screen and the preset display screen corresponding to the test signal is large, and the test result of the terminal channel to be tested is determined to be a test failure.
[0112] To assist in understanding the above technical solutions, a more complete embodiment of the present application is provided. Figure 5 ; Step B10, the electronic device is turned on; Step B20, the electronic device enters the automatic test mode and receives the channel switching instruction; Step B30, the electronic device determines whether the channel switching instruction is received, if it is received, executes step B40, if not, executes step B20 to receive the channel switching instruction. Step B40, the electronic device responds to the channel switching instruction and switches the local signal source to the terminal channel to be tested indicated by the channel switching instruction; Step B50, the electronic device determines whether the test signal is received, if it is received, executes step B60, if it is not received, executes step B40, and switches the local signal source to the terminal channel to be tested indicated by the channel switching instruction. Step B60, the electronic device obtains the test display screen according to the test signal, and dynamically obtains the acquisition image acquired by the preset image acquisition device, wherein the acquisition image includes the display screen of the electronic device, and the current display screen includes the test display screen; Step B70, the electronic device determines the current display screen of the electronic device according to the acquisition image; Step B80, the electronic device determines the similarity between the preset display screen matching the test signal and the test display screen. Step B90: The electronic device determines the test result of the terminal channel to be tested according to the magnitude relationship between the similarity and a preset similarity threshold.
[0113] In this embodiment, by carefully comparing the test display screen with the preset reference screen, it is possible to quickly and accurately evaluate whether the terminal functions normally. This method reduces the reliance on manual operation during the terminal test, thereby reducing the test time and improving the test efficiency. At the same time, it can also effectively avoid errors that may be caused by human subjective judgment, and significantly improve the accuracy and reliability of terminal testing.
[0114] Based on the above-mentioned first, second and / or third embodiments, a fourth embodiment of the terminal testing method of the present application is proposed. In this embodiment, the terminal testing method is applied to a terminal testing system, and the terminal testing system includes: a signal source and a plurality of detection stations. The method includes:
[0115] Step A10, when there is an electronic device to be tested in the target detection station, sending a channel switching instruction to the electronic device to be tested, wherein the channel switching instruction is used to instruct the electronic device to be tested to switch the local signal source to the terminal channel to be tested specified by the target detection station;
[0116] In a feasible embodiment, the terminal testing system may include a central control terminal. When the central control terminal detects that there is an electronic device to be tested in the target detection station, it determines the terminal to be tested that the target detection station is responsible for testing, and generates a channel switching instruction based on the terminal to be tested; the channel switching instruction is sent to the electronic device to be tested in the target detection station, so that the electronic device to be tested responds to the channel switching instruction and switches the local signal source to the terminal channel to be tested indicated by the channel switching instruction.
[0117] Exemplarily, each inspection station of the terminal testing system may be provided with a matching control terminal, and when there is an electronic device to be tested in the target inspection station, the matching control terminal of the target inspection station sends a channel switching instruction to the electronic device to be tested.
[0118] Exemplarily, the terminal testing system may include a central control terminal, and each detection station is provided with a sensor. When the electronic device to be tested arrives at the detection station, the sensor of the detection station generates a sensor signal; the central control terminal determines the presence of the detection station of the electronic device to be tested based on the sensor signal, and determines it as the target detection station.
[0119] Step A20, controlling the signal source to send a test signal to the electronic device under test, so that the electronic device under test receives the test signal through the terminal channel under test, and obtains a test display screen according to the test signal; dynamically acquiring an image acquired by an image acquisition device, and determining the current display screen of the electronic device according to the acquired image; comparing the test display screen with a preset display screen that matches the test signal, and determining the test result of the terminal channel under test, wherein the current display screen includes the test display screen.
[0120] In a feasible embodiment, the central control terminal controls the signal source to send a test signal to the electronic device under test, so that the electronic device under test receives the test signal through the terminal channel under test, and obtains a test display screen according to the test signal; dynamically obtains an image captured by a preset image acquisition device, and determines the current display screen of the electronic device under test according to the captured image; compares the test display screen with the preset display screen that matches the test signal, and determines the test result of the terminal channel under test.
[0121] Exemplarily, each inspection station of the terminal testing system may be provided with a matching signal source, and when there is an electronic device to be tested in the target inspection station, the matching signal source of the target inspection station sends a test signal to the electronic device to be tested.
[0122] Exemplarily, when the electronic device reaches the target detection station, it can be wired to a signal source matching the target detection station through the terminal to be tested, wherein the wiring (ie, wired connection) can be achieved manually or by a robotic arm.
[0123] Exemplarily, each electronic device to be tested may be provided with a matching signal source. During testing, all terminals to be tested of the electronic device are wired to the signal source, so that in the subsequent testing of each terminal, there is no need to plug in wires to the terminals one by one.
[0124] Exemplarily, the terminal testing system may further include: a conveying device, through which each electronic device to be tested reaches each inspection station and is then transferred from each inspection station to the next inspection station, thereby realizing automated testing and improving overall testing efficiency.
[0125] Step A20, controlling the signal source to send a test signal to the electronic device under test, so that the electronic device under test receives the test signal through the terminal channel under test, and obtains a test display screen according to the test signal; dynamically acquiring an image acquired by a preset image acquisition device, and determining the current display screen of the electronic device under test according to the acquired image; comparing the test display screen with the preset display screen that matches the test signal, and determining the test result of the terminal channel under test, wherein the acquired image includes the display screen of the electronic device under test.
[0126] For example, refer to Figure 6 The terminal testing system includes: a conveying device (the direction of the arrow represents the conveying direction), a plurality of inspection stations, and a control terminal and a signal source matched with each inspection station, wherein each inspection station is used to test different types of terminals. Each inspection station is also provided with a mirror, which is arranged opposite to the display screen of the electronic device to be tested at the inspection station, and is used to reflect the display screen of the electronic device to be tested. The electronic device to be tested reaches each inspection station through the conveying device, and the control terminal matched with each inspection station sends a channel switching instruction to the electronic device to be tested, and controls the matched signal source to send a test signal to the electronic device to be tested. When the electronic device to be tested completes the terminal test of the inspection station, it goes to the next inspection station through the conveying device until all terminals are tested; it is transmitted to the general inspection through the conveying device, and the electronic device to be tested outputs a preset test result interface, wherein the test result interface displays the test results of each terminal, and is finally verified by the general inspection.
[0127] In this embodiment, the electronic device compares the test display screen of its own end with the preset reference screen in detail, so as to quickly and accurately evaluate whether the function of the terminal is normal. This method reduces the reliance on manual operation during the terminal test process, thereby reducing the test time and improving the efficiency of the test. At the same time, it can also effectively avoid the errors that may be caused by human subjective judgment, and significantly improve the accuracy and reliability of the terminal test. In addition, the embodiment of the present application makes full use of the computing power of the electronic device itself to complete the in-depth analysis of the terminal test data by directly allocating the processing work of the test data to each electronic device to be tested. This method not only improves the utilization efficiency of resources, but also speeds up the speed and response time of data processing because the test data does not need to be remotely transmitted to the central control terminal, reduces the computing power requirements for the central control terminal, and reduces the test cost. In addition, it can also reduce the delays and errors that may occur during data transmission, improve the stability and reliability of the test process, and bring higher flexibility and efficiency to the automated test process of the terminal.
[0128] The present application embodiment provides a terminal testing device, referring to Figure 7 , the device is applied to electronic equipment, the device comprises:
[0129] The switching module 101 is configured to respond to a channel switching instruction and switch the local signal source to the terminal channel to be tested indicated by the channel switching instruction;
[0130] The obtaining module 102 is configured to obtain a test display screen according to the test signal when the terminal channel to be tested receives the test signal;
[0131] The acquisition module 103 is configured to dynamically acquire an image acquired by an image acquisition device, and determine a current display screen of the electronic device according to the acquired image, wherein the current display screen includes a test display screen;
[0132] The determination module 104 is configured to compare the test display screen with a preset display screen that matches the test signal, and determine the test result of the terminal channel to be tested.
[0133] The terminal testing device provided in the embodiment of the present application adopts the terminal testing method in the above embodiment to achieve efficient testing of the terminal. Compared with conventional technology, the beneficial effects of the terminal testing device provided in the embodiment of the present application are the same as the beneficial effects of the terminal testing method provided in the above embodiment, and other technical features in the terminal testing device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0134] An embodiment of the present application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the terminal testing method in the above-mentioned embodiment 1.
[0135] Reference below Figure 8 , respectively show the structural schematic diagrams of electronic devices suitable for implementing the embodiments of the present application. The electronic devices in the embodiments of the present application may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0136] like Figure 8 As shown, the electronic device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0137] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0138] The electronic device provided in the embodiment of the present application adopts the terminal testing method in the above embodiment to achieve efficient testing of the terminal. Compared with conventional technology, the beneficial effects of the electronic device provided in the embodiment of the present application are the same as the beneficial effects of the terminal testing method provided in the above embodiment, and other technical features in the electronic device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0139] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0140] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0141] An embodiment of the present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, wherein the computer-readable program instructions are used to execute the terminal testing method in the above-mentioned embodiment.
[0142] The computer-readable storage medium provided in the embodiment of the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium that includes or stores a program that can be used by or in combination with an instruction execution system, system or device. The program code included on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0143] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0144] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device: responds to a channel switching instruction and switches the local signal source to the terminal channel to be tested indicated by the channel switching instruction; when the terminal channel to be tested receives a test signal, obtains a test display screen according to the test signal; dynamically obtains a captured image captured by an image acquisition device, and determines the current display screen of the electronic device according to the captured image, wherein the current display screen includes the test display screen; compares the test display screen with a preset display screen that matches the test signal to determine the test result of the terminal channel to be tested.
[0145] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0146] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code includes one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0147] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0148] The readable storage medium provided in the embodiment of the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned terminal testing method, and can realize efficient testing of terminals. Compared with conventional technologies, the beneficial effects of the computer-readable storage medium provided in the embodiment of the present application are the same as the beneficial effects of the terminal testing method provided in the above-mentioned embodiment, and will not be repeated here.
[0149] The above are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A terminal testing method, It is characterized in that The method is applied to electronic equipment, and the method comprises: In response to a channel switching instruction, switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction; When the terminal channel to be tested receives a test signal, a test display screen is obtained according to the test signal; Dynamically acquire an image acquired by an image acquisition device, and determine a current display screen of the electronic device according to the acquired image, wherein the current display screen includes the test display screen; The test display screen is compared with a preset display screen that matches the test signal to determine a test result of the terminal channel to be tested.
2. The method according to claim 1, It is characterized in that The image acquisition device is a built-in device of the electronic device, and the acquired image includes: a mirror and a display screen of the electronic device reflected by the mirror, wherein the mirror is arranged opposite to the display screen of the electronic device.
3. The method according to claim 2, It is characterized in that The step of determining the current display screen of the electronic device according to the collected image comprises: Performing contour recognition on the collected image to obtain a first contour set; Determining a mirror profile corresponding to the mirror from the first profile set; Determine a second contour set according to contours in the first contour set that are within the area defined by the mirror contour; Determine a display screen contour corresponding to the display screen of the electronic device from the second contour set; The current display picture is determined according to the image content of the area defined by the display screen outline.
4. The method according to claim 1, It is characterized in that The step of comparing the test display screen with a preset display screen that matches the test signal to determine the test result of the terminal channel to be tested includes: Determining the screen similarity between the test display screen and the preset display screen; In the case where the picture similarity is greater than a preset similarity threshold, determining that the test result of the terminal channel to be tested is a test pass; or, When the picture similarity is less than or equal to a preset similarity threshold, it is determined that the test result of the terminal channel to be tested is a test failure.
5. The method according to claim 1, It is characterized in that After the step of switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction, the method further includes: Determine whether the terminal channel to be tested receives the test signal; When the terminal channel to be tested receives the test signal, a step of obtaining a test display screen according to the test signal is performed; or In the case that the terminal channel to be tested does not receive the test signal, the step of switching the local signal source to the terminal channel to be tested indicated by the channel switching instruction is re-executed.
6. A terminal testing method, It is characterized in that The method is applied to a terminal testing system, the terminal testing system comprising: a signal source and a plurality of detection stations, the method comprising: In the case where there is an electronic device to be tested in the target detection station, a channel switching instruction is sent to the electronic device to be tested, wherein the channel switching instruction is used to instruct the electronic device to be tested to switch the local signal source to the terminal channel to be tested specified by the target detection station; Control the signal source to send a test signal to the electronic device under test, so that the electronic device under test receives the test signal through the terminal channel under test, and obtains a test display screen according to the test signal; dynamically acquires an image acquired by an image acquisition device, and determines a current display screen of the electronic device according to the acquired image; compares the test display screen with a preset display screen that matches the test signal, and determines a test result of the terminal channel under test, wherein the current display screen includes the test display screen.
7. An electronic device, It is characterized in that The electronic device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the terminal testing method according to any one of claims 1 to 5.
8. A terminal testing system, It is characterized in that The system comprises: a signal source, a plurality of detection stations, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the terminal testing method as claimed in claim 6.
9. The system of claim 8, It is characterized in that The system further comprises a mirror arranged at each of the inspection stations, wherein the mirror is arranged opposite to the display screen of the electronic device to be tested at the inspection station and is used for reflecting the display screen of the electronic device to be tested.
10. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the terminal testing method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Pin welding state detection method and device
CN120302030A
