Lamplight control method and apparatus, and terminal device and storage medium

By configuring the control data and trigger time factors of the lighting equipment, the problem of inconsistency between the light effect trigger frequency and the signal frequency is solved, and accurate and efficient light effect triggering is achieved to meet the diversified and personalized needs of users.

WO2025194491A1PCT designated stage Publication Date: 2025-09-25SHENZHEN IMAGINEVISION TECHNOLOGY LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/083261
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-03-22
Publication Date
2025-09-25

AI Technical Summary

Technical Problem

When the trigger frequency of the light effect of existing lighting equipment is inconsistent with the frequency of the trigger signal, it is difficult to achieve diversified and personalized lighting effects.

Method used

By configuring the control data of the lighting equipment, including the initial counting parameters, the preset counting cycle range, the light effect triggering conditions and the triggering time factor of the lighting channel, the light effect triggering signal is received to update the initial counting parameters, and the light effect is triggered according to the triggering time factor when the light effect triggering conditions are met.

Benefits of technology

It achieves accurate and efficient light effect triggering when the light effect trigger frequency is inconsistent with the signal frequency, meets the user's complex light effect needs, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024083261_25092025_PF_FP_ABST
    Figure CN2024083261_25092025_PF_FP_ABST
Patent Text Reader

Abstract

The present application is applicable to the technical field of lamplight control. Provided are a lamplight control method and apparatus, and a terminal device and a storage medium. The method comprises: configuring control data for a lamplight device on the basis of input information from a user, wherein the control data comprises an initial count parameter, a preset count cycle range, a lighting effect trigger condition and a trigger time factor for a lamplight channel of the lamplight device; then, receiving a lighting effect trigger signal, and updating the initial count parameter on the basis of the lighting effect trigger signal; if the updated initial count parameter is within the preset count cycle range, determining whether the updated initial count parameter meets the lighting effect trigger condition; and if the updated initial count parameter meets the lighting effect trigger condition, triggering a lighting effect on the basis of the lighting effect trigger signal and the trigger time factor. On the basis of the embodiments of the present application, the problem that existing lamplight devices cannot meet a lighting effect triggering requirement where the triggering frequency of the lighting effect is inconsistent with the frequency of the triggering signal can be effectively solved, thereby realizing accurate triggering of the complex lighting effect.
Need to check novelty before this filing date? Find Prior Art

Description

Lighting control method, device, terminal 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, apparatus, terminal device and storage medium. Background Art

[0002] The application of lighting in today's society has far surpassed its original function of pure illumination, gradually evolving into a highly artistic and creative means of expression. From theater stages to modern home design, from large-scale concert venues to fine dining layouts, lighting equipment not only meets basic visual needs but also plays a vital role in creating different situations and enhancing specific atmospheres.

[0003] Currently, most lighting devices on the market achieve light effect triggering through rising or falling edges, or through level triggering. However, in some scenarios where the trigger frequency of the light effect is required to be inconsistent with the frequency of the trigger signal, this simple single-shot triggering mechanism is difficult to meet the requirements, making it difficult to achieve diversified and personalized lighting effects. Technical issues

[0004] One of the purposes of the embodiments of the present application is to provide a lighting control method, apparatus, terminal device and storage medium, which can solve the problem in the related art that the lighting equipment cannot meet the light effect triggering requirements when the triggering frequency of the light effect is inconsistent with the frequency of the trigger signal. Technical Solutions

[0005] In order to solve the above technical problems, the technical solutions adopted in the embodiments of the present application are:

[0006] In a first aspect, a lighting control method is provided, the lighting control method comprising:

[0007] Configuring control data of the lighting device according to user input information, the control data including initial counting parameters, preset counting cycle range, light effect triggering conditions, and triggering time factors of the lighting channels of the lighting device;

[0008] receiving a light effect trigger signal, and updating the initial counting parameter according to the light effect trigger signal;

[0009] If the updated initial counting parameter is within the preset counting cycle range, determining whether the updated initial counting parameter meets the light effect triggering condition;

[0010] If the updated initial counting parameter meets the light effect triggering condition, the light effect is triggered according to the light effect triggering signal and the triggering time factor.

[0011] In a second aspect, a lighting control device is further provided, the lighting control device comprising:

[0012] An information configuration module, configured to configure control data of the lighting device according to user input information, wherein the control data includes an initial counting parameter, a preset counting cycle range, a light effect triggering condition, and a triggering time factor of a light channel of the lighting device;

[0013] An updating module, configured to receive a light effect trigger signal and update the initial counting parameter according to the light effect trigger signal;

[0014] a judgment module, configured to judge whether the updated initial counting parameter satisfies the light effect triggering condition if the updated initial counting parameter is within the preset counting cycle range;

[0015] The trigger module is configured to trigger the light effect according to the light effect trigger signal and the trigger time factor if the updated initial counting parameter meets the light effect trigger condition.

[0016] In a third aspect, a terminal device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the lighting control method as described in the first aspect of the embodiment of the present application are implemented.

[0017] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the lighting control method as described in the first aspect of the embodiment of the present application are implemented. Beneficial effects

[0018] In the first aspect of the present application, the control data of the lighting device is configured according to the user's input information, and the control data includes an initial counting parameter, a preset counting cycle range, a light effect trigger condition, and a trigger time factor of the light channel of the lighting device; then a light effect trigger signal is received, and the initial counting parameter is updated according to the light effect trigger signal; if the updated initial counting parameter is within the preset counting cycle range, it is determined whether the updated initial counting parameter meets the light effect trigger condition; if the updated initial counting parameter meets the light effect trigger condition, the light effect is triggered according to the light effect trigger signal and the trigger time factor. In this way, the problem that the existing lighting equipment cannot meet the light effect triggering requirements when the trigger frequency of the light effect is inconsistent with the frequency of the trigger signal can be effectively solved, and efficient and accurate triggering of various complex light effects can be achieved.

[0019] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. 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.

[0021] FIG1 is a schematic diagram of a first flow chart of a lighting control method provided in an embodiment of the present application;

[0022] FIG2 is a schematic diagram of a second flow chart of a lighting control method provided in an embodiment of the present application;

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

[0024] FIG4 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Modes for Carrying Out the Invention

[0025] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.

[0026] It will also be understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0027] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0028] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of the present application include a particular feature, structure, or characteristic described in conjunction with that embodiment. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and their variations all mean "including but not limited to," unless otherwise specifically emphasized. "Multiple" means "two" or "more than two."

[0029] An example of the present application provides a triggering method for a lighting device, which controls the lighting effect of the lamp by detecting the rising edge or falling edge of the voltage or current signal, and the length of time that a certain level is maintained; specifically, when it is detected that the input signal jumps from a low level to a high level instantaneously, the control system of the lighting device will immediately respond and perform related actions, such as turning the light on or off; conversely, when it is detected that the input signal drops rapidly from a high level to a low level instantaneously, the control system of the lighting device will also respond and perform corresponding actions; in addition, unlike the level triggering of rising edge triggering or falling edge triggering, it requires that the input signal maintain a specific high level or low level state for a period of time before triggering the corresponding action. For example, when the high level is maintained for a period of time (such as 3 seconds), the lighting device is turned on; conversely, when the signal remains at a low level for a period of time, the lighting device is turned off.

[0030] Although the above triggering methods can respond to trigger signals in a timely manner, when the frequency of the required light effect changes is inconsistent with the frequency of the trigger signal, it is extremely difficult to implement a single action that simply relies on rising edge, falling edge, or level triggering. For example, in some advanced light shows or dynamic lighting scenes, the lights may be expected to exhibit a certain periodic or non-uniform change effect, which requires that the frequency of the light effect change is not synchronized with the trigger signal. In this case, a simple single trigger mechanism cannot meet such complex and changing light effect requirements.

[0031] Therefore, an embodiment of the present application provides a lighting control method, which configures control data of a lighting device according to user input information, where the control data includes an initial counting parameter, a preset counting cycle range, a light effect trigger condition, and a trigger time factor of a light channel of the lighting device; then a light effect trigger signal is received, and the initial counting parameter is updated according to the light effect trigger signal; if the updated initial counting parameter is within the preset counting cycle range, it is determined whether the updated initial counting parameter meets the light effect trigger condition; if the updated initial counting parameter meets the light effect trigger condition, the light effect is triggered according to the light effect trigger signal and the trigger time factor. In this way, the problem that existing lighting equipment cannot meet the light effect triggering requirements when the trigger frequency of the light effect is inconsistent with the frequency of the trigger signal can be effectively solved, and efficient and accurate triggering of various complex light effects can be achieved.

[0032] Example 1

[0033] As shown in FIG1 , the lighting control method provided in the embodiment of the present application includes the following steps S1 to S4:

[0034] Step S1: Configure the control data of the lighting device according to the user's input information, and then proceed to step S2.

[0035] In applications, different scenarios require different user input information. Based on this information, the control data of the lighting device can be configured to meet the application requirements of different scenarios and the user's personalized needs. User input information includes, but is not limited to, information related to the lighting device's brightness, color, color temperature, on / off status, flashing mode, gradient effect, etc.

[0036] In one embodiment, the control data includes an initial counting parameter, a preset counting cycle range, a light effect triggering condition, and a triggering time factor of a light channel of the light device.

[0037] In the application, the control data includes but is not limited to the initial counting parameters, the preset counting cycle range, the light effect triggering conditions and the triggering time factor of the light channel of the lighting device. According to the user's input information, the control data may also include the light output intensity, the light output mode, etc. This is just an example and does not constitute a limitation.

[0038] In one embodiment, the trigger time factor includes light effect trigger delay, light effect duration, and light effect end delay;

[0039] The light effect triggering delay is the time delay from when the light channel receives the light effect triggering signal to when it starts to trigger the light effect;

[0040] The light effect duration is the duration after the light channel triggers the light effect;

[0041] The light effect end delay is the time from the end of the light effect triggering of the light channel to the next reception of the light effect triggering signal.

[0042] In the application, the trigger time factors corresponding to different scenarios may be partially the same, completely the same, or completely different, and can be configured based on the user's input information. Among them, the light effect trigger delay, light effect duration, and light effect end delay can be time values ​​in milliseconds, seconds, or any other time value with time units, and there is no limitation here. The light effect trigger delay and light effect end delay can be the same or different. The light effect trigger delay and light effect end delay can also be zero at the same time, non-zero at the same time, or one of them can be zero.

[0043] In applications, by configuring the trigger time factor, you can effectively solve the problem of light effect triggering when the trigger frequency of the light effect is inconsistent with the frequency of the trigger signal. For example, when the trigger frequency of the light effect is 72 Hz (triggering 72 light effect changes per second) and the trigger signal frequency is 96 Hz (sending 96 trigger signals per second), in order to ensure that each trigger signal can accurately correspond to and trigger a light effect change, you can achieve precise triggering of the light effect by configuring the trigger time factor.

[0044] In one embodiment, the control data further includes lighting channel parameters, and the lighting channel parameters include at least one of lighting output intensity, lighting output mode, and lighting output frequency.

[0045] In the application, the light channel parameters include but are not limited to light output intensity, light output mode, and light output frequency. According to actual needs, users can also set other light channel parameters.

[0046] Step S2: Receive a light effect trigger signal, update the initial counting parameter according to the light effect trigger signal, and proceed to step S3.

[0047] In the application, after configuring the control data of the lighting equipment, you can start receiving light effect trigger signals. When the received light effect trigger information meets certain light effect trigger conditions, the light effect can be triggered.

[0048] In the application, during the data configuration process of step S1, an initial value can be configured for the initial counting parameter. The initial value can be configured to 0 or any other value, which is not limited here. Each time a light effect trigger signal is received, the initial counting parameter is updated and saved.

[0049] In application, the light effect trigger signal may be a pulse signal, or any type of signal that can be used to implement the method provided in this application, which is not limited here.

[0050] In one embodiment, step S2 specifically includes:

[0051] Each time a light effect trigger signal is received, the value of the initial counting parameter is increased by 1 and saved.

[0052] In the application, each time a light effect trigger signal is received, the initial counting parameter is added by 1 based on the current value and saved.

[0053] Step S3: If the updated initial counting parameter is within the preset counting cycle range, determine whether the updated initial counting parameter meets the light effect triggering condition, and enter step S4.

[0054] In application, the preset counting cycle range can be configured according to the actual needs of the user and is not limited here.

[0055] In the application, if the updated initial counting parameter is within the pre-set counting cycle range, it is necessary to determine whether the updated initial counting parameter meets the light effect triggering condition. If the light effect triggering condition is met, the light effect can be triggered; if the light effect triggering condition is not met, the light effect is not triggered.

[0056] Step S4: If the updated initial counting parameter meets the light effect triggering condition, trigger the light effect according to the light effect triggering signal and the triggering time factor.

[0057] In the application, if the updated initial counting parameters meet the light effect triggering conditions, the light effect is triggered according to the light effect triggering signal and the triggering time factor. Moreover, when other light effect triggering signals are received during the process of triggering the light effect, the light effect triggering signal is not processed. Only after the current light effect triggering process is completely completed (that is, after the light effect end delay), the received light effect triggering signal is processed accordingly.

[0058] In the application, after the light effect triggering is completed, the user can choose to end the current light effect triggering process and re-execute step S1, or return to step S2 without processing.

[0059] In one embodiment, the light effect triggering condition includes a light effect triggering condition of at least one light channel of a lighting device or a light effect triggering condition of multiple light channels of multiple lighting devices;

[0060] Correspondingly, step S4 specifically further includes:

[0061] If the updated initial counting parameter meets the light effect triggering condition of the at least one light channel or the target light channel among the multiple light channels, the target light channel is controlled to trigger the light effect according to the light effect triggering signal and the triggering time factor.

[0062] In applications, a lighting channel can represent not only the physical channel of a lighting device, but also a logical channel with logical functions that can achieve a certain lighting effect, or a combination of the two, without limitation here. For example, a lighting device with a five-color lamp combination physically has five independent lighting channels (one channel for each color). At the same time, the combination of lamps of different colors can form a logical channel with a clear logical function (for example, in color temperature (CCT) mode, the five-color lamps are combined to control color temperature. In this mode, color temperature (Color Temperature) and DUV offset can independently control the color temperature offset of the light, and the brightness channel controls the overall brightness. In this case, these three functions constitute three independent logical channels.).

[0063] In the application, if there is only one lighting device in a scene, the light effect triggering condition includes the light effect triggering condition of one lighting channel of the lighting device or the light effect triggering conditions of multiple lighting channels; if there are multiple lighting devices in a scene, the light effect triggering condition includes the light effect triggering conditions of multiple lighting channels (including multiple physical channels and / or multiple logical channels) of multiple lighting devices.

[0064] In the application, if the updated initial counting parameter meets the light effect triggering condition of one lighting channel or multiple lighting channels of a lighting device, then the one lighting channel or multiple lighting channels are controlled to trigger the light effect according to the light effect triggering signal and the triggering time factor corresponding to each lighting channel; if the updated initial counting parameter meets (at least one) target light channel among multiple lighting channels of multiple lighting devices, then (at least one) target light channel among multiple lighting channels of multiple lighting devices is controlled to trigger the light effect according to the light effect triggering signal and the triggering time factor corresponding to each light channel.

[0065] It is understandable that the above-mentioned multiple lighting devices can be controlled by one lighting control device or lighting control device.

[0066] In one embodiment, the light effect triggering condition further includes a preset triggering time;

[0067] Correspondingly, step S4 specifically further includes:

[0068] If the updated initial counting parameter meets the light effect triggering condition, the light effect is triggered at the preset triggering time according to the light effect triggering signal and the triggering time factor.

[0069] In applications, in some cases where the light effect does not need to be triggered immediately, a preset trigger time can be set in advance. On the premise that the updated initial counting parameters meet the light effect trigger conditions, if the preset trigger time is reached, the light effect is triggered according to the light effect trigger signal and the trigger time factor.

[0070] In the application, the preset trigger time can be set according to the user's actual needs. For example, the user can set one or more preset trigger times for one lighting channel or multiple lighting channels of a lighting device, or set one (the same) or multiple (different) preset trigger times for multiple lighting channels of multiple lighting devices. There is no limitation here.

[0071] In one embodiment, the light effect triggering condition further includes a preset advance time;

[0072] Correspondingly, step S4 specifically further includes:

[0073] If the updated initial counting parameter meets the light effect triggering condition, triggering the light effect at the actual triggering time according to the light effect triggering signal and the triggering time factor;

[0074] The actual trigger time is a time obtained by advancing the preset trigger time by the preset advance time.

[0075] In applications, some lighting devices, due to their inherent characteristics, require a certain ramp-up time (warm-up time) from fully dark to fully bright when triggering a lighting effect, which can affect exposure accuracy. Therefore, the impact of this ramp-up time can be addressed by setting a preset lead time (including one or more scheduled lead times for a single lighting channel or multiple lighting channels). For example, if the preset trigger time is A and the preset lead time is B, the preset trigger time is advanced by the preset lead time to obtain the actual trigger time. If the updated initial count parameters meet the light effect trigger conditions, the light effect is triggered at the actual trigger time AB, based on the light effect trigger signal and the trigger time factor.

[0076] In the application, the preset advance time can be set according to the actual needs of the user and is not limited here.

[0077] In application, the embodiment of the present application pre-configures the control data of the lighting device. Then, upon receiving a light effect trigger signal, the initial counting parameter is updated and the updated initial counting parameter is judged. When the light effect trigger condition is met, the light effect is triggered according to the light effect trigger signal and the trigger time factor. By setting the light effect trigger condition, the embodiment of the present application can achieve accurate and efficient light effect triggering, more easily meeting the different needs of users and improving the user experience.

[0078] Example 2

[0079] As shown in FIG2 , an embodiment of the present application provides a lighting control method, including the following steps S1, S2, S3 or S31, S311 or S312, S4 or S41; wherein the specific implementation of steps S1, S2, S3, and S4 is the same as that in the first embodiment and will not be repeated here. Steps S31, S311, and S312 are under the opposite conditions to those described in step S3 in the first embodiment, and step S41 is under the opposite conditions to those described in step S4 in the first embodiment. The lighting control method provided in the embodiment of the present application includes:

[0080] Step S1: Configure the control data of the lighting device according to the user's input information, and then proceed to step S2;

[0081] Step S2, receiving a light effect trigger signal, updating the initial counting parameter according to the light effect trigger signal, and proceeding to step S3 or S31;

[0082] Step S3: If the updated initial counting parameter is within the preset counting cycle range, determine whether the updated initial counting parameter meets the light effect triggering condition, and proceed to step S4 or S41;

[0083] Step S4: if the updated initial counting parameter meets the light effect triggering condition, triggering the light effect according to the light effect triggering signal and the triggering time factor;

[0084] Step S41: if the updated initial counting parameter does not meet the light effect triggering condition, returning to the step of receiving a light effect triggering signal and updating the initial counting parameter according to the light effect triggering signal;

[0085] Step S31: If the updated initial counting parameter is outside the preset counting cycle range, the updated initial counting parameter is restored to the initial value, and the restoration times are updated, and the process proceeds to step S311 or S312;

[0086] Step S311: If the updated number of recovery times meets the preset recovery condition, returning to the step of receiving a light effect trigger signal and updating the initial counting parameter according to the light effect trigger signal;

[0087] Step S312: If the updated number of restoration times does not meet the preset restoration condition, the current light effect triggering process is terminated and the process returns to the step of configuring the control data of the lighting device according to the user's input information.

[0088] In one embodiment, the control data further includes the number of times the initial counting parameter is restored and a preset restoration condition.

[0089] In the application, the number of recovery times and preset recovery conditions can be partially / fully configured or not configured according to the actual scenario and user needs, and are not limited here. In addition, parameters such as the initial value of the initial counting parameter, the preset counting cycle range, the light effect trigger condition, the trigger time factor, etc. can also be partially / fully configured or not configured according to the actual scenario and user needs, and are not limited here.

[0090] The following is a further explanation of the present application with reference to specific embodiments:

[0091] Take single-channel color temperature adjustment as an example:

[0092] (1) The user sets the relevant information of the light effect, for example, setting the color temperature of the channel in CCT mode to 3200K, the light output mode to normal mode, the brightness to 100%, immediate triggering when the light effect triggering conditions are met, the light effect lasting for 1000ms, no delay when the light effect ends, the excitation number of light channel A to 1, and the light effect executed 3 times;

[0093] Configure the control data of the lighting device, including setting the initial value of the initial count parameter to 0, the preset count cycle range to [0, 2], the light effect trigger condition to be updated with the initial count parameter to 1, the light effect trigger delay T0 of the light channel to 0, the light effect duration T1 to 1000ms, the light effect end delay T2 to 0, the default recovery number to 0, and the preset recovery condition to be updated with the recovery number less than 3;

[0094] (2) Upon receiving the first light effect trigger signal, the initial count parameter is updated to 1. The updated initial count parameter 1 is within the preset count cycle range [0, 2] and meets the light effect trigger condition. Light channel A immediately triggers the light effect according to the light effect trigger signal, and the light effect ends after lasting for 1000ms.

[0095] (3) Upon receiving the second light effect trigger signal, the initial count parameter is updated to 2. The updated initial count parameter 2 is within the preset count cycle range [0, 2], but does not meet the light effect trigger condition, and the process returns to step S2.

[0096] (4) Upon receiving the third light effect trigger signal, the initial count parameter is updated to 3. If the updated initial count parameter 3 is outside the preset count cycle range [0, 2], the updated initial count parameter 3 is restored to the initial value 0, the value of the number of restoration times is updated to 1, and the updated number of restoration times meets the preset restoration condition, and the process returns to step S2;

[0097] The fourth light effect trigger signal is received, which is consistent with the process of (2) above;

[0098] The fifth light effect trigger signal is received, which is consistent with the process of (3) above;

[0099] Upon receiving the sixth light effect trigger signal, the initial count parameter is updated to 3. If the updated initial count parameter 3 is outside the preset count cycle range [0, 2], the updated initial count parameter 3 is restored to the initial value 0, the value of the number of restoration times is updated to 2, and the updated number of restoration times meets the preset restoration condition, the process returns to step S2.

[0100] After receiving the seventh light effect trigger signal, the third light effect trigger is completed in the same manner as in the above (2). At this time, the user can choose to end the current light effect trigger process, or can choose to automatically end the current light effect trigger process after receiving the ninth light effect trigger signal.

[0101] Take dual-channel color temperature adjustment as an example:

[0102] (1) User-set information about light effects, for example, setting the color temperature in C channel CCT mode to 3200K, the color temperature in D channel CCT mode to 5600K, the light output mode to normal mode, the brightness to 100%, immediate triggering when the light effect triggering conditions are met, the light effect lasting 10ms, no delay when the light effect ends, the excitation number of light channel C to 1, the excitation number of light channel D to 2, and each light effect executed once;

[0103] Configure the control data of the lighting device, including configuring the initial value of the initial count parameter to be 0, the preset count cycle range to be [0, 2], the light effect triggering condition to trigger the light effect of light channel C when the updated initial count parameter is 1, and to trigger the light effect of light channel D when the updated initial count parameter is 2, the light effect triggering delay T0 of the light channel is 0, the light effect duration T1 is 10ms, the light effect end delay T2 is 0, the default recovery number is 0, and the preset recovery condition is that the updated recovery number is less than 1;

[0104] (2) Upon receiving the first light effect trigger signal, the initial count parameter is updated to 1. The updated initial count parameter 1 is within the preset count cycle range [0, 2] and meets the light effect trigger condition. Light channel C immediately triggers the light effect according to the light effect trigger signal, and the light effect ends after lasting for 10ms.

[0105] (3) When the second light effect trigger signal is received, the initial count parameter is updated to 2. The updated initial count parameter 2 is within the preset count cycle range [0, 2] and meets the light effect trigger condition. Light channel D immediately triggers the light effect according to the light effect trigger signal, and the light effect ends after lasting for 10ms. At this time, the user can choose to end the current light effect trigger process, or choose to automatically end the current light effect trigger process after receiving the third light effect trigger signal.

[0106] It should be understood that the above embodiments are merely examples and do not constitute a limitation of the present application. In actual applications, the methods provided in the embodiments of the present application may have more usage scenarios, which are not listed here one by one.

[0107] In application, the lighting control method provided by the embodiment of the present application can not only achieve accurate and efficient control of lighting equipment, but also effectively solve the lighting effect triggering problem when the trigger frequency of the light effect is inconsistent with the frequency of the trigger signal by configuring the trigger time factor.

[0108] The control data of the lighting device is pre-configured. Then, when a light effect trigger signal is received, the initial counting parameter is updated and the updated initial counting parameter is judged. When the light effect trigger condition is met, the light effect is triggered according to the light effect trigger signal and the trigger time factor. By setting the light effect trigger condition, the embodiment of the application can achieve accurate and efficient light effect triggering, more easily meet the different needs of users, and improve the user experience.

[0109] The lighting control methods provided in the embodiments of this application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). In this case, the terminal device is the execution entity of the lighting control methods provided in the embodiments of this application. The terminal device controls the lighting device using the lighting control methods provided in the embodiments of this application. The embodiments of this application do not impose any restrictions on the specific types of terminal devices and lighting devices.

[0110] It should be noted that the terminal device and the lighting device can be two independent devices or the same device.

[0111] 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.

[0112] Example 3

[0113] The present application also provides a lighting control device for executing the steps of the lighting control method described above. The device can be a virtual appliance in a terminal device, executed by a processor of the terminal device, or can be the terminal device itself.

[0114] As shown in FIG3 , the lighting control device 100 provided in the embodiment of the present application includes an information configuration module 101 , an update module 102 , a determination module 103 and a trigger module 104 .

[0115] An information configuration module 101 is configured to configure control data of a lighting device according to user input information, wherein the control data includes an initial counting parameter, a preset counting cycle range, a light effect triggering condition, and a triggering time factor of a light channel of the lighting device;

[0116] An updating module 102 is configured to receive a light effect trigger signal and update the initial counting parameter according to the light effect trigger signal;

[0117] The judging module 103 is configured to judge whether the updated initial counting parameter satisfies the light effect triggering condition if the updated initial counting parameter is within the preset counting cycle range;

[0118] The triggering module 104 is configured to trigger the light effect according to the light effect trigger signal and the trigger time factor if the updated initial counting parameter meets the light effect trigger condition.

[0119] In one embodiment, the update module 102 is specifically configured to:

[0120] Each time a light effect trigger signal is received, the value of the initial counting parameter is increased by 1 and saved.

[0121] In one embodiment, the control data further includes the number of times the initial counting parameter is restored and a preset restoration condition;

[0122] The judgment module 103 is specifically configured to:

[0123] If the updated initial counting parameter is outside the preset counting cycle range, restoring the updated initial counting parameter to the initial value and updating the restoration times;

[0124] If the updated number of recovery times meets the preset recovery condition, the process returns to the step of receiving a light effect trigger signal and updating the initial counting parameter according to the light effect trigger signal.

[0125] In one embodiment, the determination module 103 is specifically configured to:

[0126] If the updated number of restoration times does not meet the preset restoration condition, the current light effect triggering process is terminated and the process returns to the step of configuring the control data of the lighting device according to the user's input information.

[0127] In one embodiment, the determination module 103 is specifically configured to:

[0128] If the updated initial counting parameter does not meet the light effect triggering condition, the process returns to the step of receiving a light effect triggering signal and updating the initial counting parameter according to the light effect triggering signal.

[0129] In one embodiment, the trigger time factor includes light effect trigger delay, light effect duration, and light effect end delay;

[0130] The light effect triggering delay is the time delay from when the light channel receives the light effect triggering signal to when it starts to trigger the light effect;

[0131] The light effect duration is the duration after the light channel triggers the light effect;

[0132] The light effect end delay is the time from the end of the light effect triggering of the light channel to the next reception of the light effect triggering signal.

[0133] In one embodiment, the light effect triggering condition includes a light effect triggering condition of at least one light channel of a lighting device or a light effect triggering condition of multiple light channels of multiple lighting devices;

[0134] Correspondingly, the trigger module 104 is specifically configured to:

[0135] If the updated initial counting parameter meets the light effect triggering condition of the at least one light channel or the target light channel among the multiple light channels, the target light channel is controlled to trigger the light effect according to the light effect triggering signal and the triggering time factor.

[0136] In one embodiment, the control data further includes light channel parameters, and the light channel parameters include at least one of light output intensity, light output mode, and light output frequency. In one embodiment, the light effect triggering condition further includes a preset triggering time;

[0137] Correspondingly, the trigger module 104 is specifically configured to:

[0138] If the updated initial counting parameter meets the light effect triggering condition, the light effect is triggered at the preset triggering time according to the light effect triggering signal and the triggering time factor.

[0139] In one embodiment, the light effect triggering condition further includes a preset advance time;

[0140] Correspondingly, the trigger module 104 is specifically configured to:

[0141] If the updated initial counting parameter meets the light effect triggering condition, triggering the light effect at the actual triggering time according to the light effect triggering signal and the triggering time factor;

[0142] The actual trigger time is a time obtained by advancing the preset trigger time by the preset advance time.

[0143] In application, each unit in the above device may be a software program module, or may be implemented by different logic circuits integrated in a processor or independent physical components connected to a processor, or may be implemented by multiple distributed processors.

[0144] Example 4

[0145] As shown in Figure 4, an embodiment of the present application also provides a terminal device 200, including: at least one processor 201 (only one processor is shown in Figure 4), a memory 202, and a computer program 203 stored in the memory 202 and executable on at least one processor 201. When the processor 201 executes the computer program 203, the steps in the above-mentioned method embodiments are implemented.

[0146] In application, the terminal device may include, but is not limited to, a processor and a memory. Figure 4 is only an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, such as human-computer interaction devices, input and output devices, network access devices, etc. The network access device may include a communication module for the terminal device to communicate with the user terminal.

[0147] In applications, a processor can be a central processing unit (CPU). It can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. For example, a processor can be a timing controller (TCON). A general-purpose processor can be a microprocessor or any conventional processor.

[0148] In applications, in some embodiments, memory can be an internal storage unit of a terminal device, such as a hard drive or memory. In other embodiments, memory can also be an external storage device of the terminal device, such as a plug-in hard drive, a Smart Media Card (SMC), a Secure Digital (SD) card, or a flash memory card. Memory can also include both internal storage units and external storage devices. Memory is used to store operating systems, application programs, boot loaders, data, and other programs, such as computer program code. Memory can also be used to temporarily store data that has been output or is about to be output.

[0149] In applications, the communication module can be configured as any device capable of direct or indirect long-distance wired or wireless communication with a user terminal, depending on actual needs. For example, the communication module can provide communication solutions for network devices, including wireless local area networks (WLAN) (such as Wi-Fi), Bluetooth, Zigbee, mobile communication networks, global navigation satellite systems (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR). The communication module can include an antenna, which can be a single element or an antenna array with multiple elements. The communication module can receive electromagnetic waves through the antenna, frequency-modulate and filter the electromagnetic wave signals, and transmit the processed signals to the processor. The communication module can also receive signals to be transmitted from the processor, frequency-modulate and amplify them, and then convert them into electromagnetic waves for radiation via the antenna.

[0150] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / modules are based on the same concept as the method embodiment of this application. Their specific functions and technical effects can be found in the method embodiment section and will not be repeated here.

[0151] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiment can be integrated into a processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other and are not used to limit the scope of protection of this application. The specific working process of the modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0152] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0153] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device can implement the steps in the above-mentioned various method embodiments.

[0154] If the integrated module is implemented as a software functional module and sold or used as a standalone product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process steps in the above-mentioned method embodiments by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by a processor, the computer program can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a terminal device, a recording medium, computer memory, read-only memory (ROM), random access memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Examples include a USB flash drive, a removable hard drive, a magnetic disk, or an optical disk.

[0155] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0156] Those skilled in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0157] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0158] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules may be selected to achieve the purpose of the present embodiment according to actual needs.

[0159] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.

Claims

1. A lighting control method, characterized in that: The lighting control method comprises: Configuring control data of the lighting device according to user input information, the control data including initial counting parameters, preset counting cycle range, light effect triggering conditions, and triggering time factors of the lighting channels of the lighting device; receiving a light effect trigger signal, and updating the initial counting parameter according to the light effect trigger signal; If the updated initial counting parameter is within the preset counting cycle range, determining whether the updated initial counting parameter meets the light effect triggering condition; If the updated initial counting parameter meets the light effect triggering condition, the light effect is triggered according to the light effect triggering signal and the triggering time factor.

2. The lighting control method according to claim 1, wherein: The receiving a light effect trigger signal and updating the initial counting parameter according to the light effect trigger signal includes: Each time a light effect trigger signal is received, the value of the initial counting parameter is increased by 1 and saved.

3. The lighting control method according to claim 2, wherein: The control data also includes the number of times the initial counting parameter is restored and the preset restoration condition; After receiving the light effect trigger signal and updating the initial counting parameter according to the light effect trigger signal, the method further includes: If the updated initial counting parameter is outside the preset counting cycle range, restoring the updated initial counting parameter to the initial value and updating the restoration times; If the updated number of recovery times meets the preset recovery condition, the process returns to the step of receiving a light effect trigger signal and updating the initial counting parameter according to the light effect trigger signal.

4. The lighting control method according to claim 3, wherein: include: If the updated number of restoration times does not meet the preset restoration condition, the current light effect triggering process is terminated and the process returns to the step of configuring the control data of the lighting device according to the user's input information.

5. The lighting control method according to claim 2, wherein: If the updated initial counting parameter is within the preset counting cycle range, after determining whether the updated initial counting parameter meets the light effect triggering condition, the method further includes: If the updated initial counting parameter does not meet the light effect triggering condition, the process returns to the step of receiving a light effect triggering signal and updating the initial counting parameter according to the light effect triggering signal.

6. The lighting control method according to any one of claims 1 to 5, characterized in that: The trigger time factors include light effect trigger delay, light effect duration, and light effect end delay; The light effect triggering delay is the time delay from when the light channel receives the light effect triggering signal to when it starts to trigger the light effect; The light effect duration is the duration after the light channel triggers the light effect; The light effect end delay is the time from the end of the light effect triggering of the light channel to the next reception of the light effect triggering signal.

7. The lighting control method according to claim 6, wherein: The light effect triggering condition includes a light effect triggering condition of at least one light channel of a lighting device or a light effect triggering condition of multiple light channels of multiple lighting devices; Correspondingly, if the updated initial counting parameter satisfies the light effect triggering condition, triggering the light effect according to the light effect triggering signal and the triggering time factor includes: If the updated initial counting parameter meets the light effect triggering condition of the at least one light channel or the target light channel among the multiple light channels, the target light channel is controlled to trigger the light effect according to the light effect triggering signal and the triggering time factor.

8. The lighting control method according to claim 6, wherein: The control data further includes light channel parameters, and the light channel parameters include at least one of light output intensity, light output mode, and light output frequency.

9. The lighting control method according to claim 8, wherein: The light effect triggering condition also includes a preset triggering time; Correspondingly, if the updated initial counting parameter satisfies the light effect triggering condition, triggering the light effect according to the light effect triggering signal and the triggering time factor includes: If the updated initial counting parameter meets the light effect triggering condition, the light effect is triggered at the preset triggering time according to the light effect triggering signal and the triggering time factor.

10. The lighting control method according to claim 9, wherein: The light effect triggering condition also includes a preset advance time; Correspondingly, if the updated initial counting parameter satisfies the light effect triggering condition, triggering the light effect according to the light effect triggering signal and the triggering time factor includes: If the updated initial counting parameter meets the light effect triggering condition, triggering the light effect at the actual triggering time according to the light effect triggering signal and the triggering time factor; The actual trigger time is a time obtained by advancing the preset trigger time by the preset advance time.

11. A lighting control device, characterized in that: The lighting control device comprises: An information configuration module, configured to configure control data of the lighting device according to user input information, wherein the control data includes an initial counting parameter, a preset counting cycle range, a light effect triggering condition, and a triggering time factor of a light channel of the lighting device; An updating module, configured to receive a light effect trigger signal and update the initial counting parameter according to the light effect trigger signal; a judgment module, configured to judge whether the updated initial counting parameter satisfies the light effect triggering condition if the updated initial counting parameter is within the preset counting cycle range; The trigger module is configured to trigger the light effect according to the light effect trigger signal and the trigger time factor if the updated initial counting parameter meets the light effect trigger condition.

12. The lighting control device according to claim 11, wherein: The update module is specifically used to: Each time a light effect trigger signal is received, the value of the initial counting parameter is increased by 1 and saved.

13. The lighting control device according to claim 12, wherein: The judgment module is further configured to: If the updated initial counting parameter does not meet the light effect triggering condition, the process returns to the step of receiving a light effect triggering signal and updating the initial counting parameter according to the light effect triggering signal.

14. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the lighting control method according to any one of claims 1 to 10 are implemented.

15. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the lighting control method according to any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • Lamplight control method, storage medium and control device

    CN110461078A

  • Control method and system of light-emitting component, chip and electronic equipment

    CN115767833A

  • Light control method and device and electronic equipment

    CN116367386A

  • Light effect control method and device for lamp group

    CN116709610A

  • Light control method, device, main controller, light equipment and system

    CN117693102A