Intelligent building light display control method and device and electronic equipment

By constructing a three-dimensional three-dimensional model and verifying and correcting the correspondence between physical lamps and virtual lamps, the problem of time-consuming and labor-consuming manual points is solved, and high-precision automatic control of building lighting display is realized.

CN120236491APending Publication Date: 2025-07-01BEIJING CHINA UNITED ULTRA HD COLLABORATION TECH CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311864906.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In the prior art, manual lighting display of building lighting is time-consuming and labor-intensive, and the accuracy of the drawing is difficult to guarantee, resulting in errors in image generation.

Method used

By obtaining the physical information of the building and the position information of the physical lamp, a three-dimensional three-dimensional model is constructed, and the corresponding relationship between the physical lamp and the virtual lamp is checked and corrected based on the planned verification path, a target correspondence relationship is established, and the physical lamp is controlled to run with the target parameters to display the image to be displayed.

Benefits of technology

It improves the accuracy of the tracing point and the accuracy of image display, reducing labor and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120236491A_ABST
    Figure CN120236491A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of image display, in particular to an intelligent building light display control method and device and electronic equipment, and the method comprises the steps: obtaining the physical information of a building and the position information of each physical lamp on the building; and constructing a three-dimensional model according to the physical information of all the buildings and the position information of each entity lamp on the building. According to the intelligent building light display control method and device and the electronic equipment provided by the invention, the first three-dimensional model is constructed based on the physical information of the building and the position information of the entity lamp, and then the first corresponding relation between the entity lamp and the virtual lamp in the three-dimensional model is verified; and when verification fails, the target corresponding relation is obtained through adjustment, and then the to-be-displayed image is displayed based on the adjusted target corresponding relation. Therefore, the accuracy of point drawing can be improved, the error of the generated image is reduced, and the accuracy of image display is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image display, and in particular to a method, device and electronic device for controlling the lighting display of intelligent buildings. Background Art

[0002] In modern society, high-rise buildings are everywhere. During the process of urban construction, more and more cities will combine the physical lights on the outer side of the building to transform into the patterns we want, making the night view of the city more colorful.

[0003] Currently, manual methods are used to mark points on the visible lights outside the distant building, and then modeling is carried out by adjusting the number and position of physical lamp beads in the model.

[0004] However, manual point marking is time-consuming and costly in terms of labor, and it is difficult to guarantee the accuracy of point marking, resulting in errors in image generation. Summary of the Invention

[0005] In view of this, the purpose of the present invention is to provide a method, device and electronic device for controlling the lighting display of intelligent buildings.

[0006] In a first aspect, an embodiment of the present invention provides a method for controlling the lighting display of intelligent buildings, the method comprising:

[0007] Obtaining the physical information of the building and the position information of each physical lamp on the building;

[0008] Constructing a three-dimensional model according to the physical information of all buildings and the position information of each physical lamp on the building; wherein, the three-dimensional model includes a plurality of virtual lamps corresponding one-to-one to a plurality of physical lamps;

[0009] Verifying a first correspondence relationship between the physical lamp and the virtual lamp based on a planned verification path;

[0010] If the verification fails, correcting the first correspondence relationship between the virtual lamp and the physical lamp to obtain a target correspondence relationship between the virtual lamp and the physical lamp;

[0011] Establishing a second correspondence relationship between each pixel point in the image to be displayed and a plurality of target virtual lamps;

[0012] Based on the second correspondence relationship and the target correspondence relationship, configuring parameters of the target virtual lamp corresponding to the pixel point and the target physical lamp corresponding to the target virtual lamp according to the parameters of the pixel point;

[0013] Controlling the target physical lamp to operate with the target parameters to display the image to be displayed.

[0014] Combined with the first aspect, the step of obtaining the physical information of the building and the position information of each physical lamp on the building includes:

[0015] Obtain the physical information of the building and the first relative position information between the building and other buildings; the physical information includes at least: the length information, width information, and height information of the building.

[0016] For each building, obtain the second relative position information between the building and each physical lamp provided on the building.

[0017] For each physical lamp on the building, determine the position information of the physical lamp according to the physical information of the building and the second relative position information.

[0018] Combined with the first aspect, the steps of constructing the first three-dimensional solid model according to the physical information of all buildings and the position information of each physical lamp on the building include:

[0019] Construct an initial three-dimensional solid model according to the physical information of all buildings.

[0020] According to the position information of each physical lamp, determine the virtual lamp corresponding to the physical lamp in the initial three-dimensional solid model.

[0021] Update the initial three-dimensional solid model according to all the virtual lamps to obtain the first three-dimensional solid model.

[0022] Combined with the first aspect, after the step of determining the virtual lamp corresponding to the physical lamp in the initial three-dimensional solid model according to the position information of each physical lamp, it further includes:

[0023] For each physical lamp, obtain the first control unit corresponding to the physical lamp.

[0024] Obtain the second control unit associated with the virtual lamp corresponding to the physical lamp.

[0025] Establish and store the mapping relationship between the first control unit and the second control unit.

[0026] Wherein, the first control unit is communicatively connected to the second control unit.

[0027] Combined with the first aspect, the steps of verifying the one-to-one correspondence between the physical lamp and the virtual lamp based on the planned verification path include:

[0028] Plan multiple verification paths in the three-dimensional solid model along the first direction, wherein each verification path includes a plurality of virtual lamps on a straight line.

[0029] For each verification path, obtain the target second control unit corresponding to the plurality of virtual lamps on the verification path.

[0030] According to the execution order of the multiple verification paths, sequentially control the target second control unit to send a control signal to the target first control unit to turn on a plurality of first target physical lamps.

[0031] Determine whether the straightness of the light rays generated by multiple first target entity lights is within a preset range;

[0032] If not, the verification fails;

[0033] If so, the verification is successful, and use the first correspondence as the target correspondence.

[0034] Combined with the first aspect, after the step of verifying the first correspondence between the entity lights and the virtual lights based on the planned verification path, it further includes:

[0035] If the verification fails, use the current correspondence as the target correspondence, and record the first position information of the target deviated from the entity light, the second position information of other entity lights within the preset distance from the target deviated from the entity light, and the parameter offset of each entity light;

[0036] Establish a second correspondence between each pixel point in the image to be displayed and multiple target virtual lights;

[0037] Based on the second correspondence, the target correspondence, and the parameter deviation, configure the parameters of the target virtual light corresponding to the pixel point and the target entity light corresponding to the target virtual light according to the parameters of the pixel point;

[0038] Control the target entity lights to operate with the target parameters to display the image to be displayed.

[0039] Combined with the first aspect, the step of determining that the straightness of the light rays generated by multiple first target entity lights is within a preset range includes:

[0040] Obtain the current building image after multiple first target entity lights are turned on;

[0041] Input the current building image into the trained image recognition model, and output the straightness of the light rays generated by multiple first target entity lights in the current building image.

[0042] Combined with the first aspect, before the step of establishing a second correspondence between each pixel point in the image to be displayed and multiple virtual lights, it further includes:

[0043] Obtain the position information of each virtual light projected onto the set plane in the three-dimensional solid model;

[0044] Based on the position information of all virtual lights, determine the display area of the building;

[0045] Process the image to be displayed according to the display area so that each pixel point in the image to be displayed corresponds one by one to multiple target virtual lights.

[0046] In a second aspect, an embodiment of the present application provides a smart building lighting display control device, and the device includes:

[0047] An acquisition module, configured to acquire the physical information of each building in the intelligent building image and the position information of each physical lamp on the building;

[0048] A construction module, configured to construct a three-dimensional solid model according to the physical information of all buildings and the position information of each physical lamp on the building; wherein, the three-dimensional solid model includes a plurality of virtual lamps corresponding one-to-one to a plurality of physical lamps;

[0049] A verification module, configured to verify the first correspondence between the physical lamp and the virtual lamp based on the planned verification path;

[0050] A correction module, configured to correct the first correspondence between the virtual lamp and the physical lamp in the case of verification failure to obtain the target correspondence between the virtual lamp and the physical lamp;

[0051] An establishment module, configured to establish a second correspondence between each pixel point in the image to be displayed and a plurality of target virtual lamps;

[0052] A configuration module, configured to perform parameter configuration on the target virtual lamp corresponding to the pixel point and the target physical lamp corresponding to the target virtual lamp based on the second correspondence and the target correspondence according to the parameters of the pixel point;

[0053] A display module, configured to control the target physical lamp to operate with the target parameters to display the image to be displayed.

[0054] In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory and a processor. The memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the above method.

[0055] In a fourth aspect, the present application provides a storage medium, in which computer program instructions are stored. When the computer program instructions are read and run by a processor, the above method is executed.

[0056] The embodiments of the present invention bring the following beneficial effects: The intelligent building lighting display control method, device and electronic device provided by the present application construct a first three-dimensional solid model based on the physical information of the building and the position information of the physical lamp. Then, the first correspondence between the physical lamp and the virtual lamp in the three-dimensional solid model is verified, and the target correspondence is adjusted when the verification fails. Then, based on the adjusted target correspondence, the image to be displayed is displayed. In this way, the accuracy of point plotting can be improved, thereby reducing the image generation error and improving the accuracy of image display.

[0057] Other features and advantages of the present invention will be set forth in the following description, and in part will be obvious from the description, or may be learned by practice of the present invention. The objectives and other advantages of the present invention are realized and attained by the structure particularly pointed out in the specification, claims and drawings.

[0058] To make the above objectives, features and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given, in conjunction with the accompanying drawings, and are described in detail as follows. Description of the Drawings

[0059] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0060] Figure 1 Schematic flowchart of a method for controlling the lighting display of an intelligent building provided by an embodiment of the present invention;

[0061] Figure 2 Another schematic flowchart of a method for controlling the lighting display of an intelligent building provided by an embodiment of the present invention;

[0062] Figure 3 Schematic structural diagram of a device for controlling the lighting display of an intelligent building provided by an embodiment of the present invention;

[0063] Figure 4 Schematic structural diagram of an electronic device provided by an embodiment of the present invention.

[0064] Reference Signs:

[0065] 10 - Acquisition Module, 20 - Construction Module, 30 - Verification Module, 40 - Correction Module, 50 - Establishment Module, 60 - Configuration Module, 70 - Display Module;

[0066] 130 - Processor, 131 - Memory, 132 - Bus, 133 - Communication Interface. Detailed Embodiments

[0067] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the drawings. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the scope of protection of the present invention.

[0068] For the convenience of understanding this embodiment, the technical terms designed in this application will be briefly introduced below.

[0069] Smart buildings, also known as intelligent buildings (Smart Buliding), are an essential part of smart cities. They integrate advanced technologies in various aspects such as architecture, communication, computer, and control, and are reasonably integrated into an optimized whole. They have the characteristics of reasonable project investment, high equipment automation, scientific information management, efficient and high-quality services, flexible and convenient use, and safe and comfortable environment. They are modern new buildings that can meet the development needs of the information society.

[0070] After introducing the technical terms involved in this application, next, the application scenarios and design concepts of the embodiments of this application will be briefly introduced.

[0071] Currently, more and more cities will combine the physical lights on the outside of the building to transform into the patterns we want, making the night view of the city more colorful. At present, manual point plotting is used for the lights visible on the outside of the distant building. However, manual point plotting is time-consuming, costly in labor, and it is difficult to guarantee the accuracy of point plotting, resulting in errors in image generation.

[0072] Based on this, the embodiments of this application provide a smart building lighting display control method, device, and electronic device. Automated point plotting saves labor and costs, and the first correspondence between virtual lights and physical lights in the constructed three-dimensional model is verified and corrected to obtain a more accurate target correspondence, thereby improving the accuracy and precision of point plotting, and further improving the accuracy of image display.

[0073] Embodiment 1

[0074] This application provides a smart building lighting display control method, as shown in combination with Figure 1 The method includes:

[0075] S110, obtaining the physical information of the building and the position information of each physical light on the building.

[0076] S120, constructing a three-dimensional model according to the physical information of all buildings and the position information of each physical light on the building; wherein, the three-dimensional model includes a plurality of virtual lights corresponding one-to-one to a plurality of physical lights.

[0077] S130, verifying the first correspondence between the physical lights and the virtual lights based on the planned verification path.

[0078] S140, if the verification fails, correcting the first correspondence between the virtual lights and the physical lights to obtain the target correspondence between the virtual lights and the physical lights.

[0079] S150, establish a second correspondence between each pixel point in the image to be displayed and multiple target virtual lights.

[0080] S160, based on the second correspondence and the target correspondence, configure the parameters of the target virtual lights corresponding to the pixel points and the target physical lights corresponding to the target virtual lights according to the parameter pairs of the pixel points.

[0081] S170, control the target physical lights to operate with target parameters to display the image to be displayed.

[0082] Combined with the first aspect, the step of S110 for obtaining the physical information of the building and the position information of each physical light on the building includes:

[0083] S111, the physical information of the building and the first relative position information between the building and other buildings; the physical information at least includes: the length information, width information, and height information of the building.

[0084] In this embodiment, the method for obtaining the building position information in step S111 can be to obtain the physical information in the historical information of the building, or the physical information obtained by actual detection, or to take pictures of the building from one or more angles, and extract the physical information based on one or more intelligent building images obtained by the shooting. The above methods can all be realized and are not limited here.

[0085] Among them, there can be one or more buildings. When the number of buildings is one, there are no other buildings, and there is no need to obtain the first relative position information between the building and other buildings; when the number of buildings is greater than one, it is necessary to obtain the first relative position information between the building and other buildings. In this way, based on the physical information and the first relative position information of the building, the position information of other buildings can be determined. Specifically, for a building cluster, a position can be determined to establish a geodetic coordinate system. For example, taking the position where the building is located as the origin of the coordinate system, the direction perpendicular to the ground is the Z-axis, and the relatively appropriate directions are selected as the X-axis and Y-axis. According to the coordinates of each building, calculate the relative position between every two buildings. Based on the buildings with the determined position information and the first relative position information between the building and other buildings, calculate the position information of each building.

[0086] For regular buildings, the physical information includes: the length information, width information, and height information of the building. For irregular buildings, the physical information should also include the raised position information, the radian of the curved line, and other information.

[0087] S112, for each building, obtain the second relative position information between the building and each physical light installed on the building.

[0088] Specifically, the second relative position information between each entity lamp and the building is obtained. In the process of obtaining the second relative position information through the intelligent building image, the method of obtaining the ratio of the position of each entity lamp on the building to the length, width and height of the building can be adopted to determine the second relative position information between the entity lamp and the building.

[0089] S113. For each entity lamp on the building, determine the position information of the entity lamp according to the physical information of the building and the second relative position information.

[0090] Combined with the first aspect, the step S120 of constructing the first three-dimensional model according to the physical information of all buildings and the position information of each entity lamp on the building includes:

[0091] S121. Construct an initial three-dimensional model according to the physical information of all buildings.

[0092] S122. According to the position information of each entity lamp, determine the virtual lamp corresponding to the entity lamp in the initial three-dimensional model.

[0093] S123. Update the initial three-dimensional model according to all the virtual lamps to obtain the first three-dimensional model.

[0094] In this embodiment, first construct an initial three-dimensional model according to the physical information of the building, and then based on the position information of the entity lamp, determine the position information of the virtual lamp corresponding to the entity lamp in the initial three-dimensional model. Repeat the above corresponding steps until all the virtual lamps are determined, and update the initial three-dimensional model to obtain the first three-dimensional model, so that the first three-dimensional model has multiple virtual lamps, and the multiple virtual lamps correspond to the multiple entity lamps one by one, having the first corresponding relationship.

[0095] In this way, the first corresponding relationship is determined by the automatic point plotting method, which can reduce the manual labor and labor cost compared with the manual point plotting method in the prior art.

[0096] Combined with the first aspect, after the step S122 of determining the virtual lamp corresponding to the entity lamp in the initial three-dimensional model according to the position information of each entity lamp, it further includes:

[0097] S124. For each entity lamp, obtain the first control unit corresponding to the entity lamp.

[0098] S125. Obtain the second control unit associated with the virtual lamp corresponding to the entity lamp.

[0099] S126. Establish and store the mapping relationship between the first control unit and the second control unit.

[0100] Among them, the first control unit is communicatively connected to the second control unit.

[0101] The physical lights on the outside of the building generally refer to LED lamp beads. Generally speaking, it is not that one control unit controls one LED lamp bead. In actual use, generally, one light strip or light board is installed on the outside of the building. There are multiple LED lamp beads on each light strip or light board. One light strip or light board is provided with one physical light control unit to control the multiple LED lamp beads on this light strip or light board. The multiple LED lamp beads on one light strip or light board are grouped. Correspondingly, the multiple virtual lights corresponding to the multiple LED lamp beads on one light strip or light board are also divided into a group; a group of virtual lights is controlled by one virtual light control unit. One LED lamp bead corresponds to one virtual light, and one physical light control unit corresponds to one virtual light control unit.

[0102] In addition, generally, the physical light control units of each light strip or light board and the LED lamp beads in each light strip or light board are numbered. For example, the number of the physical light control unit of the first light strip is 1, and the number of the physical light control unit of the second light strip is 2; the number of the first light of the first light strip is 11, and the number of the second light of the first light strip is 12, and so on; the virtual lights and virtual light control units are also numbered. Through the correspondence of the numbers, the correspondence between the virtual lights and the physical lights, and the correspondence between the virtual light control units and the physical light control units can be completed.

[0103] In this embodiment, since there is a first correspondence relationship between the multiple virtual lights and the multiple physical lights, therefore, establishing a mapping relationship between the first control unit corresponding to the physical light and the second control unit corresponding to the virtual light can realize controlling a certain virtual light through the second control unit, and at the same time transmitting the control signal to the first control unit to control the working mode switching of the physical light corresponding to the virtual light.

[0104] For the known grouping situation of the physical lights, based on the first correspondence relationship between the physical lights and the virtual lights, the mapping relationship between the first control unit and the second control unit can be directly established; for the situation where the grouping situation of the physical lights is unknown, the physical light groups can be lit one by one. Each physical light group includes one or more physical lights. Based on the first correspondence relationship, the corresponding virtual light group can be determined, and then the mapping relationship between the first control unit controlling the physical light group and the second control unit associated with the virtual lamp socket controlling the physical light group can be established.

[0105] In this embodiment, due to factors such as the uneven distribution of physical lights on the building, the irregular shape of the building itself, and the presence of other devices at the positions where physical lights are intended to be set, making it impossible to set physical lights at these positions or deviating from the original set positions of physical lights, when the individual physical lights on the building are lit, they may not necessarily be in a straight line. Or, when taking images of the building, there may be recognition deviations due to reasons such as weather brightness, resulting in deviations between the positions of the actual lights and the virtual lights, that is, the first correspondence between the actual lights and the virtual lights may be deviated. Therefore, calibration is required.

[0106] Combined with the first aspect, step S130 verifies the one-to-one correspondence between the physical lights and the virtual lights based on the planned verification path; if the verification fails, correcting the one-to-one correspondence between the virtual lights and the physical lights to obtain the target correspondence between the virtual lights and the physical lights includes:

[0107] S131, planning multiple verification paths in the three-dimensional model along the first direction, where each verification path includes multiple virtual lights that are in a straight line.

[0108] In this embodiment, in the constructed three-dimensional model, a verification path is planned along the first direction, and then a verification path in the first direction is planned at regular intervals in the second direction associated with the first direction, so as to obtain multiple verification paths. In this embodiment, a second coordinate system is established in the constructed three-dimensional model, with one of the axes as the first direction, such as the X axis, and then the Z axis perpendicular to the plane where the X axis is located is used as the second direction. That is, a verification path is planned in the horizontal direction of each height sampling point.

[0109] Specifically, the verification path includes multiple virtual lights that are in a straight line. For example, multiple virtual lights that are in the same straight line can also be divided into multiple virtual light groups, and each virtual light group corresponds to a straight line segment.

[0110] S132, for each verification path, obtaining the target second control units corresponding to the multiple virtual lights on the verification path.

[0111] S133, according to the execution order of the multiple verification paths, sequentially controlling the target second control units to send control signals to the target first control units to turn on multiple first target physical lights.

[0112] After determining the target second control units corresponding to the virtual lights on each verification path in S132, the target first control units corresponding to the target second control units can be determined according to the mapping relationship. At this time, when executing the i-th verification path, the target second control units corresponding to the virtual lights on this verification path send control instructions to the target first control units to start the first target physical lights corresponding to the virtual lights on this verification path.

[0113] S134. Determine whether the straightness of the light rays generated by multiple first target entity lights is within a preset range.

[0114] As an implementable method, a rough judgment is made by visually observing the light rays generated by the first target entity lights; as another implementable method, an image of the building after photographing the light rays generated by the first target entity lights is analyzed based on the image to judge the straightness of the light rays.

[0115] If not, the verification fails. If the verification is successful, the first corresponding relationship is used as the target corresponding relationship between the multiple first target entity lights and the multiple virtual lights.

[0116] Step S140. If the verification fails, the specific steps to correct the first corresponding relationship between the virtual lights and the entity lights to obtain the target corresponding relationship between the virtual lights and the entity lights include:

[0117] S11. Adjust the first corresponding relationship between the multiple first target entity lights and the multiple virtual lights until the straightness of the light rays generated by the multiple second target entity lights corresponding to the adjusted verification path is within the preset range, and obtain the target corresponding relationship between the multiple virtual lights and the multiple second target entity lights.

[0118] If the verification is qualified, it indicates that the first relationship between the multiple first target entity lights and the multiple virtual lights has a high degree of accuracy. At this time, the current corresponding relationship can be maintained; if the verification fails, it indicates that there is a deviation in the first corresponding relationship and adjustment is required. The specific adjustment methods can be: (1) Adjust the first corresponding relationship corresponding to the entity light that is off the light ray; (2) Adjust the first corresponding relationship of the virtual light corresponding to the entity light that is off the light ray; until the straightness of the light rays generated by the multiple second target entity lights corresponding to the adjusted verification path is within the preset range, and obtain the target corresponding relationship between the multiple virtual lights and the multiple second target entity lights.

[0119] In this embodiment, the first corresponding relationship between the multiple first target entity lights and the multiple virtual lights is verified by planning a verification path. If the verification fails, it indicates that there is a deviation in the first corresponding relationship. At this time, the first relationship is corrected until a target corresponding relationship that meets the verification conditions is obtained. In this way, a more accurate target corresponding relationship is obtained through verification and correction, thereby improving the accuracy of point plotting and the precision of the displayed image.

[0120] Combined with the first aspect, step S141 to determine whether the straightness of the light rays generated by the multiple first target entity lights is within the preset range specifically includes:

[0121] S1411. Obtain the current building image after the multiple first target entity lights are turned on;

[0122] S1412. Input the current building image into the trained image recognition model, and output the straightness of the light generated by multiple first target entity lights in the current building image.

[0123] In this embodiment, by performing image recognition on the current building image after multiple first target entity lights are turned on using the trained image recognition model to output the straightness of the light, it is possible to quickly and efficiently measure the straightness, and the accuracy is higher than that of visual recognition.

[0124] Among them, the training of the trained image recognition model is the same as the training process of the current image recognition model, which will not be elaborated here.

[0125] After that, in step S150, establish the second correspondence between each pixel point in the image to be displayed and multiple target virtual lights, so as to match the image to be displayed with the multiple target virtual lights in the constructed three-dimensional solid model. Then, in step S160, configure the parameters of the virtual lights according to the parameters of each pixel point, and further configure the parameters of the entity lights, so as to establish the correspondence between the pixel points and the entity lights through the virtual lights. Furthermore, in step S170, it is possible to display the image to be displayed.

[0126] Combined with the first aspect, before the step of S150 establishing the second correspondence between each pixel point in the image to be displayed and multiple virtual lights, it further includes:

[0127] S151. Obtain the position information of each virtual light in the three-dimensional solid model projected onto the set plane.

[0128] S152. Based on the position information of all virtual lights, determine the display area of the building.

[0129] S153. Process the image to be displayed according to the display area, so that each pixel point in the image to be displayed corresponds one by one to multiple target virtual lights.

[0130] First of all, it is necessary to determine the display area according to the number and position of the virtual lights. Visually, the image to be displayed is a planar image when displayed, so it is necessary to project the multiple virtual lights in the three-dimensional space in the three-dimensional solid model to determine the actual display area.

[0131] After that, process the image to be displayed according to the display area, and this process is carried out according to actual needs.

[0132] For example, if the virtual layout in the display area is not much different from the picture to be displayed, the resolution of the picture to be displayed can be processed so that the number of pixels is roughly the same as the number of virtual lights; if the difference is large, for example, the area of ​​the picture to be displayed is larger than the area of ​​the display area, the center of the picture to be displayed is made to correspond to the center of the display area, and the part of the picture to be displayed that exceeds the display area has no image to be displayed or is unimportant, the picture to be displayed can be cropped and then the resolution of the picture to be displayed can be processed.

[0133] That is to say, the multiple target virtual lights corresponding to each pixel in the image to be displayed are part or all of the virtual lights.

[0134] Afterwards, the image to be displayed is tiled with the display area, and the pixels are matched one by one with the virtual lights in the display area. In actual applications, if there are occasional pixels that do not correspond to the virtual lights, the pixel can be discarded and not displayed, but other pixels around the pixel can be used to cover it up by corresponding to other virtual lights, that is, the brightness of other virtual lights can be appropriately increased and the sharpness reduced, so that the corresponding physical lights can make the light more divergent in the working state to cover up the actual pixels.

[0135] Then, according to the parameters of the pixel points, the parameters of the virtual light are configured, and then the parameters of the physical light corresponding to the virtual light are configured. The physical light is controlled according to the configured parameters, thereby realizing the light display control of the smart building and displaying the image to be displayed.

[0136] Optionally, before controlling the physical lamp to emit light with the target parameters, the lighting effect can be simulated multiple times by using the virtual lamp in the three-dimensional model, and after the effect is qualified, the physical lamp is controlled to emit light with the target parameters corresponding to the qualified effect. This can be accomplished by the correspondence between the first control unit and the second control unit, and the correspondence between the virtual lamp and the physical lamp based on the idea of ​​digital twins.

[0137] Example 2

[0138] This application provides another smart building lighting display control method, combined with Figure 2 As shown, the method includes:

[0139] S210, obtaining physical information of the building and location information of each physical lamp on the building;

[0140] S220, constructing a three-dimensional model based on the physical information of all buildings and the position information of each physical lamp on the building; wherein the three-dimensional model includes a plurality of virtual lamps corresponding one-to-one to the plurality of physical lamps;

[0141] S230, verifying a first correspondence between the physical lamp and the virtual lamp based on the planned verification path;

[0142] S240, if the verification fails, use the current corresponding relationship as the target corresponding relationship, and record the first position information of the target deviated entity lamp, the second position information of other entity lamps within the preset distance of the target deviated entity lamp, and the parameter offset of each entity lamp;

[0143] S250, establish a second corresponding relationship between each pixel point in the image to be displayed and multiple target virtual lamps.

[0144] S260, based on the second corresponding relationship, the target corresponding relationship, and the parameter deviation, configure the parameters of the target virtual lamp corresponding to the pixel point and the target entity lamp corresponding to the target virtual lamp according to the parameters of the pixel point.

[0145] S270, control the target entity lamp to operate with the target parameters to display the image to be displayed.

[0146] Compared with Embodiment 1, the distinguishing feature is that when step S230 corrects the first corresponding relationship between the entity lamp and the virtual lamp based on the planned verification path, and step S240 fails to obtain a target corresponding relationship that meets the verification rules after multiple corrections in the case of verification failure, at this time, reduce the display brightness of the entity lamp that deviates from the straight line of the light, or slightly increase the brightness of other entity lamps around the entity lamp to weaken the presence of the deviated entity lamp. The lower its brightness and the lower its presence, and similarly, the sharpness of the deviated entity lamp can be reduced to reduce its presence.

[0147] Therefore, step S240 uses the current corresponding relationship as the target corresponding relationship, and records the first position information of the target deviated entity lamp, the second position information of other entity lamps within the preset distance of the target deviated entity lamp, and the parameter offset of each entity lamp, where the parameter offset is the parameter such as the brightness and sharpness that needs to be reduced to weaken the target deviated entity lamp, and the parameter such as the brightness and sharpness that needs to be increased for other entity lamps around the target deviated entity lamp. It can be understood that the parameter offset of other entity lamps that are not adjusted is zero. In this way, in step S260, based on the second corresponding relationship, the target corresponding relationship, and the parameter deviation, the parameters of the target virtual lamp corresponding to the pixel point and the target entity lamp corresponding to the target virtual lamp are configured according to the parameters of the pixel point, so as to achieve precise correspondence and display the image to be displayed in step S270.

[0148] In a second aspect, the present application provides an intelligent building lighting display control device, combined with Figure 3 As shown, the device includes: an acquisition module 10, a construction module 20, a verification module 30, a correction module 40, an establishment module 50, a configuration module 60, and a display module 70.

[0149] The acquisition module 10 is used to acquire the physical information of each building in the intelligent building image and the position information of each entity lamp on the building.

[0150] The construction module 20 is used to construct a three-dimensional model according to the physical information of all buildings and the position information of each entity lamp on the building; wherein, the three-dimensional model includes a plurality of virtual lamps corresponding one-to-one to a plurality of entity lamps.

[0151] The verification module 30 is used to verify the first correspondence between the entity lamp and the virtual lamp based on the planned verification path.

[0152] The correction module 40 is used to correct the first correspondence between the virtual lamp and the entity lamp in the case of verification failure to obtain the target correspondence between the virtual lamp and the entity lamp;

[0153] The establishment module 50 establishes a second correspondence between each pixel point in the image to be displayed and a plurality of target virtual lamps.

[0154] The configuration module 60 is used to configure the parameters of the target virtual lamp corresponding to the pixel point and the target entity lamp corresponding to the target virtual lamp based on the second correspondence and the target correspondence according to the parameters of the pixel point.

[0155] The display module 70 is used to control the target entity lamp to run with the target parameters to display the image to be displayed.

[0156] In a third aspect, an embodiment of the present application provides an electronic device, as combined with Figure 4 shown, the electronic device includes a memory 131 and a processor 130. The memory 131 is used to store a computer program, and the processor 130 runs the computer program to enable the electronic device to execute the above method.

[0157] Further, as combined with Figure 4 shown, the electronic device further includes a bus 132 and a communication interface 133. The processor 130, the communication interface 133 and the memory 131 are connected through the bus 132.

[0158] Among them, the memory 131 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory, such as at least one disk memory. Through at least one communication interface 133 (which can be wired or wireless), a communication connection is realized between the system network element and at least one other network element, and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 132 can be an ISA bus, a PCI bus or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Figure 4It is represented by only one bidirectional arrow, but it does not mean that there is only one bus or one type of bus.

[0159] The processor 130 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit in the hardware of the processor 130 or instructions in the form of software. The above-mentioned processor 130 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and combines its hardware to complete the steps of the method in the foregoing embodiments.

[0160] In a fourth aspect, an embodiment of the present application provides a readable storage medium, in which computer program instructions are stored. When the computer program instructions are read and run by a processor, the above-mentioned method is executed.

[0161] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the foregoing method embodiments, and will not be described in detail here.

[0162] In addition, in the description of the embodiments of the present invention, unless otherwise clearly defined and limited, the terms "installation", "connection", and "coupling" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be a direct connection or an indirect connection through an intermediate medium, and it may be the communication inside two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0163] If the above-mentioned functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.

[0164] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0165] Finally, it should be noted that the above embodiments are only specific embodiments of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting them. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments, or can easily think of changes, or make equivalent replacements for some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. A method for controlling the lighting display of an intelligent building, characterized in that, The method includes: Obtaining the physical information of the building and the position information of each entity lamp on the building; Constructing a three-dimensional solid model according to the physical information of all the buildings and the position information of each entity lamp on the building; wherein, the three-dimensional solid model includes a plurality of virtual lamps corresponding one-to-one to a plurality of entity lamps; Verifying the first correspondence between the entity lamp and the virtual lamp based on the planned verification path; If the verification fails, correcting the first correspondence between the virtual lamp and the entity lamp to obtain the target correspondence between the virtual lamp and the entity lamp; Establishing a second correspondence between each pixel point in the image to be displayed and a plurality of target virtual lamps; Based on the second correspondence and the target correspondence, configuring the parameters of the target virtual lamp corresponding to the pixel point and the target entity lamp corresponding to the target virtual lamp according to the parameters of the pixel point; Controlling the target entity lamp to operate with target parameters to display the image to be displayed.

2. The method according to claim 1, characterized in that, The step of obtaining the physical information of the building and the position information of each entity lamp on the building includes: Obtaining the physical information of the building and the first relative position information between the building and other buildings; the physical information at least includes: the length information, width information, and height information of the building; For each building, obtaining the second relative position information between the building and each entity lamp provided on the building; For each entity lamp on the building, determining the position information of the entity lamp according to the physical information of the building and the second relative position information.

3. The method according to claim 1, characterized in that, The step of constructing a first three-dimensional solid model according to the physical information of all the buildings and the position information of each entity lamp on the building includes: Constructing an initial three-dimensional solid model according to the physical information of all the buildings; Determining the virtual lamp corresponding to the entity lamp in the initial three-dimensional solid model according to the position information of each entity lamp; Updating the initial three-dimensional solid model according to all the virtual lamps to obtain the first three-dimensional solid model.

4. The method according to claim 3, characterized in that, After the step of determining the virtual lamp corresponding to the entity lamp in the initial three-dimensional solid model according to the position information of each entity lamp, it further includes: For each entity lamp, obtaining the first control unit corresponding to the entity lamp; Obtaining the second control unit associated with the virtual lamp corresponding to the entity lamp; Establishing and storing the mapping relationship between the first control unit and the second control unit; Wherein, the first control unit is communicatively connected to the second control unit.

5. The method according to claim 4, wherein The step of verifying the one-to-one correspondence between the entity lamp and the virtual lamp based on the planned verification path includes: Planning a plurality of verification paths in the three-dimensional solid model along a first direction, wherein each verification path includes a plurality of the virtual lamps on a straight line; For each verification path, obtaining the target second control unit corresponding to the plurality of virtual lamps on the verification path; According to the execution order of the multiple verification paths, sequentially control the target second control unit to send a control signal to the target first control unit to turn on multiple first target entity lights; Determine whether the flatness of the light generated by the multiple first target entity lights is within a preset range; If not, the verification fails; If so, the verification is successful, and use the first corresponding relationship as the target corresponding relationship.

6. The method according to claim 1, characterized in that After the step of verifying the first corresponding relationship between the entity light and the virtual light based on the planned verification path, it further includes: If the verification fails, use the current corresponding relationship as the target corresponding relationship, and record the first position information of the target deviated entity light, the second position information of other entity lights within the preset distance of the target deviated entity light, and the parameter offset of each entity light; Establish a second corresponding relationship between each pixel point in the image to be displayed and multiple target virtual lights; Based on the second corresponding relationship, the target corresponding relationship, and the parameter deviation amount, configure the parameters of the target virtual light corresponding to the pixel point and the target entity light corresponding to the target virtual light according to the parameters of the pixel point; Control the target entity light to operate with target parameters to display the image to be displayed.

7. The method according to claim 5, characterized in that, The step of determining that the flatness of the light generated by the multiple first target entity lights is within a preset range includes: Obtain the current building image after multiple first target entity lights are turned on; Input the current building image into the trained image recognition model, and output the flatness of the light generated by the multiple first target entity lights in the current building image.

8. The method according to claim 1, characterized in that, Before the step of establishing a second corresponding relationship between each pixel point in the image to be displayed and multiple virtual lights, it further includes: Obtain the position information of each virtual light projected onto the set plane in the three-dimensional model; Based on the position information of all the virtual lights, determine the display area of the building; Process the image to be displayed according to the display area so that each pixel point in the image to be displayed corresponds one by one to multiple target virtual lights.

9. An intelligent building lighting display control device, characterized in that, The device includes: An acquisition module, configured to acquire the physical information of each building in the intelligent building image and the position information of each entity light on the building; A construction module, configured to construct a three-dimensional model according to the physical information of all the buildings and the position information of each entity light on the building; wherein, the three-dimensional model includes multiple virtual lights corresponding one by one to multiple entity lights; A verification module, configured to verify the first corresponding relationship between the entity light and the virtual light based on the planned verification path; A correction module, configured to correct the first corresponding relationship between the virtual light and the entity light in the case of verification failure to obtain the target corresponding relationship between the virtual light and the entity light; An establishment module, configured to establish a second corresponding relationship between each pixel point in the image to be displayed and multiple target virtual lights; A configuration module, configured to configure the parameters of the target virtual light corresponding to the pixel point and the target entity light corresponding to the target virtual light according to the parameters of the pixel point based on the second corresponding relationship and the target corresponding relationship; A display module, configured to control the target entity lamp to operate with target parameters so as to display an image to be displayed.

10. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory is used for storing a computer program, and the processor runs the computer program to enable the electronic device to execute the method according to any one of claims 1 to 8.