Light fixture control method, device, and storage medium

By dividing the light-emitting unit of the lamp into multiple light-emitting components and introducing transition colors during the color gradient process, the problem of uneven color transition of the lamp is solved, and a better user visual experience is achieved.

CN116133209BActive Publication Date: 2026-04-14APUTURE IMAGING IND CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Existing lighting fixtures have a monotonous effect when changing colors, and the transitions are not smooth enough, resulting in a visually jittery feeling and a poor user experience.

Method used

The light-emitting unit of the lamp is divided into multiple light-emitting components, and the light-emitting components are controlled to change color in sequence through a preset time interval. Transition colors are introduced during the transition process. The color control parameters of the transition colors are related to the current color and the target color to ensure a smooth color transition.

Benefits of technology

It improves the smoothness of color transitions, avoids visual jitter, and enhances the user's visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116133209B_ABST
    Figure CN116133209B_ABST
Patent Text Reader

Abstract

The application discloses a lamp control method and device and a storage medium. The lamp comprises a plurality of light emitting units arranged in an array, and the plurality of light emitting units are divided into a plurality of light emitting assemblies. The method comprises: controlling the plurality of light emitting assemblies to sequentially perform color gradient at a preset time interval; during the color gradient process, controlling the light emitting assembly to be converted from a current color to a target color through at least one transition color, and the time interval of the conversion is the preset time interval; and the color control parameter of the transition color is associated with the color control parameter of the current color and / or the target color. The application can enrich the color transition effect, improve the smoothness of color transition, and improve the user visual experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of lighting technology, and in particular to a control method, device and storage medium for a lamp. Background Technology

[0002] With the development of the lighting industry, the requirements for image presentation and visual effects of lighting fixtures are constantly increasing, and the types of lighting effects are also becoming more diverse. However, when existing lighting fixtures change colors, they directly switch from one color to another, resulting in a relatively simple transition effect. Moreover, the color transition is not smooth enough, and there is a visual jitter, leading to a poor user visual experience. Summary of the Invention

[0003] This application provides a method, device, and storage medium for controlling a lamp, which can enrich color transition effects, improve the smoothness of color transitions, and enhance the user's visual experience.

[0004] This application provides a method for controlling a lighting fixture, the lighting fixture including a plurality of light-emitting units arranged in an array, the plurality of light-emitting units being divided into a plurality of light-emitting components, the method including:

[0005] At preset time intervals, multiple light-emitting components are controlled to sequentially change color gradients;

[0006] During the color gradient process, the light-emitting component is controlled to change from the current color to the target color through at least one transition color, and the time interval between the transitions is the preset time interval; the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color.

[0007] Optionally, among the plurality of transition colors and the target color, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal.

[0008] Optionally, among the current color and the plurality of transition colors, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal.

[0009] Optionally, among the current color, at least one of the transition colors, and the target color, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal.

[0010] Optionally, the rate of change can be positive or negative.

[0011] Optionally, the number of transition colors is associated with the color control parameters of the current color and / or the target color.

[0012] Optionally, the color control parameters include a control voltage for controlling the RGB values ​​and / or color temperature values ​​of the light-emitting component.

[0013] Optionally, the method further includes:

[0014] After the color gradient of the light-emitting component is completed, the light-emitting component is controlled to continue to perform the color gradient.

[0015] Optionally, the method further includes:

[0016] After completing the color gradient of multiple light-emitting components, control the multiple light-emitting components to continue the color gradient.

[0017] This application embodiment also provides a control device for a lamp, the lamp including a plurality of light-emitting units arranged in an array, the plurality of light-emitting units being divided into a plurality of light-emitting components, the device including:

[0018] The first control module is used to control the multiple light-emitting components to sequentially change color at preset time intervals;

[0019] The second control module is used to control the light-emitting component to change from the current color to the target color through at least one transition color during the color gradient process, and the time interval between the transitions is the preset time interval; the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color.

[0020] This application also provides a computer-readable storage medium storing a plurality of instructions adapted to be loaded by a processor to execute any of the above-described lamp control methods.

[0021] The control method, device, and storage medium for the lamp provided in this application can divide the light-emitting unit in the lamp into multiple light-emitting components. At a preset time interval, the multiple light-emitting components are controlled to sequentially change color. During the color gradation process, the light-emitting components are controlled to change from the current color to the target color through at least one transition color. The time interval for the transition is a preset time interval, and the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color to ensure that the current color transitions smoothly and gently to the target color, improve the smoothness of the color transition, avoid visual jitter, and improve the user's visual experience. Attached Figure Description

[0022] The technical solution and other beneficial effects of this application will become apparent from the following detailed description of specific embodiments in conjunction with the accompanying drawings.

[0023] Figure 1 A schematic flowchart of a lighting control method provided in an embodiment of this application;

[0024] Figures 2a to 2fA schematic diagram of a scenario for the lighting control method provided in this application embodiment;

[0025] Figure 3 This is another schematic flowchart illustrating the control method for a lighting fixture provided in an embodiment of this application;

[0026] Figure 4 A schematic diagram of the control device for a lamp provided in an embodiment of this application;

[0027] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0028] Figure 6 Another structural schematic diagram of the electronic device provided in the embodiments of this application. Detailed Implementation

[0029] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0030] like Figure 1 As shown, Figure 1 This is a flowchart illustrating the control method for a lighting fixture provided in an embodiment of this application. The control method is applied to electronic devices, and the specific flow of the control method is as follows:

[0031] 101. Control the multiple light-emitting components to sequentially change color at preset time intervals.

[0032] like Figure 2a As shown, the lamp 1 may include multiple light-emitting units 11, and the multiple light-emitting units 11 may be arranged in an array, that is, the multiple light-emitting units 11 may be arranged in one row and multiple columns, multiple rows and one column, or multiple rows and multiple columns. The multiple light-emitting units 11 may be divided into multiple light-emitting components 10, each light-emitting component 10 including at least one light-emitting unit 11, and the number of light-emitting units 11 in different light-emitting components 10 may be the same or different. Among them, the light-emitting unit 11 may be an LED lamp.

[0033] The color gradient sequence of multiple light-emitting components 10 can be preset, such as from left to right, from right to left, from top to bottom, from bottom to top, from center to edge, from edge to center, or from upper left corner to lower right corner. The preset time interval is the interval between the start of color gradient between two adjacent light-emitting components 10. For example, after the first light-emitting component 10 starts color gradient, the second light-emitting component 10 starts color gradient after a preset time interval.

[0034] After dividing the image into multiple light-emitting components 10, a preset time interval can be calculated based on the gradient sequence of the multiple light-emitting components, the array distribution length of the multiple light-emitting units 11, and the preset luminous efficiency operating speed. For example... Figure 2a As shown, each column of light-emitting units 11 constitutes a light-emitting component 10, thereby... Figure 2a The multiple light-emitting units 11 are divided into five light-emitting components 10a, 10b, 10c, 10d, and 10e. The number of light-emitting units 11 in each of the five light-emitting components is the same, and the gradient order is from left to right. Based on the array distribution length L (cm) of the multiple light-emitting units 11, the luminous efficiency operating speed V (cm / s), and the number of light-emitting components N, a preset time interval T (ms) is calculated.

[0035] Before the color change, the multiple light-emitting components 10 display the current color. At preset time intervals, the multiple light-emitting components 10 are controlled to sequentially change from the current color. For example... Figures 2a to 2f As shown, each column of light-emitting units 11 constitutes a light-emitting component 10, and the gradient sequence of multiple light-emitting components 10 is from left to right. Figure 2a As shown, firstly, multiple light-emitting components 10 are controlled to present the first state, that is, multiple light-emitting components 10 are controlled to display the current color A. After a preset time interval, as shown... Figure 2b As shown, multiple light-emitting components 10 are controlled to present the second state, that is, light-emitting component 10a is controlled to change color, while other light-emitting components 10 still display the current color A. After another preset time interval, as shown... Figure 2c As shown, multiple light-emitting components 10 are controlled to present a third state, that is, light-emitting component 10b is controlled to change color, while the other light-emitting components 10 besides light-emitting components 10a and 10b still display the current color A. After another preset time interval, as shown... Figure 2d As shown, multiple light-emitting components 10 are controlled to present a fourth state, that is, light-emitting component 10c is controlled to change color, while the other light-emitting components 10 besides light-emitting components 10a, 10b, and 10c still display the current color A. After another preset time interval, as shown... Figure 2eAs shown, multiple light-emitting components 10 are controlled to present a fifth state, that is, light-emitting component 10d is controlled to change color, while light-emitting components 10a, 10b, 10c, and 10d, other light-emitting components 10, remain displaying the current color A. After another preset time interval, as shown... Figure 2f As shown, multiple light-emitting components 10 are controlled to present a fifth state, that is, the light-emitting components 10e are controlled to change color, thereby achieving the effect of multiple light-emitting components 10 changing color from left to right.

[0036] 102. During the color gradient process, the light-emitting component is controlled to change from the current color to the target color through at least one transition color, and the time interval between the transitions is the preset time interval; the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color.

[0037] In this embodiment of the invention, during the color change process, the light-emitting component 10 does not directly change from the current color to the target color. Instead, a transition color is added between the current color and the target color, causing the light-emitting component 10 to first change from the current color to the transition color, and then from the transition color to the target color. The number of transition colors can be one or more, and the color control parameters of each transition color are different. The color control parameters of the transition colors can be set based on the color control parameters of the current color and / or the target color. The color control parameters may include a control voltage used to control the RGB values ​​and / or color temperature values ​​of the light-emitting component 10.

[0038] In the first embodiment, the color control parameter of the transition color is associated with the color control parameter of the target color. The color control parameter of the transition color can be greater than or less than the color control parameter of the target color. When there are multiple transition colors, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal. For example, the multiple transition colors include a first transition color and a second transition color. Among the first transition color, the second transition color, and the target color, the absolute values ​​of the rate of change of the color control parameters of the first transition color and the second transition color are the same as the absolute values ​​of the rate of change of the color control parameters of the second transition color and the target color.

[0039] The rate of change can be positive or negative. When all rates of change are positive, the color control parameters of multiple transition colors and target colors increase sequentially. For example, among the first transition color, second transition color, and target color, the color control parameter of the second transition color is greater than that of the first transition color, and the color control parameter of the target color is greater than that of the second transition color. When all rates of change are negative, the color control parameters of multiple transition colors and target colors decrease sequentially. For example, among the first transition color, second transition color, and target color, the color control parameter of the second transition color is less than that of the first transition color, and the color control parameter of the target color is less than that of the second transition color. When some rates of change are positive and some are negative, the color control parameters of multiple transition colors and target colors can first increase and then decrease, or first decrease and then increase. For example, among the first transition color, second transition color, and target color, the color control parameter of the second transition color is greater than that of the first transition color, and the color control parameter of the target color is less than that of the second transition color. For example, among the first transition color, the second transition color, and the target color, the color control parameter of the second transition color is less than that of the first transition color, and the color control parameter of the target color is greater than that of the second transition color.

[0040] In the second embodiment, the color control parameter of the transition color is associated with the color control parameter of the current color. The color control parameter of the transition color can be greater than or less than the color control parameter of the current color. When there are multiple transition colors, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors among the current color and the multiple transition colors are equal. For example, if the multiple transition colors include a third transition color and a fourth transition color, the absolute values ​​of the rate of change of the color control parameters of the current color and the third transition color are the same as the absolute values ​​of the rate of change of the color control parameters of the third transition color and the fourth transition color.

[0041] The rate of change can be positive or negative. When all rates of change are positive, the color control parameters of the current color and multiple transition colors increase sequentially. For example, among the current color, the third transition color, and the fourth transition color, the color control parameter of the third transition color is greater than that of the current color, and the color control parameter of the fourth transition color is greater than that of the third transition color. When all rates of change are negative, the color control parameters of the current color and multiple transition colors decrease sequentially. For example, among the current color, the third transition color, and the fourth transition color, the color control parameter of the third transition color is less than that of the current color, and the color control parameter of the fourth transition color is less than that of the third transition color. When some rates of change are positive and some are negative, the color control parameters of the current color and multiple transition colors can first increase and then decrease, or first decrease and then increase. For example, among the current color, the third transition color, and the fourth transition color, the color control parameter of the third transition color is greater than that of the current color, and the color control parameter of the fourth transition color is less than that of the third transition color. For example, among the current color, the third transition color, and the fourth transition color, the color control parameter of the third transition color is less than that of the current color, and the color control parameter of the fourth transition color is greater than that of the third transition color.

[0042] In the third embodiment, the color control parameters of the transition color are associated with the color control parameters of the current color and the target color. The color control parameter of the transition color can be greater than or less than the color control parameter of the current color, or greater than or less than the color control parameter of the target color. Among the current color, at least one transition color, and the target color, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal. For example, the at least one transition color includes a fifth transition color and a sixth transition color. Among the current color, the fifth transition color, the sixth transition color, and the target color, the absolute values ​​of the rate of change of the color control parameters of the current color and the fifth transition color, the absolute values ​​of the rate of change of the color control parameters of the fifth transition color and the sixth transition color, and the absolute values ​​of the rate of change of the color control parameters of the sixth transition color and the target color are the same.

[0043] The rate of change can be positive or negative. When all rates of change are positive, the color control parameters of the current color, at least one transition color, and the target color increase sequentially. For example, among the current color, the fifth transition color, the sixth transition color, and the target color, the color control parameter of the fifth transition color is greater than that of the current color, the color control parameter of the sixth transition color is greater than that of the fifth transition color, and the color control parameter of the target color is greater than that of the sixth transition color. When all rates of change are negative, the color control parameters of the current color, at least one transition color, and the target color decrease sequentially. For example, among the current color, the fifth transition color, the sixth transition color, and the target color, the color control parameter of the fifth transition color is less than that of the current color, the color control parameter of the sixth transition color is less than that of the fifth transition color, and the color control parameter of the target color is less than that of the fifth transition color. When some rates of change are positive and some are negative, the color control parameters of the current color, at least one transition color, and the target color can first increase and then decrease, or first decrease and then increase. For example, among the current color, the fifth transition color, the sixth transition color, and the target color, the color control parameter of the fifth transition color is greater than that of the current color, the color control parameter of the sixth transition color is less than that of the fifth transition color, and the color control parameter of the target color is less than that of the fifth transition color. As another example, among the current color, the fifth transition color, the sixth transition color, and the target color, the color control parameter of the fifth transition color is less than that of the current color, the color control parameter of the sixth transition color is greater than that of the fifth transition color, and the color control parameter of the target color is greater than that of the sixth transition color.

[0044] The number of transition colors can also be set according to the color control parameters of the current color and / or the target color. In the first embodiment, the number of transition colors is related to the color control parameters of the target color. When the color control parameters of the transition colors are less than the color control parameters of the target color, if the color control parameters of the target color are larger, the number of transition colors can be larger; if the color control parameters of the target color are smaller, the number of transition colors can be smaller. When the color control parameters of the transition colors are greater than the color control parameters of the target color, if the color control parameters of the target color are larger, the number of transition colors can be smaller; if the color control parameters of the target color are smaller, the number of transition colors can be larger.

[0045] In the second embodiment, the number of transition colors is related to the color control parameter of the current color. When the color control parameter of the transition color is less than the color control parameter of the current color, if the color control parameter of the current color is larger, the number of transition colors can be larger; if the color control parameter of the current color is smaller, the number of transition colors can be smaller. When the color control parameter of the transition color is greater than the color control parameter of the current color, if the color control parameter of the current color is larger, the number of transition colors can be smaller; if the color control parameter of the current color is smaller, the number of transition colors can be larger.

[0046] In the third embodiment, the number of transition colors is related to the color control parameters of the current color and the target color. When the color control parameters of the current color and the target color are far apart, the number of transition colors can be large; when the color control parameters of the current color and the target color are close together, the number of transition colors can be small.

[0047] After determining the number of transition colors and the color control parameters, the light-emitting component 10 can be controlled to change from the current color to the target color through each transition color during the color gradient process. The time interval for the transition is a preset time interval, which is the same as the time interval between the color gradients of the two light-emitting components 10.

[0048] like Figure 2a As shown, there are three transition colors: B1, B2, and B3. The color control parameters of the transition colors are related to the color control parameters of the target color B. The color control parameter for the target color B is Q1, and the color control parameter for the transition color B1 is... The color control parameters for transition color B2 are: The color control parameters for transition color B3 are as follows:

[0049] like Figure 2a As shown, firstly, multiple light-emitting components 10 are controlled to present the first state, that is, multiple light-emitting components 10 all display the current color A. After a preset time interval, as shown... Figure 2b As shown, multiple light-emitting components 10 are controlled to present a second state, that is, the light-emitting component 10a is controlled to change from the current color A to the transition color B1. After another preset time interval, as shown... Figure 2c As shown, multiple light-emitting components 10 are controlled to present a third state, that is, light-emitting component 10b is controlled to change from the current color A to the transition color B1, while light-emitting component 10a is controlled to change from the transition color B1 to the transition color B2. After another preset time interval, as shown... Figure 2dAs shown, multiple light-emitting components 10 are controlled to present a fourth state, that is, light-emitting component 10c is controlled to change from the current color A to the transition color B1, while light-emitting component 10b is controlled to change from the transition color B1 to the transition color B2, and light-emitting component 10a is controlled to change from the transition color B2 to the transition color B3. After another preset time interval, as shown... Figure 2e As shown, multiple light-emitting components 10 are controlled to present a fifth state, that is, light-emitting component 10d is controlled to change from the current color A to the transition color B1, while light-emitting component 10c is controlled to change from the transition color B1 to the transition color B2, while light-emitting component 10b is controlled to change from the transition color B2 to the transition color B3, and light-emitting component 10a is controlled to change from the transition color B3 to the target color B. After another preset time interval, as shown... Figure 2f As shown, multiple light-emitting components 10 are controlled to present a sixth state, namely, light-emitting component 10e is controlled to change from the current color A to the transition color B1, while light-emitting component 10d is controlled to change from the transition color B1 to the transition color B2, while light-emitting component 10c is controlled to change from the transition color B2 to the transition color B3, and light-emitting component 10b is controlled to change from the transition color B3 to the target color B. This process continues until light-emitting component 10e changes to the target color B, thus completing the color transition of multiple light-emitting components 10 from the current color A to the target color B.

[0050] It should be noted that the target color can be preset. The luminous unit 11 can be set to only one target color at a time, and during color gradient transitions, the luminous unit 11 can be controlled to change from the current color to the target color. Alternatively, multiple target colors can be set for the luminous unit 11 at a time, with a specified order. During color gradient transitions, the luminous unit 11 can be controlled to sequentially change from the current color to the multiple target colors according to this order. The target colors can be set by the user to enrich the gradient effects of the luminous unit 11, meet user needs, and improve the user experience.

[0051] When multiple target colors are set, after the multiple light-emitting components 10 change from the current color to the target color, they can continue to change from the target color to the next target color. In one embodiment, the change to the next target color is initiated only after all the multiple light-emitting components 10 have changed from the current color to the target color.

[0052] Specifically, the method further includes:

[0053] After completing the color gradient of multiple light-emitting components, control the multiple light-emitting components to continue the color gradient.

[0054] After all the light-emitting components 10 have changed from the current color to the target color, they can continue to change color according to the original gradient order and the original time interval (i.e., the preset time interval); or the gradient order and / or time interval can be reset to control the multiple light-emitting components 10 to continue to change color according to different gradient orders and different time intervals.

[0055] In another embodiment, once one light-emitting component 10 changes from its current color to a target color, the transition to the next target color can be initiated immediately, without waiting for all light-emitting components 10 to complete the color gradient. Specifically, the method further includes:

[0056] After the color gradient of the light-emitting component is completed, the light-emitting component is controlled to continue to perform the color gradient.

[0057] After one light-emitting component 10 changes from its current color to the target color (other light-emitting components 10 may not have changed to the target color yet), after a preset time interval, the light-emitting component 10 can be controlled to continue changing from the target color without waiting for all light-emitting components 10 to complete the change to the target color. At this time, some light-emitting components 10 may display the current color, some may display the transition color, some may display the target color, and some may display the next target color.

[0058] It should be noted that multiple colors and their display order can be preset, allowing the light-emitting components 10 to cycle through color changes according to this order. The currently displayed color is the current color, and the color to be changed from the current color is the target color. For example, if the display order is first color, second color, and third color, the multiple light-emitting components 10 are first controlled to display the first color (current color), then sequentially changed to the second color (target color). After the light-emitting components 10 change to the second color, that color becomes the current color, and so on, until the control state of the multiple light-emitting components 10 changes.

[0059] During the color transition of multiple light-emitting components 10, the user can control the state of the multiple light-emitting components 10 to change. For example, the user can pause the color transition of the multiple light-emitting components 10, and the electronic device will respond to the pause command, controlling the multiple light-emitting components 10 to stop the color transition, so that the multiple light-emitting components 10 maintain the currently displayed color. The user can also stop the display of the multiple light-emitting components 10, and the electronic device will respond to the stop command, controlling the multiple light-emitting components 10 to stop displaying.

[0060] The lighting control method provided in this application can divide the light-emitting unit in the lighting fixture into multiple light-emitting components. At a preset time interval, the multiple light-emitting components are controlled to perform color gradients sequentially. During the color gradient process, the light-emitting components are controlled to change from the current color to the target color through at least one transition color. The time interval for the transition is a preset time interval, and the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color to ensure that the current color transitions smoothly and gently to the target color, improve the smoothness of the color transition, avoid visual jitter, and improve the user's visual experience.

[0061] like Figure 3 As shown, Figure 3 This is another schematic flowchart of the lighting control method provided in this application embodiment. The lighting control method is applied to electronic devices, and the specific flow of the lighting control method can be as follows:

[0062] 201. Set N colors to be arranged in sequence.

[0063] 202. Control multiple light-emitting components to sequentially change color at preset time intervals.

[0064] 203. During the color gradient process, the light-emitting component is controlled to change from the i-th color to the j-th color through at least one transition color, and the time interval between the transitions is a preset time interval; the color control parameters of the transition colors are associated with the color control parameters of the i-th color and / or the j-th color; if 0 < i < N, then j = i + 1, and if i = N, then j = 1.

[0065] 204. After the light-emitting component changes to the j-th color, determine whether j is 1. If not, proceed to step 205; if yes, proceed to step 206.

[0066] 205.i = i + 1, and return to step 202.

[0067] 206.i = 1, and return to step 202.

[0068] This embodiment effectively enriches the color transition effect, improves the smoothness of the color transition, and enhances the user's visual experience.

[0069] Based on the method described in the above embodiments, this embodiment will be further described from the perspective of the control device of the lamp, which can be integrated into an electronic device.

[0070] Please see Figure 4 , Figure 4This application provides a specific description of a control device for a lighting fixture, wherein the lighting fixture includes multiple light-emitting units arranged in an array, and the multiple light-emitting units are divided into multiple light-emitting components. The device includes:

[0071] The first control module 31 is used to control the multiple light-emitting components to sequentially change color at a preset time interval;

[0072] The second control module 32 is used to control the light-emitting component to change from the current color to the target color through at least one transition color during the color gradient process, and the time interval between the transitions is the preset time interval; the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color.

[0073] In some embodiments of this application, among the plurality of transition colors and the target color, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal.

[0074] In some embodiments of this application, among the current color and the plurality of transition colors, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal.

[0075] In some embodiments of this application, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors among the current color, at least one of the transition colors, and the target color are equal.

[0076] In some embodiments of this application, the rate of change is a positive or negative value.

[0077] In some embodiments of this application, the number of transition colors is associated with color control parameters of the current color and / or the target color.

[0078] In some embodiments of this application, the color control parameters include a control voltage for controlling the RGB values ​​and / or color temperature values ​​of the light-emitting component.

[0079] In some embodiments of this application, the device further includes a third control module, which is used for:

[0080] After the color gradient of the light-emitting component is completed, the light-emitting component is controlled to continue to perform the color gradient.

[0081] In some embodiments of this application, the device further includes a fourth control module, which is used for:

[0082] After completing the color gradient of multiple light-emitting components, control the multiple light-emitting components to continue the color gradient.

[0083] As described above, the control device for the lamp provided in this application can divide the light-emitting unit in the lamp into multiple light-emitting components. At a preset time interval, the multiple light-emitting components are controlled to perform color gradients sequentially. During the color gradient process, the light-emitting components are controlled to change from the current color to the target color through at least one transition color. The time interval for the transition is a preset time interval, and the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color to ensure that the current color transitions smoothly and gently to the target color, improve the smoothness of the color transition, avoid visual jitter, and improve the user's visual experience.

[0084] In addition, embodiments of this application also provide an electronic device, such as... Figure 5 As shown, the electronic device 400 includes a processor 401 and a memory 402. The processor 401 and the memory 402 are electrically connected.

[0085] The processor 401 is the control center of the electronic device 400. It connects various parts of the mobile terminal through various interfaces and lines. By running or loading applications stored in the memory 402 and calling data stored in the memory 402, it performs various functions of the mobile terminal and processes data, thereby monitoring the mobile terminal as a whole.

[0086] In this embodiment, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402 to realize various functions:

[0087] At preset time intervals, multiple light-emitting components are controlled to sequentially change color gradients;

[0088] During the color gradient process, the light-emitting component is controlled to change from the current color to the target color through at least one transition color, and the time interval between the transitions is the preset time interval; the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color.

[0089] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 300 may include an RF circuit 310, a memory 320 including one or more computer-readable storage media, an input unit 330, a display unit 340, a sensor 350, an audio circuit 360, a speaker 361, a microphone 362, a transmission module 370, a processor 380 including one or more processing cores, and a power supply 390, among other components. Those skilled in the art will understand that... Figure 6The mobile terminal structure shown does not constitute a limitation on the mobile terminal and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0090] RF circuit 310 is used to receive and transmit electromagnetic waves, realizing the mutual conversion between electromagnetic waves and electrical signals, thereby enabling communication with communication networks or other devices. RF circuit 310 may include various existing circuit elements used to perform these functions, such as antennas, cellular communication RF transceivers, millimeter-wave RF transceivers, Wi-Fi / BT transceivers, GPS transceivers, digital signal processors, encryption / decryption chips, Subscriber Identity Module (SIM) cards, memory, etc. RF circuit 310 can communicate with various networks such as the Internet, corporate intranets, and wireless networks, or communicate with other devices via wireless networks. The aforementioned wireless networks may include cellular telephone networks, wireless local area networks (WLANs), or metropolitan area networks (MANs). The aforementioned wireless networks may use various communication standards, protocols, and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (such as IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, and / or IEEE 802.11n), Voice over Internet Protocol (VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for email, instant messaging, and short messages, and any other suitable communication protocols, including those that have not yet been developed.

[0091] The memory 320 can be used to store software programs and modules, such as the program instructions / modules corresponding to the connection recovery device and method in the above embodiments. The processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, thereby realizing the control functions of the mobile terminal. The memory 320 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 320 may further include memory remotely located relative to the processor 380, and these remote memories can be connected to the electronic device 300 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0092] The input unit 330 can be used to receive input digital or character information, and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. Specifically, the input unit 330 may include a touch-sensitive surface 331 and other input devices 332. The touch-sensitive surface 331, also known as a touch display screen or touchpad, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch-sensitive surface 331), and drive the corresponding connection device according to a pre-set program. Optionally, the touch-sensitive surface 331 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 331, the input unit 330 may also include other input devices 332. Specifically, other input devices 332 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.

[0093] The display unit 340 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device 300. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. The display unit 340 may include a display panel 341, which may optionally be configured as an LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or similar display. Furthermore, a touch-sensitive surface 331 may cover the display panel 341. When the touch-sensitive surface 331 detects a touch operation on or near it, it transmits the information to the processor 380 to determine the type of touch event. Subsequently, the processor 380 provides corresponding visual output on the display panel 341 according to the type of touch event. Although in Figure 6 In this embodiment, the touch-sensitive surface 331 and the display panel 341 are implemented as two separate components to realize the input and output functions. However, in some embodiments, the touch-sensitive surface 331 and the display panel 341 can be integrated to realize the input and output functions.

[0094] The electronic device 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 341 according to the ambient light level, and the proximity sensor can turn off the display panel 341 and / or backlight when the electronic device 300 is moved to the ear. As a type of motion sensor, a gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that identify the posture of mobile terminals (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometers, taps), etc. Other sensors that may be configured in the electronic device 300, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0095] The audio circuit 360, speaker 361, and microphone 362 provide an audio interface between the user and the electronic device 300. The audio circuit 360 converts received audio data into electrical signals, which are then transmitted to the speaker 361, where they are converted into sound signals for output. Conversely, the microphone 362 converts collected sound signals into electrical signals, which are received by the audio circuit 360, converted back into audio data, and then processed by the processor 380 before being transmitted via the RF circuit 310 to, for example, another mobile terminal, or output to the memory 320 for further processing. The audio circuit 360 may also include an earphone jack to facilitate communication between a peripheral headset and the electronic device 300.

[0096] Electronic device 300, through transmission module 370 (e.g., WIFI module), can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 6 The transmission module 370 is shown, but it is understood that it is not a necessary component of the electronic device 300 and can be omitted as needed without changing the nature of the invention.

[0097] The processor 380 is the control center of the electronic device 300. It connects various parts of the mobile terminal via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 320, and by calling data stored in the memory 320, it performs various functions of the electronic device 300 and processes data, thereby providing overall monitoring of the mobile terminal. Optionally, the processor 380 may include one or more processing cores; in some embodiments, the processor 380 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into the processor 380.

[0098] The electronic device 300 also includes a power supply 390 (such as a battery) that supplies power to various components. In some embodiments, the power supply may be logically connected to the processor 380 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. The power supply 390 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0099] Although not shown, the electronic device 300 may also include a camera (such as a front-facing camera, a rear-facing camera), a Bluetooth module, etc., which will not be described in detail here. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, and the mobile terminal also includes a memory and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors. One or more programs contain instructions for performing the following operations:

[0100] At preset time intervals, multiple light-emitting components are controlled to sequentially change color gradients;

[0101] During the color gradient process, the light-emitting component is controlled to change from the current color to the target color through at least one transition color, and the time interval between the transitions is the preset time interval; the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color.

[0102] In practice, the above modules can be implemented as independent entities or combined in any way to be implemented as the same or several entities. For the specific implementation of the above modules, please refer to the previous method implementation examples, which will not be repeated here.

[0103] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. Therefore, embodiments of the present invention provide a storage medium storing multiple instructions that can be loaded by a processor to execute the steps in any of the lighting control methods provided in the embodiments of the present invention.

[0104] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0105] Since the instructions stored in the storage medium can execute the steps in any of the lamp control methods provided in the embodiments of the present invention, the beneficial effects that any of the lamp control methods provided in the embodiments of the present invention can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0106] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0107] In summary, although the present application has disclosed the preferred embodiments as described above, the above preferred embodiments are not intended to limit the present application. Those skilled in the art can make various modifications and refinements without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be determined by the scope defined in the claims.

Claims

1. A method for controlling a lighting fixture, characterized in that, The lamp includes multiple light-emitting units arranged in an array, and the multiple light-emitting units are divided into multiple light-emitting components. The method includes: The preset time interval is calculated based on the gradient sequence of the multiple light-emitting components, the array distribution length of the multiple light-emitting units, and the preset light effect running speed; At the preset time interval, the multiple light-emitting components are controlled to sequentially change color. During the color gradient process, the light-emitting component is controlled to change from the current color to the target color through at least one transition color, and the time interval between the transitions is the preset time interval; the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color. The number of transition colors is associated with the color control parameters of the current color and / or the target color; when the color control parameters of the current color and the target color are far apart, the number of transition colors is large; when the color control parameters of the current color and the target color are far apart, the number of transition colors is small. When multiple target colors are set, after the color gradient of multiple light-emitting components is completed, the original gradient order is still followed and the original preset time interval is used to control the multiple light-emitting components to continue to perform color gradient; or, the gradient order and / or time interval are reset, and the multiple light-emitting components are controlled to continue to perform color gradient according to different gradient orders and at different time intervals. Alternatively, when multiple target colors are set, after the color gradient of the light-emitting component is completed, the light-emitting component is controlled to continue to perform color gradient at a preset time interval.

2. The lighting control method according to claim 1, characterized in that, Among the multiple transition colors and the target color, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal.

3. The lighting control method according to claim 1, characterized in that, Among the current color and the plurality of transition colors, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal.

4. The lighting control method according to claim 1, characterized in that, In the current color, at least one of the transition colors, and the target color, the absolute values ​​of the rate of change of the color control parameters of any two adjacent colors are equal.

5. The method for controlling a lamp according to any one of claims 2 to 4, characterized in that, The rate of change can be positive or negative.

6. The method for controlling a lamp according to claim 1, characterized in that, The color control parameters include control voltages used to control the RGB values ​​and / or color temperature values ​​of the light-emitting components.

7. A control device for a lighting fixture, characterized in that, The lamp includes multiple light-emitting units arranged in an array, and the multiple light-emitting units are divided into multiple light-emitting components. The device includes: The first control module is used to calculate a preset time interval based on the gradient sequence of the multiple light-emitting components, the array distribution length of the multiple light-emitting units, and a preset light effect running speed; and to control the multiple light-emitting components to perform color gradients sequentially according to the preset time interval. The second control module is used to control the light-emitting component to change from the current color to the target color through at least one transition color during the color gradient process, and the time interval between the transitions is the preset time interval; the color control parameters of the transition color are associated with the color control parameters of the current color and / or the target color. The number of transition colors is associated with the color control parameters of the current color and / or the target color; when the color control parameters of the current color and the target color are far apart, the number of transition colors is large; when the color control parameters of the current color and the target color are far apart, the number of transition colors is small. When multiple target colors are set, after the color gradient of multiple light-emitting components is completed, the original gradient order is still followed and the original preset time interval is used to control the multiple light-emitting components to continue to perform color gradient; or, the gradient order and / or time interval are reset, and the multiple light-emitting components are controlled to continue to perform color gradient according to different gradient orders and at different time intervals. Alternatively, when multiple target colors are set, after the color gradient of the light-emitting component is completed, the light-emitting component is controlled to continue to perform color gradient at a preset time interval.

8. A computer-readable storage medium, characterized in that, The storage medium stores a plurality of instructions, which are adapted to be loaded by a processor to execute the control method of the lamp according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Lighting device and method of transitioning color outputs

    CN102691965A