Display screen detection method and system, electronic device, and storage medium

By introducing a communication architecture between central relay devices and edge relay devices into the display screen inspection system, the problems of signal attenuation and interference in long-distance transmission are solved, multi-host independent communication is realized, and the reliability and efficiency of display screen inspection are improved.

CN121365025BActive Publication Date: 2026-04-24SUZHOU IND PARK HIDEA MECHATRONICS TECH
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUZHOU IND PARK HIDEA MECHATRONICS TECH
Filing Date
2025-12-18
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Existing display screen testing systems are susceptible to interference and delays during long-distance transmission. The traditional SPI communication architecture is difficult to adapt to the need for multiple masters to send data to slaves distributed at different workstations, resulting in insufficient testing reliability.

Method used

A central relay device is introduced, which connects to multiple hosts via the SPI bus and communicates with each edge relay device. The edge relay devices can convert protocol commands to enable independent communication between multiple hosts, alleviate signal attenuation and interference, and extend the reliable transmission distance.

Benefits of technology

It enables reliable communication between multiple master units and different slave units, improving the reliability and efficiency of display screen detection, and is suitable for large-scale production lines or cross-regional deployment scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121365025B_ABST
    Figure CN121365025B_ABST
Patent Text Reader

Abstract

The application relates to a display screen detection method and system, electronic equipment and a storage medium. The method comprises the following steps: receiving a detection instruction for a to-be-detected display screen sent by a first host, the first host being any host in a plurality of hosts which respectively communicate with a center relay device through SPI buses; sending the detection instruction to a first edge relay device connected with a first slave machine indicated by the detection instruction, so that the first edge relay device converts the detection instruction into a target protocol instruction suitable for the first slave machine and sends the target protocol instruction to the first slave machine, the first slave machine comprising a detection device for detecting the to-be-detected display screen; receiving second detection data sent by the first edge relay device, the second detection data being generated by the first edge relay device based on first detection data fed back by the detection device; generating a detection result based on the second detection data and sending the detection result to the first host. The application expands the reliable transmission distance of SPI and realizes communication between multiple hosts and different slave machines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display screen testing technology, and in particular to a display screen testing method, system, electronic device, and storage medium. Background Technology

[0002] SPI (Serial Peripheral Interface) is a high-speed, full-duplex, synchronous serial communication bus technology. It requires only four signal lines: a clock line (Serial Clock, SCLK), a master out-slave in line (MOSI), a master in-slave out line (MISO), and a chip select line (CS), reducing the number of chip pins and saving space on the PCB layout. Due to its ease of use, SPI technology has been widely integrated into various chips, such as EEPROM (Electrically Erasable Programmable Read-Only Memory), Flash memory, RTC (Real-Time Clock), ADC (Analog-to-Digital Converter), DSP (Digital Signal Processor), and digital signal decoders.

[0003] In SPI-based testing schemes, the SPI interface is often used for data exchange between master and slave devices due to its high transmission efficiency, support for full-duplex operation, and simple control. However, SPI is easily affected by interference and delays in long-distance transmission, leading to data transmission errors. Its reliable transmission distance is generally no more than 3 meters. Furthermore, current display testing systems typically employ a traditional SPI communication architecture, a single-master, multi-slave mode. The master device can be a test controller or a host computer module, responsible for initiating communication with slave devices distributed across testing stations. The master can select one slave device for communication by pulling down the chip select (CS) line. However, when the display testing system needs to deploy multiple masters (such as multiple independent test controllers) to send data to slave devices distributed across different stations, the aforementioned traditional SPI communication architecture becomes unsuitable and cannot meet testing requirements. Summary of the Invention

[0004] In view of the above, this application provides a display screen detection method, system, electronic device, and storage medium to solve at least one problem existing in the prior art.

[0005] In a first aspect, embodiments of this application provide a display screen detection method applied to a central relay device in a display screen detection system. The display screen detection system includes multiple hosts, the central relay device, multiple edge relay devices, and multiple slave devices. The central relay device is connected to each of the edge relay devices via SPI communication. The method includes:

[0006] Receive a detection command for the display screen under test sent by a first host, wherein the first host is any one of the plurality of hosts that communicate with the central relay device via an SPI bus;

[0007] The detection command is sent to a first edge relay device connected to the first slave device indicated by the detection command, so that the first edge relay device converts the detection command into a target protocol command adapted to the first slave device and sends it to the first slave device, the first slave device including a detection device for detecting the display screen under test;

[0008] The device receives second detection data sent by the first edge relay device, wherein the second detection data is generated by the first edge relay device based on the first detection data fed back by the detection device.

[0009] Based on the second detection data, a detection result is generated and sent to the first host.

[0010] In some embodiments, the method further includes:

[0011] In response to detecting that the chip select signal line in the SPI bus connected to the first host is in an active state, the host identity of the first host is identified;

[0012] Based on the host identity of the first host, a target storage unit is determined from among the multiple storage units set up in the central relay device to be allocated to the first host. The target storage unit is used to store data related to the first host.

[0013] In some embodiments, sending the detection command to a first edge relay device connected to the first slave device indicated by the detection command includes:

[0014] Extract the slave serial number of the first slave device from the received detection command;

[0015] Based on a preset mapping table, query the edge relay device identifier corresponding to the slave serial number; wherein, the preset mapping table contains the mapping relationship between the slave serial number and the edge relay device identifier;

[0016] The detection command is forwarded to the first edge relay device corresponding to the edge relay device identifier.

[0017] In some embodiments, the method further includes:

[0018] Receive slave device registration information or slave device change information reported by any of the aforementioned edge relay devices;

[0019] Based on the slave device registration information or slave device change information, update the mapping relationship between the slave serial number and the edge relay device identifier in the preset mapping table.

[0020] In some embodiments, the second detection data and the first detection data are included in the response data sent by the first edge relay device to the central relay device;

[0021] The method further includes:

[0022] The detection results, the second detection data, and the first detection data are stored together in the storage unit corresponding to the first host and / or uploaded to the server.

[0023] In some embodiments, the detection device includes a signal generator and an image acquisition unit; the signal generator is used to drive the display screen to display a preset test image, and the image acquisition unit is used to acquire the screen image displayed on the display screen to obtain the first detection data;

[0024] The second detection data is generated by the first edge relay device preprocessing the screen image, and the preprocessing includes at least region of interest extraction;

[0025] The step of generating a detection result based on the second detection data includes:

[0026] Defect detection is performed based on the extracted region of interest, and detection results are generated for the display screen.

[0027] In some embodiments, the detection device further includes a conductive film device and / or a handheld detection terminal. The conductive film device includes a conductive film that is connected to a power source and covers the surface of the display screen under test to form an electrostatic field. The image acquisition device is also used to acquire the screen image displayed by the display screen under test under the action of the electrostatic field to obtain the first detection data.

[0028] Secondly, embodiments of this application provide a display screen detection method applied to a first edge relay device in a display screen detection system. The display screen detection system includes multiple hosts, a central relay device, multiple edge relay devices, and multiple slave devices. The first edge relay device is any one of the multiple edge relay devices connected to the central relay device via SPI communication. The method includes:

[0029] The system receives a detection command for the display screen under test from a first host forwarded by the central relay device. The first host is any one of the plurality of hosts that communicate with the central relay device via an SPI bus.

[0030] The detection command is converted into a target protocol command adapted to the first slave device indicated by the detection command, and sent to the first slave device, the first slave device including a detection device for detecting the display screen under test;

[0031] Receive the first detection data fed back by the detection device, and generate the second detection data based on the first detection data;

[0032] The second detection data is sent to the central relay device, so that the central relay device can generate detection results and send them to the first host.

[0033] In some embodiments, converting the detection command into a target protocol command adapted to the first slave device indicated by the detection command includes:

[0034] Based on the communication protocol type of the first slave device, a target protocol converter is selected from multiple protocol converters;

[0035] The target protocol converter performs the conversion of the SPI protocol detection command to the target protocol command.

[0036] In some embodiments, the method further includes:

[0037] In response to the fulfillment of preset conditions, the device information of the slave device connected to the first edge relay device is reported to the central relay device. The device information includes device registration information and / or device change information.

[0038] In some embodiments, the detection device includes a signal generator and an image acquisition unit; the signal generator is used to drive the display screen to display a preset test image, and the image acquisition unit is used to acquire the screen image displayed on the display screen to obtain the first detection data;

[0039] The generation of second detection data based on the first detection data includes:

[0040] The screen image is preprocessed to generate the second detection data, and the preprocessing includes at least region of interest extraction.

[0041] Thirdly, embodiments of this application provide a display screen detection system, which includes: multiple hosts, multiple slaves, a central relay device, and multiple edge relay devices;

[0042] The central relay device communicates with each of the multiple hosts via an SPI bus, and the central relay device communicates with each of the edge relay devices via an SPI bus. Each edge relay device is connected to at least one of the multiple slave devices, and the slave devices connected to any two edge relay devices are different from each other.

[0043] The central relay device is configured to perform the display screen detection method as described in any of the first aspects;

[0044] Each of the aforementioned edge relay devices is configured to perform the display detection method as described in any of the second aspects.

[0045] Fourthly, embodiments of this application provide an electronic device including a processor, the processor being configured to invoke instructions to cause the electronic device to execute the display detection method as described in either the first or second aspect.

[0046] Fifthly, embodiments of this application provide a storage medium having an executable program stored thereon, wherein the executable program, when executed by a processor, implements the display screen detection method as described in either the first or second aspect.

[0047] This application provides a display screen testing method, system, electronic device, and storage medium. The display screen testing system includes multiple hosts, a central relay device, multiple edge relay devices, and multiple slave devices. By adding a central relay device to the display screen testing system, and having the central relay device connected to each host via an independent SPI bus, multiple hosts can simultaneously and independently send testing commands to the central relay device. Since the central relay device is connected to each edge relay device via SPI communication, and each edge relay device can convert the received SPI format testing commands into target protocol commands adapted to the connected slave device, this effectively alleviates the signal attenuation and interference problems in long-distance SPI transmission and extends the reliable transmission distance. Furthermore, each slave device connected to an edge relay device includes a testing device for testing the display screen under test. This allows different hosts to control different testing devices to perform independent testing tasks on their respective display screens under test through the central relay device and edge relay devices, thereby achieving reliable communication between multiple hosts and different slave devices independently, effectively improving the reliability of display screen testing. Attached Figure Description

[0048] Figure 1 This is a schematic diagram of the architecture of a display screen detection system provided in an embodiment of this application.

[0049] Figure 2 A flowchart illustrating a display screen detection method provided in this application embodiment. Figure 1 .

[0050] Figure 3 A flowchart illustrating a display screen detection method provided in this application embodiment. Figure 2 .

[0051] Figure 4 A flowchart illustrating a display screen detection method provided in this application embodiment. Figure 3 .

[0052] Figure 5 A flowchart illustrating a display screen detection method provided in this application embodiment. Figure 4 . Detailed Implementation

[0053] To make the technical solutions and beneficial effects of this application more apparent and understandable, the technical solutions in the embodiments of this application are clearly and completely described below by listing specific examples. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0054] The embodiments in this application are not exhaustive, but merely illustrative of some embodiments, and are not intended to limit the scope of protection of this disclosure. Unless otherwise specified, each step in a particular embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a particular embodiment can also be implemented as an independent embodiment, and the order of the steps in a particular embodiment can be arbitrarily interchanged. Furthermore, the optional implementation methods in a particular embodiment can be arbitrarily combined; moreover, the embodiments can be arbitrarily combined, for example, some or all steps of different embodiments can be arbitrarily combined, and a particular embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.

[0055] In each embodiment of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of the embodiments are consistent and can be referenced by each other. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.

[0056] In the description of embodiments of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. When used herein, the singular forms "a," "an," and "the" may also be intended to include the plural forms unless the context clearly indicates otherwise. "A plurality" means two or more, unless otherwise explicitly specified. It should also be understood that the term "comprising," when used in this specification, confirms the presence of the stated feature but does not exclude the presence or addition of one or more other features. When used herein, the term "and / or" includes any and all combinations of the associated listed items.

[0057] It is understood that in the context of this application, "connection" means that there is an electrical signal or data transmission between the connected end and the connected end, which can be understood as "electrical connection", "communication connection", etc. In the context of this application, "A and B are directly connected" means that there are no other components between A and B except for wires.

[0058] See Figure 1 , Figure 1 This is a schematic diagram of the architecture of a display screen detection system provided in an embodiment of this application. The display screen detection system includes: multiple host devices 101, multiple slave devices 102, a central relay device 103, and multiple edge relay devices 104. The central relay device 103 is connected to each host device 101 via an SPI communication link; each edge relay device 104 is connected to the central relay device 103 via an SPI communication link, and each edge relay device 104 is connected to at least one of the multiple slave devices, and the slave devices connected to any two edge relay devices 104 are different from each other.

[0059] In this embodiment, each host can be an independent control unit with a master controller, used to initiate detection commands to the slave devices and receive detection results. For example, the host can be an industrial computer, a test controller, or a host computer module, etc.

[0060] One host machine can correspond to one production line and communicate with slave machines deployed at each inspection station on that production line. The multiple slave machines are divided into multiple non-overlapping slave machine groups, with different slave machine groups deployed at different inspection stations, and each slave machine group connected to an edge relay device. At least one slave machine in each slave machine group may include a display screen, or it may include inspection equipment for inspecting the display screen. The host machine, through the central relay device and the edge relay devices, can establish communication connections with the slave machines at each inspection station within the production line, issue inspection commands, and receive feedback data.

[0061] The central relay equipment serves as the core hub and can be used for global traffic scheduling, protocol conversion, security authentication, and big data analysis. It also integrates a high-performance GPU (Graphics Processing Unit) for image processing and an AI (Artificial Intelligence) chip for defect detection assistance, enabling it to support screen management of a 1024×1024 matrix.

[0062] In some embodiments, the central relay device has multiple SPI interfaces, with different interfaces in a portion of the SPI interfaces connected to different hosts, and different interfaces in another portion of the SPI interfaces connected to different edge relay devices.

[0063] The central relay device can have multiple storage units, with the number of storage units corresponding one-to-one with the number of hosts. Each storage unit can be used to store data sent by its corresponding host, as well as detection data received from the edge relay device (e.g., screen image data acquired for the tested display), thereby achieving data isolation and concurrent processing between different hosts. The storage units can be memory chips, such as static random access memory (SRAM) chips, first-in-first-out (FIFO) memory chips, or block storage units integrated within a field-programmable gate array (FPGA).

[0064] The GPU and AI chip integrated in the central relay device are connected to each storage unit within the central relay device via an internal bus. This connection structure allows the graphics processor to concurrently read screen image data stored in multiple storage units and perform image processing; the AI ​​chip can extract and analyze features from the screen image data to generate detection results. Thus, after receiving detection data for the display screen from the edge relay device, the central relay device's integrated graphics processor and AI chip process the detection data to generate detection results, reducing the processing burden on the host machine.

[0065] In some embodiments, the number of edge relay devices matches the number of slave units. Each edge relay device is connected to the central relay device via an independent SPI communication link and connects to each slave unit at its corresponding detection station via a communication interface. The communication interface is adapted to the slave unit it is connected to, at least in terms of the interface protocol. For example, when the slave unit is a device that communicates based on the SPI protocol, the communication interface is configured accordingly as an SPI interface.

[0066] In some embodiments, each edge repeater also includes a Power over Ethernet (PoE) module. The PoE module can be integrated onto a circuit board within the edge repeater, with its input connected to an external Ethernet cable and its output connected to a power supply unit inside the edge repeater, for extracting power from the Ethernet cable to provide operating power to at least the edge repeater.

[0067] In some embodiments, the display screen inspection system further includes a server (not shown in the figures); the server is communicatively connected to the central relay device and each host via an Ethernet interface. The central relay device can send the inspection data received from the edge relay devices for the display screen under test, and / or the inspection results processed by the graphics processor and artificial intelligence chip integrated within the central relay device, to the server via the Ethernet interface for storage or analysis. In this case, the host can obtain the inspection data or inspection results from the server via Ethernet. Alternatively, the host can also directly obtain the inspection data or inspection results via an independent SPI communication link with the central relay device to meet low-latency communication requirements.

[0068] In some embodiments, the display detection system further includes at least one intermediate repeater (not shown in the figure); the intermediate repeater is communicatively connected to a central repeater via an SPI bus; wherein at least two edge repeaters are cascaded to the same intermediate repeater via an SPI bus. Each intermediate repeater may include a storage unit for storing detection data received from the edge repeaters, such as screen image data or sensor readings acquired for the display screen.

[0069] For example, there are multiple intermediate repeaters, which form a hierarchical cascaded architecture with the central repeater and edge repeaters. For instance, multiple intermediate repeaters are cascaded sequentially via an SPI bus, with the first intermediate repeater connected to the central repeater and the last intermediate repeater connected to multiple edge repeaters. Alternatively, each intermediate repeater can be directly connected to the central repeater via an independent SPI bus and connected to at least one edge repeater. In this architecture, the central repeater acts as the SPI master controller, selecting the target intermediate repeater via an independent chip select line to send detection commands or read data. The intermediate repeaters act as SPI slave devices, receiving data and storing it in their internal storage units. Based on the slave identifier in the command, they forward the detection command to the corresponding edge repeater, or retrieve detection data from the edge repeater they are connected to and send it back to the central repeater. Therefore, without extending the distance of a single SPI link, by expanding the number of intermediate repeaters, the detection system can flexibly support a larger number of edge nodes, suitable for large production lines or cross-regional deployment scenarios.

[0070] It should be noted that, Figure 1The host, edge relay devices, and the number of slave devices connected to each edge relay device shown are merely illustrative examples and do not constitute a limitation on the scope of protection of this application. In practical applications, the number of hosts can be expanded according to detection needs, and the number of edge relay devices and the number of slave devices connected to each edge relay device can also be flexibly adjusted.

[0071] In the embodiments of this application, the terms "display panel", "screen" and "display screen" can be used interchangeably.

[0072] Figure 2 A flowchart illustrating a display screen detection method provided in this application embodiment. Figure 1 This display screen detection method can be applied to, for example... Figure 1 The display screen detection system shown includes multiple host units, a central relay device, multiple edge relay devices, and multiple slave units; such as... Figure 2 As shown, the display screen detection method includes the following steps:

[0073] S201: The central relay equipment receives the detection command for the display screen under test sent by the first host.

[0074] The first host is any one of multiple hosts that communicate with the central relay device via the SPI bus.

[0075] The display screen under test can be, for example, an LCD (Liquid Crystal Display) or an OLED (Organic Light-Emitting Diode) display screen.

[0076] The test command may carry test parameters for controlling the test equipment to perform screen detection on the display screen under test. The test parameters may include at least one of the following: basic display parameters (e.g., brightness and / or contrast), test image configuration information (e.g., image type, display order and / or lock-second duration of the test image), and drive signal configuration parameters (e.g., drive voltage or drive current).

[0077] In this embodiment, each host is connected to the central relay device through an independent SPI bus. That is, each host has its own dedicated SPI bus (including SCLK, MOSI, MISO and chip select line CS) connected to the central relay device, so that each host can independently initiate communication with the slave through the central relay device.

[0078] S202: The central relay device sends a detection command to the first edge relay device connected to the first slave device indicated by the detection command.

[0079] The first slave device includes a detection device for detecting the display screen under test.

[0080] In step S202, the central relay device can extract the slave serial number of the first slave device from the received detection command, and query the edge relay device identifier corresponding to the slave serial number based on a preset mapping table; wherein, the preset mapping table contains the mapping relationship between the slave serial number and the edge relay device identifier; then, the detection command is forwarded to the first edge relay device corresponding to the edge relay device identifier.

[0081] S203: The first edge relay device converts the detection command into a target protocol command that is compatible with the first slave device.

[0082] In display testing scenarios, displays may employ various interface protocols. For example, traditional or small-sized screens typically use the SPI interface, while high-end displays generally use the eDP (embedded DisplayPort) interface. Accordingly, the testing equipment used to test the display, such as signal generators, must also support the corresponding interfaces.

[0083] To enable interfacing with various slave devices employing different protocol interfaces, in some examples, each edge repeater device includes: a first interface, at least one second interface, and at least one protocol converter. The first interface serves as an SPI interface, used to receive SPI signals from the master device. The at least one second interface includes at least one of an eDP interface, an LVDS (Low-Voltage Differential Signaling) interface, an I²C (Inter-Integrated Circuit) interface, and an SPI interface. The number of protocol converters is the same as the number of second interfaces, with each protocol converter's input connected to the first interface and its output connected to the corresponding second interface. When the second interface is an SPI interface, the corresponding protocol converter is configured to perform pass-through or format adaptation processing on the input SPI signals to ensure compatibility with the connected SPI slave device.

[0084] The first edge relay device possesses multi-protocol conversion capabilities, enabling it to invoke the appropriate protocol converter based on the interface type of the display under test. For example, when the display under test has an eDP interface, the eDP protocol converter within the first edge relay device will be activated to convert SPI signals (such as brightness adjustment commands) from the host into DDC / CI standard commands in the eDP protocol stack. This command is then output to the eDP signal generator, which generates the final eDP drive signal and applies it to the display under test. Similarly, when the display under test has an LVDS interface, the LVDS protocol converter within the first edge relay device will be activated to convert SPI signals from the host into LVDS differential signals. This LVDS differential signal is then output to the LVDS signal generator, which generates an LVDS differential drive signal and applies it to the display under test. Thus, through the protocol conversion function of the protocol converter within the edge relay device, different hosts can communicate with slave devices of different interface types using a unified SPI interface.

[0085] S204: The first edge relay device sends a target protocol instruction adapted to the first slave device to the first slave device.

[0086] For example, the target protocol instruction adapted to the first slave device may be an eDP instruction or an LVDS instruction, etc.

[0087] It is worth noting that each slave device is assigned a unique slave serial number for identification by both relay devices and hosts. To handle communication conflicts caused by multiple hosts simultaneously sending data to the same slave device, when the first edge relay device receives detection commands from different hosts targeting the same slave device, it can parse and compare the host serial numbers contained in the detection commands (i.e., data packets). The smaller the host serial number, the higher its receiving priority. Based on the comparison result, the first edge relay device selects to receive and process the data sent by the host with the highest priority.

[0088] S205: The first edge relay device receives the first detection data fed back by the detection device.

[0089] In some examples, the detection device includes a signal generator and an image acquisition unit; the signal generator is used to drive the display screen under test to display a preset test image; the image acquisition unit is used to acquire the screen image displayed on the display screen under test to obtain the first detection data.

[0090] The preset test image can be an image specifically designed to detect defects in the display panel, such as: a solid color image (pure red, pure green, pure blue) and / or a stripe image (red and white horizontal stripes, red and white vertical stripes).

[0091] Specifically, the signal generator can act as an image signal source, generating an image signal according to the target protocol instructions sent by the first edge relay device, and outputting it to the display screen under test to drive the display screen to display a preset test image. The image acquisition device can be an imaging device with image output function, such as an industrial camera or a high-precision camera. The image acquisition device synchronously acquires the screen image displayed on the display screen under test according to the target protocol instructions sent by the first edge relay device to obtain the first detection data.

[0092] S206: The first edge relay device generates second detection data based on the first detection data.

[0093] For example, the first edge relay device can preprocess the screen image to generate second detection data, and the preprocessing includes at least region of interest extraction.

[0094] The first edge relay device can use image processing algorithms (such as edge detection and threshold segmentation algorithms) to extract the region of interest (ROI) from the screen image.

[0095] S207: The first edge relay device sends the second detection data to the central relay device.

[0096] The first edge relay device sends the second detection data to the central relay device via the SPI bus between it and the central relay device.

[0097] In some examples, the first edge relay device may include the second detection data along with the first detection data in the response data sent to the central relay device.

[0098] S208: The central relay equipment generates the detection result based on the second detection data.

[0099] The second detection data is generated by the first edge relay device by preprocessing the screen image. The preprocessing includes at least the extraction of the region of interest (ROI). This allows the central relay device to directly perform defect detection based on the extracted ROI and mark the defects to obtain the detection results. For example, defect detection may include: comparing the difference between the ROI and the standard template, applying grayscale detection algorithms or color anomaly detection algorithms, or identifying display defects such as scratches, bright spots, dark spots, color casts and / or murmurs based on a lightweight CNN model (e.g., MobileNet).

[0100] S209: The central relay equipment sends the detection results to the first host.

[0101] The detection results include the coordinate information (e.g., X=1024, Y=768) of the abnormal area of ​​the tested display screen, as well as the corresponding image of the abnormal area. The abnormal area is the region where the display defect of the tested display screen is located.

[0102] The coordinate information of the abnormal area can be used to generate coordinate markers representing the location of the defect in the tested display screen on the screen of the first host; the image of the abnormal area can be used to display the area on the screen of the first host that corresponds to the location of the defect in the tested display screen.

[0103] In this embodiment, after the central relay device generates the detection result based on the second detection data, it does not need to send the original screen image acquired by the image acquisition device to the first host. Instead, it only sends back the coordinate information of the abnormal area of ​​the tested display screen and the corresponding abnormal area image to the first host, which can greatly reduce the amount of data transmission.

[0104] After the first host receives the detection result from the display screen under test, it displays the coordinate information of the abnormal area on the screen of the first host and displays the image of the abnormal area at the corresponding position on the screen to correspond to its defect position on the display screen under test.

[0105] This application provides a display screen testing method applied to a central relay device in a display screen testing system. The display screen testing system includes multiple hosts, a central relay device, multiple edge relay devices, and multiple slave devices. By adding a central relay device to the display screen testing system, and having the central relay device connected to each host via an independent SPI bus, multiple hosts can simultaneously and independently send testing commands to the central relay device. Since the central relay device is connected to each edge relay device via SPI communication, and each edge relay device can convert the received SPI format testing commands into target protocol commands adapted to the connected slave device, this effectively alleviates signal attenuation and interference problems in long-distance SPI transmission and extends the reliable transmission distance. Furthermore, each slave device connected to an edge relay device includes a testing device for testing the display screen under test. This allows different hosts to control different testing devices to perform independent testing tasks on their respective display screens through the central relay device and edge relay devices, thereby achieving reliable communication between multiple hosts and different slave devices independently, effectively improving the reliability of display screen testing.

[0106] Figure 3 A flowchart illustrating a display screen detection method provided in this application embodiment. Figure 2 This display screen detection method can be applied to, for example... Figure 1 The display screen detection system shown includes multiple host units, a central relay device, multiple edge relay devices, and multiple slave units. For example... Figure 3 As shown, the display screen detection method includes the following steps:

[0107] S301: The first host sends an SPI detection command to the central relay device.

[0108] In some examples, alternative implementations of step S301 can be found in [reference needed]. Figure 2 Optional implementation methods of step S201, and Figure 1 , Figure 2 Other related parts in the embodiments involved will not be described in detail here.

[0109] S302: The central relay device forwards the SPI detection command to the first edge relay device.

[0110] Among them, the first edge relay device is the edge relay device connected to the first slave device indicated by the SPI detection command among a plurality of edge relay devices.

[0111] In some examples, alternative implementations of step S302 can be found in [reference needed]. Figure 2 Optional implementation methods of step S202, and Figure 1 , Figure 2 Other related parts in the embodiments involved will not be described in detail here.

[0112] S303: The first edge relay device uses a pre-integrated protocol converter to perform protocol conversion on the SPI detection command to obtain a target protocol command adapted to the first slave device.

[0113] In some examples, alternative implementations of step S303 can be found in [reference needed]. Figure 2 Optional implementation methods of step S203, and Figure 1 , Figure 2 Other related parts in the embodiments involved will not be described in detail here.

[0114] S304: The first edge relay device sends the target protocol instruction to the first slave device.

[0115] The first slave device includes a detection device for detecting the display screen under test, which includes a signal generator and an image acquisition device.

[0116] In some examples, alternative implementations of step S304 can be found in [reference needed]. Figure 2 Optional implementation methods of step S204, and Figure 1 , Figure 2 Other related parts in the embodiments involved will not be described in detail here.

[0117] S305: The image acquisition unit takes a picture of the screen under test that displays the test image under the drive of the signal generator, and obtains the original acquired image.

[0118] The screen under test is the screen on which the preset test image is displayed under the drive of the signal generator.

[0119] The original acquired image can be used as the first detection data.

[0120] S306: The image acquisition device sends the raw acquired image to the first edge relay device.

[0121] In some examples, alternative implementations of step S306 can be found in [reference needed]. Figure 2 Optional implementation methods of step S205, and Figure 1 , Figure 2 Other related parts in the embodiments involved will not be described in detail here.

[0122] S307: The first edge relay device performs edge calculation processing on the original acquired image to obtain a preprocessed detection image.

[0123] The preprocessed detection image can be used as the second detection data.

[0124] After receiving the original acquired image, the first edge relay device performs edge computing processing, which is equivalent to replacing the image preprocessing function of the central relay device, thus reducing the computing pressure on the central relay device.

[0125] The aforementioned edge computing processing may specifically include ROI extraction, and optionally, may also include color space conversion of the image.

[0126] In some examples, alternative implementations of step S307 can be found in [reference needed]. Figure 2 Optional implementation methods of step S206, and Figure 1 , Figure 2 Other related parts in the embodiments involved will not be described in detail here.

[0127] S308: The first edge relay device sends the preprocessed detection image and the original acquired image to the central relay device.

[0128] In some examples, alternative implementations of step S308 can be found in [reference needed]. Figure 2 Optional implementation methods of step S207, and Figure 1 , Figure 2 Other related parts in the embodiments involved will not be described in detail here.

[0129] S309: The central relay equipment performs defect detection on the pre-processed inspection images and obtains the detection results.

[0130] The detection results include the coordinate information of the abnormal areas of the tested display screen and the corresponding images of the abnormal areas. The abnormal areas are the regions where the display defects of the tested display screen are located. After receiving the pre-processed detection images, the central repeater can perform defect detection and complete defect pre-marking to obtain the detection results.

[0131] In some examples, alternative implementations of step S309 can be found in [reference needed]. Figure 2 Optional implementation methods of step S208, and Figure 1 , Figure 2 Other related parts in the embodiments involved will not be described in detail here.

[0132] S310: The central relay equipment sends the detection results to the first host.

[0133] In this embodiment, the detection results only include the defect marking results and partial images corresponding to the abnormal areas, rather than the full image, which can reduce the data communication pressure between the host and the central relay device.

[0134] In some examples, as the production line expands, such as by adding more edge relays and slaves, the central relay can expand its graphics processor to extend its defect pre-marking capabilities, and it can also expand its data storage units to store more image data, thus facilitating backup checks.

[0135] After receiving the test results, the first host computer can display them on the host computer software interface for easy manual verification.

[0136] In some examples, alternative implementations of step S310 can be found in [reference needed]. Figure 2 Optional implementation methods of step S209, and Figure 1 , Figure 2 Other related parts in the embodiments involved will not be described in detail here.

[0137] S311: The central relay equipment backs up the detection results, pre-processed detection images, and original acquired images to the server.

[0138] The relevant detection data for each display screen can be backed up to the server by the central relay equipment to ensure data security.

[0139] S312: The first host sends an SPI sampling command to the central relay device.

[0140] The first host can randomly check the test results of any display screen to verify the reliability of the display screen testing system.

[0141] For example, the first host sends an SPI sampling command to the central relay device to request at least one of a preprocessed detection image and a raw acquisition image related to the display screen to be sampled.

[0142] S313: In response to the SPI sampling command, the central relay device sends at least one of the preprocessed detection image and the original acquired image to the first host.

[0143] The central relay device responds to the SPI sampling command by retrieving at least one of a pre-processed detection image and a raw acquired image associated with the display screen to be sampled from the storage unit allocated to the first host, and returns it to the first host via the SPI bus. The first host can verify the detection results of the display screen based on at least one of the pre-processed detection image and the raw acquired image.

[0144] S314: The first host sends a sampling request to the server.

[0145] The first host can send a sampling request to the server via Ethernet or TCP / IP protocol to request at least one of the preprocessed detection image and the original acquired image related to the display screen to be sampled.

[0146] S315: In response to a sampling request, the server returns at least one of a preprocessed detection image and a raw acquisition image to the first host.

[0147] The display screen detection method involved in the embodiments of this application may include at least one of steps S301 to S315. Unless otherwise specified, each step may be implemented as an independent embodiment, and the steps may be arbitrarily combined.

[0148] In some embodiments, steps S311 to S315 are optional steps. If step S311 is executed, steps S314 to S315 can be executed instead. Steps S312 and S314 can be executed either one.

[0149] Figure 4 A flowchart illustrating a display screen detection method provided in this application embodiment. Figure 3 The display screen testing method is applied to the central relay device in a display screen testing system. The system includes multiple master units, a central relay device, multiple edge relay devices, and multiple slave units. The central relay device is connected to each edge relay device via SPI communication. For example... Figure 4 As shown, the method includes steps S401 to S404.

[0150] S401: Receive the test command for the display screen under test sent by the first host, wherein the first host is any one of multiple hosts that communicate with the central relay device via the SPI bus.

[0151] The test command may carry test parameters for controlling the test equipment to perform screen detection on the display screen under test. The test parameters may include at least one of the following: basic display parameters (e.g., brightness and / or contrast), test image configuration information (e.g., image type, display order and / or lock-second duration of the test image), and drive signal configuration parameters (e.g., drive voltage or drive current).

[0152] In some examples, alternative implementations of step S401 can be found in [reference needed]. Figure 2 Step S201 Figure 3 Optional implementation methods of step S301, and Figure 1 , Figure 2 , Figure 3 Other related parts in the embodiments involved will not be described in detail here.

[0153] S402: Send a detection command to a first edge relay device connected to the first slave device indicated by the detection command, so that the first edge relay device converts the detection command into a target protocol command adapted to the first slave device and sends it to the first slave device, the first slave device including a detection device for detecting the display screen under test.

[0154] In some examples, alternative implementations of step S402 can be found in [reference needed]. Figure 2 Step S202 Figure 3 Optional implementation methods of step S302, and Figure 1 , Figure 2 , Figure 3 Other related parts in the embodiments involved will not be described in detail here.

[0155] S403: Receive second detection data sent by the first edge relay device. The second detection data is generated by the first edge relay device based on the first detection data fed back by the detection device.

[0156] For example, the second detection data is generated by the first edge relay device preprocessing the first detection data. The preprocessing includes at least extracting the region of interest (ROI) of the screen image of the display screen under test, and may also include image compression.

[0157] In some examples, alternative implementations of step S403 can be found in [reference needed]. Figure 2 Step S207 Figure 3 Optional implementation methods of step S308, and Figure 1 , Figure 2 , Figure 3 Other related parts in the embodiments involved will not be described in detail here.

[0158] S404: Based on the second detection data, generate the detection result and send the detection result to the first host.

[0159] In some examples, alternative implementations of step S404 can be found in [reference needed]. Figure 2 Steps S208 to S209 Figure 3 Optional implementation methods of steps S309 to S310, and Figure 1 , Figure 2 , Figure 3 Other related parts in the embodiments involved will not be described in detail here.

[0160] In some embodiments, the method may further include:

[0161] In response to the detection that the chip select signal line in the SPI bus connected to the first host is in an active state, the host identity of the first host is identified; based on the host identity of the first host, a target storage unit allocated to the first host is determined from multiple storage units set up in the central relay device, and the target storage unit is used to store data related to the first host.

[0162] For example, each host has a unique host serial number and is connected to the central relay device through its own independent host chip select pin. When any host needs to initiate communication, it first pulls its chip select signal low to make the chip select signal line active, enabling the central relay device to identify the host identity corresponding to the chip select signal. Based on the identified host serial number, the central relay device determines the target storage unit bound to the host identity from among multiple internally configured storage units and stores the data related to the first host in the target storage unit.

[0163] Data related to the first host may include: data packets received from the first host and detection data and / or detection results fed back to the first host from the tested display screen.

[0164] As an example, the data packet received from the first host may include the host sequence number, slave sequence number (or detection station identifier), payload data (such as the detection parameters mentioned above), and checksum field.

[0165] Data storage within the storage unit can be uniformly controlled by the advanced processing chip built into the central relay device. Data can be classified and saved to each storage unit according to the host serial number and slave serial number to ensure that there are no errors or losses during data storage.

[0166] In this embodiment, since each host is connected to the central relay device through an independent SPI communication link, and the central relay device is connected to multiple edge relay devices through SPI communication, the entire SPI communication link between the host and the slave is divided into at least two short-distance links, thereby reducing signal attenuation and interference during transmission, and thus improving the reliability of issuing detection commands and feedback of detection data for the display screen.

[0167] In some embodiments, sending the detection command to the first edge relay device connected to the first slave device indicated by the detection command in step S402 may include:

[0168] Extract the slave serial number of the first slave device from the received detection command; query the edge relay device identifier corresponding to the slave serial number based on the preset mapping table; wherein, the preset mapping table contains the mapping relationship between the slave serial number and the edge relay device identifier; forward the detection command to the first edge relay device corresponding to the edge relay device identifier.

[0169] In some examples, forwarding the detection command to the first edge relay device corresponding to the edge relay device identifier may include:

[0170] The central relay device determines the SPI communication link between itself and the first edge relay device as the target forwarding path, and sends the detection command to the first edge relay device through the target forwarding path.

[0171] In some embodiments, the method may further include:

[0172] Receive slave device registration information or slave device change information reported by any edge relay device; based on the slave device registration information or slave device change information, update the mapping relationship between the slave serial number and the edge relay device identifier in the preset mapping table.

[0173] Slave device registration information may include the slave serial number, device type, and the identifier of the connected edge repeater device for newly connected slave devices. Slave device change information may include changes to the slave serial number, removal of the slave device, or switching information of the connected edge repeater device.

[0174] In this embodiment, the central relay device can dynamically update the mapping relationship between the slave serial number and the edge relay device identifier in the preset mapping table based on the slave device registration information or slave device change information, so as to ensure that subsequent detection commands can be accurately routed to the corresponding edge relay device.

[0175] In some embodiments, the second detection data and the first detection data are included in the response data sent by the first edge relay device to the central relay device; the method may further include: storing the detection result, the second detection data and the first detection data in association in the storage unit corresponding to the first host and / or uploading them to the server.

[0176] In this embodiment, the central relay device can associate the test results of the display screen under test, the second test data and the first test data through a unified test screen identifier or timestamp, and store them in the target storage unit allocated to the first host, and / or synchronously upload them to the server, thereby facilitating subsequent data traceability, display screen sampling or other analysis.

[0177] In some embodiments, the detection device includes a signal generator and an image acquisition unit; the signal generator is used to drive the display screen to display a preset test image, and the image acquisition unit is used to acquire the screen image displayed on the display screen to obtain first detection data; the second detection data is generated by the first edge relay device preprocessing the screen image, the preprocessing including at least region of interest extraction; the generation of detection results based on the second detection data in step S404 above may include:

[0178] Defect detection is performed based on the extracted region of interest, and detection results are generated for the display screen.

[0179] The test results may include the coordinates of abnormal areas on the tested display screen and the corresponding images of these abnormal areas. Abnormal areas are the regions where display defects (such as murmurs, bright spots, dark spots, or color shifts) are located on the tested display screen.

[0180] The coordinate information of the abnormal area can be used to generate coordinate markers representing the location of the defect in the tested display screen on the screen of the first host; the image of the abnormal area can be used to display the area on the screen of the first host that corresponds to the location of the defect in the tested display screen.

[0181] In this embodiment, region of interest extraction is performed at the edge relay device, defect identification is performed based on the region of interest at the central relay device, and the coordinate information of the structured abnormal region and the cropped abnormal region image are returned to the host by the central relay device. This not only reduces the amount of data transmitted on the SPI bus and effectively alleviates the communication bandwidth pressure, but also enables the host to quickly and accurately present the defect location without processing the full original image, thereby effectively reducing the computing load of the host.

[0182] In some embodiments, the detection device further includes a conductive film device and / or a handheld detection terminal. The conductive film device includes a conductive film that is connected to a power source and covers the surface of the display screen under test to form an electrostatic field. The image acquisition device is also used to acquire the screen image displayed by the display screen under test under the action of the electrostatic field to obtain the first detection data.

[0183] Handheld testing terminals can be portable devices with wireless communication and sensing capabilities, such as barcode scanners, which can be used to collect identification information from the display screen, such as model, batch, serial number, and other parameters.

[0184] The conductive film, which can be made of a transparent conductive material (such as indium tin oxide) or a metal mesh, covers the surface of the display screen and is connected to a power source via lead-out electrodes to create an electrostatic field around the display screen. The output voltage of the power source is controlled within a preset electrostatic voltage range, such as 3kV to 15kV (while limiting the current to no more than 2mA), to simulate human static electricity. Simultaneously with the formation of the electrostatic field, a signal generator drives the display screen to show a low-brightness (e.g., 10% grayscale) solid color image. An image acquisition device captures the screen image displayed under the influence of this electrostatic field to obtain initial detection data for analyzing Mura (uniform brightness) defects.

[0185] In this embodiment, an electrostatic field is formed on the surface of the display screen by a conductive film device, and the screen image of the display screen under test is acquired by an image acquisition device under the action of the electrostatic field. This can excite Mura defects related to electrostatic sensitivity, making the brightness non-uniformity that is not visible under normal display conditions appear as a detectable optical anomaly, thereby improving the ability to detect display screen defects caused by electrostatics.

[0186] In some embodiments, the detection device may further include a detection sensor. The detection sensor may include a temperature sensor, a voltage sensor, a current sensor, and / or an optical sensor (e.g., a luminance meter) for acquiring physical or electrical parameters of the device under test in its operating state to be included in the first detection data. The parameters may include, for example, temperature, supply voltage, operating current, or screen brightness.

[0187] Figure 5 A flowchart illustrating a display screen detection method provided in this application embodiment. Figure 4 The display screen detection method is applied to the first edge relay device in a display screen detection system. The system includes multiple master units, a central relay device, multiple edge relay devices, and multiple slave units. The first edge relay device is any one of the multiple edge relay devices connected to the central relay device via SPI communication. (See also...) Figure 5 As shown, the method includes steps S501 to S504.

[0188] S501: Receives the detection command for the tested display screen forwarded by the first host from the central relay device. The first host is any one of multiple hosts that communicate with the central relay device via the SPI bus.

[0189] In some examples, alternative implementations of step S501 can be found in [reference needed]. Figure 2 Step S202 Figure 3 Step S302 Figure 4 Optional implementation methods of step S401, and Figures 1 to 4 Other related parts in the embodiments involved will not be described in detail here.

[0190] S502: Convert the detection command into a target protocol command adapted to the first slave device indicated by the detection command, and send it to the first slave device, the first slave device including a detection device for detecting the display screen under test.

[0191] In some examples, alternative implementations of step S502 can be found in [reference needed]. Figure 2 Steps S203 to S204 Figure 3 Steps S303 to S304 Figure 4 Optional implementation methods of step S402, and Figures 1 to 4 Other related parts in the embodiments involved will not be described in detail here.

[0192] S503: Receive the first detection data fed back by the detection device, and generate the second detection data based on the first detection data.

[0193] In some examples, alternative implementations of step S503 can be found in [reference needed]. Figure 2 Steps S205 to S206 Figure 3 Steps S305 to S307 Figure 4 Optional implementation methods of step S403, and Figures 1 to 4 Other related parts in the embodiments involved will not be described in detail here.

[0194] S504: Send the second detection data to the central relay device so that the central relay device can generate the detection result and send it to the first host.

[0195] In some examples, alternative implementations of step S504 can be found in [reference needed]. Figure 2 Steps S207 to S208 Figure 3 Steps S308 to S309 Figure 4 Optional implementation methods of step S404, and Figures 1 to 4 Other related parts in the embodiments involved will not be described in detail here.

[0196] In some embodiments, the step S502 above, which converts the detection command into a target protocol command adapted to the first slave device indicated by the detection command, may include:

[0197] Based on the communication protocol type of the first slave device, a target protocol converter is selected from multiple protocol converters; the target protocol converter is then used to convert the SPI protocol detection instruction into a target protocol instruction.

[0198] The plurality of protocol converters correspond to different interface protocols and may include at least two of the following: eDP protocol converter, LVDS protocol converter, I²C protocol converter, and SPI protocol adapter;

[0199] By using a target protocol converter, the detection instructions in the SPI protocol format can be converted into target protocol instructions that conform to the first slave interface specification, thus completing the adaptation and conversion of protocol format, timing characteristics, and control commands.

[0200] When the target protocol converter is an SPI protocol adapter, it is configured to pass through detection commands or adapt necessary parameters to match the communication requirements of the connected SPI slave.

[0201] In this embodiment, a target protocol converter is selected from multiple protocol converters according to the communication protocol type of the first slave device, and the detection instructions of the SPI protocol are converted into target protocol instructions through the target protocol converter. This enables the edge relay device to uniformly access slave devices using different communication interfaces such as eDP, LVDS, I²C and SPI. In this way, while utilizing the high speed and full-duplex advantages of SPI for display detection, the flexibility of detecting different types of display devices can be improved.

[0202] In some embodiments, the method may further include:

[0203] In response to the fulfillment of preset conditions, the device information of the slave device connected to the first edge relay device is reported to the central relay device. The device information includes device registration information and / or device change information.

[0204] The preset conditions include at least one of the following: changes in the information of the slave device connected to the first edge relay device, receipt of a reporting request from the central relay device, or reaching a preset reporting cycle. Changes in the slave device's information may include: changes to the slave device's registration information and / or device information.

[0205] Slave device registration information may include the slave serial number, device type, and the identifier of the connected edge repeater device for newly connected slave devices. Slave device change information may include changes to the slave serial number, removal of the slave device, or switching information of the connected edge repeater device.

[0206] In this embodiment, the central relay device can dynamically update the mapping relationship between the slave serial number and the edge relay device identifier in the preset mapping table based on the slave device registration information or slave device change information, so as to ensure that subsequent detection commands can be accurately routed to the corresponding edge relay device.

[0207] In some embodiments, the detection device includes a signal generator and an image acquisition unit; the signal generator is used to drive the display screen to display a preset test image, and the image acquisition unit is used to acquire the screen image displayed on the display screen to obtain the first detection data; in step S503 above, generating second detection data based on the first detection data may include:

[0208] The screen image is preprocessed to generate second detection data, and the preprocessing includes at least region of interest extraction.

[0209] For example, the first edge relay device may employ image processing algorithms (such as edge detection and threshold segmentation algorithms) to automatically identify the effective display area, preset detection area, or potential abnormal area of ​​the display screen based on the input screen image to generate a region of interest; or it may employ a lightweight neural network model, such as a trained convolutional neural network (CNN) or a visual Transformer, to take the original image as input and directly output the coordinates, mask, or cropping window of the region of interest.

[0210] The above method achieves efficient and adaptive region extraction, which reduces the reliance on fixed coordinates or manually set thresholds and improves the adaptability of the detection system under different brightness conditions and screen sizes.

[0211] In some examples, the preprocessing further includes converting the extracted region of interest (ROI) from RGB format to YUV format required by the host screen display driver. Thus, by performing color space conversion on the cropped ROI region via a first edge relay device, subsequent color space conversion by the host screen is eliminated, thereby reducing the computational load on the host screen's display driver.

[0212] In some embodiments, the testing device further includes a conductive film device and / or a handheld testing terminal. The conductive film device includes a conductive film connected to a power source and covering the surface of the display screen under test to form an electrostatic field. The image acquisition device is also used to acquire the screen image displayed by the display screen under test under the action of the electrostatic field to obtain first testing data.

[0213] The various embodiments or implementation methods described in this specification are presented in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other.

[0214] In the various embodiments of the specification, some or all of the steps and their optional implementations can be arbitrarily combined with some or all of the steps in other embodiments, or arbitrarily combined with the optional implementations in other embodiments.

[0215] This application also provides a display screen detection system, which includes: multiple hosts, multiple slave devices, a central relay device, and multiple edge relay devices. The central relay device is communicatively connected to each of the multiple hosts via an SPI bus, and is communicatively connected to each edge relay device via an SPI bus. Each edge relay device is connected to at least one of the multiple slave devices, and the slave devices connected to any two edge relay devices are different from each other. The central relay device is configured to execute the steps of the display screen detection method of the central relay device applied to the display screen detection system as described in any of the foregoing embodiments. Each edge relay device is configured to execute the steps of the display screen detection method of the first edge relay device applied to the display screen detection system as described in any of the foregoing embodiments.

[0216] This application also provides an electronic device, including a processor, which is configured to invoke instructions to cause the electronic device to perform the steps of the display detection method provided in any of the foregoing embodiments.

[0217] This application also provides a storage medium, including an executable program stored thereon, which, when executed by a processor, implements the steps of the display screen detection method provided in any of the foregoing embodiments.

[0218] For ease of understanding, the following focuses on explaining the terminology used in this embodiment:

[0219] In this application embodiment, the processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction read and execute capabilities, such as a Central Processing Unit (CPU), a microprocessor, a Graphics Processing Unit (GPU) (which can be understood as a type of microprocessor), or a Digital Signal Processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. The logical relationships of the aforementioned hardware circuits are fixed or reconstructable. For example, the processor is a hardware circuit implemented using an Application-Specific Integrated Circuit (ASIC) or a Programmable Logic Device (PLD), such as an FPGA. In a reconstructable hardware circuit, the processor loads a configuration document, implementing a cyclical process of hardware circuit configuration. This can be understood as the processor loading instructions to implement the functions of some or all of the above units or modules in a cyclical process. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a Neural Network Processing Unit (NPU), a Tensor Processing Unit (TPU), a Deep Learning Processing Unit (DPU), etc.

[0220] The computer-readable storage medium provided in this embodiment can execute the remote update method of the extended machine in the above embodiment. Its implementation principle and technical effect are similar to those in the above embodiment, and will not be repeated here.

[0221] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0222] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in an electronic device or a host device.

[0223] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0224] The various embodiments or implementation methods described in this specification are presented in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other.

[0225] In the description of this specification, references to "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0226] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method for detecting a display screen, characterized in that, A central relay device is applied in a display screen testing system. The display screen testing system includes multiple hosts, the central relay device, multiple edge relay devices, and multiple slave devices. Each host is connected to the central relay device via an independent SPI bus, and the central relay device is connected to each of the edge relay devices via SPI communication. The method includes: Receive a detection command for the display screen under test sent by a first host, wherein the first host is any one of the plurality of hosts that communicate with the central relay device via an SPI bus; Extract the slave serial number of the first slave device from the detection command, and query the edge relay device identifier corresponding to the slave serial number based on the preset mapping table. The preset mapping table contains the mapping relationship between the slave serial number and the edge relay device identifier. The detection command is sent to the first edge relay device corresponding to the edge relay device identifier, so that the first edge relay device selects a target protocol converter from multiple protocol converters according to the communication protocol type of the first slave device, converts the detection command of the SPI protocol into a target protocol command adapted to the first slave device through the target protocol converter, and sends it to the first slave device. The first slave device includes a detection device for detecting the display screen under test. The system receives second detection data sent by the first edge relay device, the second detection data being generated by the first edge relay device based on the first detection data fed back by the detection device; the detection device includes a signal generator and an image acquisition device; the signal generator is used to drive the display screen to display a preset test image, and the image acquisition device is used to acquire the screen image displayed on the display screen to obtain the first detection data; the second detection data is generated by the first edge relay device preprocessing the screen image, the preprocessing including at least region of interest extraction; Based on the second detection data, a detection result is generated and the detection result is sent to the first host. The step of generating the detection result based on the second detection data includes: performing defect detection based on the extracted region of interest to generate a detection result for the display screen.

2. The display screen detection method according to claim 1, characterized in that, The method further includes: In response to detecting that the chip select signal line in the SPI bus connected to the first host is in an active state, the host identity of the first host is identified; Based on the host identity of the first host, a target storage unit is determined from among the multiple storage units set up in the central relay device to be allocated to the first host. The target storage unit is used to store data related to the first host.

3. The display screen detection method according to claim 1, characterized in that, The method further includes: Receive slave device registration information or slave device change information reported by any of the aforementioned edge relay devices; Based on the slave device registration information or slave device change information, update the mapping relationship between the slave serial number and the edge relay device identifier in the preset mapping table.

4. The display screen detection method according to claim 1, characterized in that, The second detection data and the first detection data are included in the response data sent by the first edge relay device to the central relay device; The method further includes: The detection results, the second detection data, and the first detection data are stored together in the storage unit corresponding to the first host and / or uploaded to the server.

5. The display screen detection method according to claim 1, characterized in that, The testing equipment further includes a conductive film device and / or a handheld testing terminal. The conductive film device contains a conductive film, which is connected to a power source and covers the surface of the display screen under test to form an electrostatic field. The image acquisition device is also used to acquire the screen image displayed by the display screen under test under the action of the electrostatic field to obtain the first testing data.

6. A method for detecting a display screen, characterized in that, A first edge relay device is applied in a display screen inspection system. The display screen inspection system includes multiple hosts, a central relay device, multiple edge relay devices, and multiple slave devices. Each host is connected to the central relay device via an independent SPI bus. The first edge relay device is any one of the multiple edge relay devices connected to the central relay device via SPI communication. The method includes: The system receives a detection command for the display screen under test from a first host forwarded by the central relay device. The first host is any one of the plurality of hosts that communicate with the central relay device via an SPI bus. The detection command is converted into a target protocol command adapted to the first slave device indicated by the detection command, and sent to the first slave device, the first slave device including a detection device for detecting the display screen under test; The system receives first detection data fed back by the detection device and generates second detection data based on the first detection data. The detection device includes a signal generator and an image acquisition device. The signal generator is used to drive the display screen to display a preset test image, and the image acquisition device is used to acquire the screen image displayed on the display screen to obtain the first detection data. The second detection data is generated by the first edge relay device preprocessing the screen image, and the preprocessing includes at least region of interest extraction. The second detection data is sent to the central relay device, so that the central relay device can perform defect detection based on the extracted region of interest, generate detection results for the display screen, and send them to the first host. The step of converting the detection command into a target protocol command adapted to the first slave device indicated by the detection command includes: Based on the communication protocol type of the first slave device, a target protocol converter is selected from multiple protocol converters; The target protocol converter performs the conversion of the SPI protocol detection command to the target protocol command.

7. The display screen detection method according to claim 6, characterized in that, The method further includes: In response to the fulfillment of preset conditions, the device information of the slave device connected to the first edge relay device is reported to the central relay device. The device information includes device registration information and / or device change information.

8. A display screen inspection system, characterized in that, The display screen detection system includes: multiple host devices, multiple slave devices, a central relay device, and multiple edge relay devices; The central relay device communicates with each of the multiple hosts via an SPI bus, and the central relay device communicates with each of the edge relay devices via an SPI bus. Each edge relay device is connected to at least one of the multiple slave devices, and the slave devices connected to any two edge relay devices are different from each other. The central relay device is configured to perform the display screen detection method as described in any one of claims 1 to 5; Each of the aforementioned edge relay devices is configured to perform the display detection method as described in any one of claims 6 to 7.

9. An electronic device, characterized in that, The device includes a processor configured to invoke instructions to cause the electronic device to execute the display detection method as described in any one of claims 1 to 5, or the display detection method as described in any one of claims 6 to 7.

10. A storage medium, characterized in that, It stores an executable program, which, when executed by a processor, implements the display screen detection method as described in any one of claims 1 to 5, or the display screen detection method as described in any one of claims 6 to 7.

Citation Information

Patent Citations

  • Detection system

    CN223816166U