LED light control method and system
By establishing wireless communication between the control terminal and the LED device in the LED lighting control system, generating and sending target control instructions, the problem that the existing system cannot flexibly adjust the lighting strategy is solved, and intelligent control and personalized lighting effects are achieved. Improve the user experience and system intelligence level while saving energy.
Patent Information
- Application Number
- CN202411196315.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing LED lighting control system has a single lighting control strategy in terms of intelligent control, and cannot be flexibly adjusted according to user's personalized needs and scene changes, resulting in insufficient intelligence of the lighting system and users cannot obtain the best lighting effect. At the same time, the system There are limitations in transmission distance, signal interference, scalability and energy consumption management, and the user interaction interface design is not friendly enough.
By establishing wireless communication between the control terminal and multiple LED devices, receiving user adjustment instructions and generating target control instructions, lighting control is performed based on the adapted lighting control strategy, centralized management and adjustment of multiple LED devices are realized, and brightness is supported Dynamic adjustment of parameters such as color, color temperature, flicker frequency, etc., and automatically adjust the light according to user needs and scenes.
It improves the user experience, realizes intelligent control of the lighting system, ensures the coordination and consistency of lighting between multiple LED devices, meets users' personalized needs, saves energy, and improves the lighting effect and the intelligent level of the system.
Smart Images

Figure CN118921819A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of LED lighting control, and in particular to an LED lighting control method and system. Background Art
[0002] With the rapid development of science and technology and the popularization of the concept of smart home, LED lighting technology has gradually replaced traditional lighting equipment and become the mainstream choice in the field of modern lighting due to its advantages such as high efficiency, energy saving, environmental protection, and long life. In order to further improve the user experience and realize the intelligent control of the lighting system, a variety of LED lighting control systems based on wireless communication technology have emerged in the market. These systems usually establish wireless communication connections between the control terminal and multiple LED devices, allowing users to send adjustment instructions through the control terminal to remotely control the lights of LED devices. This control method greatly improves the convenience of use, allowing users to adjust the lighting effect at any time according to their needs and scenarios.
[0003] However, although the existing LED lighting control system has made some progress in intelligent control, there are still some defects that cannot be ignored:
[0004] Some systems use a relatively simple lighting control strategy that cannot be flexibly adjusted according to the user's personalized needs and scene changes. This limits the intelligence of the lighting system and prevents users from obtaining the best lighting effect. Summary of the invention
[0005] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
[0006] The first embodiment of the present disclosure provides a method for controlling LED lighting, including:
[0007] Establishing wireless communication between a control terminal and a plurality of LED devices, and receiving an adjustment instruction output by a user in the control terminal, wherein the adjustment instruction includes values to be set corresponding to a plurality of LED devices to be adjusted;
[0008] Based on the adjustment instruction and the adapted lighting control strategy, generating a target control instruction;
[0009] The target control instruction is sent to the multiple LED devices to perform lighting control.
[0010] The second aspect of the present disclosure provides an LED light control device, including:
[0011] A receiving module, used to establish wireless communication between the control terminal and the plurality of LED devices, and receive an adjustment instruction output by a user in the control terminal, wherein the adjustment instruction includes values to be set corresponding to the plurality of LED devices to be adjusted;
[0012] A generating module, used for generating a target control instruction based on the adjustment instruction and the adapted lighting control strategy;
[0013] The control module is used to send the target control instruction to the multiple LED devices to perform lighting control.
[0014] The third aspect of the present disclosure provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the LED light control method provided in the first aspect of the present disclosure is implemented.
[0015] The fourth aspect embodiment of the present disclosure proposes a non-temporary computer-readable storage medium storing a computer program, which, when executed by a processor, implements the LED light control method proposed in the first aspect embodiment of the present disclosure.
[0016] The LED lighting control method and system provided by the present disclosure have the following beneficial effects:
[0017] In the disclosed embodiment, wireless communication is first established between a control terminal and a plurality of LED devices, and an adjustment instruction outputted by a user in the control terminal is received, wherein the adjustment instruction includes the to-be-set values corresponding to the plurality of LED devices to be adjusted, and a target control instruction is generated based on the adjustment instruction and the adapted light control strategy, and then the target control instruction is sent to the plurality of LED devices to perform light control. Thus, the user can easily adjust the lights of the plurality of LED devices through the control terminal without manually operating each device, thereby improving the convenience of use. The system can automatically adjust the lights of the LED devices according to the user's adjustment instructions and the preset light control strategy to meet the personalized needs of the user. Through wireless communication and intelligent control strategies, the system can realize centralized management and control of the plurality of LED devices, thereby improving the intelligence level of the lighting system. The system can automatically adjust the lights of the LED devices according to different scenarios and needs, thereby achieving intelligent lighting effects. Through precise light control strategies, the system can ensure that the lights between the plurality of LED devices are coordinated and consistent, thereby improving the overall lighting effect. The user can freely adjust the lights of the LED devices according to personal preferences and scenario requirements, thereby creating a more comfortable and personalized lighting environment. By intelligently adjusting parameters such as the brightness and color temperature of the LED devices, the system can save energy to the greatest extent while meeting the lighting needs. The system can automatically adjust the lighting of LED devices according to ambient light and user needs to avoid unnecessary energy waste. In summary, establishing wireless communication between the control terminal and multiple LED devices and realizing intelligent lighting control based on user adjustment instructions and adaptive lighting control strategies has brought multiple beneficial effects such as improving user experience, realizing intelligent control, improving lighting effects, and saving energy.
[0018] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0020] Figure 1 A schematic diagram of a flow chart of an LED light control method provided by an embodiment of the present disclosure;
[0021] Figure 2 A structural block diagram of an LED light control device provided by an embodiment of the present disclosure;
[0022] Figure 3 A block diagram of an exemplary computer device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0023] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0024] The following describes the LED light control method, system, computer device and storage medium of the embodiments of the present disclosure with reference to the accompanying drawings.
[0025] Although the existing LED lighting control system has made some progress in intelligent control, there are still some defects that cannot be ignored:
[0026] Existing wireless communication technologies still have certain limitations in terms of transmission distance, signal interference, etc. Especially in complex environments or long-distance transmission, communication stability is easily affected, resulting in control command transmission delays or failures, affecting the user experience.
[0027] Some systems use a relatively simple lighting control strategy that cannot be flexibly adjusted according to the user's personalized needs and scene changes. This limits the intelligence of the lighting system and prevents users from obtaining the best lighting effect.
[0028] As smart home devices continue to increase, users have higher and higher demands for the scalability of lighting control systems. However, some existing systems do not fully consider the scalability of the system when they are designed, resulting in complex configuration and debugging work when adding new devices or functions.
[0029] Although LED lighting equipment itself has the advantage of energy saving, some control systems are still not sophisticated enough in terms of energy consumption management. It is impossible to dynamically adjust the power consumption of the equipment according to actual needs, resulting in a certain degree of energy waste.
[0030] The user interface design of some systems is not friendly enough, and the operation is complicated and not intuitive enough. This increases the user's learning cost and difficulty of use, and reduces the overall user satisfaction.
[0031] It should be noted that the executor of the LED light control method in the embodiment of the present disclosure is an LED light control device. The system can be implemented by software and / or hardware, and the system can be configured in any electronic device.
[0032] Figure 1 This is a flow chart of the LED light control method provided in the first embodiment of the present disclosure.
[0033] like Figure 1 As shown, the LED light control method may include the following steps:
[0034] Step 101, establishing wireless communication between a control terminal and a plurality of LED devices, and receiving an adjustment instruction output by a user in the control terminal, wherein the adjustment instruction includes values to be set corresponding to a plurality of LED devices to be adjusted.
[0035] Optionally, the established wireless communication may be based on Wi-Fi, Bluetooth, Zigbee, etc.
[0036] Among them, the values to be set corresponding to the LED devices mainly include the following aspects:
[0037] Brightness: Users can adjust the brightness of the LED as needed to achieve comfortable visual effects or save energy.
[0038] Color: Users can set a specific color or color mode, such as RGB (red, green, blue) values or predefined color names. Color temperature: For white LEDs, color temperature is an important setting that determines the "warmth" or "coolness" of the light. Users can choose a color temperature that suits a specific environment or preference.
[0039] Blinking / Blinking Frequency: Some LED devices support a blinking function, and users can set the blinking pattern and frequency to achieve a specific visual effect.
[0040] Working mode: LED devices may have multiple working modes, such as constant light, breathing light effect, gradient, etc. Users can choose the working mode that suits the current scene.
[0041] Timer switch: Users can set the on and off time of LED devices to achieve automatic control, such as timed shutdown to save energy.
[0042] For example, there may be multiple LED devices, such as 100. Different LED devices require different working states during operation. The value to be set may be brightness,
[0043] However, if the user sets each LED device one by one, it will be very troublesome and labor-intensive. Therefore, the user can set the attribute parameters of a part of them. For example, there are 100 LED devices forming a rectangle. The user can set the attribute parameters of 10 LED devices. Then the control terminal can adaptively set the attribute parameters of other LED devices based on these 10 LED devices.
[0044] The control terminal can be a smartphone, tablet computer or a dedicated remote control. For LED devices, each device needs to be equipped with a wireless communication module to communicate with the control terminal. A wireless communication connection is established between the control terminal and the LED device. Ensure that all devices can correctly identify and respond to instructions from the control terminal. Design a user-friendly interface in the application of the control terminal. Users can enter adjustment instructions through the interface, such as selecting a specific LED device, setting brightness or color, etc.
[0045] The LED device to be adjusted may be part of the multiple LED devices. For example, if 100 LED devices are numbered from 1 to 100, the devices to be adjusted may be 10 LED devices numbered "10", "20", "30", "40", "50", "60", "70", "80", "90", and "100".
[0046] The adjustment instruction includes the value to be set corresponding to each device to be adjusted, such as brightness, color, color temperature, flicker frequency, etc., which are not limited here.
[0047] Step 102: Generate a target control instruction based on the adjustment instruction and the adapted lighting control strategy.
[0048] The target control instruction includes control parameters corresponding to each LED device, such as brightness, color, color temperature, flickering frequency, etc., which are not limited here.
[0049] It can be understood that the adjustment instruction is a control parameter of some LED devices, while the target control instruction is a control parameter of all LED devices.
[0050] As a possible implementation method, each LED device to be adjusted can be first determined based on the adjustment instruction, and then the target device that matches each LED device to be adjusted among multiple LED devices can be determined. Then, the control scene information input by the user is received, and then, based on the control scene information and the user habit information of the user, as well as the to-be-set value corresponding to each LED device to be adjusted, the lighting control strategy adapted for each target device is determined, and finally, based on the lighting control strategy, the target control instruction is generated.
[0051] The target device may be a target device associated with the device to be adjusted.
[0052] As a possible implementation method, multiple LED devices adjacent to the LED device to be adjusted can be used as matching target devices according to the position of the LED device to be adjusted among multiple LED devices. This means that in a system composed of multiple LED devices, when a certain LED device is selected for adjustment, the system will automatically take other LED devices adjacent to the device as objects that need to be adjusted or considered synchronously.
[0053] The multiple LED devices form an LED array. Each LED has a fixed position. For example, suppose a light strip consists of 10 LED lights, which are arranged in sequence, and each light has a unique identifier or position number from 1 to 10. Now, if you want to adjust the brightness of the 5th LED light, according to the principle of "taking multiple LED devices adjacent to the LED device to be adjusted as matching target devices", the system may automatically take the 4th and 6th LED lights as adjustment targets. Specifically, if the brightness of the 5th LED light is increased, the system may ask whether you also want to adjust the brightness of the 4th and 6th LED lights accordingly to maintain the consistency of the overall lighting effect. Alternatively, the system may automatically adjust the brightness of the two adjacent LED lights so that they match the brightness of the 5th LED light.
[0054] In this process, firstly, based on the user's adjustment instruction, it is determined which LED devices need to be adjusted, i.e., the LED devices to be adjusted. Then, for each LED device to be adjusted, target devices adjacent to or related to it are found among multiple LED devices. These target devices need to be adjusted or considered synchronously with the LED device to be adjusted.
[0055] It should be noted that after receiving the control scene information input by the user, the system will determine the lighting control strategy adapted to each target device based on this information, combined with the user's habit information and the value to be set corresponding to each LED device to be adjusted. Specifically, the control scene information may include the lighting atmosphere that the user wants to achieve (such as bright, soft, romantic, etc.), specific activity scenes (such as watching movies, reading, gatherings, etc.) or time-related scenes (such as morning, evening, night, etc.). User habit information may cover the light brightness, color temperature, color, etc. that the user usually prefers. The system will formulate a lighting control strategy for each target device based on this information, as well as the current state and the value to be set of the LED device to be adjusted. This strategy ensures that while adjusting the LED device to be adjusted, the target device can also change in a coordinated manner, thereby creating the lighting effect expected by the user. For example, if the user selects a "watching movies" scene and usually prefers darker lights and cooler color temperatures, the system may lower the brightness of the LED device to be adjusted and set the color temperature to a cooler color. At the same time, for adjacent target devices, the system will also reduce their brightness accordingly and adjust the color temperature to maintain a consistent overall lighting atmosphere. In this way, the system can determine an adaptive lighting control strategy for each target device based on the user's specific needs and habits, thereby achieving a more personalized and comfortable lighting experience.
[0056] Optionally, the target control mode can be determined based on the scene information, and then the target configuration information of each LED device under the target control mode can be determined. Then, based on the user habit information, the first configuration information of each LED device can be determined. Then, based on the first configuration information, the target configuration information is modified to obtain the second configuration information. Then, based on a preset relationship table, each target setting value associated with the to-be-set value corresponding to each LED device to be adjusted is determined, wherein each target setting value is a setting value of each target device associated with the LED device to be adjusted. Then, based on each target setting value and the second configuration information, a lighting control strategy adapted for each target device is determined.
[0057] It should be noted that, based on the scene information input by the user, the system first determines the target control mode. This mode represents the specific lighting effect or scene atmosphere that the user expects to achieve, such as "movie viewing mode", "reading mode" or "party mode". Next, the system will determine the target configuration information for each LED device in the target control mode. This information includes parameters such as brightness, color temperature, and color that the LED device should achieve to ensure that they can jointly create the lighting effect expected by the user. Then, the system will consider the user's habit information. This information may include the light brightness, color temperature range, and color preference that the user usually prefers. Based on this habit information, the system determines a first configuration information for each LED device, which reflects the user's personalized lighting preference. Finally, the system will modify the previously determined target configuration information based on the first configuration information to obtain the second configuration information. This modification process ensures that the configuration of the LED device not only meets the scene effect expected by the user, but also fully considers the user's personalized lighting preference. For example, in the "movie viewing mode", the system originally set all LED devices to lower brightness and cooler color temperature. However, if the user habit information indicates that the user usually prefers a warmer color temperature, the system will adjust the color temperature of the LED device to be slightly warmer during the correction process, while maintaining a lower brightness to ensure that it meets the needs of the viewing scene and the user's personalized preferences. Through such steps, the system can provide users with a lighting experience that is both in line with the desired scene effect and personalized.
[0058] It is understood that a preset relationship table can be used to determine the association between each LED device to be adjusted and its corresponding value to be set, and how these values to be set affect the setting values of the target devices associated with it. First, the preset relationship table is a data structure that contains the relationship between LED devices and how their setting values affect each other. This relationship table may be based on the physical location of the LED device, functional grouping, user-defined scene or any other relevant logical association. For each LED device to be adjusted, the relationship table will be queried to find the target devices associated with it. These target devices may be physically adjacent LED lamps, or LED lamps logically grouped together according to a specific scene or function. Once the target device is determined, the relationship table will be further queried to obtain the setting values (target setting values) of these target devices, which are associated with the setting values of the LED device to be adjusted. For example, if the brightness of the LED device to be adjusted is increased, the relationship table may specify that the brightness of the adjacent LED lamps should also be increased accordingly to maintain the consistency of the overall lighting. Finally, the target setting value of each target device will be calculated based on the rules or algorithms defined in the relationship table and the setting values of the LED device to be adjusted. These target setting values will be used to adjust the lighting status of the target device to achieve the lighting effect or scene expected by the user. Through this process, it can be ensured that when the LED device to be adjusted is adjusted, the target device associated with it can also be adjusted in a coordinated manner, thereby providing a consistent and comfortable lighting experience.
[0059] For example, according to the position of the LED device to be adjusted (the 5th LED lamp) among the multiple LED devices, the LED lamps adjacent to it are selected as matching target devices. In this example, the 4th and 6th LED lamps are selected as target devices. The preset relationship table defines the association between LED lamps and how their setting values affect each other. This relationship table is queried to find the setting values of the target devices (the 4th and 6th LED lamps) associated with the 5th LED lamp. The relationship table may contain rules or algorithms for calculating the setting values of the target devices based on the setting values of the LED lamp to be adjusted. For example, the relationship table may specify that if the brightness of the 5th LED lamp is increased, the brightness of the 4th and 6th LED lamps should also be increased accordingly to maintain the consistency of the overall lighting. Specifically, if the brightness of the 5th LED lamp is increased from 50% to 70%, the relationship table may indicate that the brightness of the 4th and 6th LED lamps should also be increased from 50% to 65% to achieve a smooth transition and overall lighting effect. Finally, the calculated target setting (65% brightness in this example) is applied to the 4th and 6th LEDs to match the brightness change of the 5th LED. This process ensures that when a single LED is adjusted, its adjacent LEDs are also adjusted in a coordinated manner, providing a consistent and comfortable lighting experience.
[0060] Specifically, when determining the lighting control strategy that is suitable for each target device, it is necessary to comprehensively consider the various target setting values and the second configuration information. The following is a detailed step description:
[0061] First, collect the target setting values of each target device, which are calculated based on the preset relationship table and the setting values of the LED device to be adjusted. At the same time, obtain the second configuration information of each target device, which is obtained by correcting the target configuration information according to the user habit information. Next, analyze the difference between the target setting value and the second configuration information. This difference may be caused by the conflict between the user habit information and the scene information, or due to the specific rules of the preset relationship table. In some cases, there may be a conflict between the target setting value and the second configuration information. At this time, it is necessary to decide which information is more important according to the preset priority rules. For example, user habit information may have a higher priority because it reflects the user's personalized preferences. Based on the above analysis, formulate an adaptive lighting control strategy for each target device. This strategy aims to balance the association between scene requirements, user habits and LED devices. If the target setting value and the second configuration information are similar or consistent, then the control strategy may be relatively simple, and the target device only needs to be adjusted to the corresponding setting value. If there is a large difference between the two, then the control strategy may need to be more complex, such as using gradient adjustment, segmented adjustment or combining scene transition effects to adjust the lighting state of the target device. Finally, implement the formulated lighting control strategy and observe the actual effect. If necessary, fine-tuning can be performed based on user feedback or actual effects to ensure the best lighting experience. Through such steps, an adaptive lighting control strategy can be determined for each target device to achieve a lighting effect that meets the scene requirements and takes into account user habits.
[0062] As a schematic illustration, the following is a specific scenario and example to illustrate how to implement the lighting control strategy adapted for each target device:
[0063] Scenario: In the living room, the user wants to adjust the lights through the smart lighting system to create a warm and comfortable atmosphere for watching movies. There is a row of 5 LED lights in the living room, marked as LED1 to LED5. The user plans to increase the brightness of LED3 and hopes that the adjacent LED lights can also adjust the brightness in a coordinated manner, while considering the user's habit information, that is, the user usually likes warmer color temperature.
[0064] According to the position of LED3, its adjacent LED lights LED2 and LED4 are determined as target devices. The preset relationship table is queried to determine that when the brightness of LED3 increases, the brightness of LED2 and LED4 should also increase accordingly to maintain the consistency of the overall lighting. Assume that the relationship table specifies that the brightness of LED2 and LED4 should be increased to 90% of the brightness of LED3. Obtain the second configuration information of LED2 and LED4, that is, the configuration modified according to the user habit information. Assume that the user habit information indicates that the color temperature of the LED light should be warmer, so the second configuration information contains a warmer color temperature setting. Compare the target setting value and the second configuration information. In this example, the target setting value focuses on brightness, while the second configuration information focuses on color temperature. First, adjust the brightness of LED2 and LED4 to 90% of the brightness of LED3. Then, according to the second configuration information, adjust the color temperature of LED2 and LED4 to be warmer. Increase the brightness of LED3 to the value specified by the user. At the same time, adjust the brightness of LED2 and LED4 to 90% of the brightness of LED3 and ensure that their color temperature is set to be warmer. Observe the overall lighting effect of the living room and ensure that the lighting of LED2, LED3, and LED4 is coordinated to create a warm and comfortable viewing atmosphere. If the user provides feedback or the actual effect does not meet expectations, make fine adjustments, such as slightly adjusting the brightness or color temperature, to achieve the best effect. Through this specific scenario and example, you can see how to determine the appropriate lighting control strategy for each target device based on the target setting value and the second configuration information, and implement these strategies to achieve the lighting effect expected by the user.
[0065] Here is another specific scenario and example to illustrate how to implement the lighting control strategy adapted for each target device:
[0066] Scenario: In an office environment, users want to adjust the lighting through a smart lighting system to improve work efficiency and reduce eye fatigue. There is a row of six LED lights in the office, labeled LED1 to LED6. The user plans to increase the brightness of LED3 and LED4, and hopes that the adjacent LED lights can also gradually adjust the brightness to form a transition effect, while taking into account the user's habit information, that is, users usually like higher brightness and moderate color temperature.
[0067] According to the position of LED3 and LED4, the adjacent LED lights LED2, LED5 and slightly farther LED1 and LED6 (if a wider transition effect is required) are determined as target devices. The preset relationship table is queried to determine that when the brightness of LED3 and LED4 increases, the brightness of LED2, LED5, LED1 and LED6 should also be gradually adjusted to form a smooth transition effect. The relationship table may specify that the brightness of LED2 and LED5 should be increased to 80% of the brightness of LED3 and LED4, while the brightness of LED1 and LED6 is increased to 70%. The second configuration information of LED2, LED5, LED1 and LED6 is obtained, that is, the configuration modified according to the user's habit information. In this example, the second configuration information contains the user's preferred settings of higher brightness and moderate color temperature. Compare the target setting value and the second configuration information. In this example, the target setting value focuses on brightness and transition effect, while the second configuration information focuses on brightness and color temperature. First, adjust the brightness of LED3 and LED4 to the value specified by the user. Then, gradually adjust the brightness of LED2, LED5, LED1 and LED6 according to the relationship table to form a transition effect. Finally, according to the second configuration information, ensure that the color temperature of all LED lights is set to the moderate color temperature preferred by the user. Increase the brightness of LED3 and LED4 to the value specified by the user. Gradually adjust the brightness of LED2, LED5, LED1, and LED6 to form a smooth transition effect. Ensure that the color temperature of all LED lights is set to the moderate color temperature preferred by the user. Observe the overall lighting effect of the office to ensure that the lights from LED1 to LED6 form a smooth transition and that the brightness and color temperature are in line with the user's preferences. If the user provides feedback or the actual effect does not meet expectations, make fine adjustments, such as slightly adjusting the range of the transition effect or the subtle differences in color temperature to achieve the best effect. Through this specific scenario and example, you can see how to comprehensively consider the target setting value and the second configuration information, determine the appropriate lighting control strategy for each target device, and implement these strategies to achieve the lighting effect expected by the user.
[0068] Thus, a highly personalized and scenario-based lighting experience can be achieved. By comprehensively considering the control scene information and user habit information input by the user, a highly personalized and scenario-based lighting experience can be provided to the user. Whether in different scenarios such as reading, working or resting, the lighting system can be intelligently adjusted according to the needs and habits of the user to create a comfortable lighting environment. Through a series of determination of the target control mode, acquisition of the target configuration information, and correction based on the user habit information, an accurate lighting control strategy is finally generated. This enables each LED device to adjust the lighting as expected to ensure the coordination and consistency of the lighting. The solution allows the user to enter the value to be set, and based on these values and the preset relationship table, the light setting value of each target device is dynamically determined. This flexibility allows the user to adjust the light at any time according to the needs to meet different lighting needs, which improves the user experience. By comprehensively considering multiple factors to generate a lighting control strategy and automatically generating target control instructions, the solution improves the intelligence and automation level of the lighting system. This enables the lighting system to respond to user needs more intelligently without the need for users to manually perform complex settings and adjustments. Accurate lighting control strategies not only improve the user experience, but also help optimize energy utilization. The system can adjust the brightness, color temperature and other parameters of LED devices according to actual needs to avoid unnecessary energy waste, thereby achieving the goal of energy conservation and emission reduction, in line with the concept of sustainable development. In summary, by providing highly personalized and scenario-based lighting experience, precise lighting control strategies, flexible lighting adjustment capabilities, improving the intelligence and automation level of lighting systems, and optimizing energy utilization, it brings users a more intelligent, convenient, comfortable and environmentally friendly lighting experience.
[0069] Step 103, sending the target control instruction to multiple LED devices to perform lighting control.
[0070] Optionally, a trimming instruction for any LED device may be received from a control terminal to adjust the working state of any LED device.
[0071] Specifically, in the intelligent lighting system, the target control instruction is sent to multiple LED devices for lighting control. This step ensures that each LED device can be adjusted according to the preset lighting control strategy to achieve the lighting effect expected by the user. Once the target control instruction is sent to the LED device, they will adjust their brightness, color temperature and other parameters according to the instruction to achieve the overall lighting effect. At the same time, the system also needs to have the ability to receive trimming instructions from the control terminal. These trimming instructions may be personalized adjustments of the working state of a certain LED device by the user, such as adjusting the brightness or color temperature of a certain lamp separately. When the system receives such a trimming instruction, it will immediately adjust the working state of the specified LED device to meet the personalized needs of the user. This real-time response and adjustment capability ensures that the lighting system can always provide the lighting effect expected by the user. In summary, by sending target control instructions to multiple LED devices for lighting control and receiving trimming instructions from the control terminal to adjust the working state of the LED device, the intelligent lighting system can achieve a lighting effect that meets both scene requirements and user habits.
[0072] In the disclosed embodiment, wireless communication is first established between a control terminal and a plurality of LED devices, and an adjustment instruction outputted by a user in the control terminal is received, wherein the adjustment instruction includes the to-be-set values corresponding to the plurality of LED devices to be adjusted, and a target control instruction is generated based on the adjustment instruction and the adapted light control strategy, and then the target control instruction is sent to the plurality of LED devices to perform light control. Thus, the user can easily adjust the lights of the plurality of LED devices through the control terminal without manually operating each device, thereby improving the convenience of use. The system can automatically adjust the lights of the LED devices according to the user's adjustment instructions and the preset light control strategy to meet the personalized needs of the user. Through wireless communication and intelligent control strategies, the system can realize centralized management and control of the plurality of LED devices, thereby improving the intelligence level of the lighting system. The system can automatically adjust the lights of the LED devices according to different scenarios and needs, thereby achieving intelligent lighting effects. Through precise light control strategies, the system can ensure that the lights between the plurality of LED devices are coordinated and consistent, thereby improving the overall lighting effect. The user can freely adjust the lights of the LED devices according to personal preferences and scenario requirements, thereby creating a more comfortable and personalized lighting environment. By intelligently adjusting parameters such as the brightness and color temperature of the LED devices, the system can save energy to the greatest extent while meeting the lighting needs. The system can automatically adjust the lighting of LED devices according to ambient light and user needs to avoid unnecessary energy waste. In summary, establishing wireless communication between the control terminal and multiple LED devices and realizing intelligent lighting control based on user adjustment instructions and adaptive lighting control strategies has brought multiple beneficial effects such as improving user experience, realizing intelligent control, improving lighting effects, and saving energy.
[0073] In order to implement the above embodiments, the present disclosure also provides an LED light control device.
[0074] Figure 2 This is a structural block diagram of the LED light control device provided in the second embodiment of the present disclosure.
[0075] like Figure 2 As shown, the LED light control device 200 may include:
[0076] The receiving module 210 is used to establish wireless communication between the control terminal and the plurality of LED devices, and receive an adjustment instruction output by a user in the control terminal, wherein the adjustment instruction includes the to-be-set values corresponding to the plurality of LED devices to be adjusted;
[0077] A generating module 220, configured to generate a target control instruction based on the adjustment instruction and the adapted lighting control strategy;
[0078] The control module 230 is used to send the target control instruction to the multiple LED devices to perform lighting control.
[0079] Optionally, the generating module includes:
[0080] A first determining unit, configured to determine each LED device to be adjusted based on the adjustment instruction;
[0081] A second determining unit, configured to determine a target device that matches each of the LED devices to be adjusted among the multiple LED devices;
[0082] A receiving unit, used to receive control scene information input by a user;
[0083] A third determining unit, configured to determine a lighting control strategy adapted for each of the target devices based on the control scene information and the user habit information of the user, and a to-be-set value corresponding to each of the to-be-adjusted LED devices;
[0084] A generating unit is used to generate a target control instruction based on the lighting control strategy.
[0085] Optionally, the second determining unit is specifically configured to:
[0086] According to the position of the LED device to be adjusted among the multiple LED devices, multiple LED devices adjacent to the LED device to be adjusted are used as matching target devices.
[0087] Optionally, the third determining unit is specifically configured to:
[0088] Determining a target control mode according to the control scenario information;
[0089] Determine the target configuration information of each LED device in the target control mode;
[0090] Based on the user habit information, determining first configuration information of each of the LED devices;
[0091] Modifying the target configuration information based on the first configuration information to obtain second configuration information;
[0092] Based on a preset relationship table, determining each target setting value associated with the to-be-set value corresponding to each of the LED devices to be adjusted, wherein each of the target setting values is a setting value of each target device associated with the LED devices to be adjusted;
[0093] Based on the respective target setting values and the second configuration information, a lighting control strategy adapted for each of the target devices is determined.
[0094] Optionally, the control module is further used to:
[0095] Receive a trimming instruction for any LED device from the control terminal, and adjust the working state of any LED device.
[0096] In the disclosed embodiment, wireless communication is first established between a control terminal and a plurality of LED devices, and an adjustment instruction outputted by a user in the control terminal is received, wherein the adjustment instruction includes the to-be-set values corresponding to the plurality of LED devices to be adjusted, and a target control instruction is generated based on the adjustment instruction and the adapted light control strategy, and then the target control instruction is sent to the plurality of LED devices to perform light control. Thus, the user can easily adjust the lights of the plurality of LED devices through the control terminal without manually operating each device, thereby improving the convenience of use. The system can automatically adjust the lights of the LED devices according to the user's adjustment instructions and the preset light control strategy to meet the personalized needs of the user. Through wireless communication and intelligent control strategies, the system can realize centralized management and control of the plurality of LED devices, thereby improving the intelligence level of the lighting system. The system can automatically adjust the lights of the LED devices according to different scenarios and needs, thereby achieving intelligent lighting effects. Through precise light control strategies, the system can ensure that the lights between the plurality of LED devices are coordinated and consistent, thereby improving the overall lighting effect. The user can freely adjust the lights of the LED devices according to personal preferences and scenario requirements, thereby creating a more comfortable and personalized lighting environment. By intelligently adjusting parameters such as the brightness and color temperature of the LED devices, the system can save energy to the greatest extent while meeting the lighting needs. The system can automatically adjust the lighting of LED devices according to ambient light and user needs to avoid unnecessary energy waste. In summary, establishing wireless communication between the control terminal and multiple LED devices and realizing intelligent lighting control based on user adjustment instructions and adaptive lighting control strategies has brought multiple beneficial effects such as improving user experience, realizing intelligent control, improving lighting effects, and saving energy.
[0097] In order to implement the above embodiments, the present disclosure further proposes a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the LED light control method proposed in the above embodiments of the present disclosure is implemented.
[0098] In order to implement the above embodiments, the present disclosure further proposes a non-temporary computer-readable storage medium storing a computer program, which, when executed by a processor, implements the LED light control method proposed in the above embodiments of the present disclosure.
[0099] In order to implement the above embodiments, the present disclosure further proposes a computer program product. When the instruction processor in the computer program product is executed, the LED light control method proposed in the above embodiments of the present disclosure is executed.
[0100] Figure 3 A block diagram of an exemplary computer device suitable for implementing embodiments of the present disclosure is shown. Figure 3 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0101] like Figure 3 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0102] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.
[0103] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0104] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 3 not shown, referred to as a "hard drive"). Although Figure 3 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.
[0105] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 perform the functions and / or methods of the embodiments described in the present disclosure.
[0106] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. In addition, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the computer device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0107] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the methods mentioned in the above embodiments.
[0108] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0109] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0110] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.
[0111] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0112] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0113] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0114] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0115] The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present disclosure. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present disclosure.
Claims
1. A method for controlling LED lighting, characterized in that: include: Establishing wireless communication between a control terminal and a plurality of LED devices, and receiving an adjustment instruction output by a user in the control terminal, wherein the adjustment instruction includes values to be set corresponding to a plurality of LED devices to be adjusted; Based on the adjustment instruction and the adapted lighting control strategy, generating a target control instruction; The target control instruction is sent to the multiple LED devices to perform lighting control.
2. The method according to claim 1, characterized in that The generating of a target control instruction based on the LED device adjustment instruction and the adapted lighting control strategy includes: Based on the adjustment instruction, determining each LED device to be adjusted; Determine a target device that matches each of the LED devices to be adjusted among the multiple LED devices; Receive control scene information input by the user; Determine a lighting control strategy adapted for each of the target devices based on the control scene information and the user habit information of the user, and the to-be-set value corresponding to each of the to-be-adjusted LED devices; Based on the lighting control strategy, a target control instruction is generated.
3. The method according to claim 2, characterized in that The step of determining a target device that matches each of the LED devices to be adjusted among the plurality of LED devices comprises: According to the position of the LED device to be adjusted among the multiple LED devices, multiple LED devices adjacent to the LED device to be adjusted are used as matching target devices.
4. The method according to claim 2, characterized in that: The step of determining the lighting control strategy adapted for each of the target devices based on the control scene information, the user habit information of the user, and the to-be-set value corresponding to each of the to-be-adjusted LED devices comprises: Determining a target control mode according to the control scenario information; Determine the target configuration information of each LED device in the target control mode; Based on the user habit information, determining first configuration information of each of the LED devices; Modifying the target configuration information based on the first configuration information to obtain second configuration information; Based on a preset relationship table, determining each target setting value associated with the to-be-set value corresponding to each of the LED devices to be adjusted, wherein each of the target setting values is a setting value of each target device associated with the LED devices to be adjusted; Based on the respective target setting values and the second configuration information, a lighting control strategy adapted for each of the target devices is determined.
5. The method according to claim 1, characterized in that After sending the target control instruction to the plurality of LED devices to perform lighting control, the method further includes: Receive a trimming instruction for any LED device from the control terminal, and adjust the working state of any LED device.
6. An LED lighting control system, characterized in that: include: A receiving module, used to establish wireless communication between the control terminal and the plurality of LED devices, and receive an adjustment instruction output by a user in the control terminal, wherein the adjustment instruction includes values to be set corresponding to the plurality of LED devices to be adjusted; A generating module, used for generating a target control instruction based on the adjustment instruction and the adapted lighting control strategy; The control module is used to send the target control instruction to the multiple LED devices to perform lighting control.
7. The system according to claim 6, characterized in that The generating module comprises: A first determining unit, configured to determine each LED device to be adjusted based on the adjustment instruction; A second determining unit, configured to determine a target device that matches each of the LED devices to be adjusted among the multiple LED devices; A receiving unit, used to receive control scene information input by a user; A third determining unit, configured to determine a lighting control strategy adapted for each of the target devices based on the control scene information and the user habit information of the user, and a to-be-set value corresponding to each of the to-be-adjusted LED devices; A generating unit is used to generate a target control instruction based on the lighting control strategy.
8. The system according to claim 7, characterized in that The second determining unit is specifically configured to: According to the position of the LED device to be adjusted among the multiple LED devices, multiple LED devices adjacent to the LED device to be adjusted are used as matching target devices.
9. The system according to claim 7, characterized in that The third determining unit is specifically configured to: Determining a target control mode according to the control scenario information; Determine the target configuration information of each LED device in the target control mode; Based on the user habit information, determining first configuration information of each of the LED devices; Modifying the target configuration information based on the first configuration information to obtain second configuration information; Based on a preset relationship table, determining each target setting value associated with the to-be-set value corresponding to each of the LED devices to be adjusted, wherein each of the target setting values is a setting value of each target device associated with the LED devices to be adjusted; Based on the respective target setting values and the second configuration information, a lighting control strategy adapted for each of the target devices is determined.
10. The system according to claim 7, characterized in that The control module is also used for: Receive a trimming instruction for any LED device from the control terminal, and adjust the working state of any LED device.
