HDMI picture display test method, terminal equipment and storage medium
By automating test parameter settings and result judgment, the problems of high human subjectivity and low efficiency in traditional HDMI image display testing are solved, enabling efficient and accurate batch testing of TYPE-C docking stations.
Patent Information
- Application Number
- CN202511281534.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-09
- Publication Date
- 2025-12-12
AI Technical Summary
Traditional HDMI display testing relies on manual operation, which is highly subjective, inefficient, and difficult to meet the batch testing needs of products such as TYPE-C docking stations.
By using preset matching test parameters, the tested TYPE-C docking station is controlled to acquire a reference image and receive signal information and display images split by the HDMI splitter. Based on the reference image and test parameters, the test results are automatically generated, replacing manual observation and comparison.
It effectively reduces the subjectivity of manual comparison, improves testing efficiency, can meet the batch testing needs of TYPE-C expansion docks, and ensures the accuracy and reliability of test results.
Smart Images

Figure CN121116731A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of data processing, and particularly relates to a testing method, terminal device and storage medium for HDMI screen display. Background Technology
[0002] Traditional HDMI display testing methods rely on manual operation. Testers need to directly observe the HDMI image output from the docking station, compare it with the expected image, manually record relevant signal information, and finally judge the test results based on experience.
[0003] However, manual comparison of image quality is highly subjective and inefficient, making it unsuitable for the batch testing needs of products such as TYPE-C docking stations. A new technological approach is needed to address these issues. Summary of the Invention
[0004] Therefore, embodiments of the present invention provide a testing method, terminal device, and storage medium for HDMI screen display, which can solve the technical problem of low efficiency in HDMI screen display testing in related technologies.
[0005] The first aspect of this invention provides a method for testing HDMI screen display, comprising: Preset test parameters that match the TYPE-C expansion dock under test; The tested TYPE-C expansion dock is controlled to acquire a reference image and receive signal information and display images from the HDMI splitter, wherein the signal information and display images are transmitted by the HDMI splitter after splitting the HDMI signal output by the tested TYPE-C expansion dock; Based on the reference image and the test parameters, the received signal information and the displayed image are judged to generate test results.
[0006] Optionally, in a first implementation of the first aspect of the present invention, the step of presetting test parameters that match the TYPE-C docking station under test includes: Set the resolution and refresh rate corresponding to the TYPE-C docking station under test to obtain the test parameters.
[0007] Optionally, in a second implementation of the first aspect of the present invention, the step of controlling the tested TYPE-C docking station to acquire a reference image includes: Control the output of the target image from the qualified TYPE-C expansion dock; The target image is obtained as the reference image through the signal path corresponding to the TYPE-C expansion dock under test.
[0008] Optionally, in a third implementation of the first aspect of the present invention, the step of judging the received signal information and the displayed screen based on the reference screen and the test parameters, and generating a test result, includes: The signal information transmitted by the HDMI splitter is received via the DB serial port. The signal information includes the resolution information and refresh rate information of the HDMI signal. The display screen transmitted back from the HDMI splitter is received via the USB interface.
[0009] Optionally, in a fourth implementation of the first aspect of the present invention, the step of judging the received signal information and the displayed screen based on the reference screen and the test parameters, and generating a test result, includes: The resolution information in the signal information is compared with the preset resolution parameters, and the refresh rate information in the signal information is compared with the preset refresh rate parameters to obtain the comparison results. The displayed image is compared with the reference image to evaluate the quality of the displayed image and obtain a quality evaluation result. Based on the comparison results and the quality assessment results, a comprehensive test result is determined.
[0010] Optionally, in a fifth implementation of the first aspect of the present invention, comparing the displayed image with the reference image to evaluate the quality of the displayed image and obtain a quality evaluation result includes: The displayed image is compared with the reference image to evaluate at least one of the following: color accuracy, clarity, presence of screen flicker, and presence of distortion, in order to obtain the quality evaluation result.
[0011] Optionally, in a sixth implementation of the first aspect of the present invention, after the step of judging the received signal information and the display screen based on the reference screen and the test parameters to generate a test result, the method further includes: Generate a test log corresponding to the test results. The test log includes the test time, test items, test conclusions, and identification information of the tested TYPE-C expansion dock.
[0012] Optionally, in a seventh implementation of the first aspect of the present invention, after the step of judging the received signal information and the displayed screen based on the reference screen and the test parameters, and generating a test result, the method further includes: Based on the test results, the test state of the tested TYPE-C expansion dock is switched. If the test result is qualified, the tested TYPE-C expansion dock is triggered to enter the next test stage. If the test result is unqualified, the subsequent test process of the tested TYPE-C expansion dock is suspended.
[0013] Secondly, embodiments of the present invention provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described HDMI screen display test method.
[0014] Thirdly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described test method for HDMI screen display.
[0015] Fourthly, embodiments of the present invention provide a computer program product that, when run on a terminal device, causes the terminal device to execute the aforementioned HDMI screen display test method.
[0016] The beneficial effects of this invention compared with the prior art are as follows: by pre-setting matching test parameters, the tested TYPE-C expansion dock is controlled to acquire a reference image and receive signal information and display images split by the HDMI splitter. Then, the results are automatically generated based on the reference image and test parameters, replacing the traditional method of relying on manual observation, comparison and recording. This effectively reduces the subjectivity of manual comparison, improves test efficiency, and can meet the needs of batch testing of TYPE-C expansion docks. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of one embodiment of the HDMI screen display testing method in this invention. Figure 2 This is a schematic diagram of a specific embodiment of step S102 of the HDMI screen display testing method in this invention. Figure 3 This is a schematic diagram of the first specific embodiment of step S103 of the HDMI screen display testing method in this invention; Figure 4This is a schematic diagram of a second specific embodiment of step S103 of the HDMI screen display testing method in this invention. Figure 5 This is a schematic diagram of one embodiment of the terminal device in this invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are protected by this invention.
[0020] It should be noted that the terms "comprising," "including," and "having," and any variations thereof, in the specification, claims, and accompanying drawings of this invention, are intended to cover non-exclusive inclusion. For example, a process, method, terminal, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. In the claims, specification, and accompanying drawings of this invention, relational terms such as "first" and "second" are used merely to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such immediate relationship or order between these entities / operations / objects.
[0021] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0022] Traditional HDMI display testing methods rely on manual operation. Testers need to directly observe the HDMI image output from the docking station, compare it with the expected image, manually record relevant signal information, and finally judge the test results based on experience.
[0023] However, manual comparison of image quality is highly subjective and inefficient, making it unsuitable for the batch testing needs of products such as TYPE-C docking stations. A new technological approach is needed to address these issues.
[0024] In view of this, embodiments of the present invention provide a testing method, terminal device, and storage medium for HDMI screen display. By pre-setting matching test parameters, the tested TYPE-C expansion dock is controlled to acquire a reference screen and receive signal information and display screen split by an HDMI splitter. The result is then automatically generated based on the reference screen and test parameters, replacing the traditional method that relies on manual observation, comparison, and recording. This effectively reduces the subjectivity of manual comparison, improves testing efficiency, and can meet the needs of batch testing of TYPE-C expansion docks.
[0025] To illustrate the technical solution of the present invention, specific embodiments are described below.
[0026] Figure 1 This illustration shows a flowchart of a testing method for HDMI screen display provided by an embodiment of the present invention. This method can be applied to terminal devices. Terminal devices can be mobile phones, tablets, laptops, ultra-mobile personal computers (UMPCs), netbooks, etc.
[0027] Specifically, the above-mentioned test method for HDMI screen display may include the following steps S101 to S103.
[0028] Step S101: Preset test parameters that match the TYPE-C expansion dock under test.
[0029] In an embodiment of the present invention, the terminal device (the HDMI display test system) executes a step of pre-setting test parameters that match the TYPE-C docking station under test. Specifically, the terminal device pre-configures test parameters that are compatible with the model, specifications, and other characteristics of the TYPE-C docking station under test, providing a standard basis for subsequent test judgments.
[0030] Optionally, the terminal device can retrieve the historical test parameters corresponding to the TYPE-C expansion dock under test from the local memory as the initial values, or it can dynamically generate test parameters based on the device information fed back by the TYPE-C expansion dock under test after establishing communication with it.
[0031] Step S102: Control the tested TYPE-C expansion dock to acquire the reference image and receive signal information and display image from the HDMI splitter. The signal information and display image are transmitted by the HDMI splitter after splitting the HDMI signal output by the tested TYPE-C expansion dock.
[0032] In an embodiment of the present invention, after the test parameters are preset, the terminal device enters the control and receiving phase, executing the steps of controlling the tested TYPE-C docking station to acquire a reference image and receiving signal information and display images from the HDMI splitter. The terminal device first sends a control command to the tested TYPE-C docking station to induce it to acquire the reference image; simultaneously, the HDMI signal output from the tested TYPE-C docking station is transmitted to the HDMI splitter. After being split by the HDMI splitter, it forms two data streams: signal information and display images. The terminal device simultaneously receives these two data streams from the HDMI splitter.
[0033] Optionally, the terminal device can send control commands to the tested TYPE-C expansion dock via wired or wireless communication; when receiving signal information and displaying images, it can use preset interfaces (such as serial ports, USB interfaces, etc.), and the specific interface type can be determined according to the output configuration of the HDMI splitter.
[0034] Step S103: Based on the reference image and test parameters, judge the received signal information and the displayed image, and generate test results.
[0035] In an embodiment of the present invention, after receiving signal information and displaying an image, the terminal device enters the judgment and result generation stage, and performs the step of judging the received signal information and displaying an image based on a reference image and test parameters, and generating test results.
[0036] The terminal device will call upon previously preset test parameters and acquired reference images to analyze and process the received signal information and displayed images respectively. Specifically, it will compare the signal information with the test parameters and the displayed images with the reference images. By combining the results of these two comparisons, the terminal device will determine whether the HDMI image display of the tested TYPE-C docking station meets the requirements and finally generate the corresponding test results.
[0037] Optionally, the terminal device may use a preset algorithm (such as a pixel comparison algorithm, a signal parameter verification algorithm, etc.) to make a comparison judgment, or it may combine a preset qualified threshold to determine the final test result.
[0038] The beneficial effects of this invention compared with the prior art are as follows: by pre-setting matching test parameters, the tested TYPE-C expansion dock is controlled to acquire a reference image and receive signal information and display images split by the HDMI splitter. Then, the results are automatically generated based on the reference image and test parameters, replacing the traditional method of relying on manual observation, comparison and recording. This effectively reduces the subjectivity of manual comparison, improves test efficiency, and can meet the needs of batch testing of TYPE-C expansion docks.
[0039] In traditional HDMI display testing, the test parameters are often set too generally, failing to specify key parameters such as resolution and refresh rate tailored to the specific characteristics of the TYPE-C docking station under test. This leads to a mismatch between the test parameters and the device under test, potentially causing inaccurate signal information interpretation. Therefore, this invention proposes an optional embodiment, where step S101 further includes the following specific implementation: Step S1011: Set the resolution and refresh rate corresponding to the TYPE-C docking station under test to obtain the test parameters.
[0040] In an embodiment of the present invention, during the execution of preset test parameters matching the TYPE-C docking station under test, the terminal device first determines the corresponding resolution parameters for the TYPE-C docking station under test. The resolution standard that the device should meet can be determined based on the model, technical specifications, or a preset device parameter library of the TYPE-C docking station under test, and used as part of the test parameters.
[0041] Optionally, the parameter can be automatically determined by establishing communication with the tested TYPE-C docking station and reading the resolution specifications recorded in its firmware, or it can be manually entered by the operator according to the equipment manual.
[0042] Subsequently, the refresh rate parameters corresponding to the tested TYPE-C docking station were further determined. Also based on the characteristics of the tested device, the refresh rate standard it should meet was clarified as another part of the test parameters.
[0043] Optionally, the default refresh rate of the tested TYPE-C docking station can be retrieved from a locally stored device parameter lookup table.
[0044] Optionally, the refresh rate parameter settings can be dynamically adjusted based on the signal formats supported by the TYPE-C docking station.
[0045] Finally, the resolution and refresh rate parameters determined above are combined to form test parameters that match the TYPE-C docking station under test, providing a benchmark for subsequent signal information comparison.
[0046] In this embodiment of the invention, by setting the resolution and refresh rate corresponding to the TYPE-C docking station under test as test parameters, the characteristics of the test parameters are matched with those of the device under test, avoiding signal information judgment deviations caused by ambiguous or mismatched test parameters, and improving the accuracy of signal parameter comparison in HDMI screen display testing.
[0047] In traditional HDMI display testing, the reference image often uses a standard image file directly, bypassing the signal path of the tested TYPE-C docking station. This results in differences in signal characteristics between the reference image and the actual output image of the docking station, affecting the accuracy of image quality comparison. Therefore, this invention proposes an optional embodiment, referring to... Figure 2 , Figure 2 This is a schematic diagram of a specific embodiment of step S102 of the HDMI image display testing method in this invention. Step S102 further includes the following specific implementation: Step S1021: Control the qualified TYPE-C expansion dock to output the target screen.
[0048] In an embodiment of the present invention, when controlling the tested TYPE-C expansion dock to acquire a reference image, the step of controlling a qualified TYPE-C expansion dock to output a target image is executed. A command is sent to a predetermined qualified TYPE-C expansion dock, causing it to output a specific target image according to a preset signal standard. This target image serves as the original source for subsequent reference images.
[0049] Optionally, control signals can be sent to a qualified TYPE-C docking station via wired communication (such as a USB connection) or wireless commands (such as Bluetooth). The target screen can be a standard test image pre-generated by the terminal device or a reference screen stored by the qualified docking station itself.
[0050] Step S1022: Obtain the target image as the reference image through the signal path corresponding to the TYPE-C expansion dock under test.
[0051] In an embodiment of the present invention, the step of acquiring a target image as a reference image through the signal path corresponding to the TYPE-C expansion dock under test is performed. The target image output by a qualified TYPE-C expansion dock is introduced into the signal transmission path of the TYPE-C expansion dock under test (i.e., simulating the signal flow path when the expansion dock under test is actually working), and the transmitted target image is received through this path and determined as the reference image for comparison in subsequent tests.
[0052] Optionally, the signal path of the tested TYPE-C docking station may include the complete link from its input to its HDMI output.
[0053] Optionally, the target image after transmission can be acquired by a capture device (such as an HDMI splitter) connected to the output end of this path.
[0054] In this embodiment of the invention, by controlling the output of the target image from a qualified TYPE-C expansion dock and obtaining the reference image through the signal path corresponding to the TYPE-C expansion dock under test, the reference image is ensured to match the actual signal transmission characteristics of the expansion dock under test, avoiding comparison deviations caused by incompatibility between the reference image and the test path, and improving the reliability of image quality judgment.
[0055] In traditional HDMI display testing, signal information and the displayed image are often transmitted through the same interface, which can easily lead to data aliasing and transmission conflicts, affecting the accurate reception of both signal information and the displayed image, and thus interfering with test judgment. Based on this, the present invention proposes an optional embodiment, referring to... Figure 3 , Figure 3 This is a schematic diagram of the first specific embodiment of step S103 of the HDMI screen display testing method in this invention. Step S103 further includes the following specific implementation: Step S1031: Receive signal information transmitted by the HDMI splitter via the DB serial port. The signal information includes the resolution information and refresh rate information of the HDMI signal.
[0056] In an embodiment of the present invention, when judging the signal information and displayed image based on a reference image and test parameters, the step of receiving signal information transmitted by the HDMI splitter via the DB serial port is executed. A communication connection is established with the HDMI splitter through a pre-configured DB serial port, and the signal information transmitted after being split by the HDMI splitter is received. This signal information specifically includes the resolution information and refresh rate information of the HDMI signal output by the tested TYPE-C docking station.
[0057] Optionally, the communication parameters of the DB serial port (such as baud rate, data bits, etc.) can be preset to match the output format of the HDMI splitter.
[0058] Step S1032: Receive the display screen transmitted back from the HDMI splitter via the USB interface.
[0059] In an embodiment of the present invention, the step of receiving the display screen returned by the HDMI splitter via the USB interface is performed. A data transmission link is established with the HDMI splitter via the USB interface, and the display screen data after being split by the HDMI splitter is received. This display screen is the image content corresponding to the HDMI signal output by the tested TYPE-C docking station.
[0060] Optionally, the high-speed USB transmission mode can be used to improve the receiving efficiency of the display screen, and the received screen data can also be preliminarily decoded to prepare for subsequent comparison with the reference screen.
[0061] In this embodiment of the invention, the DB serial port is used to receive signal information and the USB interface is used to receive display images. This achieves separate transmission and targeted reception of signal information and display images, avoiding interference or transmission delay caused by the mixed transmission of the two types of data, and improving the stability of test data reception.
[0062] Traditional HDMI display testing often only assesses signal parameters or image quality from a single perspective, neglecting the correlation between the two. This results in an inability to fully reflect the actual performance of the device under test, easily leading to misjudgments or omissions. Therefore, this invention proposes an optional embodiment, referring to... Figure 4 , Figure 4 This is a schematic diagram of a second specific embodiment of step S103 of the HDMI image display testing method in this invention. Step S103 further includes the following specific implementation: Step S1033: Compare the resolution information in the signal information with the preset resolution parameters, and compare the refresh rate information in the signal information with the preset refresh rate parameters to obtain the comparison results.
[0063] In an embodiment of the present invention, when judging the received signal information and the displayed image based on a reference image and test parameters, the steps of comparing the resolution information in the signal information with preset resolution parameters and comparing the refresh rate information in the signal information with preset refresh rate parameters are performed to obtain comparison results. The preset resolution parameters and refresh rate parameters are retrieved and compared one by one with the resolution information and refresh rate information extracted from the signal information received from the HDMI splitter. By determining whether the two are consistent (or whether they are within a preset error range), a comparison result regarding whether the signal parameters meet the standards is generated.
[0064] Optionally, use an exact match method (requiring the values to be exactly the same).
[0065] Optionally, a reasonable tolerance range can be set to accommodate minor fluctuations in actual transmission.
[0066] Step S1034 involves comparing the displayed image with a reference image to evaluate the quality of the displayed image and obtain a quality evaluation result.
[0067] In an embodiment of the present invention, a step is included to compare the display screen with a reference screen to evaluate the quality of the display screen and obtain a quality evaluation result. This involves recalling a stored reference screen and comparing it with the received display screen at the pixel level or feature level to analyze differences in content, detail rendering, etc., thereby evaluating whether the quality of the display screen meets the standard and forming a quality evaluation result.
[0068] Optionally, grayscale comparison and edge detection algorithms can be used for image comparison.
[0069] Step S1035: Determine the comprehensive test results based on the comparison results and quality assessment results.
[0070] In the embodiments of the present invention, the comparison results of signal parameters and the evaluation results of picture quality are analyzed, and the overall test results of the tested TYPE-C expansion dock are finally generated according to the preset judgment logic (if both are qualified, the whole is qualified; if either is unqualified, the whole is unqualified).
[0071] Optionally, weights can be assigned to the two types of results (e.g., signal parameters have a higher weight).
[0072] In this embodiment of the invention, by comparing the signal parameters with preset standards and the displayed screen with the reference screen, and then combining the two types of results to determine the test conclusion, a comprehensive evaluation of the signal transmission accuracy and screen display quality of the tested TYPE-C expansion dock is achieved, avoiding the one-sidedness caused by a single dimension judgment.
[0073] Traditional HDMI display testing often relies on a general approach to assessing image quality, judging solely by visual observation whether the image is "normal" without clearly evaluating specific dimensions such as color and sharpness. This makes it difficult to accurately identify subtle quality defects in the image. Therefore, this invention proposes an optional embodiment, where step S1034 further includes the following specific implementation: In step S10341, the evaluation team compares the displayed image with the reference image and assesses at least one of the following: color accuracy, clarity, presence of screen flicker, and presence of distortion, in order to obtain a quality evaluation result.
[0074] In embodiments of the present invention, when evaluating the quality of the displayed image to obtain a quality assessment result, specific dimensions for evaluation are determined, and at least one of the following is selected as the evaluation object from the display image's color accuracy, sharpness, presence of flicker, and presence of distortion. Dimensions to be prioritized for evaluation can be preset according to the application scenario or testing requirements of the TYPE-C docking station under test. For example, for audio-visual equipment, color accuracy and sharpness can be prioritized; for dynamic display scenarios, the presence of flicker can be prioritized.
[0075] Subsequently, specific evaluation operations are performed for each selected dimension. For color accuracy, the degree of color deviation can be calculated by comparing the RGB values of corresponding pixels in the displayed image and the reference image; for sharpness, edge detection algorithms can be used to analyze the sharpness of image details, or the proportion of high-frequency components in the image can be calculated for evaluation; for the presence of screen flicker, multiple frames of the displayed image can be continuously captured to detect whether the frequency of sudden changes in brightness values exceeds a preset threshold; for the presence of distortion, the geometric structure (such as whether straight lines are curved or proportions are distorted) or content integrity (such as whether there are local missing parts) of the displayed image and the reference image can be compared.
[0076] Optionally, weights can be assigned to each evaluation dimension.
[0077] Finally, the terminal device integrates the evaluation results from all dimensions to generate an overall quality assessment result. If all evaluated dimensions meet the preset standards, the quality is deemed acceptable; if any dimension fails to meet the standard, a corresponding quality defect description is generated based on the degree of non-compliance (such as "color deviation exceeds the standard" or "slight distortion exists").
[0078] In this embodiment of the invention, by evaluating specific dimensions such as color accuracy and clarity of the displayed image, a general judgment on image quality is avoided. This allows for precise capture of quality issues at different levels, making the quality assessment results more aligned with the needs of actual usage scenarios.
[0079] Traditional HDMI display testing often lacks standardized test log records, or the log information is brief and lacks key information such as test time and device identification, making it difficult to trace test results and accurately query test details for specific devices after batch testing. Based on this, the present invention proposes an optional embodiment, which includes the following specific implementation methods after step S101: Step S201: Generate a test log corresponding to the test results. The test log includes the test time, test items, test conclusions, and identification information of the tested TYPE-C expansion dock.
[0080] In an embodiment of the present invention, after generating the test result, the step of generating the test log corresponding to the test result is executed. Specifically, the current system time is obtained as the test time; the specific items of this test are determined (such as HDMI screen display test, signal parameter verification, etc.); the generated test conclusions are extracted (such as "pass", "fail" and specific failure items); and the identification information of the tested TYPE-C expansion dock (such as device barcode, model number, etc.) is obtained.
[0081] Next, the collected test time, test items, test conclusions, and device identification information are integrated according to a preset format (such as structured text, JSON format, etc.) to form a complete test log.
[0082] Optionally, during the integration process, the test conclusions are matched one-to-one with the corresponding test items to avoid information confusion.
[0083] Finally, the generated test logs are stored or output. Logs can be stored on local storage (such as hard drives or flash memory) or transmitted over a network to a remote server or associated MES system for later querying and tracing.
[0084] Optionally, logs can be automatically categorized and archived based on the test batch.
[0085] In this embodiment of the invention, by generating a test log containing test time, test items, test conclusions and identification information of the device under test, the entire test process is recorded and traceable, which facilitates subsequent querying, statistical analysis and quality traceability of test results. Especially in batch testing scenarios, it can quickly locate the test information of problematic devices.
[0086] In traditional HDMI display testing, switching test states relies on manual judgment and operation, which is not only inefficient but also prone to errors due to human negligence, making it unsuitable for batch testing. Therefore, this invention proposes an optional embodiment, which includes the following specific implementation method after step S101: Step S202: Based on the test results, control the test state switching of the TYPE-C expansion dock under test. If the test result is qualified, the TYPE-C expansion dock under test will be triggered to enter the next test stage. If the test result is unqualified, the subsequent test process of the TYPE-C expansion dock under test will be suspended.
[0087] In an embodiment of the present invention, after generating the test results, a step of parsing the test results is performed. The generated test results are analyzed to identify the pass / fail status they represent, that is, to determine whether the test result is "pass" or "fail".
[0088] Optionally, the state can be determined by identifying a preset identifier or numerical range in the test results.
[0089] Subsequently, based on the parsed test results, the system executes operations to control the switching of the test state of the TYPE-C expansion dock under test. If the test result is qualified, a control command is sent directly to the scheduling module of the test system or the TYPE-C expansion dock under test, triggering it to enter the next preset test stage from the current test stage; if the test result is unqualified, a pause command is sent to terminate the subsequent test process of the TYPE-C expansion dock under test, and its current status can be recorded simultaneously to distinguish it from qualified devices.
[0090] Optionally, state switching control can be achieved through wired communication (such as serial port commands) or internal system interfaces (such as calling test process control functions). Alarm prompts (such as light and sound signals) can also be triggered after a pause to remind operators to handle the situation.
[0091] Finally, confirm the status transition result. Receive status feedback information from the tested TYPE-C expansion dock or test system to verify whether it has successfully entered the next stage or paused, ensuring the effectiveness of the status transition.
[0092] Optionally, if no valid feedback is received, control commands can be sent repeatedly or the status can be marked as abnormal for further investigation.
[0093] In this embodiment of the invention, by automatically controlling the test state switching of the TYPE-C expansion dock under test according to the test results, the test process is automatically connected, avoiding process interruption or operation delay caused by manual intervention, and improving the test efficiency in batch testing scenarios.
[0094] like Figure 5 The diagram illustrates a terminal device according to an embodiment of the present invention. The terminal device 500 may include a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and executable on the processor 501, such as a test program for HDMI screen display. When the processor 501 executes the computer program 503, it implements the steps in the various HDMI screen display test embodiments described above.
[0095] A computer program can be divided into one or more modules / units. One or more modules / units are stored in memory 502 and executed by processor 501 to complete the present invention. One or more modules / units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in a terminal device.
[0096] The terminal device may include, but is not limited to, processor 501 and memory 502. Those skilled in the art will understand that... Figure 5 This is merely an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, a terminal device may also include input / output devices, network access devices, buses, etc.
[0097] The processor 501 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0098] The memory 502 can be an internal storage unit of the terminal device, such as the hard drive or RAM of the terminal device. The memory 502 can also be an external storage device of the terminal device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 502 can include both internal and external storage units of the terminal device. The memory 502 is used to store computer programs and other programs and data required by the terminal device. The memory 502 can also be used to temporarily store data that has been output or will be output.
[0099] It should be noted that, for the sake of convenience and brevity, the structure of the terminal device described above can also be referred to the specific description of the structure in the method embodiment, which will not be repeated here.
[0100] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can implement the steps in the above-described HDMI screen display test method.
[0101] This invention provides a computer program product that, when run on a mobile terminal, enables the mobile terminal to perform the steps in the above-described HDMI screen display test method.
[0102] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0103] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein 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 various specific applications, but such implementations should not be considered beyond the scope of this invention.
[0104] In the embodiments provided by this invention, it should be understood that the disclosed terminal devices and methods can be implemented in other ways. For example, the terminal device embodiments described above are merely illustrative. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be indirect couplings or communication connections through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0105] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0106] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0107] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0108] The embodiments described above are merely illustrative of the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A testing method for HDMI image display, characterized in that, include: Preset test parameters that match the TYPE-C expansion dock under test; The tested TYPE-C expansion dock is controlled to acquire a reference image and receive signal information and display images from the HDMI splitter, wherein the signal information and display images are transmitted by the HDMI splitter after splitting the HDMI signal output by the tested TYPE-C expansion dock; Based on the reference image and the test parameters, the received signal information and the displayed image are judged to generate test results.
2. The test method for HDMI image display as described in claim 1, characterized in that, The steps for presetting test parameters that match the TYPE-C expansion dock under test include: Set the resolution and refresh rate corresponding to the TYPE-C docking station under test to obtain the test parameters.
3. The test method for HDMI image display as described in claim 1, characterized in that, The steps for controlling the tested TYPE-C expansion dock to acquire the reference image include: Control the output of the target image from the qualified TYPE-C expansion dock; The target image is obtained as the reference image through the signal path corresponding to the TYPE-C expansion dock under test.
4. The test method for HDMI image display as described in claim 1, characterized in that, The step of judging the received signal information and the displayed screen based on the reference screen and the test parameters, and generating test results includes: The signal information transmitted by the HDMI splitter is received via the DB serial port. The signal information includes the resolution information and refresh rate information of the HDMI signal. The display screen transmitted back from the HDMI splitter is received via the USB interface.
5. The test method for HDMI image display as described in claim 4, characterized in that, The step of judging the received signal information and the displayed screen based on the reference screen and the test parameters, and generating test results includes: The resolution information in the signal information is compared with the preset resolution parameters, and the refresh rate information in the signal information is compared with the preset refresh rate parameters to obtain the comparison results. The displayed image is compared with the reference image to evaluate the quality of the displayed image and obtain a quality evaluation result. Based on the comparison results and the quality assessment results, a comprehensive test result is determined.
6. The test method for HDMI image display as described in claim 5, characterized in that, The step of comparing the displayed image with the reference image to evaluate the quality of the displayed image and obtain a quality evaluation result includes: The displayed image is compared with the reference image to evaluate at least one of the following: color accuracy, clarity, presence of screen flicker, and presence of distortion, in order to obtain the quality evaluation result.
7. The test method for HDMI image display as described in claim 1, characterized in that, The step of judging the received signal information and the displayed screen based on the reference image and the test parameters, and generating a test result, further includes: Generate a test log corresponding to the test results. The test log includes the test time, test items, test conclusions, and identification information of the tested TYPE-C expansion dock.
8. The test method for HDMI image display as described in claim 1, characterized in that, The step of judging the received signal information and the displayed screen based on the reference image and the test parameters, and generating a test result, further includes: Based on the test results, the test state of the tested TYPE-C expansion dock is switched. If the test result is qualified, the tested TYPE-C expansion dock is triggered to enter the next test stage. If the test result is unqualified, the subsequent test process of the tested TYPE-C expansion dock is suspended.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the test method for HDMI screen display as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the test method for HDMI screen display as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Docking station test device, test system and test method
CN111176922A
Method, device and equipment for testing quality of HDMI (High Definition Multimedia Interface) and storage medium
CN118524202A
HDMI interface test method and device, and storage medium
CN119653069A
A concurrent output signal generator of slot type
KR100759248B1