Display screen configuration methods, devices, electronic equipment, and storage media

By using information codes to identify the network port, receiving module, and transmitting module information of the display unit in the LED display screen, the problem of low identification accuracy in the prior art is solved, and efficient and accurate display screen configuration is achieved.

CN118570819BActive Publication Date: 2026-11-10XIAN NOVASTAR TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410804844.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2026-11-10
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

In existing technologies, the configuration process of LED displays is easily affected by ambient light intensity and display brightness, resulting in low accuracy and success rate in identifying display unit configuration information.

Method used

The configuration information of the display unit is identified by using information codes (such as ArUco codes). The information codes have obvious pattern features and rotation and translation invariance. By acquiring and identifying the information code images of the display units, the network port information, receiving module information and transmitting module information of each display unit can be determined.

Benefits of technology

It improves the efficiency and accuracy of display unit configuration information recognition, reduces the impact of ambient light intensity, and ensures efficient and accurate acquisition of display screen configuration information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570819B_ABST
    Figure CN118570819B_ABST
Patent Text Reader

Abstract

This application relates to the field of display control technology, and provides a display screen configuration method, apparatus, electronic device, and storage medium. The display screen includes multiple display units. The method includes: acquiring a target image, which is an image of display information codes displayed by each of the multiple display units. The information codes are used to indicate the configuration information of the corresponding display unit, and the configuration information includes at least one of network port information, receiving module information, and transmitting module information; and identifying multiple information codes in the target image to obtain the configuration information of each display unit. This application is less affected by the brightness of the displayed image and the intensity of ambient light, and can achieve a higher success rate in identification, thus obtaining the configuration information of the display units more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of display control technology, and in particular relates to a method, apparatus, electronic device and storage medium for configuring a display screen. Background Technology

[0002] A light-emitting diode (LED) display screen is typically composed of multiple display units (such as display cabinets, or simply cabinets). The images displayed by each unit are pieced together to form a complete display image. Therefore, to ensure the LED display screen functions properly, it needs to be configured before displaying images. This configuration information includes the position of each display unit within the LED screen, its display size, and its topological connection. Based on this configuration information, the portion of the image to be displayed by each unit is sent to the corresponding display unit, thus obtaining a complete display image.

[0003] In related technologies, when configuring an LED display screen, the LED display screen is controlled to display a mapping image including configuration information of each display unit. The mapping image is then photographed, and the configuration information of each display unit is identified from the photographed image. However, this identification method relies on the brightness of the dividing lines and the color of the characters in the mapping image, and is easily affected by the intensity of ambient light, resulting in a low success rate and accuracy of identification. Summary of the Invention

[0004] This application provides a display screen configuration method, apparatus, electronic device, and storage medium that are less affected by the brightness of the displayed image and the intensity of ambient light, thus improving the success rate of recognition and more accurately obtaining the configuration information of the display unit.

[0005] In a first aspect, embodiments of this application provide a method for configuring a display screen, the display screen including multiple display units, the method including: acquiring a target image, the target image being an image of display information codes displayed by each of the multiple display units, the information codes being used to indicate configuration information of the corresponding display unit, the configuration information including at least one of network port information, receiving module information, and sending module information; and identifying the multiple information codes in the target image to obtain the configuration information of each display unit.

[0006] In one possible implementation, the configuration information includes network port information and receiving module information; the information code displayed by each display unit includes a first information code and a second information code, wherein the first information code is used to indicate the network port information of the corresponding display unit, and the second information code is used to indicate the receiving module information of the corresponding display unit; identifying multiple information codes in the target image to obtain the configuration information of each display unit includes: identifying each first information code among the multiple information codes to obtain the network port information corresponding to each first information code; identifying each second information code among the multiple information codes to obtain the receiving module information corresponding to each second information code; determining the network port information corresponding to the target first information code and the receiving module information corresponding to the target second information code as the configuration information of the target display unit, wherein the target display unit is any display unit among the multiple display units, the target first information code is the first information code among the multiple first information codes corresponding to the target display unit, and the target second information code is the second information code among the multiple second information codes corresponding to the target display unit.

[0007] In one possible implementation, before determining the network port information corresponding to the first target information code and the receiving module information corresponding to the second target information code as the configuration information of the target display unit, the method further includes: performing clustering processing on multiple information codes to obtain multiple information code groups, wherein the clustering processing is used to determine the first information code and the second information code corresponding to the same display unit; one information code group corresponds to one display unit, the target information code group includes the first target information code and the second target information code, and the target information code group is any one of the multiple information code groups.

[0008] In one possible implementation, after identifying multiple information codes in the target image to obtain the configuration information of each display unit, when the screen information of the display screen indicates that the display size information corresponding to each display unit is consistent, the method further includes: according to the order of the multiple information code groups in the target image, sequentially sending the configuration information of each display unit to the display control device, so that the display control device can perform display control on each display unit according to the configuration information of each display unit.

[0009] In one possible implementation, the configuration information further includes display position information of the display unit in the display screen. Multiple information codes in the target image are identified to obtain configuration information for each display unit, including: determining the first position information of the third information code in the target image, where the third information code is either a target first information code or a target second information code; determining conversion information based on the first and second position information, where the second position information is the position information of the third information code in the target display unit; and performing coordinate transformation on the third position information of the target pixel in the target display unit based on the conversion information to obtain the display position information of the target display unit, where the third position information is the position information of the target pixel in the target display unit.

[0010] In one possible implementation, the configuration information further includes display size information of the display unit, which includes display width information and display height information of the display unit. Multiple information codes in the target image are identified to obtain configuration information for each display unit, including: determining the display width information of the target display unit based on the display width information of the third information code and a first preset ratio; and determining the display height information of the target display unit based on the display height information of the third information code and a second preset ratio.

[0011] In one possible implementation, both the first information code and the second information code are ArUco codes, but the type of the ArUco code to which the first information code belongs is different from the type of the ArUco code to which the second information code belongs.

[0012] In one possible implementation, the display width of the first information code is in a first preset ratio to the display width of the corresponding display unit, and the display height of the first information code is in a second preset ratio to the display height of the corresponding display unit; the display size of the second information code is equal to the display size of the first information code.

[0013] In one possible implementation, the configuration information includes network port information, receiving module information, and transmitting module information; the information codes displayed by each display unit include a first information code, a second information code, and a fourth information code, wherein the first information code indicates the network port information of the corresponding display unit, the second information code indicates the receiving module information of the corresponding display unit, and the fourth information code indicates the transmitting module information of the corresponding display unit; recognizing multiple information codes in the target image to obtain the configuration information of each display unit includes: recognizing each first information code among the multiple information codes to obtain the network port information corresponding to each first information code; recognizing each second information code among the multiple information codes to obtain the configuration information of each second information code. The receiving module information corresponding to the information code; the fourth information code among the multiple information codes is identified to obtain the sending module information corresponding to each fourth information code; the network port information corresponding to the target first information code, the receiving module information corresponding to the target second information code, and the sending module information corresponding to the target fourth information code are determined as the configuration information of the target display unit, wherein the target display unit is any display unit among the multiple display units, the target first information code is the first information code corresponding to the target display unit among the multiple first information codes, the target second information code is the second information code corresponding to the target display unit among the multiple second information codes, and the target fourth information code is the fourth information code corresponding to the target display unit among the multiple fourth information codes.

[0014] Secondly, embodiments of this application provide a display screen configuration device, comprising: an image acquisition module and a recognition module. The image acquisition module acquires a target image, which is an image of information codes displayed by each of the multiple display units of the display screen. The information codes indicate configuration information for the corresponding display unit, and the configuration information includes at least one of network port information, receiving module information, and transmitting module information. The recognition module identifies the multiple information codes in the target image to obtain the configuration information for each display unit.

[0015] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the display screen configuration method as described in any one of the first aspects above.

[0016] Fourthly, embodiments of this application provide a computer-readable storage medium, comprising: a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps of the display screen configuration method described in any one of the first aspects.

[0017] Fifthly, embodiments of this application provide a computer program product that, when run on a testing device, causes the testing device to execute the display screen configuration method described in any one of the first aspects.

[0018] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.

[0019] According to the display screen configuration method provided in this application embodiment, when configuring the display screen, a target image including information codes displayed by each display unit in the display screen is acquired. By recognizing the information codes in the target image, the configuration information of each display unit is determined. The configuration information includes at least one of network port information, receiving module information, and transmitting module information. In this way, since the information codes have relatively obvious pattern features, they are easy to recognize, improving recognition efficiency. Furthermore, the information codes have strong rotation and translation invariance, so even when the information codes in the acquired target image are translated or rotated, the information codes in the target image can still be recognized, improving the recognition success rate. Moreover, the method of recognizing configuration information through information codes can reduce noise interference, is less affected by ambient light intensity, and has a high recognition accuracy, enabling more accurate and efficient acquisition of the configuration information of each display unit in the display screen. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram of a mapping image provided in an embodiment of this application;

[0022] Figure 2 This is a schematic diagram illustrating the implementation environment of the display screen configuration method provided in this application embodiment;

[0023] Figure 3 This is one of the flowcharts illustrating the display screen configuration method provided in the embodiments of this application;

[0024] Figure 4 This is a second schematic flowchart of the display screen configuration method provided in the embodiments of this application;

[0025] Figure 5 This is a schematic diagram of a target image provided in an embodiment of this application;

[0026] Figure 6This is a schematic diagram of another target image provided in an embodiment of this application;

[0027] Figure 7 This is the third flowchart illustrating the display screen configuration method provided in this application embodiment;

[0028] Figure 8 This is the fourth flowchart illustrating the display screen configuration method provided in this application embodiment;

[0029] Figure 9 This is a schematic diagram illustrating the process of determining the display position information of the display unit in the display screen according to an embodiment of this application;

[0030] Figure 10 This is the fifth flowchart illustrating the display screen configuration method provided in this application embodiment;

[0031] Figure 11 This is a schematic diagram of yet another target image provided in an embodiment of this application;

[0032] Figure 12 This is a schematic diagram of the structure of a display screen configuration device provided in an embodiment of this application;

[0033] Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0034] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0035] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0036] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0037] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0038] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0039] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0040] LED displays are typically composed of multiple display units, where the images displayed by each unit are stitched together to form a complete display screen. Therefore, to ensure the proper functioning of an LED display, it is necessary to configure the display before controlling the display to obtain the configuration information of each display unit. Based on this configuration information, the portion of the image to be displayed by each unit is then sent to the corresponding display unit, thus obtaining a complete display screen.

[0041] In related technologies, there are two main methods for configuring LED displays. One method involves controlling the LED display to show a mapping image containing configuration information. This mapping image is photographed, and the configuration information for each display unit is manually extracted from the captured image. The configuration information for each display unit may include the serial number of the sending card (also called the output card), the serial number of the network port (also called the serial port or interface), and the serial number of the receiving card. However, this method relies on operators and has low configuration efficiency.

[0042] For example, consider an LED display screen composed of 32 display units (4 rows × 8 columns). Figure 1 As shown, the mapping image has a black background with multiple white rectangles. Each white rectangle represents a display unit, and each white rectangle (i.e., the image area corresponding to each display unit) includes the configuration information of the display unit (i.e., the sending card serial number, network port serial number, and receiving card serial number). The sending card serial number can be represented by "S", the network port serial number by "P", and the receiving card serial number by "#". For example, using... Figure 1 Taking the white rectangle 101 shown as an example, the white rectangle 101 includes three types of character information: "S:01", "P:06", and "#0001". "S:01" indicates that the sending card serial number of the display unit corresponding to the white rectangle 101 is 01; "P:06" indicates that the network port serial number of the display unit corresponding to the white rectangle 101 is 06; and "#0001" indicates that the receiving card serial number of the display unit corresponding to the white rectangle 101 is 001. Therefore, operators can determine the configuration information of each corresponding display unit by observing the character information displayed in each white rectangle.

[0043] Furthermore, since a single network port on a transmitting card can connect to multiple receiving cards for display units (meaning multiple display units connected to the same network port share the same port number), the display colors of the configuration information for multiple display units connected to the same port can be the same, while the display colors of the configuration information for display units connected to different ports can be different, to facilitate operator differentiation. However, when the brightness of the displayed color of character information in the mapping image is low, the contrast of that character information in the captured image will be low, making it difficult for operators to identify the character information and resulting in low accuracy in recognizing the display unit's configuration information.

[0044] In another approach, when configuring the LED display, the LED display is controlled to display a mapping image (such as...). Figure 1 The mapping image shown is captured, and the mapping image displayed on the LED display screen is photographed. Based on the optical character recognition (OCR) algorithm, the captured image is recognized to complete the segmentation of the display unit and the extraction of the configuration information corresponding to each display unit.

[0045] However, on the one hand, this method segments the display units based on white rectangular frames in the captured image. The brightness of these white rectangular frames affects the accuracy of recognition, and is also influenced by the brightness of the mapping image and the ambient light of the LED display. This makes the segmentation of display units susceptible to interference from both display brightness and ambient light, resulting in low accuracy in locating the display units. On the other hand, this method typically uses the same mapping image as the aforementioned manual method. Consequently, the display colors of the configuration information for display units connected to different network ports are different, while the display colors of the configuration information for display units connected to the same network port are the same. Therefore, when the brightness of the character information in the mapping image is low, the contrast of that character information in the captured image will be low, which also leads to low recognition accuracy.

[0046] In addition, the display status of the LED beads themselves can also affect the recognition accuracy. For example, when some LED beads in the LED display are damaged or blocked, it will affect the integrity and clarity of the white rectangle or character information displayed in the area where these LED beads are located, thus resulting in a lower recognition accuracy.

[0047] In other words, this recognition method based on OCR algorithms relies on the brightness of the white rectangle in the mapping image and the color of the character information. It is easily affected by the display brightness of the mapping image and by the ambient light of the LED display screen, resulting in a low accuracy in locating the display unit and consequently a low accuracy in recognizing the configuration information of the display unit.

[0048] To address the aforementioned technical problems, this application provides a display screen configuration method. This method may include: acquiring a target image containing information codes displayed by each display unit in the display screen during configuration; and determining the configuration information of each display unit by identifying the information codes in the target image. The configuration information includes at least one of network port information, receiving module information, and transmitting module information. In this way, because the information codes have relatively obvious pattern features, they are easily recognizable, improving recognition efficiency. Furthermore, the information codes have strong rotation and translation invariance, so even when the information codes in the acquired target image are translated or rotated, they can still be recognized, improving the recognition success rate. Moreover, identifying configuration information through information codes reduces noise interference, is less affected by ambient light intensity, and has a higher recognition accuracy, enabling more accurate and efficient acquisition of the configuration information of each display unit in the display screen.

[0049] Before introducing the display configuration method provided in the embodiments of this application, the implementation environment of this embodiment will be illustrated below.

[0050] Figure 2 This diagram illustrates an implementation environment for a display screen configuration method provided in an embodiment of this application. Figure 2 As shown, the implementation environment may include a display screen 21, a display control device 22, and an electronic device 23. The display control device 22 is communicatively connected to the display screen 21, and also establishes a communication connection with the electronic device 23 via a wired or wireless network. The electronic device 23 is used to acquire a target image, which is an image of the display information codes of each of the multiple display units. It identifies the multiple information codes in the target image to obtain the configuration information of each display unit and sends the configuration information of each display unit to the display control device 22. The display control device 22 is used to receive the configuration information of each display unit and, based on the configuration information of each display unit, perform display control on the display screen 21.

[0051] Optionally, the display screen 21 can be an LED display screen, a liquid crystal display (LCD) display screen, or an organic light emitting diode (OLED) display screen. For example, taking the display screen 21 as an LED display screen, it can be a traditional LED display screen, a micro LED display screen, or a mini LED display screen. This application embodiment does not limit the specific type of display screen.

[0052] For example, the display screen 21 may include multiple display units. A display unit may be a single enclosure, a single display module (or a light panel), or a unit formed by splicing together multiple enclosures or multiple display modules. This application embodiment does not limit the specific composition of the display unit. For example, as... Figure 2 As shown, the display screen 21 can be composed of 32 (4 rows × 8 columns) cabinets 211.

[0053] In this embodiment, each display unit may include a receiving module, which is communicatively connected to the display control device 22 to receive image data sent by the display control device 22 and display the image data on the display unit. For example, the receiving module may be a receiving card or a chip with image data transmission capabilities.

[0054] For example, the display control device 22 may include a sending module for processing image data and sending the image data to each display unit of the display screen 21. For example, the sending module may be a sending card or a chip with image data processing and transmission functions. The sending module may include multiple network ports (i.e., Ethernet interfaces), and one network port can communicate with the receiving modules of multiple display units of the display screen 21. Thus, the sending module can send image data to the receiving modules of multiple display units connected to the network port through one network port, causing the multiple display units connected to the network port to display the corresponding image data. For example, taking the sending module as a sending card and the receiving module as a receiving card as an example... Figure 1 As shown, a certain network port of the sending card (such as the network port with serial number 06) is sequentially connected in series with the receiving cards of display unit 101, display unit 102, display unit 103, and display unit 104. Therefore, the network port serial number information of display unit 101, display unit 102, display unit 103, and display unit 104 can all be represented as "P:06". Optionally, the display control device 22 may include one or more sending modules (such as sending cards). For example, when the display control device 22 includes multiple sending modules, the multiple sending modules correspond one-to-one with multiple display screens 21. One sending module is used to process the image data to be displayed on one display screen 21 and send the image data to the display screen 21. That is, one sending module performs display control on each display unit of the display screen 21 through its multiple network ports.

[0055] In other words, the display control device 22 may include multiple transmitting modules. One transmitting module is used to control the display of a screen 21. Each transmitting module includes multiple network ports, one of which is used to communicate with the receiving modules (such as receiving cards) of multiple display units on the screen 21. Therefore, when configuring the display, it is necessary to determine the receiving module information (such as receiving card serial number information) of each display unit and the network port information (such as network port serial number information) connected to the receiving module of each display unit. That is, to determine the configuration information of each display unit, the display control device can then determine the receiving module and the network port connected to each display unit based on the configuration information of each display unit. It can then send corresponding partial images to the receiving modules of each display unit through the network ports connected to those modules, enabling the receiving modules of each display unit to control their corresponding display units to display the corresponding partial images. In this way, the partial images displayed by multiple display units are stitched together to form a complete display screen.

[0056] It should be noted that when the display control device 22 includes multiple transmitting modules, these modules can also control the same display screen. In this scenario, when configuring the display screen, it is also necessary to determine the transmitting module information (such as the transmitting card serial number information) corresponding to the network port connected to each display unit in the display screen.

[0057] It should also be noted that the embodiments of this application can be applied to a display screen composed of display units with the same specifications (i.e., the size information of the display area corresponding to each display unit in the display screen is the same), or it can be applied to a display screen composed of display units with different specifications.

[0058] For example, electronic device 23 can be a terminal device, such as a mobile phone, computer, tablet computer, etc. The embodiments of this application do not limit the type of electronic device 23.

[0059] The configuration method of the display screen provided in the embodiments of this application will be illustrated below with reference to the accompanying drawings.

[0060] Please see Figure 3 This illustration shows a flowchart of a method for determining the configuration of a display screen according to an embodiment of this application. This method can be applied to electronic devices. It should be understood that the electronic device can be the one provided in the foregoing embodiments, and this application does not limit it to this type of device.

[0061] like Figure 3 As shown, the above-mentioned display screen configuration method includes the following steps 310-320.

[0062] Step 310: Obtain the target image. The target image is an image of the display information code displayed by each of the multiple display units. The information code is used to indicate the configuration information of the corresponding display unit. The configuration information includes at least one of the following: network port information, receiving module information, and sending module information.

[0063] Specifically, when information codes are displayed on each display unit of the screen, the electronic device acquires a target image, which includes the information codes displayed on each display unit.

[0064] By analyzing the transmission module information of the display unit, the transmission module that communicates with the display unit among the multiple transmission modules of the display control device can be identified. If the transmission modules connected to the display unit are different, then the transmission module information of the display unit will be different. If the transmission modules connected to the same display unit are the same, then the transmission module information of the display unit will be the same. In other words, the transmission module information of different display units can be the same or different.

[0065] For example, taking the sending module as a sending card, the sending module information can be represented by the sending card serial number. Specifically, when the display control device includes multiple sending cards, each sending card is assigned a sending card serial number so that different sending card serial numbers represent different sending cards. For example, if the sending card serial number of the display unit is 01, it means that the sending card communicating with the corresponding display unit is sending card 01. If the sending card serial number of the display unit is 02, it means that the sending card communicating with the corresponding display unit is sending card 02.

[0066] By analyzing the network port information of the display unit, the network port that communicates with the receiving module of that display unit among the multiple network ports of the transmitting module can be identified. Specifically, if the display units are connected to different network ports, their network port information will be different. If the display units are connected to the same network port, their network port information will be the same. In other words, the network port information of different display units can be the same or different.

[0067] For example, network port information can be represented by network port numbers. Taking the sending module as the sending card and the receiving module as the receiving card as an example, a sending card can include multiple network ports, and each network port can be assigned a network port number so that different network ports are represented by different network port numbers. For example, the sending card includes four network ports, namely network port 01, network port 02, network port 03, and network port 04. When the network port number of the display unit is 01, it means that the network port connected to the receiving card of the corresponding display unit is network port 01. When the network port number of the display unit is 02, it means that the network port connected to the receiving card of the corresponding display unit is network port 02.

[0068] By analyzing the receiving module information of the display unit, the receiving module corresponding to that display unit among multiple receiving modules connected to a single network port can be identified. For example, taking a receiving module as a receiving card, the receiving module information can be represented by the receiving card serial number. Specifically, since one network port of the transmitting card can connect multiple receiving cards in series, a receiving card serial number can be assigned to each receiving card based on the cascading order of the multiple receiving cards. For instance, network port 01 connects four display units in series (i.e., network port 01 carries four receiving cards), meaning network port 01 is directly connected to the receiving card of one display unit, and the network output port of that display unit's receiving card connects to the network input port of the receiving card of the next display unit. Therefore, based on the cascading order of these four receiving cards, a receiving card serial number is assigned to each receiving card: receiving card 01 (the receiving card directly connected to network port 01), receiving card 02 (the receiving card connected to receiving card 01), receiving card 03 (the receiving card connected to receiving card 02), and receiving card 04 (the receiving card connected to receiving card 03). For example, network port 02 connects four display units in series. The serial numbers of the receiver cards for these four display units are receiver card 01, receiver card 02, receiver card 03, and receiver card 04, respectively. That is to say, since the serial numbers of the receiver cards are set according to the cascading order of the receiver cards, the serial numbers of the receiver cards of different display units can be the same or different.

[0069] The aforementioned information codes are used to indicate the configuration information of the display unit. As one possible implementation, one information code represents one type of configuration information; that is, one display unit can display multiple information codes. For example, when the configuration information includes network port information and receiving module information, one display unit can display a first information code and a second information code. For example, when the configuration information includes network port information, receiving module information, and transmitting module information, one display unit can display a first information code, a second information code, and a third information code. The first information code indicates the network port information of the corresponding display unit. The second information code indicates the receiving module information of the corresponding display unit. The third information code indicates the transmitting module information of the corresponding display unit.

[0070] It should be noted that, since the network port information of different display units can be the same or different, the first information code displayed by different display units can also be the same or different. Similarly, since the receiving module information of different display units can be the same or different, the second information code displayed by different display units can also be the same or different. Finally, since the transmitting module information of different display units can be the same or different, the third information code displayed by different display units can also be the same or different.

[0071] Optionally, the aforementioned information code can be an ArUco code (also known as an ArUco marker). An ArUco marker is a composite square marker consisting of a black border and an internal binary matrix. The black border is used to locate the ArUco marker, and the internal binary matrix is ​​used to represent sequence information, such as network port sequence number, receiver card sequence number, or transmitter card sequence number.

[0072] It should be understood that when the display unit displays the first information code and the second information code, both the first information code and the second information code can be ArUco codes. When the display unit displays the first information code, the second information code, and the third information code, all three information codes can be ArUco codes.

[0073] Step 320: Identify multiple information codes in the target image to obtain the configuration information of each display unit.

[0074] Specifically, the electronic device can sequentially locate and identify each information code according to its order in the target image to obtain the information corresponding to each information code. Then, it can cluster the information corresponding to each information code to obtain the configuration information for each display unit. For example, it can identify each information code in the target image line by line using a progressive scanning method to obtain the information corresponding to each information code.

[0075] After step 320, the electronic device can send configuration information of each display unit to the display control device, so that the display control device can perform display control on each display unit based on the configuration information of each display unit.

[0076] For example, when sending configuration information for each display unit to the display control device, a configuration file can be generated based on the configuration information of each display unit and sent to the display control unit. The configuration file includes multiple configuration pieces of information, such as a network port number and a receiver card number. The different types of information within each configuration piece of information are arranged in the same order.

[0077] According to the display screen configuration method provided in this application embodiment, when configuring the display screen, a target image including information codes displayed by each display unit in the display screen is acquired. By recognizing the information codes in the target image, the configuration information of each display unit is determined. The configuration information includes at least one of network port information, receiving module information, and transmitting module information. In this way, since the information codes have relatively obvious pattern features, they are easy to recognize, improving recognition efficiency. Furthermore, the information codes have strong rotation and translation invariance, so even when the information codes in the acquired target image are translated or rotated, the information codes in the target image can still be recognized, improving the recognition success rate. Moreover, the method of recognizing configuration information through information codes can reduce noise interference, is less affected by ambient light intensity, and has a high recognition accuracy, enabling more accurate and efficient acquisition of the configuration information of each display unit in the display screen.

[0078] In some embodiments, in a scenario where a transmitting module controls a display screen, each display unit of the display screen is connected to the transmitting module, meaning that the transmitting module information (such as the transmitting card serial number) of each display unit is the same. Therefore, when configuring the display screen, it is necessary to determine the network port information and receiving module information of each display unit.

[0079] The following describes the configuration method of the display screen provided in this application embodiment, taking the configuration information including network port information and receiving module information as an example.

[0080] Figure 4 This is a schematic diagram illustrating a display screen configuration method provided in an embodiment of this application. Figure 4 As shown, the configuration method of the display screen includes the following steps 410-420.

[0081] Step 410: Obtain the target image, which is an image in which the first information code and the second information code are displayed on each display unit.

[0082] Specifically, when the display units on the screen display the first information code and the second information code, the electronic device acquires a target image, which includes multiple first information codes and multiple second information codes. The first information code indicates the network port information of the corresponding display unit. The second information code indicates the receiving module information of the corresponding display unit.

[0083] It should be noted that, since the network port information of different display units can be the same or different, the first information code displayed by different display units can be the same or different. Similarly, since the receiving module information of different display units can be the same or different, the second information code displayed by different display units can be the same or different.

[0084] For example, such as Figure 5As shown, the display screen includes multiple display units, each display unit displaying a first information code and a second information code. Taking display unit 401 as an example, display unit 401 displays a first information code A1 and a second information code B1. The first information code A1 is used to represent the network port information of display unit 401 (such as the network port serial number), and the second information code B1 is used to represent the receiving module information of display unit 401 (such as the receiving card serial number). It should be noted that the first and second information codes displayed in a display unit can be arranged along the width of the display screen, such as... Figure 5 As shown. The first information code and the second information code displayed in a display unit can be arranged in other ways, such as along the height direction of the display screen, and this application embodiment does not limit this.

[0085] Optionally, both the first and second information codes can be ArUco codes. For example, such as... Figure 6 As shown, each display unit in the screen displays two ArUco codes (i.e., the first information code and the second information code).

[0086] In this embodiment, ArUco codes can be divided into multiple families, and the encoding methods corresponding to different families of ArUco codes are different, that is, the recognition algorithms (i.e., the corresponding dictionaries) corresponding to different families of ArUco codes are different. Therefore, as a possible implementation, the family to which the first information code belongs is different from the family to which the second information code belongs, that is, the type of ArUco code to which the first information code belongs is different from the type of ArUco code to which the second information code belongs. Here, the type of ArUco code can represent the family to which the ArUco code belongs.

[0087] For example, the first information code uses the ArUco code of family A (such as the tag16h5 family). The second information code uses the ArUco code of family B (such as the tag36h11 family). It should be noted that the tag size and number of ArUco codes corresponding to different families are also different. Therefore, the family type of the ArUco codes of the first and second information codes can be set according to the actual situation, and this application embodiment does not limit this.

[0088] When identifying the first and second information codes displayed by each display unit, the identification algorithm corresponding to the first information code can only identify the corresponding information from the first information code, while the identification algorithm corresponding to the second information code can only identify the corresponding information from the second information code. In this way, different types of configuration information can be identified through different identification algorithms, without the need to classify the information extracted from the information codes, which can improve the identification efficiency.

[0089] In some examples, when the display unit displays the first information code and the second information code, the display size of the first and second information codes displayed in the display unit can be set according to a preset proportional relationship. The preset proportional relationship can indicate the ratio between the display width of the first and / or second information codes and the display width of the display unit, as well as the ratio between the display height of the first and / or second information codes and the display height of the display unit.

[0090] In one implementation, the display width of the first information code displayed on the display unit is in a first preset ratio to the display width of the corresponding display unit, and the display height of the first information code is in a second preset ratio to the display height of the corresponding display unit.

[0091] Optionally, the display size of the second information code is equal to the display size of the first information code, that is, the display width of the second information code is equal to the display width of the first information code, and the display height of the second information code is equal to the display height of the first information code.

[0092] For example, the ratio of the display width of the first information code to the display width of the corresponding display unit is 1:4, that is, the first preset ratio is 1:4. The ratio of the display width of the first information code to the display width of the corresponding display unit is 1:5, that is, the second preset ratio is 1:5. It should be noted that the first preset ratio and the second preset ratio can be the same or different. The first preset ratio and the second preset ratio can be set according to the actual situation, and the embodiments of this application do not limit this.

[0093] In another implementation, when the first information code and the second information code are arranged along the width direction of the display unit, the display area corresponding to the display unit can be divided into two display areas, namely the first display area and the second display area. The first display area includes the first information code, and the second display area includes the second information code. Specifically, the display width of the first information code is proportional to the display width of the first display area in a third preset ratio, and the display width of the first information code is proportional to the display height of the first display area in a fourth preset ratio; the display width of the second information code is proportional to the display width of the second display area in a fifth preset ratio, and the display width of the second information code is proportional to the display height of the second display area in a sixth preset ratio. Optionally, the display size of the second information code is equal to the display size of the first information code.

[0094] It should be noted that since the display height of the first display area is the same as the display height of the display unit, the fourth preset ratio and the second preset ratio can be the same. Similarly, since the display height of the second display area is the same as the display height of the display unit, the sixth preset ratio and the second preset ratio can also be the same. Furthermore, when the display size of the first information code is the same as the display size of the second information code, the fourth preset ratio and the sixth preset ratio can also be the same.

[0095] In this embodiment, the display size of the corresponding display unit can be determined based on the display size of the first information code and / or the second information code. Furthermore, while ensuring that a single display unit can fully display the first and second information codes, it can also guarantee that the first and second information codes have high clarity, making them easy to identify.

[0096] In some examples, the distance between the first information code and the second information code displayed on a display unit is less than a first preset distance. Based on the distance between the two information codes, the first and second information codes corresponding to the same display unit can be determined.

[0097] In some examples, before step 410, the method further includes: the display unit receiving serial port information sent by the network port of the transmitting module, the serial port information carrying network port information (such as network port number) corresponding to the display unit and receiving module information (such as receiving card number) corresponding to the display unit; determining a first information code based on the network port information corresponding to the display unit; determining a second information code based on the receiving module information corresponding to the display unit; and controlling the display unit to display the first information code and the second information code.

[0098] Step 420: Identify multiple first information codes and multiple second information codes in the target image to obtain the configuration information of each display unit.

[0099] Specifically, the electronic device identifies multiple first information codes and multiple second information codes in the target image to obtain the configuration information of each display unit, which includes network port information and receiving module information.

[0100] In some examples, such as Figure 7 As shown, step 420 may include the following steps:

[0101] Step 510: Identify each first information code among the multiple information codes to obtain the network port information corresponding to each first information code.

[0102] For example, taking the ArUco code of family A as the first information code, the first information code in the target image is located by the black boundary of the first information code, and the recognition algorithm corresponding to the first information code (i.e. the dictionary corresponding to the ArUco code of family A) is used to recognize multiple first information codes in the target image to obtain the network port information (such as the network port number) corresponding to each first information code.

[0103] Step 520: Identify each second information code among the multiple information codes to obtain the receiving module information corresponding to each second information code.

[0104] For example, taking the ArUco code of family B as the second information code, the second information code in the target image is located by the black boundary of the second information code. The recognition algorithm corresponding to the second information code (i.e. the dictionary corresponding to the ArUco code of family B) is used to identify multiple second information codes in the target image to obtain the receiving module information (such as the receiving card serial number) corresponding to each second information code.

[0105] Step 530: Determine the network port information corresponding to the first target information code and the receiving module information corresponding to the second target information code as the configuration information of the target display unit.

[0106] Specifically, the target first information code corresponding to the target display unit is determined from multiple first information codes, and the target second information code corresponding to the target display unit is determined from multiple second information codes. The network port information corresponding to the target first information code and the receiving module information corresponding to the target second information code are determined as the configuration information of the target display unit. Here, the target display unit is any one of the multiple display units. In other words, the target first information code and target second information code corresponding to the same display unit are found from multiple information codes.

[0107] In some examples, prior to step 530, the method may further include: performing clustering processing on multiple information codes to obtain multiple information code groups, wherein the clustering processing is used to determine the first information code and the second information code corresponding to the same display unit; the target information code group includes the target first information code and the target second information code, wherein the target information code group is any one of the multiple information code groups.

[0108] In one possible implementation, for any one of the multiple information codes (such as a first information code or a second information code), the distance between that information code and the other information codes is determined. Based on the distance between each of the other information codes and that information code, the information code closest to that information code among the other information codes is determined. This information code and the information code closest to it are then grouped into an information code group, and one information code group corresponds to one display unit. By repeating the above process, the multiple first information codes and multiple second information codes can be clustered to obtain multiple information code groups, that is, the information code group corresponding to each display unit.

[0109] For example, with Figure 4 Taking the displayed screen as an example, for the first information code A1, the distance between the other information codes (i.e., the second information code B1, the first information code A2, the second information code B2, the first information code A3, the second information code B3, the first information code A4, the second information code B4, the first information code A5, and the second information code B5) on the display screen and the first information code A1 is determined. The second information code B1, which is closest to the first information code A1, is determined as a group of information codes corresponding to the display unit 401.

[0110] In this embodiment, by measuring the distance between one information code and other information codes, the distance between multiple information codes in the target image can be calculated more quickly to determine the first and second information codes corresponding to the same display unit. This allows for the determination of the configuration information of a display unit. The algorithm logic is simple and can improve processing efficiency.

[0111] In some embodiments, the configuration information may further include the display position information of the display unit on the display screen and the display size information of the display unit. The display size information of the display unit includes the display width information and the display height information of the display unit. In this embodiment, based on the display position information of the display unit on the display screen and the size information of the corresponding display area of ​​the display unit, the portion of the image to be displayed by the display unit is determined. Then, based on the network port information and receiving module information of the display unit, the corresponding portion of the image is sent to the display unit so that the display unit displays the corresponding portion of the image. Thus, the portion of the images displayed by all display units can be stitched together to form a correct and complete display screen.

[0112] In some examples, such as Figure 8 As shown, the steps for determining the display position information of the display unit on the display screen may include the following steps.

[0113] Step 610: Determine the first position information of the third information code in the target image. The third information code is either the first information code of the target or the second information code of the target.

[0114] The first position information is used to indicate the position of the third information code in the target image. For example, the first position information can be represented by the pixel coordinates of the center point of the third information code in the coordinate system of the target image. Alternatively, the first position information can also be represented by the pixel coordinates of a corner point of the third information code (such as the upper left corner) in the coordinate system of the target image.

[0115] Step 620: Determine conversion information based on the first position information and the second position information, wherein the second position information is the position information of the third information code in the target display unit.

[0116] The second position information is used to indicate the position of the third information code in the display area of ​​the corresponding target display unit. For example, the second position information can be represented by the pixel coordinates of the center point of the third information code in the coordinate system of the target display unit. Alternatively, the second position information can also be represented by the pixel coordinates of a corner point (such as the upper left corner point) of the third information code in the coordinate system of the target display unit.

[0117] For example, such as Figure 9 As shown in (a), taking display unit 901 as the display unit and the third information code as the first information code A3 as an example, the pixel coordinates (x1, y1) of point P (i.e., the upper left corner point) in the first information code A3 in the coordinate system of the display screen are determined. Figure 9 As shown in (b), the pixel coordinates (X1, Y1) of point P (i.e., the upper left corner point) in the first information code A3 are determined in the coordinate system of the display unit 901. Based on the pixel coordinates (x1, y1) and (X1, Y1), the transformation information between the coordinate system of the display screen and the coordinate system of the display unit 901 is determined.

[0118] Step 630: Based on the transformation information, perform coordinate transformation on the third position information of the target pixel in the target display unit to obtain the display position information of the target display unit.

[0119] The third position information indicates the position of the target pixel within the display area of ​​the target display unit; that is, the third position information is the pixel coordinate information of the target pixel in the coordinate system of the target display unit. For example, the target pixel is the pixel at the upper left of the target display unit, and its pixel coordinate information in the coordinate system of the target display unit is (0,0).

[0120] For example, such as Figure 9As shown in (a), taking display unit 901 as the display unit and point O in display unit 901 as the target pixel, the pixel coordinates (0,0) of point O in the coordinate system of display unit 901 are determined. Based on the transformation information, the pixel coordinates (0,0) are transformed to obtain the pixel coordinates (X2,0) of point O in the coordinate system of the display screen, as shown in (a). Figure 9 As shown in (b) above, the pixel coordinates (X2,0) of point O in the coordinate system of the display screen are determined as the display position information of the display unit 901.

[0121] The above is a schematic explanation of the process of determining the display position information of the display unit on the display screen. The following is a schematic explanation of the process of determining the size information of the display area corresponding to the display unit.

[0122] In some examples, taking any display unit (i.e., the target display unit) in the display screen, where the display width of the target first information code is in a first preset ratio to the display width of the target display unit, the display height of the target first information code is in a second preset ratio to the display height of the target display unit, and the display size of the target second information code is equal to the display size of the target first information code, the display width information of the target display unit is determined based on the display width information of the third information code and the first preset ratio. The display height information of the target display unit is determined based on the display height information of the third information code and the second preset ratio, wherein the third information code is either the target first information code or the target second information code.

[0123] The display width information of the target display unit can represent the carrying width of the target display unit, that is, the width of the portion of the image area corresponding to the target display unit. The display height information of the target display unit can represent the carrying height of the target display unit, that is, the height of the portion of the image area corresponding to the target display unit.

[0124] For example, taking the third information code as the first information code A3 displayed on display unit 901, with a display size of 64×64 pixels, a first preset ratio of 1:4, and a second preset ratio of 1:5, the display width of display unit 901 is calculated to be 256 pixels based on the display width of the first information code (64 pixels) and the first preset ratio (1:4). Based on the display height of the first information code (64 pixels) and the second preset ratio (1:5), the display width of display unit 901 is calculated to be 320 pixels. Thus, after the display control device obtains the configuration information of the display unit 901, it determines the pixel coordinates of the starting pixel of the image area to be displayed by the display unit 901 as (X2,0), the bandwidth as 256 pixels, and the bandwidth as 320 pixels based on the display position information of the display unit 901. Based on this information, the image to be displayed on the display screen is segmented to obtain the partial image to be displayed by the display unit 901. Then, according to the sending card serial number, network port serial number, and receiving card serial number of the display unit 901, the corresponding partial image is sent to the display unit 901 so that the display unit 901 displays the corresponding partial image.

[0125] In other examples, taking any display unit (i.e., the target display unit) in the display screen, the display width of the target first information code is in a third preset ratio to the display width of the first display area of ​​the target display unit, the display height of the target first information code is in a fourth preset ratio to the display height of the first display area of ​​the target display unit, the display width of the target second information code is in a fifth preset ratio to the display width of the second display area of ​​the target display unit, and the display size of the target second information code is equal to the display size of the target first information code. Based on the display width information of the target first information code and the third preset ratio, the display width of the first display area is determined. Based on the display width information of the target second information code and the fifth preset ratio, the display width of the second display area is determined. Based on the sum of the display widths of the first and second display areas, the display width information of the target display unit is determined.

[0126] Furthermore, the display height information of the target display unit is determined based on the display height information of the first target information code and the fourth preset ratio. Alternatively, the display height information of the target display unit can be determined based on the display height information of the second target information code and the sixth preset ratio. In this embodiment, the portion of the image to be displayed by the display unit is determined based on the display position information of the display unit on the display screen and the size information of the corresponding display area. Then, based on the network port information and receiving module information of the display unit, the corresponding portion of the image is sent to the display unit so that the display unit displays the corresponding portion of the image. Thus, the portion of the images displayed by all display units can be stitched together to form a correct and complete display screen.

[0127] In other embodiments, when the size information corresponding to each display unit of the display screen is consistent, after determining the configuration information of each display unit, the configuration information of each display unit is sent to the display control device in sequence according to the order of multiple information code groups in the target image, so that the display control device can perform display control on each display unit according to the configuration information of each display unit.

[0128] Specifically, the electronic device can obtain the screen information of the display screen in advance. When the screen information of the display screen indicates that the size information of each display unit is consistent, the configuration information of each display unit is sent to the display control device in sequence according to the order of multiple information code groups in the target image.

[0129] The screen information of the display screen may include the resolution information (i.e., size information) of each display unit of the display screen.

[0130] The ordering of multiple information code groups in the target image is determined by traversing the multiple information code groups line by line in the target image. Specifically, each first information code in the target image is identified by scanning line by line, thus obtaining the order of the multiple first information codes in the target image, which is the order of the multiple information code groups in the target image. Alternatively, each second information code in the target image can be identified by scanning line by line, thus obtaining the order of the multiple second information codes in the target image, which is the order of the multiple information code groups in the target image.

[0131] In this embodiment, when the display size information (resolution) of each display unit in the display screen is consistent, i.e., the display screen has a uniform load, the configuration information of each display unit can be sent to the display control device sequentially according to the order of multiple information code groups in the target image. In this way, the display control device can determine the configuration information of each display unit based on the order in which the configuration information of each display unit is received, and perform display control on the corresponding display unit based on the configuration information of each display unit. This eliminates the need to determine the display position information and display size information of each display unit in the display screen, simplifying the algorithm logic and improving configuration efficiency.

[0132] In some embodiments, for a scenario where a transmitting module is used to control multiple displays, the transmitting modules connected to the display units are different, and the transmitting module information of the display units is different. Therefore, when configuring the display, it is necessary to determine the network port information, receiving module information and transmitting module information of each display unit.

[0133] The following describes the display configuration method provided in this application embodiment, taking as an example the configuration information including network port information, receiving module information, and sending module information.

[0134] Figure 10This is a schematic diagram illustrating a display screen configuration method provided in an embodiment of this application. Figure 10 As shown, the configuration method of the display screen includes the following steps 710-720.

[0135] Step 710: Obtain the target image, which is the image of the first information code, the second information code, and the fourth information code displayed on each display unit.

[0136] Specifically, when the display units on the screen display the first information code, the second information code, and the fourth information code, the electronic device acquires a target image, which includes multiple first information codes, multiple second information codes, and multiple fourth information codes. The first information code indicates the network port information of the corresponding display unit. The second information code indicates the receiving module information of the corresponding display unit. The fourth information code indicates the transmitting module information of the corresponding display unit.

[0137] It should be noted that since the information transmitted by the different display units can be the same or different, the fourth information code displayed by different display units can be the same or different.

[0138] For example, such as Figure 11 As shown, the display screen includes multiple display units, each display unit displaying a first information code, a second information code, and a fourth information code. Taking display unit 1101 as an example, display unit 1101 displays a first information code A1, a second information code B1, and a fourth information code C1. The first information code A1 represents the network port information of display unit 1101 (e.g., network port serial number), the second information code B1 represents the receiving module information of display unit 1101 (e.g., receiving card serial number), and the fourth information code C1 represents the transmitting module information of display unit 1101 (e.g., transmitting card serial number). It should be noted that the first, second, and fourth information codes displayed in a single display unit can be arranged along the width of the display screen, such as... Figure 11 As shown. The first information code, the second information code, and the fourth information code displayed in a display unit can be arranged in other ways, such as along the height of the display screen, but this application embodiment does not limit this.

[0139] Optionally, the first, second, and fourth information codes are all ArUco codes. For example, the type of the ArUco code to which the fourth information code belongs is different from the type of the ArUco code to which the first information code belongs, and the type of the ArUco code to which the fourth information code belongs is different from the type of the ArUco code to which the second information code belongs. In this way, different types of configuration information can be identified using different recognition algorithms, eliminating the need to classify the information extracted from the information codes and improving recognition efficiency.

[0140] For example, the first information code uses ArUco code from family A. The second information code uses ArUco code from family B. The fourth information code uses ArUco code from family C. It should be noted that the tag size and number corresponding to ArUco codes from different families are also different. Therefore, the family type of the ArUco codes for the first, second, and fourth information codes can be set according to the actual situation, and this application embodiment does not limit this.

[0141] In some examples, the display width of the first information code displayed on the display unit is in a first preset ratio to the display width of the corresponding display unit, and the display height of the first information code is in a second preset ratio to the display height of the corresponding display unit. In some examples, the display size of the second information code is equal to the display size of the first information code. The display size of the fourth information code is equal to the display size of the first information code.

[0142] In this embodiment, the display size of the corresponding display unit can be determined based on the display size of the first, second, or fourth information code. Furthermore, while ensuring that a single display unit can fully display the first, second, and fourth information codes, it can also guarantee that all information codes have high clarity, making the information codes in the image easily identifiable.

[0143] In some examples, the distance between the first information code and the second information code displayed on a display unit is less than a first preset distance. Similarly, the distance between the first information code and the fourth information code displayed on a display unit is less than the first preset distance. Thus, based on the distance between the two information codes, the first, second, and fourth information codes corresponding to the same display unit can be determined.

[0144] In some examples, prior to step 710, the method further includes: the display unit receiving serial port information sent by the network port of the transmitting module, the serial port information carrying network port information (such as network port serial number) corresponding to the display unit, receiving module information (such as receiving card serial number) corresponding to the display unit, and transmitting module information (such as transmitting card serial number) corresponding to the display unit; determining a first information code based on the network port information corresponding to the display unit; determining a second information code based on the receiving module information corresponding to the display unit; determining a fourth information code based on the transmitting module information corresponding to the display unit; and controlling the display unit to display the first information code, the second information code, and the fourth information code.

[0145] Step 720: Identify multiple information codes in the target image to obtain the configuration information of each display unit.

[0146] Specifically, the electronic device identifies multiple first information codes, multiple second information codes, and multiple fourth information codes in the target image to obtain the configuration information of each display unit. The configuration information includes network port information, receiving module information, and transmitting module information.

[0147] In some examples, step 720 may include: identifying each first information code among multiple information codes to obtain network port information corresponding to each first information code; identifying each second information code among multiple information codes to obtain receiving module information corresponding to each second information code; identifying each fourth information code among multiple information codes to obtain transmitting module information corresponding to each fourth information code; and determining the network port information corresponding to the target first information code, the receiving module information corresponding to the target second information code, and the transmitting module information corresponding to the target fourth information code as the configuration information of the target display unit.

[0148] Specifically, the target first information code corresponding to the target display unit is determined from multiple first information codes; the target second information code corresponding to the target display unit is determined from multiple second information codes; and the target fourth information code corresponding to the target display unit is determined from multiple fourth information codes. The network port information corresponding to the target first information code, the receiving module information corresponding to the target second information code, and the transmitting module information corresponding to the target fourth information code are determined as the configuration information of the target display unit. Here, the target display unit is any one of the multiple display units. In other words, the target first information code, target second information code, and target fourth information code corresponding to the same display unit are found from the multiple information codes.

[0149] In some examples, the method may further include: clustering multiple information codes to obtain multiple information code groups, wherein the clustering process is used to determine the first information code, the second information code, and the fourth information code corresponding to the same display unit; the target information code group includes the target first information code, the target second information code, and the target fourth information code, wherein the target information code group is any one of the multiple information code groups.

[0150] It should be noted that the specific implementation of step 720 can be found in the specific implementation of step 420 in the aforementioned embodiment. To avoid repetition, it will not be described again here.

[0151] In some embodiments, the configuration information may further include the display position information of the display unit on the display screen and the display size information of the display unit. The display size information of the display unit includes the display width information and the display height information of the display unit. In this embodiment, based on the display position information of the display unit on the display screen and the size information of the corresponding display area of ​​the display unit, the portion of the image to be displayed by the display unit is determined. Then, based on the network port information and receiving module information of the display unit, the corresponding portion of the image is sent to the display unit so that the display unit displays the corresponding portion of the image. Thus, the portion of the images displayed by all display units can be stitched together to form a correct and complete display screen.

[0152] It should be noted that the specific implementation of the display position information and display size information of the display unit can be found in the specific implementation of step 420 of the aforementioned embodiment. To avoid repetition, it will not be described again here.

[0153] In other embodiments, when the screen information of the display screen indicates that the display size information corresponding to each display unit is consistent, after step 720, the method further includes: sequentially sending the configuration information of each display unit to the display control device according to the order of the multiple information code groups in the target image, so that the display control device can perform display control on each display unit according to the configuration information of each display unit.

[0154] Corresponding to the display screen configuration method described in the above embodiments, Figure 12 A structural block diagram of a display screen configuration device provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0155] Please see Figure 12 The configuration device 1200 for the display screen may include an image acquisition module 1201 and an identification module 1202. The image acquisition module 1201 acquires a target image, which is an image of information codes displayed by each of the multiple display units of the display screen. These information codes indicate the configuration information of the corresponding display unit, including at least one of network port information, receiving module information, and transmitting module information. The identification module 1202 identifies the multiple information codes in the target image to obtain the configuration information of each display unit.

[0156] In some embodiments, the configuration information includes network port information and receiving module information; the information code displayed by each display unit includes a first information code and a second information code, wherein the first information code is used to indicate the network port information of the corresponding display unit, and the second information code is used to indicate the receiving module information of the corresponding display unit; the identification module 1202 is specifically used to: identify each first information code among the multiple information codes to obtain the network port information corresponding to each first information code; identify each second information code among the multiple information codes to obtain the receiving module information corresponding to each second information code; determine the network port information corresponding to the target first information code and the receiving module information corresponding to the target second information code as the configuration information of the target display unit, wherein the target display unit is any display unit among the multiple display units, the target first information code is the first information code corresponding to the target display unit among the multiple first information codes, and the target second information code is the second information code corresponding to the target display unit among the multiple second information codes.

[0157] In some embodiments, the configuration device 1200 of the display screen may further include a clustering module, which is used to perform clustering processing on multiple information codes to obtain multiple information code groups. The clustering processing is used to determine the first information code and the second information code corresponding to the same display unit. One information code group corresponds to one display unit. The target information code group includes a target first information code and a target second information code. The target information code group is any one of the multiple information code groups.

[0158] In some embodiments, the configuration device 1200 of the display screen may further include a sending module. When the screen information of the display screen indicates that the display size information corresponding to each display unit is consistent, the sending module is used to send the configuration information of each display unit to the display control device in sequence according to the order of multiple information code groups in the target image, so that the display control device can perform display control on each display unit according to the configuration information of each display unit.

[0159] In some embodiments, the configuration information further includes display position information of the display unit in the display screen. The identification module 1202 is specifically used to: determine the first position information of the third information code in the target image, wherein the third information code is a target first information code or a target second information code; determine conversion information based on the first position information and the second position information, wherein the second position information is the position information of the third information code in the target display unit; and perform coordinate transformation on the third position information of the target pixel in the target display unit based on the conversion information to obtain the display position information of the target display unit, wherein the third position information is the position information of the target pixel in the target display unit.

[0160] In some embodiments, the configuration information further includes display size information of the display unit, which includes display width information and display height information of the display unit. The identification module 1202 is specifically used to: determine the display width information of the target display unit according to the display width information of the third information code and the first preset ratio; and determine the display height information of the target display unit according to the display height information of the third information code and the second preset ratio.

[0161] In some embodiments, both the first information code and the second information code are ArUco codes, and the type of the ArUco code to which the first information code belongs is different from the type of the ArUco code to which the second information code belongs.

[0162] In some embodiments, the display width of the first information code is in a first preset ratio to the display width of the corresponding display unit, and the display height of the first information code is in a second preset ratio to the display height of the corresponding display unit; the display size of the second information code is equal to the display size of the first information code.

[0163] In some embodiments, the configuration information includes network port information, receiving module information, and transmitting module information; the information codes displayed by each display unit include a first information code, a second information code, and a fourth information code, wherein the first information code is used to indicate the network port information of the corresponding display unit, the second information code is used to indicate the receiving module information of the corresponding display unit, and the fourth information code is used to indicate the transmitting module information of the corresponding display unit; the identification module 1202 is specifically used to: identify each first information code among the multiple information codes to obtain the network port information corresponding to each first information code; and identify each second information code among the multiple information codes to obtain the receiving module information corresponding to each second information code; The fourth information code among the multiple information codes is identified to obtain the sending module information corresponding to each fourth information code; the network port information corresponding to the target first information code, the receiving module information corresponding to the target second information code, and the sending module information corresponding to the target fourth information code are determined as the configuration information of the target display unit, wherein the target display unit is any display unit among the multiple display units, the target first information code is the first information code corresponding to the target display unit among the multiple first information codes, the target second information code is the second information code corresponding to the target display unit among the multiple second information codes, and the target fourth information code is the fourth information code corresponding to the target display unit among the multiple fourth information codes.

[0164] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0165] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0166] Please see Figure 13 This application also provides an electronic device. For example... Figure 13 As shown, the detection device 1300 includes a processor 1301, a memory 1302, and a computer program stored in the memory 1302 and executable on the processor 1301. When the processor 1301 executes the computer program, it implements the steps in any of the above-described method embodiments.

[0167] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0168] This application provides a computer program product that, when run on a testing device, enables the testing device to implement the steps described in the above-described method embodiments.

[0169] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a detection device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0170] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0171] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0172] In the embodiments provided in this application, it should be understood that the disclosed apparatus / devices and methods can be implemented in other ways. For example, the apparatus / device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0173] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0174] The above-described 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 of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for configuring a display screen, characterized in that, The display screen includes multiple display units, and the method includes: Acquire a target image, wherein the target image is an image of the display information code displayed by each of the plurality of display units, the information code being used to indicate the configuration information of the corresponding display unit, the configuration information including at least one of network port information, receiving module information, and sending module information; Multiple information codes in the target image are identified to obtain the configuration information of each display unit; The configuration information includes the display position information of the display unit in the display screen; the information code displayed by each display unit includes a first information code and a second information code, the first information code is used to indicate the network port information of the corresponding display unit, and the second information code is used to indicate the receiving module information of the corresponding display unit; the step of identifying multiple information codes in the target image to obtain the configuration information of each display unit includes: determining the first position information of the third information code in the target image, the third information code being either a target first information code or a target second information code, the target first information code being the first information code corresponding to the target display unit among multiple first information codes, the target second information code being the second information code corresponding to the target display unit among multiple second information codes, and the target display unit being any one of the multiple display units; determining conversion information based on the first and second position information, the second position information being the position information of the third information code in the target display unit; and performing coordinate transformation on the third position information of the target pixel in the target display unit based on the conversion information to obtain the display position information of the target display unit, the third position information being the position information of the target pixel in the target display unit.

2. The method according to claim 1, characterized in that, The configuration information also includes network port information and receiving module information; the step of identifying multiple information codes in the target image to obtain the configuration information of each display unit further includes: Identify each first information code among the plurality of information codes to obtain the network port information corresponding to each first information code; Identify each second information code among the plurality of information codes to obtain the receiving module information corresponding to each second information code; The network port information corresponding to the first information code of the target and the receiving module information corresponding to the second information code of the target are determined as the configuration information of the target display unit.

3. The method according to claim 2, characterized in that, Before determining the network port information corresponding to the first target information code and the receiving module information corresponding to the second target information code as the configuration information of the target display unit, the method further includes: Clustering is performed on the plurality of information codes to obtain a plurality of information code groups, wherein the clustering is used to determine the first information code and the second information code corresponding to the same display unit; one information code group corresponds to one display unit, and the target information code group includes the target first information code and the target second information code, wherein the target information code group is any one of the plurality of information code groups.

4. The method according to claim 3, characterized in that, When the screen information of the display screen indicates that the display size information corresponding to each display unit is consistent, after recognizing multiple information codes in the target image to obtain the configuration information of each display unit, the method further includes: According to the order of the multiple information code groups in the target image, the configuration information of each display unit is sent to the display control device in sequence, so that the display control device can perform display control on each display unit according to the configuration information of each display unit.

5. The method according to claim 2, characterized in that, The configuration information also includes the display size information of the display unit, which includes the display width and display height information of the display unit. The step of recognizing multiple information codes in the target image to obtain the configuration information of each display unit further includes: The display width information of the target display unit is determined based on the display width information of the third information code and the first preset ratio; The display height information of the target display unit is determined based on the display height information of the third information code and the second preset ratio.

6. The method according to any one of claims 2-5, characterized in that, Both the first information code and the second information code are ArUco codes, but the type of the ArUco code to which the first information code belongs is different from the type of the ArUco code to which the second information code belongs.

7. The method according to any one of claims 2-5, characterized in that, The display width of the first information code is in a first preset ratio to the display width of the corresponding display unit, and the display height of the first information code is in a second preset ratio to the display height of the corresponding display unit. The display size of the second information code is the same as the display size of the first information code.

8. The method according to claim 1, characterized in that, The configuration information includes network port information, receiving module information, and transmitting module information; the information codes displayed by each display unit include a first information code, a second information code, and a fourth information code, wherein the first information code is used to indicate the network port information of the corresponding display unit, the second information code is used to indicate the receiving module information of the corresponding display unit, and the fourth information code is used to indicate the transmitting module information of the corresponding display unit; the step of recognizing multiple information codes in the target image to obtain the configuration information of each display unit further includes: Identify each first information code among the plurality of information codes to obtain the network port information corresponding to each first information code; Identify each second information code among the plurality of information codes to obtain the receiving module information corresponding to each second information code; Identify each fourth information code among the plurality of information codes to obtain the sending module information corresponding to each fourth information code; The network port information corresponding to the first target information code, the receiving module information corresponding to the second target information code, and the sending module information corresponding to the fourth target information code are determined as the configuration information of the target display unit. The target display unit is any one of the plurality of display units, the first target information code is the first information code corresponding to the target display unit among the plurality of first information codes, the second target information code is the second information code corresponding to the target display unit among the plurality of second information codes, and the fourth target information code is the fourth information code corresponding to the target display unit among the plurality of fourth information codes.

9. A display screen configuration device, characterized in that, The device includes: An image acquisition module is used to acquire a target image, wherein the target image is an image of an information code displayed by each of the multiple display units of the display screen, the information code being used to indicate the configuration information of the corresponding display unit, and the configuration information including at least one of network port information, receiving module information, and sending module information; The recognition module is used to recognize multiple information codes in the target image to obtain the configuration information of each display unit; The configuration information includes the display position information of the display unit in the display screen; the information code displayed by each display unit includes a first information code and a second information code, the first information code is used to indicate the network port information of the corresponding display unit, and the second information code is used to indicate the receiving module information of the corresponding display unit; the identification module is specifically used to: determine the first position information of the third information code in the target image, the third information code being either a target first information code or a target second information code, the target first information code being a first information code corresponding to the target display unit among a plurality of first information codes, the target second information code being a second information code corresponding to the target display unit among a plurality of second information codes, and the target display unit being any one of the plurality of display units; determine conversion information based on the first and second position information, the second position information being the position information of the third information code in the target display unit; and perform coordinate transformation on the third position information of the target pixel in the target display unit based on the conversion information to obtain the display position information of the target display unit, the third position information being the position information of the target pixel in the target display unit.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the display screen configuration method as described in any one of claims 1 to 8.

11. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the display screen configuration method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Display screen configuration method, device and system and computer readable storage medium

    CN114127833A