Display screen configuration method and device, electronic equipment and storage medium

By identifying the image of the information code in the display screen, the problem of low recognition accuracy due to the influence of ambient light in the LED display configuration is solved, the recognition efficiency and accuracy are improved, and a more efficient acquisition of display unit configuration information is achieved.

CN118570819AActive Publication Date: 2024-08-30XIAN NOVASTAR TECH
View PDF 11 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing LED display configuration method relies on the brightness of the dividing line and the color of the characters in the mapping image, which is easily affected by the intensity of ambient light, resulting in low recognition success and accuracy rates.

Method used

By obtaining the information code image of each display unit in the display screen, the obvious pattern characteristics and rotation and translation invariance of the information code are used to identify the network port information, receiving module information and sending module information, thereby improving identification efficiency and accuracy.

Benefits of technology

It improves the recognition success rate and accuracy of the display unit configuration information, reduces noise interference, reduces the impact on ambient light intensity, and achieves more accurate and efficient acquisition of configuration information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570819A
    Figure CN118570819A
Patent Text Reader

Abstract

The invention is applicable to the technical field of display control, and provides a display screen configuration method and device, electronic equipment and a storage medium, a display screen comprises a plurality of display units, the method comprises the following steps: obtaining a target image, the target image being an image of each display unit in the plurality of display units displaying an information code, the information code is used for indicating configuration information of the corresponding display unit, and the configuration information comprises at least one of network port information, receiving module information and sending module information; and identifying the plurality of information codes in the target image to obtain configuration information of each display unit. The method is not easily influenced by the brightness of the display picture of the display screen and the ambient light intensity, the identification success rate can be increased, and the configuration information of the display unit can be obtained more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of display control technology, and in particular, relates to a display screen configuration method, device, electronic device and storage medium. Background Art

[0002] A light-emitting diode (LED) display screen is usually composed of multiple display units (such as a display box, referred to as a box), that is, the images displayed by each display unit are spliced ​​to form a complete display screen. Therefore, in order to ensure that the LED display screen can work normally, before controlling the LED display screen to display images, the LED display screen needs to be configured to obtain the configuration information of each display unit (such as the position of each display unit in the LED display screen, the display size of each display unit, and the topological connection method of each display unit), and then based on the configuration information of each display unit, the partial image to be displayed by each display unit is sent to the corresponding display unit, so that a complete display screen can be obtained.

[0003] In the related art, 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 photographed, and the configuration information of each display unit is identified from the photographed image. However, this recognition method depends on the brightness of the dividing line 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 recognition. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for configuring a display screen, which are not easily affected by the brightness of the display screen and the intensity of ambient light, and can increase the success rate of recognition and more accurately obtain the configuration information of the display unit.

[0005] In a first aspect, an embodiment of the present application provides a method for configuring a display screen, wherein the display screen includes multiple display units, and the method includes: acquiring a target image, wherein the target image is an image of an information code displayed by each of the multiple display units, the information code 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; identifying multiple information codes in the target image to obtain configuration information of each display unit.

[0006] In a possible implementation, the above-mentioned 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; multiple information codes in the target image are identified to obtain configuration information of each display unit, including: identifying each first information code in the multiple information codes to obtain the network port information corresponding to each first information code; identifying each second information code in 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 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.

[0007] In a possible implementation, before 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, the method also includes: clustering multiple information codes to obtain multiple 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, the target information code group includes the target first information code and the target second information code, and the target information code group is any information code group among the multiple information code groups.

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

[0009] In a possible implementation, the above-mentioned configuration information also includes display position information of the display unit in the display screen, and multiple information codes in the target image are identified to obtain configuration information of each display unit, including: determining the first position information of the third information code in the target image, the third information code is the target first information code or the target second information code; determining 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; based on the conversion information, performing coordinate conversion on the third position information of the target pixel point in the target display unit to obtain the display position information of the target display unit, wherein the third position information is the position information of the target pixel point in the target display unit.

[0010] In a possible implementation, the above-mentioned configuration information also includes display size information of the display unit, and the display size information of the display unit includes display width information of the display unit and display height information of the display unit. Multiple information codes in the target image are identified to obtain configuration information of each display unit, including: determining 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; determining 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.

[0011] In a possible implementation manner, the first information code and the second information code are both 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.

[0012] In a 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 a possible implementation, the configuration information includes network port information, receiving module information and sending module information; the information code displayed by each display unit includes 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 sending module information of the corresponding display unit; multiple information codes in the target image are identified to obtain the configuration information of each display unit, including: identifying each first information code in the multiple information codes to obtain the network port information corresponding to each first information code; identifying each second information code in the multiple information codes to obtain the network port information corresponding to each second information code receiving module information corresponding to the target display unit; identifying each fourth information code among the multiple information codes to obtain the sending module information corresponding to each fourth information code; 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 sending module information corresponding to the target fourth 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, 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] In the second aspect, the embodiment of the present application provides a configuration device for a display screen, the device comprising: an image acquisition module and a recognition module, wherein the image acquisition module is used to obtain a target image, the target image is an image of an information code displayed by each display unit in a plurality of display units of the display screen, the information code is used to indicate the configuration information of the corresponding display unit, the configuration information includes at least one of network port information, receiving module information, and sending module information. The recognition module is used to identify the plurality of information codes in the target image to obtain the configuration information of each display unit.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of a method for configuring a display screen as described in any one of the first aspects above are implemented.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the display screen configuration method described in any one of the first aspects above are implemented.

[0017] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a detection device, the detection device executes the display screen configuration method described in any one of the above-mentioned first aspects.

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

[0019] According to the configuration method of the display screen provided by the embodiment of the present application, when configuring the display screen, a target image including the information code displayed by each display unit in the display screen is obtained, and the configuration information of each display unit is determined by identifying the information code in the target image, and the configuration information includes at least one of the network port information, the receiving module information, and the sending module information. In this way, since the information code has a relatively obvious pattern feature and is easy to be identified, the recognition efficiency can be improved, and the information code has a strong rotation and translation invariance, so when the information code in the acquired target image is translated or rotated, the information code in the target image can also be identified, which can improve the success rate of recognition. Furthermore, by identifying the configuration information through the information code, noise interference can be reduced, and it is not easily affected by the intensity of the external ambient light. The recognition accuracy is high, and the configuration information of each display unit in the display screen can be obtained more accurately and efficiently. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

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

[0022] Figure 2 It is a schematic diagram of an implementation environment of the display screen configuration method provided in an embodiment of the present application;

[0023] Figure 3 This is one of the flow charts of the method for configuring a display screen provided in an embodiment of the present application;

[0024] Figure 4 This is the second flow chart of the method for configuring a display screen provided in an embodiment of the present application;

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

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

[0027] Figure 7 This is the third flow chart of the method for configuring a display screen provided in an embodiment of the present application;

[0028] Figure 8 This is a fourth flow chart of the method for configuring a display screen provided in an embodiment of the present application;

[0029] Fig. 9 is a schematic diagram of a process for determining display position information of a display unit in a display screen provided by an embodiment of the present application;

[0030] Fig.10 This is a fifth flow chart of the method for configuring a display screen provided in an embodiment of the present application;

[0031] Fig.11 is a schematic diagram of another target image provided in an embodiment of the present application;

[0032] Fig.12 It is a structural schematic diagram of a display screen configuration device provided in an embodiment of the present application;

[0033] Fig.13 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

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

[0036] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0037] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0038] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0039] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0040] LED display screens are usually composed of multiple display units, that is, the images displayed by each display unit are spliced ​​together to form a complete display screen. Therefore, in order to ensure that the LED display screen can work normally, before controlling the LED display screen to display images, the LED display screen needs to be configured to obtain the configuration information of each display unit, and then based on the configuration information of each display unit, the partial image to be displayed by each display unit is sent to the corresponding display unit, so that a complete display screen can be obtained.

[0041] In the related art, there are two main ways to configure the LED display screen. In one method, when configuring the LED display screen, the LED display screen is controlled to display a mapping image including configuration information, the mapping image displayed by the LED display screen is photographed, and the configuration information of each display unit in the LED display screen is obtained from the photographed image manually. Among them, the configuration information of the display unit may include the sending card (also called output card) serial number information corresponding to the display unit (that is, the device serial number information corresponding to the display unit), the network port (also called serial port, or interface) serial number information corresponding to the display unit, and the receiving card serial number information corresponding to the display unit. However, this method needs to rely on operators, and the configuration efficiency is low.

[0042] For example, an LED display screen is taken as a display screen composed of 32 (4 rows×8 columns) display units. Figure 1 As shown, the background of the mapping image is black, and multiple white rectangular boxes are displayed on the black background. A white rectangular box represents a display unit, and each white rectangular box (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 information, the network port serial number information, and the receiving card serial number information). Among them, the sending card serial number information can be represented by "S", the network port serial number information can be represented by "P", and the receiving card serial number information can be represented by "#". For example, Figure 1 For example, the white rectangular frame 101 shown in FIG. 1 includes three types of character information, namely, "S:01", "P:06" and "#0001", wherein "S:01" indicates that the sending card serial number information of the display unit corresponding to the white rectangular frame 101 is 01, "P:06" indicates that the network port serial number information of the display unit corresponding to the white rectangular frame 101 is 06, and "#0001" indicates that the receiving card serial number information of the display unit corresponding to the white rectangular frame 101 is 001. Therefore, the operator can determine the configuration information of each corresponding display unit through the character information displayed in each white rectangular frame.

[0043] In addition, since the same network port of a sending card can be connected in series with the receiving cards of multiple display units, that is, the network port serial number information of multiple display units connected to the same network port is the same, therefore, in order to facilitate operators to distinguish multiple display units connected to the same network port, the display colors of the configuration information of multiple display units connected to the same network port can be the same, and the display colors of the configuration information of display units connected to different network ports can be different. However, when the brightness of the display color of the character information in the mapping image is low, the contrast of the character information in the captured image will be low, making it difficult for operators to recognize the character information, resulting in low recognition accuracy of the configuration information of the display unit.

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

[0045] However, on the one hand, this method is based on the segmentation of the display unit based on the white rectangular frame in the captured image, and the brightness of the white rectangular frame will affect the accuracy of recognition, and the brightness of the white rectangular frame will be affected by the display brightness of the mapping image and the ambient light brightness of the environment in which the LED display screen is located, which makes the segmentation of the display unit easily affected by the display brightness and the ambient light brightness, resulting in a low accuracy rate in positioning the display unit. On the other hand, the mapping image usually used in this method is the same as the mapping image used in the aforementioned manual method. Therefore, in the mapping image, the display color of the configuration information of the display units connected to different network ports is different, while the display color of the configuration information of the display units connected to the same network port is the same. In this way, when the brightness of the display color of the character information in the mapping image is low, the contrast of the character information in the captured image will be low, which will also result in a low accuracy rate in recognition.

[0046] In addition, for this method, the display status of the LED display's own lamp beads will also affect the recognition accuracy. For example, when some lamp beads in the LED display are damaged or blocked, it will affect the integrity and clarity of the white rectangular box or character information displayed in the area where these lamp beads are located, thereby resulting in lower recognition accuracy.

[0047] In other words, this recognition method based on the OCR algorithm needs to rely on the brightness of the white rectangular frame and the color of the character information in the mapping image, and is easily affected by the display brightness of the mapping image and the ambient light brightness of the environment in which the LED display is located, resulting in low accuracy in locating the display unit, and then low accuracy in identifying the configuration information of the display unit.

[0048] In order to solve the above technical problems, the embodiment of the present application provides a configuration method of a display screen, which may include: when configuring the display screen, obtaining a target image including information codes displayed by each display unit in the display screen, and determining the configuration information of each display unit by identifying the information code in the target image, wherein the configuration information includes at least one of network port information, receiving module information, and sending module information. In this way, since the information code has a relatively obvious pattern feature and is easy to be identified, the recognition efficiency can be improved, and the information code has a strong rotation and translation invariance, so when the information code in the acquired target image is translated or rotated, the information code in the target image can also be identified, which can improve the success rate of recognition. Furthermore, by identifying the configuration information through the information code, noise interference can be reduced, and it is not easily affected by the intensity of the external ambient light. The recognition accuracy is high, and the configuration information of each display unit in the display screen can be obtained more accurately and efficiently.

[0049] Before introducing the configuration method of the display screen provided in the embodiment of the present application, the implementation environment of the present embodiment is schematically described below.

[0050] Figure 2 FIG. 1 is a schematic diagram showing an implementation environment of a display screen configuration method provided by an embodiment of the present 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 connected to the display screen 21 in communication, and the display control device 22 also establishes a communication connection with the electronic device 23 via a wired or wireless network. The electronic device 23 is used to obtain a target image, which is an image of information codes displayed by each display unit in a plurality of display units, identify a plurality of information codes in the target image, obtain configuration information of each display unit, and send 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, so as to control the display of the display screen 21 based on the configuration information of each display unit.

[0051] Optionally, the display screen 21 may 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 as an example, the display screen 21 may be a traditional LED display screen, a micro LED display screen, or a mini LED display screen. The specific type of the display screen is not limited in the embodiments of the present application.

[0052] Exemplarily, the display screen 21 may include multiple display units. A display unit may be a box, a display module (or light board), or a unit obtained by splicing multiple boxes or multiple display modules. The present application embodiment does not limit the specific composition of the display unit. For example, Figure 2 As shown, the display screen 21 can be composed of 32 (4 rows×8 columns) boxes 211.

[0053] In this embodiment, each display unit may include a receiving module, which is used to communicate with the display control device 22, receive image data sent by the display control device 22, and display the image data on the display unit. Exemplarily, the receiving module may be a receiving card or a chip with an image data transmission function.

[0054] Exemplarily, the display control device 22 may include a sending module, which is used to process image data and send the image data to each display unit of the display screen 21. Exemplarily, the sending module may be a sending card, or a chip with image data processing and transmission functions. Among them, the sending module may include multiple network ports (i.e., Ethernet ports), and one network port may be communicatively connected to the receiving modules of multiple display units of the display screen 21. In this way, the sending module can send image data to the receiving modules of multiple display units connected to the network port through one network port, so that the multiple display units connected to the network port display corresponding image data. For example, taking the sending module as a sending card and the receiving module as a receiving card as an example, as shown in FIG. Figure 1 As shown, a certain network port of the sending card (such as the network port with serial number 06) is connected in series with the receiving cards of the display unit 101, the display unit 102, the display unit 103 and the display unit 104 in sequence, and thus, the network port serial number information of the display unit 101, the display unit 102, the display unit 103 and the 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 a sending card). Exemplarily, in the case where the display control device 22 includes multiple sending modules, the multiple sending modules correspond one to one with the multiple display screens 21, and one sending module is used to process the image data to be displayed on a 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 the multiple network ports it has.

[0055] That is, the display control device 22 may include multiple sending modules, one sending module is used to perform display control on a display screen 21, one sending module includes multiple network ports, and one network port is used to communicate and connect with the receiving modules (such as receiving cards) of multiple display units of the display screen 21. Therefore, when configuring the display screen, it is necessary to determine the receiving module information (such as receiving card serial number information) of each display unit in the display screen and the information of the network port to which the receiving module of each display unit is connected (such as network port serial number information), that is, to determine the configuration information of each display unit, and then the display control device can determine the receiving module of each display unit in the display screen and the network port to which the receiving module is connected based on the configuration information of each display unit in the display screen, and then send the corresponding partial image to the receiving module of each display unit through the network port to which the receiving module of each display unit is connected, so that the receiving module of each display unit controls its corresponding display unit to display the corresponding partial image, so that the partial images displayed by multiple display units are spliced ​​to obtain a complete display screen.

[0056] It should be noted that when the display control device 22 includes multiple sending modules, the multiple sending modules can also perform display control on the same display screen. For this scenario, when configuring the display screen, it is also necessary to determine the sending module information (such as sending 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 the present application can be applicable to a display screen composed of display units with consistent specifications (i.e., the size information of the display areas corresponding to each display unit in the display screen is consistent), and can also be applicable to a display screen composed of display units with inconsistent specifications.

[0058] Exemplarily, the electronic device 23 may be a terminal device, such as a mobile phone, a computer, a tablet computer, etc. The embodiment of the present application does not limit the type of the electronic device 23.

[0059] The following is a schematic illustration of the configuration method of the display screen provided in the embodiment of the present application with reference to the accompanying drawings.

[0060] See also Figure 3 , which shows a flow chart of a method for determining a configuration method of a display screen provided in an embodiment of the present application. The method can be applied to an electronic device. It should be understood that the electronic device can be the electronic device provided in the aforementioned embodiment, and the present application does not limit this.

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

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

[0063] Specifically, when each display unit of the display screen displays an information code, the electronic device collects a target image, and the target image includes the information code displayed by each display unit.

[0064] The sending module information of the display unit can be used to determine the sending module that communicates with the display unit among the multiple sending modules of the display control device. If the sending modules connected to the display units are different, the sending module information of the display units is different. If the sending modules connected to the display units are the same, the sending module information of the display units is the same. In other words, the sending module information of different display units can be the same or different.

[0065] Exemplarily, taking the sending module as a sending card as an example, the sending module information can be represented by the sending card serial number. Specifically, when the display control device includes multiple sending cards, a sending card serial number is set for each sending card, so that different sending cards are represented by different sending card serial numbers. For example, the sending card serial number of the display unit is 01, indicating that the sending card communicating with the corresponding display unit is sending card 01. The sending card serial number of the display unit is 02, indicating that the sending card communicating with the corresponding display unit is sending card 02.

[0066] Through the network port information of the display unit, the network port that communicates with the receiving module of the display unit among the multiple network ports of the sending module can be determined. Among them, if the network ports connected to the display units are different, the network port information of the display units is different. If the network ports connected to the display units are the same, the network port information of the display units is the same. In other words, the network port information of different display units can be the same or different.

[0067] Exemplarily, the network port information can be represented by a network port serial number. Taking the sending module as a sending card and the receiving module as a receiving card as an example, a sending card may include multiple network ports, and a network port serial number may be set for each network port to represent different network ports by different network port serial 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 serial 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 serial 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] Through the receiving module information of the display unit, the receiving module corresponding to the display unit among the multiple receiving modules connected to a network port can be determined. Exemplarily, taking the receiving module as a receiving card as an example, the receiving module information can be represented by the receiving card sequence number. Specifically, since a network port of the sending card can be connected in series with multiple receiving cards, the receiving card sequence number can be set for each receiving card based on the cascade sequence of multiple receiving cards. For example, network port 01 is connected in series with four display units (i.e., network port 01 carries four receiving cards), i.e., network port 01 is directly connected to the receiving card of a display unit, and the network outlet of the receiving card of the display unit is connected to the network inlet of the receiving card of the next display unit. Therefore, based on the cascade sequence of the four receiving cards, a receiving card sequence number is set for each receiving card, i.e., receiving card 01 (a receiving card directly connected to network port 01), receiving card 02 (a receiving card connected to receiving card 01), receiving card 03 (a receiving card connected to receiving card 02), and receiving card 04 (a receiving card connected to receiving card 03). For example, network port 02 is connected in series with four display units, and the receiving card serial numbers of the four display units are receiving card 01, receiving card 02, receiving card 03 and receiving card 04. In other words, since the receiving card serial numbers are set according to the cascade order of the receiving cards, the receiving card serial numbers of different display units can be the same or different.

[0069] The above-mentioned information code is used to indicate the configuration information of the display unit. As a possible implementation method, one information code is used to represent one configuration information, that is, one display unit can display multiple information codes. Exemplarily, when the configuration information includes network port information and receiving module information, one display unit can display the first information code and the second information code. Exemplarily, when the configuration information includes network port information, receiving module information and sending module information, one display unit can display the first information code, the second information code and the third information code. Among them, 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. The third information code is used to indicate the sending 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 codes displayed by different display units can be the same or different. Since the receiving module information of different display units can be the same or different, the second information codes displayed by different display units can be the same or different. Since the sending module information of different display units can be the same or different, the third information codes displayed by different display units can be the same or different.

[0071] Optionally, the above information code may be an ArUco code (also referred to as an ArUco mark). The ArUco mark is a synthetic square mark consisting of a black border and an internal binary matrix, wherein the black border is used to locate the ArUco mark, and the internal binary matrix is ​​used to represent serial number information, such as network port serial number information, receiving card serial number information, or sending card serial number information.

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

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

[0074] Specifically, the electronic device can locate and identify each information code in sequence according to the order of the information codes in the target image to obtain information corresponding to each information code, and then cluster the information corresponding to each information code to obtain configuration information of each display unit. For example, each information code in the target image is identified one by one in a line-by-line scanning manner to obtain information corresponding to each information code.

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

[0076] Exemplarily, when sending the configuration information of each display unit to the display control device, a configuration file can be generated based on the configuration information of each display unit, and the configuration file can be sent to the display control unit. The configuration file includes multiple configuration information, and one configuration information can include, for example, a network port serial number and a receiving card serial number. The arrangement order of different types of information in each configuration information is consistent.

[0077] According to the configuration method of the display screen provided by the embodiment of the present application, when configuring the display screen, a target image including the information code displayed by each display unit in the display screen is obtained, and the configuration information of each display unit is determined by identifying the information code in the target image, and the configuration information includes at least one of the network port information, the receiving module information, and the sending module information. In this way, since the information code has a relatively obvious pattern feature and is easy to be identified, the recognition efficiency can be improved, and the information code has a strong rotation and translation invariance, so when the information code in the acquired target image is translated or rotated, the information code in the target image can also be identified, which can improve the success rate of recognition. Furthermore, by identifying the configuration information through the information code, noise interference can be reduced, and it is not easily affected by the intensity of the external ambient light. The recognition accuracy is high, and the configuration information of each display unit in the display screen can be obtained more accurately and efficiently.

[0078] In some embodiments, for a scenario where a sending module is used to control a display screen, each display unit of the display screen is connected to the sending module, that is, the sending module information (such as the sending 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 the embodiment of the present application by taking the configuration information including the network port information and the receiving module information as an example.

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

[0081] Step 410 , obtaining a target image, where the target image is an image where each display unit displays the first information code and the second information code.

[0082] Specifically, when each display unit of the display screen displays the first information code and the second information code, the electronic device collects a target image, and the target image includes multiple first information codes and multiple second information codes. 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.

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

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

[0085] Optionally, both the first information code and the second information code are ArUco codes. Figure 6 As shown, each display unit in the display screen displays two ArUco codes (ie, 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 ArUco codes of different families are different, that is, the recognition algorithms (that is, the corresponding dictionaries) corresponding to ArUco codes of different families are different. Therefore, as a possible implementation method, 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, wherein the type of ArUco code can characterize the family to which the ArUco code belongs.

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

[0088] When identifying the first information code and the second information code displayed by each display unit, by using the recognition algorithm corresponding to the first information code, only the corresponding information can be identified from the first information code, while by using the recognition algorithm corresponding to the second information code, only the corresponding information can be identified from the second information code. In this way, different types of configuration information can be identified through different recognition algorithms, and there is no need to classify the information extracted from the information code, which can improve the recognition 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 information code and the second information code displayed in one display unit can be set according to a preset proportional relationship. The preset proportional relationship can indicate the proportional relationship between the display width of the first information code and / or the second information code and the display width of the display unit, and the proportional relationship between the display height of the first information code and / or the second information code 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 actual conditions, and the embodiments of the present application are not limited to 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 left and right 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. In this regard, the display width of the first information code is in a third preset ratio with the display width of the first display area, and the display width of the first information code is in a fourth preset ratio with the display height of the first display area; the display width of the second information code is in a fifth preset ratio with the display width of the second display area, and the display width of the second information code is in a sixth preset ratio with the display height of the second display area. 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 display height of the display unit, the fourth preset ratio may be the same as the second preset ratio. Since the display height of the second display area is the display height of the display unit, the sixth preset ratio may be the same as the second preset ratio. And, 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 may be the same as the sixth preset ratio.

[0095] In this embodiment, the display size of the corresponding display unit can be determined according to the display size of the first information code and / or the second information code. Furthermore, while ensuring that one display unit fully displays the first information code and the second information code, it can ensure that the first information code and the second information code have high clarity, making the first information code and the second information code 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 the first preset distance. Thus, based on the distance between the two information codes, the first information code and the second information code corresponding to the same display unit can be determined.

[0097] In some examples, before step 410, the method also includes: the display unit receives serial port information sent by the network port of the sending module, the serial port information carrying network port information corresponding to the display unit (such as the network port serial number) and receiving module information corresponding to the display unit (such as the receiving card serial number); determining a first information code according to the network port information corresponding to the display unit; determining a second information code according to 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 the multiple first information codes and the multiple second information codes in the target image to obtain the configuration information of each display unit.

[0099] Specifically, the electronic device identifies a plurality of first information codes and a plurality of second information codes in the target image to obtain configuration information of each display unit, where the configuration information 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] Exemplarily, 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 (that is, the dictionary corresponding to the ArUco code of family A) is used to identify multiple first information codes in the target image, and the network port information corresponding to each first information code (such as the network port serial number) is obtained.

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

[0104] Exemplarily, 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, and the recognition algorithm corresponding to the second information code (that is, the dictionary corresponding to the ArUco code of family B) is used to identify multiple second information codes in the target image, and the receiving module information corresponding to each second information code (such as the receiving card serial number) is obtained.

[0105] Step 530: 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.

[0106] Specifically, a target first information code corresponding to a target display unit is determined from among the plurality of first information codes, and a target second information code corresponding to a target display unit is determined from among the plurality of second information codes, and 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. The target display unit is any one of the plurality of display units. In other words, the target first information code and the target second information code corresponding to the same display unit are found from the plurality of information codes.

[0107] In some examples, before step 530, the method may further include: clustering multiple information codes to obtain multiple 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; the target information code group includes a target first information code and a target second information code, wherein the target information code group is any information code group among the multiple information code groups.

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

[0109] For example, Figure 4 Taking the display screen shown as an example, for the first information code A1, the distances between other information codes in the display screen (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, the second information code B5) and the first information code A1 are determined, and the second information code B1, which is closest to the first information code A1, is determined as a group of information code groups corresponding to the display unit 401.

[0110] In this embodiment, based on the distance between one information code and other information codes, the distances of multiple information codes in the target image are calculated, so that the first information code and the second information code corresponding to the same display unit can be determined more quickly, and then the configuration information of a display unit can be determined. The algorithm logic is simple and can improve processing efficiency.

[0111] In some embodiments, the configuration information may also include display position information of the display unit in the display screen and display size information of the display unit. Among them, the display size information of the display unit includes display width information and display height information of the display unit. In this embodiment, the partial image to be displayed by the display unit is determined based on the display position information of the display unit in the display screen and the size information of the display area corresponding to the display unit, and the corresponding partial image is sent to the display unit based on the network port information and receiving module information of the display unit, so that the display unit displays the corresponding partial image, and then the partial images displayed by all display units can be spliced ​​to obtain a correct and complete display screen.

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

[0113] Step 610: determine first position information of a third information code in a target image, where the third information code is the target first information code or the target second information code.

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

[0115] Step 620, determining conversion information according to the first position information and the second position information, wherein the second position information is 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. Exemplarily, the second position information can be represented by the pixel coordinate information of the center point of the third information code in the coordinate system of the target display unit. Exemplarily, the second position information can also be represented by the pixel coordinate information of the 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, Fig. 9 As shown in (a) of FIG. 1 , taking the display unit as the display unit 901 and the third information code as the first information code A3 as an example, the pixel coordinates (x1, y1) of the 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. Fig. 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 in the coordinate system of the display unit 901 are determined. Based on the pixel coordinates (x1, y1) and the pixel coordinates (X1, Y1), the conversion 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 conversion information, coordinate conversion is performed on the third position information of the target pixel point in the target display unit to obtain the display position information of the target display unit.

[0119] The third position information is used to indicate the position of the target pixel point in the display area of ​​the target display unit, that is, the third position information is the pixel coordinate information of the target pixel point in the coordinate system of the target display unit. Exemplarily, the target pixel point is the pixel point in the upper left corner 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, Fig. 9As shown in (a) of FIG. 1 , taking the display unit as the display unit 901 and the target pixel point as the point O in the display unit 901 as an example, the pixel coordinate (0,0) of the point O in the coordinate system of the display unit 901 is determined. Based on the conversion information, the pixel coordinate (0,0) is converted to obtain the pixel coordinate (X2,0) of the point O in the coordinate system of the display screen, as shown in FIG. Fig. 9 As shown in (b) in FIG. 1 , the pixel coordinate (X2, 0) of point O in the coordinate system of the display screen is determined as the display position information of the display unit 901 .

[0121] The above is a schematic description of the process of determining the display position information of the display unit in the display screen. The following is a schematic description 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., target display unit) in the display screen, the display width of the target first information code and the display width of the target display unit are in a first preset ratio, the display height of the target first information code and the display height of the target display unit are in a second preset ratio, and the display size of the target second information code is equal to the display size of the target first information code as an example, the display width information of the target display unit is determined according to 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 according to the display height information of the third information code and the second preset ratio, wherein the third information code is the target first information code or the target second information code.

[0123] The display width information of the target display unit may indicate the load width of the target display unit, that is, the width of the partial image area corresponding to the target display unit. The display height information of the target display unit may indicate the load height of the target display unit, that is, the height of the partial image area corresponding to the target display unit.

[0124] For example, taking the third information code as the first information code A3 displayed on the display unit 901, the display size of the first information code A3 is 64×64, the first preset ratio is 1:4, and the second preset ratio is 1:5 as an example, according to the display width of the first information code (64 pixel width) and the first preset ratio (1:4), the display width of the display unit 901 is calculated to be 256 pixel width. According to the display height of the first information code (64 pixel width) and the second preset ratio (1:5), the display width of the display unit 901 is calculated to be 320 pixel width. In this way, after the display control device obtains the configuration information of the display unit 901, it determines, according to the display position information of the display unit 901, that the pixel coordinates of the starting pixel point of the image area to be displayed by the display unit 901 are (X2, 0), the loaded width is 256 pixels, and the loaded height is 320 pixels. 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, and 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 in a display screen (i.e., a target display unit), the display width of the target first information code and the display width of the first display area of ​​the target display unit are in a third preset ratio, the display height of the target first information code and the display height of the first display area of ​​the target display unit are in a fourth preset ratio, the display width of the target second information code and the display width of the second display area of ​​the target display unit are in a fifth preset ratio, 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 of the first display area is determined according to the display width information of the target first information code and the third preset ratio, the display width of the second display area is determined according to the display width information of the target second information code and the fifth preset ratio, and the display width information of the target display unit is determined according to the sum of the display width of the first display area and the display width of the second display area.

[0126] And, according to the display height information of the target first information code and the fourth preset ratio, the display height information of the target display unit is determined. Of course, the display height information of the target display unit can also be determined according to the display height information of the target second information code and the sixth preset ratio. In this embodiment, according to the display position information of the display unit in the display screen and the size information of the display area corresponding to the display unit, the partial image to be displayed by the display unit is determined, and according to the network port information and the receiving module information of the display unit, the corresponding partial image is sent to the display unit so that the display unit displays the corresponding partial image, and then the partial images displayed by all the display units can be spliced ​​to obtain 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 the configuration information of each display unit is determined, 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 performs display control on each display unit according to the configuration information of each display unit.

[0128] Specifically, the electronic device can obtain screen information of the display screen in advance, and when the screen information of the display screen indicates that the size information corresponding to 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 resolution information (ie, size information) of each display unit of the display screen.

[0130] The order of the multiple information code groups in the target image is the order of traversing the multiple information code groups in the target image line by line. Specifically, each first information code in the target image is identified in a line-by-line scanning manner, and then the order of the multiple first information codes in the target image is obtained, that is, the order of the multiple information code groups in the target image is obtained. Of course, each second information code in the target image can also be identified in a line-by-line scanning manner, and then the order of the multiple second information codes in the target image is obtained, that is, the order of the multiple information code groups in the target image is obtained.

[0131] In this embodiment, when the display size information (resolution) of each display unit in the display screen is consistent, that is, when the display screen is uniformly loaded, the configuration information of each display unit can be sent to the display control device in sequence according to the order of the multiple information code groups in the target image. In this way, the display control device can determine the configuration information of each display unit according to 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. In this way, it is not necessary to determine the display position information and display size information of each display unit in the display screen, which can simplify the algorithm logic and improve the configuration efficiency.

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

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

[0134] Fig.10A schematic diagram of a display screen configuration method provided in an embodiment of the present application. Fig.10 As shown, the configuration method of the display screen includes the following steps 710-720.

[0135] Step 710, acquiring a target image, where the target image is an image of each display unit displaying the first information code, the second information code and the fourth information code.

[0136] Specifically, when each display unit of the display screen displays the first information code, the second information code and the fourth information code, the electronic device captures a target image, and the target image includes multiple first information codes, multiple second information codes and multiple fourth information codes. Among them, 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. The fourth information code is used to indicate the sending module information of the corresponding display unit.

[0137] It should be noted that, since the sending module information of different display units may be the same or different, the fourth information codes displayed by different display units may be the same or different.

[0138] For example, Fig.11 As shown, the display screen includes multiple display units, and each display unit displays a first information code, a second information code, and a fourth information code. Taking the display unit 1101 as an example, the display unit 1101 displays the first information code A1, the second information code B1, and the fourth information code C1, wherein the first information code A1 is used to represent the network port information of the display unit 1101 (such as the network port serial number), the second information code B1 is used to represent the receiving module information of the display unit 1101 (such as the receiving card serial number), and the fourth information code C1 is used to represent the sending module information of the display unit 1101 (such as the sending card serial number). It should be noted that the first information code, the second information code, and the fourth information code displayed in a display unit can be arranged along the width direction of the display screen, such as Fig.11 The first information code, the second information code and the fourth information code displayed in a display unit may be arranged in other ways, such as along the height direction of the display screen, which is not limited in the embodiment of the present application.

[0139] Optionally, the first information code, the second information code and the fourth information code are all ArUco codes. Exemplarily, the type of ArUco code to which the fourth information code belongs is different from the type of ArUco code to which the first information code belongs, and the type of ArUco code to which the fourth information code belongs is different from the type of ArUco code to which the second information code belongs. In this way, different types of configuration information can be identified through different recognition algorithms, and there is no need to classify the information extracted from the information code, which can improve the recognition efficiency.

[0140] For example, the first information code uses the ArUco code of family A. The second information code uses the ArUco code of family B. The fourth information code uses the ArUco code of family C. It should be noted that the mark sizes and quantities corresponding to the ArUco codes of different families are also different. Therefore, the family types of the ArUco codes of the first information code, the second information code, and the fourth information code can be set according to actual conditions, and the embodiments of the present application do 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 according to the display size of the first information code, the second information code, or the fourth information code. Furthermore, while ensuring that one display unit fully displays the first information code, the second information code, and the fourth information code, it can ensure that all information codes have high clarity, so that the information codes in the image are easy to identify.

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

[0144] In some examples, before step 710, the method also includes: the display unit receives serial port information sent by the network port of the sending module, the serial port information carries the network port information corresponding to the display unit (such as the network port serial number), the receiving module information corresponding to the display unit (such as the receiving card serial number) and the sending module information corresponding to the display unit (such as the sending card serial number); determining the first information code according to the network port information corresponding to the display unit; determining the second information code according to the receiving module information corresponding to the display unit; determining the fourth information code according to the sending 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, identifying multiple information codes in the target image to obtain 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 configuration information of each display unit, where the configuration information includes network port information, receiving module information and sending 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 sending 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 sending module information corresponding to the target fourth information code as the configuration information of the target display unit.

[0148] Specifically, a target first information code corresponding to a target display unit is determined from among the plurality of first information codes, a target second information code corresponding to a target display unit is determined from among the plurality of second information codes, and a target fourth information code corresponding to a target display unit is determined from among the plurality of fourth information codes, and 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. The target display unit is any one of the plurality of display units. In other words, the target first information code, the target second information code, and the target fourth information code corresponding to the same display unit are found from the plurality of information codes.

[0149] In some examples, the method may further include: clustering multiple information codes to obtain multiple information code groups, the clustering processing 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 a target first information code, a target second information code and a target fourth information code, wherein the target information code group is any information code group among the multiple information code groups.

[0150] It should be noted that the specific implementation of step 720 can refer to the specific implementation of step 420 in the above embodiment, and will not be described again here to avoid repetition.

[0151] In some embodiments, the configuration information may also include display position information of the display unit in the display screen and display size information of the display unit. Among them, the display size information of the display unit includes display width information and display height information of the display unit. In this embodiment, the partial image to be displayed by the display unit is determined based on the display position information of the display unit in the display screen and the size information of the display area corresponding to the display unit, and the corresponding partial image is sent to the display unit based on the network port information and receiving module information of the display unit, so that the display unit displays the corresponding partial image, and then the partial images displayed by all display units can be spliced ​​to obtain a correct and complete display screen.

[0152] It should be noted that the specific implementation of the display position information and the display size information of the display unit can refer to the specific implementation of step 420 in the above embodiment, and will not be repeated here to avoid repetition.

[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: sending 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 performs display control on each display unit according to the configuration information of each display unit.

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

[0155] See also Fig.12 , the configuration device 1200 of the display screen may include an image acquisition module 1201 and an identification module 1202. The image acquisition module 1201 is used to obtain a target image, which is an image of an information code displayed by each display unit in a plurality of display units of the display screen, and the information code is 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 sending module information. The identification module 1202 is used to identify the plurality of information codes in the target image and 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 in a plurality of information codes to obtain the network port information corresponding to each first information code; identify each second information code in a plurality of 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 plurality of display units, the target first information code is the first information code corresponding to the target display unit among the plurality of first information codes, and the target second information code is the second information code corresponding to the target display unit among the plurality of second information codes.

[0157] In some embodiments, the configuration device 1200 of the above-mentioned 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, 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, and the target information code group includes a target first information code and a target second information code, and the target information code group is any information code group among the multiple information code groups.

[0158] In some embodiments, the configuration device 1200 of the above-mentioned 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 performs display control on each display unit according to the configuration information of each display unit.

[0159] In some embodiments, the configuration information also includes display position information of the display unit in the display screen, and the identification module 1202 is specifically used to: determine the first position information of the third information code in the target image, where the third information code is the target first information code or the target second information code; determine the 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; based on the conversion information, perform coordinate conversion on the third position information of the target pixel point in the target display unit to obtain the display position information of the target display unit, wherein the third position information is the position information of the target pixel point in the target display unit.

[0160] In some embodiments, the configuration information also includes display size information of the display unit, and the display size information of the display unit includes display width information of the display unit 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; 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, the first information code and the second information code are both 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 with the display width of the corresponding display unit, and the display height of the first information code is in a second preset ratio with 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 sending module information; the information code displayed by each display unit includes 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 sending module information of the corresponding display unit; the identification module 1202 is specifically used to: identify each first information code in the multiple information codes to obtain the network port information corresponding to each first information code; identify each second information code in the multiple information codes to obtain the receiving module information corresponding to each second information code; Identify each fourth information code among the multiple information codes to obtain the sending module information corresponding to each fourth information code; determine 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 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, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0165] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by 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 embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0166] See also Fig.13 , the present application embodiment also provides an electronic device. Fig.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, the steps in any of the above method embodiments are implemented.

[0167] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0168] An embodiment of the present application provides a computer program product. When the computer program product runs on a detection device, the detection device can implement the steps in the above-mentioned method embodiments when the computer program product is executed.

[0169] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present application implements all or part of the process in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes a computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code to the detection device. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk, etc. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0170] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0171] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0172] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are merely schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0174] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for configuring a display screen, characterized in that: The display screen includes a plurality of display units, and the method includes: Acquire a target image, wherein the target image is an image of an information code displayed by each display unit among the multiple display units, wherein the information code is used to indicate configuration information of the corresponding display unit, wherein the configuration information includes 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.

2. The method according to claim 1, characterized in that 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 of multiple information codes in the target image to obtain the configuration information of each display unit includes: Identify each first information code among the multiple information codes to obtain network port information corresponding to each first information code; Identify each second information code among the multiple information codes to obtain receiving module information corresponding to each second information code; 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, 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.

3. The method according to claim 2, characterized in that Before 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, the method further includes: The multiple information codes are clustered to obtain multiple 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, the target information code group includes the target first information code and the target second information code, and the target information code group is any information code group among the multiple information code groups.

4. The method according to claim 3, characterized in that In the case where the screen information of the display screen indicates that the display size information corresponding to each display unit is consistent, after identifying the 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 performs 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 display position information of the display unit in the display screen. The identification of multiple information codes in the target image to obtain the configuration information of each display unit includes: Determine first position information of a third information code in the target image, where the third information code is the target first information code or the target second information code; Determine conversion information according to the first position information and the second position information, wherein the second position information is position information of the third information code in the target display unit; Based on the conversion information, coordinate transformation is performed on the third position information of the target pixel point in the target display unit to obtain the display position information of the target display unit, wherein the third position information is the position information of the target pixel point in the target display unit.

6. The method according to claim 5, characterized in that The configuration information also includes display size information of the display unit, and the display size information of the display unit includes display width information of the display unit and display height information of the display unit. The multiple information codes in the target image are identified to obtain the configuration information of each display unit, including: Determining 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; The display height information of the target display unit is determined according to the display height information of the third information code and the second preset ratio.

7. The method according to any one of claims 2 to 6, characterized in that: The first information code and the second information code are both 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.

8. The method according to any one of claims 2 to 6, characterized in that: The display width of the first information code and the display width of the corresponding display unit are in a first preset ratio, and the display height of the first information code and the display height of the corresponding display unit are in a second preset ratio; The display size of the second information code is equal to the display size of the first information code.

9. The method according to claim 1, characterized in that: The configuration information includes network port information, receiving module information and sending module information; the information code displayed by each display unit includes 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 sending module information of the corresponding display unit; the identification of multiple information codes in the target image to obtain the configuration information of each display unit includes: Identify each first information code among the multiple information codes to obtain network port information corresponding to each first information code; Identify each second information code among the multiple information codes to obtain receiving module information corresponding to each second information code; Identify each fourth information code among the multiple information codes to obtain 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 a first information code corresponding to the target display unit among the multiple first information codes, the target second information code is a second information code corresponding to the target display unit among the multiple second information codes, and the target fourth information code is a fourth information code corresponding to the target display unit among the multiple fourth information codes.

10. A display screen configuration device, characterized in that: The device comprises: An image acquisition module, used for acquiring a target image, wherein the target image is an image of an information code displayed by each display unit of a plurality of display units of the display screen, wherein the information code is used for indicating configuration information of the corresponding display unit, wherein the configuration information includes 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.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for configuring a display screen according to any one of claims 1 to 9 are implemented.

12. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for configuring a display screen according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • LED display screen configuration method and device

    CN112463087A

  • Display screen configuration method and device

    CN113448523A

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

    CN114127833A

  • Display screen configuration method and device, storage medium and processor

    CN114185507A

  • Screen configuration method and device, electronic equipment and readable storage medium

    CN115543247A