Light controller
By integrating a low-power Bluetooth module, a Wi-Fi module, and an RJ45 interface, the lighting controller solves the problem of control failure in intelligent lighting systems when the network is unstable. It achieves stable and reliable operation and rapid response in different network environments, improving user experience and security.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2026-03-10
AI Technical Summary
Existing smart lighting control systems may experience slow or even malfunctioning control responses when the network is unstable, resulting in a poor user experience.
The light controller, which uses a low-power Bluetooth module, a Wi-Fi module, and an RJ45 wired interface, can automatically switch to wired mode for control when the wireless connection is interrupted or unstable. It also uses a memory buffer to pre-store commonly used instruction sequences, a heartbeat mechanism to detect connection status, and an encryption module to ensure data security.
Maintain system stability and reliability when the network is unstable, improve response speed and user experience, enhance security and anti-interference capabilities, and prevent unauthorized access and data tampering.
Smart Images

Figure CN223987200U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent lighting control, in particular to a light controller. BACKGROUND
[0002] In recent years, with the rapid development of Internet of Things technology, intelligent lighting systems have become an important part of improving the quality of home life. Traditional lighting control methods mainly rely on manual switches or simple timers. Although this method is simple and easy to implement, it lacks flexibility and intelligent management capabilities. With the improvement of people's living standards and technological progress, more and more families begin to adopt intelligent lighting systems to achieve remote control, automatic adjustment and other functions. This trend not only greatly improves the comfort and convenience of the living environment, but also effectively promotes energy conservation and utilization efficiency, providing strong support for the construction of smart cities. The intelligent lighting control systems on the market generally use multiple communication technologies such as Wi-Fi, Bluetooth, etc. to realize the interconnection between devices. Specifically, common solutions include: 1) connecting to the home LAN through Wi-Fi to achieve remote control; 2) using Bluetooth technology to communicate directly with terminal devices within a short distance; 3) combining cloud servers for centralized management and scheduling. These methods allow users to easily control the lights in their homes through smart phone APPs or voice assistants, thereby enjoying a more convenient and comfortable smart home experience. However, the existing intelligent lighting control systems have obvious shortcomings in network stability. Due to the high dependence on the quality of the home network, once the network signal is poor or fails, it will directly affect the transmission speed and accuracy of the control commands. For example, when using a wireless remote control or a mobile application to operate, if network delays or interruptions occur, the control commands will not be sent to the target device in a timely manner, thereby causing a decrease in user experience. Therefore, how to ensure that the intelligent lighting system can maintain stable operation performance under various network environments has become a key problem that needs to be solved. CONTENT OF THE UTILITY MODEL
[0003] In order to improve system stability and security, and optimize user experience, the present application provides a light controller.
[0004] The light controller provided by the present application adopts the following technical scheme:
[0005] A light controller, comprising:
[0006] A controller body, wherein a low-power Bluetooth module, a Wi-Fi module, and a plurality of RJ45 wired interfaces are arranged on the controller body;
[0007] A light panel connected to the controller body through the RJ45 wired interfaces;
[0008] The controller body can detect the wireless connection state of the Bluetooth Low Energy module and the Wi-Fi module, and automatically switch to the RJ45 wired mode for control when the Bluetooth Low Energy module and the Wi-Fi module are disconnected or unstable; the controller body further includes an initialization module for initializing wired connection at startup, establishing a physical link with the light panel, and synchronously opening a wireless communication interface to listen to the connection request of an external control terminal.
[0009] By adopting the above technical solution, the controller body can automatically switch to the RJ45 wired mode for control when the Bluetooth Low Energy module and the Wi-Fi module are disconnected or unstable, improving the stable control performance under different connection modes and improving the user experience. At the same time, the initialization module initializes the wired connection at startup and establishes a physical link with the light panel, improving the rapid availability and reliability of the system after startup. In addition, the wireless communication interface is synchronously opened and the connection request of the external control terminal is listened to, so that the system can flexibly adapt to various control requirements, improving the response speed and interactivity of the system.
[0010] Preferably, it further includes a memory buffer area for pre-storing commonly used control instruction sequences, and calling these instruction sequences for immediate reaction when the wireless connection is interrupted.
[0011] By adopting the above technical solution, the commonly used control instruction sequences pre-stored in the memory buffer area can be quickly called when the wireless connection is interrupted, ensuring that the system recovers to normal operation in a short time and improving the user experience. Specifically: the memory buffer area pre-stores commonly used control instruction sequences, so that key operations can be performed without waiting for the connection to be re-established when the wireless connection is suddenly interrupted; this immediate reaction mechanism effectively reduces the control delay caused by network instability, enhancing the reliability and stability of the system; in actual application scenarios, such as light turning off or on in emergency situations, this function can quickly respond to user needs and improve safety.
[0012] Preferably, it further includes a dynamic learning algorithm for analyzing historical control behavior and predicting future needs, and timely adjusting the content of the memory buffer area.
[0013] By adopting the above technical solution, the controller body can automatically switch to the RJ45 wired mode for control when the Bluetooth Low Energy module and the Wi-Fi module are disconnected or unstable, improving the stable and reliable operation in different network environments. In addition, the memory buffer area pre-stores commonly used control instruction sequences, and calls these instruction sequences for immediate reaction when the wireless connection is interrupted, further improving the response speed of the system and the user experience. In particular, the application of the dynamic learning algorithm can analyze historical control behavior and predict future needs, and timely adjust the content of the memory buffer area, making the system more intelligent and better adapting to user habits, improving overall performance.
[0014] Preferably, a heartbeat mechanism is further included for periodically detecting the connection status of the Bluetooth Low Energy module and the Wi-Fi module, and judging the potential disconnection risk in advance.
[0015] By adopting the above technical solution, the controller body can automatically switch to the RJ45 wired mode for control when the Bluetooth Low Energy module and the Wi-Fi module are disconnected or unstable, thereby maintaining stable control performance even in poor network environment. At the same time, the heartbeat mechanism periodically detects the connection status of the Bluetooth Low Energy module and the Wi-Fi module, which can judge the potential disconnection risk in advance, further improving the reliability and user experience of the system. Specifically, the heartbeat mechanism can timely discover network connection problems, reduce the probability of control failure caused by delayed detection, and enable users to use normally under various network conditions.
[0016] Preferably, an encryption module is further included for performing AES encryption processing on the data packets transmitted wirelessly by the Bluetooth Low Energy module and the Wi-Fi module.
[0017] By adopting the above technical solution, the controller body can provide high security assurance during wireless communication. Specifically, AES encryption processing ensures the confidentiality and integrity of data transmission, effectively preventing unauthorized access and tampering. This not only protects user privacy, but also enhances the anti-interference ability of the entire system, so that even when there are malicious attackers in the network environment, the control command can be executed accurately. In addition, the encryption mechanism improves the reliability of the system, reduces the risk caused by data leakage, and thus improves the trust and user experience of users.
[0018] Preferably, the encryption module exchanges keys at the initial stage of establishing wireless connection of the Bluetooth Low Energy module or the Wi-Fi module each time to establish a secure channel.
[0019] By adopting the above technical solution, the controller body can exchange keys at the initial stage of establishing wireless connection of the Bluetooth Low Energy module or the Wi-Fi module each time to establish a secure channel, thereby ensuring the security and confidentiality of data transmission. This effectively prevents unauthorized access and data leakage, and improves the security of the system.
[0020] Preferably, the encryption module verifies the message integrity before decryption at the receiving end to prevent third-party attacks or data damage.
[0021] By adopting the above technical solution, the message integrity is verified: by verifying the message integrity before decryption at the receiving end, it can effectively identify whether the data is tampered with or damaged; improve security: reduce the probability of third-party attackers inserting or modifying data during transmission, thereby affecting the output effect of the lamp, protect user privacy and system security; enhance reliability: avoid control command execution errors caused by data damage, improve the stability of the normal operation of the lighting system.
[0022] Preferably, it also includes an abnormal event recording function for monitoring encryption failure or decryption error, and timely alarm.
[0023] By adopting the above technical solution, the controller body can automatically switch to wired mode for control when the wireless connection is unstable or interrupted, ensuring the stability and reliability of the system. At the same time, the function of pre-storing the frequently used control instruction sequence in the memory buffer makes it possible to respond quickly when the wireless connection is interrupted, improving the user experience. The dynamic learning algorithm further optimizes the content management of the memory buffer, enhancing the intelligent level of the system.
[0024] In summary, the present application includes at least one of the following beneficial technical effects:
[0025] 1. Integrating RJ45 wired interface, low-power Bluetooth module wireless communication module and Wi-Fi module, so that the system can automatically switch to wired mode for control when detecting unstable or interrupted wireless connection, greatly improving the stability and reliability of the system;
[0026] 2. The memory buffer pre-stores frequently used control instruction sequences, and calls these instruction sequences for immediate reaction when the wireless connection is interrupted, ensuring that the user's needs can be quickly responded to even in poor network conditions;
[0027] 3. The heartbeat packet mechanism periodically detects the connection state of the low-power Bluetooth module and the Wi-Fi module, judges the potential disconnection risk in advance, and enhances the active protection ability of the system. BRIEF DESCRIPTION OF DRAWINGS
[0028] Figure 1 is a schematic diagram of the overall structure of a light controller according to an embodiment of the present application.
[0029] Figure 2 is Figure 1 simplified system structure schematic diagram of a light controller.
[0030] Figure 3 is a system principle block diagram of a light controller according to an embodiment of the present application.
[0031] Explanation of reference signs: 1, controller main body; 11, low-power Bluetooth module; 12, Wi-Fi module; 13, RJ45 interface; 14, initialization module; 2, light panel; 3, memory cache area; 4, dynamic learning algorithm; 5, heartbeat packet mechanism; 6, encryption module; 7, abnormal event recording function; 8, microprocessor; 9, memory; 10, power management unit. DETAILED DESCRIPTION
[0032] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings. Figure 1 - the accompanying drawings Figure 3 The embodiments described are only one possible technical implementation of the present application, and are not all possible implementations. Those skilled in the art can certainly combine the embodiments of the present application without creative labor to obtain other embodiments, and these embodiments are also within the protection scope of the present application.
[0033] The inventors of the present application found that the control response of the existing intelligent lighting control system may become slow or even fail when the network is unstable, and the user experience is not good. Therefore, the present application mainly adopts the following scheme: a light controller, comprising a controller main body 1 having a low-power Bluetooth module 11 (BLE, Bluetooth Low Energy) wireless communication module and a Wi-Fi module 12 (Wireless Fidelity Module) and an RJ45 wired interface 13 (Registered Jack 45), and a light panel 2 connected with the controller main body 1 through the RJ45 wired interface 13. The controller main body 1 can detect the wireless connection state of the low-power Bluetooth module 11 and the Wi-Fi module 12, and automatically switch to the RJ45 wired mode for control when the low-power Bluetooth module 11 and the Wi-Fi module 12 are disconnected or unstable. The effect of improving the stable and reliable operation of the intelligent lighting system under different network environments is achieved, and the present application will be described in further detail below.
[0034] Embodiment 1
[0035] Reference is made to Figures 1-3The controller body 1 provided in this application embodiment includes a controller body 1, on which a low-power Bluetooth module 11 and a Wi-Fi module 12 are disposed. The light panel 2 is connected to the controller body 1 via an RJ45 wired interface 13. The controller body 1 can detect the wireless connection status of the low-power Bluetooth and Wi-Fi modules 12, and automatically switch to RJ45 wired mode for control when the connection of the low-power Bluetooth and Wi-Fi modules 12 is interrupted or unstable. In addition, the controller body 1 also includes an initialization module 14, used to initialize the wired connection upon startup, establish a physical link with the light panel 2, and simultaneously enable the wireless communication interface to listen for connection requests from external control terminals.
[0036] First, it should be noted that the "several" in "several RJ45 wired interfaces 13" refers to quantity. The specific number can be increased or decreased according to actual design requirements and the size of the controller body 1. Since their functions are the same, their specific number and installation location are not limited here.
[0037] Meanwhile, the "external control terminal" can be a mobile terminal such as a mobile phone or computer, or a remote control that can be adapted to the controller body 1 (including but not limited to infrared information transmission, Bluetooth data transmission, and wireless / wired network transmission).
[0038] Specifically, the controller body 1 includes a microprocessor 8, a memory 9, and a power management unit 10. The microprocessor 8 is responsible for handling all control logic and communication protocols, and can be an ARM Cortex-M series processor or other high-performance embedded processor. The memory 9 is used to store program code, configuration parameters, and temporary data, and can be NOR Flash or SPI Flash. The power management unit 10 is responsible for supplying power to the entire system, and can be a linear regulator or a switching regulator as needed.
[0039] RJ45 wired interface 13 is used to achieve a stable connection with the lighting panel 2. RJ45 wired interface 13 is a standard Ethernet interface with good electrical characteristics and anti-interference capabilities. A high-quality RJ45 socket with a metal shielding layer can be selected to reduce electromagnetic interference. CAT6 or higher specification network cables can be selected for connection to ensure reliable signal transmission.
[0040] The Bluetooth Low Energy (BLE) module 11 is primarily used for direct communication over short distances. When selecting a BLE module 11, its power consumption, transmission rate, and operating frequency should be considered. High-performance chips such as the TI CC2640R2F or Nordic nRF52832 can be chosen. These chips feature low power consumption and can maintain a relatively stable communication connection over extended periods. The BLE module 11 can also be equipped with a high-gain PCB antenna or an external ceramic antenna to improve signal coverage.
[0041] Wi-Fi module 12 is used to enable remote control and internet access. The selection of Wi-Fi module 12 should consider its transmission rate, frequency band, and supported standards. Highly integrated Wi-Fi SoC chips such as the ESP32-S2 or MT7932 can be selected to support dual-band operation (2.4GHz and 5GHz) and adapt to different network environments. Wi-Fi module 12 can also be equipped with a high-performance antenna to enhance signal strength and stability.
[0042] The initialization module 14 initializes the wired connection upon startup, establishing a physical link with the light panel 2 and simultaneously enabling the wireless communication interface to listen for connection requests from external control terminals. This process can be achieved through the built-in GPIO port of the microprocessor 8. Upon system startup, the microprocessor 8 first checks the status of the RJ45 wired interface 13 to confirm the connection with the light panel 2 is normal. Then, the microprocessor 8 enables the Bluetooth Low Energy and Wi-Fi modules 12, scanning for surrounding wireless devices and waiting for user connection requests. If any abnormality is detected, such as a loose RJ45 wired interface 13 or a wireless module malfunction, the initialization module 14 will trigger a corresponding alarm mechanism to remind the user to perform maintenance.
[0043] The system also includes a heartbeat mechanism 5, which periodically checks the connection status of the Bluetooth Low Energy module 11 and the Wi-Fi module 12 to anticipate potential disconnection risks. The controller can automatically switch to RJ45 wired mode for control when the connection between the Bluetooth Low Energy module 11 and the Wi-Fi module 12 is interrupted or unstable, thus maintaining stable control performance even in poor network environments. Furthermore, the heartbeat mechanism 5's periodic detection of the connection status between the Bluetooth Low Energy module 11 and the Wi-Fi module 12 can anticipate potential disconnection risks, further improving system reliability and user experience. Specifically, the heartbeat mechanism 5 can promptly detect network connection problems, reducing the probability of control failures due to delayed detection and ensuring normal user operation under various network conditions.
[0044] It also includes a memory buffer 3, used to pre-store frequently used control command sequences and to invoke these sequences for immediate response when the wireless connection is interrupted. The memory buffer 3, composed of RAM or SRAM, is used to temporarily store frequently used control commands. These commands can be pre-programmed and stored in non-volatile memory 9, such as Flash or EEPROM. When the wireless connection is interrupted, the microprocessor 8 can read the stored command sequences from the memory buffer 3 and immediately execute the corresponding actions, avoiding operational failures due to delays. The size of the memory buffer 3 can be adjusted according to the actual application scenario; it is generally recommended to reserve at least 1MB of space to accommodate more command sequences.
[0045] Additionally, a dynamic learning algorithm 4 is included, which analyzes historical control behavior and predicts future needs, adjusting the contents of memory buffer 3 accordingly. This algorithm can be implemented using machine learning models, such as decision tree-based or neural network-based methods. Dynamic learning algorithm 4 continuously collects user operation data in the background, analyzing this data to identify common operation patterns and habits. Once a pattern is identified, the algorithm automatically adds the relevant control commands to memory buffer 3 for later use. This not only improves the system's response speed but also better meets user needs.
[0046] The implementation principle of this embodiment is as follows: a reliable physical connection is established between the controller and the light panel 2 via the RJ45 wired interface 13, while real-time communication is achieved using Bluetooth Low Energy and Wi-Fi modules 12. When a wireless connection problem occurs, the controller body 1 can automatically switch to wired mode to ensure accurate transmission of control commands. This not only improves the robustness of the system but also enhances the user experience. In addition, the design of the initialization module 14 enables the system to quickly enter the working state upon startup, reducing user waiting time and improving the overall response speed. The introduction of the memory buffer 3 and the dynamic learning algorithm 4 further optimizes the system performance and improves the system's intelligence level.
[0047] Example 2
[0048] Reference Figures 1-3 The difference between this embodiment and the above embodiment is that an encryption module 6 is added, which is used to perform AES encryption on the data packets wirelessly transmitted by the Bluetooth Low Energy and Wi-Fi modules 12.
[0049] Encryption module 6 can be implemented using a hardware encryption engine or a software encryption library. A hardware encryption engine is typically integrated within the microprocessor 8, directly accelerating encryption and decryption operations and suitable for real-time applications. A software encryption library, on the other hand, can be flexibly deployed through firmware updates and is suitable for various processor platforms. AES (Advanced Encryption Standard) is a high-level encryption standard with high security, widely used in various communication systems. Encryption module 6 exchanges keys at the beginning of each low-power Bluetooth or Wi-Fi wireless connection establishment to establish a secure channel. Key exchange can employ the Diffie-Hellman protocol or other public-key encryption methods to ensure that both parties can securely share the same key.
[0050] Encryption module 6 verifies message integrity before decryption by the receiver to prevent third-party attacks or data corruption. This process uses a hash function to generate a message digest, and verifies message integrity by comparing the received message digest with the expected value. If an inconsistency is found, encryption module 6 refuses decryption and triggers an alarm mechanism, notifying the user of potential security risks. By verifying message integrity before decryption, it effectively identifies whether data has been tampered with or corrupted; improves security by reducing the probability of third-party attackers inserting or modifying data during transmission, thus affecting the output effect of the lighting fixtures, protecting user privacy and system security; and enhances reliability by avoiding control command execution errors caused by data corruption, improving the stability of the lighting system's normal operation.
[0051] In addition, an abnormal event logging function 7 is provided to monitor encryption failures or decryption errors and issue timely alerts. This function saves the result of each encryption or decryption operation in a specific log file for later analysis and troubleshooting. When an encryption failure or decryption error is detected, the system immediately writes the relevant information to the log and issues an alarm via LED lights or a buzzer to alert the user.
[0052] The implementation principle of this embodiment is as follows: The encryption module 6 performs AES encryption on the wirelessly transmitted data, which helps improve data security and prevent unauthorized access and tampering. The message integrity verification mechanism further enhances the system's protection capabilities, effectively resisting man-in-the-middle attacks and other forms of malicious behavior. The abnormal event logging function 7 provides detailed audit information, helping users to promptly identify and resolve problems, ensuring the long-term stable operation of the system.
[0053] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.
Claims
1. A light controller, characterized in that, It includes: A controller body (1) provided with a Bluetooth Low Energy module (11), a Wi-Fi module (12) and several RJ45 wired interfaces (13); A light panel (2) connected with the controller body (1) through the RJ45 wired interfaces (13); The controller body (1) can detect the wireless connection status of the Bluetooth Low Energy module (11) and the Wi-Fi module (12), and automatically switch to the RJ45 wired mode for control when the connection of the Bluetooth Low Energy module (11) and the Wi-Fi module (12) is interrupted or unstable; the controller body (1) further includes an initialization module (14) for initializing wired connection at startup, establishing a physical link with the light panel (2), and synchronously opening the wireless communication interface to listen to the connection request of the external control end.
2. A light controller according to claim 1, characterized in that: It also includes a memory buffer (3) for pre-storing commonly used control instruction sequences and calling these instruction sequences for immediate response when the wireless connection is interrupted.
3. A light controller according to claim 1, wherein: It also includes a dynamic learning algorithm (4) for analyzing historical control behavior and predicting future demand, and adjusting the content of the memory buffer (3) in a timely manner.
4. A light controller according to claim 1, characterized in that: It also includes a heartbeat packet mechanism (5) for periodically detecting the connection status of the Bluetooth Low Energy module (11) and the Wi-Fi module (12), and judging the potential risk of disconnection in advance.
5. A light controller according to claim 1, characterized in that: It also includes an encryption module (6) for performing AES encryption processing on the data packets transmitted wirelessly by the Bluetooth Low Energy module (11) and the Wi-Fi module (12).
6. A light controller according to claim 5, wherein: The encryption module (6) exchanges keys at the beginning of each wireless connection of the Bluetooth Low Energy module (11) or the Wi-Fi module (12) to establish a secure channel.
7. A light controller according to claim 5, wherein: The encryption module (6) verifies the message integrity before decryption at the receiving end to prevent third-party attacks or data damage.
8. A light controller according to claim 1, wherein: It also includes an abnormal event recording function (7) for monitoring encryption failure or decryption error, and timely alarm.