Control method and device of lighting apparatus, electronic equipment and storage medium
By customizing lighting effect parameters through the configuration interface of the terminal device, generating and sending configuration information, the problem of lighting equipment being unable to present rich lighting effects is solved, and flexible lighting effect control and diversified visual presentation are realized.
Patent Information
- Application Number
- CN202110919710.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-11
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2041-08-11
AI Technical Summary
In existing technologies, lighting equipment struggles to produce a wide variety of lighting effects, and users expect to achieve flexible control over lighting effects.
A method for controlling a lighting device is provided. Through the configuration interface of a terminal device, users can customize lighting effect parameters, generate lighting effect configuration information, and send it to the lighting device to control it to present the corresponding lighting effect.
It enables flexible and customizable lighting effects configuration for lighting equipment, presenting a rich variety of lighting effects to meet users' personalized needs.
Smart Images

Figure CN113778299B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of lighting devices, and more particularly, to a control method and device of a lighting device, an electronic device, and a storage medium. BACKGROUND
[0002] With the development of lighting technology, users have higher requirements for lighting devices, and expect lighting devices to present rich and colorful light effects. Therefore, how to control lighting devices to present various light effects is a technical problem to be solved in the prior art. SUMMARY
[0003] In view of the above problems, the embodiments of the present application provide a control method and device of a lighting device, an electronic device, and a storage medium to improve the above problems.
[0004] According to an aspect of the embodiments of the present application, a control method of a lighting device is provided, applied to a terminal device, and the control method comprises: displaying a configuration interface in response to a first trigger operation triggered on a target lighting device; listening to a configuration operation triggered on at least one configuration option in the configuration interface, obtaining a parameter value of a light effect parameter configuration corresponding to the at least one configuration option; generating light effect configuration information according to the parameter value of the light effect parameter configuration; and sending the light effect configuration information to the target lighting device, so as to control the target lighting device to present a corresponding light effect according to the light effect configuration information.
[0005] According to an aspect of the embodiments of the present application, a control device of a lighting device is provided, applied to a terminal device, and the control device comprises: a display module, configured to display a configuration interface in response to a first trigger operation triggered on a target lighting device; a listening module, configured to listen to a configuration operation triggered on at least one configuration option in the configuration interface, and obtain a parameter value of a light effect parameter configuration corresponding to the at least one configuration option; a generation module, configured to generate light effect configuration information according to the parameter value of the light effect parameter configuration; and a sending module, configured to send the light effect configuration information to the target lighting device, so as to control the target lighting device to present a corresponding light effect according to the light effect configuration information.
[0006] According to an aspect of the embodiments of the present application, an electronic device is provided, comprising: a processor; a memory, having computer readable instructions stored thereon, the computer readable instructions being executed by the processor to implement the control method of the lighting device as described above.
[0007] According to an aspect of the embodiments of the present application, a computer readable storage medium is provided, and the computer readable storage medium has stored thereon computer readable instructions which, when executed by a processor, implement the control method of the lighting device as described above.
[0008] In the scheme of the present application, the configuration interface for configuring the light effect is provided in the client of the terminal device, and the configuration options for configuring the light effect parameters are provided in the configuration interface, so that the user can customize the parameter values of the light effect parameters in the configuration interface for the target lighting device, and send the light effect configuration information generated by the configuration to the target lighting device, so as to control the target lighting device to present the corresponding light effect according to the light effect configuration information, thereby realizing the flexible configuration of the light effect, and further realizing the flexible control of the lighting device to present the rich and varied light effect. BRIEF DESCRIPTION OF DRAWINGS
[0009] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles behind the present application. It is apparent that the accompanying drawings described below are only some embodiments of the present application, and other drawings can be obtained according to these drawings without creative labor for those skilled in the art.
[0010] Figure 1 is a schematic diagram of an implementation environment according to an embodiment of the present application.
[0011] Figure 2 is a flowchart of the control method of the lighting device according to an embodiment of the present application.
[0012] Figure 3 is a schematic diagram of a moving track according to a specific embodiment of the present application.
[0013] Figure 4 is a flowchart of step 210 according to an embodiment of the present application.
[0014] Figure 5 A-5B is an interactive schematic diagram of configuring the light effect parameters according to a specific embodiment of the present application.
[0015] Figure 6 is a schematic diagram of the configuration interface according to another embodiment of the present application.
[0016] Figure 7 is a schematic diagram of the first display interface according to a specific embodiment of the present application.
[0017] Figure 8 is a schematic diagram of the second display interface according to a specific embodiment of the present application.
[0018] Figure 9 FIG. 6 is a schematic diagram of a third display interface for displaying a user light effect library according to an embodiment of the present application.
[0019] Figure 10 FIG. 7 is a flow chart of a control method of a lighting device according to another embodiment of the present application.
[0020] Figure 11 FIG. 8 is a schematic diagram of a sharing page according to an embodiment of the present application.
[0021] Figure 12 FIG. 9 is a schematic diagram of a list of application devices according to an embodiment of the present application.
[0022] Figure 13 FIG. 10 is a schematic diagram of a configuration information detail page according to an embodiment of the present application.
[0023] Figure 14 FIG. 11 is a block diagram of a control device of a lighting device according to an embodiment of the present application.
[0024] Figure 15 FIG. 12 shows a structural schematic diagram of a computer system of an electronic device suitable for implementing embodiments of the present application. DETAILED DESCRIPTION
[0025] Example implementations will now be described more fully with reference to the accompanying drawings. Example implementations may, however, be implemented in many different forms and should not be construed as limited to the examples set forth herein; rather, these example implementations are provided so that this disclosure will be thorough and complete, and will fully convey the scope of example implementations to those skilled in the art. Like reference numerals may refer to like elements throughout the description.
[0026] Moreover, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the
[0027] The block diagrams in the drawings show only the functionality of the various embodiments and do not imply any particular physical or architectural arrangement of the components. Any functionally described in the specification can be implemented in either software or hardware, including both general purpose and special purpose computer hardware. Further, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the
[0028] The flowchart shown in the drawing is only an exemplary illustration, and is not necessarily required to include all the contents and operations / steps, nor is it necessarily required to be executed in the order described. For example, some operations / steps can be further decomposed, and some operations / steps can be combined or partially combined, so the actual execution order can be changed according to actual conditions.
[0029] It should be noted that "multiple" referred to herein means two or more. The "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.
[0030] Figure 1 is a schematic diagram of an implementation environment according to an embodiment of the present application. As shown in Figure 1 The implementation environment can include a terminal device 110, at least one lighting device 120. The terminal device 110 can be a smartphone, a tablet computer, a notebook computer, a desktop computer, a wearable device (such as a smart watch), etc., which can be used as a control terminal and is not limited here. The lighting device 120 can be an ambient lighting lamp, an incandescent lamp, a halogen lamp, a fluorescent lamp, a high-pressure mercury lamp, a light strip, a light panel, an LED display screen, etc., or a device integrated with light-emitting and lighting functions. Among them, the lighting device 120 can be provided with one or more lamp beads 121, for example, a plurality of lamp beads arranged vertically and horizontally in a light panel, and for example, a plurality of lamp beads provided on a light strip.
[0031] In the scheme of the present application, the lighting device 120 is provided with a communication module, which can be a Bluetooth module, a WIFI module, a Zigbee module, etc., and is not limited here. Through the communication module, the lighting device 120 can establish a communication connection with the terminal device 110, so that the terminal device can control the lighting device.
[0032] In some embodiments of the present application, the lighting device 120 is provided with a control chip, and the terminal device can send a control instruction for the lighting device 120 to the control chip in the lighting device, and the control chip analyzes the control instruction to control the lamp beads connected to the control chip. In a specific embodiment, a control chip can control one or more lamp beads.
[0033] The lighting device 120 can be provided with one or more control chips. The lighting state of one or more lamp beads in the lighting device 120 is controlled by the control chip in the lighting device 120. In the case where the lighting device 120 is provided with a plurality of control chips, since the lamp beads associated with different control chips are different, the lamp beads in the lighting device 120 can be controlled in different regions.
[0034] In the solution of the present application, the terminal device 110 can run an application for controlling the lighting device, and the application provides a configuration interface for configuring the light effect, so that the user can customize the light effect parameters for describing the light effect in the configuration interface to obtain the corresponding light effect configuration information. Further, based on the communication connection between the terminal device 110 and the lighting device 120, the terminal device 110 can send the light effect configuration information configured for the lighting device 120 to the lighting device 120, so that the lighting device 120 presents the corresponding light effect according to the configured light effect configuration information.
[0035] In some embodiments of the present application, the terminal device 110 can also receive and display the light effect configuration information shared by other users, so as to apply the light effect configuration information shared by other users to the user's lighting device to make the lighting device present the corresponding light effect, and provide the user with rich light effect configuration information for selection.
[0036] The light effect presented by the lighting device 120 can be the effect of combining the lighting states of all the lamp beads in the lighting device at a time point or a period of time. Therefore, any light effect can be realized by controlling the lighting state of the lamp bead 121 in the lighting device.
[0037] The lighting state of the lamp bead 121 can include a lighting state and an off state, and further, if the lighting color of the lamp bead can be adjusted, the lighting state can further include a lighting state corresponding to each lighting color. For example, if the lighting color of the lamp bead includes red, green, yellow and purple, the lighting state can include a red lighting state, a green lighting state, a yellow lighting state and a purple lighting state. Of course, the lighting colors of different lamp beads can be different, which can be set according to actual needs.
[0038] Further, if the brightness of the lamp bead can be adjusted, the lighting state can further include a lighting state corresponding to each brightness level. For example, if the brightness level of the lamp bead includes three brightness levels of I, II and III, the lighting state can include a lighting state with brightness level I, a lighting state with brightness level II and a lighting state with brightness level III. Of course, the number of brightness levels of the lamp bead can be set according to actual needs, and the above-mentioned brightness levels are only exemplary and cannot be considered as a limitation on the scope of use of the present application.
[0039] The implementation details of the technical solutions of the embodiments of the present application are described in detail as follows:
[0040] Figure 2A flow chart of a control method of a lighting device according to an embodiment of the present application is shown, which is applied to a terminal device. Referring to Figure 2 As shown, the method comprises at least steps 210 to 240, which are described in detail as follows:
[0041] In step 210, a configuration interface is displayed in response to a first trigger operation triggered on a target lighting device.
[0042] The target lighting device is not particularly limited to a certain lighting device, but refers to a lighting device selected for light effect configuration. The first trigger operation can be a single click, double click, slide, touch, etc., which is not particularly limited here.
[0043] In some embodiments of the present application, before step 210, the method further comprises: displaying a device selection list in response to a second trigger operation triggered on a specified control; detecting a device selection operation triggered on the device selection list; and selecting the lighting device selected by the device selection operation as the target lighting device. Through the process, a lighting device is selected as the target lighting device.
[0044] The terminal device can run a client program, at this time, the client program run by the terminal device can be a client, which can be used for light effect configuration, sending control instructions to lighting devices, etc. Correspondingly, the client provides a corresponding user interface, through which the user interacts with the client. The specified control can be a control in the user interface of the client that can be triggered. Like the first trigger operation, the second trigger operation can be a click operation, double click operation, touch operation, slide operation, etc. on the specified control, which is not particularly limited here.
[0045] In some embodiments of the present application, the lighting devices in the device selection list can be lighting devices that have been paired with the terminal device, and can also be lighting devices purchased by the user logged in the client, which is not particularly limited here.
[0046] In step 220, a configuration operation triggered on at least one configuration option in the configuration interface is listened to, and a parameter value configured for a light effect parameter corresponding to the at least one configuration option is obtained.
[0047] The configuration interface is used for the user to configure light effect parameters. The configuration interface provides a configuration option corresponding to at least one light effect parameter, which serves as an entry for the user to configure a parameter value, so that the parameter value configured for the corresponding light effect parameter can be obtained by listening to the user's operation on the configuration option.
[0048] In the schemes of the present application, a light effect is defined by one or more light effect parameters. The light effect parameters can include a parameter indicating the lighting state of the lighting device. The light effect parameter for indicating the lighting state is referred to as the lighting state parameter. The lighting state parameter at least includes a lighting-off / on indication parameter for indicating the lighting-on or lighting-off, which includes a first parameter value indicating the lighting-on of the lighting device and a second parameter value indicating the lighting-off of the lighting device.
[0049] Further, if the lighting device has multiple lighting-on colors, the lighting state parameter can further include a lighting-on color parameter indicating the lighting-on color. Similarly, if the lighting device has adjustable brightness, the lighting state parameter can further include a brightness parameter indicating the brightness.
[0050] In some embodiments of the present application, for a light effect, the lighting-on color parameter can indicate multiple sets of lighting-on colors, for example, indicating the lighting-on color for different regions respectively. Similarly, the brightness parameter can indicate multiple sets of brightness, and further, can indicate the duration of each lighting state (lighting-on color and / or brightness).
[0051] In some embodiments of the present application, in the case that the brightness parameter indicates multiple sets of brightness, the multiple sets of brightness can be indicated by indicating the highest brightness, the lowest brightness, the highest brightness duration, the lowest brightness duration, and the brightness change speed, etc. Similarly, in the case that the lighting-on color parameter indicates multiple sets of lighting-on colors, the light effect parameter can further include a parameter indicating the color change speed, a parameter indicating the color duration.
[0052] In some embodiments of the present application, since the presentation of the light effect is a period of time, the light effect parameter can further include a duration parameter of the duration of the light effect.
[0053] In some embodiments of the present application, the light effect presented by the lighting device can be realized by the lighting-on state switching of multiple light beads in the lighting device. The lighting-on state switching can be the synchronous lighting-on state switching of all light beads in a region of the lighting device, for example, from lighting-on red to lighting-on purple. In some embodiments, the synchronous lighting-on state switching of all light beads in a region can be periodic switching, and the preset lighting-on color sequence is: lighting-on red→lighting-on purple→lighting-on blue. In this case, the light effect parameter can further include at least one of a cycle number parameter indicating the cycle number of the periodic switching, a duration parameter indicating the duration of each lighting state in a cycle, an interval duration parameter indicating the time interval between two adjacent lighting states in a cycle, and a state number parameter indicating the number of lighting states in a cycle.
[0054] In some embodiments of the present application, if the lighting device supports sub-region control, the lighting effect presented by the lighting device can also be that the light beads in different regions are lit according to the set lighting sequence, and in this case, the lighting effect presented by the lighting device is visually equivalent to the specified lighting state moving on the lighting device. Therefore, the lighting effect parameter can also include a dynamic movement parameter, which is used to indicate the movement of the specified lighting state in the lighting device.
[0055] Specifically, the dynamic movement parameter can include at least one of a movement direction parameter used to indicate the movement direction, a movement speed parameter used to indicate the movement speed, a movement parameter used to indicate whether to move, and a movement time interval parameter used to indicate the movement time interval. The movement time interval indicated by the movement time interval parameter can be understood as the duration of the specified lighting state staying in a region. Correspondingly, in this case, the lighting state parameter includes a parameter used to indicate the specified lighting state. Further, the carrier of the specified lighting state can be a light bead or a light bead in a region. In the case where the carrier of the specified lighting state is a light bead in a region, the dynamic movement parameter can further include an initial region specified parameter used to indicate the movement initial region. Of course, the movement initial region can also be preset in the lighting device.
[0056] In some embodiments of the present application, in the case where the lighting effect presented by the lighting device is visually equivalent to the specified lighting state moving on the lighting device, the movement can be according to a movement trajectory. The movement trajectory can be a preset movement trajectory, for example, the edge line of the lighting device. Specifically, if the lighting device is a light strip, the movement trajectory can be the axis or the long edge line of the light strip.
[0057] In some embodiments of the present application, the movement trajectory can also be set by the user, for example, the user selects a candidate movement trajectory from the provided optional candidate movement trajectories as the current movement trajectory. In some embodiments, the movement trajectory can also be a user-defined movement trajectory, and correspondingly, the lighting effect parameter can also include a movement trajectory specified parameter used to specify the movement trajectory. In the configuration interface, a configuration option for drawing the movement trajectory can be provided for the user to draw the movement trajectory.
[0058] Figure 3 FIG. 1 is a schematic diagram of a movement trajectory according to an embodiment of the present application. As shown in FIG. 1, the movement trajectory is a straight line, and the lighting device is a light strip. The movement trajectory is the axis of the light strip, and the lighting effect presented by the lighting device is that the specified lighting state moves along the axis of the light strip. Figure 3As shown, the light-up area of the lighting device is a ring-shaped area, in which a plurality of light beads are arranged uniformly in the axial direction. The ring-shaped area is uniformly divided into 6 areas, which are areas 311-316 respectively, and the light beads in each area can serve as a carrier of a specified light-up state. The set moving track can be an inner circle 320 of the ring-shaped area. Then, one area is selected as a starting area from the 6 areas, assuming that it is area 316, and after adjusting the light-up states of the light beads in area 316 to the specified light-up state, the light-up states of the light beads in areas 311-315 are sequentially switched to the specified light-up state along the inner circle 320, which is visually a specified light-up state moving along the ring-shaped area in the circumferential direction. Of course, Figure 3 The direction indicated by the arrow in the middle is the moving direction, and along the inner circle 320, the light-up states of the light beads in areas 311-315 are sequentially switched to the specified light-up state, which is visually a specified light-up state moving along the ring-shaped area in the circumferential direction. Of course, Figure 3 This is only an example and should not be considered as a limitation on the scope of use of the present application.
[0059] In some embodiments of the present application, in the scenario where the lighting device supports control in different areas, the light effect presented by the lighting device can also be a combination of the light-up states of the light beads in different areas. In this case, the initially divided areas in the lighting device (for the sake of convenience, the initially divided areas in the lighting device are referred to as initial division areas) can be recombined to redivide the light-up area in the lighting device. In this application scenario, the light effect parameter can further include an area division parameter; the area division parameter is used to divide the light-up area in the lighting device into at least two light-up areas. Correspondingly, the light-up state parameter includes a parameter for indicating the light-up state of the at least two light-up areas in the lighting device.
[0060] In some embodiments of the present application, in the scenario where the lighting device supports control in different areas, a specified area in which the light-up state needs to be switched can be selected from the divided areas in the lighting device, and the light effect presented by the specified area in which the light-up state is switched is combined with the light effect presented by other areas except the specified area to obtain the final light effect presented by the lighting device. In this scenario, the area division parameter can include an area specification parameter for selecting the specified area.
[0061] In some embodiments of the present application, the specified area can be determined by user scribbling, and the specified area is defined according to the boundary line drawn or selected by the user. In this case, the area division parameter can further include a scribble area specification parameter, which is used to specify the position of the scribble area in the light-up area of the lighting device, and at this time, the specified scribble area can be regarded as the specified area. In this scenario, the light-up state parameter includes a scribble light-up state parameter, which is used to indicate the light-up state of the scribble area in the lighting device.
[0062] In some embodiments of the present application, the light beads in the designated area (e.g. the graffiti area above) can also switch the lighting state. The lighting state switching can be performed synchronously by all the light beads in the designated area, or between different light beads in the designated area (e.g. the case of moving the designated lighting state in the visual effect above), or in a set order combination of the above two ways.
[0063] In step 230, the lighting effect configuration information is generated according to the parameter values of the configured lighting effect parameters.
[0064] In some embodiments of the present application, if multiple lighting effect parameters are configured, the configured multiple lighting effect parameters and the corresponding set of configured parameter values can be taken as the lighting effect configuration information.
[0065] In some embodiments of the present application, a lighting effect template can be pre-set for lighting effect configuration, which includes one or more lighting effect parameters. After obtaining the parameter values of the configured lighting effect parameters, the corresponding parameter values are added to the lighting effect template. The lighting effect template with the added corresponding parameter values can be taken as the lighting effect configuration information.
[0066] In step 240, the lighting effect configuration information is sent to the target lighting device, so that the target lighting device presents the corresponding lighting effect according to the lighting effect configuration information.
[0067] In some embodiments of the present application, since the lighting effect configuration information needs to be sent to the target lighting device to control the target lighting device to light up, in order to ensure that the target lighting device can accurately parse each lighting effect parameter in the lighting effect configuration information, a communication protocol can be pre-agreed between the lighting device and the terminal device, which specifies the parsing method and meaning of each lighting effect parameter in the lighting effect configuration information. In this case, the generated lighting effect configuration information is also the result of encoding according to the communication protocol, so that the encoded lighting effect configuration information is sent to the target lighting device, which can parse the lighting effect configuration information according to the corresponding communication protocol, and then generate effect execution parameters, and then control the target lighting device to light up according to the effect execution parameters to present the corresponding lighting effect. It can be understood that if the lighting device includes multiple light beads, the lighting effect execution parameters indicate the lighting state of each light bead in the lighting device at each time point.
[0068] In some embodiments of the present application, different communication protocols are set for three scenes due to different light effect parameters in different scenes. Specifically, the first communication protocol is suitable for lighting devices that do not support zoning control (for example, lighting devices with RGB type light beads), and the first communication protocol specifies the analysis method and meaning of each light effect parameter set in this scene. Among them, the light effect parameters specified in the first communication protocol can include: cycle number parameter, stay time parameter, interval time parameter, etc. Since lighting devices that do not support zoning control can only be controlled uniformly, that is, the lighting state of all light beads in the lighting device is the same at the same time point, the lighting state of the light beads can be set to switch according to the set switching sequence to form a rich lighting effect.
[0069] The second communication protocol is suitable for lighting devices that support zoning control (for example, lighting devices with RGBIC type light beads). The light effect parameters specified in the second communication protocol can include a region division parameter, which can be used to select a region from the initially divided regions in the lighting device as a designated region. Further, the definition of the lighting effect in the designated region and other regions (referred to as contrast regions for easy distinction) in the lighting device except the designated region. Further, the light effect parameters specified in the second communication protocol can include dynamic movement parameters, specifically, a first dynamic movement parameter for indicating movement in the designated region and a second dynamic movement parameter for indicating movement in the contrast region. Among them, the first dynamic movement parameter and the second dynamic movement parameter can include at least one of a movement direction parameter for indicating the movement direction, a movement speed parameter for indicating the movement speed, a movement parameter for indicating whether to move, a movement time interval parameter for indicating the movement time interval, and a movement trajectory designation parameter for indicating the movement trajectory. The light effect parameters fixed by the second communication protocol further include lighting state parameters, which include a first lighting state parameter for indicating the lighting state in the designated region and a second lighting state parameter for indicating the lighting state in the contrast region. Specifically, the first lighting state parameter and the second lighting state parameter can include brightness allocation method, multiple sets of brightness parameters (such as maximum brightness, minimum brightness, brightness change speed, maximum brightness stay time, minimum brightness stay time, brightness change direction), lighting color allocation method (such as color change speed, color stay time), multiple sets of lighting color parameters, etc. The light effect configuration information generated based on this communication protocol can control the light beads by zoning, realizing local light control.
[0070] The third communication protocol is suitable for a lighting device supporting partition control and supporting customizing division area boundary. The light effect parameters included in the third communication protocol include a graffiti area designation parameter, a background area lighting state parameter, and a graffiti area lighting state parameter. The background area lighting state parameter can be used to indicate the default color of the lamp beads as the background area. For example, all the lightable areas in the lighting device can be pre-designated as the background area, and in the case that no graffiti area is designated, the lighting state of the lamp beads in all the lightable areas is controlled according to the background area lighting state parameter. The graffiti area designation parameter is used to indicate the position of the graffiti area in the lightable area of the lighting device. The graffiti area lighting state parameter is used to indicate the lighting state of the lamp beads in the graffiti area. Further, the third communication protocol can also define parameters for switching the lighting state, such as the number of cycles and the duration of staying in the cycle of the lighting state in the graffiti area. Through this graffiti mode determined by the user, the user can define different graffiti effects of different patterns, and rich lighting effects can be presented.
[0071] In some embodiments of the present application, the user can also store the light effect configuration information in association with the device identifier of the target lighting device, so that if the user's client is connected to a lighting device of the same model or the same type (referred to as a similar lighting device for ease of distinction), the light effect configuration information configured for the target lighting device can be directly reused in the similar lighting device, or the user can reuse the light effect configuration information in the similar lighting device after editing and modifying the light effect configuration information.
[0072] In the scheme of the present application, a configuration interface for configuring a light effect is provided, and configuration options for configuring light effect parameters are provided in the configuration interface, so that the target lighting device can be configured with light effect parameters. The light effect configuration information generated by the configuration is sent to the target lighting device to control the target lighting device to present a corresponding light effect according to the light effect configuration information, thereby realizing customizing and flexibly configuring a light effect, and flexibly controlling the lighting device to present a rich variety of light effects.
[0073] In some embodiments of the present application, as shown in FIG. 4, Figure 4 Step 210 includes: step 410, acquiring a light effect template corresponding to the device type of the target lighting device according to the first trigger operation triggered on the target lighting device, the light effect template including at least one light effect parameter; and step 420, displaying the configuration interface according to the light effect template, so as to display configuration options corresponding to the at least one light effect parameter in the configuration interface.
[0074] In the present embodiment, a light effect template library is provided, which includes a plurality of light effect templates. A light effect template can be an abstract modeling of a type of light effect, which provides one or more light effect parameters that are abstracted for user configuration, so as to facilitate user customization of the light effect in the light effect parameters provided by the light effect template. It can be understood that the light effect parameters included in different light effect templates are different.
[0075] In some embodiments of the present application, the terminal device can obtain the device information of the target lighting device, for example, the device information of the lighting device stored in the client where the terminal device is located, or the device information obtained from the cloud server. The device information can be a device identifier of the lighting device, which can be a device name, a device serial number, etc., which is not limited here. The device identifier can include a type identifier, which is used to indicate the device classification to which the lighting device belongs, so that the device type of the target lighting device can be determined according to the type identifier in the device identifier of the target lighting device.
[0076] It can be understood that the lighting devices can be classified according to a plurality of classification strategies, so that the device type of the same lighting device can be multiple. In this case, the type identifier in the device identifier can also be multiple.
[0077] In some embodiments of the present application, the classification strategy can include a first classification strategy, which can be classifying the lighting devices according to whether the lightable area in the lighting device supports partition control. In this case, the device type can include a first device type and a second device type, wherein if the lightable area of the lighting device supports partition control, the lighting device belongs to the first device type; if the lightable area of the lighting device does not support partition control, the lighting device belongs to the second device type. For example, for a lighting device with RGB IC type lamp beads (i.e. RGB lamp beads with built-in IC chip), partition control is supported, so that under the first classification strategy, the device type of the lighting device is the first device type; for a lighting device with RGB type lamp beads, the lamp beads on it can only be controlled uniformly and do not support partition control, so that the device type of the lighting device is the second device type.
[0078] In some embodiments of the present application, the classification strategy can include a second classification strategy, which refers to classification according to the shape of the lightable area in the lighting device. In this case, the device types can include a long strip type, a circular type, a polygon type, etc. Of course, the total number of device types set can be set according to actual needs, and is not specifically limited here. Of course, in other embodiments, the lighting device can also be classified according to other classification strategies, and the first and second classification strategies listed above cannot be considered as limiting the scope of use of the present application.
[0079] In some embodiments of the present application, the classification strategy is pre-stored in the client running on the terminal, so that the client can classify the lighting device according to the device classification strategy information and the obtained device information, determine the device type to which the lighting device belongs and store it. On this basis, in step 410, the device type to which the target lighting device belongs can be directly obtained.
[0080] In some embodiments of the present application, the correspondence between the device type and the light effect template can be pre-set, so that the light effect template corresponding to the device type of the target lighting device can be determined according to the correspondence.
[0081] In some embodiments of the present application, in order to facilitate light effect template matching, a label can be labeled for each light effect template. The labeled label can include a device type label, which is used to indicate the device type of the lighting device to which the light effect template is applicable. Therefore, if the device type indicated by the device type label of a light effect template is the same as the device type of the target lighting device, the light effect template is determined as the light effect template corresponding to the device type of the target lighting device.
[0082] After obtaining the light effect template corresponding to the device type of the target lighting device, since the light effect template indicates the light effect parameters that need to be configured, the display of the configuration interface is performed according to the light effect template, so as to display the configuration options corresponding to the light effect parameters indicated by the light effect template in the configuration interface.
[0083] In some embodiments of the present application, since the lighting device of one device type can be applicable to multiple light effect templates, in step 410, multiple light effect templates corresponding to the device type of the target lighting device can be further provided, and one of the multiple light effect templates is selected by the user as a target light effect template, and then in step 420, the configuration interface is displayed according to the light effect parameters included in the target light effect template.
[0084] In some embodiments of the present application, since different light effects have different visual effects, the label of the light effect template can further include a scene label, which is used to indicate a scene in which the light effect presented according to the light effect template is suitable to be used, such as daily life, festival, etc., which can be set as needed.
[0085] In some embodiments of the present application, the label of the light effect template can further include a light effect characteristic label, which is used to indicate a characteristic of the light effect presented based on the light effect template. In a specific embodiment, the light effect characteristic label can be Fade, Jumping, Twinkle, Marquee, Rainbow, etc., which is not limited herein.
[0086] In some embodiments of the present application, after determining the light effect template corresponding to the device type of the target lighting device (for the convenience of description, the determined light effect template is referred to as the first light effect template), if there are multiple first light effect templates, a label list can be further displayed, in which the scene labels and / or light effect characteristic labels of the multiple first light effect templates are displayed, so that the user can select a target light effect template from the multiple first light effect templates according to the scene labels and / or light effect characteristic labels in the label list.
[0087] Figure 5 FIGS. 5A and 5B are schematic diagrams of interactions for configuring light effect parameters according to an embodiment of the present application. In Figure 5 In the interface diagram shown in FIG. 5A, a label list 510 is displayed, which includes multiple label names, namely Fade, Jumping, Marquee, Chasing, Rainbow, Crossing, Music, and Combo. Figure 5 The selected label in FIG. 5A is the label with the name Fade. After selecting the label, the corresponding configuration options are displayed in the configuration interface shown in FIG. 5B, i.e., the configuration options corresponding to the light effect parameters included in the light effect template corresponding to the selected label. Figure 5 The selected label in FIG. 5A is the label with the name Fade. After selecting the label, the corresponding configuration options are displayed in the configuration interface shown in FIG. 5B, i.e., the configuration options corresponding to the light effect parameters included in the light effect template corresponding to the selected label.
[0088] Specifically, as shown in FIG. 5B, the configuration interface includes a configuration option 520 corresponding to the light effect parameter of the light effect template corresponding to the selected label, which is used to set the value of the light effect parameter. Figure 5As shown in FIG. 5B, in the configuration interface, an application object selection option 521 is displayed, which provides application objects including Whole, Subsection and Cycle. If Whole is triggered, the parameter values configured in the displayed configuration options are applied to the whole section of the light strip. Correspondingly, if Subsection is triggered, the parameter values configured in the displayed configuration options are applied to a certain subsection of the light strip. If Cycle is triggered, the parameter values configured in the displayed configuration options are applied to the cycle lighting process of the light strip.
[0089] As shown in FIG. 5B, in the configuration interface, an application object selection option 521 is displayed, which provides application objects including Whole, Subsection and Cycle. If Whole is triggered, the parameter values configured in the displayed configuration options are applied to the whole section of the light strip. Correspondingly, if Subsection is triggered, the parameter values configured in the displayed configuration options are applied to a certain subsection of the light strip. If Cycle is triggered, the parameter values configured in the displayed configuration options are applied to the cycle lighting process of the light strip. Figure 5 As shown in FIG. 5B, in the configuration interface, an application object selection option 521 is displayed, which provides application objects including Whole, Subsection and Cycle. If Whole is triggered, the parameter values configured in the displayed configuration options are applied to the whole section of the light strip. Correspondingly, if Subsection is triggered, the parameter values configured in the displayed configuration options are applied to a certain subsection of the light strip. If Cycle is triggered, the parameter values configured in the displayed configuration options are applied to the cycle lighting process of the light strip. Figure 5 As shown in FIG. 5B, in the configuration interface, an application object selection option 521 is displayed, which provides application objects including Whole, Subsection and Cycle. If Whole is triggered, the parameter values configured in the displayed configuration options are applied to the whole section of the light strip. Correspondingly, if Subsection is triggered, the parameter values configured in the displayed configuration options are applied to a certain subsection of the light strip. If Cycle is triggered, the parameter values configured in the displayed configuration options are applied to the cycle lighting process of the light strip.
[0090] Figure 6 As shown in FIG. 5B, in the configuration interface, an application object selection option 521 is displayed, which provides application objects including Whole, Subsection and Cycle. If Whole is triggered, the parameter values configured in the displayed configuration options are applied to the whole section of the light strip. Correspondingly, if Subsection is triggered, the parameter values configured in the displayed configuration options are applied to a certain subsection of the light strip. If Cycle is triggered, the parameter values configured in the displayed configuration options are applied to the cycle lighting process of the light strip. Figure 6 As shown in FIG. 5B, in the configuration interface, an application object selection option 521 is displayed, which provides application objects including Whole, Subsection and Cycle. If Whole is triggered, the parameter values configured in the displayed configuration options are applied to the whole section of the light strip. Correspondingly, if Subsection is triggered, the parameter values configured in the displayed configuration options are applied to a certain subsection of the light strip. If Cycle is triggered, the parameter values configured in the displayed configuration options are applied to the cycle lighting process of the light strip. Figure 6 As shown in FIG. 5B, in the configuration interface, an application object selection option 521 is displayed, which provides application objects including Whole, Subsection and Cycle. If Whole is triggered, the parameter values configured in the displayed configuration options are applied to the whole section of the light strip. Correspondingly, if Subsection is triggered, the parameter values configured in the displayed configuration options are applied to a certain subsection of the light strip. If Cycle is triggered, the parameter values configured in the displayed configuration options are applied to the cycle lighting process of the light strip. Figure 6As shown, the configuration interface includes a Background color configuration option 610 and an Embellishment color configuration option 620, the user can add one or more color icons under the Background color configuration option 610 to set the color indicated by the added color icon as the color of the lighting area in the lighting device as the background. The Embellishment color configuration option 620 includes a Gradient option 621 and a Lighting color selection option, the Gradient option provides a switch control for selecting whether to switch, and the Lighting color selection option is used for the user to select the lighting color of the embellishment area.
[0091] It is worth mentioning that, Figure 5 and Figure 6 The above is only an exemplary example of the configuration options displayed in the configuration interface, in other embodiments, the configuration options displayed in the configuration interface can also include more or less configuration options, and the display form is not limited to Figure 5 and Figure 6 As shown.
[0092] In some embodiments of the present application, after step 230, the control method of the lighting device further includes: sharing the light effect configuration information according to the triggered sharing operation. Wherein, the triggered sharing operation can be a user operation triggered on the sharing control in the display interface, such as a click operation, a touch operation, etc.
[0093] In some embodiments of the present application, the light effect configuration information can be further uploaded to the shared light effect library in the cloud. Thus, the user can directly select the light effect configuration information from the shared light effect library and apply it to the selected lighting device, realizing the reuse of the light effect configuration information.
[0094] In some embodiments of the present application, the step of sharing the light effect configuration information according to the triggered sharing operation further includes: acquiring a lighting video collected during the lighting of the target lighting device according to the light effect configuration information; and sharing the lighting video and the light effect configuration information according to the triggered sharing operation.
[0095] In some embodiments of the present application, after the light effect configuration information is sent to the lighting device, the video capture through the camera in the terminal device or the video capture device (e.g., the camera) in other devices can be controlled to start, and the lighting video captured during the lighting of the target lighting device according to the light effect configuration information is obtained. Then, the user can associate and share the lighting video with the light effect configuration information corresponding to the lighting video, for example, share it in the specified sharing platform or share it in the cloud light effect library. Since the light effect configuration information is associated and shared with the lighting video presenting the corresponding lighting effect, other users can directly understand the visual presentation effect of the light effect corresponding to the light configuration information by watching the lighting video, which facilitates the selection of the user for the light effect configuration information.
[0096] In some embodiments of the present application, the control method of the lighting device further includes: in response to the classification operation triggered by the selected light effect configuration information, obtaining the target classification identifier selected for the selected light effect configuration information; and adding the identification information of the selected light effect configuration information to the configuration information list corresponding to the target classification identifier.
[0097] The selected light effect configuration information can be the light effect configuration information configured by the user, the light effect configuration information shared by other users in the shared light effect library, or the like, which is not limited here. The identification information of the light effect configuration information can be the name or icon of the light effect configuration information, which is not limited here.
[0098] Based on the classification operation triggered by the user, the identification information of the selected light effect configuration information is added to the configuration information list corresponding to the target classification identifier, which realizes the classification management of the light effect configuration information by the user according to the needs, and facilitates the subsequent search and quick application of the light effect configuration information. In some embodiments of the present application, the user can set the classification identifier according to the needs, and each classification identifier corresponds to a light effect configuration classification.
[0099] In some embodiments of the present application, the user can add the light effect configuration information configured by the user and / or the light effect configuration information selected from the shared light effect library to the user light effect library. In this case, the first display interface for displaying the light effect configuration information in the shared light effect library is provided in the client.
[0100] Figure 7 is a schematic diagram of the first display interface according to an embodiment of the present application, as shown in Figure 7 Figure 7 When the "Effects Lab" control is triggered, it displays the lighting effect configuration information from the shared lighting effects library. Specifically, the lighting effect configuration information in the shared lighting effects library is displayed according to the set lighting effect categories. In a specific embodiment, it can be categorized according to the tags of the lighting effect configuration information. The tags of the lighting effect configuration information can be the tags of the lighting effect template used by the lighting effect configuration information, such as the device type tag, scene tag, and lighting effect feature tag mentioned above.
[0101] like Figure 7 As shown, the first display interface displays a category list 730, which shows the four set lighting effect categories: Natural, Festival, Life, and Emotion. Figure 7 The example shown is an effect icon 720 for eight lighting effect configurations belonging to the "Natural" lighting effect category.
[0102] exist Figure 7 The first display interface shown further displays a first editing control 740. If the first editing control 740 is triggered, it can enter the second display interface 800 for editing the lighting effect configuration information in the user's lighting effect library.
[0103] Figure 8 This is a schematic diagram of a second display interface according to a specific embodiment of this application. The second display interface 800 includes a first display area 810 and a second display area 820. The first display area 810 displays effect icons from the user's lighting effect library, with each effect icon uniquely corresponding to a lighting effect configuration. Correspondingly, the effect icons in the first display area 810 are also categorized and displayed according to four lighting effect categories: "Natural," "Festival," "Life," and "Emotion." Figure 8 The first display area 810 shows the effect icons under the "Life" lighting effect category. Of course, in a specific embodiment, the lighting effect category can be set according to actual needs.
[0104] Furthermore, the effect icons displayed in the first display area 810 are editable, meaning that the corresponding effect icons can be deleted. The second display area 820 is used to display effect icons from the shared lighting effect library. Users can select effect icons in the second display area 820 to add lighting effect configuration information from the shared lighting effect library to their own lighting effect library.
[0105] Figure 9is a schematic view of a third display interface for displaying a user light effect library according to an embodiment of the present application. As shown in Figure 9 The third display interface 900 exemplarily shows effect icons of light effect configuration information in a user light effect library of a user, which is similar to the shared light effect library. The effect icons in the user light effect library are also displayed according to preset light effect categories.
[0106] In some embodiments of the present application, as shown in Figure 10 The control method of the lighting device further includes:
[0107] In step 1010, in response to an application operation triggered by selected light effect configuration information on the sharing page, a list of application devices is displayed.
[0108] In step 1020, a selection operation triggered in the list of application devices is detected.
[0109] In step 1030, the selected light effect configuration information is sent to a first lighting device selected by the selection operation, so that the first lighting device presents a corresponding light effect according to the selected light effect configuration information.
[0110] The sharing page is used to aggregate and display light effect configuration information shared by various users. In some embodiments of the present application, the display form of the light effect configuration information in the sharing page can be only to display identification information of the light effect configuration information, such as a name, an icon, etc. In some embodiments of the present application, if a user shares a light-on video in association with light effect configuration information, the sharing page can only display a video cover of the light-on video associated with the light effect configuration information. The user can trigger the video cover to enter a detail page of the light effect configuration information to view details of the light effect configuration information.
[0111] In this embodiment, for the light effect configuration information displayed in the sharing page, the sharing page provides an application control that can trigger an application operation, thereby facilitating the user to quickly apply light effect configuration information shared by other users to the lighting device of the user. The selected light effect configuration information selected by the user in the sharing page is the selected light effect configuration information.
[0112] In some embodiments of the present application, the application device list can be used to display the device identities of the lighting devices to which the client is paired and connected. In some embodiments of the present application, since the light effect configuration information is obtained by configuring the light effect parameters for the selected lighting devices, it indicates that the light effect configuration information is adapted to the corresponding lighting devices. In some embodiments, during the light effect configuration information sharing process, the light effect configuration information can also be associated with and shared with the device identities of the selected lighting devices, so that other users can determine which lighting devices the shared light effect configuration information is applicable to.
[0113] In some embodiments of the present application, the device identities in the application device list can also be the device identities of the lighting devices in the lighting devices to which the client is paired and connected, which are of the same model or of the same device type as the device identities associated with the selected light effect configuration information.
[0114] In some embodiments of the present application, if the selected light effect configuration information is generated according to a preset light effect template, and the label of the light effect template includes a device type label of the applicable lighting devices, the device identities in the application device list can also be determined by the following process: obtaining a first device type label of the light effect template corresponding to the selected light effect configuration information; selecting a second lighting device in the lighting devices to which the client is paired and connected, which is of the same device type as the device type indicated by the first device type label; and adding the device identity corresponding to the second lighting device to the application device list. Thus, it can be ensured that the lighting devices indicated by the device identities in the application device list are all applicable to the selected light effect configuration information, avoiding the situation that the user needs to reselect the light effect configuration information due to the selection of the selected light effect configuration information that is not applicable.
[0115] In some embodiments of the present application, for the selected light effect configuration information on the sharing page, the user can also enter the detail page of the selected light effect configuration information, edit the parameter values of the light effect parameters in the selected light effect configuration information again, and send the edited selected light effect configuration information to the selected first lighting device.
[0116] In this embodiment, since the user can directly apply the light effect configuration information shared by other users to the lighting devices of the user, the user is provided with a large number of light effect configuration information that can be selected, so that the user can directly reuse the light effect configuration information shared by other users, thereby facilitating the quick control of the lighting devices to present the corresponding light effect.
[0117] Figure 11 FIG. 1 is a schematic diagram of a sharing page according to an embodiment of the present application, as shown in Figure 11As shown, for each light effect configuration information, the sharing page provides a video cover display area 1110 and a user information display area 1120, wherein the video cover display area 1110 is configured to display a video cover of a light-on video associated with the light effect configuration information, and the user information display area 1120 is configured to display user information of a user who provides the light effect configuration information, which can include a user avatar, a user nickname, a sharing time, etc., which are not limited here. Further, as shown in FIG. 11B, for each light effect configuration information, the sharing page also displays a configuration information application control 1130, i.e., the "Apply" control in FIG. 11B, and a configuration information saving control 1140, i.e., the "Saved" control in FIG. 11B. The user can trigger the configuration information saving control 1140 to save the light effect configuration information to the user's user light effect library. The user can trigger the configuration information application control 1130 to apply the light effect configuration information to a lighting device selected by the user. Figure 11 Figure 11 Figure 11
[0118] Specifically, if the configuration information application control 1130 in the sharing page is triggered, the user can enter the interface shown in FIG. 12A, which displays an application device list 1210. The user can select a device identifier from the application device list 1210, and use the lighting device indicated by the selected device identifier as the first lighting device. After the user selects the device identifier from the application device list 1210, the user can enter the configuration information detail page 1300 of the selected light effect configuration information shown in FIG. 13A, which displays the parameter values of the light effect parameters in the selected light effect configuration information. In specific embodiments, the user can edit the parameter values of the light effect parameters in the configuration information detail page 1300 and apply them to the first lighting device, or directly apply them to the first lighting device without editing, which are not limited here. Figure 12 Figure 13
[0119] The device embodiments of the present application are introduced below, which can be used to execute the methods in the above embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the above method embodiments of the present application.
[0120] Figure 14 is a block diagram of a control device of a lighting device according to an embodiment, which is applied to a terminal device, such as a mobile phone, a tablet computer, a wearable device, etc. Figure 14 As shown, the control apparatus of the lighting device includes: a display module 1410 configured to display a configuration interface in response to a first trigger operation triggered on a target lighting device; a listening module 1420 configured to listen to a configuration operation triggered on at least one configuration option in the configuration interface, and obtain a parameter value configured for a light effect parameter corresponding to the at least one configuration option; a generation module 1430 configured to generate light effect configuration information according to the parameter value configured for the light effect parameter; and a sending module 1440 configured to send the light effect configuration information to the target lighting device, so as to control the target lighting device to present a corresponding light effect according to the light effect configuration information.
[0121] In some embodiments of the present application, the display module 1410 includes: a light effect template acquisition unit configured to acquire a light effect template corresponding to a device type of a target lighting device according to a first trigger operation triggered on the target lighting device, the light effect template including at least one light effect parameter; and a display unit configured to display the configuration interface according to the light effect template, so as to display a configuration option corresponding to the at least one light effect parameter in the configuration interface.
[0122] In some embodiments of the present application, the light effect parameter includes a region division parameter and a light-on state parameter; the region division parameter is used to divide a light-on region in a lighting device into at least two light-on regions; and the light-on state parameter is used to indicate light-on states of the at least two light-on regions in the lighting device.
[0123] In some embodiments of the present application, the light effect parameter further includes a dynamic movement parameter, and the dynamic movement parameter is used to indicate movement of a specified light-on state in a lighting device.
[0124] In some embodiments of the present application, the region division parameter includes a graffiti region designation parameter; the light-on state parameter includes a graffiti light-on state parameter; the graffiti region designation parameter is used to designate a position of a graffiti region in a light-on region of the lighting device; and the graffiti light-on state parameter is used to indicate a light-on state of the graffiti region in the lighting device.
[0125] In some embodiments of the present application, the control apparatus of the lighting device further includes: a device selection list display unit configured to display a device selection list in response to a second trigger operation triggered on a specified control; a detection unit configured to detect a device selection operation triggered on the device selection list; and a target lighting device determination unit configured to select a lighting device selected by the device selection operation as the target lighting device.
[0126] In some embodiments of the present application, the control device of the lighting device further comprises a sharing module configured to share the light effect configuration information according to a triggered sharing operation.
[0127] In some embodiments of the present application, the sharing module comprises a light-on video acquisition unit configured to acquire a light-on video collected during the target lighting device is lit according to the light effect configuration information; and an associated sharing unit configured to share the light-on video and the light effect configuration information according to a triggered sharing operation.
[0128] In some embodiments of the present application, the control device of the lighting device further comprises a target classification identifier acquisition module configured to acquire a target classification identifier selected for the selected light effect configuration information in response to a triggered classification operation on the selected light effect configuration information; and an adding module configured to add the identifier information of the selected light effect configuration information to a configuration information list corresponding to the target classification identifier.
[0129] In some embodiments of the present application, the control device of the lighting device further comprises an application device list display module configured to display an application device list in response to a triggered application operation on the selected light effect configuration information on the sharing page; a selection operation detection module configured to detect a selection operation triggered in the application device list; and an information sending module configured to send the selected light effect configuration information to a first lighting device selected by the selection operation, so that the first lighting device presents a corresponding light effect according to the selected light effect configuration information.
[0130] Figure 15 The structural schematic diagram of a computer system of an electronic device suitable for implementing the embodiments of the present application is shown. It should be noted that, Figure 15 The computer system 1500 of the electronic device shown is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present application.
[0131] As Figure 15As shown, the computer system 1500 includes a central processing unit (CPU) 1501 which can execute various appropriate actions and processes in accordance with programs stored in a read-only memory (ROM) 1502 or loaded from the storage section 1508 into a random access memory (RAM) 1503, such as executing the methods in the above-described embodiments. Various programs and data required for system operation are also stored in the RAM 1503. The CPU 1501, the ROM 1502, and the RAM 1503 are connected to each other through a bus 1504. An input / output (I / O) interface 1505 is also connected to the bus 1504.
[0132] Connected to the I / O interface 1505 are an input section 1506 including a keyboard, a mouse, etc.; an output section 1507 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1508 including a hard disk, etc.; and a communication section 1509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1509 performs communication processing via a network such as the Internet. A drive 1510 is also connected to the I / O interface 1505 as necessary. A removable recording medium 1511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 1510 as necessary, so that a computer program read therefrom is installed into the storage section 1508 as necessary.
[0133] In particular, according to embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 1509, and / or installed from the removable recording medium 1511. When the computer program is executed by the central processing unit (CPU) 1501, various functions defined in the systems of the present application are executed.
[0134] It should be noted that the computer-readable medium in the embodiments of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present application, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus. In the present application, the computer-readable signal medium can include a data signal carrying computer-readable program code in a baseband or as a part of a carrier wave. Such a propagated data signal can take on various forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium that can send, propagate or transmit a program for use by or in connection with an instruction execution system, device or apparatus. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, or the like, or any suitable combination thereof.
[0135] The flowcharts and block diagrams in the drawings illustrate the possible implementation architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In the flowcharts or block diagrams, each block can represent a module, a program segment or a part of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different orders than that shown in the drawings. For example, two blocks that are shown in succession can actually be executed substantially in parallel, and they can also be executed in reverse order, depending on the involved functions. It should also be noted that each block in the block diagrams or flowcharts, and the combination of blocks in the block diagrams or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0136] The units described in the embodiments of the present application can be implemented by software, or can be implemented by hardware, and the units described can also be arranged in a processor. In some cases, the names of the units do not constitute a limitation on the units themselves.
[0137] As another aspect, the present application also provides a computer readable storage medium, which can be included in the electronic device described in the above embodiments, or can exist independently without being assembled into the electronic device. The above computer readable storage medium carries computer readable instructions, which, when executed by a processor, implement the method in any of the above embodiments.
[0138] According to an aspect of the present application, an electronic device is also provided, which includes a processor, and a memory having computer readable instructions stored thereon, the computer readable instructions being executed by the processor to implement the method in any of the above embodiments.
[0139] According to an aspect of the embodiments of the present application, a computer program product or computer program is provided, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method in any of the above embodiments.
[0140] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, such division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into several modules or units.
[0141] From the above description of the embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or network, and includes several instructions to make a computing device (which can be a personal computer, server, touch terminal, or network device, etc.) execute the methods according to the embodiments of the present application.
[0142] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the application embrace any and all variations of the present application that fall within the scope of the general inventive concept as defined by the appended claims and their equivalents. It is intended that the application encompass all such variations as fall within the scope of the appended claims and their equivalents.
[0143] It is to be understood that the application is not limited to the precise construction herein described and as shown in the drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the application. The scope of the application should only be limited by the claims appended hereto.
Claims
1. A control method of a lighting device, characterized by, The control method is applied to a terminal device and comprises the following steps: In response to a first trigger operation triggered on a target lighting device, a configuration interface is displayed; A configuration operation triggered on at least one configuration option in the configuration interface is listened to, and a parameter value configured for a light effect parameter corresponding to the at least one configuration option is obtained; Light effect configuration information is generated according to the parameter value configured for the light effect parameter; the light effect configuration information comprises information encoded according to a third communication protocol; The light effect configuration information is sent to the target lighting device, so that the target lighting device presents a corresponding light effect according to the light effect configuration information; The response to the first trigger operation triggered on the target lighting device to display the configuration interface comprises the following steps: According to the first trigger operation triggered on the target lighting device, a light effect template whose device type indicated by a device type label is the same as the device type of the target lighting device is obtained from a plurality of light effect templates included in a light effect template library as a first light effect template, the light effect template provides at least one light effect parameter that can be configured by a user; one light effect template is an abstract modeling of a type of light effect; the light effect parameters included in different light effect templates are different; each light effect template corresponds to a label; a device type label is used to indicate the device type of a lighting device to which a light effect template is applicable; a scene label is used to indicate a scene in which a light effect presented according to a corresponding light effect template is suitable for use; a light effect characteristic label is used to indicate the characteristics of a light effect presented according to a corresponding light effect template; the device type comprises a first device type and a second device type, the lightable area of a lighting device belonging to the first device type supports partition control, and the lightable area of a lighting device belonging to the second device type does not support partition control; If the first light effect template is a plurality of light effect templates, a label list is displayed, and the scene labels and light effect characteristic labels of the plurality of first light effect templates are displayed in the label list; If a user selects a target light effect template from the plurality of first light effect templates according to the scene labels and light effect characteristic labels displayed in the label list, the configuration interface is displayed according to the light effect parameters included in the target light effect template, and configuration options corresponding to the light effect parameters in the target light effect template are displayed in the configuration interface; The third communication protocol is suitable for a lighting device that supports partition control and supports customizing a region boundary; the light effect parameters defined in the third communication protocol comprise a graffiti area designation parameter, a background area light-on state parameter, a graffiti area light-on state parameter, and a parameter for switching a light-on state in a graffiti area, the parameter for switching the light-on state in the graffiti area comprises a cycle number parameter for cycling the light-on state in the graffiti area and a stay duration parameter.
2. The control method according to claim 1, characterized by, The light effect configuration information further comprises information encoded according to a second communication protocol. The second communication protocol is suitable for a lighting device supporting partition control, and light effect parameters defined in the second communication protocol include a region division parameter, a first dynamic movement parameter, a second dynamic movement parameter, a first light-on state parameter, and a second light-on state parameter. The region division parameter is used to determine a specified region and a contrast region in an initially divided region in the lighting device. The specified region refers to a selected region that needs to switch the light-on state, and the contrast region refers to other regions in the lighting device except the specified region. The first dynamic movement parameter is used to indicate movement of the specified light-on state in the specified region, and the second dynamic movement parameter is used to indicate movement of the specified light-on state in the contrast region. The first dynamic movement parameter and the second dynamic movement parameter each include a movement direction parameter used to indicate a movement direction, a movement speed parameter used to indicate a movement speed, a movement parameter used to indicate whether to move, a movement time interval parameter used to indicate a movement time interval, and a movement trajectory specification parameter used to indicate a movement trajectory. The first light-on state parameter is used to indicate a light-on state in the specified region, and the second light-on state parameter is used to indicate a light-on state in the contrast region.
3. The control method according to claim 1 or 2, characterized by, After the light effect configuration information is generated according to the parameter values of the light effect parameters, the control method further includes: According to the triggered sharing operation, the light effect configuration information is shared.
4. The control method according to claim 3, characterized by According to the triggered sharing operation, the light effect configuration information is shared, including: obtaining a light-on video collected during light-on of the target lighting device according to the light effect configuration information; According to the triggered sharing operation, the light effect configuration information is shared.
5. The control method according to claim 1 or 2, characterized by, The control method further includes: In response to a classification operation triggered on selected light effect configuration information, a target classification identifier selected for the selected light effect configuration information is obtained; The identification information of the selected light effect configuration information is added to the configuration information list corresponding to the target classification identifier.
6. The control method according to claim 1 or 2, characterized by, The control method further includes: In response to an application operation triggered on selected light effect configuration information on a sharing page, an application device list is displayed; A selection operation triggered in the application device list is detected; The selected light effect configuration information is sent to a first lighting device selected by the selection operation, so that the first lighting device presents a corresponding light effect according to the selected light effect configuration information.
7. A control device of a lighting device, characterized by The control device is applied to a terminal device, and includes: A display module configured to display a configuration interface in response to a first trigger operation triggered on a target lighting device; A listening module configured to listen to a configuration operation triggered on at least one configuration option in the configuration interface, and obtain parameter values of light effect parameter configurations corresponding to the at least one configuration option; The generating module is configured to generate light effect configuration information according to the parameter values of the light effect parameter configuration; the light-up area of the target lighting device supports partition control, and the light effect configuration information comprises information encoded according to a third communication protocol; The sending module is configured to send the light effect configuration information to the target lighting device, so as to control the target lighting device to present a corresponding light effect according to the light effect configuration information. The configuration interface is displayed in response to the first trigger operation triggered by the target lighting device, and comprises: According to the first trigger operation triggered by the target lighting device, a light effect template of the same device type as the target lighting device is obtained from a plurality of light effect templates included in a light effect template library as a first light effect template, the light effect template provides at least one light effect parameter that can be configured by a user; one light effect template is an abstract modeling of a type of light effect; the light effect parameters included in different light effect templates are different; each light effect template corresponds to a label; a device type label is used to indicate the device type of the lighting device to which the light effect template is applicable; a scene label is used to indicate a scene in which the light effect presented according to the corresponding light effect template is suitable for use; a light effect characteristic label is used to indicate the characteristics of the light effect presented by the corresponding light effect template; the device type comprises a first device type and a second device type, and the light-up area of the lighting device belonging to the first device type supports partition control; the light-up area of the lighting device belonging to the second device type does not support partition control; If the first light effect template is a plurality of light effect templates, a label list is displayed, and the scene label and the light effect characteristic label of the plurality of first light effect templates are displayed in the label list; If a user selects a target light effect template from the plurality of first light effect templates according to the scene label and the light effect characteristic label displayed in the label list, the configuration interface is displayed according to the light effect parameters included in the target light effect template, so that the configuration options corresponding to the light effect parameters in the target light effect template are displayed in the configuration interface; The third communication protocol is applicable to a lighting device that supports partition control and supports customizing a region boundary; the light effect parameters defined in the third communication protocol comprise a graffiti area designation parameter, a background area light-up state parameter, a graffiti area light-up state parameter, and a parameter for switching a light-up state in a graffiti area, the parameter for switching a light-up state in a graffiti area comprises a cycle number parameter for cycling a light-up state in a graffiti area and a stay duration parameter.
8. An electronic device, comprising: Comprise: A processor; A memory, the memory has computer readable instructions stored thereon, the computer readable instructions are executed by the processor to implement the method of any one of claims 1-6.
9. A computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor, implement the method of any one of claims 1-6.
Citation Information
Patent Citations
LED (light emitting diode) lamp control system and control method
CN102098835A
Lamp light control method and device and computer equipment
CN112672464A
Device control method, mobile terminal and computer readable storage medium
CN113065113A