Illumination control method and apparatus, and device and storage medium

By obtaining and matching the changing model of the optical unit to control the lighting parameters, the problem of single effects of the existing lighting equipment is solved, the lighting effect of diversity and flexibility is achieved, and the user experience is improved.

WO2025019997A1PCT designated stage expired Publication Date: 2025-01-30SHENZHEN MANGO SCI & TECH INNOVATION CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/108703
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-07-21
Publication Date
2025-01-30

AI Technical Summary

Technical Problem

The lighting effects of existing lighting equipment are relatively single and cannot meet the diversity requirements of different scenarios.

Method used

By obtaining the changing model of the optical unit, matching the lighting parameters of the light source, controlling the light source to light up according to the corresponding lighting parameters to display the target lighting effect. The changing model of the optical unit includes at least the optical unit motion model, and the lighting parameters include at least the lighting time, color and brightness.

Benefits of technology

The diversity and flexibility of the lighting effect can be realized, and the lighting effect can be dynamically adjusted according to different scenarios, and the user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023108703_30012025_PF_FP_ABST
    Figure CN2023108703_30012025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of illumination control. Provided are an illumination control method and apparatus, and a device and a storage medium. The method comprises: in response to an illumination effect adjustment instruction, an electronic device acquiring optical unit change models corresponding to a target illumination effect; on the basis of the optical unit change models, matching illumination parameters of a light source, such as color, brightness and illumination time; and controlling the light source to perform illumination according to the corresponding illumination parameters, so as to present the target illumination effect. The adjustment of the illumination effect can be realized by means of adjusting the optical unit change models, and the diversity of illumination effects is enriched due to the diversity of the optical unit change models.
Need to check novelty before this filing date? Find Prior Art

Description

Lighting control method, device, equipment and storage medium Technical Field

[0001] The present application relates to the field of lighting control technology, and in particular to a lighting control method, device, equipment and storage medium. Background Art

[0002] With the continuous advancement and innovation of science and technology, users have higher and higher requirements for quality of life and comfort. In order to adapt to different situational needs, such as stage performances, architectural landscapes, commercial displays, etc., different lighting effects are usually required to adapt to the corresponding situational needs.

[0003] However, the existing lighting equipment has a relatively simple lighting effect display and a low degree of diversity, which cannot meet the corresponding scene requirements.

[0004] Summary of the Invention

[0005] In view of this, the present application provides a lighting control method, device, equipment and storage medium to solve the problem that the lighting effects of existing lighting equipment are relatively simple.

[0006] A first aspect of an embodiment of the present application provides a lighting control method, which includes: obtaining a light unit change model in response to a lighting effect adjustment instruction; matching lighting parameters of a light source based on the light unit change model; and controlling the light source to illuminate according to the corresponding lighting parameters to display a target lighting effect.

[0007] In some embodiments, the light unit change model includes at least a light unit motion model, and the lighting parameters include at least the lighting time of the light source; matching the lighting parameters of the light source based on the light unit change model includes: determining the lighting time of the light source when it is a light source to be lit based on the light unit motion model.

[0008] In some embodiments, the light unit motion model includes the position-time change relationship of the light source to be lit; determining the lighting time of the light source when it is the light source to be lit based on the light unit motion model includes: determining the lighting time of the light source to be lit based on the initial lighting light source position, the position of the light source to be lit and the position-time change relationship.

[0009] In some embodiments, the position-time change relationship includes at least variable speed change or uniform speed change; the determining the lighting time of the light source to be lit based on the initial lighting light source position, the position of the light source to be lit and the position-time change relationship includes: if the position-time change relationship is a variable speed change, then the lighting time of the light source to be lit is determined based on the initial lighting light source position, the position of the light source to be lit, the acceleration of the variable speed change, and the initial speed; if the position change relationship with time is a uniform speed change, then the lighting time of the light source to be lit is determined based on the initial lighting light source position, the position of the light source to be lit, and the speed of the uniform speed change.

[0010] In some embodiments, the light unit change model also includes at least a color gradient model and / or a brightness gradient model, and the lighting parameters also include at least the color and / or brightness of the light source; the lighting parameters of the light source matched based on the light unit change model include: determining the color of the light source when it is the light source to be lit based on the lighting time and the color gradient model; and / or determining the brightness of the light source when it is the light source to be lit based on the lighting time and the brightness gradient model.

[0011] In some embodiments, the color gradient model includes the color-time change relationship of the light source to be illuminated; determining the color of the light source when it is the light source to be illuminated based on the lighting time and the color gradient model includes: determining the color of the light source when it is the light source to be illuminated based on the color-time change relationship of the light source to be illuminated and the lighting time.

[0012] In some embodiments, the brightness gradient model includes the brightness time variation relationship of the light source to be illuminated; determining the brightness of the light source when it is the light source to be illuminated based on the lighting time and the brightness gradient model includes: determining the brightness of the light source when it is the light source to be illuminated based on the brightness time variation relationship of the light source to be illuminated and the lighting time.

[0013] A second aspect of an embodiment of the present application provides a lighting control device, comprising: an acquisition module for acquiring a light unit change model in response to a lighting effect adjustment instruction; a matching module for matching the lighting parameters of a light source based on the light unit change model; and an execution module for controlling the light source to illuminate according to the corresponding lighting parameters to display a target lighting effect.

[0014] A third aspect of an embodiment of the present application provides an electronic device, comprising at least one processor, a memory, and a light source, wherein the at least one processor is configured to execute computer-readable instructions stored in the memory to implement the above-mentioned lighting control method.

[0015] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions implement the above-mentioned lighting control method when executed by a processor.

[0016] In the lighting control method provided in the embodiments of the present application, an electronic device, in response to a user-triggered lighting effect adjustment command, obtains a light unit variation model corresponding to a target lighting effect, determines lighting parameters such as light source color, brightness, and lighting duration based on each light unit variation model, and controls the light source to illuminate according to the corresponding lighting parameters to display the target lighting effect. Adjusting the light unit variation model allows for adjustment of the lighting effect, and the diversity of light unit variation models increases the diversity of lighting effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0018] FIG1 is an example diagram of an application scenario of a lighting control method provided in an embodiment of the present application;

[0019] FIG2 is a flowchart of an implementation of a lighting control method provided in an embodiment of the present application;

[0020] FIG3 is a diagram illustrating an implementation example of a method for determining lighting parameters according to an embodiment of the present application;

[0021] FIG4 is a schematic structural diagram of a lighting control device provided in an embodiment of the present application;

[0022] FIG5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] It should be noted that the terms "first" and "second" in the description, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0024] It should also be noted that the method disclosed in the embodiments of the present application or the method shown in the flowchart includes one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchanged with each other, and some steps can also be deleted.

[0025] The following will describe some embodiments with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.

[0026] Please refer to Figure 1, which illustrates an example application scenario of the lighting control method provided in an embodiment of the present application. As shown in Figure 1, an electronic device is communicatively connected to a user terminal. The electronic device includes a lighting control system, and the electronic device executes the lighting control method through the lighting control system to implement functions such as adjusting and controlling lighting effects, turning lights on and off, and timing lights. The user terminal includes software or an application for configuring and managing the lighting control system. During the execution of the lighting control method through the lighting control system, a user can trigger a lighting effect adjustment command through the user terminal. In response to the lighting effect adjustment command, the electronic device obtains a light unit variation model corresponding to a target lighting effect and determines lighting parameters such as the color, brightness, and lighting duration of the light source based on the light unit variation model. After determining the lighting parameters of the light source, the electronic device controls the light source to illuminate according to the corresponding lighting parameters to display the target lighting effect. The electronic device includes, but is not limited to, various types of lighting devices, such as LED lighting devices and fluorescent lamps. The user terminal includes, but is not limited to, any of a smartphone, tablet computer, wearable device, computer, and the like. The electronic device and the user terminal can establish a communication connection via a wired connection or a wireless connection (e.g., a Bluetooth connection, a Wi-Fi connection, etc.).

[0027] In some embodiments, the electronic device may also be connected to a sensor to obtain environmental detection data (e.g., sound, brightness, etc.) and trigger a lighting effect adjustment instruction based on the environmental detection data. For example, when the ambient brightness reaches a preset brightness threshold, the lighting effect adjustment instruction is triggered, where the preset brightness threshold can be customized.

[0028] In some embodiments, a timer may be pre-configured in the electronic device to trigger the lighting effect adjustment instruction at a regular interval. This solution does not limit the method of triggering the lighting effect adjustment instruction.

[0029] Please refer to FIG2 , which is a flowchart of an implementation of a lighting control method provided in an embodiment of the present application. The method is described by taking the electronic device in FIG1 as an example, and includes the following steps.

[0030] S11: In response to the lighting effect adjustment instruction, obtain a light unit change model.

[0031] In some embodiments, the lighting effect adjustment instruction is a control instruction that instructs the electronic device to display the target lighting effect. The lighting effect adjustment instruction may include the type of lighting effect, model parameters, etc. Among them, the model parameters include but are not limited to the initial position of the light source to be lit, the position change of the light source to be lit per unit time, the rate of change of the position change of the light source to be lit per unit time, the change of the brightness of the light source to be lit over time, the change of the color of the light source to be lit over time, etc., which are used to configure the light unit change model. The light unit change model generally refers to one or more light unit change models, and one or more light unit change models are used to adjust the lighting effect of the light source. That is, the electronic device can adjust the light source for lighting based on one or more light unit change models to display the corresponding lighting effect, and a rich variety of lighting effects can be created by random combinations of different light unit change models.

[0032] In some embodiments, the user terminal displays multiple lighting effects of the electronic device, and the user can select any lighting effect as a target lighting effect on the user terminal. The user terminal generates a lighting effect adjustment instruction based on the user's selection operation.

[0033] In some embodiments, the user terminal may display a plurality of recommended lighting effect options of the electronic device on the user interface, and the user may select a target lighting effect from the plurality of recommended lighting effect options. The user terminal generates a lighting effect adjustment instruction according to the user's selection operation.

[0034] In some embodiments, after the user terminal generates a lighting effect adjustment instruction, it sends the lighting effect adjustment instruction to the electronic device. The electronic device receives the lighting effect adjustment instruction and analyzes it to determine the target lighting effect. Then, based on the target lighting effect, the electronic device matches the light unit change model corresponding to the target lighting effect from the preset database. The preset database includes a correspondence between lighting effects and light unit change models, and each lighting effect corresponds to at least one light unit change model. For example, a long strip of light includes six lamp beads, namely, lamp bead 1, lamp bead 2, lamp bead 3, lamp bead 4, lamp bead 5, and lamp bead 6. One lighting effect of the long strip of light is that lamp bead 1, lamp bead 2, and lamp bead 3 flash red, with a flashing interval of 1 second; lamp bead 4, lamp bead 5, and lamp bead 6 light up green in sequence, and the interval time between lamp bead 4 and lamp bead 5 being lit in sequence and the interval time between lamp bead 5 and lamp bead 6 being lit in sequence are the same. In this case, the lighting effect to be displayed by the long strip light strip as a whole is divided into a sub-lighting effect displayed by lamp beads 1, lamp beads 2, and lamp beads 3 as a whole, and a sub-lighting effect displayed by lamp beads 4, lamp beads 5, and lamp beads 6 as a whole. Moreover, the sub-lighting effect displayed by lamp beads 1, lamp beads 2, and lamp beads 3 as a whole is different from the sub-lighting effect displayed by lamp beads 4, lamp beads 5, and lamp beads 6 as a whole. Accordingly, the light unit change model corresponding to lamp beads 1, lamp beads 2, and lamp beads 3 is different from the light unit change model corresponding to lamp beads 4, lamp beads 5, and lamp beads 6, that is, one lighting effect of the long strip light strip corresponds to two light unit change models.

[0035] In some embodiments, when the user terminal selects a target lighting effect in the user interface, it can also select model parameters of the light unit change model corresponding to the target lighting effect (such as the initial time of displaying the target lighting effect, etc.). The user terminal generates a lighting effect adjustment instruction based on the user's selection operation.

[0036] In some embodiments, users can customize the model parameters of the light unit variation model through a user terminal. These model parameters include, but are not limited to, the initial illuminated light source position, the position change of the light source to be illuminated per unit time, and the rate of change of the position change of the light source to be illuminated per unit time. By customizing the model parameters of the light unit variation model, the diversity of light unit variation models can be enriched, further enriching the diversity of lighting effects.

[0037] In some embodiments, since the target lighting effect corresponds to one or more light unit variation models, the user can configure different model parameters for different light unit variation models through the user terminal, which can further enrich the diversity of lighting effects.

[0038] In some embodiments, when a user wishes to adjust the lighting effect of an electronic device, they can select or adjust pre-configured model parameters as needed through a user terminal. The user terminal generates a lighting effect adjustment instruction based on the user-selected or adjusted model parameters and transmits the lighting effect adjustment instruction to the electronic device. The electronic device receives the lighting effect adjustment instruction from the user terminal, parses it to obtain the user-selected or adjusted model parameters, adjusts the corresponding light unit variation model based on the model parameters, and controls the light source based on the adjusted light unit variation model to produce the user-desired lighting effect.

[0039] In some embodiments, the user configures the model parameters of the light unit change model through the user terminal to update or add a lighting effect, without the need to frequently update the software program corresponding to the lighting system in the electronic device.

[0040] In some embodiments, the electronic device and the user terminal can establish a communication connection via near-field communication. For example, the Bluetooth function of the electronic device and the user terminal is turned on, and the user scans for connectable Bluetooth devices in the surrounding area through the user terminal. When the ID name of the electronic device is scanned, the user selects the ID name to establish a Bluetooth connection between the electronic device and the user terminal. After the Bluetooth connection is established between the electronic device and the user terminal, a model parameter configuration interface for the light unit variation model corresponding to the lighting effect can be displayed on the user terminal, and the user can enter the model parameters of the light unit variation model in the model parameter configuration interface. In some embodiments, after the model parameters of the light unit variation model corresponding to each lighting effect are configured, the user terminal can send the model parameters to the electronic device.

[0041] In some embodiments, a Wi-Fi module may also be configured and enabled in the electronic device. The user may send network configuration information (such as Wi-Fi name, Wi-Fi password, etc.) to the electronic device through the user terminal. After receiving the network configuration information, the electronic device connects to the wireless network according to the network configuration information and establishes a Wi-Fi connection with the user terminal. After the electronic device establishes a Wi-Fi connection with the user terminal, the user may configure the model parameters of the light unit change model corresponding to the lighting effect on the user terminal, and the user terminal may send the model parameters corresponding to each lighting effect to the electronic device via the Wi-Fi connection.

[0042] In some embodiments, the model parameters of the light unit change model can be pre-configured in the electronic device, and after the electronic device successfully establishes a communication connection with the user terminal, the pre-configured light unit change model options are displayed on the user terminal for the user to select. The user selects one or more light unit change models on the user terminal and randomly combines the light unit change models. The user terminal generates a lighting effect adjustment instruction based on the one or more light unit change models selected by the user and the user's random combination of light unit change models, and sends the lighting effect adjustment instruction to the electronic device. The electronic device receives the lighting effect adjustment instruction sent by the user terminal, parses it, obtains the one or more light unit change models selected by the user, and controls the corresponding light source based on the one or more light unit change models selected by the user to display the lighting effect desired by the user, thereby enabling the user to customize the lighting effect of the electronic device, thereby enriching the diversity of lighting effects and facilitating user operation. For example, an electronic device includes a long strip of light, which includes lamp beads 1, lamp beads 2, lamp beads 3, lamp beads 4, lamp beads 5, and lamp beads 6. After the electronic device successfully establishes a communication connection with the user terminal, two light unit change models (light unit change model 1 and light unit change model 2) are displayed on the user terminal for the user to choose. The user can select lamp beads 1, lamp beads 2, and lamp beads 3 corresponding to light unit change model 1, and lamp beads 4, lamp beads 5, and lamp beads 6 corresponding to light unit change model 2 through the user terminal, or select lamp beads 1, lamp beads 2, lamp beads 3, and lamp beads 4 corresponding to light unit change model 1, and lamp beads 5 and lamp beads 6 corresponding to light unit change model 2, etc., and enrich the lighting effect of the long strip of light by customizing the combination of light unit change models. When the user selects the corresponding light unit change model and is not satisfied with the lighting effect presented by the electronic device, the user can also enter the model parameter configuration interface to modify the model parameters of the selected light unit change model, thereby adjusting the lighting effect displayed by the electronic device.

[0043] In some embodiments, if the electronic device is configured with a user operation interface, the user can also directly select the light unit change model or lighting effect on the electronic device, and the electronic device generates a lighting effect adjustment instruction based on the user's selection operation on the user operation interface.

[0044] In some embodiments, the electronic device may also trigger a lighting effect adjustment instruction when it detects that environmental data (such as sound, brightness, etc.) meets a preset condition. For example, the preset condition may be that the brightness reaches a preset brightness threshold.

[0045] In some embodiments, the electronic device may also use a timer to periodically trigger a lighting effect adjustment instruction to display the same or different lighting effects at different times. For example, a first lighting effect may be displayed at a first moment and a second lighting effect may be displayed at a second moment, thereby enriching the diversity of lighting effects.

[0046] S12: Matching lighting parameters of the light source based on the light unit variation model.

[0047] In some embodiments, lighting parameters may include the color, brightness, lighting time, color saturation, etc. of the light source. Light sources include, but are not limited to, any one or more of LED lamps and fluorescent lamps. Light sources are a general term, and lighting parameters of one or more light sources can be determined based on the light unit variation model.

[0048] In some embodiments, a light unit change model is used to characterize changes in the color, brightness, motion pattern, and the like of a light unit. A light unit is used to represent one or more minimal control units whose color and brightness changes consistently align with the motion pattern. The movement of the light unit is achieved by continuously switching one or more minimal control units. Whenever a switch is made to any one of the minimal control units, the one minimal control unit controls the lighting of the corresponding light source and the changes in the color and brightness of the corresponding light source. Alternatively, whenever a switch is made to any number of minimal control units, the multiple minimal control units control the lighting of the corresponding multiple light sources and the changes in the color and brightness of the corresponding multiple light sources. In other words, the color and brightness changes of the light unit are consistent with the motion pattern. If the light sources along the switching paths of the one or more minimal control units represented by the light unit are used as the light sources to be illuminated, the movement of the light unit can be characterized by the position changes of the light sources to be illuminated, and the color and brightness changes of the light unit can be characterized by the changes in the color and brightness of the light sources to be illuminated. In other words, the changes in the light sources to be illuminated represent the changes in the light units. Different light unit change models correspond to different light units, and thus to different light sources to be illuminated. The motion law of the light unit corresponding to each light unit change model includes but is not limited to any one of uniform speed change, accelerated change, and decelerated change.

[0049] In some embodiments, since the change of the light unit can be represented by the change of the light source to be illuminated, the motion law of the light unit can be represented by the position change law of the light source to be illuminated. Therefore, the position change law of the light source to be illuminated corresponding to each light unit change model includes but is not limited to any one of uniform speed change, accelerated change, and decelerated change. Among them, the position change law of the light source to be illuminated is different, and the visual effect of the light change is also different. For example, when the position change law of the light source to be illuminated is uniform speed change, the effect of uniform light motion is visually presented; when the position change law of the light source to be illuminated is accelerated change, the effect of accelerated light motion is visually presented; when the position change law of the light source to be illuminated is decelerated change, the effect of decelerated light motion is visually presented. Among them, the initial time of uniform speed change, initial position of the light source to be illuminated, speed and the initial time of accelerated change or decelerated change, initial position of the light source to be illuminated, initial speed and acceleration are the model parameters of the corresponding light unit change model.

[0050] For any light unit change model, by adjusting its model parameters, the motion form of the light source to be illuminated corresponding to the light unit change model can be changed, thereby changing the lighting effect corresponding to the light unit change model. For example, if the position change pattern of the light source to be illuminated corresponding to the light unit change model is uniform, by adjusting the speed of the uniform change, the form of the uniform change can be changed, presenting different uniform change effects; if the position change pattern of the light source to be illuminated corresponding to the light unit change model is accelerated, by adjusting the acceleration and initial speed of the accelerated change, the form of the accelerated change can be changed, presenting different accelerated change effects; if the position change pattern of the light source to be illuminated corresponding to the light unit change model is decelerated, by adjusting the acceleration and initial speed of the decelerated change, the form of the decelerated change can be changed, presenting different deceleration change effects. Therefore, by adjusting the model parameters of the light unit change model, the diversity of lighting effects can be enriched.

[0051] In some embodiments, a user can configure model parameters such as the initial time, initial light source position, and speed for uniform change; and the initial time, initial light source position, initial speed, and acceleration for accelerated change through a user terminal, and transmit these model parameters to the electronic device. The electronic device determines the light unit change model based on the model parameters. Alternatively, the model parameters of the light unit change model corresponding to the lighting effect can be preconfigured in the electronic device. The user can adjust these preconfigured model parameters through the user terminal.

[0052] In some embodiments, since each lighting effect presented by the electronic device can correspond to one or more light unit change models, and the motion law of the light unit corresponding to each light unit change model includes but is not limited to any one of uniform speed change, accelerated change, and decelerated change, a variety of lighting effects can be generated by combining multiple light unit change models and adjusting the model parameters of each light unit change model. For example, the electronic device includes a long strip of light, which includes lamp beads 1, lamp beads 2, lamp beads 3, lamp beads 4, lamp beads 5, and lamp beads 6. Lamp beads 1, lamp beads 2, and lamp beads 3 correspond to light unit change model 1, and light unit change model 1 controls the effect of uniform light motion on lamp beads 1, lamp beads 2, and lamp beads 3; lamp beads 4, lamp beads 5, and lamp beads 6 correspond to light unit change model 2, and light unit change model 2 controls the effect of accelerated light motion on lamp beads 4, lamp beads 5, and lamp beads 6. Ultimately, the lighting effect presented to the user by the long light strip is that light moves at a constant speed between lamp beads 1, 2, and 3, and accelerates between lamp beads 4, 5, and 6. If the user wants to change the lighting effect of the long light strip, they can adjust the model parameters of light unit variation model 1 and / or light unit variation model 2 according to their needs, or replace light unit variation model 1 and / or light unit variation model 2 with a preset light unit variation model, so that the electronic device can present the lighting effect desired by the user.

[0053] Ordinary users, without knowing the control logic of the lamp beads and without the need for professionals or any professional skills, can adjust the lighting effects by adjusting the model parameters of the light unit change model and the selection and combination of the light unit change model through the user terminal, which is convenient for user operation and improves the user experience.

[0054] In some embodiments, since the color change and brightness change of the light unit are always consistent with the movement law, and the change of the light unit can be represented by the change of the light source to be lit, the color change and brightness change of the light source to be lit are always consistent with the position change law of the light source to be lit.

[0055] In some embodiments, because the light unit variation model can characterize the motion patterns of the light unit, and therefore the position variation patterns of the light source to be illuminated, the electronic device determines the light source to be illuminated corresponding to the light unit variation model and the illumination time of the light source to be illuminated based on the light unit variation model. Because the color and brightness changes of the light source to be illuminated are always consistent with the position variation patterns of the light source to be illuminated, the color and brightness of the corresponding light source to be illuminated can be determined based on the light unit variation model.

[0056] In some embodiments of the present application, the light unit change model includes at least a light unit motion model, a color gradient model and / or a brightness gradient model; the lighting parameters include at least the lighting time, color and / or brightness of the light source; the lighting parameters of the light source are determined based on the light unit change model, including: determining the lighting time when the light source is a light source to be lit based on the light unit motion model; determining the color of the light source when it is a light source to be lit based on the lighting time and the color gradient model; and / or determining the brightness of the light source when it is a light source to be lit based on the lighting time and the brightness gradient model.

[0057] In some embodiments, each light unit variation model includes at least one or more of a light unit motion model, a color gradient model, and a brightness gradient model. Different light unit variation models may correspond to different light unit motion models, color gradient models, and brightness gradient models.

[0058] In some embodiments, the light unit motion model is used to characterize the change in the position of the light source to be illuminated over time. The color gradient model is used to characterize the change in the color of the light source to be illuminated over time. The brightness gradient model is used to characterize the change in the brightness of the light source to be illuminated over time. In some embodiments, since the user pre-configures the initial position of the light source to be illuminated when the light unit change model corresponds to a uniform change, the initial position of the light source to be illuminated when the speed changes, or the initial position of the light source to be illuminated when the acceleration changes, the initial speed, and the acceleration, and the light unit change model includes a light unit motion model, the light unit motion model is used to characterize the change in the position of the light source to be illuminated over time, and therefore the electronic device can determine the lighting time when the light source is the light source to be illuminated corresponding to the light unit change model based on the light unit motion model in the light unit change model.

[0059] In some embodiments, since the color change and brightness change of the light source to be lit corresponding to the light unit change model are always consistent with the change pattern of the position of the light source to be lit over time, after the electronic device determines the lighting time of the light source to be lit corresponding to the light unit change model, it can determine the color of the light source when it is the light source to be lit based on the lighting time and the color gradient model in the light unit change model; and it can determine the brightness of the light source when it is the light source to be lit based on the lighting time and the brightness gradient model in the light unit change model.

[0060] In some embodiments of the present application, the light unit motion model includes the position-time change relationship of the light source to be illuminated; determining the lighting time of the light source when it is the light source to be illuminated based on the light unit motion model includes: determining the lighting time of the light source to be illuminated based on the initial time, the initial lighting light source position, the position of the light source to be illuminated and the position-time change relationship.

[0061] In some embodiments, since the light unit variation model includes a light unit motion model, there is a corresponding relationship between the light unit variation model and the light source to be illuminated, and therefore there is a corresponding relationship between the light unit motion model and the light source to be illuminated. The light unit motion model includes a position-time variation relationship of the corresponding light source to be illuminated, that is, a relationship between the position of the light source to be illuminated and time.

[0062] In some embodiments, the position change of the current position of the light source to be lit relative to the initial position of the light source to be lit can be determined based on the initial time, the initial position of the light source to be lit, and the position of the light source to be lit. According to the principles of physical kinematics, the lighting time of the light source to be lit can be determined based on the position change of the current position of the light source to be lit relative to the initial position of the light source to be lit and the position-time change relationship.

[0063] In some embodiments of the present application, the position-time change relationship includes at least variable speed change or uniform speed change; the lighting time of the light source to be lit is determined based on the initial time, the initial lighting light source position, the position of the light source to be lit and the position-time change relationship, including: if the position-time change relationship is a variable speed change, then the lighting time of the light source to be lit is determined based on the initial time, the initial lighting light source position, the position of the light source to be lit, the acceleration of the variable speed change, and the initial speed; if the position change relationship with time is a uniform speed change, then the lighting time of the light source to be lit is determined based on the initial time, the initial lighting light source position, the position of the light source to be lit, and the uniform speed change.

[0064] In some embodiments, the time-varying relationship of the position of the light source to be illuminated includes at least a speed-varying change of the position of the light source to be illuminated over time or a uniform speed-varying change of the position of the light source to be illuminated over time. The speed-varying change of the position of the light source to be illuminated over time includes an accelerated change and a decelerated change.

[0065] In some embodiments, if the position of the light source to be illuminated changes with time at a variable speed, the electronic device determines the lighting time of the light source to be illuminated based on the initial position of the light source to be illuminated, the position of the light source to be illuminated, the acceleration of the variable speed change, and the initial speed; if the position of the light source to be illuminated changes with time at a uniform speed, the electronic device determines the lighting time of the light source to be illuminated based on the initial position of the light source to be illuminated, the position of the light source to be illuminated, and the speed of the uniform speed change. Model parameters such as the initial time, the initial position of the light source to be illuminated, the acceleration of the variable speed change, the initial speed, and the speed of the uniform speed change can be configured by the user terminal or pre-written into computer-readable instructions for executing the lighting control method. The user can select the preset model parameters corresponding to the uniform speed or accelerated change according to needs, or make partial modifications to the preset model parameters, or reconfigure the parameters.

[0066] In some embodiments, by setting different model parameters corresponding to uniform speed changes, uniform speed changes can have various forms. Take a long strip light strip as an example, the long strip light strip includes six lamp beads, namely, lamp bead 1, lamp bead 2, lamp bead 3, lamp bead 4, lamp bead 5, and lamp bead 6, and lamp bead 1, lamp bead 2, lamp bead 3, lamp bead 4, lamp bead 5, and lamp bead 6 are arranged in sequence. Visually, the long strip light strip presents the effect of uniform light speed change, and the initial light source position is the position of lamp bead 1, the initial time is 0 seconds, and the position of the light source to be lit moves one lamp bead position toward the direction of lamp bead 2 every second, that is, at the 1st second, the position of the light source to be lit is the position of lamp bead 2, that is, the lighting time of lamp bead 2 is the 1st second. Similarly, it can be determined that the lighting time of lamp bead 3 is the 2nd second, the lighting time of lamp bead 4 is the 3rd second, the lighting time of lamp bead 5 is the 4th second, and the lighting time of lamp bead 6 is the 5th second. In this way, the electronic device initially controls lamp bead 1 to light up, controls lamp bead 2 to light up at the 1st second, controls lamp bead 3 to light up at the 2nd second, controls lamp bead 4 to light up at the 3rd second, controls lamp bead 5 to light up at the 4th second, and controls lamp bead 6 to light up at the 5th second, thereby visually presenting the effect of uniform light motion. If the model parameters corresponding to the uniform speed change are changed, for example, the initial light source position is the position of lamp bead 1, the initial time is 0 seconds, and the position of the light source to be lit moves 2 lamp bead positions toward lamp bead 2 every second, that is, the position of the light source to be lit at the 1st second is the position of lamp bead 3, that is, the lighting time of lamp bead 3 is the 1st second. Similarly, it can be determined that the lighting time of lamp bead 5 is the 2nd second. In this way, the electronic device initially controls lamp bead 1 to light up, controls lamp bead 3 to light up at the 1st second, controls lamp bead 5 to light up at the 2nd second, and lamp bead 2, lamp bead 4, and lamp bead 6 are not lit, thereby visually presenting another effect of uniform light motion. Therefore, by setting the model parameters corresponding to the uniform speed change, a variety of uniform speed change forms can be presented.

[0067] In some embodiments, the acceleration change can have multiple forms, and by setting different model parameters corresponding to the acceleration change, the acceleration change can also present multiple forms. Taking a long strip light strip as an example, the long strip light strip includes six lamp beads, namely, lamp bead 1, lamp bead 2, lamp bead 3, lamp bead 4, lamp bead 5, and lamp bead 6, and lamp bead 1, lamp bead 2, lamp bead 3, lamp bead 4, lamp bead 5, and lamp bead 6 are arranged in sequence. It is known that the long strip light strip needs to visually present the effect of light acceleration change, and it is known that the initial light source position is the position of lamp bead 1, the initial time is 0 seconds, and the initial speed of the acceleration change is 0 unit lamp bead position / second, wherein, with one lamp bead position as the unit lamp bead position, the acceleration of the acceleration change is 1 / 2 unit lamp bead position / second squared, wherein the moving direction of the position of the light source to be lit is the direction of movement toward lamp bead 2. In this case, based on the relationship between position and time, at the second second, the light source to be illuminated is located at the position of bead 2, meaning that bead 2 is controlled to illuminate at the second second; at the fourth second, the light source to be illuminated is located at the position of bead 5, meaning that bead 5 is controlled to illuminate at the fourth second. This visually creates the effect of accelerated light motion. Similarly, changing the acceleration rate will produce a different visual effect of accelerated light motion.

[0068] In some embodiments, the position-time change relationship of the light source to be illuminated may also include a method for determining the lighting time of the light source to be illuminated when the position of the light source to be illuminated decelerates over time and accelerates. The electronic device can determine the lighting time of the light source to be illuminated based on the initial time, the initial lighting light source position, the position of the light source to be illuminated, the acceleration of the deceleration change, and the initial speed. It will not be repeated here.

[0069] In some embodiments of the present application, the color gradient model includes the color-time change relationship of the light source to be illuminated; determining the color of the light source when it is the light source to be illuminated based on the lighting time and the color gradient model includes: determining the color of the light source when it is the light source to be illuminated based on the color-time change relationship of the light source to be illuminated and the lighting time.

[0070] In some embodiments, the time-varying relationship of the color of the light source to be illuminated is used to characterize the time-varying color of the light source to be illuminated. Because the light unit variation model includes a color gradient model, and there is a corresponding relationship between the light unit variation model and the light source to be illuminated, there is a corresponding relationship between the color gradient model in the light unit variation model and the light source to be illuminated. The color gradient model includes the time-varying relationship of the color of the corresponding light source to be illuminated.

[0071] In some embodiments, since the color change of the light source to be illuminated is consistent with the change of the position of the light source to be illuminated over time, the color of the light source when it is the light source to be illuminated is determined based on the color-time change relationship of the light source to be illuminated and the lighting time.

[0072] Taking a long strip light strip as an example, the long strip light strip includes six lamp beads, namely lamp bead 1, lamp bead 2, lamp bead 3, lamp bead 4, lamp bead 5, and lamp bead 6, and lamp bead 1, lamp bead 2, lamp bead 3, lamp bead 4, lamp bead 5, and lamp bead 6 are arranged in sequence. Visually, the long strip light strip presents the effect of uniform light change, and the initial lighting light source position is the position of lamp bead 1, the initial time is 0 seconds, and the position of the light source to be lit moves one lamp bead position toward lamp bead 2 every second. That is, at the 1st second, the position of the light source to be lit is the position of lamp bead 2, that is, the lighting time of lamp bead 2 is the 1st second. Similarly, it can be determined that the lighting time of lamp bead 3 is the 2nd second, the lighting time of lamp bead 4 is the 3rd second, the lighting time of lamp bead 5 is the 4th second, and the lighting time of lamp bead 6 is the 5th second. In this way, the electronic device controls lamp bead 1 to light up at the beginning, controls lamp bead 2 to light up at the first second, controls lamp bead 3 to light up at the second second, controls lamp bead 4 to light up at the third second, controls lamp bead 5 to light up at the fourth second, and controls lamp bead 6 to light up at the fifth second, thereby visually presenting the effect of uniform light motion. The color of the light source to be lit is consistent with the change of the position of the light source to be lit over time, that is, according to the color time change model, the color of the light source to be lit can be changed synchronously during the change of the position of the light source to be lit. For example, when lamp bead 2 is controlled to light up at the first second, the lamp bead is controlled to emit red light, and when lamp bead 3 is controlled to light up at the second second, the lamp bead is controlled to emit green light, and the color does not change with time between the first second and the second second. In some embodiments of the present application, the brightness gradient model includes the brightness time change relationship of the light source to be lit; determining the brightness of the light source when it is the light source to be lit based on the lighting time and the brightness gradient model includes: determining the brightness of the light source when it is the light source to be lit based on the brightness time change relationship of the light source to be lit and the lighting time.

[0073] In some embodiments, the temporal variation relationship of the brightness of the light source to be illuminated is used to characterize the temporal variation of the brightness of the light source to be illuminated. Because the light unit variation model includes a brightness gradient model, and there is a corresponding relationship between the light unit variation model and the light source to be illuminated, there is a corresponding relationship between the brightness gradient model in the light unit variation model and the light source to be illuminated. The brightness gradient model includes the temporal variation relationship of the brightness of the corresponding light source to be illuminated.

[0074] In some embodiments, since the brightness change of the light source to be illuminated is consistent with the change of the position of the light source to be illuminated over time, the color of the light source when it is the light source to be illuminated is determined based on the color time change relationship of the light source to be illuminated and the lighting time.

[0075] In some embodiments, taking a long strip light strip as an example, the long strip light strip includes six lamp beads, namely, lamp bead 1, lamp bead 2, lamp bead 3, lamp bead 4, lamp bead 5, and lamp bead 6, and lamp bead 1, lamp bead 2, lamp bead 3, lamp bead 4, lamp bead 5, and lamp bead 6 are arranged in sequence. Visually, the long strip light strip presents an effect of uniform light change, and the initial lighting light source position is the position of lamp bead 1, the initial time is 0 seconds, and the position of the light source to be lit moves one lamp bead position toward lamp bead 2 every second. That is, at the first second, the position of the light source to be lit is the position of lamp bead 2, that is, the lighting time of lamp bead 2 is the first second. Similarly, it can be determined that the lighting time of lamp bead 3 is the second second, the lighting time of lamp bead 4 is the third second, the lighting time of lamp bead 5 is the fourth second, and the lighting time of lamp bead 6 is the fifth second. In this way, the electronic device controls lamp bead 1 to light up at the beginning, controls lamp bead 2 to light up at the first second, controls lamp bead 3 to light up at the second second, controls lamp bead 4 to light up at the third second, controls lamp bead 5 to light up at the fourth second, and controls lamp bead 6 to light up at the fifth second, thereby visually presenting the effect of uniform light motion. The brightness of the light source to be lit is also consistent with the change of the position of the light source to be lit over time. That is, according to the brightness time change model, the brightness of the light source to be lit can be changed synchronously during the position change process of the light source to be lit. For example, when lamp bead 2 is controlled to light up at the first second, the brightness of the controlled lamp bead is the first brightness. When lamp bead 3 is controlled to light up at the second second, the brightness of the controlled lamp bead 3 is the second brightness. Between the first second and the second second, the brightness of the light source to be lit does not change over time. The first brightness and the second brightness can be different brightness values ​​or the same brightness value, which can be customized. In other embodiments, the position time change relationship of the light source to be lit can also be static. At this time, the electronic device only needs to control the color and / or brightness change of the light source to be illuminated based on the color change model and / or brightness change model.

[0076] As an example, please refer to the implementation example diagram of the lighting parameter determination method provided by the embodiment of the present application shown in Figure 3. As shown in Figure 3, taking an integrated chip (IC) as a minimum control unit as an example, Figure 3 shows a long strip of light controlled by 16 ICs, and 1-16 shown in Figure 3 represent the positions of the 16 ICs, wherein each IC can control one or more light sources, and the number of light sources controlled by each IC on the same long strip of light can be the same or different. This embodiment is explained by taking the number of light sources controlled by each IC on the same long strip of light as an example. In Figure 3, R and G correspond to two light units respectively, and light unit R and light unit G correspond to different light unit change models. For example, as shown in Figure 3, light unit R and light unit G each correspond to one IC. The movement range of light unit R is IC1 to IC8, wherein the movement of light unit R is actually the process of switching the IC to control the corresponding light source to light up or go out. As shown in Figure 3, light unit R moves from IC1 to IC5, switching from controlling the corresponding light source to lighting the corresponding light source from IC1 to IC5. Therefore, the movement range of light unit R, IC1-IC8, can also be expressed as the switching path of the IC represented by light unit R, IC1-IC8. The light source controlled by each IC on the switching path of IC1-IC8 is the light source to be illuminated corresponding to light unit R. Similarly, the movement of light unit G is actually switching IC control. The movement range of light unit G is IC9-IC16, which can also be expressed as the switching path of the IC represented by light unit G, IC9-IC16. The light source controlled by each IC on the switching path of IC9-IC16 is the light source to be illuminated corresponding to light unit G.

[0077] For example, the target lighting effect is one in which light unit R emits red light at a constant speed along the switching path IC1-IC8, while light unit G emits green light at a constant speed along the switching path IC9-IC16. The user configures, through the user terminal, the initial light source position Sr0 corresponding to light unit R to IC8, the initial velocity vector Vr0 corresponding to light unit R to -1IC / s (a negative velocity indicates leftward movement in Figure 3), and the corresponding acceleration to 0IC / s*s. The user terminal also configures the initial light source position Sg0 corresponding to light unit G to IC9, the initial velocity vector Vg0 corresponding to light unit G to 1IC / s (a positive velocity indicates rightward movement in Figure 3), and the corresponding acceleration to 0IC / s*s. The user terminal generates a lighting effect adjustment instruction based on the target lighting effect type and the model parameters configured by the user through the user terminal (the initial light source position Sr0, initial velocity vector Vr0, and acceleration corresponding to light unit R, and the initial light source position Sg0, initial velocity vector Vg0, and acceleration corresponding to light unit G). The electronic device receives the lighting effect adjustment instruction and obtains the light unit change model corresponding to the light unit R and the light unit change model corresponding to the light unit G.

[0078] The position-time variation relationship of the light source to be illuminated corresponding to light unit R is Sr(t) = Sr0 + Vr0(t-T0) = IC8-t-T0, where Sr(t) represents the position of the light source to be illuminated corresponding to light unit R (for example, IC1 to IC8 shown in Figure 3), and T0 represents the initial time, which is generally set to 0 seconds. In this case, the position-time variation relationship of the light source to be illuminated corresponding to light unit R is Sr(t) = IC8-t. Thus, the position-time variation relationship of the light source to be illuminated corresponding to light unit R can be used to determine the illumination time of the light source to be illuminated at each position (IC1 to IC8) corresponding to light unit R. As shown in Figure 3, when Sr(t) is IC5, the corresponding illumination time t = T1. According to the position-time variation relationship of the light source to be illuminated corresponding to light unit R, T1 is the 3rd second. When Sr(t) is IC1, the corresponding illumination time T2 is the 7th second according to the position-time variation relationship of the light source to be illuminated corresponding to light unit R. Similarly, by substituting IC7, IC6, IC4, IC3, and IC2 into the formula Sr(t)=IC8-t, it can be determined that when Sr(t) is IC7, the corresponding lighting time is the 1st second, when Sr(t) is IC6, the corresponding lighting time is the 2nd second, when Sr(t) is IC4, the corresponding lighting time is the 4th second, when Sr(t) is IC3, the corresponding lighting time is the 5th second, and when Sr(t) is IC2, the corresponding lighting time is the 6th second. That is, at the 0th second, the electronic device is controlled by IC8 to light up its corresponding light source to be lit, at the 1st second, it switches to IC7 to control the corresponding light source to be lit, at the 2nd second, it switches to IC6 to control the corresponding light source to be lit, at the 3rd second, it switches to IC5 to control the corresponding light source to be lit, at the 4th second, it switches to IC4 to control the corresponding light source to be lit, at the 5th second, it switches to IC3 to control the corresponding light source to be lit, at the 6th second, it switches to IC2 to control the corresponding light source to be lit, and at the 7th second, it switches to IC1 to control the corresponding light source to be lit, thereby presenting an effect of uniform light change to the user's vision.

[0079] In some embodiments, the position of the light source to be illuminated at different times can also be determined based on the time-varying relationship of the position of the light source to be illuminated corresponding to the light unit R, which is Sr(t)=Sr0+Vr0(t-T0)=IC8-t. For example, at time T1, the position of the light source to be illuminated is Sr(T1)=IC8-T1. Substituting the value of T1, where T1 is the third second, it can be determined that at time T1, the position of the light source to be illuminated is IC5, that is, IC5 is illuminated at the third second. By determining the position of the light source to be illuminated corresponding to each moment, illuminating the light source to be illuminated at the corresponding moment, and determining and adjusting the color, brightness, and other parameters of the light source to be illuminated at the corresponding moment, the corresponding lighting effect can be achieved.

[0080] Similarly, the position-time variation relationship of the light source to be illuminated corresponding to light unit G is Sg(t) = Sg0 + Vg0(t-T0) = IC9 + t-T0, where Sg(t) represents the position of the light source to be illuminated corresponding to light unit G (which can be IC9 to IC16), and T0 represents the initial time, which is generally set to 0 seconds. At this time, the position-time variation relationship of the light source to be illuminated corresponding to light unit G is Sg(t) = IC9 + t. Thus, the position-time variation relationship of the light source to be illuminated corresponding to light unit G can be used to determine the illumination time of the light source to be illuminated at each position (IC9 to IC16) corresponding to light unit G. As shown in Figure 3, when Sg(t) is IC12, the corresponding illumination time t = T1. According to the position-time variation relationship of the light source to be illuminated corresponding to light unit G, T1 is the 3rd second. When Sg(t) is IC16, the corresponding illumination time T2 is the 7th second. According to the position-time variation relationship of the light source to be illuminated corresponding to light unit G, T2 is the 7th second.

[0081] Since the target lighting effect is that light unit R changes at a uniform speed with red light in the switching path IC1 to IC8, and light unit G changes at a uniform speed with green light in the switching path IC9 to IC16, the color of the light source to be lit corresponding to light unit R is red at any lighting time, and the color of the light source to be lit corresponding to light unit G is green at any lighting time.

[0082] In other embodiments, since a light unit can represent one or more minimum control units, light unit R and light unit G can also correspond to multiple ICs. For example, if light unit R corresponds to two ICs, the movement of light unit R is switched in units of two ICs, such as switching from control of IC1 and IC2 to control of IC3 and IC4.

[0083] S13: Control the light source to illuminate according to the corresponding lighting parameters to display the target lighting effect.

[0084] In some embodiments, after determining the lighting parameters of the light source, the electronic device controls the light source to illuminate according to the corresponding lighting parameters to display the target lighting effect. For example, the electronic device controls the light source to illuminate at a corresponding lighting time, and controls the light source to illuminate according to a color determined based on a color gradient model and a brightness determined based on a brightness gradient model during the lighting time to display the target lighting effect.

[0085] In some embodiments, the electronic device can control the light source to illuminate periodically according to the lighting parameters to cyclically display the target lighting effect. This application does not limit the period of the electronic device controlling the light source to illuminate periodically according to the lighting parameters.

[0086] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0087] In one embodiment of the present application, a lighting control device 400 is provided. The functions implemented by this lighting control device 400 correspond exactly to the lighting control method in the above-described embodiment. As shown in Figure 4, this lighting control device 400 includes an acquisition module 401, a matching module 402, and an execution module 403. Each functional module is described in detail as follows: the acquisition module 401 is used to obtain a light unit variation model in response to a lighting effect adjustment instruction; the matching module 402 is used to match the lighting parameters of the light source based on the light unit variation model; and the execution module 403 is used to control the light source to illuminate according to the corresponding lighting parameters to display the target lighting effect.

[0088] In some embodiments, the light unit change model includes at least a light unit motion model, and the lighting parameters include at least the lighting time of the light source; matching the lighting parameters of the light source based on the light unit change model includes: determining the lighting time of the light source when it is a light source to be lit based on the light unit motion model.

[0089] In some embodiments, the light unit motion model includes the position-time change relationship of the light source to be lit; determining the lighting time of the light source when it is the light source to be lit based on the light unit motion model includes: determining the lighting time of the light source to be lit based on the initial lighting light source position, the position of the light source to be lit and the position-time change relationship.

[0090] In some embodiments, the position-time change relationship includes at least variable speed change or uniform speed change; the determining the lighting time of the light source to be lit based on the initial lighting light source position, the position of the light source to be lit and the position-time change relationship includes: if the position-time change relationship is a variable speed change, then the lighting time of the light source to be lit is determined based on the initial lighting light source position, the position of the light source to be lit, the acceleration of the variable speed change, and the initial speed; if the position change relationship with time is a uniform speed change, then the lighting time of the light source to be lit is determined based on the initial lighting light source position, the position of the light source to be lit, and the speed of the uniform speed change.

[0091] In some embodiments, the light unit change model also includes at least a color gradient model and / or a brightness gradient model, and the lighting parameters also include at least the color and / or brightness of the light source; the lighting parameters of the light source matched based on the light unit change model include: determining the color of the light source when it is the light source to be lit based on the lighting time and the color gradient model; and / or determining the brightness of the light source when it is the light source to be lit based on the lighting time and the brightness gradient model.

[0092] In some embodiments, the color gradient model includes the color-time change relationship of the light source to be illuminated; determining the color of the light source when it is the light source to be illuminated based on the lighting time and the color gradient model includes: determining the color of the light source when it is the light source to be illuminated based on the color-time change relationship of the light source to be illuminated and the lighting time.

[0093] In some embodiments, the brightness gradient model includes the brightness time variation relationship of the light source to be illuminated; determining the brightness of the light source when it is the light source to be illuminated based on the lighting time and the brightness gradient model includes: determining the brightness of the light source when it is the light source to be illuminated based on the brightness time variation relationship of the light source to be illuminated and the lighting time.

[0094] The specific definitions of lighting control device 400 can be found in the definitions of the lighting control method above and will not be further elaborated here. Each module in lighting control device 400 may be implemented in whole or in part via software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor within an electronic device in hardware form, or may be stored in memory within the electronic device in software form, allowing the processor to invoke and execute the corresponding operations of each module.

[0095] In one embodiment, an electronic device is provided, as shown in FIG5 , which includes a processor, a memory, and a light source connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a computer-readable storage medium and an internal memory. The computer-readable storage medium stores computer-readable instructions. The internal memory provides an environment for the execution of the computer-readable instructions in the computer-readable storage medium. The network interface of the electronic device is used to communicate with an external server via a network connection. When the computer-readable instructions are executed by the processor, a lighting control method is implemented. The computer-readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0096] In one embodiment, an electronic device is provided, comprising at least one memory, a processor, a light source, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the following steps are implemented: in response to a lighting effect adjustment instruction, a light unit change model is obtained; lighting parameters of the light source are matched based on the light unit change model; and the light source is controlled to illuminate according to the corresponding lighting parameters to display a target lighting effect.

[0097] In one embodiment, a computer-readable storage medium storing computer-readable instructions is provided. The computer-readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium. The computer-readable storage medium stores computer-readable instructions that, when executed by one or more processors, implement the following steps: obtaining a light unit variation model in response to a lighting effect adjustment instruction; matching lighting parameters of a light source based on the light unit variation model; and controlling the light source to illuminate according to the corresponding lighting parameters to display a target lighting effect.

[0098] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0099] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present application.

Claims

1. A lighting control method, characterized in that: The lighting control method comprises: In response to the lighting effect adjustment instruction, acquiring a light unit change model; Matching lighting parameters of the light source based on the light unit variation model; The light source is controlled to illuminate according to the corresponding lighting parameters to display the target lighting effect.

2. The lighting control method according to claim 1, characterized in that: The light unit variation model at least includes a light unit motion model, and the lighting parameters at least include a lighting time of the light source; The matching of the lighting parameters of the light source based on the light unit variation model includes: A lighting time when the light source is a light source to be lit is determined based on the light unit motion model.

3. The lighting control method according to claim 2, characterized in that: The light unit motion model includes the position-time variation relationship of the light source to be lit; The determining, based on the light unit motion model, the lighting time when the light source is a light source to be lit, comprises: The lighting time of the light source to be lit is determined according to the initial time, the position of the initial lit light source, the position of the light source to be lit, and the position-time change relationship.

4. The lighting control method according to claim 3, characterized in that: The position-time change relationship at least includes a variable speed change or a uniform speed change; The step of determining the lighting time of the light source to be lit according to the initial time, the position of the initial lit light source, the position of the light source to be lit, and the position-time change relationship includes: If the position-time change relationship is a variable speed change, then determining the lighting time of the light source to be lit according to the initial time, the initial light source position, the position of the light source to be lit, the acceleration of the variable speed change, and the initial speed; If the position-time change relationship is a uniform change, the lighting time of the light source to be lit is determined according to the initial time, the initial lighting light source position, the position of the light source to be lit, and the speed of the uniform change.

5. The lighting control method according to claim 2, characterized in that: The light unit variation model at least further includes a color gradient model and / or a brightness gradient model, and the lighting parameters at least further include the color and / or brightness of the light source; The matching of the lighting parameters of the light source based on the light unit variation model includes: Determining the color of the light source when it is the light source to be lit based on the lighting time and the color gradient model; and / or The brightness of the light source when it is the light source to be lit is determined based on the lighting time and the brightness gradient model.

6. The lighting control method according to claim 5, characterized in that: The color gradient model includes the time variation relationship of the color of the light source to be illuminated; The determining, based on the lighting time and the color gradient model, the color of the light source when it is the light source to be lit, includes: Based on the color-time variation relationship of the light source to be illuminated and the illumination time, the color of the light source when it is the light source to be illuminated is determined.

7. The lighting control method according to claim 5, characterized in that: The brightness gradient model includes the brightness time variation relationship of the light source to be lit; The determining, based on the lighting time and the brightness gradient model, the brightness of the light source when it is the light source to be lit, includes: Based on the relationship between the brightness and time of the light source to be illuminated and the illumination time, the brightness of the light source when it is the light source to be illuminated is determined.

8. A lighting control device, characterized in that: The lighting control device comprises: An acquisition module, configured to acquire a light unit variation model in response to a lighting effect adjustment instruction; A matching module, used for matching lighting parameters of the light source based on the light unit variation model; The execution module is used to control the light source to illuminate according to the corresponding lighting parameters to display the target lighting effect.

9. An electronic device, characterized in that: The electronic device includes at least one processor, a memory and a light source, and the at least one processor is used to execute computer-readable instructions stored in the memory to implement the lighting control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the lighting control method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Lamp and lamp bead control method and device thereof

    CN112351555A

  • Control method and device of lighting equipment, electronic equipment and storage medium

    CN113778299A

  • Bluetooth lamp strip control method and device, electronic equipment and readable storage medium

    CN114710860A

  • Illumination control method, device, equipment, storage medium and computer program product

    CN115802554A

  • Dynamic light sound box and control method thereof

    CN115914931A