Screen circuit detection method and related device
By acquiring digital image signals of the screen circuit through a video acquisition board, and using RGB value comparison and blur processing to determine screen circuit faults, the problems of space occupation and light influence of the dark box are solved, and efficient and reliable screen circuit testing is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2026-03-27
AI Technical Summary
Existing screen circuit testing methods require a dark box, which takes up space, and the image clarity is affected by the lighting environment, resulting in unreliable test results.
The digital image signal of the screen circuit is acquired by a video acquisition board. The screen circuit is judged to be faulty by comparing the measured RGB value with the standard RGB value. The image color spectrum is processed by a fuzzy weight function for accurate judgment, and the faulty screen is marked with an identification mark.
Multi-screen circuit testing can be achieved without a dark box, reducing costs, improving space utilization, and ensuring high stability of digital image signals and reliable test results.
Smart Images

Figure CN121747439A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of equipment testing technology, and in particular to a screen circuit testing method and related apparatus. Background Technology
[0002] like Figure 1 As shown, in the screen circuit testing scenario, multiple screen peripherals are connected to the End of Line (EOL) testing device. A CCD (Charge Coupled Device) camera is added to the screen for screen testing. During screen testing, the CCD camera acquires screen images and sends the acquired images to a host computer for image analysis. The host computer determines whether the screen circuit has malfunctioned based on the image analysis results.
[0003] To install the aforementioned screen and its corresponding CCD camera, a dark box is required. Both the screen and the CCD camera are placed inside the dark box, which occupies a lot of space and affects space utilization efficiency. At the same time, the image clarity captured by the CCD camera is easily affected by the lighting environment in the test environment, making the screen test results unreliable. Summary of the Invention
[0004] In view of the above problems, this application provides a screen detection method and related apparatus to reliably detect whether the screen circuit is faulty.
[0005] The first aspect of this application provides a screen detection method, including:
[0006] Output display control commands to the screen display control system, the display control commands being used to cause the screen display control system to control the screen to display a target image;
[0007] The video acquisition board is used to process the video signal output from the screen circuit in the screen display control system into a digital image signal.
[0008] Determine the measured RGB values that match the digital image signal;
[0009] Based on the comparison results between the measured RGB values and the standard RGB values, it is determined whether the screen circuit is faulty.
[0010] Optionally, in the above screen circuit detection method, before determining whether the screen circuit is faulty based on the comparison result between the measured RGB value and the standard RGB value, the method further includes:
[0011] Obtain the standard RGB value that matches the display control command.
[0012] Optionally, in the above screen circuit detection method, after determining the measured RGB value that matches the video signal of the screen circuit, the method further includes:
[0013] Determine whether the measured RGB value is within a preset threshold range. If it is not within the preset threshold range, output a prompt message to indicate a screen circuit failure.
[0014] Optionally, in the above screen circuit detection method, determining whether the screen circuit is faulty based on the comparison result between the measured RGB value and the standard RGB value includes:
[0015] Obtain the color spectrum of the tested image that matches the measured RGB values;
[0016] The chromatogram of the image under test is blurred by using a fuzzy weighting function to obtain the chromatogram of the image under test after blurring.
[0017] Obtain a standard test image chromatogram that matches the standard RGB values;
[0018] The screen circuit is determined to be faulty based on the comparison results between the chromatogram of the tested image after blurring and the chromatogram of the standard tested image.
[0019] Optionally, the above screen circuit detection method further includes, after determining that the screen circuit is faulty, the following steps:
[0020] Obtain the screen identity identifier corresponding to the video signal, wherein the screen identity identifier is used to characterize the identity of the screen circuit corresponding to the video signal;
[0021] Output a prompt message to indicate a fault in the screen circuit, the prompt message including at least the screen identification identifier.
[0022] Optionally, in the above screen circuit detection method, outputting display control commands to the screen display control system includes:
[0023] The display control instructions in the test instruction database are traversed sequentially. The display control instructions in the test instruction database include at least control instructions for controlling the display of five colors: red, green, blue, white, and black on the screen.
[0024] Output the traversed output display control commands to the screen display control system.
[0025] A screen circuit detection device, comprising:
[0026] The display system control unit is used to output display control commands to the screen display control system, the display control commands being used to cause the screen display control system to control the screen to display a target image;
[0027] The video capture board interaction unit is used to acquire the video signal from the screen circuit captured by the video capture board.
[0028] The measured RGB value calculation unit is used to determine the measured RGB value that matches the video signal of the screen circuit.
[0029] The fault analysis unit is used to determine whether the screen circuit is faulty based on the comparison result between the measured RGB value and the standard RGB value.
[0030] A computer program product includes computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement the screen circuit detection method described in any one of the preceding claims.
[0031] An electronic device includes at least one processing device and a memory connected to said processing device, wherein:
[0032] The memory is used to store computer programs;
[0033] The processing device is used to execute the computer program so that the electronic device can implement the screen circuit detection method described in any one of the above descriptions.
[0034] A computer storage medium carrying one or more computer programs, which, when executed by an electronic device, enable the electronic device to implement the screen circuit detection method described in any one of the above claims.
[0035] A type of automobile uses the aforementioned screen circuit detection device.
[0036] By means of the above technical solution, the solution provided in this application, when testing the screen circuit, outputs a display control command to the screen display control system, and then acquires the digital image signal output by the video acquisition board. The digital image signal is obtained by processing the video signal through the video acquisition board. The video signal is the output signal of the screen circuit in the screen display control system. Then, the measured RGB value matching the digital image signal is determined, and the measured RGB value is compared with the standard RGB value. Based on the comparison result, it is determined whether there is a fault in the screen circuit. In this solution, only one video acquisition board is needed to test multiple screen circuits, reducing the testing cost. Moreover, there is no need to set up a dark box, which improves the space utilization of the application scenario. At the same time, the digital image signal output by the video acquisition board is not affected by the light intensity and has high stability, ensuring the reliability of the test results. Attached Figure Description
[0037] The above and other features, advantages, and aspects of the embodiments disclosed in this application will become more apparent when taken in conjunction with the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0038] Figure 1 A schematic diagram of a scenario for testing existing screen circuitry;
[0039] Figure 2 A schematic diagram of a system architecture for implementing a screen circuit detection scheme is shown;
[0040] Figure 3 A schematic diagram of one possible hardware structure for the terminal is shown;
[0041] Figure 4 A schematic diagram of a server structure is shown;
[0042] Figure 5 A schematic flowchart of a screen circuit detection method provided in an embodiment of this application;
[0043] Figure 6 This is a schematic diagram illustrating an application scenario of the screen circuit detection method provided in the embodiments of this application;
[0044] Figure 7 A flowchart illustrating a screen circuit detection method provided in another embodiment of this application;
[0045] Figure 8 This is a schematic diagram of the screen circuit detection device disclosed in the embodiments of this application;
[0046] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0047] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is for explaining specific embodiments only and is not intended to limit the scope of this application.
[0048] The embodiments of this application will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0049] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
[0050] This application can be applied to the field of equipment testing. The following section will introduce several application scenarios that can be implemented in products, taking screen testing as an example.
[0051] First, let's introduce the application scenarios of this application.
[0052] This application can be applied, but is not limited to, to applications with image detection capabilities or cloud services provided by cloud-side servers, which will be described in detail below:
[0053] See Figure 2 , Figure 2 A schematic diagram of a system architecture for implementing a screen circuit detection scheme is shown. The system may include a terminal 100 and a server 200. The server 200 may include one or more servers (…). Figure 2 (The example includes a server), and the server 200 can provide the method provided in the embodiments of this application to one or more terminals.
[0054] The terminal 100 may be equipped with an application for screen circuit detection. The application and webpage can provide an interface. The terminal 100 can receive relevant parameters input by the user on the human-computer interaction interface and send the parameters to the server 200. The server 200 can obtain the processing result based on the received parameters and return the processing result to the terminal 100.
[0055] It should be understood that in some optional implementations, the terminal 100 can also complete the action of obtaining the processing result based on the received parameters on its own, without the need for the server to cooperate. This application embodiment is not limited to this.
[0056] The following description Figure 2 The product form of the mid-terminal 100;
[0057] The terminal 100 in this application embodiment can be an in-vehicle device or other device with data processing function, and this application embodiment does not impose any restrictions on it.
[0058] Figure 3 A schematic diagram of an optional hardware structure for terminal 100 is shown.
[0059] refer to Figure 3 As shown, the terminal 100 may include a radio frequency unit 110, a memory 120, an input unit 130, a display unit 140, a camera 150 (optional), an audio circuit 160 (optional), a speaker 161 (optional), a microphone 162 (optional), a headphone jack 163 (optional), a processor 170, an external interface 180, a power supply 190, and other components. Those skilled in the art will understand that... Figure 3 These are merely examples of terminals or multi-functional devices and do not constitute a limitation on terminals or multi-functional devices. They may include more or fewer components than shown in the illustration, or combine certain components, or use different components.
[0060] The input unit 130 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the portable multi-functional device. Specifically, the input unit 130 may include a touchscreen 131 (optional) and / or other input devices 132. The touchscreen 131 can collect touch operations performed by the user on or near it (such as operations performed by the user using fingers, knuckles, styluses, or any suitable object on or near the touchscreen), and drive the corresponding connection devices according to a pre-set program. The touchscreen can detect the user's touch actions, convert the touch actions into touch signals and send them to the processor 170, and can receive and execute commands sent by the processor 170; the touch signal includes at least touch point coordinate information. The touchscreen 131 can provide an input interface and an output interface between the terminal 100 and the user. In addition, various types of touchscreens, such as resistive, capacitive, infrared, and surface acoustic wave, can be used to implement the touchscreen. Besides the touchscreen 131, the input unit 130 may also include other input devices. Specifically, other input devices 132 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.
[0061] Among them, the input device 132 can receive input data, etc.
[0062] The display unit 140 can be used to display information input by the user or information provided to the user, various menus of the terminal 100, interactive interfaces, file display, and / or playback of any multimedia file. In this embodiment, the display unit 140 can be used to display an interface showing measured RGB values and standard RGB values, fault diagnosis results, etc.
[0063] The memory 120 can be used to store control instructions and data. The memory 120 mainly includes an instruction storage area and a data storage area. The data storage area can store various types of data, such as multimedia files, text, processing data, and processing result data. The instruction storage area can store instructions required by the operating system, applications, or at least one function, or a subset or extended set of them. It may also include non-volatile random access memory. It provides the processor 170 with hardware, software, and data resources for managing the computing device, supporting control software and applications. It is also used for storing multimedia files, as well as storing running programs and applications.
[0064] The processor 170 is the control center of the terminal 100. It connects various parts of the terminal 100 via various interfaces and lines. By running or executing instructions stored in the memory 120 and calling data stored in the memory 120, it performs various functions and processes data of the terminal 100, thereby controlling the terminal device as a whole. Optionally, the processor 170 may include one or more processing units; preferably, the processor 170 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 170. In some embodiments, the processor and memory can be implemented on a single chip; in some embodiments, they can also be implemented separately on independent chips. The processor 170 can also be used to generate corresponding operation control signals, send them to the corresponding components of the computing processing device, read and process data in the software, especially read and process data and programs in the memory 120, so that the various functional modules therein perform corresponding functions, thereby controlling the corresponding components to act according to the instructions.
[0065] The memory 120 can be used to store software code related to the screen circuit detection method. The processor 170 can execute the steps of the screen circuit detection method and can also schedule other units (such as the above-mentioned input unit 130 and display unit 140) to achieve the corresponding functions.
[0066] When terminal 100 and server 200 cooperate to implement the screen circuit detection method, the radio frequency unit 110 can be used for receiving and sending signals during information transmission or calls. For example, it can receive downlink information from the base station and process it for processor 170; in addition, it can send uplink data to the base station. Typically, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, etc. Furthermore, the radio frequency unit 110 can also communicate with network devices and other devices wirelessly. This wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0067] In this embodiment of the application, the radio frequency unit 110 can send data (which may be digital image signals output by a video capture board and standard RGB values) to the server 200. After the server 200 obtains the digital image signals and standard RGB values, it can determine the measured RGB values that match the digital image signals, and based on the comparison results between the measured RGB values and the standard RGB values, determine whether the screen circuit is faulty and generate a judgment result. The radio frequency unit 110 can also receive the judgment result sent by the server 200.
[0068] It should be understood that the radio frequency unit 110 is optional and can be replaced with other communication interfaces, such as a network port.
[0069] The terminal 100 also includes a power supply 190 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 170 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
[0070] Terminal 100 also includes an external interface 180, which can be a standard Micro USB interface or a multi-pin connector, which can be used to connect terminal 100 to other devices (such as computers and monitors) for communication, or to connect a charger to charge terminal 100.
[0071] Although not shown, terminal 100 may also include a flash, a wireless fidelity (WiFi) module, a Bluetooth module, sensors with various functions, etc., which will not be described in detail here. Some or all of the methods described below can be applied to, for example... Figure 3 In the terminal 100 shown.
[0072] The following description Figure 2 The product form of the mid-range server 200;
[0073] Figure 4 A structural diagram of a server 200 is provided, as follows: Figure 4 As shown, server 200 includes bus 201, processor 202, communication interface 203, and memory 204. Processor 202, memory 204, and communication interface 203 communicate with each other via bus 201.
[0074] Bus 201 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0075] The processor 202 can be any one or more of the following processors: central processing unit (CPU), graphics processing unit (GPU), microprocessor (MP), or digital signal processor (DSP).
[0076] Memory 204 may include volatile memory, such as random access memory (RAM). Memory 204 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).
[0077] The memory 204 can be used to store software code related to the screen circuit detection method, and the processor 202 can execute each step of the code corresponding to the screen circuit detection method stored in the chip, and can also schedule other units to implement the corresponding functions.
[0078] It should be understood that the aforementioned terminal 100 and server 200 can be centralized or distributed devices. The processors (e.g., processor 170 and processor 202) in the aforementioned terminal 100 and server 200 can be hardware circuits (such as application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), general-purpose processors, digital signal processors (DSPs), microprocessors or microcontrollers, etc.) or combinations of these hardware circuits. For example, the processor can be a hardware system with instruction execution capabilities, such as a CPU or DSP, or a hardware system without instruction execution capabilities, such as an ASIC or FPGA, or a combination of the aforementioned hardware systems without instruction execution capabilities and hardware systems with instruction execution capabilities.
[0079] To address the aforementioned problems in the background art, this application provides a screen circuit detection method. The screen circuit detection method of this application embodiment will now be described in detail with reference to the accompanying drawings.
[0080] Reference Figure 5 , Figure 5 This is a flowchart illustrating a screen circuit detection method provided in an embodiment of this application, as follows: Figure 5 As shown in the embodiment of this application, a screen circuit detection method may include steps S501 to S504, which are described in detail below.
[0081] S501: Outputs display control commands to the screen display control system.
[0082] The screen circuit detection method disclosed in this embodiment can be applied to a host computer PC. The host computer PC performs fault detection on the screen circuit. The screen circuit refers to the circuit system directly related to the screen display function, such as the screen display driver circuit and the screen control circuit. The screen controls its own state based on the output signal of the screen circuit.
[0083] In this step, see Figure 6 When the host PC detects the screen circuit, it outputs a display control command to the screen display control system. The screen display control system has the aforementioned screen circuit. When the screen display control system receives the display control command, it generates a video signal to control the display state of the screen. Under the control of the video signal, the screen displays the target image.
[0084] S502: Acquires the digital image signal output by the video capture board.
[0085] In this plan, see Figure 6 A video acquisition board is used instead of the CCD camera and screen. The video acquisition board acquires the video signal output by the screen circuit in the screen display control system. The video acquisition board processes the video signal into an image signal. This process is more accurately described as converting analog video signal into digital image signal. The video capture board can include an image acquisition section and an image upload PC section. The image acquisition section is used to interact with the screen circuit and acquire the video signal output by the screen circuit. The image upload PC section is used to send the acquired video signal to the host computer PC. The key parameters of the video capture board need to be completely consistent with the actual screen connected to the screen circuit to ensure that the video capture board can be adapted to the screen display control system. Specifically: 1. The deserializer of the video capture board needs to be the same model as the deserializer of the screen to ensure compatibility with the serializer of the screen display control system; 2. The IIC address of the video capture board (the IIC (Inter-Integrated Circuit, also known as I2C) address of the video capture board refers to the address code used to uniquely identify the video capture board on the IIC bus) needs to be designed according to the IIC address of the actual screen so that the screen display control system can communicate with the video capture board; 3. The LinkLock rate needs to be set correctly, such as 3G or 6G mode; 4. The resolution needs to be consistent with the actual screen, such as 2880×1620.
[0086] S503: Determine the measured RGB value that matches the digital image signal.
[0087] In this step, the host computer (PC) is connected to the video acquisition board via the camera API interface. The PC obtains the digital image signal output by the video acquisition board by calling the camera API interface, processes the digital image signal, and obtains the measured RGB value that matches the digital image signal.
[0088] S504: Based on the comparison results between the measured RGB values and the standard RGB values, determine whether the screen circuit is faulty.
[0089] In this embodiment, the display control command is a known command that corresponds to the standard RGB value. The standard RGB value refers to the RGB value that matches the digital image signal output by the video acquisition board when the screen circuit is fault-free. By comparing the measured RGB value with the standard RGB value, it is determined whether the difference between the two is greater than a preset value. If it is greater than the preset value, it indicates that the screen circuit is faulty; otherwise, it indicates that the screen circuit is normal and fault-free.
[0090] The above-described scheme disclosed in this embodiment, when testing the screen circuit, outputs a display control command to the screen display control system, and then acquires the digital image signal output by the video acquisition board. The digital image signal is obtained by processing the video signal through the video acquisition board. The video signal is the output signal of the screen circuit in the screen display control system. Then, a measured RGB value matching the digital image signal is determined, and the measured RGB value is compared with the standard RGB value. Based on the comparison result, it is determined whether there is a fault in the screen circuit. In this scheme, only one video acquisition board is needed to test multiple screen circuits, reducing the testing cost. Moreover, there is no need to set up a dark box, which improves the space utilization of the application scenario. At the same time, the digital image signal output by the video acquisition board is not affected by the light intensity and has high stability, ensuring the reliability of the test results.
[0091] In this embodiment, different display control commands can be used to control the screen to display different colors. For example, the display control commands can control the screen to display red, green, blue, white, or black. Each color corresponds to one display control command. When the screen displays different colors, the RGB values corresponding to the digital image signal are different when the screen circuit is fault-free. In this application, the RGB values corresponding to the digital image signal when the screen circuit is fault-free are recorded as standard RGB values. Therefore, before determining whether the screen circuit is faulty based on the comparison result between the measured RGB values and the standard RGB values, it is also necessary to determine the standard RGB values to be compared with the measured RGB values. Since there is a one-to-one correspondence between the display control commands and the standard RGB values, based on this correspondence, once the display control command is determined, the standard RGB value matching the display control command can be directly obtained.
[0092] In the technical solution disclosed in this embodiment, a preset threshold matching the display control command can be pre-configured. Before comparing the measured RGB value with the standard RGB value, the measured RGB value can be directly compared with the preset threshold to determine whether the measured RGB value is within the preset threshold range. If it is not within the preset threshold range, a prompt message indicating a screen circuit fault is directly output. Of course, when the measured RGB value is within the preset threshold range, step S504 can be executed again to further determine whether the screen circuit is faulty.
[0093] In this embodiment, in order to determine whether the host computer PC can reliably identify whether the screen circuit is faulty, some screen circuit faults can be created first, and then screen circuit detection can be performed on the known faulty screen circuits to determine whether the host computer can detect the screen circuit fault. If the screen circuit fault is detected, then the host computer PC can reliably identify the screen circuit.
[0094] This embodiment discloses a specific scheme for determining whether the screen circuit is faulty based on the comparison result between the measured RGB value and the standard RGB value. See [link to relevant documentation]. Figure 7 The process may include:
[0095] Step S701: Obtain the color spectrum of the tested image that matches the measured RGB values.
[0096] In this step, after obtaining the measured RGB values, the color spectrum of the tested image that matches the measured RGB values is obtained.
[0097] To calculate the image color spectrum, the first step is to obtain the measured RGB values corresponding to the region. Then, the range of these measured RGB values is divided into different color intervals, which can be set based on color psychology, color wheels, or specific application scenarios. Next, each pixel is traversed, categorized into its corresponding color interval based on its measured RGB value, and the number of pixels in each interval is counted. To more intuitively represent the image color spectrum, the proportion of each color (or color interval) in the image region can be calculated, thus obtaining the measured image color spectrum corresponding to the measured RGB values.
[0098] Step S702: The chromatogram of the image under test is blurred using a fuzzy weighting function to obtain the chromatogram of the image under test after blurring.
[0099] In this step, the characteristics of different colors or regions in the image's color spectrum are first analyzed, and a weighting scheme is designed. The weight values reflect the degree of sharpness that each color or region should retain during blurring. Subsequently, these weights are introduced into the blurring algorithm to obtain a blur weight function, which automatically adjusts the blur intensity based on the color or region to which a pixel belongs during processing. In this way, key colors or regions in the image remain relatively sharp, while other parts are blurred to varying degrees according to their weights, thus achieving a blurring effect that matches the image's color spectrum.
[0100] Step S703: Obtain the standard test image chromatogram that matches the standard RGB values;
[0101] The standard test image chromatogram is a pre-configured standard image chromatogram that is processed using a fuzzy weighting function to obtain the standard test image chromatogram corresponding to the standard RGB values.
[0102] Step S704: Determine whether the screen circuit is faulty based on the comparison result between the chromatogram of the tested image after blurring and the chromatogram of the standard tested image.
[0103] After determining the chromatogram of the tested image after blurring and the chromatogram of the standard tested image, the two are compared to determine whether the error of the proportion of each color in the chromatogram is within the allowable error range. If it is within the allowable error range, it indicates that the screen circuit is fault-free; otherwise, it indicates that the screen circuit is faulty.
[0104] In the technical solution disclosed in this embodiment, the video acquisition board can be used to detect faults in multiple screen circuits. Therefore, to help users understand which screen circuit has malfunctioned, the method further includes, after determining that a screen circuit has malfunctioned, obtaining the identification identifier of the screen or screen circuit corresponding to the video signal and outputting a prompt message indicating the screen circuit malfunction. The prompt message includes at least the identification identifier of the screen or screen circuit, which is used to identify the screen or screen circuit corresponding to the video signal. In the technical solution disclosed in this embodiment, the video signal contains a screen identification identifier used to identify the screen circuit. Based on this screen identification identifier, it is possible to determine which screen circuit is currently being detected. Once the screen circuit is determined, the screen identification identifier is loaded into the prompt message, and the prompt message is output to inform the user which screen circuit has malfunctioned.
[0105] In this embodiment, all display control commands can be loaded into a test command database. The display control commands in the test command database are then traversed sequentially, and the traversed output display control commands are output to the screen display control system. At this time, the screen circuit can be tested based on all the display control commands to determine whether the screen circuit can work reliably under each command. If the screen circuit is determined to be fault-free under all display control commands, it indicates that the screen circuit is fault-free. If a fault is detected in the screen circuit under any display control command, it indicates that the screen circuit is faulty. The display control commands in the test command database include at least control commands for controlling the screen to display five colors: red, green, blue, white, and black.
[0106] The above describes a screen circuit detection method provided by the embodiments of this application. The following will describe the apparatus for performing the above screen circuit detection method.
[0107] Please see Figure 8 , Figure 8 This is a schematic diagram of a screen circuit detection device provided in an embodiment of this application. Figure 8 As shown, the screen circuit detection device includes:
[0108] The display system control unit 10 is used to output display control commands to the screen display control system, the display control commands being used to cause the screen display control system to control the screen to display a target image;
[0109] The video acquisition board interaction unit 20 is used to acquire the video signal from the screen circuit acquired by the video acquisition board.
[0110] The measured RGB value calculation unit 30 is used to determine the measured RGB value that matches the video signal of the screen circuit.
[0111] The fault analysis unit 40 is used to determine whether the screen circuit is faulty based on the comparison result between the measured RGB value and the standard RGB value.
[0112] Corresponding to the above method, the fault analysis unit 40 is also used to obtain a standard RGB value that matches the display control command.
[0113] Corresponding to the above method, the above device may also include a threshold comparison unit, used to determine whether the measured RGB value is within a preset threshold range, and if it is not within the preset threshold range, output a prompt message to indicate a screen circuit failure.
[0114] Corresponding to the above method, after the fault analysis unit 40 determines whether the screen circuit is faulty, it further includes: obtaining the screen identity identifier corresponding to the video signal; and outputting prompt information to characterize the screen circuit fault, wherein the prompt information includes at least the screen identity identifier.
[0115] This application also provides an electronic device in its embodiments. (See reference...) Figure 9 The diagram illustrates a structural schematic suitable for implementing the electronic device in the embodiments of this application. The electronic device in the embodiments of this application may include, but is not limited to, fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Figure 9 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0116] like Figure 9 As shown, the electronic device may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. When the electronic device is powered on, the RAM 603 also stores various programs and data required for the operation of the electronic device. The processing unit 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0117] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, memory cards, hard drives, etc.; and communication devices 609. Communication device 609 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 9 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0118] This application also provides a computer program product including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the screen circuit detection methods provided in this application.
[0119] This application also provides a computer-readable storage medium that carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the screen circuit detection methods provided in this application.
[0120] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0121] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0122] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0123] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
Claims
1. A method for detecting screen circuits, characterized in that, include: Output display control commands to the screen display control system, the display control commands being used to cause the screen display control system to control the screen to display a target image; The video acquisition board is used to process the video signal output from the screen circuit in the screen display control system into a digital image signal. Determine the measured RGB values that match the digital image signal; Based on the comparison results between the measured RGB values and the standard RGB values, it is determined whether the screen circuit is faulty.
2. The screen circuit detection method according to claim 1, characterized in that, Before determining whether the screen circuit is faulty, based on the comparison results between the measured RGB values and the standard RGB values, the following steps are also included: Obtain the standard RGB value that matches the display control command.
3. The screen circuit detection method according to claim 1, characterized in that, After determining the measured RGB values that match the video signal of the screen circuit, the process further includes: Determine whether the measured RGB value is within a preset threshold range. If it is not within the preset threshold range, output a prompt message to indicate a screen circuit failure.
4. The screen circuit detection method according to claim 1, characterized in that, Based on the comparison results between the measured RGB values and the standard RGB values, the determination of whether the screen circuit is faulty includes: Obtain the color spectrum of the tested image that matches the measured RGB values; The chromatogram of the image under test is blurred by using a fuzzy weighting function to obtain the chromatogram of the image under test after blurring. Obtain a standard test image chromatogram that matches the standard RGB values; The screen circuit is determined to be faulty based on the comparison results between the chromatogram of the tested image after blurring and the chromatogram of the standard tested image.
5. The screen circuit detection method according to claim 1, characterized in that, After determining that the screen circuit is faulty, the following is also included: Obtain the screen identity identifier corresponding to the video signal, wherein the screen identity identifier is used to characterize the identity of the screen circuit corresponding to the video signal; Output a prompt message to indicate a fault in the screen circuit, the prompt message including at least the screen identification identifier.
6. The screen circuit detection method according to claim 1, characterized in that, Output display control commands to the screen display control system, including: The display control instructions in the test instruction database are traversed sequentially. The display control instructions in the test instruction database include at least control instructions for controlling the display of five colors: red, green, blue, white, and black on the screen. Output the traversed output display control commands to the screen display control system.
7. A screen circuit detection device, characterized in that, include: The display system control unit is used to output display control commands to the screen display control system, the display control commands being used to cause the screen display control system to control the screen to display a target image; The video capture board interaction unit is used to acquire the video signal from the screen circuit captured by the video capture board. The measured RGB value calculation unit is used to determine the measured RGB value that matches the video signal of the screen circuit. The fault analysis unit is used to determine whether the screen circuit is faulty based on the comparison result between the measured RGB value and the standard RGB value.
8. A computer program product, characterized in that, It includes computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement the screen circuit detection method as described in any one of claims 1 to 6.
9. An electronic device, characterized in that, It includes at least one processing device and a memory connected to the processing device, wherein: The memory is used to store computer programs; The processing device is used to execute the computer program to enable the electronic device to implement the screen circuit detection method as described in any one of claims 1 to 6.
10. A computer storage medium, characterized in that, The storage medium carries one or more computer programs that, when executed by an electronic device, enable the electronic device to implement the screen circuit detection method as described in any one of claims 1 to 6.