Light control method and system for shower cubicle based on wireless networking
The shower room lighting control system, optimized through wireless networking and user feedback, solves the problem of traditional lighting control systems being unable to dynamically adjust, achieving personalized and efficient lighting control, and improving user experience and energy efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ANHUI MEISHENG SANITARY WARE TECH CO LTD
- Filing Date
- 2026-04-16
- Publication Date
- 2026-05-29
AI Technical Summary
Traditional lighting control systems cannot dynamically adjust according to the actual environment and user needs, resulting in lighting that cannot adapt to different usage scenarios, affecting comfort and energy efficiency. Furthermore, the lack of intelligent optimization mechanisms leads to energy waste and poor lighting effects.
The shower room lighting control method using wireless networking utilizes environmental sensor data and signal node feedback to dynamically adjust the lighting status, and combines user touch feedback information to optimize the lighting control strategy, thereby achieving personalized and efficient lighting solutions.
It enables personalized lighting control and improves energy efficiency, quickly selects the best lighting mode according to environmental changes, supports switching between multiple atmosphere modes, and enhances user experience and lighting effects.
Smart Images

Figure CN122121027A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of lighting control technology, specifically to a lighting control method and system for shower rooms based on wireless networking. Background Technology
[0002] Currently, traditional lighting control systems often fail to dynamically adjust according to the actual environment or user needs, resulting in lighting that is often unsuitable for different usage scenarios. For example, during a shower, excessively bright or dim lighting may affect the experience. Moreover, traditional lighting systems typically only provide fixed light source brightness and color temperature, without considering users' personal preferences or real-time feedback. Users cannot adjust parameters such as brightness and color temperature according to their own needs, thus limiting comfort and ease of use.
[0003] Furthermore, traditional lighting control systems typically lack intelligent optimization mechanisms, which can lead to energy waste in certain situations. For example, when signal transmission and system operation are not efficient enough, unnecessary energy consumption can occur. Moreover, traditional systems often cannot automatically adjust the lighting based on changes in water flow rate and ambient temperature, which may result in unsuitable lighting. For instance, a higher water flow rate may require brighter lighting, but the traditional system may not be able to make the corresponding adjustments. In larger shower rooms, traditional systems struggle to provide regional lighting adjustment schemes. The lighting settings in each area are usually uniform, without customized adjustments based on the needs of different areas, making it difficult to optimize comfort and lighting effects. Summary of the Invention
[0004] To achieve the above objectives, the present invention provides the following technical solution: a shower room lighting control method based on wireless networking, comprising: The wireless network topology of the shower room and the environmental sensor data inside the shower room are obtained, and an initial lighting control strategy is generated based on the wireless network topology and the environmental sensor data. The initial lighting control strategy is used to activate the signal nodes in the wireless network topology, and the signal coverage and signal strength of the activated signal nodes are obtained. When the coverage area of the activated signal node exceeds the physical boundary of the shower room or the signal strength of the signal node is inconsistent with the pre-agreed strength threshold, the initial lighting control strategy is compensated and adjusted according to the signal coverage area and signal strength to obtain the first lighting state. A color representation model is determined based on the first light state, and a target atmosphere mode corresponding to the signal intensity is determined from a preset light mode library. In the target atmosphere mode, a second lighting state is formed by various lighting parameters within the first lighting state, and the environmental sensor data is updated according to the second lighting state; the real-time water flow rate and real-time ambient temperature of the user during the shower are acquired, and the target hue adjustment value is determined according to the real-time water flow rate and real-time ambient temperature. In the target atmosphere mode, the color temperature of the second light state is adjusted according to the target hue adjustment value to generate a basic lighting environment image under the target atmosphere mode.
[0005] Preferably, after generating updated illumination parameters based on the touch feedback information, the method further includes: Obtain the touch feedback information generated by the user based on the basic lighting environment image, and generate updated lighting parameters based on the touch feedback information; The initial lighting control strategy is corrected based on the updated lighting parameters, and the process of obtaining the wireless network topology of the shower room and subsequent steps continues. When the initial lighting control strategy has been iterated a preset number of times, a target lighting control command is generated based on the corrected initial lighting control strategy and the updated environmental sensor data.
[0006] Preferably, the method for constructing the lighting pattern library includes: Obtain the preset shower room space dimensions, as well as the preset color temperature parameters and brightness adjustment sequence; Within the specified spatial dimensions, multiple atmosphere scenes with different color temperatures are constructed based on the color temperature parameters, and the light node numbers corresponding to each atmosphere scene are determined. Each ambient scene and its corresponding light node number, color temperature parameters, and brightness adjustment sequence are stored in a preset database to obtain the light mode library.
[0007] Preferably, acquiring the second lighting state formed by various lighting parameters within the first lighting state in the target ambient mode includes: Determine the color representation model of the first lighting state and the light node number and brightness adjustment sequence of the target atmosphere mode; Based on the color representation model and the light node number and brightness adjustment sequence of the target atmosphere mode, the target light parameters are determined in the target atmosphere mode; The control sequence formed by each target lighting parameter in the target atmosphere mode is determined as the second lighting state, and the second lighting state is obtained.
[0008] Preferably, determining the target lighting parameters in the target ambient mode includes: Based on the light node number of the target atmosphere mode, determine multiple control nodes corresponding to the target atmosphere mode; Based on the color representation model, the matching degree between each control node of the target atmosphere mode and the color gamut of the first lighting state is determined respectively. The control node whose color gamut matches the first light state more than a preset value is determined as the target control node; In the brightness adjustment sequence, an adjustment parameter is determined that the brightness value belongs to the range corresponding to the target control node, and the target lighting parameter is determined in the target atmosphere mode based on the determined adjustment parameter.
[0009] Preferably, activating signal nodes in the wireless network topology using the initial lighting control strategy includes: The signal transmission delay function is determined based on the initial lighting control strategy; Calculate the influence weight of the signal transmission delay function on the wireless network topology based on the signal transmission delay function; The activation state of signal nodes in the wireless network topology is updated by utilizing the influence weight of the signal transmission delay function on the wireless network topology.
[0010] Preferably, determining the target ambient mode corresponding to the signal strength from a preset lighting mode library includes: Obtain a preset brightness reference table and obtain the iteration number of the initial lighting control strategy as the current value; The brightness level corresponding to the current value is looked up in the brightness lookup table, and the target atmosphere mode that matches the brightness level is determined in the lighting mode library; Before determining the target ambient mode corresponding to the signal intensity from a preset lighting mode library, the method further includes: Determine the shower room area for the initial lighting control strategy, and based on the shower room area, determine whether it is necessary to partition the first lighting state; If so, the first lighting state is divided into multiple lighting sub-zones. For each lighting sub-zone, the target atmosphere mode corresponding to the signal strength is determined from the preset lighting mode library and the subsequent steps are executed respectively. If not, continue with the process of determining the target ambient mode corresponding to the signal strength from the preset lighting mode library and subsequent steps.
[0011] Preferably, determining the target hue adjustment value based on the real-time water flow velocity and real-time ambient temperature includes: Determine the target first preset temperature range to which the real-time ambient temperature belongs and the target second preset flow velocity range to which the real-time water flow velocity belongs; The basic hue adjustment value is determined based on the first preset temperature range and the first color mapping relationship of the target, and the basic respiratory rate is determined based on the second preset flow rate range and the second mapping relationship of the target; The base tone adjustment value and the base breathing frequency are fused together to obtain the target tone adjustment value.
[0012] Preferably, generating updated illumination parameters based on the touch feedback information includes: Based on the touch feedback information, determine the target brightness change trend and target color preference when the user adjusts the light; Determine the actual brightness and color values corresponding to the current shower room lighting components; The updated brightness value corresponding to the shower room lighting component is determined based on the target brightness change trend and the actual brightness value; The updated color value corresponding to the shower room lighting component is determined based on the target color preference and the actual color value; The updated lighting parameters corresponding to the shower room lighting components are generated based on the updated brightness value and the updated color value, and the initial lighting control strategy is updated using the updated lighting parameters.
[0013] A wireless networking-based shower room lighting control system, applicable to the aforementioned wireless networking-based shower room lighting control method, includes: The strategy generation unit is used to acquire the wireless network topology of the shower room and the environmental sensor data inside the shower room, and generate an initial lighting control strategy based on the wireless network topology and the environmental sensor data. The signal activation unit is used to activate the signal nodes in the wireless network topology using the initial lighting control strategy, and to obtain the signal coverage and signal strength of the activated signal nodes. The strategy compensation unit is used to compensate and adjust the initial lighting control strategy according to the signal coverage range and signal strength when the coverage range of the activated signal node exceeds the physical boundary of the shower room or the signal strength of the signal node is inconsistent with the pre-agreed strength threshold, so as to obtain the first lighting state. The mode determination unit is used to determine a color representation model based on the first light state, and to determine a target atmosphere mode corresponding to the signal intensity from a preset light mode library; The color tone adjustment unit is used to acquire a second light state formed by various light parameters within the first light state in the target atmosphere mode, and update the environmental sensor data according to the second light state; acquire the real-time water flow rate and real-time ambient temperature of the user during the shower, and determine the target color tone adjustment value according to the real-time water flow rate and real-time ambient temperature. The lighting control unit is used to adjust the color temperature of the second lighting state according to the target hue adjustment value in the target atmosphere mode, so as to generate a basic lighting environment image in the target atmosphere mode.
[0014] Compared with the prior art, the beneficial effects of the present invention are: 1. This invention, through the activation of signal nodes in a wireless network and feedback of signal strength, can dynamically adjust the lighting status according to the actual environment of the shower room, ensuring that the lighting is adjusted in a comfortable atmosphere. Moreover, it updates in real time based on the user's touch feedback information during the shower, providing a more personalized lighting control scheme according to the user's brightness needs and color preferences. This makes the lighting control of the shower room more in line with individual needs. Furthermore, by optimizing the wireless network topology and adjusting the activation status of signal nodes and signal transmission delay, the system's energy efficiency can be improved and unnecessary signal interference can be reduced, thereby achieving energy-saving and efficient lighting control. 2. This invention provides a more adaptive lighting solution by adjusting color temperature and brightness in real time according to water flow rate and ambient temperature. For example, a higher water flow rate may require brighter lights, while a lower water flow rate may require a gentler color temperature adjustment. Moreover, the preset lighting mode library allows for quick selection of the optimal lighting mode based on environmental changes and supports switching between multiple atmosphere modes. This provides a convenient way to select lighting for different users and usage scenarios. Furthermore, if the shower area is large, the lighting control can be divided into zones, providing customized lighting modes and adjustment strategies according to the needs of different areas. This helps to improve the overall experience and also helps to optimize lighting effects and energy efficiency. Attached Figure Description
[0015] Figure 1 This is a schematic flowchart of the overall method in one embodiment of the present invention; Figure 2 This is a schematic diagram of the overall system architecture in one embodiment of the present invention.
[0016] In the diagram: 1. Strategy generation unit; 2. Signal activation unit; 3. Strategy compensation unit; 4. Mode determination unit; 5. Color tone adjustment unit; 6. Lighting control unit. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] Example 1, please refer to Figure 1 This invention provides a technical solution: a shower room lighting control method based on wireless networking, comprising: S1. Obtain the wireless network topology of the shower room and the environmental sensor data inside the shower room, and generate an initial lighting control strategy based on the wireless network topology and environmental sensor data. S2. Activate the signal nodes in the wireless network topology using the initial lighting control strategy, and obtain the signal coverage and signal strength of the activated signal nodes. S3. When the coverage area of the activated signal node exceeds the physical boundary of the shower room or the signal strength of the signal node is inconsistent with the pre-agreed strength threshold, the initial lighting control strategy is compensated and adjusted according to the signal coverage area and signal strength to obtain the first lighting state. S4. Determine the color representation model based on the first light state, and determine the target atmosphere mode corresponding to the signal strength from the preset light mode library; S5. In the target atmosphere mode, obtain the second lighting state formed by the various lighting parameters in the first lighting state, and update the environmental sensor data according to the second lighting state; obtain the real-time water flow speed and real-time ambient temperature of the user during the shower, and determine the target hue adjustment value according to the real-time water flow speed and real-time ambient temperature. S6. In the target atmosphere mode, adjust the color temperature of the second light state according to the target hue adjustment value to generate a basic lighting environment image in the target atmosphere mode.
[0019] It's important to note that the shower room is equipped with many smart devices, such as light bulbs, temperature and humidity sensors, and water flow sensors. These devices are interconnected via a wireless network, forming a network topology. The system first identifies the connectivity between these devices (who can communicate with whom, signal strength, etc.) and reads data from environmental sensors (such as current temperature, humidity, and light intensity). Based on this information, the system generates a preliminary lighting control strategy, such as deciding which lights turn on first and to what brightness. For example, upon entering the shower room, the sensors detect an ambient temperature of 25°C and high humidity. The network topology shows that lights A and B are located near the corners, while light C is in the center of the shower. The system might decide that light C is brighter, while lights A and B are slightly dimmer, creating a comfortable basic lighting. The system will "test run" the initial strategy, starting the signal nodes in the wireless network (such as light bulbs and sensors) and monitoring their signal coverage and strength to see if there are any blind spots or excessively strong / weak signals. For example, when lights A, B, and C start working, the system finds that light A's signal coverage is too large, extending beyond the shower room wall; light B's signal is too weak, and it may not be received in the corners of the shower room. The system records this information to prepare for the next adjustment. If the coverage area of a signal node exceeds the room's limits or the signal strength is insufficient, the system will automatically adjust its initial strategy, such as reducing or increasing the brightness of the lights and redistributing the signal, thus obtaining the first set of lighting conditions. For example, if light A's signal coverage is too large, the system will reduce its brightness, while if light B's signal is too weak, the system will slightly increase its brightness. The resulting first lighting condition would be: light A at 70% brightness, light B at 80% brightness, and light C at 100% brightness. The system calculates the overall color effect (e.g., warm or cool tones) based on the initial lighting state, and then selects the most suitable "ambience mode" from a pre-defined lighting mode library. These modes can be "relaxation mode," "morning mode," "SPA mode," etc. For example, based on the brightness and distribution of the lights, the system selects "relaxation mode," which is predominantly warm yellow, giving people a cozy and comfortable feeling. In the target atmosphere mode, the system will recombine the parameters of each light (brightness, color, distribution, etc.) to form a second set of lighting states; at the same time, it will use this state to update the environmental sensor data so that the system can continuously monitor and adjust; for example, the brightness of light C is slightly reduced to prevent it from being too glaring, and the colors of lights A and B are slightly adjusted to be warmer; the system updates the sensor data and records the current lighting conditions and temperature and humidity. During a shower, the user's water flow rate and temperature will change; the system collects this information in real time to adjust the light color temperature to match the shower experience; for example, cool-colored light is used to cool down the water when it is hot, and warm-colored light is used to enhance comfort when the water is cold; for example, when the user turns up the water temperature and the water flow increases, the system senses this and adjusts the light color temperature from warm yellow to more white, making the entire shower space feel more refreshing and bright; when the water flow decreases and the temperature drops, the light automatically returns to a soft warm tone, making people feel warm.
[0020] In an optional embodiment, after generating updated illumination parameters based on touch feedback information, the method further includes: Obtain the touch feedback information generated by the user based on the basic lighting environment, and generate updated lighting parameters based on the touch feedback information; The initial lighting control strategy is corrected based on the updated lighting parameters, and the process of obtaining the wireless network topology of the shower room and subsequent steps continues. When the initial lighting control strategy has been iterated a preset number of times, a target lighting control command is generated based on the revised initial lighting control strategy and the updated environmental sensor data.
[0021] It's worth noting that in the shower room, users may adjust the lighting via a touch panel, wall-mounted touch buttons, or a smartphone app, such as brightening, dimming, changing the color, or altering the atmosphere. The system records these touch operations in real time, interpreting them as "feedback information," and generates new lighting adjustment parameters based on this feedback. For example, the system may have just automatically set the lighting to a soft, warm, relaxing mode; if the user finds it too dim, they may tap the control panel to increase the brightness; the system records this action and updates the lighting parameters to "brightness increased by 20%." The system incorporates user touch feedback into the initial strategy for modification. This means that the automatically generated lighting strategy will be continuously optimized based on user actions, gradually becoming more in line with user preferences. The system then continues to execute the previous process, such as obtaining the wireless network topology, detecting signal strength, and adjusting lighting conditions. For example: the initial strategy is: light C brightness 70%, light A / B brightness 80%; after the user brightens the lights, the parameters are updated to adjust the light brightness: light C is increased from 70% to 90%, and light A / B is increased from 80% to 100%. The system uses this new lighting parameter to update the control strategy and re-monitors the signal node coverage and strength to ensure that the increase in light brightness does not interfere with the wireless signal. The system doesn't adjust indefinitely; instead, it has a set "maximum number of iterations." During this process, the system continuously collects touch feedback, corrects the initial strategy, and optimizes the lighting effects. Once the preset number of iterations is reached, the system combines the corrected strategy with the latest environmental data to generate the final target lighting control command for controlling the shower room lights. For example, the system is set to allow a maximum of 3 iterations. First iteration: The user brightens the lights. Second iteration: The user feels the color temperature is too cool and adjusts it to be warmer. Third iteration: The user fine-tunes the color of local lights to make the shower area softer. After 3 iterations, the system stops automatically adjusting and instead generates the target command from this final lighting strategy to ensure the lighting is stable and meets the user's expectations.
[0022] In one optional embodiment, the method for constructing a lighting pattern library includes: Obtain the preset shower room space dimensions, as well as the preset color temperature parameters and brightness adjustment sequence; Within the spatial dimensions, multiple atmosphere scenes with different color temperatures are constructed based on color temperature parameters, and the corresponding light node numbers for each atmosphere scene are determined. Each ambient scene and its corresponding light node number, color temperature parameters, and brightness adjustment sequence are stored in a preset database to obtain a light mode library.
[0023] It's important to note that before designing the lighting pattern, you need to know the specific information about the shower room: the size of the space (length, width, height), the type of adjustable light, the adjustable color temperature range (e.g., from warm yellow light to cool white light), and the order or rhythm of different brightness changes. This information forms the basis for building the lighting pattern, just like knowing the canvas size and paint type before painting a picture. For example: Shower room dimensions: 2.5 meters long, 2 meters wide, and 2.2 meters high; Light type: Dimmable LED panel light; Color temperature parameters: 3000K (warm light), 4000K (natural light), 6000K (cool white light); Brightness adjustment sequence: The brightness can be gradually increased from 50% to 100%, or gradually decreased from 100% to 60%, simulating a gradual brightening or dimming effect. After determining the space dimensions and color temperature parameters, the system designs a corresponding atmosphere scene for each color temperature and determines the specific location and number of the lights in each scene, which are called light nodes. The light node numbering is like giving each light in the room a "name," making it easy to control different light combinations. For example: Warm light scene (3000K): Light 1: Above the shower area; Light 2: Above the mirror; Light 3: Corner of the ceiling; Natural light scene (4000K): Light 1: Shower area; Light 2: Mirror; Light 3: Corner of the ceiling; Cool white light scene (6000K): Light 1: Shower area; Light 2: Mirror; Light 3: Corner of the ceiling. The light combination, brightness change sequence, and color temperature parameters of each scene are designed independently, with the goal of creating different atmospheres, such as relaxing, refreshing, or invigorating. Each designed ambient scene is recorded in the database, storing information including: scene name or number; corresponding light node number; color temperature parameters; brightness adjustment sequence. This creates a "lighting mode library" that allows the system to quickly switch between scenes and personalize lighting control based on user selection or automatic strategies. For example: Scene A: Warm Light Relaxation Mode; Light Nodes: Light 1, Light 2, Light 3; Color Temperature: 3000K; Brightness Sequence: 50%→80%→100%; Scene B: Natural Light Refreshing Mode; Light Nodes: Light 1, Light 2, Light 3; Color Temperature: 4000K; Brightness Sequence: 60%→100%; Scene C: Cool White Light Awakening Mode; Light Nodes: Light 1, Light 2, Light 3; Color Temperature: 6000K; Brightness Sequence: 100%→70%. When a user wants to "relax and take a shower," the system automatically calls Scene A; if they want to "quickly wake up," they switch to Scene C.
[0024] In an optional embodiment, obtaining a second lighting state formed by various lighting parameters within a first lighting state in a target ambient mode includes: Determine the color representation model of the first lighting state and the lighting node number and brightness adjustment sequence of the target atmosphere mode; Based on the color representation model and the light node number and brightness adjustment sequence of the target atmosphere mode, the target light parameters are determined in the target atmosphere mode. The control sequence formed by each target lighting parameter in the target ambient mode is determined as the second lighting state, and the second lighting state is obtained.
[0025] It's important to note that the first lighting state refers to the current lighting settings, such as the current color temperature, brightness, and light combination. In this state, each light has a "color representation model," which describes the color characteristics of the light using parameters, such as warm, cool, or soft light. The target atmosphere mode is the scene the user wants to switch to, such as "relaxation mode" or "refreshing mode." The system needs to know which lights need to be controlled in this mode (light node numbers) and their brightness adjustment order. Example: First lighting state: The current shower room light is warm light (3000K), brightness 50%, lights 1, 2, and 3 are all on; Color representation model: 3000K warm light corresponds to a soft yellow tone; Target atmosphere mode: Natural light refreshing mode (4000K), brightness changes from 60% to 100%, the controlling light nodes are still lights 1, 2, and 3. By using the color model of the first lighting state, combined with the light node number and brightness adjustment sequence of the target atmosphere mode, the lighting parameters of each light in the new scene are calculated or determined. These "lighting parameters" include color temperature, brightness, and other possible lighting effect information. The goal is to smoothly transition the light from the first state to the target atmosphere mode while maintaining color consistency and comfort. For example, based on the color representation model, the system knows that warm light 3000K needs to gradually transition to natural light 4000K, starting with brightness adjustment from 50% to 60%. The target parameters for lights 1, 2, and 3 are: color temperature 4000K; brightness sequence: 60% → 100%. In this way, each light has a specific "target setting" and is ready to enter the second lighting state. By combining the target parameters of each light according to its brightness sequence and light node number, a new light control sequence is formed, which is the second light state. The second light state is a complete light configuration, representing the final set of parameters for a smooth transition from the current state to the target atmosphere mode. The system can directly call this state to control the lights and achieve the atmosphere desired by the user. For example, the control sequence of light 1, light 2, and light 3: gradually adjusting from 50% warm light to 60% → 100% natural light. These control sequences combined constitute the second light state. When the system executes the second light state, the lighting in the entire shower room transitions from the original warm light state to a refreshing natural light state.
[0026] In an optional embodiment, determining target lighting parameters in a target ambient mode includes: Based on the light node number of the target atmosphere mode, determine the multiple control nodes corresponding to the target atmosphere mode; Based on the color representation model, the matching degree between each control node of the target atmosphere mode and the color gamut of the first lighting state is determined. The control node whose color gamut matches the first lighting state more than a preset value is identified as the target control node; In the brightness adjustment sequence, determine the adjustment parameters whose brightness values belong to the range corresponding to the target control node, and determine the target lighting parameters in the target atmosphere mode based on the determined adjustment parameters.
[0027] It should be noted that each light fixture or light group has a number, and these numbers are called "light nodes". The "control nodes" are determined by these numbers to decide which lights need to be controlled in the target atmosphere mode. For example, if the target atmosphere mode is "reading mode" and lights 1, 3, and 5 need to be controlled, then these are the control nodes. The color of each light can be described using a color representation model, such as warm light, cool light, or soft light. The system compares the color characteristics of each control node in the target ambient mode with the color range (gamut) of the first light state, which is called the "matching degree". The higher the matching degree, the closer the current light is to the target mode color, and the more suitable it is to retain or fine-tune. Example: First light state: Light 1 is warm light 3000K, Light 3 is cool light 5000K; Target ambient mode: Light 1 targets 4000K, Light 3 targets 4500K, Light 5 targets 4200K; System comparison: Light 1 (3000K→4000K) has a medium matching degree; Light 3 (5000K→4500K) has a high matching degree; Light 5 (originally not on) has a low matching degree. Only lights with a matching degree higher than a certain preset threshold will be selected as "target control nodes," which are the lights that will be the focus of adjustment during the transition. Lights with low matching degrees may not participate in the transition, or may remain off or in their original state. For example, if the preset matching degree threshold is 70%, and light 1 has a matching degree of 60%, light 3 has a matching degree of 85%, and light 5 has a matching degree of 50%, then the target control node is light 3 (with a matching degree higher than 70%). The target control node adjusts its brightness according to the brightness adjustment sequence. In the brightness adjustment sequence, only brightness values within the range corresponding to the target control node are used. Finally, the specific brightness and color parameters of each target control node are generated, which are the target light parameters. For example, if light 3 is the target control node and the brightness adjustment sequence is from 50% to 100%, the system selects brightness parameters within the range of light 3, such as from 70% to 90%, and adjusts the color to 4500K. In this way, the target light parameters of light 3 are determined: color temperature 4500K, brightness 70% to 90%.
[0028] In an optional embodiment, activating signal nodes in the wireless network topology using an initial lighting control strategy includes: Determine the signal transmission delay function based on the initial lighting control strategy; Calculate the weight of the influence of the signal transmission delay function on the wireless network topology based on the signal transmission delay function; The activation state of signal nodes in the wireless network topology is updated by utilizing the influence weight of the signal transmission delay function on the wireless network topology.
[0029] It should be noted that in a wireless lighting control network, each light fixture or controller is a "signal node"; when the system needs to perform lighting control, the control signal needs to be transmitted between these nodes. However, signal transmission between different nodes incurs delays. Factors such as long distances, numerous nodes, and signal interference can all slow down the signal. Therefore, the system establishes a rule based on the initial lighting control strategy to describe the potential delays during signal transmission in the network. This rule is the signal transmission delay function. It first determines the approximate time it takes for the signal to propagate through the network and which paths are faster or slower. For example, in a smart bathroom lighting system, there are five light nodes: Node A: Main control light; Node B: Mirror light; Node C: Ceiling light; Node D: Ambient light; Node E: Corner light. The initial lighting control strategy is: when the user activates "Refreshing Mode," all these lights need to be controlled simultaneously. The system finds that: the distance from A to B is very short, with almost no signal delay; the distance from A to C requires forwarding through B, resulting in a slightly larger delay; the distance from A to E is the farthest, with the largest delay. Based on these conditions, the system establishes a rule describing the speed of signal transmission; this is the signal transmission delay function. The wireless network topology is the connection structure of the entire lighting network, such as which node connects to which node and what path the signal is transmitted through. The system will evaluate the impact of each node on network stability based on the signal transmission delay obtained earlier, and this impact level is the impact weight. Nodes with low latency and stable transmission have a higher impact weight; nodes with high latency and unstable signals have a lower impact weight. The system uses this method to determine which nodes are suitable as primary signal nodes and which nodes are suitable for subsequent activation. For example, in the lighting network: Node B is very close to the master node A and has a stable signal; Node C needs to be relayed through B; Node E is the farthest away. After analysis, the system concludes that: Node B has the greatest impact on the network; Node C has a moderate impact; Node E has the least impact; therefore, Node B has the highest impact weight. The activation status refers to whether a node is activated and participates in network communication. The system determines which nodes are activated first, which are activated later, and which nodes do not participate in communication temporarily based on the calculated influence weights. The purpose of this is to make the signal transmission of the entire wireless lighting network more stable and reduce latency and congestion. For example, adjusting the node activation order according to the influence weights: first activate nodes A and B because the signal is stable; then activate node C because it needs to transmit signals through B; finally activate nodes D and E because they are farther away. In this way, when the user activates "Clean Mode": A and B receive the control signal first; then B forwards the signal to C; finally, the signal is transmitted to D and E; the entire lighting network can complete lighting control more stably and quickly.
[0030] In an optional embodiment, determining a target ambient mode corresponding to the signal strength from a preset lighting mode library includes: Obtain the preset brightness reference table and the number of iterations of the initial lighting control strategy as the current value; Look up the brightness level corresponding to the current value in the brightness lookup table, and determine the target ambient mode that matches the brightness level in the lighting mode library; Before determining the target ambient mode corresponding to the signal strength from a preset lighting mode library, the method further includes: Determine the shower room area for the initial lighting control strategy, and based on the shower room area, determine whether it is necessary to zone the first lighting state; If so, the first lighting state is divided into multiple lighting sub-zones. For each lighting sub-zone, the target ambient mode corresponding to the signal strength is determined from the preset lighting mode library and the subsequent steps are executed. If not, continue with the process of determining the target ambient mode corresponding to the signal strength from the preset lighting mode library and subsequent steps.
[0031] It's important to note that the system has a preset lighting mode library containing various lighting effects (such as bright mode, soft light mode, romantic mode, etc.), and each mode has a corresponding brightness level. Simultaneously, the lighting control strategy is continuously iterated and adjusted. For example, each time the system adjusts the brightness or color, it counts as one "iteration." This number of iterations is used as the current value to help the system know which brightness level to select. For instance, in a smart shower room, the brightness chart might be: 1 = dim light, 2 = soft light, 3 = bright light, 4 = very bright light; the initial lighting control strategy has already executed 3 iterations; therefore, the current value is 3, corresponding to the brightness level of "bright." After obtaining the brightness level, the system will search the lighting mode library to find the lighting atmosphere mode that matches this brightness. For example, "bright" may correspond to "refreshing morning light mode", and the system will select this mode as the current target atmosphere. Example: Current value = 3 → Brightness level = Bright; Search in the lighting mode library: Bright → Refreshing morning light mode; The system will then set "refreshing morning light mode" as the target atmosphere mode. For larger areas, such as shower rooms, using only one lighting mode to control the entire room might not be flexible enough. Therefore, the system will first determine whether the lighting needs to be divided into sub-zones, each of which can have its own lighting mode. For example, a large shower room includes a shower area, a mirror area, and corner ambient lighting. The system detects that the room is large and has different functions, so it needs to be divided into zones. Therefore, the first lighting state is divided into three lighting sub-zones: the shower area, the mirror area, and the corner ambient lighting area. Select the target atmosphere mode from the library; if no zoning is needed (small room or only a single mode is used), simply select the target atmosphere mode for the entire room; for example: shower area: the user prefers bright light → select the refreshing morning light mode; mirror area: the user prefers soft light → select the soft light skincare mode; corner atmosphere area: for relaxation → select the romantic atmosphere mode; if the shower room is small and only one lighting mode is set → select "refreshing morning light mode" for the entire room.
[0032] In an optional embodiment, determining the target hue adjustment value based on real-time water flow velocity and real-time ambient temperature includes: Determine the target first preset temperature range to which the real-time ambient temperature belongs and the target second preset flow velocity range to which the real-time water flow velocity belongs; The basic hue adjustment value is determined based on the first preset temperature range and the first color mapping relationship, and the basic respiratory rate is determined based on the second preset flow rate range and the second mapping relationship. The base tone adjustment value and the base breathing frequency are combined to obtain the target tone adjustment value.
[0033] It should be noted that the system monitors the ambient temperature and water flow rate of the shower room in real time. To make the lighting more intelligent, it maps the temperature and water flow rate to pre-set "ranges," allowing different temperatures and water flows to produce different lighting effects. For example: Real-time ambient temperature = 30°C; System preset temperature range: Low: 20~25°C; Medium: 26~32°C; High: 33~38°C; 30°C falls within the medium temperature range → the first preset temperature range is determined as "medium temperature"; Real-time water flow rate = 6L / min; System preset flow rate range: Low: 1~4L / min; Medium: 5~8L / min; High: 9~12L / min; 6L / min falls within the medium flow range → the second preset flow rate range is determined as "medium flow." The system has two mapping rules: color mapping relationship (temperature → hue); different temperature ranges correspond to different hues, for example: low temperature → cool blue; medium temperature → soft white; high temperature → warm red; and breathing frequency mapping relationship (water flow → light breathing effect); different water flow speed ranges control the light's breathing frequency (the higher the breathing frequency, the faster the light flashes or changes); low flow → slow breathing; medium flow → medium breathing; high flow → fast breathing; for example: temperature range = medium temperature → hue is white and soft → basic hue adjustment value is determined; water flow range = medium flow → breathing frequency is medium → basic breathing frequency is determined. By combining the base hue adjustment value (color and brightness) with the base breathing frequency (light change rhythm), a complete target hue adjustment value is generated. This value is the final state that the light should present. In other words, the light should not only display a color suitable for the temperature, but also adjust the flashing or breathing rhythm according to the intensity of the water flow. Example: Base hue adjustment value = soft white light; Base breathing frequency = medium rhythm; Blended target hue adjustment value = soft white light + medium breathing; Effect: When showering, the light color is soft and has a slow breathing effect, synchronized with the water temperature and water flow speed, making people feel comfortable and natural.
[0034] In an optional embodiment, generating updated illumination parameters based on touch feedback information includes: Based on touch feedback information, determine the target brightness change trend and target color preference when the user adjusts the lights; Determine the actual brightness and color values corresponding to the current shower room lighting components; The updated brightness values for the shower room lighting components are determined based on the target brightness change trend and the actual brightness value. The updated color values for the shower room lighting components are determined based on the target color preference and the actual color values. Updated lighting parameters are generated for the shower room lighting components based on the updated brightness and color values, and the initial lighting control strategy is updated using the updated lighting parameters.
[0035] It's important to note that when users adjust the lighting via the touch control panel, the system analyzes this touch feedback to determine the desired lighting changes. This includes the user's desired direction of brightness change (whether it's brighter or darker) and their preferred color (e.g., warm yellow or cool blue). For example, suppose a user slides their finger upwards on the touch panel, indicating a desire for increased brightness, and selects a warmer yellow. Target brightness change trend: Brighter; Target color preference: Warm yellow. The system needs to know the current actual status of the shower room lights, including their brightness and color. This data will serve as a basis for comparison with the user's expectations. For example, the current light status is: actual brightness: 200 lumens; actual color: cool white. Based on the user's desired brightness trend (i.e., the desired increase in brightness) and the current actual brightness value, a new brightness value is calculated; this is to make the light adjustment more in line with the user's needs; for example: if the user wants the brightness to increase, and the current actual brightness is 200 lumens, the system may decide to set the updated brightness value to 300 lumens; updated brightness value: 300 lumens; Similar to brightness updates, the system also compares the user's color preference (warm yellow) with the actual color value (cool white) to determine a new color value. For example, suppose the system analyzes and selects a warm color, perhaps a soft golden yellow, as the updated color value. Updated color value: Soft golden yellow. The previously calculated updated brightness and color values are combined to generate new lighting parameters. These new parameters are then applied to the lighting control strategy to adjust the actual lighting state to meet the user's needs. For example, combining the updated brightness value (300 lumens) with the updated color value (soft golden yellow) to generate new lighting parameters, the system will immediately adjust the shower room lights to ensure they become brighter and display the user's preferred warm yellow hue.
[0036] Example 2, please refer to Figure 2 This invention provides a technical solution: a shower room lighting control system based on wireless networking, applicable to the aforementioned shower room lighting control method based on wireless networking, comprising: The strategy generation unit 1 is used to acquire the wireless network topology of the shower room and the environmental sensor data inside the shower room, and generate an initial lighting control strategy based on the wireless network topology and environmental sensor data. The signal activation unit 2 is used to activate the signal nodes in the wireless network topology using the initial lighting control strategy, and to obtain the signal coverage and signal strength of the activated signal nodes. The strategy compensation unit 3 is used to compensate and adjust the initial lighting control strategy according to the signal coverage and signal strength when the coverage of the activated signal node exceeds the physical boundary of the shower room or the signal strength of the signal node is inconsistent with the pre-agreed strength threshold, so as to obtain the first lighting state. The mode determination unit 4 is used to determine the color representation model based on the first light state and to determine the target atmosphere mode corresponding to the signal intensity from the preset light mode library. The color tone adjustment unit 5 is used to acquire the second light state formed by various light parameters in the first light state in the target atmosphere mode, and update the environmental sensor data according to the second light state; acquire the real-time water flow speed and real-time ambient temperature of the user during the shower, and determine the target color tone adjustment value according to the real-time water flow speed and real-time ambient temperature. The lighting control unit 6 is used to adjust the color temperature of the second lighting state according to the target hue adjustment value in the target atmosphere mode, so as to generate a basic lighting environment image in the target atmosphere mode.
[0037] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited thereto. Various changes can be made within the scope of knowledge possessed by those skilled in the art without departing from the spirit of the present invention.
Claims
1. A method for controlling the lighting in a shower room based on wireless networking, characterized in that, include: The wireless network topology of the shower room and the environmental sensor data inside the shower room are obtained, and an initial lighting control strategy is generated based on the wireless network topology and the environmental sensor data. The initial lighting control strategy is used to activate the signal nodes in the wireless network topology, and the signal coverage and signal strength of the activated signal nodes are obtained. When the coverage area of the activated signal node exceeds the physical boundary of the shower room or the signal strength of the signal node is inconsistent with the pre-agreed strength threshold, the initial lighting control strategy is compensated and adjusted according to the signal coverage area and signal strength to obtain the first lighting state. A color representation model is determined based on the first light state, and a target atmosphere mode corresponding to the signal intensity is determined from a preset light mode library. In the target atmosphere mode, a second lighting state is formed by various lighting parameters within the first lighting state, and the environmental sensor data is updated according to the second lighting state; The system acquires the real-time water flow rate and real-time ambient temperature of the user during the shower, and determines the target hue adjustment value based on the real-time water flow rate and real-time ambient temperature. In the target atmosphere mode, the color temperature of the second light state is adjusted according to the target hue adjustment value to generate a basic lighting environment image under the target atmosphere mode.
2. The shower room lighting control method based on wireless networking according to claim 1, characterized in that, After generating updated illumination parameters based on the touch feedback information, the method further includes: Obtain the touch feedback information generated by the user based on the basic lighting environment image, and generate updated lighting parameters based on the touch feedback information; The initial lighting control strategy is corrected based on the updated lighting parameters, and the process of obtaining the wireless network topology of the shower room and subsequent steps continues. When the initial lighting control strategy has been iterated a preset number of times, a target lighting control command is generated based on the corrected initial lighting control strategy and the updated environmental sensor data.
3. The shower room lighting control method based on wireless networking according to claim 2, characterized in that, The method for constructing the lighting pattern library includes: Obtain the preset shower room space dimensions, as well as the preset color temperature parameters and brightness adjustment sequence; Within the specified spatial dimensions, multiple atmosphere scenes with different color temperatures are constructed based on the color temperature parameters, and the light node numbers corresponding to each atmosphere scene are determined. Each ambient scene and its corresponding light node number, color temperature parameters, and brightness adjustment sequence are stored in a preset database to obtain the light mode library.
4. The shower room lighting control method based on wireless networking according to claim 3, characterized in that, In the target ambient mode, a second lighting state is obtained, formed by various lighting parameters within the first lighting state, including: Determine the color representation model of the first lighting state and the light node number and brightness adjustment sequence of the target atmosphere mode; Based on the color representation model and the light node number and brightness adjustment sequence of the target atmosphere mode, the target light parameters are determined in the target atmosphere mode; The control sequence formed by each target lighting parameter in the target atmosphere mode is determined as the second lighting state, and the second lighting state is obtained.
5. The shower room lighting control method based on wireless networking according to claim 4, characterized in that, Determining the target lighting parameters in the target ambient mode includes: Based on the light node number of the target atmosphere mode, determine multiple control nodes corresponding to the target atmosphere mode; Based on the color representation model, the matching degree between each control node of the target atmosphere mode and the color gamut of the first lighting state is determined respectively. The control node whose color gamut matches the first light state more than a preset value is determined as the target control node; In the brightness adjustment sequence, an adjustment parameter is determined that the brightness value belongs to the range corresponding to the target control node, and the target lighting parameter is determined in the target atmosphere mode based on the determined adjustment parameter.
6. The shower room lighting control method based on wireless networking according to claim 5, characterized in that, Activating signal nodes in the wireless network topology using the initial lighting control strategy includes: The signal transmission delay function is determined based on the initial lighting control strategy; Calculate the influence weight of the signal transmission delay function on the wireless network topology based on the signal transmission delay function; The activation state of signal nodes in the wireless network topology is updated by utilizing the influence weight of the signal transmission delay function on the wireless network topology.
7. The shower room lighting control method based on wireless networking according to claim 6, characterized in that, Determining the target ambient mode corresponding to the signal strength from a preset lighting mode library includes: Obtain a preset brightness reference table and obtain the iteration number of the initial lighting control strategy as the current value; The brightness level corresponding to the current value is looked up in the brightness lookup table, and the target ambient mode that matches the brightness level is determined in the lighting mode library; Before determining the target ambient mode corresponding to the signal intensity from a preset lighting mode library, the method further includes: Determine the shower room area for the initial lighting control strategy, and based on the shower room area, determine whether it is necessary to partition the first lighting state; If so, the first lighting state is divided into multiple lighting sub-zones. For each lighting sub-zone, the target atmosphere mode corresponding to the signal strength is determined from the preset lighting mode library and the subsequent steps are executed respectively. If not, continue with the process of determining the target ambient mode corresponding to the signal strength from the preset lighting mode library and subsequent steps.
8. The shower room lighting control method based on wireless networking according to claim 7, characterized in that, Determining the target hue adjustment value based on the real-time water flow velocity and real-time ambient temperature includes: Determine the target first preset temperature range to which the real-time ambient temperature belongs and the target second preset flow velocity range to which the real-time water flow velocity belongs; The basic hue adjustment value is determined based on the first preset temperature range and the first color mapping relationship of the target, and the basic respiratory rate is determined based on the second preset flow rate range and the second mapping relationship of the target; The base tone adjustment value and the base breathing frequency are fused together to obtain the target tone adjustment value.
9. The shower room lighting control method based on wireless networking according to claim 8, characterized in that, Generate updated lighting parameters based on the touch feedback information, including: Based on the touch feedback information, determine the target brightness change trend and target color preference when the user adjusts the light; Determine the actual brightness and color values corresponding to the current shower room lighting components; The updated brightness value corresponding to the shower room lighting component is determined based on the target brightness change trend and the actual brightness value; The updated color value corresponding to the shower room lighting component is determined based on the target color preference and the actual color value; The updated lighting parameters corresponding to the shower room lighting components are generated based on the updated brightness value and the updated color value, and the initial lighting control strategy is updated using the updated lighting parameters.
10. A shower room lighting control system based on wireless networking, applicable to the shower room lighting control method based on wireless networking as described in any one of claims 1-9, characterized in that, include: The strategy generation unit is used to acquire the wireless network topology of the shower room and the environmental sensor data inside the shower room, and generate an initial lighting control strategy based on the wireless network topology and the environmental sensor data. The signal activation unit is used to activate the signal nodes in the wireless network topology using the initial lighting control strategy, and to obtain the signal coverage and signal strength of the activated signal nodes. The strategy compensation unit is used to compensate and adjust the initial lighting control strategy according to the signal coverage range and signal strength when the coverage range of the activated signal node exceeds the physical boundary of the shower room or the signal strength of the signal node is inconsistent with the pre-agreed strength threshold, so as to obtain the first lighting state. The mode determination unit is used to determine a color representation model based on the first light state, and to determine a target atmosphere mode corresponding to the signal intensity from a preset light mode library; A color tone adjustment unit is used to acquire a second lighting state formed by various lighting parameters within the first lighting state in the target atmosphere mode, and update the environmental sensor data according to the second lighting state; The system acquires the real-time water flow rate and real-time ambient temperature of the user during the shower, and determines the target hue adjustment value based on the real-time water flow rate and real-time ambient temperature. The lighting control unit is used to adjust the color temperature of the second lighting state according to the target hue adjustment value in the target atmosphere mode, so as to generate a basic lighting environment image in the target atmosphere mode.