Method, device, system and medium for displaying lighting effects of lamps and lanterns in a linked manner
By selecting virtual lamps corresponding to real scenes in the lighting system and adjusting their positions on the canvas to generate lamp coordinates, the physical lamps can be controlled to display lighting effects in a linked manner, solving the problem of overall lighting linkage difficulties and improving user experience and debugging convenience.
Patent Information
- Application Number
- CN202510919437.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-04
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2045-07-04
AI Technical Summary
In the existing technology, it is difficult to achieve overall linkage display of lighting effects of lamps in a scene space, which affects the user experience.
By obtaining multiple virtual lamps, selecting the corresponding physical lamps in the real scene, adjusting the position in the canvas area, generating lamp coordinates, controlling the physical lamps to display lighting effects in a linked manner, and using preset display modes and calibration patterns to control the dividing line.
The lighting effects of multiple lamps are linked and displayed. Users can easily drag virtual lamps on the canvas to match the positions of physical lamps, which improves the user experience, ensures that the dividing lines of the lamp display match the actual positions, and makes debugging more intuitive.
Smart Images

Figure CN120434860B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of light display technology, and in particular to a method, device, system, and medium for displaying lighting effects of lamps in a linked manner. Background Art
[0002] In the existing technology, lamps are widely used in various scene spaces, such as concerts, parties, stage play backgrounds, etc. Usually, more than one lamp is used in the same scene space, such as background lights, curtain lights, floor lights, etc. These lamps usually work independently in adjacent spaces and display their own lighting effects. Therefore, it is difficult for different lamps in the existing technology to coordinate to display the overall lighting effect or overall lighting pattern, which affects the user experience to a certain extent. Summary of the Invention
[0003] The embodiments of the present invention provide a method, device, system and medium for displaying lighting effects of lamps in a linked manner, thereby achieving a better user experience.
[0004] According to one aspect of the present invention, a method for displaying lighting effects in a linked manner is provided, the method comprising: obtaining a plurality of virtual lamps to be selected, selecting at least two target virtual lamps from the plurality of virtual lamps to be selected, the at least two target virtual lamps corresponding one-to-one to at least two target physical lamps in a real scene; in response to a position adjustment operation, adjusting the at least two target virtual lamps to a target position within the canvas area, generating an adjustment result, the target position being a position of the target virtual lamp corresponding to the target physical lamp in the real scene; generating lamp coordinates of the at least two target virtual lamps according to the adjustment result; and sending the lamp coordinates to the corresponding at least two target physical lamps to control the at least two target physical lamps to display lighting effects in a linked manner.
[0005] Furthermore, selecting at least two target virtual lamps from the multiple virtual lamps to be selected includes: selecting at least two target virtual lamps in the lamp selection interface according to the identification code, lamp name or connection identifier, or selecting at least two target virtual lamps in the lamp selection interface according to the shape and number of physical lamps that need to be linked in the real scene.
[0006] Furthermore, in response to a position adjustment operation, the at least two target virtual lamps are adjusted to a target position within the canvas area, and an adjustment result is generated, wherein the target position is the position of the target virtual lamp corresponding to the target physical lamp in the real scene, including: displaying the at least two target virtual lamps within the canvas; and performing a position adjustment operation on the at least two target virtual lamps according to the position of the physical lamp in the real scene to place the at least two target virtual lamps within the canvas.
[0007] Furthermore, displaying the at least two target virtual lamps in the canvas includes: displaying the target virtual lamps in the canvas according to preset placement information; and / or dividing the canvas into areas according to a calibration pattern selected by a user; at least part of the first dividing line intersects with the target virtual lamps; sending the corresponding lamp coordinates of the target virtual lamps and the dividing coordinates of the first dividing line to the physical lamps; controlling the target virtual lamps to display a second dividing line according to the lamp coordinates and the dividing coordinates of the first dividing line; and / or controlling the physical lamps to display a third dividing line according to the lamp coordinates and the dividing coordinates of the first dividing line.
[0008] Furthermore, the at least two target virtual lamps are adjusted in position according to the positions of the physical lamps in the real scene so as to place the at least two target virtual lamps in the canvas, including: the user drags, rotates and / or scales the at least two target virtual lamps so that the display of the second dividing line and / or the third dividing line changes, and the two target virtual lamps are placed in the canvas according to the changes of the second dividing line and / or the third dividing line to match the positions of the corresponding physical lamps in the real scene.
[0009] Furthermore, the sending of the lamp coordinates to the corresponding at least two target physical lamps to control the at least two target physical lamps to display lighting effects in a linked manner includes: calculating target lighting effect information and a target display area according to a preset display mode; confirming the physical lamps within the target display area and the physical lamps outside the target display area according to the lamp coordinates and the target display area; lighting up the physical lamps within the target display area and turning off the physical lamps outside the target display area according to a preset rhythm instruction and the target lighting effect information.
[0010] Furthermore, the calculation of the target lighting effect information and the target display area according to the preset display mode includes: calculating the target lighting effect information according to the canvas pattern and lamp coordinates corresponding to the preset display mode; and calculating the target display area according to the preset lighting effect algorithm corresponding to the preset display mode.
[0011] Furthermore, the target display area is calculated according to the preset lighting effect algorithm corresponding to the preset display mode, including: taking the preset point selected by the user in the canvas as the starting point, and inputting the starting point into the lighting effect algorithm to generate the target display area; or taking the lamp coordinates selected by the user as the starting point, and inputting the starting point into the lighting effect algorithm to generate the target display area.
[0012] According to another aspect of the present invention, a lighting fixture lighting effect linkage display device is provided, including: a lighting fixture selection module, used to obtain a plurality of virtual lighting fixtures to be selected, and select at least two target virtual lighting fixtures from the plurality of virtual lighting fixtures to be selected, wherein the at least two target virtual lighting fixtures correspond one-to-one to at least two target physical lighting fixtures in a real scene; a lighting fixture placement module, used to adjust the at least two target virtual lighting fixtures to a target position within the canvas area in response to a position adjustment operation, and generate an adjustment result, wherein the target position is the position of the target virtual lighting fixture corresponding to the target physical lighting fixture in the real scene; a coordinate sending module, used to generate lighting fixture coordinates of the at least two target virtual lighting fixtures according to the adjustment result; and a linkage display module, used to send the lighting fixture coordinates to the corresponding at least two target physical lighting fixtures, so as to control the at least two target physical lighting fixtures to perform lighting effect linkage display.
[0013] According to another aspect of the present invention, there is provided a lighting system comprising:
[0014] At least two physical lamps;
[0015] Connecting to the control terminal of the physical lamp via wireless means;
[0016] The control terminal and the physical lamp include one or more processors;
[0017] a memory for storing one or more programs;
[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned method for displaying lighting effects of lamps in a linked manner.
[0019] According to another aspect of the present invention, a storage medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the above-mentioned method for displaying lighting effects of lamps in a linked manner.
[0020] Compared with the prior art, the lighting effect linkage display method of this embodiment can match the local patterns of the canvas patterns displayed by different physical lamps by dragging, which is more convenient to use. In addition, since a calibration pattern is used to control the display boundary of the physical lamp or virtual lamp, when the user drags the virtual lamp on the canvas, the user can observe the changes in the boundary line displayed by the physical lamp in a timely manner, and observe the changes in the boundary line displayed by the virtual lamp. Based on the positional relationship of at least two target virtual lamps in the grid canvas and the positional relationship of at least two physical lamps in the displayed boundary, it can be more easily confirmed whether the first positional relationship between the at least two target virtual lamps matches the second positional relationship between the at least two physical lamps. Therefore, user debugging is more convenient and intuitive, and the user experience is better. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 This is a flowchart of a method for displaying lighting effects of lamps provided in the first embodiment of the present invention.
[0023] Figure 2 This is a flowchart of a method for displaying lighting effects of lamps provided in the second embodiment of the present invention.
[0024] Figure 3 This is a flowchart of a method for displaying lighting effects of lamps provided in the third embodiment of the present invention.
[0025] Figure 4 This is a flowchart of a method for displaying lighting effects of lamps provided by the fourth embodiment of the present invention.
[0026] Figure 5 This is a diagram of the initial display state of a virtual lamp in a canvas interface provided by an embodiment of the present invention.
[0027] Figure 6 This is a diagram of the adjusted display status of a virtual lamp in a canvas interface provided by an embodiment of the present invention.
[0028] Figure 7 This is a schematic diagram of the distribution of physical lamps provided by an embodiment.
[0029] Figure 8 FIG. 1 is a schematic diagram showing a dynamic display of a dynamic lighting effect on a canvas according to an embodiment of the present invention.
[0030] Figure 9 This is a schematic diagram of displaying dynamic lighting effects on a canvas according to another embodiment of the present invention.
[0031] Figure 10 This is a schematic diagram of displaying dynamic lighting effects on a canvas according to another embodiment of the present invention.
[0032] Figure 11 This is a schematic diagram of displaying dynamic lighting effects on a canvas according to another embodiment of the present invention.
[0033] Figure 12 This is a structural diagram of a lighting fixture lighting effect linkage display device provided in Example 5 of the present invention.
[0034] Figure 13This is a structural diagram of another lighting fixture lighting effect linkage display device provided in Example 5 of the present invention.
[0035] Figure 14 This is a structural diagram of another lighting fixture lighting effect linkage display device provided in Example 5 of the present invention.
[0036] Figure 15 A structural schematic diagram of a lighting system provided by embodiment 6 of the present invention is shown.
[0037] Figure 16-19 This is a schematic diagram of dragging at least two target virtual lamps to change the display of the second dividing line and / or the third dividing line according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0039] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0040] Example 1
[0041] Figure 1 This is a flow chart of a method for displaying lighting effects in a linked manner provided by the first embodiment of the present invention. This embodiment can be applied to a lighting effect linked display device, which can be implemented by software and / or hardware and can generally be integrated into a lighting system. The lighting system of this embodiment includes at least two physical lighting fixtures and a control terminal, and the at least two physical lighting fixtures are connected to the control terminal via a wireless method, such as Bluetooth communication or WiFi communication. Accordingly, Figure 1 As shown, the method includes the following operations:
[0042] S110 , obtaining a plurality of virtual lamps to be selected, and selecting at least two target virtual lamps from the plurality of virtual lamps to be selected, wherein the at least two target virtual lamps correspond one-to-one to at least two target physical lamps in a real scene.
[0043] In one embodiment, after the control terminal and the physical lamp are connected via Bluetooth communication, the lamp selection interface of the control terminal displays icons of virtual lamps that correspond one to one with the physical lamps. In one embodiment, the icons of different virtual lamps have different patterns, and the shapes of these patterns correspond to the real shapes or types of the physical lamps. Specifically, when the real shape of the physical lamp is a strip light strip, the icon of the virtual lamp is also a strip. When the real shape of the physical lamp is an arc light strip, the icon of the virtual lamp is also an arc. When the real shape of the physical lamp is a ring light strip, the icon of the virtual lamp is also a ring. When the real shape of the physical lamp is a curtain light, the icon of the virtual lamp is a square matrix. When the real shape of the physical lamp is a disc light strip, the icon of the virtual lamp is also a disc.
[0044] In one embodiment, the acquisition of multiple virtual lamps to be selected includes: displaying a preset lamp selection interface in response to a lamp selection operation, and the lamp selection interface includes multiple virtual lamps to be selected. Furthermore, the virtual lamp to be selected includes an identification code, a lamp name or a connection identifier, and the selection of at least two target virtual lamps from the multiple virtual lamps to be selected includes: selecting at least two target virtual lamps in the lamp selection interface according to the identification code, lamp name or connection identifier, or selecting at least two target virtual lamps in the lamp selection interface according to the shape and number of physical lamps that need to be linked in the real scene. Specifically, the lamp selection operation can be performed through the controls on the canvas after the canvas interface is opened by the control terminal to display the lamp selection interface, or the lamp selection operation can be performed through a separate control before the canvas interface is opened by the control terminal to display the lamp selection interface. In one embodiment, users can select virtual lamps that are already connected or to be connected based on identification codes, lamp names, or connection identifiers. For example, the lamp selection interface of the control terminal can also display Bluetooth icons of virtual lamps that correspond one-to-one to physical lamps. A Bluetooth icon in the first state (lit) indicates that the control terminal and the physical lamp are already connected via Bluetooth communication, and a Bluetooth icon in the second state (dark) indicates that the control terminal and the physical lamp are not yet connected via Bluetooth communication. In one embodiment, these virtual lamps with Bluetooth icons in the first state are preset as the selected target virtual lamps. In an alternative embodiment, the user can select the quantity of virtual lamps by operating the selection boxes corresponding to different virtual lamps in the lamp selection interface. The selection boxes include an input field for entering the number of virtual lamps, and also include increase and decrease buttons next to the selection boxes for fine-tuning the input quantity.
[0045] S120 . In response to the position adjustment operation, adjust the at least two target virtual lamps to a target position within the canvas area, and generate an adjustment result, where the target position is a position of the target virtual lamp corresponding to the target physical lamp in the real scene.
[0046] In one embodiment, the canvas interface and the lamp selection interface can be displayed in the same interface or different interfaces, and the canvas interface and the lamp selection interface can be displayed simultaneously or in sequence. In one embodiment, after the user completes the selection of the virtual lamp in the lamp selection interface, the canvas interface can be opened to display the at least two target virtual lamps in the canvas. The user can perform position adjustment operations on the target virtual lamp displayed on the canvas interface, such as dragging, rotating and / or scaling, and perform position adjustment operations on the at least two target virtual lamps according to the positions of the physical lamps in the real scene to place the at least two target virtual lamps at the target positions in the canvas. The control terminal adjusts the at least two target virtual lamps to the target positions within the canvas area in response to the position adjustment operation, and generates an adjustment result, wherein the target position is the position of the target virtual lamp corresponding to the target physical lamp in the real scene.
[0047] S130: Generate lamp coordinates of the at least two target virtual lamps according to the adjustment result.
[0048] In one embodiment, each virtual lamp corresponding to a physical lamp includes a plurality of lamp beads arranged in an array according to a preset shape, and the control terminal generates lamp coordinates corresponding to the lamp beads of each virtual lamp based on the placement results of each lamp bead of the virtual lamp in the canvas.
[0049] S140: Send the lamp coordinates to the corresponding at least two target physical lamps to control the at least two target physical lamps to perform lighting effect linkage display.
[0050] In one embodiment, the control terminal sends the lamp coordinates to the at least two target physical lamps via Bluetooth communication. In one embodiment, the lighting effect linkage display includes different display modes, and the display mode may include canvas patterns and / or dynamic lighting effects. The distribution range of the lamp beads of each virtual lamp occupies a part of the canvas block when placed on the canvas, and the corresponding generated lamp coordinates also correspond to the coordinates of the pixels in the occupied canvas block. After the lamp coordinates generated by each virtual lamp are sent to the corresponding physical lamp, each lamp bead of the physical lamp can display the brightness and chromaticity of these pixels in the canvas block, that is, the physical lamp can display the canvas pattern of the canvas block occupied by the corresponding virtual lamp, and different physical lamps each display the canvas pattern of the canvas block occupied by the corresponding virtual lamp. Since the canvas pattern is an overall pattern, at least two physical lamps are linked to display a canvas pattern with a larger range than that of a single lamp, and the overall picture is closer to the canvas pattern. For example, if the canvas pattern of the display mode is a tree, then one physical lamp can display a tree crown pattern based on the tree crown block occupied by the corresponding virtual lamp, another physical lamp can display a tree trunk pattern based on the tree trunk block occupied by the corresponding virtual lamp, and yet another physical lamp can display a tree root pattern based on the tree root block occupied by the corresponding virtual lamp. In this way, the three physical lamps can be linked to display the entire tree based on their respective lamp coordinates and the canvas pattern of the tree. In this embodiment, the linked display of the entire tree can be either a static pattern or with dynamic lighting effects. For example, according to a preset dynamic lighting effect, the linked display can gradually display the entire tree canvas pattern from top to bottom, from left to right, or from the center to the periphery. In one embodiment, the lamp beads of two overlapping virtual lamps generate the same lamp coordinates, and the lamp beads of the corresponding physical lamps display the same lighting effects. This facilitates a more accurate and realistic display of the canvas pattern when the physical lamps overlap at a preset viewing angle.
[0051] Compared with the existing technology, in the lighting effect linkage display method of lamps in this embodiment, the user can easily adapt the virtual lamps to the position of the physical lamps by dragging, rotating and / or scaling the virtual lamps on the canvas. At the same time, the virtual lamps can also better adapt to the canvas pattern. After such configuration, the local patterns displayed by multiple physical lamps are more reasonable and more in line with the actual position relationship of the physical lamps. Therefore, the effect of the linkage display of lighting effects of multiple lamps is more prominent, and the user experience is better.
[0052] Example 2
[0053] Figure 2This is a flow chart of a method for displaying lighting effects in a linked manner provided by the second embodiment of the present invention. This embodiment can be applied to a lighting effect linked display device, which can be implemented by software and / or hardware and can generally be integrated into a lighting system. The lighting system of this embodiment includes at least two physical lamps and a control terminal, and the at least two physical lamps are connected to the control terminal via a wireless method, such as Bluetooth communication. Accordingly, Figure 2 As shown, the method includes the following operations:
[0054] S110 , obtaining a plurality of virtual lamps to be selected, and selecting at least two target virtual lamps from the plurality of virtual lamps to be selected, wherein the at least two target virtual lamps correspond one-to-one to at least two target physical lamps in a real scene.
[0055] S121. Displaying the at least two target virtual lamps on the canvas;
[0056] In one embodiment, the at least two target virtual lamps are displayed on the canvas in a specific manner: after the user completes the selection of the virtual lamps in the lamp selection interface, the user can open the canvas interface, at which point the target virtual lamps are displayed on the canvas according to the preset placement information. In one embodiment, the preset placement coordinates can be the coordinates of the center of the canvas, in which case the canvas interface displays the target virtual lamps selected by the user in an overlapping manner at the center of the canvas. Alternatively, the preset placement coordinates can be multiple placement coordinates evenly spaced along the vertical center of the canvas, in which case the canvas interface displays the target virtual lamps selected by the user at evenly spaced intervals along the vertical center of the canvas.
[0057] S122: Perform position adjustment operations on the at least two target virtual lamps according to positions of the physical lamps in the real scene to place the at least two target virtual lamps in the canvas.
[0058] In one embodiment, a user can perform a position adjustment operation on the at least two target virtual lamps based on the positions of the physical lamps in the real scene to place the at least two target virtual lamps within the canvas so that the positions of the virtual lamps and the physical lamps correspond one-to-one. The position adjustment in one embodiment may include dragging, rotating, and / or scaling. In response to the position adjustment operation, the control terminal adjusts the at least two target virtual lamps to a target position within the canvas area and generates an adjustment result, where the target position is the position of the target virtual lamp corresponding to the target physical lamp in the real scene.
[0059] S130: Generate lamp coordinates of the at least two target virtual lamps according to the adjustment result.
[0060] S140: Send the lamp coordinates to the corresponding at least two target physical lamps to control the at least two target physical lamps to perform lighting effect linkage display.
[0061] Compared with the existing technology, the lighting fixture lighting effect linkage display method of this embodiment can set the initial distribution of at least two target virtual lamps according to the user's preference, so as to facilitate the user to drag the target virtual lamps more quickly for different display modes, so that at least two target virtual lamps and / or target physical lamps properly match the local pattern of the canvas pattern, thereby providing a better user experience.
[0062] Example 3
[0063] Figure 3 This is a flow chart of a method for displaying lighting effects in a linked manner provided by the third embodiment of the present invention. This embodiment can be applied to a lighting effect linked display device, which can be implemented by software and / or hardware and can generally be integrated into a lighting system. The lighting system of this embodiment includes at least two physical lighting fixtures and a control terminal, and the at least two physical lighting fixtures are connected to the control terminal via a wireless method, such as Bluetooth communication. Accordingly, Figure 3 As shown, the method includes the following operations:
[0064] S110 , obtaining a plurality of virtual lamps to be selected, and selecting at least two target virtual lamps from the plurality of virtual lamps to be selected, wherein the at least two target virtual lamps correspond one-to-one to at least two target physical lamps in a real scene.
[0065] S1211. Display the target virtual lamp in the canvas according to preset placement information.
[0066] In one embodiment, after the user completes the selection of the virtual lamp in the lamp selection interface, the user can open the canvas interface, and the target virtual lamp is displayed in the canvas according to the preset placement information. In one embodiment, the preset placement coordinates can be the coordinates of the center of the canvas. In this case, the canvas interface displays the target virtual lamp selected by the user in an overlapping manner at the center of the canvas; optionally, the preset placement coordinates can be multiple placement coordinates evenly spaced along the vertical center direction of the canvas. In this case, the canvas interface displays the target virtual lamp selected by the user on the canvas at equal intervals along the vertical center direction of the canvas. In one embodiment, refer to Figure 5-7 , the preset placement coordinates can be multiple placement coordinates evenly spaced along the vertical center direction of the canvas. Figure 5The canvas interface shown displays the target virtual luminaires 1', 2', and 3' selected by the user at equal intervals along the vertical center of the canvas on canvas 510. This embodiment also allows for setting at least two initial distribution patterns for the target virtual luminaires based on user preferences, allowing the user to more quickly drag, rotate, and scale the virtual luminaires to match the local pattern of the canvas in different display modes, thereby providing a better user experience.
[0067] S1212: Identify a target calibration pattern from a plurality of preset calibration patterns, wherein the target calibration pattern defines a plurality of first dividing lines, and divide the canvas into regions according to the target calibration pattern, wherein at least some of the first dividing lines intersect with the target virtual lamp.
[0068] In one embodiment, the preset calibration pattern includes a rectangular grid, a sector grid, or a ring grid, and the calibration pattern defines multiple first dividing lines. The calibration pattern defines multiple first dividing lines. The area division of the canvas according to the calibration pattern selected by the user may include: if the calibration pattern selected by the user is a rectangular grid, the canvas is divided into multiple rectangles according to the preset grid spacing, for example, the canvas is divided into m rows at equal intervals, each row is divided into n columns, and a total of m×n rectangles; if the calibration pattern selected by the user is a sector grid, the canvas is divided into multiple sectors according to the preset grid spacing, for example, the canvas is divided into m equal-angle sectors connected end to end with the same vertex. If the calibration pattern selected by the user is a ring grid, the canvas is divided into multiple circular rings according to the preset grid spacing, for example, the canvas is divided into m equal-width circular rings connected end to end with the same center. In one embodiment, the selection of the calibration pattern matches the distribution pattern of the lamp beads of the physical lamp. For example, if the lamp beads of the physical lamp are comb-shaped, the calibration pattern can be selected as a rectangular grid. In one embodiment, the calibration pattern is selected to match the pattern of the dynamic lighting effect. For example, if the pattern of the canvas dynamic lighting effect is a ticker display on a rectangular grid, the calibration pattern can be a rectangular grid; if the pattern of the canvas dynamic lighting effect is a ticker display on a circular sector grid, the calibration pattern can be a sector grid. If the pattern of the canvas dynamic lighting effect is a periodically expanded display on a circular grid, the calibration pattern can be a circular grid. In one embodiment, the density of the grid area division can be adjusted. Preferably, the density of the grid area division is greater than the density of the lamp beads in the virtual lamp fixture, so that the lamp beads can more clearly display the first dividing line between the grids.
[0069] S1213: Send the lamp coordinates of the corresponding target virtual lamp and the boundary coordinates of the first dividing line to the physical lamp.
[0070] In one embodiment, a virtual luminaire corresponds to a physical luminaire comprising multiple lamp beads. The control terminal generates luminaire coordinates based on the coordinates of each virtual luminaire's lamp beads on the canvas, and generates the boundary coordinates of the first dividing line based on the coordinates of the first dividing line on the canvas. In an alternative embodiment, the control terminal may replace the issued boundary coordinates of the first dividing line with boundary rules and grid parameters, allowing the physical luminaire to calculate the boundary coordinates of the first dividing line.
[0071] S1214 , controlling the target virtual lamp to display a second dividing line according to the lamp coordinates and the dividing coordinates of the first dividing line; and / or controlling the physical lamp to display a third dividing line according to the lamp coordinates and the dividing coordinates of the first dividing line.
[0072] In one embodiment, if the virtual luminaire's fixture coordinates and the boundary coordinates of the first dividing line are transmitted, the physical luminaire determines the distance between them based on the transmitted fixture coordinates and boundary coordinates. When the distance between the bead coordinates and the boundary coordinates is less than a preset distance, the physical luminaire displays a third boundary line based on the fixture coordinates and the boundary coordinates of the first dividing line (the third boundary line is the physical luminaire's display of the first boundary line). If the distance between the bead coordinates and the boundary coordinates is greater than or equal to the preset distance, the third boundary line is not displayed. If the boundary rules and grid parameters are transmitted, the physical luminaire calculates the boundary coordinates of the first dividing line based on the transmitted boundary rules and grid parameters. If the distance between the bead coordinates and the boundary coordinates is less than a preset distance, the physical luminaire displays the third boundary line based on the fixture coordinates and the boundary coordinates of the first dividing line. If the distance between the bead coordinates and the boundary coordinates is greater than or equal to the preset distance, the physical luminaire displays the third boundary line based on the fixture coordinates and the boundary coordinates of the first dividing line. The third boundary line is not displayed when the distance between the bead coordinates and the boundary coordinates is greater than or equal to the preset distance. In one embodiment, the preset distance may be 1 / 5-1 / 2 of the grid spacing.
[0073] In one embodiment, the control terminal further determines the distance between the fixture coordinates of the virtual fixture and the boundary coordinates of the first dividing line. When the distance between the fixture coordinates and the boundary coordinates is less than a preset distance, the target virtual fixture displays a second dividing line (the second dividing line is the virtual fixture's display of the first dividing line) based on the fixture coordinates and the boundary coordinates of the first dividing line. The second dividing line is not displayed when the distance between the fixture coordinates and the boundary coordinates is greater than or equal to the preset distance.
[0074] S1221: Drag, rotate, and / or scale the at least two target virtual lamps to change the display of the second dividing line and / or the third dividing line.
[0075] S1222: Place the two target virtual lamps in the canvas according to changes in the second dividing line and / or the third dividing line to match positions of the corresponding physical lamps in the real scene.
[0076] In one embodiment, based on the change in the third dividing line relative to the first dividing line, the two target virtual lamps are positioned within the canvas to match the positions of the corresponding physical lamps in the real scene, so that the relative positional relationship of the at least two target virtual lamps after placement is consistent with the relative positional relationship of the corresponding physical lamps in the real scene. As the user drags, rotates, or scales the at least two target virtual lamps, the physical lamps receive the changed lamp coordinates (lamp bead coordinates) generated by the adjusted virtual lamps. When the lamp bead coordinates are less than a preset distance from the boundary coordinates of the first dividing line, the physical lamp displays the boundary. When the lamp bead coordinates are greater than or equal to the preset distance from the boundary coordinates of the first dividing line, the physical lamp does not display the boundary. Therefore, the user can clearly observe the changes in the corresponding displayed third dividing line on the physical lamp. By observing the relationship between the corresponding third dividing line and the first dividing line on the physical lamp, the user can better confirm whether the spacing or positional relationship between different physical lamps accurately matches the spacing or positional relationship between the target virtual lamps.
[0077] In an alternative embodiment, the user drags, rotates, and / or scales the at least two target virtual lamps to observe changes in the second dividing line. Based on the changes in the second dividing line relative to the first dividing line, the two target virtual lamps are placed on the canvas to match the positions of the corresponding physical lamps in the real scene, so that the relative positional relationship of the at least two target virtual lamps after placement is consistent with the relative positional relationship of the corresponding physical lamps in the real scene. During the process of the user dragging, rotating, and scaling the at least two target virtual lamps, the lamp coordinates (lamp bead coordinates) of the adjusted target virtual lamps change. When the lamp bead coordinates and the boundary coordinates of the first dividing line are less than a preset distance, the target virtual lamp displays a dividing line. When the lamp bead coordinates and the boundary coordinates of the first dividing line are greater than or equal to the preset distance, the target virtual lamp does not display a dividing line. Therefore, the user can clearly observe the changes in the second dividing line displayed corresponding to the target virtual lamp on the canvas interface. By observing the overlapping relationship between the second dividing line and the first dividing line, the user can fine-tune the spacing or positional relationship between the two virtual lamps to better confirm whether the spacing or positional relationship between different physical lamps accurately matches the spacing or positional relationship between the target virtual lamps. Of course, the user can also observe the changes in the first dividing line, the second dividing line, and the third dividing line at the same time to place the two target virtual lamps on the canvas to match the positions of the corresponding physical lamps in the real scene, so that the relative positional relationship of at least two target virtual lamps after placement is consistent with the relative positional relationship of the corresponding physical lamps in the real scene.
[0078] In one embodiment, adjacent first dividing lines are marked with different colors or line thicknesses. For example, the colors of adjacent first dividing lines are displayed as vertical lines of seven colors: red, orange, yellow, green, cyan, blue, and purple. In this way, it is easy to identify whether the two virtual lamps placed on the canvas match the positions of the corresponding physical lamps in the real scene during the dragging process. In one embodiment, please refer to Figure 16 , two virtual lamps 160A and 160B are arranged alternately on the canvas. One virtual lamp 160A displays four second dividing lines in the order of red, orange, yellow, and green, and the other virtual lamp 160B displays four second dividing lines in the order of orange, yellow, green, and cyan. At this time, the two sets of second dividing lines form the first pattern ( Figure 16 The second dividing lines of the same color (orange, yellow, green) in the figure 160A and 160B are aligned. If the actual position relationship of the two physical lamps is as follows Figure 17 As shown in , the top and bottom are completely aligned. One of the physical lamps 170A displays four third dividing lines in the order of red, orange, yellow, and green, and the other physical lamp 170B displays four third dividing lines in the order of orange, yellow, green, and cyan. At this time, the second pattern formed by the two sets of third dividing lines ( Figure 17 In other words, if the first pattern and the second pattern are different, it means that the positional relationship between the two virtual lamps is different from the positional relationship between the two physical lamps. In this embodiment, by adjusting the positional relationship between the two virtual lamps, for example, Figure 18 As shown, the virtual lamp 160A is moved along the arrow direction X in the figure to the position of the virtual lamp 160A', so that the two virtual lamps 160A' and 160B are as shown in FIG. Figure 18 As shown, the two fixtures are aligned up and down, and the two sets of second dividing lines are arranged in orange, yellow, green and cyan in sequence and aligned. At this time, the two physical lamps are displayed as follows according to the adjusted virtual lamps. Figure 19 The two sets of third dividing lines of orange, yellow, green and cyan are arranged in sequence and aligned. When the first pattern defined by the two sets of second dividing lines ( Figure 18 160A' and 160B) and the second pattern defined by two sets of third dividing lines ( Figure 19 When the overall display of the two virtual luminaires (the dividing line shown in 170A and 170B) is basically consistent, it means that the positional relationship between the two virtual luminaires basically matches the positional relationship between the two physical luminaires, that is, the actual positional relationship of the two physical luminaires is basically aligned downward and the actual positional relationship of the two target virtual luminaires is also basically aligned downward.
[0079] S130: Generate lamp coordinates of the at least two target virtual lamps according to the adjustment result.
[0080] S140: Send the lamp coordinates to the corresponding at least two target physical lamps to control the at least two target physical lamps to perform lighting effect linkage display.
[0081] Compared with the existing technology, in this embodiment, since a preset calibration pattern is used to control the display dividing line of the physical lamp, the user can promptly observe the changes in the dividing line displayed by the physical lamp when dragging the virtual lamp on the canvas. According to the positional relationship between at least two target virtual lamps in the grid canvas and the positional relationship between at least two physical lamps in the displayed dividing line, it can be more easily confirmed whether the first positional relationship between the at least two target virtual lamps matches the second positional relationship between the at least two physical lamps. Therefore, user debugging is more convenient and intuitive, and the user experience is better.
[0082] Example 4
[0083] Figure 4 This is a flow chart of a method for displaying lighting effects in a linked manner provided by the fourth embodiment of the present invention. This embodiment can be applied to a lighting effect linked display device, which can be implemented by software and / or hardware and can generally be integrated into a lighting system. The lighting system of this embodiment includes at least two physical lighting fixtures and a control terminal, and the at least two physical lighting fixtures are connected to the control terminal via a wireless method, such as Bluetooth communication. Accordingly, Figure 4 As shown, the method includes the following operations:
[0084] S110 , obtaining a plurality of virtual lamps to be selected, and selecting at least two target virtual lamps from the plurality of virtual lamps to be selected, wherein the at least two target virtual lamps correspond one-to-one to at least two target physical lamps in a real scene.
[0085] S120 . In response to the position adjustment operation, adjust the at least two target virtual lamps to a target position within the canvas area, and generate an adjustment result, where the target position is a position of the target virtual lamp corresponding to the target physical lamp in the real scene.
[0086] In one embodiment, Figure 7 As shown in the figure, in this embodiment, the physical lamp 1 corresponding to the virtual lamp 1' is the light strip installed on the wall 720 above the window 710, the physical lamp 2 corresponding to the virtual lamp 2' is the left curtain light, and the physical lamp 3 corresponding to the virtual lamp 3' is the right curtain light. The user can drag the virtual lamp 1', virtual lamp 2' and virtual lamp 3' according to the position of the physical lamps in the real scene, and the result is as follows Figure 6 As shown, at this time Figure 6 The virtual fixtures shown and Figure 7 The positions of the physical lamps shown correspond one to one.
[0087] S130: Generate lamp coordinates of the at least two target virtual lamps according to the adjustment result.
[0088] In one embodiment, each lamp includes a plurality of lamp beads arranged in an array according to a preset shape. The control terminal generates lamp coordinates based on the placement of each lamp bead of the virtual lamp within the canvas, and sends the lamp coordinates to the at least two target physical lamps via Bluetooth communication.
[0089] S141. Calculate target lighting effect information and target display area according to a preset display mode.
[0090] In one embodiment, a display mode may include a canvas pattern and / or dynamic lighting effects. Calculating target lighting effect information and a target display area based on a preset display mode includes: calculating the target lighting effect information based on the canvas pattern and fixture coordinates corresponding to the preset display mode; and calculating the target display area based on a preset lighting effect algorithm corresponding to the preset display mode. In one embodiment, the display mode may be calculated by a control terminal and sent to the physical fixtures for execution, or may be calculated in real time by each physical fixture for execution.
[0091] In one embodiment, different display modes have different background patterns, and calculating the target lighting effect information based on the canvas pattern and lamp coordinates corresponding to the preset display mode includes: obtaining the pixel coordinates of each pixel in the background pattern corresponding to the display mode, and using the brightness information and chromaticity information of the pixel corresponding to the lamp coordinates in the background pattern as lighting effect information based on the pixel coordinates and the lamp coordinates. Specifically, the placement of the lamp beads of each virtual lamp in the canvas occupies one or more pixels, that is, the lamp coordinates generated corresponding to the lamp beads of the virtual lamp also correspond to the coordinates of one or more pixels in the occupied canvas block. The brightness information and chromaticity information corresponding to a pixel coordinate that coincides with the lamp bead coordinate can be queried and used as lighting effect information; the brightness information and chromaticity information corresponding to multiple pixel coordinates that coincide with the lamp bead coordinate can be queried, and their average value can also be used as lighting effect information.
[0092] In one embodiment, calculating the target display area based on a preset lighting effect algorithm corresponding to a preset display mode includes: using a preset point selected by the user on the canvas as a starting point, inputting the starting point into the lighting effect algorithm to generate the target display area; or using the coordinates of a lighting fixture selected by the user as a starting point, inputting the starting point into the lighting effect algorithm to generate the target display area. In one embodiment, the starting point can be the center of a circle corresponding to a ring, the center of an arc, or the center of a starting grid. This embodiment provides two different dynamic center positioning methods for greater user convenience.
[0093] S142: Identify physical lamps within the target display area and physical lamps outside the target display area according to the lamp coordinates and the target display area.
[0094] After the target display area is calculated according to the above steps, the lamp beads of the physical lamps within the target display area and the lamp beads of the physical lamps outside the target display area can be directly calculated using the lamp coordinates and the coordinates of the target display area.
[0095] S143 , lighting up the physical lamps in the target display area and extinguishing the physical lamps outside the target display area according to the preset rhythm instruction and the target lighting effect information.
[0096] In one embodiment, the lighting of the lamp beads is triggered by the rhythm of the detected ambient music. The lamp beads will light up only when the rhythm sounds and will be off at other times. The rhythm of the ambient music is obtained through the rhythm sensor of the lamp. In this embodiment, the control terminal sets the first connected physical lamp as the master lamp in the order of wireless connection, and the other physical lamps as slave lamps. The master lamp senses the rhythm signal by itself and triggers the lamp beads to light up when the rhythm sounds. The slave lamp receives the rhythm signal sent by the master lamp and triggers the lamp beads to light up when the rhythm sounds. In this way, different lamps can be lit synchronously, achieving a better overall synchronization effect. In one embodiment, the lamp beads of two virtual lamps that overlap in position generate the same lamp coordinates, and the lamp beads of the corresponding physical lamps display the same lighting effects.
[0097] In one embodiment, different preset lighting effect algorithms can be used to calculate different dynamic lighting effects. Figure 8 The pattern of the dynamic lighting effect of the canvas shown is a marquee display performed on the rectangular grid 810. Each time, only one lamp bead in a grid (any one of the grids AL) is lit, and the lamp beads in different grids are lit in sequence according to a preset marquee route. For example, the grids AL are lit in alphabetical order.
[0098] Optional, Figure 9 The pattern of the dynamic lighting effect shown is a marquee display on a circular sector grid. Each time, only one lamp bead in a sector grid (any one of grids A to G) is lit, and the lamp beads in different adjacent sector grids are lit in sequence according to the marquee route. For example, grids A to G are lit in alphabetical order.
[0099] Optional, Figure 10 The dynamic lighting effect pattern shown is a preset angle fan 1010, such as a 30-60 degree fan, which rotates clockwise or counterclockwise around the arc center. Only the lamp beads in the area scanned by the fan 1010 are lit, and the lamp beads in the area not scanned will be extinguished. The physical lamps 1-3 confirm which lamp beads should be lit based on the lamp coordinates issued and the coordinates of the area currently scanned by the fan. Figure 10In the current rhythm, the area scanned by sector 1010 partially illuminates the lamps of physical lamps 2 and 3, while the lamps outside sector 1010 are extinguished. At the next rhythm, the area scanned by sector 1010' partially illuminates the lamps of physical lamps 2 and 1, while the lamps outside sector 1010' are extinguished.
[0100] Optional, Figure 11 The dynamic lighting effect pattern shown is displayed in an expanded circular cycle. Only the lamp beads in the area scanned by the expanded circular pattern are lit, and the lamp beads in the area not scanned will be extinguished. The physical lamp determines which lamp beads should be lit based on the lamp coordinates issued and the coordinates of the area currently scanned by the expanded circular pattern. In one embodiment, the lighting of the lamp beads is triggered by the rhythm of the detected ambient music, such as Figure 11 In the current rhythm, the middle portion of the lamps of physical lamps 2 and 3 in the area scanned by ring 1110 is illuminated, while the lamps outside of ring 1110 are extinguished. At the next rhythm, the middle portion of the lamps of physical lamps 1-3 in the area scanned by ring 1110' is illuminated, while the lamps outside of ring 1110' are extinguished.
[0101] In one embodiment, after the lamp coordinates generated by each virtual lamp are sent to the corresponding physical lamp, each lamp bead of the physical lamp can display the brightness and chromaticity of these pixels within the canvas block. That is, the physical lamp can display the canvas pattern of the canvas block occupied by the corresponding virtual lamp, and different physical lamps each display the canvas pattern of the canvas block occupied by the corresponding virtual lamp. Since the canvas pattern is an overall pattern, at least two physical lamps jointly display a canvas pattern with a larger range than that of a single lamp, and the overall picture is closer to the canvas pattern. For example, if the canvas pattern of the display mode is a tree, then one physical lamp can display the crown pattern according to the crown block occupied by the corresponding virtual lamp, another physical lamp can display the trunk pattern according to the trunk block occupied by the corresponding virtual lamp, and another physical lamp can display the root pattern according to the root block occupied by the corresponding virtual lamp. In this way, the three physical lamps can be linked to display the entire tree according to their respective lamp coordinates and the canvas pattern of a tree. In this embodiment, the linked display of the entire tree can be a static pattern or have dynamic lighting effects. For example, according to the preset dynamic lighting effects, the linked display can gradually display the entire canvas pattern of the entire tree from top to bottom, from left to right, or from center to periphery.
[0102] Compared with the prior art, this embodiment provides a variety of dynamic lighting effects to control multiple physical lamps to achieve linked lighting effect display, further enhancing the user experience.
[0103] Example 5
[0104] Figure 12This is a schematic diagram of the structure of a lighting effect linkage display device provided by the fifth embodiment of the present invention. The device 1200 can be implemented by software and / or hardware and can generally be integrated into a lighting system, such as Figure 12 As shown, the device 1200 includes a lamp selection module 1210 , a lamp placement module 1220 , a coordinate sending module 1230 and a linkage display module 1240 .
[0105] The lamp selection module 1210 is used to obtain multiple virtual lamps to be selected, and select at least two target virtual lamps from the multiple virtual lamps to be selected, where the at least two target virtual lamps have a one-to-one correspondence with at least two target physical lamps in a real scene.
[0106] In one embodiment, after the control terminal and the physical lamp are connected via Bluetooth communication, the lamp selection interface of the control terminal displays icons of virtual lamps that correspond one to one with the physical lamps. In one embodiment, the icons of different virtual lamps have different patterns, and the shapes of these patterns correspond to the real shapes or types of the physical lamps. Specifically, when the real shape of the physical lamp is a strip light strip, the icon of the virtual lamp is also a strip. When the real shape of the physical lamp is an arc light strip, the icon of the virtual lamp is also an arc. When the real shape of the physical lamp is a ring light strip, the icon of the virtual lamp is also a ring. When the real shape of the physical lamp is a curtain light, the icon of the virtual lamp is a square matrix. When the real shape of the physical lamp is a disc light strip, the icon of the virtual lamp is also a disc.
[0107] In one embodiment, the acquisition of multiple virtual lamps to be selected includes: displaying a preset lamp selection interface in response to a lamp selection operation, and the lamp selection interface includes multiple virtual lamps to be selected. Furthermore, the virtual lamp to be selected includes an identification code, a lamp name or a connection identifier, and the selection of at least two target virtual lamps from the multiple virtual lamps to be selected includes: selecting at least two target virtual lamps in the lamp selection interface according to the identification code, lamp name or connection identifier, or selecting at least two target virtual lamps in the lamp selection interface according to the shape and number of physical lamps that need to be linked in the real scene. Specifically, the lamp selection operation can be performed through the controls on the canvas after the canvas interface is opened by the control terminal to display the lamp selection interface, or the lamp selection operation can be performed through a separate control before the canvas interface is opened by the control terminal to display the lamp selection interface. In one embodiment, users can select virtual lamps that are already connected or to be connected based on identification codes, lamp names, or connection identifiers. For example, the lamp selection interface of the control terminal can also display Bluetooth icons of virtual lamps that correspond one-to-one to physical lamps. A Bluetooth icon in the first state (lit) indicates that the control terminal and the physical lamp are already connected via Bluetooth communication, and a Bluetooth icon in the second state (dark) indicates that the control terminal and the physical lamp are not yet connected via Bluetooth communication. In one embodiment, these virtual lamps with Bluetooth icons in the first state are preset as the selected target virtual lamps. In an alternative embodiment, the user can select the quantity of virtual lamps by operating the selection boxes corresponding to different virtual lamps in the lamp selection interface. The selection boxes include an input field for entering the number of virtual lamps, and also include increase and decrease buttons next to the selection boxes for fine-tuning the input quantity.
[0108] The lamp placement module 1220 is used to adjust the at least two target virtual lamps to the target position within the canvas area in response to the position adjustment operation, and generate an adjustment result, where the target position is the position of the target virtual lamp corresponding to the target physical lamp in the real scene.
[0109] In one embodiment, after the user completes the selection of the target virtual lamp in the lamp selection interface, the user can open the canvas interface, and the target virtual lamp is displayed in the canvas according to the preset placement information. In one embodiment, the preset placement coordinates can be the coordinates of the center of the canvas. In this case, the canvas interface displays the target virtual lamp selected by the user in an overlapping manner at the center of the canvas. In one embodiment, see also Figure 5-7 , the preset placement coordinates can be multiple placement coordinates evenly spaced along the vertical center direction of the canvas. Figure 5 The canvas interface shown displays the target virtual lamp 1', virtual lamp 2' and virtual lamp 3' selected by the user at equal intervals along the vertical center direction of the canvas on the canvas 510. Figure 7As shown in the figure, in this embodiment, the physical lamp 1 corresponding to the virtual lamp 1' is the light strip installed on the wall 720 above the window 710, the physical lamp 2 corresponding to the virtual lamp 2' is the left curtain light, and the physical lamp 3 corresponding to the virtual lamp 3' is the right curtain light. The user can drag the virtual lamp 1', virtual lamp 2' and virtual lamp 3' according to the position of the physical lamps in the real scene, and the result is as follows Figure 6 As shown, at this time Figure 6 The virtual fixtures shown and Figure 7 The positions of the physical lamps shown correspond one to one.
[0110] In one embodiment, Figure 13 As shown, the lamp placement module 1220 further includes a lamp display module 1221 and a lamp drag module and a lamp adjustment module 1222.
[0111] The lamp display module 1221 is used to display the at least two target virtual lamps in the canvas.
[0112] In one embodiment, the at least two target virtual lamps are displayed on the canvas in a specific manner: after the user completes the selection of the virtual lamps in the lamp selection interface, the user can open the canvas interface, at which point the target virtual lamps are displayed on the canvas according to the preset placement information. In one embodiment, the preset placement coordinates can be the coordinates of the center of the canvas, in which case the canvas interface displays the target virtual lamps selected by the user in an overlapping manner at the center of the canvas. Alternatively, the preset placement coordinates can be multiple placement coordinates evenly spaced along the vertical center of the canvas, in which case the canvas interface displays the target virtual lamps selected by the user at evenly spaced intervals along the vertical center of the canvas.
[0113] The lamp adjustment module 1222 is configured to perform a position adjustment operation on the at least two target virtual lamps according to the positions of the physical lamps in the real scene so as to place the at least two target virtual lamps in the canvas.
[0114] In one embodiment, the user can perform position adjustment operations on the at least two target virtual lamps according to the positions of the physical lamps in the real scene to place the at least two target virtual lamps in the canvas, so that the positions of the virtual lamps and the physical lamps correspond one to one. Specifically, performing position adjustment operations on the at least two target virtual lamps according to the positions of the physical lamps in the real scene to place the at least two target virtual lamps in the canvas includes: the user drags, rotates and / or scales the at least two target virtual lamps to observe the changes in the dividing line, and places the two target virtual lamps in the canvas according to the changes in the first dividing line, the second dividing line and / or the third dividing line to match the positions of the corresponding physical lamps in the real scene, so that the mutual positional relationship of the at least two target virtual lamps after placement is consistent with the mutual positional relationship of the corresponding physical lamps in the real scene.
[0115] In one embodiment, the lamp display module 1221 further includes a lamp initial display module 1221A, a canvas partitioning module 1221B, a boundary sending module 1221C, and a boundary display module 1221D.
[0116] The lamp initial display module 1221A is used to further display the target virtual lamp in the canvas according to the preset placement information.
[0117] In one embodiment, after a user completes their selection of a virtual luminaire on the luminaire selection interface, they can open the canvas interface, whereupon the target virtual luminaire is displayed on the canvas according to preset placement information. In one embodiment, the preset placement coordinates may be the coordinates of the center of the canvas, in which case the canvas interface displays the target virtual luminaire selected by the user in an overlapping manner at the center of the canvas. Alternatively, the preset placement coordinates may be multiple placement coordinates equally spaced along the vertical center of the canvas, in which case the canvas interface displays the target virtual luminaire selected by the user at equal intervals along the vertical center of the canvas.
[0118] The canvas partitioning module 1221B is used to identify a target calibration pattern from a plurality of preset calibration patterns, wherein the target calibration pattern defines a plurality of first dividing lines, and to divide the canvas into regions according to the target calibration pattern, wherein at least some of the first dividing lines intersect with the target virtual lamps.
[0119] In one embodiment, the preset calibration pattern includes a rectangular grid, a sector grid, or a ring grid, and the calibration pattern defines multiple first dividing lines. The area division of the canvas according to the calibration pattern selected by the user may include: if the calibration pattern selected by the user is a rectangular grid, the canvas is divided into multiple rectangles according to the preset grid spacing, for example, the canvas is divided into m rows at equal intervals, each row is divided into n columns, and a total of m×n rectangles; if the calibration pattern selected by the user is a sector grid, the canvas is divided into multiple sectors according to the preset grid spacing, for example, the canvas is divided into m equal-angle sectors connected end to end with the same vertex. If the calibration pattern selected by the user is a ring grid, the canvas is divided into multiple rings according to the preset grid spacing, for example, the canvas is divided into m equal-width rings connected end to end with the same center. In one embodiment, the selection of the calibration pattern matches the distribution pattern of the lamp beads of the physical lamp. For example, if the lamp beads of the physical lamp are comb-shaped, the calibration pattern can be selected as a rectangular grid. In one embodiment, the calibration pattern is selected to match the pattern of the dynamic lighting effect. For example, if the canvas dynamic lighting effect pattern is a ticker display on a rectangular grid, the calibration pattern can be a rectangular grid; if the canvas dynamic lighting effect pattern is a ticker display on a circular sector grid, the calibration pattern can be a sector grid. If the canvas dynamic lighting effect pattern is a periodically expanded display on a circular grid, the calibration pattern can be a circular grid. In one embodiment, the density of the grid area division can be adjusted. Preferably, the density of the grid area division is greater than the density of the lamp beads in the virtual lamp to facilitate more clear display of the lamp beads' boundary lines.
[0120] The boundary sending module 1221C is used to send the lamp coordinates of the corresponding target virtual lamp and the boundary coordinates of the first boundary line to the physical lamp.
[0121] In one embodiment, the virtual lamp includes multiple lamp beads. The control terminal generates lamp coordinates based on the coordinates of each lamp bead on the canvas, and generates the boundary coordinates of the first dividing line based on the coordinates of the first dividing line on the canvas. In alternative embodiments, the boundary coordinates of the first dividing line can also be replaced with boundary rules and grid parameters.
[0122] The boundary display module 1221D is used to control the target virtual lamp to display a second boundary line according to the lamp coordinates and the boundary coordinates; and / or the physical lamp to display a third boundary line according to the lamp coordinates and the boundary coordinates of the first boundary line.
[0123] In one embodiment, if the lamp coordinates of a virtual lamp and the boundary coordinates of a first dividing line are issued, the physical lamp determines the distance between the two based on the issued lamp coordinates and the boundary coordinates. When the lamp bead coordinates and the boundary coordinates are less than a preset distance, the display is performed. At this time, the physical lamp displays a third dividing line based on the lamp coordinates and the boundary coordinates of the first dividing line. When the lamp bead coordinates and the boundary coordinates are greater than or equal to the preset distance, the third dividing line is not displayed. If the boundary rules and grid parameters are issued, the physical lamp calculates the boundary coordinates of the first dividing line based on the issued boundary rules and grid parameters. When the lamp bead coordinates and the boundary coordinates are less than the preset distance, the display is performed. At this time, the physical lamp displays a third dividing line based on the lamp coordinates and the boundary coordinates of the first dividing line. When the lamp bead coordinates and the boundary coordinates are greater than or equal to the preset distance, the third dividing line is not displayed. In one embodiment, the preset distance can be 1 / 5-1 / 2 of the grid spacing.
[0124] In one embodiment, the control terminal further determines the distance between the fixture coordinates of the virtual fixture and the boundary coordinates of the first dividing line. When the distance between the lamp bead coordinates and the boundary coordinates is less than a preset distance, the target virtual fixture displays a second dividing line based on the fixture coordinates and the boundary coordinates of the first dividing line. When the distance between the lamp bead coordinates and the boundary coordinates is greater than or equal to the preset distance, the second dividing line is not displayed.
[0125] In one embodiment, the lamp placement module 1222 further includes a drag change module 1222A and a position confirmation module 1222B.
[0126] The dragging and changing module 1222A is configured to drag, rotate and / or scale the at least two target virtual lamps to change the display of the second dividing line and / or the third dividing line.
[0127] The position confirmation module 1222B is configured to place the two target virtual lamps in the canvas according to changes in the second dividing line and / or the third dividing line to match the positions of the corresponding physical lamps in the real scene.
[0128] In one embodiment, based on the change of the third dividing line relative to the first dividing line, the two target virtual lamps are placed within the canvas to match the positions of the corresponding physical lamps in the real scene, so that the relative positional relationship of the at least two target virtual lamps after placement is consistent with the relative positional relationship of the corresponding physical lamps in the real scene. As the user drags, rotates, or scales the at least two target virtual lamps, the physical lamp receives the changed lamp coordinates (lamp bead coordinates) generated by the adjusted virtual lamp. The lamp bead coordinates are displayed when the distance between the lamp bead coordinates and the boundary coordinates of the first dividing line is less than a preset distance, and are not displayed when the distance between the lamp bead coordinates and the boundary coordinates of the first dividing line is greater than or equal to the preset distance. Therefore, the user can clearly observe the changes in the corresponding displayed third dividing line on the physical lamp. By observing the relationship between the corresponding third dividing line and the first dividing line on the physical lamp, it can better confirm whether the spacing or positional relationship between different physical lamps accurately matches the spacing or positional relationship between the target virtual lamps.
[0129] In an alternative embodiment, the user drags, rotates, and / or scales the at least two target virtual luminaires to observe changes in the second dividing line. Based on the changes in the second dividing line relative to the first dividing line, the two target virtual luminaires are positioned within the canvas to match the positions of the corresponding physical luminaires in the real scene, so that the relative positions of the at least two target virtual luminaires after placement are consistent with the relative positions of the corresponding physical luminaires in the real scene. As the user drags, rotates, and scales the at least two target virtual luminaires, the adjusted luminaire coordinates (lamp bead coordinates) of the target virtual luminaires change. These coordinates are displayed when the distance between the lamp bead coordinates and the boundary coordinates of the first dividing line is less than a preset distance, and are not displayed when the distance between the lamp bead coordinates and the boundary coordinates of the first dividing line is greater than or equal to the preset distance. Therefore, the user can clearly observe changes in the second dividing line displayed for the target virtual luminaires on the canvas interface. By observing the overlap between the second dividing line and the first dividing line, the user can fine-tune the spacing or positional relationship between the two virtual luminaires to better confirm whether the spacing or positional relationship between the different physical luminaires accurately matches the spacing or positional relationship between the target virtual luminaires. Of course, you can also observe the changes in the first dividing line, the second dividing line and the third dividing line at the same time to place the two target virtual lamps in the canvas to match the positions of the corresponding physical lamps in the real scene, so that the mutual position relationship of at least two target virtual lamps after placement is consistent with the mutual position relationship of the corresponding physical lamps in the real scene.
[0130] In one embodiment, adjacent first dividing lines are marked with different colors or line thicknesses. For example, the colors of adjacent first dividing lines are displayed as vertical lines of seven colors: red, orange, yellow, green, cyan, blue, and purple. In this way, it is easy to identify whether the two virtual lamps placed on the canvas match the positions of the corresponding physical lamps in the real scene during the dragging process. In one embodiment, please refer to Figure 16 , two virtual lamps 160A and 160B are arranged alternately on the canvas. One virtual lamp 160A displays four second dividing lines in the order of red, orange, yellow, and green, and the other virtual lamp 160B displays four second dividing lines in the order of orange, yellow, green, and cyan. At this time, the two sets of second dividing lines form the first pattern ( Figure 16 The second dividing lines of the same color (orange, yellow, green) in the figure 160A and 160B are aligned. If the actual position relationship of the two physical lamps is as follows Figure 17 As shown in , the top and bottom are completely aligned. One of the physical lamps 170A displays four third dividing lines in the order of red, orange, yellow, and green, and the other physical lamp 170B displays four third dividing lines in the order of orange, yellow, green, and cyan. At this time, the second pattern formed by the two sets of third dividing lines ( Figure 17 In other words, if the first pattern and the second pattern are different, it means that the positional relationship between the two virtual lamps is different from the positional relationship between the two physical lamps. In this embodiment, by adjusting the positional relationship between the two virtual lamps, for example, Figure 18 As shown, the virtual lamp 160A is moved along the arrow direction X in the figure to the position of the virtual lamp 160A', so that the two virtual lamps 160A' and 160B are as shown in FIG. Figure 18 As shown, the two fixtures are aligned up and down, and the two sets of second dividing lines are arranged in orange, yellow, green and cyan in sequence and aligned. At this time, the two physical lamps are displayed as follows according to the adjusted virtual lamps. Figure 19 The two sets of third dividing lines of orange, yellow, green and cyan are arranged in sequence and aligned. When the first pattern defined by the two sets of second dividing lines ( Figure 18 160A' and 160B) and the second pattern defined by two sets of third dividing lines ( Figure 19 When the overall display of the two virtual luminaires (the dividing line shown in 170A and 170B) is basically consistent, it means that the positional relationship between the two virtual luminaires basically matches the positional relationship between the two physical luminaires, that is, the actual positional relationship of the two physical luminaires is basically aligned downward and the actual positional relationship of the two target virtual luminaires is also basically aligned downward.
[0131] The coordinate sending module 1230 is configured to generate the lamp coordinates of the at least two target virtual lamps according to the adjustment result.
[0132] In one embodiment, each lamp includes a plurality of lamp beads arranged in an array according to a preset shape. The control terminal generates lamp coordinates based on the placement of each lamp bead of the virtual lamp within the canvas, and sends the lamp coordinates to the at least two target physical lamps via Bluetooth communication.
[0133] The linkage display module 1240 is configured to send the lamp coordinates to the corresponding at least two target physical lamps, so as to control the at least two target physical lamps to perform linkage display of lighting effects.
[0134] In one embodiment, the linkage display module 1240 further includes an effect calculation module 1240A, an internal and external display module 1240B, and a light lighting module 1240C.
[0135] The effect calculation module 1240A is used to calculate target lighting effect information and a target display area according to a preset display mode.
[0136] In one embodiment, the display mode may include a canvas pattern and / or dynamic lighting effects, and the calculation of the target lighting effect information and the target display area according to the preset display mode includes: calculating the target lighting effect information according to the canvas pattern and lamp coordinates corresponding to the preset display mode; calculating the target display area according to the preset lighting effect algorithm corresponding to the preset display mode.
[0137] In one embodiment, different display modes have different background patterns, and calculating the target lighting effect information based on the canvas pattern and lamp coordinates corresponding to the preset display mode includes: obtaining the pixel coordinates of each pixel in the background pattern corresponding to the display mode, and using the brightness information and chromaticity information of the pixel corresponding to the lamp coordinates in the background pattern as lighting effect information based on the pixel coordinates and the lamp coordinates. Specifically, the placement of the lamp beads of each virtual lamp in the canvas occupies one or more pixels, that is, the lamp coordinates generated corresponding to the lamp beads of the virtual lamp also correspond to the coordinates of one or more pixels in the occupied canvas block. The brightness information and chromaticity information corresponding to a pixel coordinate that coincides with the lamp bead coordinate can be queried and used as lighting effect information; the brightness information and chromaticity information corresponding to multiple pixel coordinates that coincide with the lamp bead coordinate can be queried, and their average value can also be used as lighting effect information.
[0138] In one embodiment, different preset lighting effect algorithms can be used to calculate different dynamic lighting effects. In one embodiment, the pattern of the canvas dynamic lighting effect is a marquee display on the rectangular grid 810, and the display area calculated each time is only one grid. In one embodiment, the pattern of the dynamic lighting effect is a marquee display on a circular sector grid, and the display area calculated each time is only one sector grid. In one embodiment, the pattern of the dynamic lighting effect is a preset angle sector rotating clockwise or counterclockwise around the arc center, and the display area calculated each time is the area swept by the sector at the current moment. In one embodiment, optionally, the pattern of the dynamic lighting effect is an expanded display in a circular period, and the display area calculated each time is the area swept by the circular period at the current moment.
[0139] The display inside-outside module 1240B is used to identify the physical lamps in the target display area and the physical lamps outside the target display area according to the lamp coordinates and the target display area.
[0140] After the target display area is calculated according to the above steps, the lamp beads of the physical lamps within the target display area and the lamp beads of the physical lamps outside the target display area can be directly calculated using the lamp coordinates and the coordinates of the target display area.
[0141] The light lighting module 1240C is used to light up the physical lights in the target display area and turn off the physical lights outside the target display area according to the preset rhythm instruction and the target lighting effect information.
[0142] In one embodiment, the lighting of the lamp beads is triggered by the rhythm of the detected ambient music. The lamp beads will light up only when the rhythm sounds and will be off at other times. The rhythm of the ambient music is obtained through the rhythm sensor built into the lamp. In this embodiment, the control terminal sets the first connected physical lamp as the master lamp in the order of wireless connection, and the other physical lamps as slave lamps. The slave lamps receive the rhythm signal sent by the master lamp and trigger the lamp beads to light up only when the rhythm sounds. In this way, different lamps can be lit synchronously. In one embodiment, the lamp beads of two virtual lamps with overlapping positions generate the same lamp coordinates, and the lamp beads of the corresponding physical lamps display the same lighting effects.
[0143] In one embodiment, Figure 8 As shown, the pattern of the dynamic lighting effect of the canvas is a marquee display performed on the rectangular grid 810. Each time, only one lamp bead in a grid (any one of the grids AL) is lit, and the lamp beads in different grids are lit in sequence according to a preset marquee route. For example, the grids AL are lit in alphabetical order.
[0144] In one embodiment, Figure 9As shown, the pattern of the dynamic lighting effect is a marquee display on a circular sector grid. Each time, only one lamp bead in a sector grid (any one of grids AG) is lit, and the lamp beads in different adjacent sector grids are lit in sequence according to the marquee route. For example, grids AG are lit in alphabetical order.
[0145] In one embodiment, Figure 10 As shown, the pattern of the dynamic lighting effect is a preset angle fan 1010, such as a 30-60 degree fan, which rotates clockwise or counterclockwise around the arc center. Only the lamp beads in the area scanned by the fan 1010 are lit, and the lamp beads in the area not scanned will be extinguished. The physical lamps 1-3 confirm whether the lamp beads should be lit based on the lamp coordinates issued and the coordinates of the area currently scanned by the fan. Figure 10 As shown, in the current rhythmic moment, some of the lamps of physical lamps 2 and 3 in the area scanned by sector 1010 are illuminated, while the lamps outside sector 1010 are extinguished. At the next rhythmic moment, some of the lamps of physical lamps 2 and 1 in the area scanned by sector 1010' are illuminated, while the lamps outside sector 1010' are extinguished.
[0146] In one embodiment, Figure 11 As shown, the pattern of the dynamic lighting effect is displayed in an expanded circular cycle. Only the lamp beads in the area scanned by the expanded circular pattern are lit, and the lamp beads in the area not scanned will be extinguished. The physical lamp determines which lamp beads should be lit based on the lamp coordinates issued and the coordinates of the area currently scanned by the expanded circular pattern. In one embodiment, the lighting of the lamp beads is triggered by the rhythm of the detected ambient music, such as Figure 11 In the current rhythm, the middle portion of the lamps of physical lamps 2 and 3 in the area scanned by ring 1110 is illuminated, while the lamps outside of ring 1110 are extinguished. At the next rhythm, the middle portion of the lamps of physical lamps 1-3 in the area scanned by ring 1110' is illuminated, while the lamps outside of ring 1110' are extinguished.
[0147] In one embodiment, calculating the target display area based on a preset lighting effect algorithm corresponding to a preset display mode includes: using a preset point selected by the user on the canvas as a starting point, inputting the starting point into the lighting effect algorithm to generate the target display area; or using the coordinates of a lighting fixture selected by the user as a starting point, inputting the starting point into the lighting effect algorithm to generate the target display area. In one embodiment, the starting point can be the center of a circle corresponding to a ring, the center of an arc, or the center of a starting grid. This embodiment provides two different dynamic center positioning methods for greater user convenience.
[0148] After the lamp coordinates generated by each virtual lamp are sent to the corresponding physical lamp, each lamp bead of the physical lamp can display the brightness and chromaticity of these pixels within the canvas block. That is to say, the physical lamp can display the canvas pattern of the canvas block occupied by the corresponding virtual lamp. Different physical lamps each display the canvas pattern of the canvas block occupied by the corresponding virtual lamp. Since the canvas pattern is an overall pattern, at least two physical lamps can display a canvas pattern with a larger range than a single lamp, and the overall picture is closer to the canvas pattern. For example, if the canvas pattern of the display mode is a tree, then one physical lamp can display the crown pattern according to the crown block occupied by the corresponding virtual lamp, another physical lamp can display the trunk pattern according to the trunk block occupied by the corresponding virtual lamp, and another physical lamp can display the root pattern according to the root block occupied by the corresponding virtual lamp. In this way, the three physical lamps can be linked to display the entire tree according to their respective lamp coordinates and the canvas pattern of a tree. In this embodiment, the linked display of the entire tree can be a static pattern or have dynamic lighting effects. For example, according to the preset dynamic lighting effects, the linked display can gradually display the entire canvas pattern of the entire tree from top to bottom, from left to right, or from center to periphery.
[0149] In this embodiment, the above-mentioned lamp light effect linkage display device can execute the lamp light effect linkage display method provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the lamp light effect linkage display method provided in any embodiment of the present invention. Since the lamp light effect linkage display device introduced above is a device that can execute the lamp light effect linkage display method in the embodiment of the present invention, based on the lamp light effect linkage display method introduced in the embodiment of the present invention, technical personnel in this field can understand the specific implementation method of the lamp light effect linkage display device of this embodiment and its various variations, so how the lamp light effect linkage display device implements the lamp light effect linkage display method in the embodiment of the present invention will not be introduced in detail here. As long as the device adopted by technical personnel in this field to implement the lamp light effect linkage display method in the embodiment of the present invention, it falls within the scope of protection to be protected by this application.
[0150] Example 6
[0151] Figure 15 FIG. 1 shows a structural diagram of a lighting system provided by embodiment 6 of the present invention. Figure 15As shown, a lighting system 1500 includes at least two physical lighting fixtures 1510 and a control terminal 1520 wirelessly connected to the physical lighting fixtures. The control terminal and the physical lighting fixtures 1, 2, and 3 (detailed structural information, such as the processors and memory of the physical lighting fixtures, is not shown) include one or more processors 11 and a memory communicatively connected to at least one of the processors 11. The memory stores a computer program executable by the at least one processor. Processor 11 can perform various appropriate actions and processes based on the computer program stored in read-only memory (ROM) 12 or loaded from storage unit 18 into random access memory (RAM) 13. RAM 13 also stores various programs and data required for the operation of lighting system 1500. Processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to bus 14.
[0152] Multiple components of the lighting system 1500 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the lighting system 1500 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0153] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the method by which the processor of the lighting system 1500 implements the linked display of lighting effects for each lighting fixture.
[0154] In some embodiments, the method for displaying linked lighting effects can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed into the lighting system 1500 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method for displaying linked lighting effects described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to execute the method for displaying linked lighting effects via any other suitable means (e.g., via firmware).
[0155] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0156] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0157] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or apparatus. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0158] To provide interaction with a user, the systems and techniques described herein can be implemented on a mobile terminal having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the mobile terminal. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0159] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0160] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0161] Example 7
[0162] The seventh embodiment of the present invention further provides a computer storage medium storing a computer program, wherein the computer program, when executed by a computer processor, is used to execute the method for displaying lighting effects of lamps and lanterns as described in any of the above embodiments of the present invention.
[0163] The computer storage media of the embodiments of the present invention may employ any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM, or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0164] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0165] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0166] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
[0167] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A method for displaying lighting effects of lamps, characterized in that: The method comprises: Acquire a plurality of virtual lamps to be selected, and select at least two target virtual lamps from the plurality of virtual lamps to be selected, wherein the at least two target virtual lamps correspond one-to-one to at least two target physical lamps in a real scene; In response to the position adjustment operation, the at least two target virtual lamps are adjusted to target positions within the canvas area, and an adjustment result is generated, where the target positions are positions of the target virtual lamps corresponding to the target physical lamps in the real scene; generating lamp coordinates of the at least two target virtual lamps according to the adjustment result; Sending the lamp coordinates to the corresponding at least two target physical lamps to control the at least two target physical lamps to perform lighting effect linkage display; The step of adjusting the at least two target virtual lamps to target positions within the canvas area in response to the position adjustment operation and generating an adjustment result, wherein the target positions are positions of the target virtual lamps corresponding to the target physical lamps in the real scene, includes: Displaying the at least two target virtual lamps in the canvas; Performing a position adjustment operation on the at least two target virtual lamps according to the positions of the physical lamps in the real scene to place the at least two target virtual lamps in the canvas; The step of displaying the at least two target virtual lamps in the canvas includes: Displaying the target virtual lamp in the canvas according to the preset placement information; Identifying a target calibration pattern from a plurality of preset calibration patterns, wherein the target calibration pattern defines a plurality of first dividing lines; dividing the canvas into regions according to the target calibration pattern, wherein at least some of the first dividing lines intersect with the target virtual lamp; Sending the lamp coordinates of the corresponding target virtual lamp and the boundary coordinates of the first dividing line to the physical lamp; The target virtual lamp is controlled to display a second dividing line according to the lamp coordinates and the dividing coordinates of the first dividing line; and / or the physical lamp is controlled to display a third dividing line according to the lamp coordinates and the dividing coordinates of the first dividing line.
2. The method for displaying lighting effects of lamps according to claim 1, characterized in that: The step of obtaining a plurality of virtual lamps to be selected includes: In response to the lamp selection operation, a preset lamp selection interface is displayed, wherein the lamp selection interface includes a plurality of virtual lamps to be selected.
3. The method for displaying lighting effects of lamps according to claim 1, characterized in that: The virtual lamps to be selected include identification codes, lamp names, or connection identifiers, and selecting at least two target virtual lamps from the plurality of virtual lamps to be selected includes: selecting at least two target virtual lamps on a lamp selection interface according to the identification code, lamp name or connection identifier, and / or; Select at least two target virtual lamps in the lamp selection interface based on the shape and number of physical lamps that need to be linked in the real scene.
4. The method for displaying lighting effects of lamps according to claim 1, characterized in that: Performing a position adjustment operation on the at least two target virtual lamps according to the positions of the physical lamps in the real scene to place the at least two target virtual lamps in the canvas includes: dragging, rotating, and / or scaling the at least two target virtual lamps to change the display of the second dividing line and / or the third dividing line; The two target virtual lamps are placed in the canvas according to changes in the second dividing line and / or the third dividing line to match positions of the corresponding physical lamps in the real scene.
5. The method for displaying lighting effects of lamps according to claim 1, characterized in that: The sending of the lamp coordinates to the corresponding at least two target physical lamps to control the at least two target physical lamps to perform lighting effect linkage display, including: Calculate target lighting effect information and target display area according to a preset display mode; Identify the physical lamps within the target display area and the physical lamps outside the target display area according to the lamp coordinates and the target display area; According to the preset rhythm instruction and the target lighting effect information, the physical lights in the target display area are lit and the physical lights outside the target display area are turned off.
6. The method for displaying lighting effects of lamps according to claim 5, characterized in that: The calculating target lighting effect information and target display area according to the preset display mode includes: Calculating the target lighting effect information according to the canvas pattern and lamp coordinates corresponding to the preset display mode; The target display area is calculated according to a preset lighting effect algorithm corresponding to a preset display mode.
7. The method for displaying lighting effects of lamps according to claim 6, characterized in that: The calculating the target display area according to a preset lighting effect algorithm corresponding to a preset display mode includes: Using a preset point selected by the user on the canvas as a starting point, inputting the starting point into a lighting effect algorithm to generate a target display area; or The coordinates of the lamp selected by the user are used as a starting point, and the starting point is input into the lighting effect algorithm to generate a target display area.
8. A lighting fixture lighting effect linkage display device, used to execute the method according to any one of claims 1 to 7, characterized in that: include: a lamp selection module, configured to obtain a plurality of virtual lamps to be selected, and select at least two target virtual lamps from the plurality of virtual lamps to be selected, wherein the at least two target virtual lamps correspond one-to-one to at least two target physical lamps in a real scene; a lamp placement module, configured to adjust the at least two target virtual lamps to target positions within the canvas area in response to a position adjustment operation, and generate an adjustment result, wherein the target positions are positions of the target virtual lamps corresponding to the target physical lamps in the real scene; A coordinate sending module, configured to generate the lamp coordinates of the at least two target virtual lamps according to the adjustment result; The linkage display module is used to send the lamp coordinates to the corresponding at least two target physical lamps to control the at least two target physical lamps to perform lighting effect linkage display.
9. A lighting system, characterized in that: include: At least two physical lamps; Connecting to the control terminal of the physical lamp via wireless means; The control terminal and the physical lamp include one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for linked display of lighting effects of lamps as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for displaying lighting effects of lamps and lanterns as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Equipment configuration method and device, equipment, storage medium and computer program product
CN119011389A
Illumination design drawing generation method and device, storage medium and electronic device
CN120180525A