Pin welding status detection method and device

By using the method of multiple rounds of test images and utilizing the playback color gamut of the playback device to construct test images, the welding status of the multimedia interface pins is detected, which solves the problem of low detection efficiency in the existing technology and realizes efficient and accurate pin welding status detection.

CN120302030BActive Publication Date: 2025-09-12INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing technology has low efficiency in detecting the soldering status of multimedia interface pins and cannot accurately judge the soldering quality, 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 that displays abnormalities is detected, and the second test image is constructed based on the target color to determine the welding status of the pins and achieve accurate detection.

Benefits of technology

The detection efficiency of the pin welding status is improved, and the abnormal display scene of the multimedia interface can be accurately located and the pin welding status can be determined, thereby improving the accuracy and efficiency of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120302030B_ABST
    Figure CN120302030B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for detecting the soldering status of pins, which relate to the field of computers, and include: receiving a test request; constructing a first test image of a multimedia interface according to the playback color gamut of a playback device; controlling the playback device to play the first test image, and determining a target color of an abnormal display on the multimedia interface based on first display information output by the multimedia interface; constructing a second test image of the target color for the multimedia interface; controlling the playback device to play the second test image, and determining a target soldering status of the pins on the motherboard based on the second display information output by the multimedia interface, thereby solving the technical problem of low efficiency in detecting the soldering status of the pins and achieving the technical effect of improving the efficiency in detecting the soldering status of the pins.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method and device for detecting the soldering status of pins. Background Art

[0002] Multimedia interfaces are widely used in playback devices. A multimedia interface is a digital video / audio interface technology, a specialized digital interface suitable for image transmission. Typically, this interface is configured on the playback device's motherboard. The soldering quality of its pins on the motherboard directly affects the stability and accuracy of signal transmission, thereby affecting the display quality of multimedia files. Therefore, before a playback device leaves the factory, the soldering quality of the multimedia interface on the motherboard must be inspected to ensure product quality. Currently, the soldering quality of multimedia interfaces on motherboards is primarily inspected manually, with quality inspectors observing the solder joints on the motherboard to determine whether the pins are properly soldered. However, this method can only detect whether the pins are soldered, but cannot determine the quality of the soldering on the motherboard. Pins with poor soldering quality can affect display quality in specific playback scenarios, thereby impacting the user's experience with the product. Summary of the Invention

[0003] The present application provides a method and device for detecting the soldering status of pins, so as to at least solve the problem of low efficiency in detecting the soldering status of pins in the related art.

[0004] The present application provides a method for detecting the soldering status of pins, comprising: receiving a test request, wherein the test request is used to request detection of the soldering status of pins of a multimedia interface on a mainboard of a playback device to which the multimedia interface is connected; constructing a first test image of the multimedia interface according to a playback color gamut of the playback device, wherein 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 displayed abnormally on the multimedia interface based on first display information output by the multimedia interface; constructing a second test image of the target color for the multimedia interface, wherein 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 status of the pins on the mainboard based on the second display information output by the multimedia interface.

[0005] The present application also provides a device for detecting the soldering status of pins, comprising: a receiving module for receiving a test request, wherein the test request is used to request detection of the soldering status of the pins of a multimedia interface on the motherboard of a playback device to which the multimedia interface is connected; a first construction module for constructing a first test image of the multimedia interface according to the playback color gamut of the playback device, wherein 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 for controlling the playback device to play the first test image, and determining the target color displayed abnormally on the multimedia interface based on the first display information output by the multimedia interface; a second construction module for constructing a second test image of the target color for the multimedia interface, wherein 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 for controlling the playback device to play the second test image, and determining the target soldering status of the pins on the motherboard based on the second display information output by the multimedia interface.

[0006] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned pin welding status detection methods when executing the computer program.

[0007] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for detecting the pin welding status are implemented.

[0008] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned pin welding status detection methods when executed by a processor.

[0009] Through the present application, after receiving a test request for the pin welding status, a multi-round test method is used to achieve accurate detection of the pin welding status, that is, first constructing a first test image according to the playback color gamut of the playback device, and determining the target color that displays abnormally on the interface through the first display information output by the multimedia interface for the first test image, thereby achieving a universal display test of the multimedia interface, and thus locating the color that displays abnormally; then constructing a second test image according to the target color, thereby testing the display performance of the multimedia interface at the target color image, and then determining the pin welding status according to the second display information output by the interface, and achieving the positioning of the abnormal display scene of the multimedia interface and determining the pin welding status through a multi-round test method. Therefore, the technical problem of low efficiency in detecting the pin welding status in the related art can be solved, and the technical effect of improving the efficiency of detecting the pin welding status can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0011] Figure 1 1 is a hardware structure block diagram of a method for detecting a pin welding state according to an embodiment of the present application;

[0012] Figure 2 is a flow chart of a method for detecting a pin welding state according to an embodiment of the present application;

[0013] Figure 3 This is an optional schematic diagram of pin welding status detection according to an embodiment of the present application;

[0014] Figure 4 is an optional image acquisition flow chart according to an embodiment of the present application;

[0015] Figure 5 This is a structural block diagram of a device for detecting pin welding status according to an embodiment of the present application. DETAILED DESCRIPTION

[0016] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0017] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0018] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0019] In conjunction with the specific application environment architecture or specific hardware architecture on which the execution of the pin welding status detection method 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 in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 FIG. 1 is a hardware structure diagram of a method for detecting the pin welding status according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. The server device may also include a transmission device 106 and an input / output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0021] 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 embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories can be connected to the server device via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0022] Transmission device 106 is used to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a communication provider of the server device. In one embodiment, transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0023] An embodiment of the present application provides a method for detecting the soldering status of a pin. The method is described in detail in conjunction with the execution flow of the method for detecting the soldering status of a pin.

[0024] The following is an explanation of the professional terms that appear in this application:

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

[0026] VGA: Video Graphics Array 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 status of a pin is provided. Figure 2 Flowchart of the method for detecting the pin welding status according to an embodiment of the present application, as shown in FIG. Figure 2 As shown, the method includes the following steps:

[0028] Step S202: receiving a test request, wherein the test request is for requesting to detect the soldering status of pins of a multimedia interface on a motherboard of a playback device to which the multimedia interface is connected;

[0029] Step S204: constructing a first test image of the multimedia interface according to the playback color gamut of the playback device, wherein 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 the target color of the 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, wherein the second test image is used to test the display performance of the multimedia interface for the image 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 pin on the mainboard according to the second display information output by the multimedia interface.

[0033] Through the above steps, after receiving a test request for the pin welding status, a multi-round test method is used to achieve accurate detection of the pin welding status, that is, first constructing a first test image according to the playback color range of the playback device, and determining the target color that displays abnormally on the interface through the first display information output by the multimedia interface for the first test image, thereby achieving a universal display test of the multimedia interface, and thus locating the color that displays abnormally; then constructing a second test image according to the target color, thereby testing the display performance of the multimedia interface at the target color image, and then determining the welding status of the pin according to the second display information output by the interface, and locating the abnormal display scene of the multimedia interface and determining the pin welding status through a multi-round test method. Therefore, the technical problem of low efficiency in detecting the pin welding status in the related art can be solved, and the technical effect of improving the efficiency of detecting the pin welding status 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 may include, but is not limited to, HDMI (High Definition Multimedia Interface), VGA (Video Graphics Array) interface, etc., and this solution does not limit this.

[0035] Optionally, in an embodiment of the present application, the pin of the multimedia interface is a pin for adjusting the color of the output image. When outputting image imaging through the multimedia interface, the pin is used to adjust the color of each pixel in the output image. In actual applications, the pin can be composed of multiple sub-pins, and the multiple sub-pins correspond to multiple primary colors (or can also be called multiple color channels, such as red, green, and blue) for adjusting the color. By adjusting the brightness of the color of each primary color or color channel, the output color of a pixel in the image is adjusted. When there is a quality problem with the welding, the accuracy of the digital signal corresponding to the color transmitted by the corresponding color channel will be affected, thereby causing the color in the corresponding color channel to change, resulting in abnormal color display of the pixel. This color display abnormality may be caused by a pin leak or the solder joints of adjacent pins being too close, thereby affecting the digital signal transmitted on the pin, thereby affecting the color display. This impact needs to be triggered in a specific image display scenario, thereby causing abnormal color display.

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

[0037] Optionally, in an embodiment of the present application, a first test image is used to test the display performance of the multimedia interface for images within the playback color gamut, with the goal of comprehensively covering all display functions of the multimedia interface on the current playback device and preliminarily discovering that the multimedia interface may have an abnormal playback domain within the playback domain of the current playback device. Therefore, the first test image can be constructed in the following manner: color selection: based on the color gamut supported by the playback device, selecting basic colors and mixed colors within the playback color gamut, wherein basic colors are the basic primary colors that constitute the color system and are used to mix and produce other colors, and mixed colors are colors obtained by mixing multiple colors within the playback color gamut. Basic colors include red (R), green (G), blue (B), white (W), and black (K), and mixed colors include yellow (Y), cyan (C), and magenta (M); constructing a color transformation image based on the distribution relationship between the basic colors and mixed colors in the playback color gamut, wherein the first test image includes the color transformation image, which records an image that gradually changes 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 an output image obtained by sampling the first test image played from the multimedia interface. The output image can be captured frame by frame through a sampling program, and the output image is color-compared with the standard image of the corresponding frame in the first test image. When the image colors of the output image and the standard image are inconsistent, the image color in the current standard image can be determined to be the target color in the display abnormality state. Furthermore, the method for color-comparing the output image with the standard image can be, but is not limited to, converting the output image into a first RGB array of pixels in the output image and converting the standard image into a second RGB array of pixels in the standard image, matching the first RGB array and the second RGB array at the same pixel position. When the matches are inconsistent, it can be determined that the color display of the current pixel position is abnormal. Furthermore, if the number of pixels in the output image with abnormal color display is greater than or equal to a preset number, the color corresponding to the current image can be considered to be the target color of the display abnormality. In this way, 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, a general display performance test is performed on the multimedia interface using a first test image, thereby locating the general display performance of the multimedia interface under the current pin soldering state, and then determining the color with the display abnormality. Targeted testing of the color can then be performed to determine the specific display scenario in which the multimedia interface displays abnormally, and the target soldering state of the pin causing the display abnormality can be located based on the display scenario in which the display abnormality occurs. By constructing a second test image based on the results of the first round of testing, the problem scope is narrowed down, and the target soldering state of the pin is reflected based on the display problem found.

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

[0041] In the embodiment provided in step S210, the second display information is an output image obtained by sampling the second test image played from the multimedia interface. The output image can be captured frame by frame through a sampling program, and the output image is color-compared with the standard image of the corresponding frame in the second test image. When the image colors of the output image and the standard image are inconsistent, the image color in the current standard image can be determined to be the target color for the display abnormality. Furthermore, the method for color-comparing the output image with the standard image can be, but is not limited to, converting the output image into a third RGB array of pixels in the output image and converting the standard image into a fourth RGB array of pixels in the standard image. The third RGB array and the fourth RGB array at the same pixel position are matched to obtain an RGB deviation value for the pixel position, and then the target soldering state of the pin is determined based on the RGB deviation values ​​of all pixels in the output image. Furthermore, the RGB deviation values ​​of all pixels in the output image can be averaged to obtain an average RGB deviation value, and then the target soldering state corresponding to the current average RGB deviation value can be determined from the corresponding average RGB deviation values ​​and the soldering state of the pin.

[0042] As an optional embodiment, determining the target soldering state of the pin on the mainboard according to the second display information output by the multimedia interface includes:

[0043] performing color matching on a target image outputted by the multimedia interface and the second test image to obtain color deviation information of the target image, wherein the second display information includes the target image, and the color deviation information is used to indicate a deviation between an image color of the target image and an image color of the second test image;

[0044] The target welding state of each of the sub-pins is determined according to the color deviation information, wherein the sub-pins are pins for adjusting pixel colors of an image output by the multimedia interface.

[0045] Optionally, in an embodiment of the present application, the color deviation information can be obtained by, but is not limited to, directly performing color matching on the target image and the second test image, or it can also be performed by performing RGB array substitution on the target image and the second test image to convert the RGB array corresponding to the image, and then determining the color deviation information by comparing the RGB arrays.

[0046] Optionally, in an embodiment of the present application, the welding quality of a factor pin may cause the primary color corresponding to the sub-pin to display abnormally, thereby affecting the color display of the pixel point, resulting in a certain deviation between the standard display color of the pixel point and the actual display color. The target welding state of each sub-pin causing the color deviation can then be determined based on the color deviation information. Furthermore, the target welding state of the sub-pin can be determined based on the color deviation information by determining the target welding state of the sub-pin corresponding to the current color deviation information from the corresponding color deviation information and welding state. Alternatively, a pixel primary color whose color deviation is greater than or equal to a preset deviation can be found from the color deviation information. The color of the pixel point is obtained by mixing multiple pixel primary colors in a certain proportion. The welding state of the sub-pin corresponding to the color is determined as an abnormal welding state, and the welding states of the other sub-pins other than the current pin are determined as normal welding states. The target welding state includes an abnormal welding state and a normal welding state. The sub-pin is used to adjust the brightness of the corresponding pixel primary color.

[0047] Through the above content, by performing color matching on the target image and the second test image, the pin welding status that causes the color deviation information is determined based on the color deviation information in the matched target image, and the pin welding status is determined by comparing the digital signal, making the detected pin welding status more accurate and reliable.

[0048] As an optional embodiment, color matching the target image output by the multimedia interface with the second test image to obtain color deviation information of the target image includes: extracting a first color array of pixels in the target image, wherein the first color array records the color brightness value of each color channel of multiple color channels of the pixel, the multiple color channels are multiple color components for adjusting the color of the pixel, the multiple color channels are arranged in a one-to-one correspondence with the 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 second color data of the corresponding pixel in the second test image to obtain a color deviation amount of each color channel of the pixel, wherein the color deviation information includes the color deviation amount of each color channel of the pixel;

[0049] The method of determining the target welding state of each of the multiple sub-pins based on the color deviation information includes: extracting a target color channel whose color deviation is greater than or equal to the target deviation from multiple color channels, wherein the multiple color channels and the multiple sub-pins are set in a one-to-one correspondence, and the sub-pin is 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 welding state, wherein the target welding state includes the abnormal welding state.

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

[0051] Through the above content, by extracting the color array of the pixel points of the target image, the color deviation of each similarity and the pixel points in the second test image can be determined by digital signal comparison, and then the specific pixel primary color that causes the deviation can be determined. According to the difference between the primary colors of each pixel (that is, the color deviation amount), the welding status of the sub-pin corresponding to the pixel primary color can be determined, thereby improving the reliability of the welding status detection results.

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

[0053] Extracting a plurality of reference colors included in the playback color gamut;

[0054] Constructing a reference pure color image corresponding to each reference color according to the image playback size of the playback device;

[0055] The playback sequence of the plurality of reference pure color images is configured to obtain the first test image.

[0056] Optionally, in an embodiment of the present application, the reference color may be, but is not limited to, a color that characterizes the color gamut characteristics of the playback color gamut, and may be, but is not limited to, basic colors and mixed colors in the playback color gamut, wherein the basic colors are the basic primary colors that constitute the color system, which are used to mix to produce other colors, and the mixed colors are colors obtained by mixing multiple colors in the playback color gamut, wherein 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 color in the playback color gamut and constructing the first test image based on the reference color, the coverage of the first test image on the performance test of the multimedia interface is improved, and the test efficiency of the universal test of the multimedia interface is improved.

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

[0059] detecting a target image quality of a target pure color image corresponding to each reference color outputted through the multimedia interface, wherein the first test image includes a plurality of reference pure color images played sequentially, each of the reference pure color images corresponding to one of the reference colors in the playback color gamut;

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

[0061] Optionally, in an embodiment of the present application, the image quality of the target pure color image can be, but is not limited to, reflected by some objective indicators, such as the number of noise points in the image, the color deviation amount, etc., and in turn, the target number of noise points in the collected image can be used to determine a first quality score corresponding to the target number of noise points from the corresponding number of noise points and the quality score; and the image color and the reference color in the target pure color image are matched to obtain a target color deviation amount, and a second quality score corresponding to the target color deviation amount is determined from the corresponding color deviation amount and the quality score; and then parameter weights corresponding to the number of noise points and the color deviation amount are obtained, wherein the parameter weights are used to characterize the degree of influence of the corresponding parameters on the image quality; the parameter weights are used to perform weighted sum 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 is located, thereby improving the reliability of the test result.

[0063] As an optional embodiment, 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:

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

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

[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, constructing a candidate image including the multiple target colors, wherein the multiple target colors gradually change in the candidate image, and the second test image includes the candidate image;

[0068] When there is only one target color, a first pure color image of the target color is generated; the brightness of the first pure color image is configured according to multiple target brightness values ​​to obtain multiple second pure color images, wherein each second pure color image corresponds to one target brightness value; the playback timing of the multiple second pure color images is configured in descending order of brightness values ​​to obtain the second test image.

[0069] Through the above content, by using the target color to construct a second test image, a more detailed test of the multimedia interface in the target color display scenario is achieved, thereby specifically reflecting the specific abnormal image display scenario caused by the pin welding status of the multimedia interface, and improving the efficiency of pin welding status detection.

[0070] This embodiment of the application designs a FPGA-controlled circuit board (hereinafter referred to as a test fixture) primarily for testing the connectivity, functionality, and stability of HDMI interfaces on servers, PCs, and other devices. It automatically verifies whether the HDMI signal output meets expected settings, thereby determining whether the HDMI output is normal. The test fixture samples the image output by the HDMI interface and uses the FPGA to detect the sampled digital signal to automatically determine the test results, thus resolving the problem of HDMI interfaces being unable to be automatically tested. Figure 3 is an optional pin welding status detection schematic diagram according to an embodiment of the present application, such as Figure 3 As shown, the test process and data determination are as follows:

[0071] 1. The test program plays a pure color image of a specific color. The sampling program converts the sampled pure color image (for example, red, blue, white, green, etc.) into an RGB array. The sampling program traverses the array members to determine whether the current image output meets expectations. If there are inconsistent array members in the converted array, it is determined that there is a problem with the current color output. The sampling program can re-direct the test image based on the difference data and repeat the sampling and judgment process until the faulty pin of the HMDI corresponding to the color output can be clearly located.

[0072] For example, if the current playback image is red, the array member after sampling by the sampling program should be FF0000. However, if the image captured by the sampling program is converted to an array and contains an array member with a non-zero backplane digit, it is assumed that the current image contains green and blue. In this case, the test program should be reorganized to target the unexpected color values, with dedicated tests for green and blue. Through color cross-testing, the corresponding HDMI color output pin fault can be identified.

[0073] 2. The test program plays a specific video and synchronously passes the relevant parameters of the video to the sampling program. The sampling program captures each frame according to the received parameters and converts them into identification benchmark data. After the test starts, the sampling program dynamically captures a specific number of frames, continuously captures a certain number of frames, and performs frame-by-frame comparison analysis and identifies faults such as screen distortion and frame drop by matching the previously learned benchmark data to check the quality of the HDMI link and interface.

[0074] Figure 4This is an optional image acquisition flow chart according to an embodiment of the present application, such as Figure 4 As shown, the acquisition process can be as follows: Open the video device and begin capturing the pure color image currently output by HDMI. Query the device's properties or functions. Set the device's parameters, including frame rate, frame size, and resolution. Request a memory map and begin caching the image frame by frame. Begin sampling the frame buffer according to the set rules and save it to the sampling queue. Loop through the sample queue to read and process the data. End the acquisition.

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

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

[0077] A receiving module, configured to receive a test request, wherein the test request is used to request detection of a soldering state of a pin of a multimedia interface on a mainboard of a playback device to which the multimedia interface is connected;

[0078] A first constructing module, configured to construct a first test image of the multimedia interface according to the playback color gamut of the playback device, wherein the first test image is used to test the display performance of the multimedia interface for 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 displayed abnormally on the multimedia interface according to first display information output by the multimedia interface;

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

[0081] The second processing module is used to control the playback device to play the second test image, and determine the target welding state of the pin on the mainboard according to the second display information output by the multimedia interface.

[0082] Through the above device, after receiving a test request for the pin welding status, a multi-round test method is used to achieve accurate detection of the pin welding status, that is, first constructing a first test image according to the playback color range of the playback device, and determining the target color that displays abnormally on the interface through the first display information output by the multimedia interface for the first test image, thereby realizing a universal display test of the multimedia interface, and thus locating the color that displays abnormally; then constructing a second test image according to the target color, thereby testing the display performance of the multimedia interface at the target color image, and then determining the pin welding status according to the second display information output by the interface, and realizing locating the abnormal display scene of the multimedia interface and determining the pin welding status through a multi-round test method. Therefore, the technical problem of low efficiency in detecting the pin welding status in the related art can be solved, and the technical effect of improving the efficiency of detecting the pin welding status can be achieved.

[0083] Optionally, the second processing module includes:

[0084] a matching unit, configured to perform color matching between a target image outputted by the multimedia interface and the second test image to obtain color deviation information of the target image, wherein the second display information includes the target image, and the color deviation information indicates a deviation between an image color of the target image and an image color of the second test image;

[0085] The first determining unit is configured to determine the target welding state of each of the plurality of sub-pins according to the color deviation information, wherein the plurality of sub-pins are pins for adjusting pixel colors of an image output by the multimedia interface.

[0086] Optionally, the matching unit is configured to: extract a first color array of a pixel point in the target image, wherein the first color array records a color brightness value of each color channel of a plurality of color channels of the pixel point, the plurality of color channels are a plurality of color components for adjusting the color of the pixel point, the plurality of color channels and the plurality of sub-pins are arranged in a 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 second color data of the corresponding pixel point in the second test image to obtain a color deviation amount of each color channel of the pixel point, wherein the color deviation information includes the color deviation amount of each color channel of the pixel point;

[0087] The first determination unit is used to: extract a target color channel whose color deviation is greater than or equal to a target deviation from multiple color channels, wherein the multiple color channels and the multiple sub-pins are set in a 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; determine that the target sub-pin corresponding to the target color channel is in an abnormal welding state, wherein the target welding state includes the abnormal welding state.

[0088] Optionally, the first building block includes:

[0089] an extraction unit, configured to extract a plurality of reference colors included in the playback color gamut;

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

[0091] The configuration unit is used to configure the playback timing of the plurality of 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 outputted through the multimedia interface, wherein the first test image includes a plurality of reference pure color images played sequentially, each of the reference pure color images corresponding to one of the reference colors in the playback color gamut;

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

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

[0096] Detecting the target number of noise points included in the target pure color image; determining the target image quality corresponding to the target number of noise points from the corresponding number of noise points and image quality;

[0097] Detecting a target color deviation between the target pure color image and the corresponding reference pure color image; and determining the target image quality corresponding to the target color deviation from the color deviation and image quality having a corresponding relationship.

[0098] Optionally, the second building block includes one of the following:

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

[0100] The processing unit is configured to generate a first pure color image of the target color when the target color is one; configure the brightness of the first pure color image according to multiple target brightness values ​​to obtain multiple second pure color images, wherein each second pure color image corresponds to one target brightness value; and configure the playback timing of the multiple second pure 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, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned pin welding status detection method embodiments.

[0102] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps of any of the above-mentioned pin welding status detection method embodiments when running.

[0103] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, 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 disk.

[0104] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of any of the above-mentioned pin welding status detection method embodiments are implemented.

[0105] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned pin welding status detection method embodiments are implemented.

[0106] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0107] The above is a detailed introduction to a pin welding status detection method and device provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A method for detecting the soldering status of a pin, characterized in that: include: Receive a test request, wherein the test request is used to request detection of a soldering status of a plurality of sub-pins included in a pin of a multimedia interface on a motherboard of a playback device to which the multimedia interface is connected, the plurality of sub-pins respectively corresponding to a plurality of color channels for adjusting the color of a pixel, and the plurality of sub-pins adjust the color of the pixel by adjusting the color brightness of the corresponding color channel on the pixel; Constructing a first test image for the multimedia interface according to the playback color gamut of the playback device, wherein the first test image is used to test the multimedia interface's display performance for colors within the playback color gamut, where the playback color gamut is the range of colors that can be expressed by a color representation mode in an image required to be played by the playback device; Controlling the playback device to play the first test image, and determining a target color that is abnormally displayed 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, wherein the second test image is used to test the display performance of the multimedia interface for the image of the target color; controlling the playback device to play the second test image, and determining target soldering states of the plurality of sub-pins included in the pin on the mainboard according to second display information output by the multimedia interface; Constructing a first test image of the multimedia interface according to the playback color gamut of the playback device includes: selecting basic colors and mixed colors within the playback color gamut, wherein the basic colors are basic primary colors that constitute a color system, the basic primary colors are used to mix to produce other colors, and the mixed colors are colors obtained by mixing multiple colors in the playback color gamut; constructing a color transformation image based on the distribution relationship between the basic colors and the mixed colors in the playback color gamut, wherein the first test image includes the color transformation image, and the color transformation image records an image that gradually changes from one color to another.

2. The method according to claim 1, characterized in that The determining the target soldering state of the pin on the mainboard according to the second display information output by the multimedia interface includes: performing color matching on a target image outputted by the multimedia interface and the second test image to obtain color deviation information of the target image, wherein the second display information includes the target image, and the color deviation information is used to indicate a deviation between an image color of the target image and an image color of the second test image; The target welding state of each of the sub-pins is determined according to the color deviation information, wherein the sub-pins are pins for adjusting pixel colors of an image output by the multimedia interface.

3. The method according to claim 2, characterized in that The color matching of 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 pixels in the target image, wherein the first color array records the color brightness value of each color channel of a plurality of color channels of the pixel, the plurality of color channels are a plurality of color components for adjusting the color of the pixel, the plurality of color channels are arranged in a one-to-one correspondence with the plurality of sub-pins, and the sub-pins are used to adjust the brightness value of the corresponding color channel; matching the first color array with second color data of the corresponding pixel in the second test image to obtain a color deviation amount of each color channel of the pixel, wherein the color deviation information includes the color deviation amount of each color channel of the pixel; The method of determining the target welding state of each of the multiple sub-pins based on the color deviation information includes: extracting a target color channel whose color deviation is greater than or equal to the target deviation from multiple color channels, wherein the multiple color channels and the multiple sub-pins are set in a one-to-one correspondence, and the sub-pin is 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 welding state, wherein the target welding state includes the abnormal welding state.

4. The method according to claim 1, wherein The step of constructing the first test image of the multimedia interface according to the playback color gamut of the playback device includes: Extracting a plurality of reference colors included in the playback color gamut; Constructing a reference pure color image corresponding to each reference color according to the image playback size of the playback device; The playback sequence of the plurality of reference pure color images is configured to obtain the first test image.

5. The method according to claim 1, characterized in that The determining, according to the first display information output by the multimedia interface, a target color displaying an abnormality on the multimedia interface includes: detecting a target image quality of a target pure color image corresponding to each reference color outputted through the multimedia interface, wherein the first test image includes a plurality of reference pure color images played sequentially, each of the reference pure color images corresponding to one of the reference colors in the playback color gamut; When the quality of the target pure color image is less than or equal to a set threshold, the reference color corresponding to the target pure color image is determined as the target color.

6. The method according to claim 5, characterized in that The detecting the target image quality of the target pure color image corresponding to each reference color outputted through the multimedia interface includes one of the following: Detecting the target number of noise points included in the target pure color image; determining the target image quality corresponding to the target number of noise points from the corresponding number of noise points and image quality; Detecting a target color deviation between the target pure color image and the corresponding reference pure color image; and determining the target image quality corresponding to the target color deviation from the color deviation and image quality having a corresponding relationship.

7. The method according to claim 1, characterized in that The step of constructing a second test image of the target color for the multimedia interface includes one of the following: In the case where there are multiple target colors, constructing a candidate image including the multiple target colors, wherein the multiple target colors gradually change in the candidate image, and the second test image includes the candidate image; When there is only one target color, a first pure color image of the target color is generated; the brightness of the first pure color image is configured according to multiple target brightness values ​​to obtain multiple second pure color images, wherein each second pure color image corresponds to one target brightness value; the playback timing of the multiple second pure color images is configured in descending order of brightness values ​​to obtain the second test image.

8. A device for detecting the soldering status of a pin, characterized in that: include: a receiving module, configured to receive a test request, wherein the test request is configured to request detection of a soldering status of a plurality of sub-pins included in a pin of a multimedia interface on a motherboard of a playback device to which the multimedia interface is connected, the plurality of sub-pins respectively corresponding to a plurality of color channels for adjusting the color of a pixel, and the plurality of sub-pins adjusting the color of a pixel by adjusting the color brightness of the corresponding color channel on the pixel; A first construction module is configured to construct a first test image of the multimedia interface according to the playback color gamut of the playback device, wherein the first test image is used to test the display performance of the multimedia interface for colors within the playback color gamut, and the playback color gamut is the range of colors that can be expressed by a color representation mode in an image played by the playback device. Constructing the first test image of the multimedia interface according to the playback color gamut of the playback device includes: selecting basic colors and mixed colors within the playback color gamut, wherein the basic colors are basic primary colors constituting a color system, the basic primary colors are used to mix to produce other colors, and the mixed colors are colors obtained by mixing multiple colors within the playback color gamut; constructing a color transformation image based on the distribution relationship between the basic colors and the mixed colors in the playback color gamut, wherein the first test image includes the color transformation image, and the color transformation image records an image that gradually changes from one color to another; a first processing module, configured to control the playback device to play the first test image, and determine a target color displayed abnormally on the multimedia interface according to first display information output by the multimedia interface; A second construction module is configured to construct a second test image of the target color for the multimedia interface, wherein the second test image is used to test a display performance of the multimedia interface for an image of the target color; The second processing module is used to control the playback device to play the second test image, and determine the target welding status of the multiple sub-pins included in the pin on the mainboard according to the second display information output by the multimedia interface.

9. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the method for detecting the pin welding status as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the method for detecting the pin welding status according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

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

    CN119992991A