Scene light effect configuration method and device, equipment and medium
By displaying the spatial topology diagram and control panel of the splicing lighting fixtures in the graphical user interface, users can visually edit the motion attribute data of the lighting effects, which solves the problem of limited lighting effect instructions in existing splicing lighting fixtures, realizes flexible customization and diversification of lighting effects, and improves user experience and editing efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-02
- Publication Date
- 2026-03-24
AI Technical Summary
The limited number of lighting effect playback commands in existing splicing lighting fixtures results in insufficient user flexibility, restricts the full realization of product functions, and makes it difficult to achieve diversification of color tone, shape, and movement.
A scene-based lighting effect configuration method is provided, which displays a spatial topology map of spliced lighting fixtures in a graphical user interface and provides multiple scene pages and lighting effect templates in the control panel, allowing users to visually edit the motion attribute data of lighting effects and generate lighting effect playback instructions.
It improves the user experience and efficiency of lighting effect editing for splicing lighting fixtures, expands product functions, and enables flexible customization and diversification of lighting effects.
Smart Images

Figure CN116761302B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of lighting technology, in particular to a scene type light effect configuration method, a corresponding device and equipment thereof, and a computer readable storage medium. BACKGROUND
[0002] Light effect equipment has the functions of showing information and decorating atmosphere, and is widely used. The intelligence of the light effect equipment is also increasing, and its functions are also developing to meet different needs. A typical light effect equipment is composed of multiple lamp body units, which form a spliced lamp. The multiple lamp body units of the spliced lamp are usually arranged in a plane to form a surface array. When it is necessary to play a light effect presented by the spliced lamp, the lamp body unit can be used as a basic control unit, and the corresponding light emission control can be performed on the lamp body unit. The light effect is played by the cooperation of multiple lamp body units.
[0003] In order to play the corresponding light effect, considering the control difficulty of multi-point light emission, the light effect playing instructions are usually prepared according to the expected light effect in the prior art. The light effect equipment plays the corresponding light effect by using the light effect playing instructions. Therefore, for ordinary users, it is relatively quick and efficient to select and apply the light effect playing instructions in a dumb way.
[0004] In practice, the limited light effect playing instructions not only cause the user to lose the flexibility of selection, but also limit the product functions of the spliced lamp. The lamp body unit of the spliced lamp has product function expansion potential in color tone diversification, splicing form diversification, and light effect motion mode diversification. How to tap this potential needs to be continuously explored in the industry. SUMMARY
[0005] The present application aims to provide a scene type light effect configuration method, a corresponding device and equipment thereof, and a computer readable storage medium.
[0006] According to one aspect of the present application, a scene type light effect configuration method is provided, comprising:
[0007] displaying a spatial topology diagram of a spliced lamp in an effect editing area, wherein the spatial topology diagram corresponds to the spatial position layout of each lamp body unit of the spliced lamp in a physical space, and presents a corresponding plurality of lamp body units;
[0008] popping up a control panel, providing an entry of a plurality of scene pages in a scene area of the control panel, and listing at least one light effect template under a default scene page;
[0009] visualizing the light effect motion attribute data of a target light effect template determined in the control panel to the control panel and / or the effect editing area;
[0010] Generate a light effect playing instruction based on the latest light effect motion attribute data, and drive the spliced light fixture to play a corresponding light effect.
[0011] According to another aspect of the present application, a scene type light effect configuration device is provided, comprising:
[0012] A topology display module is configured to display a spatial topology of the spliced light fixture in the effect editing area, and the spatial topology presents a plurality of light body units corresponding to the spatial position layout of each light body unit of the spliced light fixture in the physical space.
[0013] A panel display module is configured to pop up a control panel, provide an entry of a plurality of scene pages in a scene area of the control panel, and list at least one light effect template under a default scene page.
[0014] An attribute display module is configured to visually display light effect motion attribute data of a target light effect template determined in the control panel into the control panel and / or the effect editing area.
[0015] A light effect application module is configured to generate a light effect playing instruction based on the latest light effect motion attribute data, and drive the spliced light fixture to play a corresponding light effect.
[0016] According to another aspect of the present application, a scene type light effect configuration device is provided, comprising a central processing unit and a memory, and the central processing unit is used to call and run a computer program stored in the memory to execute the steps of the scene type light effect configuration method.
[0017] According to another aspect of the present application, a non-volatile readable storage medium is provided, which stores a computer program implemented according to the scene type light effect configuration method in the form of computer readable instructions, and when the computer program is called and run by a computer, the steps included in the method are executed.
[0018] According to another aspect of the present application, a computer program product is provided, comprising computer program / instructions, which when executed by a processor, implements the steps of the scene type light effect configuration method described in any one of the embodiments of the present application.
[0019] Compared with the prior art, the present application has many technical advantages, including but not limited to:
[0020] The application abstracts the spatial position layout of the lamp body unit of the spliced lamp as a spatial topology graph, displays the spatial topology graph to an effect editing area of a graphical user interface, provides a control panel for loading multiple scene pages, provides a light effect template of a corresponding scene in each scene page for a user to select, visualizes light effect motion attribute data of a target light effect template to the control panel and / or the effect editing area after a target light effect template is determined, facilitates user editing, and finally generates a light effect playing instruction using the latest light effect motion attribute data, so that the user can modify the motion process of the light effect by modifying the light effect attribute motion data, flexibly define a new light effect, not only expand the function of the spliced lamp product, but also open the light effect customization capability to the user, and can significantly improve the user experience of the spliced lamp.
[0021] Further, the application provides an editing interface of light effect motion attribute data by providing a control panel and an effect editing area, converts the setting process of the light effect playing instruction from complex programming instructions to a convenient human-computer interaction means, improves the light effect editing and light effect application efficiency of the spliced lamp, and helps the rapid popularization and application of the spliced lamp in the industry. BRIEF DESCRIPTION OF DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.
[0023] Figure 1 A structural schematic diagram of the spliced lamp in the embodiments of the application;
[0024] Figure 2 A flowchart of the scene type light effect configuration method in the embodiments of the application;
[0025] Figure 3 A graphical user interface diagram of the terminal device in the embodiments of the application;
[0026] Figure 4 A flowchart of displaying the light effect template in the scene page in the embodiments of the application;
[0027] Figure 5 A flowchart of loading the historical light effect template in the embodiments of the application;
[0028] Figure 6 A flowchart of visualizing the light effect motion attribute data to the control interface and the effect editing area in the embodiments of the application;
[0029] Figure 7A flowchart of a process of visualizing a motion base point in an embodiment of the present application;
[0030] Figure 8 A flowchart of a process of updating lamp effect configuration information in an embodiment of the present application;
[0031] Figure 9 A flowchart of a process of connecting a terminal device and a spliced lamp in an embodiment of the present application;
[0032] Figure 10 A flowchart of a process of repositioning a motion base point in an embodiment of the present application;
[0033] Figure 11 and Figure 12 are respectively interface display effect examples of two spatial topological diagrams corresponding to the same lamp body form;
[0034] Figure 13 A structural diagram of a scene-type lamp effect configuration device in an embodiment of the present application;
[0035] Figure 14 A structural diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The spliced lamp exemplarily given in the present application is formed by adjacent splicing of multiple lamp body units. According to the structural differences of the lamp body units and according to the differences of the splicing relationships, there can be multiple different product forms. The spliced lamp of the present application can be suitable for use as an ambient lamp, and can play the effect of decorating the space atmosphere, and is usually installed in an indoor space.
[0037] For example, Figure 1 is a spliced lamp formed by splicing multiple lamp body units 1 with a regular hexagonal structure, wherein each lamp body unit 1 includes multiple light emitting units, such as distributed on each side of the regular hexagonal structure, each prismatic block, etc. According to this, different granularity light emitting control can be implemented on each lamp body unit 1, such as individually controlling each prismatic region, side, or integrally controlling all light emitting units in the lamp body unit 1, etc.
[0038] Each lamp body unit 1 is provided with a mounting interface and an electrical interface for splicing with other lamp body units 1, or the mounting interface and the electrical interface are combined into the same electromechanical interface. The user can assemble different forms of spliced lamps by sequentially splicing different lamp body units 1 to splice different topological effects.
[0039] In order to facilitate control, the spliced lamp is usually provided with a main control module 2, which usually includes a control chip, a communication component, etc.
[0040] The control chip can be implemented by various embedded chips, such as Bluetooth SoC (System on Chip), WiFi SoC, MCU (Micro Controller Unit), DSP (Digital Signal Processing) and the like, which generally include a central processor and a memory, and are mainly used for storing and executing program instructions to realize corresponding functions. The communication component can be used for communication with external devices, such as various smart terminal devices such as personal computers and smart phones, so that the user can issue a light effect playing instruction to the spliced lamp through the terminal device.
[0041] After receiving the light effect playing instruction through the communication component, the control chip parses the light effect signal corresponding to the control of each light emitting unit of the spliced lamp, and outputs the light effect signal to each lamp body unit 1 to control the light emitting units of each lamp body unit 1 to play the light effect cooperatively.
[0042] In some embodiments, the main control module 2 can also configure the power adapter, control panel, display screen and the like as needed. The power adapter is mainly used for converting mains power into direct current to power the entire spliced lamp. The control panel usually provides one or more keys for implementing on-off control and the like on the main control module 2. The display screen can be used to display various control information to cooperate with the keys in the control panel to support the implementation of human-computer interaction function. In some embodiments, the control panel can be integrated into the same touch display screen as the display screen.
[0043] The scene type light effect configuration method of the present application can be implemented as a computer program product installed in a terminal device to run, thereby providing a human-computer interaction interface for the user to complete the individual customization of the light effect playing instruction, and then sending the light effect playing instruction to the spliced lamp to control the spliced lamp to play the corresponding light effect.
[0044] Please refer to Figure 2 In one embodiment, the scene type light effect configuration method of the present application comprises:
[0045] Step S2100, displaying a spatial topology graph of the spliced lamp in the effect editing area, wherein the spatial topology graph presents a plurality of lamp body units corresponding to the spatial position layout of each lamp body unit of the spliced lamp in the physical space;
[0046] The spliced lamp is formed by a plurality of lamp body units sequentially connected according to a certain topological relationship in the physical space, so that these lamp body units present a spatial position layout after being spliced. By abstracting this spatial position layout into a data model and constructing a graph according to the data model, a spatial topology graph is formed. Figure 4The spatial position layout between the lamp body units of the spliced lamp can be represented, and the pattern formed by splicing the spliced lamp in the physical space can be mapped to the graphical user interface of the terminal device.
[0047] In an embodiment, the spliced lamp is spliced in one facade of the physical space, and thus the spatial topology of the spliced lamp can be defined based on a reference coordinate system describing the plane. Figure 4 In another embodiment, the spliced lamp can also be spliced in multiple facades of the physical space, or spliced in one curved surface or multiple different facades, and thus a reference coordinate system describing the three-dimensional space can also be constructed to define the spatial topology graph of the spliced lamp. Regardless of the reference coordinate system based on which the data model of the spatial topology graph is described, a target view angle for the spatial topology graph can ultimately be determined, and the spatial topology graph is displayed in the graphical user interface according to the target view angle. Figure 4
[0048] In an embodiment, the graphical user interface of the terminal device can be laid out as shown in Figure 3 , in which an effect editing area 30 is provided, which presents the spatial topology of the spliced lamp according to the predetermined target view angle. Figure 4 The position identifier 10 of each lamp body unit of the spliced lamp and the connection relationship between the lamp body unit and other lamp body units are clearly shown in the spatial topology. Figure 4
[0049] Step S2200, pop up a control panel, provide an entry of multiple scene pages in a scene area of the control panel, and list at least one lamp effect template under a default scene page;
[0050] As shown in Figure 3 , in the graphical user interface of the terminal device, specifically, a control panel 50 can be displayed below the effect editing area 30, so that the user can customize the lamp effect configuration information through the control panel 50, thereby modifying the lamp effect playing instruction.
[0051] In an embodiment, the control panel is configured in a layer, which can be popped up from the graphical user interface, so as to be superimposed and located below the spatial topology of the effect editing area 30, thereby avoiding shielding the spatial topology, and the entire content in the control panel 50 can be traversed through a sliding pull-down operation. Figure 4 Figure 4
[0052] In order to facilitate the customization of the light effect used by the spliced lamp through the control panel 50, a scene area can be set in the control panel, in which a plurality of light effect templates are provided in advance, which can come from the server and be classified into different scene pages, an entrance of each scene page is set in the scene area of the control panel 50, one of the scene pages is set as a default scene page, and each light effect template object in the default scene page is displayed for the user to select a light effect template therein. The default scene page can be a scene page randomly initialized and set from a plurality of generated scene pages, or a scene page in which the last used light effect template of the spliced lamp is located. Different light effect templates have their corresponding light effect configuration information defined in advance, and the light effect configuration information encapsulates the description information of the corresponding light effect in different dimensions of light effect attributes. The light effect generally has an animation effect, and therefore, the motion process of the light effect is generally described by the light effect motion attribute data in the light effect configuration information.
[0053] Step S2300, visualizing the light effect motion attribute data of the target light effect template determined in the control panel into the control panel and / or the effect editing area;
[0054] When the user selects a light effect template object in one of the scene pages, the selected light effect template object becomes a target template object, indicating the currently applied light effect template, and the light effect configuration information of the light effect template corresponding to the target template object is applied to the light effect represented by the current graphical user interface, in particular the light effect motion attribute data for describing the motion process. Of course, the currently applied light effect template can also be the last used light effect template of the spliced lamp.
[0055] The light effect attributes in the light effect configuration information can flexibly include a plurality of types. For example, the light effect attributes can include any one or more of light effect style, light body form, light effect tone, light effect sensitivity, plane motion direction, motion base point, motion speed, etc. The light effect style is used to define the style type corresponding to the motion process of the light effect, the light body form is used to define the control granularity of the light emitting unit in the light body unit of the spliced lamp, the light effect tone is used to define the color combination of the light effect, the light effect sensitivity is used to define the response degree of the light effect to external conditions such as the frequency of ambient sound, the plane motion direction is used to define the target motion direction corresponding to the motion process of the light effect, the motion base point is used to define the starting point or the ending point of the motion process, and the motion speed is used to define the motion speed of the light effect, etc.
[0056] It can be seen that the light effect style, the light effect form, the light effect color, the light effect sensitivity, etc. have the function of describing the basic performance or overall performance of the light effect, and thus can be regarded as the basic attributes of the light effect. The plane motion direction, the motion base point, the motion speed, etc. constitute the light effect motion attribute data because they are involved in the description of the motion process of the light effect. It can be seen that the light effect attributes corresponding to the light effect motion attribute data are mainly set to adapt to the description of the motion process of the light effect. The plane motion direction and the motion base point in the light effect motion attribute data can be stored as entity data in the light effect configuration information, or can be converted and reflected in the working time sequence information of each lamp body unit of the spliced lamp, and the motion process of the light effect in the spliced lamp is embodied through the relative relationship between the working time sequence information of each lamp body unit.
[0057] The plane motion direction, the motion base point, the motion speed, etc. in the light effect motion attribute can jointly define the motion process of the light effect, and are reflected as corresponding data in the light effect configuration information. Therefore, in an embodiment, there is a corresponding relationship between each light effect motion attribute and the data expression in the light effect configuration information. Specifically, the motion base point is reflected as the starting time sequence or the ending time sequence of the motion process described in the light effect configuration information, the plane motion direction can be reflected in the working time sequence relationship of each lamp body unit in the light effect configuration information, and the motion speed can be used to determine the time difference of the working time sequence of each adjacent lamp body unit in the light effect configuration information.
[0058] The light effect motion attribute data in the light effect configuration information can be visually displayed in the current graphical user interface, mainly in the control panel and / or the effect editing area.
[0059] The control panel can be mainly used to visually display the light effect style, the light body form, the light effect color, the light effect sensitivity, the plane motion direction, the motion speed, etc. in the light effect attribute; the effect editing area is mainly used to display the motion base point in the light effect attribute. Therefore, in the control panel, a plurality of selectable items corresponding to each light effect attribute can be provided for the user to select according to the different light effect forms, for example, a plurality of recommended colors can be provided for the user to select for the light effect color. Of course, in other embodiments, the motion base point can also be displayed in the form of coordinate data in the corresponding area of the control panel.
[0060] For the plane motion direction of the light effect motion attribute, different plane motion directions are usually selected for the motion process of each light effect to control the motion mode of the motion process relative to the motion base point. Therefore, as shown in Figure 3 , an attribute editing area for selecting the plane motion direction is further provided in the control panel, and a plurality of selectable items corresponding to different plane motion directions are displayed in the attribute editing area, and the corresponding icons are displayed.
[0061] The motion attribute of a lighting effect, specifically the "motion base point," needs to be understood in conjunction with the nature of the lighting effect itself. In essence, a lighting effect is created by controlling different light-emitting units to emit light sequentially, shaping a motion flow of light to showcase the movement of light, render spatial atmosphere, and construct animation effects. Since a lighting effect involves a motion flow of light, starting at different points or ending at different points within the lighting fixture will result in different lighting effects. For example, starting the motion flow from the lower left corner of a lighting fixture's spatial layout will have a different visual effect than starting it from the geometric center of that location. Similarly, using the geometric center as the reference point for the lighting effect's motion flow, the visual effect will differ depending on whether the effect spreads outwards from that reference point or contracts inwards from it. Therefore, the motion flow of a lighting effect requires a reference point. This reference point, mapped onto its relative position in the spatial topology of the lighting fixture, is the motion base point 40 defined in this application.
[0062] It is easy to understand that, based on this motion base point or reference point, not only can the motion process of the lighting effect be started or terminated based on the "point", but it can also be extended horizontally or vertically from the "point" to determine a "line", and the corresponding motion process can be started or terminated based on the line.
[0063] Therefore, for the visualization of motion base points, in one embodiment, such as Figure 3 As shown, in the spatial topology Figure 4 The motion base point 40 is indicated by a visual identifier. The position of this base point 40 can be determined according to the reference coordinate system used by the effect editing area 30 in the graphical user interface. The reference coordinate system used by the effect editing area can also be the reference coordinate system used when constructing the spatial topology map. When the reference coordinate system of the effect editing area is a Cartesian coordinate system, the position of the motion base point can be represented by the coordinates corresponding to the horizontal and vertical axes in the Cartesian coordinate system. Of course, the spatial topology... Figure 4 Each lamp unit in the effect editing area 30 also has its corresponding position information in the reference coordinate system. Therefore, the relative positional relationship between the motion base point and the entire spliced lighting fixture, as well as with each lamp unit in the spliced lighting fixture, can be quickly determined based on the reference coordinate system used in the effect editing area 30.
[0064] The visual identifier of the motion base point (see the gear icon of the reference numeral 40) can facilitate the operation of the motion base point. The visual identifier is a control that can be moved in the effect editing area. When the position of the motion base point in the reference coordinate system of the effect editing area is determined, the visual identifier of the motion base point can be positioned and displayed at the corresponding position.
[0065] In some embodiments, the light effect template does not provide corresponding data of the motion base point. In this case, when the visual identifier of the motion base point is initialized and displayed in the effect editing area, a preset business logic can be used to select a lamp unit in the spatial topology diagram, and the position of the selected lamp unit can be used as the position of the motion base point, so that the corresponding visual identifier is displayed. The selected lamp unit can be randomly selected in the spatial topology diagram, or can be a lower left corner, an upper left corner, a lower right corner, an upper right corner, or a center lamp unit at the geometric center of the spatial topology diagram.
[0066] In some embodiments, the position of the motion base point can be determined based on the motion base point defined in some light effect configuration information. The description of the position of the motion base point in the light effect configuration information can not be explicitly given, but can be obtained by converting the working time sequence information of each lamp unit described in the light effect configuration information. Specifically, the position of the motion base point can be determined by comprehensively calculating the time sequence relationship of each lamp unit and the position relationship of the spatial topology diagram. This case is applicable to a splicing lamp that has already applied a light effect configuration information. The light effect configuration information can be directly called and used because it is pre-stored in the terminal device. Alternatively, the light effect configuration information can be the light effect configuration information of the light effect template selected by the user.
[0067] It can be understood that, based on the reference coordinate system of the effect editing area, the motion base point of the present application can not only be located at the position of a lamp unit in the spatial topology diagram, but also can be located at the position outside all lamp units in the spatial topology diagram. Corresponding to the physical space where the splicing lamp is located, the motion flow of the light effect can be implemented based on the position of a lamp unit in the splicing lamp as the reference point, or can be implemented based on a position outside the splicing lamp as the reference point. The reference point can be determined by determining the motion base point in the effect editing area and then mapping the motion base point to the physical space where the splicing lamp is located. As can be seen, the positioning range of the motion base point is not limited to the lamp units of the splicing lamp, but can be extended to a larger space range outside the splicing lamp. Therefore, the light effect style of the splicing lamp is enriched, and the user can modify the light effect by flexibly positioning the motion base point.
[0068] After each of the lamp effect attribute data in the lamp effect configuration information of the target lamp effect template, including the lamp effect motion attribute data, especially the visualized representation of the planar motion direction and the motion base point on the interface, is completed according to the above process, the user can interactively use it to realize the modification of these lamp effect motion attribute data and even other lamp effect attribute data.
[0069] Specifically, when the user needs to modify the planar motion direction of the currently applied lamp effect template, one of the selectable items in the corresponding attribute editing area can be selected, so that the planar motion direction corresponding to the selected selectable item becomes the target motion direction. When the user needs to modify the motion base point of the currently applied lamp effect template, the visualized identifier of the motion base point can be dragged in the effect editing area to reposition the motion base point. After the user modifies these lamp effect motion attributes and other lamp effect attribute data, the terminal device can update the lamp effect configuration information of the target lamp effect template accordingly.
[0070] Specifically, the visualized identifier of the motion base point is configured as a movable object, so that the user can reposition it. In one embodiment, the user is allowed to input the position information of the motion base point in the attribute editing area provided by the control panel and submit it to trigger a repositioning instruction, i.e., the horizontal coordinate and the vertical coordinate of the motion base point in the reference coordinate system of the effect editing area, to reposition the motion base point. In another embodiment, the user is allowed to trigger a repositioning instruction by dragging and releasing the visualized identifier to reposition the motion base point.
[0071] It is not difficult to understand that after the motion base point is repositioned by the user, it has new position information. Thus, in response to the repositioning instruction, the position information of the latest position of the visualized identifier of the motion base point relative to the spatial topology graph can be obtained, and the position representation of the motion base point can be modified accordingly. The position information of the visualized identifier is usually determined with reference to the coordinate system of the graphical user interface, and since it has a corresponding relationship with the reference coordinate system of the effect editing area, it can be directly converted into relative position data of the spatial topology graph, and by analogy, it can also be converted into position data of the reference coordinate system used by the modeling space of the spatial topology graph, and so on. In short, after the visualized identifier is repositioned, it is actually repositioned for the motion base point, and the latest position of the motion base point relative to the spatial topology graph is determined. This relationship can be used to re-determine the position data of the motion base point, regardless of whether the position data of the motion base point is stored in the corresponding variable in plaintext or represented in the lamp effect configuration information in non-plaintext.
[0072] Step S2400, generating a lamp effect playing instruction based on the latest lamp effect motion attribute data, and driving the spliced lamp to play the corresponding lamp effect.
[0073] When the user completes the modification of the lamp effect motion attribute data or other lamp effect attribute data through the above process, the lamp effect configuration information of the target lamp effect template is updated, so that the corresponding lamp effect playing instruction can be packaged in the format agreed in advance with the spliced lamp based on the lamp effect configuration information, and sent to the spliced lamp. After the control chip of the spliced lamp receives the lamp effect playing instruction, it is parsed and used to act on each lamp body unit, so that each lamp body unit works in order according to its corresponding working time sequence information, shows the effects corresponding to each lamp effect attribute, and thus cooperatively completes one or more motion processes and presents the entire lamp effect.
[0074] In the process of generating the lamp effect playing instruction based on the entire lamp effect attribute data including the lamp effect motion attribute data, the lamp effect attribute data is first reflected in the lamp effect configuration information, and then the corresponding lamp effect playing instruction is generated according to the lamp effect configuration information. However, the motion base point and the planar motion direction in the lamp effect motion attribute data are not necessarily explicitly reflected in the lamp effect configuration information, but are reflected as the working time sequence information corresponding to each lamp body unit of the spliced lamp. In this case, adaptive data processing can be performed.
[0075] Specifically, the lamp effect playing instruction can be converted and generated based on the corresponding lamp effect configuration information of the given target lamp effect template, and the lamp effect configuration information is a set of instructions describing how each lamp body unit in the motion process of the lamp effect emits light. In an example, according to the target motion direction specified by the default motion process, the lamp effect configuration information takes the motion base point as a reference, refers to the position and distance relationship of each lamp body unit in the spatial topology graph relative to the motion base point, sets the lamp body unit closer to the motion base point as an earlier working time sequence, sets the lamp body unit farther from the motion base point as a later working time sequence, and so on, so that the entire motion process starts to display the lamp effect animation from the motion base point. It can be seen that the relative position relationship of each lamp body unit in the spatial topology graph and the motion base point can be converted into the relative time sequence relationship of the corresponding lamp body unit and the reference point of the physical space in the lamp effect configuration information, so as to realize space-time conversion and store the relocation result of the motion base point in the lamp effect configuration information.
[0076] It is understandable that when the spliced lamp presents the corresponding light effect according to the light effect playing instruction, since the motion base point in the light effect motion attribute data can correspond to a mapping position of the physical space where the spliced lamp is located, the motion process performed by each lamp body unit of the spliced lamp according to the working time sequence thereof can be embodied as a motion in a plane motion direction specified in the light effect motion attribute data with the mapping position as a reference point. Since the motion process of the light effect is usually set to be played in a loop, the effect of each motion process played in a loop based on the reference point can usually be seen, and thus it can be seen that adjusting the motion base point and the plane motion direction in the graphical user interface can realize adjusting the reference point and the motion direction of the motion process of the light effect played in the spliced lamp. By modifying the motion base point and the plane motion direction, a light effect template can be changed into multiple motion processes and derived into multiple light effects. Of course, the effect of the light effect can also be changed by modifying the motion speed in the light effect motion attribute data.
[0077] As can be seen from the above embodiments, the present application has many technical advantages, including but not limited to:
[0078] The present application abstracts the spatial position layout of the lamp body units of the spliced lamp into a spatial topology graph, displays the spatial topology graph to the effect editing area of the graphical user interface, provides a control panel for loading multiple scene pages, provides the light effect templates of the corresponding scenes in each scene page for the user to select, visualizes the light effect motion attribute data of a target light effect template to the control panel and / or the effect editing area when the target light effect template is determined, facilitates the user to edit, and finally generates the light effect playing instruction by using the latest light effect motion attribute data, so that the user can modify the motion process of the light effect by modifying the light effect attribute motion data, and flexibly define a new light effect. The present application not only expands the function of the spliced lamp product, but also opens the light effect customization capability to the user, and can significantly improve the user experience of the spliced lamp.
[0079] Further, the present application provides an editing interface of the light effect motion attribute data by providing the control panel and the effect editing area, converts the setting process of the light effect playing instruction from complex programming instructions to convenient human-computer interaction means, improves the light effect editing and light effect application efficiency of the spliced lamp, and helps the rapid popularization and application of the spliced lamp in the industry.
[0080] On the basis of any one of the embodiments of the present application, please refer to Figure 4 The control panel provides an entrance of multiple scene pages in the scene area, and lists at least one light effect template under a default scene page, including:
[0081] Step S2210, providing a plurality of scene pages in the scene area of the control panel, setting one of the scene pages as a default scene page;
[0082] As shown in the figure, the control panel in the graphical user interface provides a scene area for presenting a plurality of scene page entries. Touching each scene page entry can switch the scene page to a current scene page, and expand one or more light effect template objects contained in the current scene page to display the corresponding light effect template. Generally, a default scene page can be initialized as the current scene page, and different scene pages can be switched by the user as needed. Figure 3
[0083] Step S2220, determining the lamp type of the spliced lamp according to the characteristic identifier of the spliced lamp;
[0084] After the terminal device establishes a data communication connection with the spliced lamp, the characteristic identifier of the spliced lamp can be obtained. The characteristic identifier of the spliced lamp can encapsulate the lamp type, and the lamp type can indicate the product type to which the geometric shape of the lamp body unit of the spliced lamp belongs. Different product types have different geometric shapes of lamp body units, and the matching light effect templates are also different. In this case, it is meaningful to provide light effect templates for different lamp types.
[0085] Step S2230, querying the light effect templates of different preset scenes matching the lamp type from the server;
[0086] The manufacturer provides different product types matching light effect templates in the server. In this case, the terminal device submits the lamp type of the spliced lamp to the server for query, which can drive the server to query the light effect templates matching the lamp type and the scene types to which they belong. The terminal device encapsulates the light effect configuration information of the light effect templates and the scene types to which they belong into a list and pushes it to the terminal device. After obtaining the list, the terminal device can implement interface display.
[0087] Step S2240, mapping the light effect templates corresponding to each scene to the scene pages corresponding to each scene, so that the light effect templates of the default scene page can be displayed.
[0088] After the terminal device obtains the list pushed by the server, it distinguishes different scene types, and in the scene area of the control panel, the scene pages corresponding to each scene type are displayed as light effect template objects, and the light effect template objects are mapped to the corresponding light effect configuration information. In this way, each light effect template can be displayed in the corresponding scene page according to its scene type, which facilitates the user to find the appropriate light effect template by switching different scene pages.
[0089] According to the above embodiments, the lamp effect template is provided in a scene-based manner, which facilitates the user to quickly understand the lamp effect form, quickly retrieve the target lamp effect template that the user likes and apply it, is very efficient, and provides a scene area in the control panel, displays the lamp effect templates corresponding to each scene in the form of a scene page in the scene area, can provide a large number of lamp effect templates in a limited interface space, has a large information capacity, low interface space occupation, and higher information interaction efficiency.
[0090] On the basis of any one of the embodiments of the application, refer to Figure 5 one of the scene pages is set as a default scene page, including:
[0091] Step S2211, determine the historical lamp effect template applied by the spliced lamp and the historical scene corresponding to the historical lamp effect template;
[0092] For the case that the spliced lamp has used a lamp effect template before, the terminal device usually locally stores the lamp effect configuration information of the lamp effect template used by the spliced lamp last time, and when the user connects the spliced lamp again, the lamp effect configuration information of the lamp effect template is loaded according to the default business logic. The lamp effect template used last time can be referred to as a historical lamp effect template, and the historical lamp effect template is usually stored in association with its scene type, so that the historical scene can be determined.
[0093] Step S2212, switch the scene page corresponding to the historical scene to a default scene page in the control panel, and highlight the lamp effect template corresponding to the historical lamp effect template in the default scene page.
[0094] After the historical scene and the historical lamp effect template are determined, the scene page corresponding to the historical scene can be further switched to the default scene page currently displayed in the scene area of the control panel, and the lamp effect template object corresponding to the historical lamp effect template in the default scene page is also highlighted. In this way, the user can quickly know the lamp effect used by the spliced lamp last time, and can modify the historical lamp effect template, thereby avoiding the user to newly configure the lamp effect every time.
[0095] According to the above embodiments, by mapping the process of loading the historical lamp effect template to the interface performance in the scene area of the control panel, the business logic of the user editing the lamp effect of the spliced lamp can be optimized, the user experience is improved, and the lamp effect application of the spliced lamp is more continuous.
[0096] On the basis of any one of the embodiments of the application, refer to Figure 6 visualizing the lamp effect motion attribute data of the target lamp effect template determined in the control panel to the control panel and / or the effect editing area, including:
[0097] Step S2310, the visual identifier of the motion base point in the light effect motion attribute data of the target light effect template is positioned and displayed at the corresponding position of the effect editing area, and the positional relationship of the motion base point in the modeling space of the spatial topology graph of the spliced lamp is determined.
[0098] As described previously, for the motion base point in the light effect motion attribute data of the target light effect template, its visual identifier can be positioned and displayed at the corresponding position of the effect editing area. In a specific embodiment, the spatial topology graph can be generated based on the modeling space, so the positioning of the visual identifier mainly represents the positioning in the modeling space.
[0099] The process of generating the spatial topology graph of the spliced lamp based on the modeling space mainly includes:
[0100] Firstly, a reference coordinate system of the effect editing area is established, and a modeling space is constructed based on the reference coordinate system:
[0101] The effect editing area of the graphical user interface of the terminal device is a two-dimensional plane, which has its own plane rectangular coordinate system. One dimension can be extended based on the plane rectangular coordinate system to obtain a three-dimensional reference coordinate system. The three-dimensional reference coordinate system can also correspond to or directly serve as the reference coordinate system of the modeling space used to generate the spatial topology graph. Thus, a modeling space is constructed through the reference coordinate system.
[0102] Secondly, the positions of the lamp body units of the spliced lamp described in the corresponding physical space in the layout description information are mapped to the corresponding positions in the modeling space to generate corresponding textures.
[0103] In order to generate the spatial topology graph of the spliced lamp in the modeling space, the positions of the lamp body units in the physical space represented by the edge connection relationship information in the layout description information of the spliced lamp can be mapped to the corresponding positions in the modeling space, and then the textures of the lamp body units are generated at the corresponding positions. Adaptively, when describing the positions of the lamp body units in the physical space and the edge connection relationship information, the layout description information can adapt to the needs of three-dimensional modeling, and a third-dimensional coordinate can be added on the basis of the horizontal coordinate and the vertical coordinate.
[0104] Finally, the textures in the modeling space are rendered to generate the spatial topology graph of the spliced lamp:
[0105] The textures corresponding to the lamp body units in the modeling space are rendered on the screen, and the spatial topology graph corresponding to the spliced lamp and the identifiers of the lamp body units in the spatial topology graph can be obtained in the effect editing area.
[0106] The space topology graph is realized based on the modeling space, the view angle of the space topology graph in the effect editing area is adjusted on demand, and subsequently, light effect simulation can be performed on the space topology graph by applying light effect configuration information. In this way, for a spliced light fixture with a complex space form, the light effect performance of the spliced light fixture can be intuitively observed in the graphical user interface of the terminal device.
[0107] Based on the space topology graph of the spliced light fixture generated based on the modeling space, the motion base point can be visually presented in the following process, please refer to Figure 7 , which includes:
[0108] In step S2311, light effect configuration information of a target light effect template is acquired. The light effect configuration information encapsulates working time sequence information of each light body unit of the spliced light fixture. The working time sequence information is determined in association with the spatial position of the light body unit in a predetermined planar motion direction with a predetermined motion base point as a reference.
[0109] As described above, the light effect configuration information encapsulates the working time sequence information of each light body unit of the spliced light fixture. The working time sequence of each light body unit has a sequence relationship, which corresponds to the position relationship in the space topology graph. Specifically, the light effect configuration information converts the sequence of the positions of the light body units in space relative to the motion base point into the sequence of the time sequence on the motion process according to the planar motion direction of the motion process of the light effect adopted, with the motion base point as a reference. For example, when the center light body unit where the center of a circular layout is located is determined as the motion base point, and the planar motion direction of the motion process of the light effect is determined as outward diffusion, the working time sequence information of the center light body unit can be represented as 0 seconds in the light effect configuration information, the working time sequence information of the first ring of light body units next to the center light body unit can be represented as 0.5 seconds, the working time sequence information of the second ring of light body units next to the first ring of light body units can be represented as 1.0 second, and so on. By determining the working time sequence information of each light body unit, the spliced light fixture is controlled to emit light, so that each light body unit emits light according to the corresponding working time sequence, thereby presenting the motion process of the light effect in cooperation.
[0110] In step S2312, the time sequence position of the motion base point is determined according to the working time sequence information, and is mapped as a spatial position in a reference coordinate system of the effect editing area.
[0111] It is also not difficult to understand according to the above examples that when the planar motion direction is determined, the working time sequence information of the motion base point corresponding to the central light body unit can also be deduced by using the time difference between the working time sequence information between different light body units, and the position of the motion base point relative to the light effect configuration information can be inversely deduced by mapping these working time sequences to the spatial topology graph. Even if the motion base point is outside the spatial topology graph, its spatial position can still be determined based on the reference coordinate system of the effect editing area.
[0112] For example, it is assumed that the spatial topology graph is in a circular ring layout, the planar motion direction is specified as the type of outward diffusion, the motion base point is located at the center of the circular ring layout outside the spatial topology graph, and the working time sequence information thereof should be represented as 0 seconds. However, since there is no corresponding light body unit, the working time sequence information is not given in the light effect configuration information in the open. However, each light body unit of the spliced lamp has set the working time sequence information of the light body units in different circles in the manner of an equal time difference, for example, 0.5 seconds, with the center as the motion base point. Then, the time difference can be used to determine that every 0.5 seconds is a region occupied by a light body unit. Accordingly, the working time sequence information 0 seconds in the specific spatial position in the reference coordinate system of the effect editing area, that is, the position of the motion base point, can be deduced.
[0113] When mapping the time sequence position of the motion base point to the spatial position in the effect editing area, the reference coordinate system of the modeling space can be correspondingly used to calculate the related position information, so as to quickly determine the specific position of the motion base point in the modeling space.
[0114] Step S2313, displaying the visual identifier corresponding to the motion base point at the spatial position.
[0115] Similarly, after determining the spatial position of the motion base point in the effect editing area, a movable object corresponding to the visual identifier can be called and displayed in the spatial position, so as to facilitate user operation.
[0116] According to the above embodiments, for the existing light effect configuration information, the working time sequence information of each light body unit of the spliced lamp represented therein can be used to deduce the coordinate information of the motion base point in the effect editing area, determine the spatial position thereof in the effect editing area, and then mark the spatial position with a visual identifier. This facilitates the user to call the light effect configuration information historically used by the spliced lamp, accurately display the visual identifier of the motion base point of the light effect configuration information relative to the spatial topology graph of the spliced lamp, facilitate the user to more real-time and intuitively operate the motion base point of the light effect used by the spliced lamp, and realize what you see is what you get.
[0117] Step S2320, visualizing and displaying direction data and / or speed data in the light effect motion attribute data of the target light effect template into the control panel, the direction data being used to define the motion direction of the motion process of the light effect corresponding to the target light effect template, and the speed data being used to define the motion speed of the light effect corresponding to the target light effect template.
[0118] As shown in Figure 3 , for the direction data in the light effect motion attribute data in the target light effect template, its main role is to describe the planar motion direction adopted by the target light effect template. As described above, the planar motion direction is not necessarily given in the light effect configuration information in the open text, and in some embodiments, it can be represented as the working time in the working time sequence information corresponding to each lamp body unit of the spliced lamp in the light effect configuration information. Thus, according to the mapping to the spatial topology graph according to the working time, the motion position relationship in space of each lamp body unit in the spatial topology graph can be determined, and the corresponding planar motion direction can be determined. Thus, the target motion direction currently used by the target light effect template can be indicated by highlighting the selectable item corresponding to the planar motion direction on the control panel.
[0119] For the speed data in the light effect motion attribute data, it is mainly used to define the motion speed of the light effect corresponding to the target light effect template. A progress bar for adjusting the motion speed can be loaded in the control panel to represent it. The setting operation of the user on the progress bar can correspondingly obtain a speed data. This speed data can be integrated into the time difference in the working time sequence information of different lamp body units in the light effect configuration information, and the corresponding speed data can also be inversely deduced according to the time difference represented by the working time sequence information of adjacent lamp body units in the light effect configuration information.
[0120] According to the above embodiments, by distinguishing different contents of the light effect motion attribute data, adapting the motion base point, direction data, speed data and the like, and visualizing them into different regions of the interface, i.e., the effect editing region and the control panel, the visualized display of each part is more humanized, which facilitates efficient interaction of the user, not only makes the light effect template more intuitive, but also improves the light effect customization efficiency.
[0121] On the basis of any one of the embodiments of the present application, please refer to Figure 8 , generating a light effect playing instruction based on the latest light effect motion attribute data to drive the spliced lamp to play the corresponding light effect, comprising:
[0122] Step S2410, obtaining the motion base point after the repositioning and the adjusted direction data;
[0123] When the user determines the target template object by selecting a light effect template object in the scene page, generates the corresponding direction data by selecting the target motion direction in the attribute editing area, and repositions the motion base point by repositioning the visual identifier in the effect editing area if necessary, the data corresponding to the user's modifications can be used to modify the light effect configuration information of the target template object to complete the light effect customization.
[0124] Step S2420, according to the target motion direction specified by the direction data, the working time sequence information of each lamp body unit of the spliced lamp in the light effect configuration information of the target light effect template is updated according to the relative spatial position relationship of each lamp body unit of the spliced lamp relative to the motion base point.
[0125] The target motion direction determines the spatial position sequence of each lamp body unit of the spliced lamp relative to the motion base point, and therefore, according to the relative spatial position relationship of each lamp body unit of the spliced lamp relative to the motion base point, the working time sequence information of each lamp body unit in the light effect configuration information of the target template object can be updated in the manner described above, so that the working time sequence relationship of each lamp body unit after the update matches the motion process defined by the target motion direction, thereby achieving modification of the light effect configuration information.
[0126] For example, for the direction data, the update can reflect the order of light emission between the lamp body units; for the motion base point, the update can reflect the starting or ending node of light emission of the lamp body units; for other embodiments, the speed data modified by the user can be further obtained for update, and the updated speed data reflects the time difference between adjacent lamp body units in the order of light emission.
[0127] Step S2430, the light effect configuration information with the updated working time sequence information is packaged as a light effect playing instruction and sent to the spliced lamp to drive the spliced lamp to play the corresponding light effect.
[0128] When the user completes the setting of the target light effect template, causing the working time sequence information in the light effect configuration information to be adaptively modified according to the set planar motion direction and motion base point (of course, the motion speed can also be included), the application instruction can be submitted, in response to which the terminal device converts the light effect configuration information of the target light effect template into a light effect playing instruction according to the format pre-agreed with the spliced lamp, and then sends the light effect playing instruction to the spliced lamp. After receiving the light effect playing instruction, the spliced lamp performs corresponding analysis, and then converts it into a light effect control signal, which is transmitted to each lamp body unit to control each lamp body unit to emit light according to its corresponding working time sequence, cooperatively playing the corresponding light effect in cooperation with other lamp body units associated with the working time sequence.
[0129] According to the above embodiments, the user can be provided with multiple lamp effect templates, and the user can define a new lamp effect based on a selected target lamp effect template by repositioning a motion base point and resetting a plane motion direction, thereby enriching the implementation forms of the lamp effect and expanding the lamp effect diversity of the spliced lamp.
[0130] On the basis of any one of the embodiments of the present application, refer to Figure 9 Before displaying the spatial topology graph of the spliced lamp in the effect editing area, the method comprises:
[0131] In step S1100, a data communication link to the spliced lamp is established, and the characteristic identifier of the spliced lamp is acquired based on the data communication link;
[0132] As described above, the communication component is arranged in the spliced lamp, and the terminal device can perform bidirectional communication by establishing a data communication link with the communication component. For example, the terminal device can acquire the characteristic identifier of the spliced lamp, perform initialization binding, associate with the characteristic identifier, and store the lamp effect configuration information used by the spliced lamp.
[0133] In step S1200, the layout description information of the spliced lamp is acquired based on the characteristic identifier, and the spatial topology graph of the spliced lamp in the reference coordinate system of the effect editing area is generated. The layout description information is used to describe the spatial position relationship information of each lamp body unit of the spliced lamp in the physical space.
[0134] After obtaining the characteristic identifier, the terminal device can also read the serial data of each lamp body unit of the spliced lamp through the data communication link, determine the layout description information corresponding to the spatial layout of each lamp body unit based on the serial communication protocol, associate the characteristic identifier, and store the layout description information to the local.
[0135] In other words, since each lamp body unit can be connected with one or more other lamp body units, each lamp body unit actually has edge connection relationship information. In the process of configuring the spliced lamp, the edge connection relationship information can be determined. For example, the A' interface of the A lamp body unit and the B' interface of the B lamp body unit establish an edge connection. Therefore, this relationship information can be represented as data, and these data constitute the layout description information. It is not difficult to understand that this layout description information describes the spatial position relationship information of each lamp body unit of the spliced lamp in the physical space.
[0136] Since the edge connection relationship information of each lamp body unit of the spliced lamp is given in the layout description information, the layout graph of each lamp body unit can be constructed according to the edge connection relationship information, and the spatial topology graph can be obtained.
[0137] In one embodiment, considering that the spliced lamps are usually laid out on a plane, the position of the graphical identifier of each lamp body unit can be determined according to the edge connection relationship information of each lamp body unit in a two-dimensional space, thereby splicing the spatial topology of the spliced lamps and displaying the spatial topology in the effect editing area.
[0138] In another embodiment, the physical space where the spliced lamps are located can also be modeled in a three-dimensional space, and then the spatial topology can be constructed in the modeling space by using the edge connection relationship information of each lamp body unit, and the spatial topology can be displayed in the effect editing area at the best viewing angle.
[0139] According to the above embodiments, the spatial topology can be generated based on the actual layout relationship of each lamp body unit of the spliced lamps in the physical space, so that the spatial topology displayed in the effect editing area can accurately correspond to the spatial layout of the spliced lamps in the physical space, and the subsequent determination of the motion base point is more accurate.
[0140] On the basis of any embodiment of the present application, after rendering the texture of the modeling space to generate the spatial topology of the spliced lamps, the method comprises:
[0141] First, in response to a viewing angle adjustment instruction acting on the spatial topology, the modeling space is rotated to adjust the spatial topology to a target viewing angle.
[0142] After the spatial topology of the spliced lamps is rendered in the modeling space, the user can adjust the viewing angle of the spatial topology with respect to the modeling space, and switch the spatial topology from the current viewing angle to the target viewing angle through operations such as touch and drag. In this way, for the spatial topology occupying multiple facades or curved surfaces, the target area can be highlighted through viewing angle adjustment.
[0143] Then, based on the target viewing angle, it is judged whether the visualization identifier of the motion base point is blocked, and when it is blocked, the visualization identifier is displayed as a controllable perspective object.
[0144] In the modeling space of the spatial topology, the motion base point is determined. When the viewing angle of the motion base point is invisible by rotating the modeling space, the motion base point will be blocked in theory. For this situation, whether the visualization identifier of the motion base point is blocked with respect to the current target viewing angle can be judged based on the position information of the visualization identifier in the modeling space. If it is determined that the visualization identifier is blocked, the visualization identifier is displayed as a perspective object at the original position, and it is ensured that it is controllable. In this way, the user can directly drag the visualization identifier and drop it at the position of the current target viewing angle, so as to switch the motion base point to a certain position of the current target viewing angle.
[0145] According to the above embodiments, after the perspective switching of the space topology graph, the visualized mark corresponding to the motion base point can be viewed and controlled, and the user can control the same motion base point between different perspectives without complex operations, which is convenient and efficient.
[0146] On the basis of any embodiment of the present application, please refer to Figure 10 Before generating the light effect playing instruction based on the latest light effect motion attribute data, the method comprises:
[0147] Step S4100, in response to a pressing operation event acting on the visualized mark, identifying a light body form corresponding to the space topology graph, and determining each selectable positioning unit in the space topology graph according to the light body form;
[0148] The light body unit can have different forms, and one light body unit can include multiple independently controllable light emitting units. Depending on the control granularity of the light effect of the spliced lamp, the correspondence between the motion base point and the light body unit can be specified to the control granularity of the light emitting unit inside the light body unit. Therefore, when setting the motion base point corresponding to the space topology graph of the spliced lamp, in order to facilitate the user to select a specific light emitting unit inside the light body unit in the space topology graph, the user can be guided to select a position corresponding to the specific light emitting unit to set the motion base point according to different light body forms. Accordingly, when the user presses the visualized mark to trigger the pressing operation event of the visualized mark, the terminal device can obtain the type information of the light body form of the spliced lamp according to the characteristic identifier of the spliced lamp, determine multiple positioning units according to the specific light body form of the space topology graph, and each positioning unit corresponds to a light emitting unit in a light body unit.
[0149] As shown in the interface of Figure 11 , since the light body unit is a regular hexagonal structure, each side and each prismatic region is provided with an independently controllable light emitting unit, so each side and each prismatic region can be determined as a positioning unit; as shown in the interface of Figure 12 , since the light body unit is a Y-shaped structure including multiple branches, the end points and the middle points of each branch are provided with independently controllable light emitting units, so these end points and middle points can be set as positioning units.
[0150] In an embodiment, to facilitate the user to identify the positioning unit, the position of each positioning unit corresponding to the space topology graph can be displayed with a conforming mark, for example, as shown by the circles in Figure 12 .
[0151] Step S4200, in response to an operation event that the visualized mark overlaps with any positioning unit during the pressing process, selecting the positioning unit;
[0152] When the user presses the visual identifier and moves it above a positioning unit, the visual identifier substantially coincides with the positioning unit in position, in which case, the user can be considered to have selected the positioning unit.
[0153] In one embodiment, the selected positioning unit can be highlighted, for example Figure 11 and Figure 12 In Figure 11 the selected positioning unit is displayed in bold lines, Figure 12 the selected positioning unit is displayed in solid dots.
[0154] In step S4300, in response to the release operation event triggered by the visual identifier at the selected positioning unit, the selected positioning unit is determined as the latest position of the visual identifier, and the motion base point is updated according to the latest position.
[0155] When the user determines the selected positioning unit, the user can release the visual identifier, thereby triggering the release operation event, and then updating the position information of the motion base point according to the latest position of the visual identifier, i.e. the position information of the selected positioning unit, to realize the repositioning of the motion base point.
[0156] As can be seen from the above embodiments, by distinguishing the specific forms of the lamp body units of the spliced lamp and setting corresponding positioning units for the user to select during the repositioning of the motion base point, the specific positions in the spliced lamp can be effectively corresponded, especially when responding to different events and making different visual processing in each specific link of the user operation process, better guiding effect can be achieved, and the repositioning of the motion base point by the user can be more accurate.
[0157] Referring to Figure 13 Another embodiment of the present application also provides a scene type light effect configuration device, which comprises a topology display module 2100, a panel display module 2200, an attribute display module 2300, and a light effect application module 2400. The topology display module 2100 is configured to display a spatial topology diagram of a spliced lamp in an effect editing area, and the spatial topology diagram corresponds to a spatial position layout of each lamp body unit of the spliced lamp in a physical space and presents a corresponding plurality of lamp body units. The panel display module 2200 is configured to pop up a control panel, provide an entry of a plurality of scene pages in a scene area of the control panel, and list at least one light effect template under a default scene page. The attribute display module 2300 is configured to visually display light effect motion attribute data of a target light effect template determined in the control panel in the control panel and / or the effect editing area. The light effect application module 2400 is configured to generate a light effect playing instruction based on the latest light effect motion attribute data, and drive the spliced lamp to play a corresponding light effect.
[0158] On the basis of any one of the embodiments of the present application, the panel display module 2200 comprises: an entry configuration unit configured to provide an entry of a plurality of scene pages in a scene area of the control panel, and set one of the scene pages as a default scene page; a type identification unit configured to determine a lamp type of the spliced lamp according to a feature identifier of the spliced lamp; a template loading unit configured to query a lamp effect template under different preset scenes matched with the lamp type from a server; and a template display unit configured to map the lamp effect template corresponding to each scene into the scene page corresponding to each scene, so that the lamp effect template of the default scene page is displayed.
[0159] On the basis of any one of the embodiments of the present application, the entry configuration unit comprises: a historical access sub-unit configured to determine a historical lamp effect template applied by the spliced lamp and a corresponding historical scene; and a default configuration sub-unit configured to switch the scene page corresponding to the historical scene to the default scene page, and highlight the lamp effect template corresponding to the historical lamp effect template in the default scene page.
[0160] On the basis of any one of the embodiments of the present application, the attribute display module 2300 comprises: a base point positioning unit configured to position and display a visual identifier of a motion base point in the lamp effect motion attribute data of the target lamp effect template to a corresponding position of the effect editing area, and determine a positional relationship of the motion base point in a modeling space of a spatial topology graph of the spliced lamp; and a data loading unit configured to visually display direction data and / or speed data in the lamp effect motion attribute data of the target lamp effect template in the control panel, the direction data being used to define a motion direction of a motion process of the lamp effect corresponding to the target lamp effect template, and the speed data being used to define a motion speed of the lamp effect corresponding to the target lamp effect template.
[0161] On the basis of any one of the embodiments of the present application, the base point positioning unit comprises: a configuration acquisition sub-unit configured to acquire lamp effect configuration information of the target lamp effect template, the lamp effect configuration information encapsulating working time sequence information of each lamp body unit of the spliced lamp, the working time sequence information being determined in association with a spatial position of the lamp body unit in a predetermined plane motion direction based on a predetermined motion base point; a position mapping sub-unit configured to determine a time sequence position of the motion base point according to the working time sequence information, and map the time sequence position to a spatial position in a reference coordinate system of the effect editing area; and an identifier display sub-unit configured to display a visual identifier corresponding to the motion base point at the spatial position.
[0162] On the basis of any one of the embodiments of the present application, the lamp effect application module 2400 comprises: a data acquisition unit configured to acquire the motion base point after repositioning and the adjusted direction data; a timing update unit configured to update the working timing information of each lamp body unit of the spliced lamp in the lamp effect configuration information of the target lamp effect template according to the target motion direction specified by the direction data and the relative spatial position relationship of each lamp body unit of the spliced lamp relative to the motion base point; and an instruction packaging unit configured to package the lamp effect configuration information with the updated working timing information into a lamp effect playing instruction and send the instruction to the spliced lamp to drive the spliced lamp to play the corresponding lamp effect.
[0163] On the basis of any one of the embodiments of the present application, the scene type lamp effect configuration device of the present application comprises: a lamp connection module configured to establish a data communication link to the spliced lamp and acquire the feature identifier of the spliced lamp based on the data communication link; and a topology mapping module configured to acquire the layout description information of the spliced lamp based on the feature identifier, generate a spatial topology map of the spliced lamp in a reference coordinate system of an effect editing area, and use the layout description information to describe the spatial position relationship information of each lamp body unit of the spliced lamp in the physical space.
[0164] On the basis of any one of the embodiments of the present application, please refer to Figure 14 Another embodiment of the present application also provides a scene type lamp effect configuration device which can be implemented by a computer device, as shown in Figure 14 The computer device comprises a processor, a computer readable storage medium, a memory and a network interface connected through a system bus. The computer readable storage medium of the computer device stores an operating system, a database and computer readable instructions. The database can store a control information sequence. When the computer readable instructions are executed by the processor, the processor can implement a scene type lamp effect configuration method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device can store computer readable instructions. When the computer readable instructions are executed by the processor, the processor can execute the scene type lamp effect configuration method of the present application. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art can understand that Figure 14 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can comprise more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0165] In the present embodiment, the processor is used to execute Figure 13The specific functions of each module and its sub-modules in the above embodiment, the memory stores the program codes and various data required for executing the above modules or sub-modules. The network interface is used for data transmission between the user terminal or the server. The memory in the above embodiment stores the program codes and data required for executing all modules / sub-modules in the scene type lamp effect configuration device of the present application, and the server can call the program codes and data of the server to execute the functions of all sub-modules.
[0166] The present application also provides a storage medium storing computer readable instructions, which are executed by one or more processors to make the one or more processors execute the steps of the scene type lamp effect configuration method described in any embodiment of the present application.
[0167] The present application also provides a computer program product, which includes computer programs / instructions, which are executed by one or more processors to implement the steps of the scene type lamp effect configuration method described in any embodiment of the present application.
[0168] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments of the present application can be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments of each method. The storage medium can be a computer readable storage medium such as a magnetic disc, an optical disc, a read-only memory (ROM), or a random access memory (RAM).
[0169] The above only describes some embodiments of the present application, and it should be pointed out that those skilled in the art can make some improvements and refinements without departing from the principles of the present application, and these improvements and refinements should also be considered as the protection scope of the present application.
[0170] In summary, the present application allows users to customize the lamp effect of the spliced lamp, and with the help of the spatial topology graph of the spliced lamp, it can realize the rapid customization of the lamp effect based on the selected scene lamp effect template, thereby expanding the practical function of the spliced lamp.
Claims
1. A method for configuring scene-based lighting effects, characterized in that, include: The effect editing area displays a spatial topology map of the splicing lights, which corresponds to the spatial arrangement of each light unit of the splicing lights in the physical space, presenting multiple light units accordingly. A pop-up control panel provides entry points to multiple scene pages in the scene area of the control panel, and displays at least one lighting effect template under the default scene page in the list. The visualization of the motion attribute data of the target lighting effect template determined in the control panel is displayed in the control panel and / or the effect editing area, including: positioning and displaying the visual identifier of the motion base point in the motion attribute data of the target lighting effect template at the corresponding position in the effect editing area, and determining the positional relationship of the motion base point in the modeling space of the spatial topology map of the spliced lighting fixtures; and visually displaying the direction data or direction data and speed data in the motion attribute data of the target lighting effect template in the control panel, wherein the direction data is used to define the motion direction of the motion flow of the lighting effect corresponding to the target lighting effect template, and the speed data is used to define the motion speed of the lighting effect corresponding to the target lighting effect template. Based on the latest motion attribute data of the visually displayed lighting effects, a lighting effect playback command is generated to drive the spliced lighting fixtures to play the corresponding lighting effects. This includes: obtaining the repositioned motion base point and the adjusted direction data; updating the working timing information of each lamp unit of the spliced lighting fixture in the lighting effect configuration information of the target lighting effect template according to the target motion direction specified by the direction data and the relative spatial position relationship of each lamp unit of the spliced lighting fixture relative to the motion base point; encapsulating the lighting effect configuration information with the updated working timing information into a lighting effect playback command and sending it to the spliced lighting fixtures to drive the spliced lighting fixtures to play the corresponding lighting effects.
2. The scene-based lighting effect configuration method according to claim 1, characterized in that, The scene area of the control panel provides entry points to multiple scene pages, and a list displays at least one lighting effect template under the default scene page, including: The scene area of the control panel provides entry points to multiple scene pages, and one of these scene pages can be set as the default scene page. The type of the splicing lighting fixture is determined based on its characteristic identifier; Query the server for lighting effect templates for different preset scenarios that match the type of lighting fixture; The lighting effect templates corresponding to each scene are mapped to the scene pages corresponding to each scene, so that the lighting effect templates of the default scene page can be displayed.
3. The scene-based lighting effect configuration method according to claim 1, characterized in that, Set one of the scene pages as the default scene page, including: Determine the historical lighting effect templates and corresponding historical scenes that have been applied to the spliced lighting fixtures; Switch the scene page corresponding to the historical scene to the default scene page, and highlight the lighting effect template corresponding to the historical lighting effect template in the default scene page.
4. The scene-based lighting effect configuration method according to claim 1, characterized in that, The visual identifiers of the motion base points in the motion attribute data of the target lighting effect template are positioned and displayed at the corresponding locations in the effect editing area. The positional relationship of the motion base points in the modeling space of the spatial topology map of the spliced lighting fixtures is determined, including: Obtain the lighting effect configuration information of the target lighting effect template. The lighting effect configuration information encapsulates the working timing information of each lamp body unit of the splicing lamp. The working timing information is based on a predetermined motion base point and associates the spatial position of the lamp body unit in a predetermined planar motion direction. The timing position of the motion base point is determined based on the working timing information, and it is mapped to the spatial position in the reference coordinate system of the effect editing area; A visual identifier corresponding to the motion base point is displayed at the spatial location.
5. The scene-based lighting effect configuration method according to any one of claims 1 to 4, characterized in that, Before displaying the spatial topology map of the tiled lighting fixtures in the effects editing area, the following is included: Establish a data communication link to the splicing light fixture, and obtain the feature identifier of the splicing light fixture based on the data communication link; Based on the feature identifier, the layout description information of the splicing light fixture is obtained, and a spatial topology map of the splicing light fixture located in the reference coordinate system of the effect editing area is generated. The layout description information is used to describe the spatial positional relationship information of each light unit of the splicing light fixture in the physical space.
6. A scene-based lighting effect configuration device, characterized in that, include: The topology display module is configured to display a spatial topology map of the splicing lights in the effect editing area. The spatial topology map corresponds to the spatial arrangement of each lamp unit of the splicing lights in the physical space, presenting multiple lamp units accordingly. The panel display module is set to pop up a control panel, providing entry points to multiple scene pages in the scene area of the control panel, and displaying at least one lighting effect template under the default scene page in a list; The attribute display module is configured to visualize the motion attribute data of the target lighting effect template determined in the control panel and / or the effect editing area. This includes: positioning and displaying the visual identifiers of the motion base points in the motion attribute data of the target lighting effect template at the corresponding positions in the effect editing area; determining the positional relationship of the motion base points in the modeling space of the spatial topology diagram of the spliced lighting fixtures; and visually displaying the direction data or a combination of direction data and speed data in the motion attribute data of the target lighting effect template in the control panel. The direction data is used to define the motion direction of the motion flow of the lighting effect corresponding to the target lighting effect template, and the speed data is used to define the motion speed of the lighting effect corresponding to the target lighting effect template. The lighting effect module is configured to generate a lighting effect playback command based on the latest lighting effect motion attribute data modified by the user in the visual display, driving the splicing lights to play the corresponding lighting effect. This includes: acquiring the repositioned motion base point and the adjusted direction data; updating the working timing information of each lamp unit of the splicing lights in the lighting effect configuration information of the target lighting effect template according to the target motion direction specified by the direction data and the relative spatial position relationship of each lamp unit of the splicing lights relative to the motion base point; encapsulating the lighting effect configuration information with updated working timing information into a lighting effect playback command, and sending it to the splicing lights to drive them to play the corresponding lighting effect.
7. The scene-based lighting effect configuration device according to claim 6, characterized in that, The panel display module includes: The entry configuration unit is configured to provide entry points for multiple scene pages in the scene area of the control panel, and set one of the scene pages as the default scene page; The type identification unit is configured to determine the type of the splicing lighting fixture based on its feature identifier; The template loading unit is configured to query the server for lighting effect templates for different preset scenarios that match the type of lighting fixture; The template display unit is configured to map the lighting effect templates corresponding to each scene to the scene pages corresponding to each scene, so that the lighting effect templates of the default scene page can be displayed.
8. The scene-based lighting effect configuration device according to claim 7, characterized in that, The entry configuration unit includes: The history access subunit is configured to determine the historical lighting effect templates that have been applied to the splicing lighting fixtures and their corresponding historical scenes. The default configuration sub-unit is set to switch the scene page corresponding to the historical scene to the default scene page and highlight the lighting effect template corresponding to the historical lighting effect template in the default scene page.
9. A scene-based lighting effect configuration device, comprising a central processing unit and a memory, characterized in that, The central processing unit is used to call and run a computer program stored in the memory to perform the steps of the scene-based lighting effect configuration method as described in any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that, It stores a computer program in the form of computer-readable instructions, which, when called by a computer, performs the steps of the scene-based lighting effect configuration method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Control method and device of lighting equipment, electronic equipment and storage medium
CN113778299A
Control method and device of light-emitting equipment, electronic equipment and storage medium
CN115904196A