CN116761302A - Scene type light effect configuration method and device, equipment and medium - Google Patents

Scene type light effect configuration method and device, equipment and medium Download PDF

Info

Publication number
CN116761302A
CN116761302A CN202310652215.0A CN202310652215A CN116761302A CN 116761302 A CN116761302 A CN 116761302A CN 202310652215 A CN202310652215 A CN 202310652215A CN 116761302 A CN116761302 A CN 116761302A
Authority
CN
China
Prior art keywords
lamp
effect
light effect
scene
spliced
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310652215.0A
Other languages
Chinese (zh)
Inventor
陈信儒
吴文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhiyan Technology Co Ltd
Shenzhen Qianyan Technology Co Ltd
Original Assignee
Shenzhen Zhiyan Technology Co Ltd
Shenzhen Qianyan Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhiyan Technology Co Ltd, Shenzhen Qianyan Technology Co Ltd filed Critical Shenzhen Zhiyan Technology Co Ltd
Priority to CN202310652215.0A priority Critical patent/CN116761302A/en
Publication of CN116761302A publication Critical patent/CN116761302A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The application relates to a scene type light effect configuration method, a device, equipment and a medium, wherein the method comprises the following steps: displaying a space topological graph of the spliced lamp in an effect editing area, wherein the space topological graph presents a plurality of corresponding lamp body units corresponding to the space position layout of each lamp body unit of the spliced lamp in a physical space; popping up a control panel, providing entries of a plurality of scene pages in a scene area of the control panel, and displaying at least one light effect template under a default scene page in a list manner; visually displaying the light effect movement attribute data of the target light effect template determined in the control panel into the control panel and/or the effect editing area; and generating a light effect playing instruction based on the latest light effect motion attribute data, and driving the spliced lamp to play the corresponding light effect. The application allows the user to quickly customize the light effect playing instruction based on the light effect templates of different scenes on the basis of contrasting the space topological graph, thereby improving the light effect self-defining efficiency.

Description

Scene type light effect configuration method and device, equipment and medium
Technical Field
The present application relates to the field of lighting technologies, and in particular, to a scene type light effect configuration method, a corresponding device and equipment thereof, and a computer readable storage medium.
Background
The lamp effect equipment has the functions of information display, atmosphere decoration and the like, is wide in application, has higher and higher intelligent degree, and has functions which are suitable for different requirements and are continuously developed. A typical lighting device is formed by splicing a plurality of lamp body units, and the lamp body units become a spliced lamp. The multiple lamp body units of the spliced lamp are unfolded along the plane to form an area array, when the lamp effect is required to be displayed through the spliced lamp, the lamp body units can be used as basic control units to perform corresponding light-emitting control on the lamp body units, and the lamp effect is played through the multiple lamp body units in a cooperative mode.
In order to play the corresponding light effect, considering the control difficulty of multi-point light emission, the light effect playing instruction is usually compiled according to the expected light effect in the prior art, and the light effect playing instruction is used for controlling the light effect equipment to play the corresponding light effect, so that for a common user, only the light effect playing instruction is selected and applied in a foolproof manner, and the method is relatively fast and efficient.
In practice, the limited light effect playing instruction causes the user to lose the flexibility of selection, and meanwhile, the product functions of the spliced lamp are limited. The lamp body units of the spliced lamp have the product function expansion potential of color tone diversification, splicing form diversification and lamp effect movement mode diversification, and how to mine the potential is needed to be continuously mined in the industry.
Disclosure of Invention
The application aims to provide a scene type light effect configuration method, a corresponding device and equipment thereof and a computer readable storage medium.
According to one aspect of the present application, there is provided a scene-type light effect configuration method, including:
displaying a space topological graph of the spliced lamp in an effect editing area, wherein the space topological graph presents a plurality of corresponding lamp body units corresponding to the space position layout of each lamp body unit of the spliced lamp in a physical space;
popping up a control panel, providing entries of a plurality of scene pages in a scene area of the control panel, and displaying at least one light effect template under a default scene page in a list manner;
visually displaying the light effect movement attribute data of the target light effect template determined in the control panel into the control panel and/or the effect editing area;
and generating a light effect playing instruction based on the latest light effect motion attribute data, and driving the spliced lamp to play the corresponding light effect.
According to another aspect of the present application, there is provided a scene-type light effect configuration apparatus, including:
the topology display module is used for displaying a space topology diagram of the spliced lamp in the effect editing area, and the space topology diagram corresponds to the space position layout of each lamp body unit of the spliced lamp in the physical space to display a plurality of corresponding lamp body units;
The panel display module is used for popping up a control panel, providing entries of a plurality of scene pages in a scene area of the control panel, and displaying at least one light effect template under a default scene page in a list manner;
the attribute display module is used for visually displaying the light effect movement attribute data of the target light effect template determined in the control panel into the control panel and/or the effect editing area;
and the lamp effect application module is used for 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.
According to another aspect of the present application, there is provided a scene-type lighting effect configuration apparatus comprising a central processor and a memory, the central processor being adapted to invoke the steps of running a computer program stored in the memory to perform the scene-type lighting effect configuration method.
According to another aspect of the present application, there is provided a non-transitory readable storage medium storing a computer program implemented in accordance with the scene-based lighting configuration method in the form of computer readable instructions, the computer program when executed by a computer, performing the steps included in the method.
According to another aspect of the application there is provided a computer program product comprising computer programs/instructions which when executed by a processor implement the steps of the scene-type lighting configuration method of any one of the embodiments of the application.
The present application has various technical advantages over the prior art including, but not limited to:
the application abstracts the space position layout of the lamp body units of the spliced lamp into a space topological graph, displays the space topological graph into an effect editing area of a graphical user interface, simultaneously provides a control panel for loading a plurality of scene pages, provides a lamp effect template of a corresponding scene in each scene page for a user to select, and displays the lamp effect movement attribute data of the target lamp effect template into the control panel and/or the effect editing area after determining one target lamp effect template, thereby facilitating the editing of the user, finally generating a lamp effect playing instruction by utilizing the latest lamp effect movement attribute data, leading the user to flexibly define a new lamp effect by modifying the movement flow of the lamp effect by modifying the lamp effect attribute movement data, expanding the functions of the spliced lamp products, opening the lamp effect self-defining capability to the user and obviously improving the user experience of the spliced lamp.
Furthermore, the application provides the editing interface of the light effect movement attribute data through providing the control panel and the effect editing area, converts the setting process of the light effect playing instruction from a complex programming instruction to a convenient man-machine interaction means, improves the light effect editing and light effect application efficiency of the spliced lamp, and is beneficial to the rapid popularization and application of the spliced lamp in industry.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a spliced lamp in an embodiment of the application;
fig. 2 is a flow chart of a scene type light effect configuration method in an embodiment of the application;
FIG. 3 is a graphical user interface diagram of a terminal device in an embodiment of the present application;
FIG. 4 is a flow chart showing a light effect template in a scene page according to an embodiment of the application;
FIG. 5 is a schematic flow chart of a loading history light effect template according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of the visual display of the light effect movement attribute data to the control interface and the effect editing area according to the embodiment of the application;
FIG. 7 is a schematic flow chart of a visual display of motion base points in an embodiment of the application;
FIG. 8 is a flowchart illustrating a method for updating light efficiency configuration information according to an embodiment of the present application;
fig. 9 is a schematic diagram of a connection flow between a terminal device and a spliced lamp in an embodiment of the present application;
FIG. 10 is a flow chart of a process for repositioning a motion base point in an embodiment of the application;
FIGS. 11 and 12 are examples of interface display effects for two spatial topologies corresponding to lamp shapes, respectively;
FIG. 13 is a schematic diagram of a scene-type lighting configuration device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The spliced lamp provided by the application is formed by adjacently splicing a plurality of lamp body units, and can have a plurality of different product forms according to different structures of the lamp body units and different splicing relations. The spliced lamp provided by the application can be suitable for being used as an atmosphere lamp, can play a role in dressing the space atmosphere, and is often installed in an indoor space.
For example, fig. 1 shows a spliced lamp formed by splicing a plurality of lamp body units 1 having a regular hexagonal structure, wherein each lamp body unit 1 includes a plurality of light emitting units, for example, each of the sides, each of the prismatic blocks, etc. of the regular hexagonal structure, so that light emission control with different granularity can be performed on each of the lamp body units 1, for example, each of the prismatic regions, sides, or all of the light emitting units in the lamp body unit 1 can be controlled individually, or the like.
Each lamp body unit 1 is provided with an installation interface and an electrical interface which are spliced with other lamp body units 1, or the installation interface and the electrical interface are combined into the same electromechanical interface, and a user can assemble spliced lamps in different forms by splicing different lamp body units 1 in sequence to splice different topological effects.
For convenient control, the spliced lamps are usually provided with a main control module 2, and the main control module 2 usually comprises a control chip, a communication component and the like.
The control Chip may be implemented by various embedded chips, such as a bluetooth SoC (System on Chip), a WiFi SoC, an MCU (Micro Controller Unit, microcontroller), a DSP (Digital Signal Processing ), and the like, where the control Chip generally includes a central processing unit and a memory, and is mainly used to store and execute program instructions to implement corresponding functions. The communication component can be used for communicating with external equipment, for example, can communicate with various intelligent terminal equipment such as a personal computer, a smart phone and the like, so that a user can give a lamp effect playing instruction to the spliced lamp through the terminal equipment.
After receiving the lamp effect playing instruction through the communication component, the control chip correspondingly analyzes the lamp effect playing instruction into lamp effect signals for controlling all the light emitting units of the spliced lamp, outputs the lamp effect signals to all the lamp body units 1, and controls the light emitting units of all the lamp body units 1 to cooperatively play the lamp effect.
In some embodiments, the master control module 2 may also configure power adapters, control panels, display screens, etc. as desired. The power adapter is mainly used for converting commercial power into direct current so as to supply power for the whole spliced lamp. The control panel typically provides one or more keys for implementing on-off control, etc. of the main control module 2. The display screen can be used for displaying various control information so as to be matched with keys in the control panel and support the realization of man-machine interaction functions. In some embodiments, the control panel may be integrated into the same touch display as the display.
The scene type lamp effect configuration method can be realized as a computer program product, is installed in terminal equipment to run, so that a man-machine interaction interface is provided for a user, the user finishes personalized customization of a lamp effect playing instruction, and then the lamp effect playing instruction is sent to a spliced lamp to control the spliced lamp to play corresponding lamp effects.
Referring to fig. 2, in one embodiment, the scene-type light effect configuration method of the present application includes:
step S2100, displaying a space topological diagram of the spliced lamp in an effect editing area, wherein the space topological diagram corresponds to the space position layout of each lamp body unit of the spliced lamp in a physical space and presents a plurality of corresponding lamp body units;
the spliced lamp is formed by sequentially abutting a plurality of lamp body units in a physical space according to a certain topological relation, so that after the lamp body units are spliced, a spatial position layout is presented, the spatial position layout is abstracted into a data model, and a spatial topological graph 4 is formed according to the data model composition, so that the representation of the spatial position layout among the lamp body units of the spliced lamp can be realized, and the pattern map formed by splicing the spliced lamp in the physical space is transferred to a graphical user interface of terminal equipment.
In one embodiment, the tiled lighting fixture is tiled in a facade of physical space, whereby the spatial topology of the tiled lighting fixture can be defined based on a reference frame describing the plane 4. In another embodiment, the spliced lamp can be spliced in a plurality of vertical surfaces of the physical space or spliced in a curved surface or a plurality of different vertical surfaces, and accordingly, a reference coordinate system describing the three-dimensional space can be constructed to define a space topological diagram of the spliced lamp. Regardless of the reference frame from which the data model of the spatial topology map 4 is described, a target perspective for which the spatial topology map is presented to the graphical user interface may ultimately be determined for the spatial topology map.
In one embodiment, the graphical user interface of the terminal device may be laid out as shown in fig. 3, in which an effect editing area 30 is provided, the effect editing area 30 presents a spatial topology diagram 4 of the spliced light fixture according to a given target viewing angle, and the position identifier 10 of each light body unit of the spliced light fixture and the connection relationship between the position identifier and other light body units are clearly shown by the spatial topology diagram 4.
Step S2200, popping up a control panel, providing entries of a plurality of scene pages in a scene area of the control panel, and displaying at least one lamp effect template under a default scene page in a list manner;
as shown in fig. 3, in the graphical user interface of the terminal device, specifically, a control panel 50 is displayed below the effect editing area 30, so that the user can implement the customization of the light effect configuration information through the control panel 50, thereby implementing the modification of the light effect playing instruction.
In one embodiment, the control panel is configured in a layer that pops up from the graphical user interface to overlay and reside under the spatial topology map 4 of the effects editing area 30, avoiding obscuring the spatial topology map 4, and traversing the entire contents within the control panel 50 by a sliding drop down operation.
In order to facilitate the customization of the light effect used by the spliced lamps through the control panel 50, a scene area may be set in the control panel, a plurality of light effect templates may be provided in the scene area in advance, the light effect templates may come from a server and be classified into different scene pages 60 according to scenes, an entry 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 the light effect template therein. The default scene page can be a scene page set by random initialization from a plurality of generated scene pages, or can be a scene page where a lamp effect template used last time by the spliced lamp is located. Different lamp effect templates predefine corresponding lamp effect configuration information, and the lamp effect configuration information encapsulates corresponding lamp effect description information with lamp effect attributes of different dimensions, and the lamp effect generally has animation effects, so that the motion flow of the lamp effect is generally described through lamp effect motion attribute data in the lamp effect configuration information.
Step S2300, visually displaying the light effect movement attribute data of the target light effect template determined in the control panel into the control panel and/or the effect editing area;
When a user selects one of the light effect template objects in one of the scene pages, the selected light effect template object becomes a target template object which represents the light effect template currently applied, 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 to the light effect movement attribute data used for describing the movement flow. Of course, the currently applied light effect template can also be the last-time used light effect template of the spliced lamp.
The light effect attribute in the light effect configuration information can flexibly contain a plurality of light effect attributes, and the light effect attributes can comprise any plurality of items such as a light effect style, a light body form, a light effect color tone, a light effect sensitivity, a plane movement direction, a movement base point, a movement speed and the like. The lamp effect style is used for defining style types corresponding to a motion flow of the lamp effect, the lamp body shape is used for defining control granularity of a light emitting unit in a lamp body unit of the spliced lamp, the lamp effect tone is used for defining color combination of the lamp effect, the lamp effect sensitivity is used for defining response degree of the lamp effect to external conditions such as frequency of environmental sound, the plane motion direction is used for defining a target motion direction corresponding to the motion flow of the lamp effect, the motion base point is used for defining a starting point or an end point of the motion flow, and the motion speed is used for defining motion speed degree and the like of the lamp effect.
It is easy to see that the style, form, color and sensitivity of the light effect have the function of describing the basic or global performance of the light effect, so that the light effect can be regarded as basic attribute of the light effect, and the plane movement direction, movement base point, movement speed and the like are all the light effect movement attribute data because the light effect movement process is participated in, and the light effect attribute corresponding to the light effect movement attribute data is mainly set in accordance with the description of the movement process of the light effect. The plane motion direction and the motion base point in the light effect motion attribute data are stored in the light effect configuration information, can be stored as entity data, can be converted and reflected in the working time sequence information of each lamp body unit of the spliced lamp, and can reflect the spatial expression of the motion flow of the light effect in the spliced lamp through the relative relation between the working time sequence information of each lamp body unit.
The plane motion direction, the motion base point, the motion speed and the like determined in the light effect motion attribute can jointly define a motion flow of the light effect and represent corresponding data in the light effect configuration information, so that in one embodiment, a corresponding relationship exists between each light effect motion attribute and a data expression in the light effect configuration information, specifically, the motion base point can represent a start time sequence or a stop time sequence of the motion flow described by the light effect configuration information, the plane motion direction can be represented in a working time sequence relationship of each light body unit in the light effect configuration information, and the motion speed can be used for time difference of the working time sequences of each adjacent light body unit in the light effect configuration information.
The light effect movement attribute data in the light effect configuration information can be visually represented in the current graphical user interface, mainly in the control panel and/or the effect editing area.
The control panel can be mainly used for visually representing specific light effect attributes such as the light effect style, the light body form, the light effect tone, the light effect sensitivity, the plane movement direction, the movement speed and the like in the light effect attributes; the effect editing area is mainly used for representing the light effect attributes of the exercise base points, and therefore, a plurality of selectable options can be provided for each light effect attribute according to different light effect forms in the control panel for selection by a user, for example, for the light effect tone, a plurality of recommended colors can be provided for single selection or multiple selection by the user. Of course, in other embodiments, the motion base points may also be presented in the form of coordinate data into the corresponding areas of the control panel.
For the motion attribute of the lighting effect, such as plane motion direction, the motion flow adopted by each lighting effect generally selects different plane motion directions so as to control the motion mode of the motion flow relative to the motion base point. To this end, as shown in fig. 3, a property editing area for selecting a plane movement direction may be further provided in the control panel, in which a plurality of selectable items, each of which corresponds to a plane movement direction, are displayed, and a corresponding icon is displayed.
For the motion base, a light effect motion attribute, needs to be understood in combination with the property of the light effect. Specifically, the lighting effect essentially comprises the steps of controlling different lighting units to emit light according to time sequence, and shaping a movement flow of the emitted light, so that a light movement process is displayed, a space atmosphere is rendered, and a moving picture effect is constructed. Since there is a moving flow of light emission in the light effect, the light effect starts at different starting points in the spliced luminaire or ends at different ending points, resulting in different light effects. For example, a motion flow for starting lighting at the lower left corner of a spatial layout position of a spliced lamp and a motion flow for starting lighting at the geometric center position of the spatial layout position are different in view angle effect; similarly, the geometric center position is also used as a reference point of the movement flow of the light effect, and when the light effect diffuses from the reference point to the periphery, the light effect and the reference point are different in view angle effect from each other when the light effect terminates inward disturbance. It can be seen that the motion flow of the lighting effect requires a reference point, which is the motion base point 40 defined in the present application when mapped onto the relative positional relationship with the spatial topology of the tiled lighting fixture.
It will be appreciated that based on this motion base point or reference point, not only can the motion flow of the lighting effect be started or terminated based on the "point", but also the "point" can be extended laterally or longitudinally to determine a "line", and the corresponding motion flow can be started or terminated based on the line.
Thus, for the visual representation of the motion base, in one embodiment, as shown in fig. 3, the motion base 40 is indicated in the spatial topology map 4 in the form of a visual identifier, and the position of the motion base 40 may be determined according to the reference coordinate system used by the effect editing area 30 in the graphical user interface, where the reference coordinate system used by the effect editing area may be the reference coordinate system used when constructing the spatial topology map. When the reference coordinate system of the effect editing area is a plane rectangular coordinate system, the position of the motion base point can be expressed as coordinates corresponding to the horizontal axis and the vertical axis in the plane rectangular coordinate system. Of course, each lamp unit in the spatial topology fig. 4 also has its corresponding position information in the reference coordinate system of the effect editing area 30, so the relative position relationship of the motion base point and the entire spliced lamp and each lamp unit in the spliced lamp can be quickly determined based on the reference coordinate system adopted by the effect editing area 30.
The visual identification of the motion base point (the gear icon with reference number 40) can play a role in conveniently controlling the motion base point, the visual identification is a control capable of moving in the effect editing area, and when the position of the motion base point in the reference coordinate system of the effect editing area is determined, the visual identification of the motion base point can be positioned to the corresponding position for display.
In some embodiments, the light effect template is allowed to provide no corresponding data of the motion base point, in this case, when the visual identifier of the motion base point is displayed in an initialized manner in the effect editing area, one light body unit may be selected in the space topological graph according to the preset service logic, and the position of the selected light body unit is taken as the position of the motion base point, so that the corresponding visual identifier of the light body unit is displayed. The selected lamp body units can be randomly selected in the space topological graph, can be the bottom left, the top left, the bottom right and the top right isocenter of the space topological graph in the effect editing area, can also be the corresponding central lamp body units at the geometric center position of the space topological graph, and the like.
In other embodiments, the location of the motion base point may be determined based on the motion base point already defined in some of the light effect configuration information. The description of the position of the motion base point in the light effect configuration information is not necessarily given in plaintext, but can be generally obtained by converting the working time sequence information described by each lamp body unit of the corresponding spliced lamp in the light effect configuration information, and specifically, the description is comprehensively calculated and determined according to the time sequence relationship of each lamp body unit and the position relationship of the space topological graph. The situation is suitable for splicing lamps, and firstly, the lamp effect configuration information is already applied, and the lamp effect configuration information is already prestored in the local of the terminal equipment, so that the lamp effect configuration information can be directly called out for use; alternatively, the light effect configuration information may be light effect configuration information pertaining to a light effect template selected by the user.
It will be understood that, based on the reference coordinate system of the efficiency editing area, the motion base point of the application can be located at the position of one lamp body unit in the space topological diagram, can also be located at the external position of all lamp body units in the space topological diagram, and corresponds to the physical space where the spliced lamp is located. Therefore, the positioning range of the motion base point is not limited to each lamp body unit of the spliced lamp, but can be expanded into a larger space range outside the spliced lamp, so that the lamp effect patterns of the spliced lamp are enriched, and a user can modify the lamp effect by flexibly positioning the motion base point.
After the visual representation of the light effect motion attribute data, especially the plane motion direction and the motion base point on the interface, in the light effect configuration information of the target light effect template is completed according to the above process, the visual representation can be used for the user interaction, and the modification of the light effect motion attribute data and even other light effect attribute data is realized.
Specifically, when the user needs to modify the plane motion direction of the currently applied light effect template, one of the selectable items can be selected in the corresponding attribute editing area, so that the plane motion direction corresponding to the selected selectable item becomes the target motion direction. When a user needs to modify a motion base point of a currently applied light effect template, the motion base point can be repositioned in the effect editing area by dragging a visual identification of the motion base point. After the user modifies the light effect motion attributes and modifies other light effect attribute data, the terminal equipment can practice the light effect configuration information of the corresponding updating target light effect template.
In particular, the visual identification of the motion base point is configured as a movable object, so allowing the user to reposition it. In one embodiment, the user is allowed to input the position information of the motion base point in a property editing area correspondingly provided by the control panel and submit the position information to trigger a repositioning instruction, namely, the repositioning instruction is submitted in an abscissa and an ordinate of the property editing area in a reference coordinate system of the effect editing area to realize repositioning of the motion base point; in another embodiment, the repositioning of the motion base point is realized by allowing the user to trigger a repositioning instruction by dragging and releasing the visual identification.
It will be appreciated that the motion base point, once repositioned by the user, has new location information. Thus, in response to the repositioning instruction, position information of the visual identification of the motion base point relative to the latest position of the spatial topological graph can be obtained, and the position representation of the motion base point can be correspondingly modified according to the position information. The position information of the visual identification is usually determined by referring to the coordinate system of the graphical user interface, and because the visual identification has a corresponding relation with the reference coordinate system of the effect editing area, the visual identification can be directly converted into the relative position data of the space topological graph, and similarly, the visual identification can be flexibly converted into the position data of the reference coordinate system used by the modeling space of the space topological graph, so that the visual identification is changed according to requirements, and in a word, once the visual identification is relocated, the actual relocation of a motion base point is also realized, the latest positions of the motion base point and the space topological graph are determined, the position data of the motion base point can be redetermined by utilizing the relation, and whether the position data of the motion base point is stored in a corresponding variable in a plaintext manner or is expressed in the lamp effect configuration information in a non-plaintext manner.
Step S2400, generating a light effect playing instruction based on the latest light effect motion attribute data, and driving the spliced lamp to play the corresponding light effect.
After the user finishes modifying the light effect movement attribute data and even other light effect attribute data through the above process, the light effect configuration information of the target light effect template is updated, so that on the basis of the light effect configuration information, a corresponding light effect playing instruction can be packaged according to a format pre-agreed with the spliced light fitting, and the light effect playing instruction is sent to the spliced light fitting. After receiving the lamp effect playing instruction, the control chip of the spliced lamp analyzes the lamp effect playing instruction and uses the lamp effect playing instruction to act on each lamp body unit, so that each lamp body unit orderly works according to corresponding work time sequence information to show the corresponding effect of each lamp effect attribute, thereby cooperatively completing one or more movement processes and showing the whole lamp effect.
In the process of generating the lamp effect playing instruction based on all the lamp effect attribute data containing the lamp effect movement attribute data, the lamp effect attribute data is firstly reflected to the lamp effect configuration information, then the corresponding lamp effect playing instruction is generated according to the lamp effect configuration information, and for the movement base point and the plane movement direction of the lamp effect movement attribute data, the movement base point and the plane movement direction of the lamp effect movement base point are generally not necessarily expressed in the lamp effect configuration information, but are reflected to the corresponding working time sequence information of each lamp body unit of the spliced lamp, and the adaptive data processing can be performed aiming at the situation.
Specifically, the light effect playing instruction may be converted and generated based on the light effect configuration information corresponding to the given target light effect template, where the light effect configuration information is an instruction set describing how each light body unit emits light in the motion flow of the light effect, in one example, according to the target motion direction specified by the default motion flow, the light effect configuration information uses the motion base point as a reference, refers to the near-far relationship of the position of each light body unit relative to the motion base point in the spatial topological graph, sets the light body unit closer to the motion base point in the position as an earlier working time sequence, sets the light body unit farther to the motion base point as a later working time sequence, and so on, so that the whole motion flow starts to display the light effect animation with the motion base point as a starting point. Therefore, the relative position relation between each lamp body unit and the motion base point in the space topological graph can be converted into the relative time sequence relation between the corresponding lamp body unit and the reference point of the physical space in the lamp effect configuration information, so that space-time conversion is realized, and the repositioning result of the motion base point is converted and stored in the lamp effect configuration information.
It is to be understood that when the spliced lamp presents a corresponding lamp effect according to the lamp effect playing instruction, as the motion base point in the lamp effect motion attribute data can correspond to a mapping position in the physical space where the spliced lamp is located, the motion process represented by each lamp body unit of the spliced lamp according to the corresponding working time sequence of the lamp body unit can be represented by moving according to the plane motion direction specified in the lamp effect motion attribute data by taking the mapping position as the reference point. Since the motion flow of the light effect is usually set to be circularly played, the effect that each motion flow is circularly played based on the datum reference point can be seen, therefore, the motion datum point and the plane motion direction in the graphical user interface can be adjusted, the datum reference point and the motion direction of the motion flow of the light effect played in the spliced lamp can be adjusted, and one light effect template can be changed into various motion flows to derive various light effects by modifying the motion datum point and the plane motion direction. Of course, the effect of changing the light effect can also be achieved by modifying the movement speed in the light effect movement attribute data.
As can be seen from the above embodiments, the present application has various technical advantages including, but not limited to:
the application abstracts the space position layout of the lamp body units of the spliced lamp into a space topological graph, displays the space topological graph into an effect editing area of a graphical user interface, simultaneously provides a control panel for loading a plurality of scene pages, provides a lamp effect template of a corresponding scene in each scene page for a user to select, and displays the lamp effect movement attribute data of the target lamp effect template into the control panel and/or the effect editing area after determining one target lamp effect template, thereby facilitating the editing of the user, finally generating a lamp effect playing instruction by utilizing the latest lamp effect movement attribute data, leading the user to flexibly define a new lamp effect by modifying the movement flow of the lamp effect by modifying the lamp effect attribute movement data, expanding the functions of the spliced lamp products, opening the lamp effect self-defining capability to the user and obviously improving the user experience of the spliced lamp.
Furthermore, the application provides the editing interface of the light effect movement attribute data through providing the control panel and the effect editing area, converts the setting process of the light effect playing instruction from a complex programming instruction to a convenient man-machine interaction means, improves the light effect editing and light effect application efficiency of the spliced lamp, and is beneficial to the rapid popularization and application of the spliced lamp in industry.
On the basis of any one embodiment of the present application, referring to fig. 4, providing entries of a plurality of scene pages in a scene area of the control panel, and displaying at least one light effect template under a default scene page in a list manner, where the light effect template includes:
step S2210, providing entries of a plurality of scene pages in a scene area of the control panel, and setting one of the scene pages as a default scene page;
as shown in fig. 3, a control panel in the graphical user interface provides a scene area for presenting entries of a plurality of scene pages, and touching the entry of each scene page 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 so as to display a corresponding light effect template. Generally, a default scene page can be initialized as a current scene page, and a user can switch different scene pages according to the needs.
Step S2220, determining the lamp type of the spliced lamp according to the characteristic identifier of the spliced lamp;
after the terminal equipment and the spliced lamp are in data communication connection, the characteristic identifier of the spliced lamp can be obtained, the characteristic identifier of the spliced lamp can encapsulate the lamp type of the spliced lamp, and the lamp type can indicate the product type of the geometric form of the lamp body unit of the spliced lamp. Different product types, because the geometric forms of the lamp body units are different, the matched lamp effect templates are also different, and in this case, it is practical to distinguish different lamp types to provide the lamp effect templates.
Step S2230, inquiring the server about the lamp efficiency templates in different preset scenes with the lamp types matched;
vendors provide light effect templates adapted to different product types through servers. Under the condition, the terminal equipment submits the lamp type of the spliced lamp to the server for inquiry, the server can be driven to inquire the lamp effect template matched with the lamp type and the scene type to which the lamp effect template belongs, the lamp effect configuration information of the lamp effect template and the scene type to which the lamp effect template belongs are packaged into a list and pushed to the terminal equipment, and the terminal equipment can implement interface expression after acquiring the list.
Step S2240, mapping the light effect templates corresponding to the scenes into the scene pages corresponding to the scenes, so that the light effect templates of the default scene pages are displayed.
After the terminal equipment acquires the list pushed by the server, different scene types are distinguished, in the scene area of the control panel, the scene pages corresponding to the scene types are displayed as corresponding lamp effect template objects, and the lamp effect template objects and corresponding lamp effect configuration information establish a data mapping relation, so that each lamp effect template can be displayed in the corresponding scene page according to the scene type, and a user can conveniently find a proper lamp effect template by switching the different scene pages.
According to the embodiment, the lamp effect templates are provided in a scene-based mode, so that a user can conveniently and quickly understand the lamp effect form, the favorite target lamp effect templates can be quickly searched for application, the application is very efficient, the scene area is provided by the control panel, the lamp effect templates corresponding to all scenes are displayed in the scene area in the form of scene pages, a large number of lamp effect templates can be provided in a limited interface space, the information capacity is large, the interface space occupation is low, and the information interaction efficiency is higher.
On the basis of any one embodiment of the present application, referring to fig. 5, setting one of the scene pages as a default scene page includes:
step S2211, determining a history light effect template and a history scene corresponding to the history light effect template applied by the spliced lamp;
for the situation that the spliced lamp uses the lamp effect template before, the terminal equipment generally stores the lamp effect configuration information of the lamp effect template used last time by the spliced lamp locally, when the user connects the spliced lamp again, the lamp effect configuration information of the lamp effect template is loaded according to default service logic, the lamp effect template used last time can be called a historical lamp effect template, and the historical lamp effect template is also generally stored in association with the scene type of the lamp effect template, so that a historical scene of the lamp effect template can be determined.
Step S2212, switching the scene page corresponding to the historical scene into a default scene page, and highlighting a lamp effect template corresponding to the historical lamp effect template in the default scene page.
After the historical scene and the historical light effect template are determined, the scene page corresponding to the historical scene can be further switched to a default scene page currently displayed in the scene area of the control panel, and the light effect template object corresponding to the historical light effect template in the default scene page is also highlighted, so that a user can quickly know the light effect of the spliced lamp used last time, and can modify the scene page based on the historical light effect template, and the user is prevented from completely configuring the light effect each time.
According to the embodiment, the process of loading the historical lamp effect template is mapped to the scene area of the control panel for interface expression, so that the business logic of editing the lamp effect of the spliced lamp by a user can be optimized, the user experience is improved, and the lamp effect application of the spliced lamp is more continuous.
On the basis of any one embodiment of the present application, referring to fig. 6, the visual display of 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 includes:
Step S2310, positioning and displaying a visual identification of a motion base point in the light effect motion attribute data of the target light effect template to a corresponding position of the effect editing area, and determining a position relation of the motion base point in a modeling space of a space topological graph of the spliced lamp;
as previously described, for a motion base point from light effect motion attribute data in a target light effect template, its visual identification location may be displayed to a corresponding location of the effect editing area. In a specific embodiment, the spatial topology map may be generated based on the modeling space, so that the localization of the visual identification is primarily manifested as localization in the modeling space.
The process of generating the spatial topological graph of the spliced lamp based on the modeling space mainly comprises the following steps:
firstly, constructing a reference coordinate system of an effect editing area, and constructing a modeling space based on the reference coordinate system:
the effect editing area of the graphical user interface of the terminal device is a two-dimensional plane, has a plane rectangular coordinate system, can expand a dimension based on the reference plane rectangular coordinate system to obtain a three-dimensional reference coordinate system, and can be correspondingly or directly used as a reference coordinate system of a modeling space for generating a space topological graph, so that the modeling space is constructed through the reference coordinate system.
And secondly, mapping the positions of the lamp body units of the spliced lamp, which are described by the corresponding physical space in the layout description information, to the corresponding positions in the modeling space to generate corresponding textures.
In order to generate a spatial topological graph of the spliced lamp in the modeling space, the position of each lamp body unit in the physical space, which is represented by the edge connection relation information in the layout description information of the spliced lamp, can be mapped to the corresponding position in the modeling space, and then the texture of the lamp body unit is generated at the corresponding position. The layout description information can adapt to the requirement of three-dimensional modeling when describing the position of each lamp body unit in the physical space and the side connection relation information of the lamp body unit, and the coordinates of the third dimension are added on the basis of the abscissa and the ordinate.
Finally, rendering textures in the modeling space to generate a spatial topology map of the tiled luminaire:
and rendering textures corresponding to all the lamp body units in the modeling space on a screen, so that a space topological graph corresponding to the spliced lamp can be obtained in the effect editing area, and the identifiers of all the lamp body units in the space topological graph.
The space topological graph is realized based on modeling space, the visual angle of the space topological graph is conveniently adjusted in an effect editing area as required, and then the lamp effect simulation can be performed by applying the lamp effect configuration information on the basis of the space topological graph, so that the lamp effect expression of the spliced lamp can be intuitively observed in a graphical user interface of the terminal equipment for the spliced lamp with complex space morphology.
On the basis of generating a spatial topological graph of the spliced luminaire based on the modeling space, the motion base points can be visualized according to the following process, referring to fig. 7, including:
step S2311, obtaining the light effect configuration information of a target light effect template, wherein the light effect configuration information encapsulates the working time sequence information of each light body unit of the spliced lamp, and the working time sequence information is determined by correlating the spatial positions of the light body units in a given plane movement direction with a given movement base point as a reference;
in the light effect configuration information, as described above, the working time sequence information of each light body unit of the spliced light fixture is encapsulated, and the working time sequence of each light body unit has a sequence relationship, where the sequence relationship corresponds to the position relationship in the space topological graph, specifically, the light effect configuration information uses a motion base point as a reference, and converts the position sequence of the light body unit in space relative to the motion base point into the sequence in the motion flow according to the plane motion direction specified by the motion flow of the adopted light effect. For example, when a central lamp unit with a circle center is determined as a motion base point in a space topology diagram of a circular layout, and a plane motion direction of a motion flow of a lamp effect is defined as being spread to the periphery, in the lamp effect configuration information, operation time sequence information of the central lamp unit may be represented as 0 seconds, operation time sequence information of a first circle of lamp units next to the central lamp unit may be represented as 0.5 seconds, operation time sequence information of a second circle of lamp units next to the first circle of lamp units may be represented as 1.0 seconds, and so on, by defining the operation time sequence information of each lamp unit, when the spliced lamp is controlled to emit light, each lamp unit is enabled to emit light and display according to its own corresponding operation time sequence calculated time difference, so that the motion flow of the lamp effect is cooperatively presented.
Step S2312, determining the time sequence position of the motion base point according to the working time sequence information, and mapping the time sequence position to be a space position in a reference coordinate system of an effect editing area;
as will be appreciated from the above examples, when the plane movement direction is determined, the working time sequence information of the movement base point corresponding to the central light body unit can be inversely deduced by using the time difference between the working time sequence information of the different light body units, and the working time sequences can be mapped into the space topology, so that the position of the movement base point relative to the light effect configuration information can be easily deduced, and even if the movement base point is outside the space topology, the space position of the movement base point can be determined based on the reference coordinate system of the effect editing area.
For example, assuming that the space topology is in a circular layout as a whole, a type that the plane movement direction is diffused to the periphery is specified, the movement base point is located at the center of a circle belonging to the circular layout outside the space topology, the working time sequence information of the space topology should be represented as 0 seconds, but the corresponding lamp body units are not explicitly given in the lamp effect configuration information, but each lamp body unit of the spliced lamp has set the working time sequence information of the lamp body units of different circles by taking the center of the circle as the movement base point in a mode of equal time difference, for example, 0.5 seconds, then the time difference can be used for determining that the space occupied by one lamp body unit is every 0.5 seconds, and accordingly, the specific space position of the working time sequence information in the reference coordinate system of the effect editing area, namely, the position of the movement base point can be deduced.
When the time sequence position of the motion base point is mapped to the space position in the effect editing area, the calculation of the related position information can be performed corresponding to the reference coordinate system of the modeling space, so that the specific position of the motion base point in the modeling space can be rapidly determined.
And step S2313, displaying the visual identification corresponding to the motion base point at the space position.
Similarly, after the spatial position of the motion base point is determined in the effect editing area, the movable object corresponding to the visual identification can be called and displayed in the spatial position, so that the user can conveniently control the movable object.
According to the embodiment, for the existing lamp effect configuration information, the coordinate information of the motion base point in the effect editing area can be reversely deduced by using the work time sequence information of each lamp body unit of the spliced lamp, the space position of the motion base point in the effect editing area is determined, then the visual identification is used for identification, a user can conveniently call the lamp effect configuration information used by the spliced lamp in history, the visual identification of the motion base point of the lamp effect configuration information is accurately displayed relative to the space topological graph of the spliced lamp, the user can conveniently control the motion base point of the lamp effect used by the spliced lamp in a real-time and visual mode, and the effect of the lamp effect is achieved.
Step S2320, visually displaying direction data and/or speed data in the light effect movement attribute data of the target light effect template into the control panel, where the direction data is used to define a movement direction of a movement process of the light effect corresponding to the target light effect template, and the speed data is used to define a movement speed of the light effect corresponding to the target light effect template.
As shown in fig. 3, for the direction data in the light effect motion attribute data in the target light effect template, the main function is to describe the plane motion direction adopted by the target light effect template, as previously described, not necessarily given in the light effect configuration information in the clear, in some embodiments, may be represented as the working time sequence in the working time sequence information corresponding to each light body unit of the spliced light fixture, and therefore, according to the mapping on the working time sequences to the space topological graph, the motion sequence position relationship of each light body unit in the space topological graph can be determined, and the corresponding plane motion direction can be determined. Thus, the target movement direction currently used by the target light effect template can be marked by highlighting the selectable item corresponding to the plane movement direction on the control panel.
For the speed data in the light effect movement attribute data, the speed data is mainly used for defining the movement speed of the light effect corresponding to the target light effect template, a progress bar for adjusting the movement speed can be loaded in the control panel for representation, the user can correspondingly obtain speed data by acting on the setting operation of the progress bar, the speed data can be integrated into the time difference in the working time sequence information of different light body units in the light effect configuration information in the same way, and the corresponding speed data can be reversely deduced according to the time difference represented by the working time sequence information of the adjacent light body units in the light effect configuration information.
According to the embodiment, different contents are distinguished through the light effect movement attribute data, the movement base points, the direction data, the speed data and the like are adapted to the different contents, and the different contents are visually displayed in different areas of the interface, namely the effect editing area and the control panel, so that the visual display of each part has more humanized display effect, the high-efficiency interaction of a user is facilitated, the light effect template is more visual, and the self-defining efficiency of the light effect can be improved.
On the basis of any one embodiment of the present application, referring to fig. 8, generating a light effect playing instruction based on the latest light effect motion attribute data, and driving the spliced lamp to play a corresponding light effect includes:
Step S2410, acquiring the motion base point after repositioning and the adjusted direction data;
when the user determines the target template object by selecting a light effect template object in the scene page, the setting of the target movement direction is completed by selecting the attribute editing area to generate corresponding direction data, and when necessary, after the repositioning of the movement base point is completed by repositioning the visual identification in the effect editing area, the data corresponding to the modification of the user can be used for modifying the light effect configuration information of the target template object so as to complete the light effect self-definition.
Step S2420, according to the target movement direction specified by the direction data, updating the working time sequence 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 relative spatial position relation of each lamp body unit of the spliced lamp relative to the movement base point;
the target moving direction determines the spatial position sequence of each lamp body unit of the spliced lamp relative to the moving base, so that according to the relative spatial position relation of each lamp body unit in the spliced lamp relative to the moving base, according to the mode, the working time sequence information of each lamp body unit in the lamp efficiency configuration information of the target template object can be updated, so that the working time sequence relation of each updated lamp body unit is matched with the moving flow defined by the target moving direction, and the modification of the lamp efficiency configuration information is realized.
For example, the direction data may be updated and then reflected as a sequence of light emission between the lamp units; for the motion base point, the motion base point can be reflected as a starting or ending node of the light emission of the lamp body unit after updating; for other embodiments, the speed data modified by the user may be further acquired for updating, where the updated speed data is reflected as the time difference between the adjacent lamp units that emit light sequentially.
Step S2430, packaging the lamp effect configuration information updated with the working time sequence information into a lamp effect playing instruction, and sending the lamp effect playing instruction to the spliced lamp to drive the spliced lamp to play the corresponding lamp effect.
When the user finishes setting the target lamp effect template, the working time sequence information in the lamp effect configuration information is adaptively modified according to the set plane movement direction and movement base point (of course, the movement speed can be also included), an application instruction can be submitted, the terminal equipment responds to the application instruction, packages and converts the lamp effect configuration information of the target lamp effect template into a lamp effect playing instruction according to a format pre-agreed with the spliced lamp, then sends the lamp effect playing instruction to the spliced lamp, and after receiving the lamp effect playing instruction, the spliced lamp correspondingly analyzes the lamp effect playing instruction, converts the lamp effect playing instruction into a lamp effect control signal, transmits the lamp effect control signal to each lamp body unit, controls each lamp body unit to emit light according to the corresponding working time sequence, and is matched with other lamp body units to cooperatively play corresponding lamp effects according to the working time sequence.
According to the embodiment, the user can define new light effects by repositioning the motion base point and the motion direction of the plane on the basis of the selected target light effect template by providing the plurality of light effect templates for the user, so that the realization form of the light effects is enriched, and the light effect diversity of the spliced lamp is expanded.
On the basis of any one embodiment of the present application, referring to fig. 9, before displaying a spatial topology diagram of a spliced lamp in an effect editing area, the method includes:
step S1100, establishing a data communication link to the spliced lamp, and acquiring a characteristic identifier of the spliced lamp based on the data communication link;
as described above, the communication component is disposed 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 feature identifier of the spliced lamp, perform initialization binding, and store the lamp efficiency configuration information used by the spliced lamp in association with the feature identifier.
Step S1200, obtaining layout description information of the spliced lamp based on the feature identifier, and generating a spatial topological graph of the spliced lamp located in a reference coordinate system of an effect editing area, where the layout description information is used for describing spatial position relationship information corresponding to each lamp body unit of the spliced lamp in a physical space.
After the feature identifier is obtained, the terminal device can also read serial data of each lamp body unit of the spliced lamp through the data communication link, determine layout description information corresponding to the spatial layout of each lamp body unit based on a serial communication protocol, associate the feature identifier and store the layout description information locally.
In view of the figure, since each lamp body unit can be connected with one or more other lamp body units, in fact, each lamp body unit has side connection relation information, and in the process of configuring the spliced lamp, the side connection relation information can be determined, for example, the side connection is established between the interface A 'of the lamp body unit A and the interface B' of the lamp body unit B, thus, the relation information can be represented as data, the data form the layout description information, and as will be understood, the layout description information describes the spatial position relation information corresponding to the physical space of each lamp body unit of the spliced lamp.
Since the side connection relation information of each lamp body unit of the spliced lamp is already given in the layout description information, the layout of each lamp body unit can be constructed according to the side connection relation information, and a space topological graph is obtained.
In one embodiment, considering that the spliced lamp is generally laid out on a plane, the position of the graphic identifier of each lamp unit can be displayed and determined according to the edge connection relation information of each lamp unit in a two-dimensional space, so that the space topological graph of the spliced lamp is spliced and correspondingly displayed in the effect editing area.
In another embodiment, the physical space where the spliced lamp is located can be modeled in a three-dimensional space, then in the modeling space, a space topological graph is constructed by using the edge connection relation information of each lamp body unit, and then the space topological graph is displayed in the effect editing area at the optimal view angle.
According to the embodiment, the spatial topological graph can be generated based on the actual layout relation of each lamp body unit of the spliced lamp in the physical space, so that the spatial topological graph displayed in the effect editing area can accurately correspond to the spatial layout of the spliced lamp in the physical space, and the follow-up determination of the motion base point is ensured to be more accurate.
On the basis of any embodiment of the present application, after rendering the texture of the modeling space to generate the spatial topological graph of the spliced luminaire, the method includes:
firstly, responding to a visual angle adjustment instruction acted on the space topological graph, correspondingly rotating the modeling space, and adjusting the space topological graph to a target visual angle;
After rendering the spatial topology of the tiled luminaire in the modeling space, the user may adjust the perspective for the spatial topology corresponding to the modeling space, and switch the spatial topology from the current perspective to the target perspective through operations such as touch, drag, etc., so that for spatial topologies occupying multiple facades or curved surfaces, the target area may be highlighted by perspective adjustment.
And judging whether the visual identification of the motion base point is blocked or not based on the target visual angle, and displaying the visual identification as a controllable perspective object when the visual identification is blocked.
In the modeling space of the space topology, the motion base point is determined, when the modeling space is rotated to make the visual angle of the motion base point invisible, the motion base point is blocked theoretically, and for this case, whether the motion base point is blocked relative to the current target visual angle or not can be judged according to the position information of the visual identification of the motion base point in the modeling space, if the motion base point is determined to be blocked, the visual identification is displayed as a perspective object at the home position top, and the operation is ensured, so that a user can directly drag the visual identification, drag and drop the visual identification to the position of the current target visual angle, and switch the motion base point to a certain position of the current target visual angle.
According to the embodiment, after the visual angles of the space topological graph are switched, the visual identification corresponding to the motion base point can be seen through and controlled, and the user can control the same motion base point between different visual angles without complex operation, so that the method is convenient and efficient.
On the basis of any embodiment of the present application, referring to fig. 10, before generating a light effect playing instruction based on the latest light effect motion attribute data, the method includes:
step S4100, responding to a pressing operation event acted on the visual identification, identifying a lamp body form corresponding to the space topological graph, and determining each optional positioning unit in the space topological graph according to the lamp body form;
the lamp body units can have different forms, one lamp body unit possibly comprises a plurality of light emitting units which can be controlled independently, and the corresponding relation between the motion base points and the lamp body units can be embodied to the control granularity of the light emitting units in the lamp body units according to the difference of the control granularity of the lamp effect of the spliced lamp, so that when the motion base points corresponding to the space topological graph of the spliced lamp are set, the user can select the specific light emitting units in the lamp body units in the space topological graph conveniently, and the user can be guided to select the positions corresponding to the specific light emitting units correspondingly according to the different lamp body forms so as to set the motion base points. Accordingly, when the user presses the visual identifier and triggers the pressing operation event of the visual identifier, the terminal equipment can acquire the type information of the lamp body form of the spliced lamp according to the characteristic identifier of the spliced lamp, determine a plurality of positioning units according to the specific lamp body form versus space topological graph, and each positioning unit corresponds to one light-emitting unit in one lamp body unit.
In the interface shown in fig. 11, since the lamp body unit has a regular hexagonal structure, and each side and each prismatic region thereof is provided with a light emitting unit that can be controlled independently, each side and each prismatic region can be determined as a positioning unit; in the interface shown in fig. 12, since the lamp body unit is of a Y-type structure including a plurality of branches, the end points and the midpoints of each branch are provided with independently controlled light emitting units, and thus the end points and the midpoints can be set as positioning units.
In one embodiment, to facilitate the user identifying the positioning units, the positions of the positioning units may be displayed at positions corresponding to the positioning units in the spatial topological graph according to the identifier, for example, as shown by circles in fig. 12.
Step S4200, responding to the operation event that the visual identification overlaps with the position of any positioning unit in the pressing process, and selecting the positioning unit;
when the user presses the visual identification, and moves it over the location of a positioning unit, the visual identification and the positioning unit are substantially coincident in location, in which case the user may be considered to select the positioning unit.
In one embodiment, the user-selected positioning elements may be highlighted, such as in fig. 11 and 12, with fig. 11 showing the user-selected positioning elements in bold lines, and fig. 12 showing the user-selected positioning elements in solid dots.
Step S4300, responding to a release operation event triggered by the visual identification at the selected positioning unit, determining the selected positioning unit as the latest position of the visual identification, and updating the motion base point according to the latest position.
After the user determines the selected positioning unit, the visual identification can be released, so that a release operation event is triggered, and then the position information of the motion base point is updated according to the latest position where the visual identification is located, namely the position information of the selected positioning unit, so that the repositioning of the motion base point is realized.
According to the embodiment, the specific forms of the lamp body units of the spliced lamp are distinguished, the corresponding positioning units are set for users to select in the process of repositioning the motion base point, the effect of effectively corresponding to the specific positions in the spliced lamp can be achieved, particularly, in each specific link of the user operation process, when different visual processing is carried out in response to different events, the effect of better control and guide can be achieved, and the repositioning of the motion base point by the users is more accurate.
Referring to fig. 13, another embodiment of the present application further provides a scene-type light effect configuration device, which includes a topology display module 2100, a panel display module 2200, an attribute display module 2300, and a light effect application module 2400, where the topology display module 2100 is configured to display a spatial topology map of a spliced light fixture in an effect editing area, and the spatial topology map presents a plurality of corresponding light body units corresponding to a spatial position layout of each light body unit of the spliced light fixture in a physical space; the panel display module 2200 is configured to pop up a control panel, provide entries 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 into 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.
In accordance with any one of the embodiments of the present application, the panel display module 2200 includes: an entry configuration unit configured to provide entries 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; the type identification unit is used for determining the lamp type of the spliced lamp according to the characteristic identification of the spliced lamp; the template loading unit is used for inquiring the server about the lamp efficiency templates in different preset scenes with the lamp types matched; the template display unit is used for mapping the light effect templates corresponding to the scenes into scene pages corresponding to the scenes, so that the light effect templates of the default scene pages are displayed.
On the basis of any one of the embodiments of the present application, the inlet configuration unit includes: the history access subunit is used for determining a history light effect template and a corresponding history scene of the history light effect template applied by the spliced lamp; and the default configuration subunit is used for switching the scene page corresponding to the historical scene into a default scene page and highlighting the lamp effect template corresponding to the historical lamp effect template in the default scene page.
In accordance with any one of the embodiments of the present application, the attribute display module 2300 includes: the base point positioning unit is used for positioning and displaying the visual identification of the motion base point in the light effect motion attribute data of the target light effect template to the corresponding position of the effect editing area, and determining the position relation of the motion base point in the modeling space of the space topological graph of the spliced lamp; the data loading unit is configured to visually display direction data and/or speed data in the light effect movement attribute data of the target light effect template into the control panel, wherein the direction data is used for defining the movement direction of a movement process of the light effect corresponding to the target light effect template, and the speed data is used for defining the movement speed of the light effect corresponding to the target light effect template.
On the basis of any one embodiment of the present application, the base point positioning unit includes: the configuration acquisition subunit is configured to acquire the light effect configuration information of the target light effect template, wherein the light effect configuration information encapsulates the working time sequence information of each light body unit of the spliced lamp, and the working time sequence information is determined by correlating the spatial positions of the light body units in the given plane movement direction with the given movement base point as a reference; the position mapping subunit is arranged to determine the time sequence position of the motion base point according to the working time sequence information and map the time sequence position into a space position in a reference coordinate system of the effect editing area; and the mark display subunit is arranged to display the visual mark corresponding to the motion base point at the space position.
On the basis of any one of the embodiments of the present application, the lamp effect application module 2400 includes: a data acquisition unit configured to acquire the motion base point after repositioning and the direction data after adjustment; the time sequence updating unit is used for updating the working time sequence 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 relative spatial position relation of each lamp body unit of the spliced lamp relative to the motion base point according to the target motion direction designated by the direction data; the instruction packaging unit is used for packaging the lamp effect configuration information updated with the working time sequence information into a lamp effect playing instruction and sending the lamp effect playing instruction to the spliced lamp so as to drive the spliced lamp to play the corresponding lamp effect.
On the basis of any one embodiment of the application, the scene type light effect configuration device of the application comprises: the lamp connecting module is used for establishing a data communication link to the spliced lamp and acquiring the characteristic identification of the spliced lamp based on the data communication link; the topology composition module is configured to acquire layout description information of the spliced lamp based on the feature identifier, generate a spatial topology map of the spliced lamp located in a reference coordinate system of the effect editing area, and the layout description information is used for describing spatial position relation information corresponding to each lamp body unit of the spliced lamp in a physical space.
Referring to fig. 14, another embodiment of the present application further provides a scene-type light effect configuration device, which can be implemented by a computer device, as shown in fig. 14, and the internal structure of the computer device is schematically shown. The computer device includes a processor, a computer readable storage medium, a memory, and a network interface connected by 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, and when the computer readable instructions are executed by a processor, the processor can realize a scene type lamp effect configuration method. The processor of the computer device is used to provide computing and control capabilities, supporting the operation of the entire computer device. The memory of the computer device may store computer readable instructions that, when executed by the processor, cause the processor to perform the scene-type lighting configuration method of the present application. The network interface of the computer device is for communicating with a terminal connection. It will be appreciated by those skilled in the art that the structure shown in fig. 14 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements are applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
The processor in this embodiment is configured to execute specific functions of each module and its sub-module in fig. 13, and the memory stores program codes and various data required for executing the above-mentioned modules or sub-modules. The network interface is used for data transmission between the user terminal or the server. The memory in this embodiment stores the program codes and data required for executing all the modules/sub-modules in the scene-type lighting 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 the sub-modules.
The present application also provides a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the scene-type lighting effect configuration method according to any of the embodiments of the present application.
The present application also provides a computer program product comprising computer programs/instructions which when executed by one or more processors implement the steps of the scene-type lighting effect configuration method of any of the embodiments of the present application.
Those skilled in the art will appreciate that all or part of the processes implementing the methods of the above embodiments of the present application may be implemented by a computer program for instructing relevant hardware, where the computer program may be stored on a computer readable storage medium, where the program, when executed, may include processes implementing the embodiments of the methods described above. The storage medium may be a computer readable storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
The foregoing is only a partial embodiment of the present application, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present application, and such modifications and adaptations are intended to be comprehended within the scope of the present application.
In summary, the application allows the user to customize the light effect of the spliced lamp, and with the help of the space topological graph of the spliced lamp, the rapid customization of the light effect based on the target light effect template under the selected scene can be realized, thereby expanding the practical function of the spliced lamp.

Claims (10)

1. A scene type light effect configuration method, comprising:
displaying a space topological graph of the spliced lamp in an effect editing area, wherein the space topological graph presents a plurality of corresponding lamp body units corresponding to the space position layout of each lamp body unit of the spliced lamp in a physical space;
popping up a control panel, providing entries of a plurality of scene pages in a scene area of the control panel, and displaying at least one light effect template under a default scene page in a list manner;
visually displaying the light effect movement attribute data of the target light effect template determined in the control panel into the control panel and/or the effect editing area;
And generating a light effect playing instruction based on the latest light effect motion attribute data, and driving the spliced lamp to play the corresponding light effect.
2. The scene type lighting configuration method according to claim 1, wherein entries of a plurality of scene pages are provided in a scene area of the control panel, and at least one lighting template under a default scene page is displayed in a list, comprising:
providing entries of a plurality of scene pages in a scene area of the control panel, and setting one of the scene pages as a default scene page;
determining the lamp type of the spliced lamp according to the characteristic identification of the spliced lamp;
inquiring the lamp efficiency templates of different preset scenes matched with the lamp types from a server;
and mapping the light effect templates corresponding to the scenes into scene pages corresponding to the scenes, so that the light effect templates of the default scene pages are displayed.
3. The scene lighting configuration method according to claim 1, wherein setting one of the scene pages as a default scene page comprises:
determining a history light effect template applied by the spliced lamp and a corresponding history scene thereof;
And switching the scene page corresponding to the historical scene into a default scene page, and highlighting a lamp effect template corresponding to the historical lamp effect template in the default scene page.
4. The scene type lighting effect configuration method according to claim 1, wherein visually presenting the lighting effect movement attribute data of the target lighting effect template determined in the control panel into the control panel and/or the effect editing area includes:
positioning and displaying the visual identification of the motion base point in the light effect motion attribute data of the target light effect template to the corresponding position of the effect editing area, and determining the position relation of the motion base point in the modeling space of the space topological graph of the spliced lamp;
and visually displaying direction data and/or speed data in the light effect movement attribute data of the target light effect template into the control panel, wherein the direction data is used for defining the movement direction of a movement process of the light effect corresponding to the target light effect template, and the speed data is used for defining the movement speed of the light effect corresponding to the target light effect template.
5. The scene type lighting configuration method according to claim 4, wherein positioning and displaying the visual identification of the motion base point in the lighting effect motion attribute data of the target lighting effect template to the corresponding position of the effect editing area, determining the position relation of the motion base point in the modeling space of the spatial topological graph of the spliced lamp, comprises:
Acquiring light effect configuration information of the target light effect template, wherein the light effect configuration information encapsulates working time sequence information of each light body unit of the spliced lamp, and the working time sequence information is determined by correlating the spatial positions of the light body units in a given plane movement direction with a given movement base point as a reference;
determining the time sequence position of the motion base point according to the working time sequence information, and mapping the time sequence position of the motion base point into a space position in a reference coordinate system of an effect editing area;
and displaying the visual identification corresponding to the motion base point at the space position.
6. The scene type lighting configuration method according to claim 4, wherein generating a lighting effect playing command based on the latest lighting effect motion attribute data, driving the spliced lighting fixtures to play corresponding lighting effects, comprises:
acquiring the motion base point after repositioning and the adjusted direction data;
according to the target movement direction specified by the direction data, according to the relative spatial position relation of each lamp body unit of the spliced lamp relative to the movement base point, updating the working time sequence information of each lamp body unit of the spliced lamp in the lamp effect configuration information of the target lamp effect template;
And packaging the lamp effect configuration information updated with the working time sequence information into a lamp effect playing instruction, and sending the lamp effect playing instruction to the spliced lamp to drive the spliced lamp to play the corresponding lamp effect.
7. The scene type lighting configuration method according to any one of claims 1 to 6, characterized by comprising, before the effect editing area displays the spatial topology map of the tiled lighting fixture:
establishing a data communication link to the spliced lamp, and acquiring a characteristic identifier of the spliced lamp based on the data communication link;
and acquiring layout description information of the spliced lamp based on the characteristic identifier, and generating a space topological graph of the spliced lamp located in a reference coordinate system of an effect editing area, wherein the layout description information is used for describing space position relation information corresponding to each lamp body unit of the spliced lamp in a physical space.
8. A scene-type light effect configuration device, characterized by comprising:
the topology display module is used for displaying a space topology diagram of the spliced lamp in the effect editing area, and the space topology diagram corresponds to the space position layout of each lamp body unit of the spliced lamp in the physical space to display a plurality of corresponding lamp body units;
The panel display module is used for popping up a control panel, providing entries of a plurality of scene pages in a scene area of the control panel, and displaying at least one light effect template under a default scene page in a list manner;
the attribute display module is used for visually displaying the light effect movement attribute data of the target light effect template determined in the control panel into the control panel and/or the effect editing area;
and the lamp effect application module is used for 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.
9. A scene type lighting configuration device comprising a central processor and a memory, characterized in that the central processor is adapted to invoke the execution of a computer program stored in the memory for performing the steps of the scene type lighting configuration method according to any of claims 1 to 7.
10. A computer readable storage medium, characterized in that it stores a computer program in the form of computer readable instructions, which when invoked by a computer to run, performs the steps of the scene-type lighting configuration method as implemented in any one of claims 1 to 7.
CN202310652215.0A 2023-06-02 2023-06-02 Scene type light effect configuration method and device, equipment and medium Pending CN116761302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310652215.0A CN116761302A (en) 2023-06-02 2023-06-02 Scene type light effect configuration method and device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310652215.0A CN116761302A (en) 2023-06-02 2023-06-02 Scene type light effect configuration method and device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116761302A true CN116761302A (en) 2023-09-15

Family

ID=87956383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310652215.0A Pending CN116761302A (en) 2023-06-02 2023-06-02 Scene type light effect configuration method and device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116761302A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082684A (en) * 2023-10-13 2023-11-17 深圳市千岩科技有限公司 Method, device, equipment and medium for configuring and playing lamp effect of spliced lamp
CN117082683A (en) * 2023-10-13 2023-11-17 深圳市千岩科技有限公司 Spliced lamp effect application and playing method and device, equipment and medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082684A (en) * 2023-10-13 2023-11-17 深圳市千岩科技有限公司 Method, device, equipment and medium for configuring and playing lamp effect of spliced lamp
CN117082683A (en) * 2023-10-13 2023-11-17 深圳市千岩科技有限公司 Spliced lamp effect application and playing method and device, equipment and medium
CN117082683B (en) * 2023-10-13 2024-01-05 深圳市千岩科技有限公司 Spliced lamp effect application and playing method and device, equipment and medium
CN117082684B (en) * 2023-10-13 2024-01-16 深圳市千岩科技有限公司 Method, device, equipment and medium for configuring and playing lamp effect of spliced lamp

Similar Documents

Publication Publication Date Title
CN116383915B (en) Method and device for controlling lamp effect of spliced lamp, equipment and medium
CN116761302A (en) Scene type light effect configuration method and device, equipment and medium
US11867362B2 (en) Wireless lighting control system
US9014828B2 (en) Lighting controller
EP2628363B1 (en) A method, a user interaction system and a portable electronic devicefor controlling a lighting system
US10937245B2 (en) Lighting and internet of things design using augmented reality
US20160330819A1 (en) Multiple light fixture commissioning systems and methods
CN101480106B (en) Device for generating light
CN117082683B (en) Spliced lamp effect application and playing method and device, equipment and medium
CN116782475A (en) Combined lamp effect configuration method and device, equipment and medium
TW201010505A (en) Method and computer implemented apparatus for controlling a lighting infrastructure
KR20110104988A (en) Control system for controlling one or more controllable devices sources and method for enabling such control
WO2014139781A2 (en) A method of configuring a system comprising a primary display device and one or more remotely controllable lamps, apparatus for performing the method and computer program product adapted to perform the method
US9980346B2 (en) Lighting setting apparatus and lighting system
CN116628913B (en) Method, device, equipment and medium for configuring physical space layout of lamp
CN103198515A (en) Method for immediately adjusting object illumination rendering effect in 3D scene
CN107590337A (en) A kind of house ornamentation displaying interactive approach and device
KR20120017085A (en) Picture selection method for modular lighting system
CN117425255B (en) Indoor lighting lamp, lamp efficiency configuration method, device and equipment
CN107808051A (en) Pendent lamp engineering design system, design method, electronic equipment and computer program product
CN110134975B (en) Design method of lamp decoration, electronic equipment and electronic equipment readable storage medium
US20100271320A1 (en) Method and device for controlling a system
CN105931574A (en) Wiring method of LED (light-emitting diode) special-shaped screen
CN108280250A (en) Indoor Combined type hanging smallpox analogy method, equipment, system and storage medium
US10656813B1 (en) Light control for an image platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination