Pin welding state detection method and device

Through the method of multiple rounds of test images, the first test image and the second test image are constructed, which solves the problem of low pin welding state detection efficiency in the prior art, and realizes accurate detection of pin welding state and accurate positioning of display abnormalities, improving detection efficiency and accuracy.

CN120302030AActive Publication Date: 2025-07-11INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510782609.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-07-11
Estimated Expiration
2045-06-12

AI Technical Summary

Technical Problem

In the prior art, the detection efficiency of the welding status of the multimedia interface pin is low, and the welding quality cannot be accurately judged, which affects the display effect and user experience.

Method used

By constructing multiple rounds of test images, the first test image is constructed using the playback color gamut of the playback device, the target color of abnormal display is determined, and the second test image is constructed based on the target color, and the pin welding status is accurately detected.

Benefits of technology

It improves the detection efficiency of pin welding status, can accurately locate and display abnormal scenes and determine the pin welding status, improving the accuracy and efficiency of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120302030A_ABST
    Figure CN120302030A_ABST
Patent Text Reader

Abstract

The invention discloses a pin welding state detection method and device, and relates to the field of computers, and the method comprises the steps: receiving a test request; constructing a first test image of the multimedia interface according to a playing color gamut of the playing device; controlling the playing device to play the first test image, and determining an abnormally displayed target color on the multimedia interface according to first display information output by the multimedia interface; constructing a second test image of the target color for the multimedia interface; and controlling the playing device to play the second test image, and determining the target welding state of the pin on the mainboard according to the second display information output by the multimedia interface, thereby solving the technical problem of low detection efficiency of the welding state of the pin, and achieving the technical effect of improving the detection efficiency of the welding state of the pin.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and particularly to a method and device for detecting the soldering state of pins. Background Art

[0002] Multimedia interfaces are widely used in playback devices. A multimedia interface is a digital video / audio interface technology, a dedicated digital interface suitable for video transmission. This interface is usually configured on the main board of a playback device, and the soldering quality of its pins on the main board will directly affect the stability and accuracy of signal transmission, thereby affecting the display effect of multimedia files. Therefore, before a playback device leaves the factory, it is necessary to detect the soldering quality of the multimedia interface on the main board to ensure the quality of the product when it leaves the factory. Currently, the detection method for the soldering quality of the multimedia interface on the main board is mainly through manual inspection, that is, a quality inspector observes the solder joints of the multimedia interface on the main board to determine whether the pins of the multimedia interface are soldered. However, this method can only detect whether the pins are soldered, but cannot detect the quality of the soldering of the pins on the main board. For some pins with low soldering quality, it will affect the display quality in specific playback scenarios, and further affect the user experience of the product. Summary of the Invention

[0003] This application provides a method and device for detecting the soldering state of pins to at least solve the problem of low detection efficiency for the soldering state of pins in related technologies.

[0004] This application provides a method for detecting the soldering state of pins, including: receiving a test request, where the test request is used to request to detect the soldering state of the pins of a multimedia interface on the main board of a playback device to which the multimedia interface is connected; constructing a first test image of the multimedia interface according to the playback color gamut of the playback device, where the first test image is used to test the display performance of the multimedia interface for images within the playback color gamut; controlling the playback device to play the first test image, and determining a target color with abnormal display on the multimedia interface according to the first display information output by the multimedia interface; constructing a second test image of the target color for the multimedia interface, where the second test image is used to test the display performance of the multimedia interface for images of the target color; controlling the playback device to play the second test image, and determining the target soldering state of the pins on the main board according to the second display information output by the multimedia interface.

[0005] The present application also provides a detection device for the soldering state of pins, including: a receiving module, configured to receive a test request, where the test request is used to request to detect the soldering state of the pins of a multimedia interface on the main board of a playback device accessed by the multimedia interface; a first construction module, configured to construct a first test image of the multimedia interface according to the playback color gamut of the playback device, where the first test image is used to test the display performance of the multimedia interface for images within the playback color gamut; a first processing module, configured to control the playback device to play the first test image, and determine a target color with abnormal display on the multimedia interface according to the first display information output by the multimedia interface; a second construction module, configured to construct a second test image of the target color for the multimedia interface, where the second test image is used to test the display performance of the multimedia interface for images of the target color; a second processing module, configured to control the playback device to play the second test image, and determine the target soldering state of the pins on the main board according to the second display information output by the multimedia interface.

[0006] The present application also provides an electronic device, including: a memory, configured to store a computer program; a processor, configured to implement the steps of any one of the above methods for detecting the soldering state of pins when executing the computer program.

[0007] The present application also provides a computer-readable storage medium, in which a computer program is stored, where the computer program implements the steps of any one of the above methods for detecting the soldering state of pins when executed by a processor.

[0008] The present application also provides a computer program product, including a computer program, where the computer program implements the steps of any one of the above methods for detecting the soldering state of pins when executed by a processor.

[0009] Through the present application, after receiving a test request for the soldering state of pins, a multi-round test method is adopted to accurately detect the soldering state of pins. That is, first, a first test image is constructed according to the playback color gamut of the playback device, and a target color with abnormal display on the interface is determined according to the first display information output by the multimedia interface for the first test image, so as to implement a general display test for the multimedia interface and locate the color with abnormal display; then, a second test image is constructed according to the target color to test the display performance of the multimedia interface for images of the target color, and then the soldering state of the pins is determined according to the second display information output by the interface, so as to locate the abnormal display scenario of the multimedia interface and determine the soldering state of the pins through a multi-round test method. Therefore, the technical problem of low detection efficiency for the soldering state of pins in the related art can be solved, and the technical effect of improving the detection efficiency for the soldering state of pins can be achieved. Description of the Drawings

[0010] To more clearly illustrate the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0011] Figure 1 is the hardware structure block diagram of the detection method for the pin soldering state of the embodiments of the present application;

[0012] Figure 2 is the flowchart of the detection method for the pin soldering state according to the embodiments of the present application;

[0013] Figure 3 is an optional schematic diagram for detecting the pin soldering state according to the embodiments of the present application;

[0014] Figure 4 is an optional flowchart for image acquisition according to the embodiments of the present application;

[0015] Figure 5 is the structure block diagram of a detection device for the pin soldering state according to the embodiments of the present application. Specific Embodiments

[0016] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of them. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present application.

[0017] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects and not to describe a specific order or sequence.

[0018] To enable those skilled in the art of this technology to better understand the solution of the present application, the following will further elaborate on the present application in conjunction with the drawings and specific embodiments.

[0019] In combination with the specific application environment architecture or specific hardware architecture on which the execution of the detection method for the pin soldering state depends, the specific application environment architecture or specific hardware architecture is described herein.

[0020] The method embodiments provided in the embodiments of the present application can be executed on a server device or a similar computing device. Taking the operation on a server device as an example, Figure 1 is a hardware structure block diagram of the method for detecting the pin soldering state in the embodiments of the present application. As Figure 1 shown, the server device may include one or more ( Figure 1 only one is shown in Figure 1 processors 102 (the processors 102 may include, but are not limited to, processing devices such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Among them, the above server device may further include a transmission device 106 for communication functions and an input / output device 108. Those of ordinary skill in the art can understand that Figure 1 the structure shown in Figure 1 is only schematic and does not limit the structure of the above server device. For example, the server device may further include more or fewer components than

[0021] shown in

[0022] The memory 104 can be used to store computer programs. For example, software programs and modules of application software, such as the computer program corresponding to the startup method of the operating system in the embodiments of the present application. The processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely provided with respect to the processor 102, and these remote memories can be connected to the server device through a network. Examples of the above network include, but are not limited to, the Internet, an enterprise internal network, a local area network, a mobile communication network, and their combinations.

[0023] The embodiments of the present application provide a method for detecting the pin soldering state. In combination with the execution flow of the method for detecting the pin soldering state, the method is described in detail.

[0024] The following is an explanation of the technical terms appearing in this application:

[0025] HDMI: High Definition Multimedia Interface is a fully digital video and audio transmission interface that can transmit uncompressed audio and video signals.

[0026] VGA: Video Graphics Array is a computer display standard using analog signals proposed by IBM in 1987.

[0027] In this embodiment, a method for detecting the soldering state of pins is provided. Figure 2 It is a flowchart of the method for detecting the soldering state of pins according to the embodiment of this application, as Figure 2 shown. The method includes the following steps:

[0028] Step S202, receiving a test request, where the test request is used to request detecting the soldering state of the pins of a multimedia interface on the main board of the playback device accessed by the multimedia interface;

[0029] Step S204, constructing a first test image of the multimedia interface according to the playback color gamut of the playback device, where the first test image is used to test the display performance of the multimedia interface for images within the playback color gamut;

[0030] Step S206, controlling the playback device to play the first test image, and determining a target color with abnormal display on the multimedia interface according to the first display information output by the multimedia interface;

[0031] Step S208, constructing a second test image of the target color for the multimedia interface, where the second test image is used to test the display performance of the multimedia interface for images of the target color;

[0032] Step S210, controlling the playback device to play the second test image, and determining the target soldering state of the pins on the main board according to the second display information output by the multimedia interface.

[0033] Through the above steps, after receiving a test request for the welding state of the pins, a multi-round testing method is adopted to achieve precise detection of the welding state of the pins. That is, first, a first test image is constructed according to the playback color gamut of the playback device, and the target color with abnormal display on the interface is determined through the first display information output by the first test image through the multimedia interface, so as to achieve the general display test of the multimedia interface, and thus locate the color with abnormal display; furthermore, a second test image is constructed according to the target color, so as to test the display performance of the multimedia interface for the image of the target color, and then the welding state of the pins is determined according to the second display information output by the interface, realizing the positioning of the abnormal display scenario of the multimedia interface and the determination of the pin welding state through a multi-round testing method. Therefore, the technical problem of low detection efficiency of the welding state of the pins in the related art can be solved, and the technical effect of improving the detection efficiency of the welding state of the pins can be achieved.

[0034] In the embodiment provided in step S202, the multimedia interface is a digital media file transmission interface for transmitting multimedia signals (such as audio and video signals). The multimedia interface can include, but is not limited to, HDMI (High-Definition Multimedia Interface), VGA (Video Graphics Array) interface, etc. This solution does not make any limitations in this regard.

[0035] Optionally, in the embodiment of the present application, the pins of the multimedia interface are pins used to adjust the color of the output image. When imaging the output image through the multimedia interface, this pin is used to adjust the color on each pixel point of the output image. In practical applications, this pin can be composed of multiple sub-pins, and the multiple sub-pins respectively correspond to multiple primary colors for adjusting the color (or can also be called multiple color channels, such as red, green, and blue). By adjusting the brightness of the color of each primary color or color channel, the output color of a pixel point in the image is adjusted. Furthermore, when there are quality problems in welding, it will affect the accuracy of the digital signal corresponding to the color transmitted by the corresponding color channel, resulting in a change in the color in the corresponding color channel, and thus causing abnormal color display of the pixel point. This abnormal color display may be caused by the missed welding of the pins or the too-close solder joints of adjacent pins, which affects the digital signal transmitted on the pins, and further affects the color display. This effect can only be triggered in a specific image display scenario, resulting in abnormal color display.

[0036] In the embodiment provided in step S204, the playback color gamut is the range area composed of the colors that can be expressed in the color representation mode in the image played by the playback device.

[0037] Optionally, in the embodiments of the present application, the first test image is used to test the display performance of the multimedia interface for images within the playback color gamut. The purpose is to comprehensively cover all display functions of the multimedia interface on the current playback device and preliminarily identify the playback areas where the multimedia interface may have abnormalities in the current playback device. Therefore, the first test image can be constructed in the following manner: Color selection: According to the color gamut supported by the playback device, select the basic colors and mixed colors within the playback color gamut. Among them, the basic colors are the primary colors in the color system, which are used to mix and generate other colors, and the mixed colors are the colors obtained by mixing multiple colors in the playback color gamut. The basic colors include red (R), green (G), blue (B), white (W), and black (K), and the mixed colors include yellow (Y), cyan (C), and magenta (M); construct a color transformation image according to the distribution relationship of the basic colors and mixed colors in the playback color gamut. Among them, the first test image includes the color transformation image, and the color transformation image records the image of gradually changing from one color to another, covering the basic colors and intermediate colors within the color gamut.

[0038] In the embodiment provided in step S206, the first display information is the output image sampled from the first test image played by the multimedia interface. The output image can be captured frame by frame through a sampling program, and the color of the output image is compared with the standard image of the corresponding frame in the first test image. When the image colors in the output image and the standard image are inconsistent, it can be determined that the image color in the current standard image is the target color in the abnormal display state. Further, the method of comparing the color of the output image with the standard image can be, but is not limited to, converting the output image into the first RGB array of the pixel points in the output image and converting the standard image into the second RGB array of the pixel points in the standard image, and matching the first RGB array and the second RGB array at the same pixel position. When the match is inconsistent, it can be determined that the color display at the current pixel position is abnormal. Furthermore, when the number of pixel points with abnormal color display in the output image is greater than or equal to the preset number, it can be considered that the color corresponding to the current image is the target color with abnormal display. Through the above method, by digitally converting and comparing the images, the objective accuracy of the display result detection is improved.

[0039] In the embodiment provided in step S208, the general display performance of the multimedia interface is tested by using the first test image, so as to locate the general display performance of the multimedia interface in the current pin soldering state, and then determine the colors with abnormal display. Furthermore, targeted tests can be performed on these colors to determine the specific display scenarios of the specific display anomalies that occur in the multimedia interface, and then the target soldering state of the pins causing the display anomalies can be located according to the display scenarios of the display anomalies. Based on the test results of the first round, a second test image is specifically constructed to narrow down the problem range and find the target soldering state of the pins corresponding to the display problems.

[0040] Optionally, in the embodiment of the present application, the construction of the second test image can, but is not limited to, adopt the idea of cross-verification. That is, when there are multiple target colors, a display image including the target colors can be constructed as the second test image, and the image includes multiple stripes with alternating colors.

[0041] In the embodiment provided in step S210, the second display information is the output image sampled from the multimedia interface for the played second test image. The output image can be captured frame by frame through a sampling program, and the color of the output image is compared with the standard image of the corresponding frame in the second test image. When the image colors in the output image and the standard image are inconsistent, it can be determined that the image color in the current standard image color is the target color in the abnormal display state. Further, the method of comparing the color of the output image with the standard image can, but is not limited to, converting the output image into a third RGB array of the pixel points in the output image, and converting the standard image into a fourth RGB array of the pixel points in the standard image, and matching the third RGB array and the fourth RGB array at the same pixel position to obtain the RGB deviation value at this pixel position. Then, the target soldering state of the pins is determined according to the RGB deviation values of all the pixel points in the output image. Further, the average value of the RGB deviation values of all the pixel points of the output image can be taken to obtain the average RGB deviation value, and then the target soldering state corresponding to the current average RGB deviation value is determined from the corresponding relationship between the average RGB deviation value and the pin soldering state.

[0042] As an alternative embodiment, determining the target soldering state of the pins on the main board according to the second display information output by the multimedia interface includes:

[0043] Performing color matching on the target image output by the multimedia interface and the second test image to obtain color deviation information of the target image, where the second display information includes the target image, and the color deviation information is used to indicate the deviation between the image color of the target image and the image color of the second test image;

[0044] Determine the target soldering state of each of the multiple sub-pins according to the color deviation information, where the multiple sub-pins are pins for adjusting the pixel color of the image output by the multimedia interface.

[0045] Optionally, in the embodiments of the present application, the color deviation information can be, but is not limited to, obtained by directly performing color matching on the target image and the second test image, or it can also be to perform RGB array conversion on the target image and the second test image, so as to convert the RGB array corresponding to the image, and then determine the color deviation information by comparing the RGB arrays.

[0046] Optionally, in the embodiments of the present application, the soldering quality of the sub-pin can cause the abnormal display of the primary color corresponding to the sub-pin, thereby affecting the color display of the pixel point, resulting in a certain deviation between the standard display color and the actual display color of the pixel point. Furthermore, the target soldering state of each sub-pin causing the color deviation can be determined according to the color deviation information. Further, the method of determining the target soldering state of the sub-pin according to the color deviation information can be to determine the target soldering state of the sub-pin corresponding to the current color deviation information from the color deviation information and the soldering state with a corresponding relationship. Or it can also be to find the primary pixel color with a color deviation amount greater than or equal to the preset deviation amount from the color deviation information. The color of the pixel point is obtained by mixing multiple primary pixel colors in a certain proportion. Determine the soldering state of the sub-pin corresponding to the color as the abnormal soldering state, and determine the soldering states of other pins except the current pin among the multiple sub-pins as the normal soldering states, where the target soldering state includes the abnormal soldering state and the normal soldering state, and the sub-pin is used to adjust the brightness of the corresponding primary pixel color.

[0047] Through the above content, by performing color matching on the target image and the second test image, the soldering state of the pins causing the color deviation information is determined according to the color deviation information of the matched target image, and the soldering state of the pins is determined by comparing digital signals, making the detected soldering state of the pins more accurate and reliable.

[0048] As an alternative embodiment, the color matching of the target image output by the multimedia interface and the second test image to obtain the color deviation information of the target image includes: extracting a first color array of pixel points in the target image, where the first color array records the color brightness values of each color channel in multiple color channels of the pixel point, and the multiple color channels are multiple color components for adjusting the color of the pixel point, and the multiple color channels are set in one-to-one correspondence with multiple sub-pins, and the sub-pins are used to adjust the brightness value of the corresponding color channel; matching the first color array with the second color data of the corresponding pixel point in the second test image to obtain the color deviation amount of each color channel of the pixel point, and the color deviation information includes the color deviation amount of each color channel of the pixel point.

[0049] The determining the target soldering state of each sub-pin among the multiple sub-pins according to the color deviation information includes: extracting a target color channel with a color deviation amount greater than or equal to a target deviation amount from the multiple color channels, where the multiple color channels are set in one-to-one correspondence with the multiple sub-pins, the sub-pins are used to adjust the brightness value of the corresponding color channel, the multiple color channels are multiple color components for adjusting the color of the pixel point, and the color deviation information includes the color deviation amount of each color channel of the pixel point; determining that the target sub-pin corresponding to the target color channel is in an abnormal soldering state, where the target soldering state includes the abnormal soldering state.

[0050] Optionally, in the embodiments of the present application, the multiple color channels are multiple pixel primary colors for adjusting the color display of pixel points, and the multiple color channels correspond to different pixel primary colors, and the color of the pixel point is adjusted by adjusting the brightness values of different color channels. In the embodiments of the present application, the first color data may be, but is not limited to, the RGB array of the pixel point. For example, a pixel point may be a mixture of three pixel primary colors of red, green, and blue, and the RGB array records the digital signal values of the three pixel primary colors of red, green, and blue, and the brightness of the corresponding pixel primary color is reflected by the digital signal value.

[0051] Through the above content, by extracting the color array of the pixel points of the target image, the similarity of each part and the color deviation of the pixel points in the second test image are determined by means of digital signal comparison, and then the specific pixel primary color causing the deviation is determined, so that the soldering state of the sub-pin corresponding to the pixel primary color is determined according to the difference situation (i.e., the color deviation amount) of each pixel primary color, improving the reliability of the detection result of the soldering state.

[0052] As an alternative embodiment, the constructing the first test image of the multimedia interface according to the playback color gamut of the playback device includes:

[0053] Extract multiple reference colors included in the playback color gamut;

[0054] Construct corresponding reference pure color images for each reference color according to the image playback size of the playback device;

[0055] Configure the playback timings of multiple reference pure color images to obtain the first test image.

[0056] Optionally, in the embodiments of the present application, the reference color may but is not limited to be a color representing the color gamut characteristics of the playback color gamut, and may but is not limited to be a basic color and a mixed color in the playback color gamut, where the basic color is the basic primary color in the color system, which is used to mix and generate other colors, and the mixed color is a color obtained by mixing multiple colors in the playback color gamut. The basic colors include red (R), green (G), blue (B), white (W), and black (K), and the mixed colors include: yellow (Y), cyan (C), and magenta (M).

[0057] Through the above content, by extracting the reference colors in the playback color gamut and constructing the first test image according to the reference colors, the coverage of the performance test of the multimedia interface by the first test image is improved, and the test efficiency of the general test of the multimedia interface is improved.

[0058] As an optional embodiment, determining the target color with abnormal display on the multimedia interface according to the first display information output by the multimedia interface includes:

[0059] Detect the target image quality of the target pure color image corresponding to each reference color output through the multimedia interface, where the first test image includes multiple reference pure color images played in sequence, and each reference pure color image corresponds to one reference color in the playback color gamut;

[0060] When the target pure color image quality is less than or equal to the set threshold, determine the reference color corresponding to the target pure color image as the target color.

[0061] Optionally, in the embodiments of the present application, the image quality of the target solid color image can be reflected by some objective indicators, such as the number of noise points in the image, the color deviation amount, etc. Accordingly, the number of target noise points in the image can be collected, and the first quality score corresponding to the target noise point number can be determined from the corresponding relationship between the number of noise points and the quality score; and the image color in the target solid color image is matched with the reference color to obtain the target color deviation amount, and the second quality score corresponding to the target color deviation amount is determined from the corresponding relationship between the color deviation amount and the quality score; furthermore, the parameter weights corresponding to the number of noise points and the color deviation amount are obtained, where the parameter weights are used to characterize the influence degree of the corresponding parameters on the image quality; the parameter weights are used to perform a weighted summation calculation on the first quality score and the second quality score to obtain the target quality score; and then the target image quality corresponding to the target quality score is obtained.

[0062] Through the above content, by detecting the image quality of the output image, the target color with abnormal display on the multimedia interface can be located, improving the reliability of the test result.

[0063] As an optional embodiment, detecting the target image quality of the target solid color image corresponding to each reference color output through the multimedia interface includes one of the following:

[0064] Detecting the number of target noise points included in the target solid color image; determining the target image quality corresponding to the target noise point number from the corresponding relationship between the number of noise points and the image quality;

[0065] Detecting the target color deviation amount between the target solid color image and the corresponding reference solid color image; determining the target image quality corresponding to the target color deviation amount from the corresponding relationship between the color deviation amount and the image quality.

[0066] As an optional embodiment, constructing the second test image of the target color for the multimedia interface includes one of the following:

[0067] In the case where there are multiple target colors, a candidate image including multiple target colors is constructed, where the multiple target colors gradually change in the candidate image, and the second test image includes the candidate image;

[0068] In the case where there is one target color, a first solid color image of the target color is generated; the first solid color image is configured with brightness according to multiple target brightness values to obtain multiple second solid color images, where each second solid color image corresponds to one target brightness value; the playback timings of the multiple second solid color images are configured in the order of decreasing brightness values to obtain the second test image.

[0069] Through the above content, a second test image is constructed using the target color, so as to achieve a more refined test of the multimedia interface in the target color display scenario, thereby specifically reflecting the specific abnormal image display scenario caused by the pin soldering state of the multimedia interface and improving the detection efficiency of the pin soldering state.

[0070] An embodiment of the present application designs a circuit board controlled by an FPGA (hereinafter referred to as a test fixture), which is mainly applied to the connectivity, functionality, and stability tests of HDMI interfaces such as Servers and PCs, and is used to automatically test whether the HDMI signal output meets the expected settings, so as to determine whether the HDMI output is normal. The test fixture samples the image output by the HDMI interface and detects the sampled digital signal through the FPGA, thereby automatically judging the test result and solving the problem that the HDMI interface cannot be automatically tested. Figure 3 It is a schematic diagram of an optional pin soldering state detection according to an embodiment of the present application, as Figure 3 shown, the test process and data determination are as follows:

[0071] 1. The test program plays a solid-color image of a specific color, and the sampling program converts the sampled solid-color image (for example: red, blue, white, green, etc.) into an RGB array. The sampling program determines whether the output of the current image meets the expectation by traversing the array members. If there are inconsistent array members in the converted array, it is determined that there is a problem with the current color output. According to the difference data, the sampling program can reorganize the test image again and repeat the sampling process and the determination process until the faulty pin corresponding to the HMDI color output can be clearly located.

[0072] For example, when the currently played image is a red screen, the array members after sampling by the sampling program should be FF0000. If the array obtained by converting the image collected by the sampling program contains array members with the last four digits of the back plane being non-zero, it is considered that the currently collected image contains green and blue. At this time, the test program should reorganize the values of unexpected colors and conduct special tests for green and blue. Through cross-color tests, the faulty pins corresponding to the HDMI color output are clarified.

[0073] 2. The test program plays a specific video and synchronously transfers the relevant parameters of the video to the sampling program. The sampling program grabs each frame according to the received parameters and converts it into recognition reference data. After the test starts, the sampling program dynamically grabs a specific number of frames, continuously grabs a certain number of frames, etc., and conducts comparison and analysis frame by frame and identifies faults such as screen distortion and frame dropping by matching the previously learned reference data to check the quality of the HDMI link and interface.

[0074] Figure 4is an optional image acquisition flow chart according to an embodiment of the present application. As Figure 4 shown, the acquisition process may be: turn on the video device to start capturing the solid color image output by the current HDMI. Query the attributes or functions of the device. Set the parameters of the device, including frame rate, frame size, and resolution. Apply for memory mapping and start caching the images frame by frame. Start sampling the frame cache according to the set rules and save them to the sampling queue. Read and process the sampling queue cyclically. End the acquisition.

[0075] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation.

[0076] The embodiment of the present application also provides a detection device for the pin soldering state. Figure 5 is a structural block diagram of a detection device for the pin soldering state according to an embodiment of the present application. As Figure 5 shown, the device includes:

[0077] A receiving module, configured to receive a test request, where the test request is used to request to detect the soldering state of the pins of the multimedia interface on the main board of the playback device accessed by the multimedia interface;

[0078] A first construction module, configured to construct a first test image of the multimedia interface according to the playback color gamut of the playback device, where the first test image is used to test the display performance of the multimedia interface for the images within the playback color gamut;

[0079] A first processing module, configured to control the playback device to play the first test image and determine a target color with abnormal display on the multimedia interface according to the first display information output by the multimedia interface;

[0080] A second construction module, configured to construct a second test image of the target color for the multimedia interface, where the second test image is used to test the display performance of the multimedia interface for the images of the target color;

[0081] A second processing module, configured to control the playback device to play the second test image and determine the target soldering state of the pins on the main board according to the second display information output by the multimedia interface.

[0082] Through the above device, after receiving a test request for the soldering state of the pins, a multi-round test method is adopted to achieve precise detection of the soldering state of the pins. That is, first, a first test image is constructed according to the playback color gamut of the playback device, and the target color with abnormal display on the interface is determined through the first display information output by the first test image through the multimedia interface, so as to achieve the general display test of the multimedia interface, and then the color with abnormal display is located. Furthermore, a second test image is constructed according to the target color, so as to test the display performance of the multimedia interface for the image of the target color. Furthermore, the soldering state of the pins is determined according to the second display information output by the interface, and the abnormal display scenario of the multimedia interface is located and the soldering state of the pins is determined through a multi-round test method. Therefore, the technical problem of low detection efficiency of the soldering state of the pins in the related art can be solved, and the technical effect of improving the detection efficiency of the soldering state of the pins can be achieved.

[0083] Optionally, the second processing module includes:

[0084] A matching unit, configured to perform color matching on the target image output by the multimedia interface and the second test image to obtain color deviation information of the target image, where the second display information includes the target image, and the color deviation information is used to indicate the deviation between the image color of the target image and the image color of the second test image;

[0085] A first determination unit, configured to determine the target soldering state of each of the multiple sub-pins according to the color deviation information, where the multiple sub-pins are pins used to adjust the pixel color of the image output by the multimedia interface.

[0086] Optionally, the matching unit is configured to: extract a first color array of pixel points in the target image, where the first color array records the color brightness values of each color channel in multiple color channels of the pixel point, and the multiple color channels are multiple color components used to adjust the pixel point color, and the multiple color channels and the multiple sub-pins are set in one-to-one correspondence, and the sub-pins are used to adjust the brightness value of the corresponding color channel; match the first color array with the second color data of the corresponding pixel points in the second test image to obtain the color deviation amount of each color channel of the pixel point, and the color deviation information includes the color deviation amount of each color channel of the pixel point;

[0087] The first determination unit is configured to: extract a target color channel from multiple color channels, where a color deviation amount of the target color channel is greater than or equal to a target deviation amount, where the multiple color channels and multiple sub-pins are set in one-to-one correspondence, the sub-pins are used to adjust a brightness value of the corresponding color channel, the multiple color channels are multiple color components for adjusting a color of a pixel, and the color deviation information includes the color deviation amount of each color channel of the pixel; determine that a target sub-pin corresponding to the target color channel is in an abnormal soldering state, where the target soldering state includes the abnormal soldering state.

[0088] Optionally, the first construction module includes:

[0089] An extraction unit configured to extract multiple reference colors included in the playback color gamut;

[0090] A first construction unit configured to construct a corresponding reference pure color image for each reference color according to an image playback size of the playback device;

[0091] A configuration unit configured to configure a playback timing of the multiple reference pure color images to obtain the first test image.

[0092] Optionally, the first processing module includes:

[0093] A detection unit configured to detect a target image quality of a target pure color image corresponding to each reference color output through the multimedia interface, where the first test image includes multiple reference pure color images played in sequence, and each reference pure color image corresponds to one reference color in the playback color gamut;

[0094] A second determination unit configured to determine the reference color corresponding to the target pure color image as the target color when the target pure color image quality is less than or equal to a set threshold.

[0095] Optionally, the detection unit is configured to perform one of the following operations:

[0096] Detect a target noise amount included in the target pure color image; determine the target image quality corresponding to the target noise amount from a correspondence between the noise amount and the image quality;

[0097] Detect a target color deviation amount between the target pure color image and the corresponding reference pure color image; determine the target image quality corresponding to the target color deviation amount from a correspondence between the color deviation amount and the image quality.

[0098] Optionally, the second construction module includes one of the following:

[0099] A second construction unit, configured to construct a candidate image including a plurality of target colors when there are a plurality of target colors, wherein the plurality of target colors gradually change in sequence in the candidate image, and the second test image includes the candidate image;

[0100] A processing unit, configured to generate a first solid-color image of the target color when there is one target color; perform brightness configuration on the first solid-color image according to a plurality of target brightness values to obtain a plurality of second solid-color images, wherein each second solid-color image corresponds to one of the target brightness values; configure the playback timings of the plurality of second solid-color images in descending order of brightness values to obtain the second test image.

[0101] An embodiment of the present application further provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above embodiments of the method for detecting the pin soldering state.

[0102] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps in any of the above embodiments of the method for detecting the pin soldering state when running.

[0103] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disc that can store a computer program.

[0104] An embodiment of the present application further provides a computer program product. The above computer program product includes a computer program, and the steps in any of the above embodiments of the method for detecting the pin soldering state are implemented when the computer program is executed by a processor.

[0105] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores a computer program, and the steps in any of the above embodiments of the method for detecting the pin soldering state are implemented when the computer program is executed by a processor.

[0106] Those skilled in the art may further realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.

[0107] The above has introduced in detail a method and device for detecting the welding state of pins provided in this application. Specific examples are used herein to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of this application, several improvements and modifications can still be made to this application, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A method for detecting the soldering state of pins, characterized in that, Including: Receiving a test request, where the test request is used to request detection of the soldering state of the pins of a multimedia interface on the main board of a playback device accessed by the multimedia interface; Constructing a first test image of the multimedia interface according to the playback color gamut of the playback device, where the first test image is used to test the display performance of the multimedia interface for images within the playback color gamut; Controlling the playback device to play the first test image, and determining a target color with abnormal display on the multimedia interface according to the first display information output by the multimedia interface; Constructing a second test image of the target color for the multimedia interface, where the second test image is used to test the display performance of the multimedia interface for images of the target color; Controlling the playback device to play the second test image, and determining the target soldering state of the pins on the main board according to the second display information output by the multimedia interface.

2. The method according to claim 1, characterized in that The determining the target soldering state of the pins on the main board according to the second display information output by the multimedia interface includes: Performing color matching on the target image output by the multimedia interface and the second test image to obtain color deviation information of the target image, where the second display information includes the target image, and the color deviation information is used to indicate the deviation between the image color of the target image and the image color of the second test image; Determining the target soldering state of each of the multiple sub-pins according to the color deviation information, where the multiple sub-pins are pins for adjusting the pixel color of the image output by the multimedia interface.

3. The method according to claim 2, characterized in that The performing color matching on the target image output by the multimedia interface and the second test image to obtain color deviation information of the target image includes: extracting a first color array of pixel points in the target image, where the first color array records the color brightness values of each color channel in multiple color channels of the pixel points, the multiple color channels are multiple color components for adjusting the pixel point color, the multiple color channels and the multiple sub-pins are set in one-to-one correspondence, and the sub-pins are used to adjust the brightness value of the corresponding color channel; matching the first color array with the second color data of the corresponding pixel points in the second test image to obtain the color deviation amount of each color channel of the pixel points, and the color deviation information includes the color deviation amount of each color channel of the pixel points; Determining the target soldering state of each of the multiple sub-pins according to the color deviation information includes: extracting a target color channel from multiple color channels, where the color deviation amount of the target color channel is greater than or equal to a target deviation amount. Among them, the multiple color channels and the multiple sub-pins are set in one-to-one correspondence, and the sub-pins are used to adjust the brightness value of the corresponding color channel. The multiple color channels are multiple color components for adjusting the color of pixel points, and the color deviation information includes the color deviation amount of each color channel of the pixel point; determining that the target sub-pin corresponding to the target color channel is in an abnormal soldering state, where the target soldering state includes the abnormal soldering state.

4. The method according to claim 1, wherein Constructing the first test image of the multimedia interface according to the playback color gamut of the playback device includes: Extracting multiple reference colors included in the playback color gamut; Constructing a corresponding reference pure color image for each reference color according to the image playback size of the playback device; Configuring the playback timings of the multiple reference pure color images to obtain the first test image.

5. The method according to claim 1, wherein Determining the target color with abnormal display on the multimedia interface according to the first display information output by the multimedia interface includes: Detecting the target image quality of the target pure color image corresponding to each reference color output through the multimedia interface, where the first test image includes multiple reference pure color images played in sequence, and each reference pure color image corresponds to one reference color in the playback color gamut; When the target image quality is less than or equal to a set threshold, determining the reference color corresponding to the target pure color image as the target color.

6. The method according to claim 5, wherein Detecting the target image quality of the target pure color image corresponding to each reference color output through the multimedia interface includes one of the following: Detecting the number of target noise points included in the target pure color image; determining the target image quality corresponding to the target noise point number from the corresponding relationship between the noise point number and the image quality; Detecting the target color deviation amount between the target pure color image and the corresponding reference pure color image; determining the target image quality corresponding to the target color deviation amount from the corresponding relationship between the color deviation amount and the image quality.

7. The method according to claim 1, wherein Constructing the second test image of the target color for the multimedia interface includes one of the following: When there are multiple target colors, constructing a candidate image including the multiple target colors, where the multiple target colors gradually change in the candidate image, and the second test image includes the candidate image; When the target color is one, generate a first solid-color image of the target color; configure the brightness of the first solid-color image according to a plurality of target brightness values to obtain a plurality of second solid-color images, where each of the second solid-color images corresponds to one of the target brightness values; configure the playback timings of the plurality of second solid-color images in descending order of brightness values to obtain the second test video.

8. A detection device for the soldering state of pins, characterized in that, Comprising: a receiving module, configured to receive a test request, where the test request is used to request detecting the soldering state of pins of a multimedia interface on a main board of a playback device accessed by the multimedia interface; a first constructing module, configured to construct a first test video of the multimedia interface according to a playback color gamut of the playback device, where the first test video is used to test the display performance of the multimedia interface for videos within the playback color gamut; a first processing module, configured to control the playback device to play the first test video and determine a target color with abnormal display on the multimedia interface according to first display information output by the multimedia interface; a second constructing module, configured to construct a second test video of the target color for the multimedia interface, where the second test video is used to test the display performance of the multimedia interface for videos of the target color; a second processing module, configured to control the playback device to play the second test video and determine a target soldering state of the pins on the main board according to second display information output by the multimedia interface.

9. An electronic device, characterized in that, Comprising: a memory, configured to store a computer program; a processor, configured to implement the steps of the method for detecting the soldering state of pins according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, where the computer program implements the steps of the method for detecting the soldering state of pins according to any one of claims 1 to 7 when executed by a processor.

Citation Information

Patent Citations

  • System for automatically testing functional welding state of IO interface of PCBA mainboard

    CN110568341A

  • Test circuit and test method of display module

    CN117437861A

  • Pin testing method and equipment thereof

    CN118050617A

  • Terminal testing method and system, electronic equipment and storage medium

    CN119011812A

  • Detection system and method of display control panel, equipment, medium and program product

    CN119992991A