Ambient light adjustment method and apparatus, smart home device, and storage medium

CN120786778BActive Publication Date: 2026-10-16GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511003896.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-21
Publication Date
2026-10-16
Estimated Expiration
2045-07-21

AI Technical Summary

Technical Problem

不同设备基于各自的判断标准和调节逻辑,在相近时间内对光线强度进行交替调节,导致室内光线频繁变化,不仅影响用户体验,还可能引发视觉疲劳,降低设备使用寿命,成为制约智能家居环境光调节系统进一步发展的关键问题

Benefits of technology

[0041]Compared with the prior art, the above-mentioned technical solution provided in this application embodiment has the following advantages: The ambient light adjustment method provided in this application embodiment obtains the current ambient light intensity, the set target ambient light intensity, and the device adjustment efficiency evaluation model. The device adjustment efficiency evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels. Under each level, the light adjustment modes of any ambient light adjustment device in the environment are called and the corresponding light adjustment capability values ​​are recorded. Based on the current ambient light intensity and the device adjustment efficiency evaluation model, the target ambient light adjustment device is determined, and the target ambient light adjustment device is adjusted to make the ambient light intensity reach the target ambient light intensity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120786778B_ABST
    Figure CN120786778B_ABST
Patent Text Reader

Abstract

The application relates to an ambient light adjustment method and device, a smart home device and a storage medium. The method comprises the following steps: acquiring a current ambient light intensity, a set target ambient light intensity and a device adjustment efficiency evaluation model; determining a target ambient light adjustment device according to the current ambient light intensity and the device adjustment efficiency evaluation model, and adjusting the target ambient light adjustment device to make the ambient light intensity reach the target ambient light intensity. By establishing the device adjustment efficiency evaluation model, determining the target ambient light adjustment device according to the current ambient light intensity and the device adjustment efficiency evaluation model, and adjusting the target ambient light adjustment device to make the ambient light intensity reach the target ambient light intensity, the effect of the coordinated adjustment of the ambient light intensity by multiple ambient light adjustment devices can be achieved, and the frequent occurrence of the shaking phenomenon in the smart home light adjustment process can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home technology, and in particular to an ambient light adjustment method, device, smart home equipment, and storage medium. Background Technology

[0002] Driven by the wave of smart technology, smart home devices have been widely applied to indoor ambient light intensity adjustment. Smart lamps can flexibly adjust brightness and color temperature via apps or voice commands, electric curtains can automatically open and close based on time or light sensors, and displays, televisions, and other devices with smart dimming functions can also adaptively adjust brightness and color according to changes in ambient light. The widespread adoption of these devices has greatly enhanced users' ability to personalize their indoor lighting environment.

[0003] However, current smart home ambient light control systems have significant shortcomings. Various devices operate independently, lacking a unified collaborative control mechanism. For example, when smart lights adjust based on the light intensity detected by their own light sensors, they cannot coordinate with the adjustment strategies of other devices such as motorized curtains and displays, resulting in poor overall ambient light intensity control and difficulty in creating an ideal lighting atmosphere.

[0004] More significantly, due to the lack of a coordinated system, frequent fluctuations occur during smart home lighting adjustment. Different devices, based on their own judgment criteria and adjustment logic, alternately adjust the light intensity within a similar timeframe, resulting in frequent changes in indoor lighting. This not only affects the user experience but may also cause visual fatigue and reduce the lifespan of the devices, becoming a key issue restricting the further development of smart home ambient light adjustment systems. Summary of the Invention

[0005] To address the issue of the independent functionality and lack of a unified collaborative control mechanism among the various devices mentioned above, and more importantly, the frequent jitter during smart home lighting adjustment due to the lack of a collaborative system, this application provides an ambient light adjustment method, device, smart home device, and storage medium. The specific technical solution is as follows:

[0006] In a first aspect, this application provides an ambient light adjustment method, the method comprising:

[0007] Acquire the current ambient light intensity, the set target ambient light intensity, and the equipment adjustment efficiency evaluation model;

[0008] The device adjustment efficiency evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels, calling up the light adjustment modes of any ambient light adjustment device in the environment at each level and recording the corresponding light adjustment capability value.

[0009] Based on the current ambient light intensity and the device adjustment efficiency evaluation model, a target ambient light adjustment device is determined, and the ambient light intensity is adjusted to reach the target ambient light intensity.

[0010] In an optional implementation, determining the target ambient light adjustment device based on the current ambient light intensity and the device adjustment performance evaluation model, and adjusting the target ambient light adjustment device to bring the ambient light intensity to the target ambient light intensity, includes:

[0011] Based on the current ambient light intensity and the device adjustment efficiency evaluation model, a first ambient light adjustment device is determined, and the first ambient light adjustment device is adjusted to make the ambient light intensity reach the level with the smallest deviation from the target ambient light intensity;

[0012] Based on the device adjustment efficiency evaluation model, a second ambient light adjustment device is determined, and the second ambient light adjustment device is adjusted to make the ambient light intensity reach the target ambient light intensity.

[0013] In an optional implementation, determining a first ambient light adjustment device based on the current ambient light intensity and the device adjustment performance evaluation model, and adjusting the first ambient light adjustment device to bring the ambient light intensity to a level with minimal deviation from the target ambient light intensity, includes:

[0014] The following steps are performed iteratively until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity:

[0015] Determine the level of the current wheel, and in the equipment adjustment efficiency evaluation model, find the light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device under the level of the current wheel;

[0016] Based on the light adjustment capability value, a first ambient light adjustment device is determined, and the ambient light intensity is adjusted to reach the next or previous level of the current wheel's level.

[0017] The level below or above the current level is used as the level of the next round, and during the first round, the level of the current round is the level corresponding to the current ambient light intensity.

[0018] In an optional implementation, determining the first ambient light adjustment device based on the light adjustment capability value includes:

[0019] Obtain the object preference ratio corresponding to each ambient light adjustment device, multiply the object preference ratio by the light adjustment capability value, and obtain the preferred light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device under the level of the current round;

[0020] The preferred light adjustment capability values ​​are sorted to obtain a preferred light adjustment capability value sorting result, and a first ambient light adjustment device is determined based on the preferred light adjustment capability value sorting result.

[0021] In an optional implementation, determining a second ambient light adjustment device based on the device adjustment performance evaluation model, and adjusting the second ambient light adjustment device to bring the ambient light intensity to the target ambient light intensity, includes:

[0022] Traverse the device adjustment efficiency evaluation model to find the second ambient light adjustment device, which is the device that supports adjusting the ambient light intensity to the target ambient light intensity and has the largest light adjustment capability value.

[0023] The second ambient light adjustment device is adjusted to make the ambient light intensity reach the target ambient light intensity.

[0024] In an optional implementation, the iterative execution of the following steps continues until the ambient light intensity reaches a level that minimizes the deviation from the target ambient light intensity, the method further includes:

[0025] Obtain a pre-configured ambient light adjustment decision tree, which contains multiple decision condition behaviors;

[0026] In the ambient light adjustment decision tree, find the target decision condition behavior that matches the target ambient light intensity;

[0027] Determine the necessary event corresponding to the target decision condition behavior, and execute the necessary event.

[0028] In an optional implementation, the method further includes:

[0029] Obtain object feedback, which includes the ambient light adjustment device to be adjusted and the corresponding evaluation;

[0030] The evaluation is semantically classified to obtain the classification result, and the object preference ratio of the ambient light adjustment device to be adjusted is adjusted according to the classification result;

[0031] After the object preference ratio is adjusted, proceed to the iterative execution of the following steps until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity.

[0032] Secondly, this application provides an ambient light adjustment device, the device comprising:

[0033] The intensity acquisition module is used to acquire the current ambient light intensity, the set target ambient light intensity, and the equipment adjustment efficiency evaluation model;

[0034] The device adjustment efficiency evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels, calling up the light adjustment modes of any ambient light adjustment device in the environment at each level and recording the corresponding light adjustment capability value.

[0035] An ambient light adjustment module is used to determine a target ambient light adjustment device based on the current ambient light intensity and the device adjustment performance evaluation model, and to adjust the target ambient light adjustment device to make the ambient light intensity reach the target ambient light intensity.

[0036] Thirdly, an air conditioner is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0037] Memory, used to store computer programs;

[0038] When a processor executes a program stored in memory, it implements any of the ambient light adjustment methods described in the first aspect above.

[0039] Fourthly, a storage medium is also provided, wherein the storage medium stores instructions that, when executed on a computer, cause the computer to perform any of the ambient light adjustment methods described in the first aspect above.

[0040] Fifthly, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the ambient light adjustment methods described above.

[0041] Compared with the prior art, the above-mentioned technical solution provided in this application embodiment has the following advantages: The ambient light adjustment method provided in this application embodiment obtains the current ambient light intensity, the set target ambient light intensity, and the device adjustment efficiency evaluation model. The device adjustment efficiency evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels. Under each level, the light adjustment modes of any ambient light adjustment device in the environment are called and the corresponding light adjustment capability values ​​are recorded. Based on the current ambient light intensity and the device adjustment efficiency evaluation model, the target ambient light adjustment device is determined, and the target ambient light adjustment device is adjusted to make the ambient light intensity reach the target ambient light intensity.

[0042] By establishing a device adjustment efficiency evaluation model, and based on the current ambient light intensity and the device adjustment efficiency evaluation model, the target ambient light adjustment device is determined. By adjusting the target ambient light adjustment device to make the ambient light intensity reach the target ambient light intensity, the effect of multiple ambient light adjustment devices coordinating to adjust the ambient light intensity can be achieved, avoiding frequent jitter during the smart home light adjustment process. Attached Figure Description

[0043] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0044] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0046] Figure 1 A schematic diagram illustrating the implementation process of an ambient light adjustment method provided in this application embodiment;

[0047] Figure 2 A schematic diagram illustrating the implementation process of another ambient light adjustment method provided in this application embodiment;

[0048] Figure 3 A schematic diagram illustrating the implementation process of another ambient light adjustment method provided in this application embodiment;

[0049] Figure 4A schematic diagram illustrating the implementation process of another ambient light adjustment method provided in this application embodiment;

[0050] Figure 5 This is a schematic diagram of the structure of an ambient light adjustment device provided in an embodiment of this application;

[0051] Figure 6 This is a schematic diagram of the structure of a smart home device provided in an embodiment of this application. Detailed Implementation

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

[0053] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0054] like Figure 1 The diagram shown is a schematic representation of the implementation process of an ambient light adjustment method provided in this application. The method may specifically include the following steps:

[0055] S101, obtain the current ambient light intensity, the set target ambient light intensity, and the equipment adjustment efficiency evaluation model.

[0056] In this embodiment, the user activates the intelligent ambient light adjustment mode via an app. After activating the intelligent ambient light adjustment mode, the user begins to adjust the ambient light intensity. At this time, the current ambient light intensity, the set target ambient light intensity, and the device adjustment performance evaluation model are obtained.

[0057] For example, a user activates the whole-house (referring to the entire user's home) smart lighting adjustment mode via the app. The app sets the whole-house smart lighting adjustment mode in the scene, and after the user activates the mode, it begins to adjust the light intensity throughout the house. At this time, it obtains the current whole-house light intensity, the set whole-house ambient light intensity, and the device's adjustment efficiency evaluation model.

[0058] Users can activate the intelligent ambient light adjustment mode via the app, set the target ambient light intensity within the app, and then activate the intelligent ambient light adjustment mode through the app. Specifically, users can drag a slider in the app to set the target ambient light intensity to a value within the ambient light adjustment range, thereby setting the target ambient light intensity. This application embodiment does not limit the method for setting the target ambient light intensity.

[0059] In addition, the equipment adjustment efficiency evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels. Under each level, the light adjustment modes of any ambient light adjustment device in the environment are called and the corresponding light adjustment capability values ​​are recorded.

[0060] Specifically, the process of establishing the equipment adjustment efficiency evaluation model is as follows: First, by enabling the maximum ambient light mode (maximum adjustable ambient light intensity) and minimum ambient light mode (minimum adjustable ambient light intensity) of all ambient light adjustment devices, the upper and lower limits of ambient light intensity adjustment are determined. Based on the upper and lower limits, the ambient light adjustment range is determined, and the ambient light intensity is divided into, for example, ten levels according to the ambient light adjustment range. Then, the ambient light intensity is adjusted to the maximum / minimum level. a: Each ambient light adjustment mode of each ambient light adjustment device is called sequentially, and the light adjustment capability value of the ambient light adjustment device at that level is recorded. For example, at this level, the smart curtain is opened / closed by one-tenth at each step, and the corresponding light adjustment capability value is recorded. After recording the light adjustment capability values ​​corresponding to each light adjustment mode of all ambient light adjustment devices at the current level, the ambient light adjustment device with the largest light adjustment capability value at this level is adjusted to the next / previous level. Step a is repeated above, and the light adjustment capability values ​​of different light adjustment modes of all ambient light adjustment devices at each level are recorded. The output is the equipment adjustment efficiency evaluation model.

[0061] In addition, the ambient light adjustment device can be a terminal device with light parameter (brightness, color, etc.) adjustment function, such as a smart lamp, electric curtain, or adjustable display screen. This application embodiment does not limit this.

[0062] S102, based on the current ambient light intensity and the equipment adjustment efficiency evaluation model, determine the target ambient light adjustment equipment, and adjust the target ambient light adjustment equipment to make the ambient light intensity reach the target ambient light intensity.

[0063] In this embodiment of the application, based on the current ambient light intensity and the device adjustment efficiency evaluation model obtained in the above steps, a target ambient light adjustment device can be determined, and the target ambient light adjustment device can be adjusted to make the ambient light intensity reach the target ambient light intensity.

[0064] For example, if the target ambient light intensity is 680 lx, the target ambient light adjustment device is determined based on the current ambient light intensity and the device adjustment efficiency evaluation model, and the target ambient light adjustment device is adjusted to make the ambient light intensity reach 680 lx.

[0065] Based on the above description of the technical solution provided in the embodiments of this application, the current ambient light intensity, the set target ambient light intensity, and the device adjustment performance evaluation model are obtained. The device adjustment performance evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels. Under each level, the light adjustment modes of any ambient light adjustment device in the environment are called and the corresponding light adjustment capability values ​​are recorded. Based on the current ambient light intensity and the device adjustment performance evaluation model, the target ambient light adjustment device is determined, and the target ambient light adjustment device is adjusted to make the ambient light intensity reach the target ambient light intensity.

[0066] By establishing a device adjustment efficiency evaluation model, and based on the current ambient light intensity and the device adjustment efficiency evaluation model, the target ambient light adjustment device is determined. By adjusting the target ambient light adjustment device to make the ambient light intensity reach the target ambient light intensity, the effect of multiple ambient light adjustment devices coordinating to adjust the ambient light intensity can be achieved, avoiding frequent jitter during the smart home light adjustment process.

[0067] Furthermore, in this embodiment, by evaluating the individual light-adjusting capabilities of each ambient light control device in the environment, a device adjustment efficiency evaluation model is established. Then, a dynamic priority decision algorithm is used to determine the ambient light control devices based on dynamic priorities, and the ambient light intensity is adjusted by these devices. Subsequently, a feedback-correction mechanism is used to optimize the adjustment, while simultaneously modifying the dynamic priorities, achieving the effect of coordinating the ambient light control devices in the environment to adjust the ambient light intensity based on dynamic priorities.

[0068] In the dynamic priority decision-making algorithm, the system first acquires and executes necessary events based on the target ambient light intensity. Then, it acquires the object preference ratio and searches for the light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device in the device adjustment efficiency evaluation model. The adjustment value is calculated by multiplying the light adjustment capability value of each light adjustment mode of any ambient light adjustment device by the object preference ratio. Using a greedy algorithm, the system prioritizes adjusting the ambient light adjustment device with the largest adjustment value to quickly approach the target ambient light intensity. Then, based on the device adjustment efficiency evaluation model, it finds the ambient light adjustment device that supports adjusting the light to the target ambient light intensity and has the largest adjustment value. The system then fine-tunes the ambient light adjustment device to adjust the light intensity to the target ambient light intensity. Alternatively, based on the device adjustment efficiency evaluation model, it finds the ambient light adjustment device that supports adjusting the light to the closest level to the target ambient light intensity and uses that device to adjust the light intensity to the closest level to the target ambient light intensity.

[0069] This method is operable and can achieve the effect of multiple ambient light adjustment devices coordinating to adjust the ambient light intensity, avoiding conflicts between different ambient light adjustment devices when adjusting light, and adopting dynamic priority adjustment to improve adjustment efficiency and accuracy.

[0070] Based on this, such as Figure 2 The diagram shown illustrates the implementation flow of another ambient light adjustment method provided in this application embodiment. This method may specifically include the following steps:

[0071] S201, obtain the current ambient light intensity, the set target ambient light intensity, and the equipment adjustment efficiency evaluation model.

[0072] In this embodiment of the application, this step is similar to step S101 above, and will not be described in detail here.

[0073] The equipment adjustment performance evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels. Under each level, the model calls up the light adjustment modes of any ambient light adjustment device in the environment and records the corresponding light adjustment capability values.

[0074] S202, based on the current ambient light intensity and the equipment adjustment efficiency evaluation model, determine the first ambient light adjustment device, and adjust the first ambient light adjustment device to make the ambient light intensity reach the level with the smallest deviation from the target ambient light intensity.

[0075] In the embodiments of this application, the adjustment of ambient light intensity can be roughly divided into two stages. The first stage is to adjust the ambient light intensity to the level with the smallest deviation from the target ambient light intensity (i.e., to the level closest to the target ambient light intensity). Based on the first stage, the second stage is to adjust the ambient light intensity to the target ambient light intensity, or to the state of the ambient light intensity closest to the target ambient light intensity.

[0076] Based on this, for the current ambient light intensity and the equipment adjustment efficiency evaluation model obtained in the aforementioned steps, a first ambient light adjustment device is determined according to the current ambient light intensity and the equipment adjustment efficiency evaluation model, and the first ambient light adjustment device is adjusted to make the ambient light intensity reach the level with the smallest deviation from the target ambient light intensity.

[0077] Specifically, the following steps are iteratively executed until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity: Determine the level of the current round; in the device adjustment efficiency evaluation model, find the light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device at the level of the current round; based on the light adjustment capability value, determine the first ambient light adjustment device, and adjust the first ambient light adjustment device using a greedy algorithm to make the ambient light intensity reach the next or previous level of the current round; wherein, the next or previous level of the current round is used as the level of the next round, and in the first round, the level of the current round is the level corresponding to the current ambient light intensity.

[0078] In this embodiment of the application, for any ambient light adjustment device in the environment, there is a corresponding object preference ratio, for example, the object preference ratio is the user preference ratio, such as 0.8. Then, the object preference ratio corresponding to each ambient light adjustment device can be obtained, and the object preference ratio is multiplied by the light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device under the current level to obtain the preferred light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device under the current level. The preferred light adjustment capability values ​​are sorted to obtain the preferred light adjustment capability value sorting result, and the first ambient light adjustment device is determined according to the preferred light adjustment capability value sorting result.

[0079] It should be noted that the preferred light adjustment capability values ​​can be sorted from largest to smallest to obtain the preferred light adjustment capability value ranking result. Then, the ambient light adjustment device ranked first (i.e. the one with the largest light adjustment capability value) is selected as the first ambient light adjustment device. This application embodiment does not limit this.

[0080] For example, suppose the ambient light intensity adjustment range is 0–1000 lx, divided into 10 levels (100 lx per level), as shown in Table 1 below. The target ambient light intensity is 680 lx, which falls within level 7 (600–700 lx), but is closer to the upper limit of level 7 (700 lx). The adjustment logic is as follows: a greedy algorithm prioritizes adjusting the "ambient light adjustment device with the largest adjustment value" (such as a smart lamp), gradually bringing the light intensity closer to the target ambient light intensity with each adjustment. Termination condition: if the final light intensity stabilizes at 650 lx (still within level 7), or stops at 705 lx due to device adjustment precision limitations (exceeding 700 lx but not reaching 800 lx, belonging to level 8), then the deviation between 650 lx and the target ambient light intensity of 680 lx is 30 lx, belonging to level 7; and the deviation between 705 lx and the target ambient light intensity is 25 lx, closer to the target value, belonging to level 8. Regardless of whether it ultimately stops at level 7 or level 8, as long as it is the level with the smallest deviation from the target ambient light intensity, it is considered to be "adjusted to the level closest to the target ambient light intensity". This means that the light intensity is not required to be exactly equal to the target ambient light intensity (such as 680 lx). Instead, the adjustment is terminated at the level with the smallest deviation from the target ambient light intensity (such as level 7 or 8) in "levels".

[0081]

[0082]

[0083] Table 1

[0084] In addition, in this embodiment of the application, before adjusting the ambient light intensity, a pre-configured ambient light adjustment decision tree can be obtained. The ambient light adjustment decision tree contains multiple decision condition behaviors. In the ambient light adjustment decision tree, the target decision condition behavior that matches the target ambient light intensity is searched, the necessary event corresponding to the target decision condition behavior is determined, and the necessary event is executed. Then, the adjustment of the ambient light intensity can be roughly divided into two stages. The first stage is to adjust the ambient light intensity to the level with the smallest deviation from the target ambient light intensity (i.e., to the level closest to the target ambient light intensity). Based on the first stage, the second stage is to adjust the ambient light intensity to the target ambient light intensity, or to the state closest to the target ambient light intensity.

[0085] For example, first, configure an ambient light adjustment decision tree on the server. This decision tree contains multiple decision condition behaviors, such as: if the target ambient light intensity is below a certain threshold, blue light protection mode must be enabled. From this, we can obtain the pre-configured ambient light adjustment decision tree, which contains multiple decision condition behaviors. Within this tree, we search for the target decision condition behavior that matches the target ambient light intensity of 680 lx, determine the necessary event corresponding to the target decision condition behavior, and execute the necessary event. Then, we can execute stage one as described above, and finally, based on stage one, execute stage two.

[0086] S203, based on the equipment adjustment efficiency evaluation model, determine the second ambient light adjustment device, and adjust the second ambient light adjustment device to make the ambient light intensity reach the target ambient light intensity.

[0087] In this embodiment of the application, based on the above-mentioned adjustment of the ambient light intensity to the level with the smallest deviation from the target ambient light intensity, the ambient light intensity is further adjusted so that the ambient light intensity reaches the target ambient light intensity, or the ambient light intensity is adjusted to the state closest to the target ambient light intensity.

[0088] Therefore, based on the equipment adjustment efficiency evaluation model, a second ambient light adjustment device is determined, and the second ambient light adjustment device is adjusted to bring the ambient light intensity to the target ambient light intensity. Specifically, the equipment adjustment efficiency evaluation model is traversed from high to low based on the light adjustment capability value to find the second ambient light adjustment device. This second ambient light adjustment device is the one with the largest light adjustment capability value that supports adjusting the ambient light intensity to the target ambient light intensity. The second ambient light adjustment device is then adjusted to bring the ambient light intensity to the target ambient light intensity.

[0089] In addition, if the second ambient light adjustment device is not found, the device adjustment efficiency evaluation model is traversed to find the third ambient light adjustment device. The third ambient light adjustment device is a device that supports adjusting the ambient light intensity to the closest (i.e., the smallest deviation) target ambient light intensity. The ambient light intensity is adjusted to the closest state to the target ambient light intensity by adjusting the third ambient light adjustment device.

[0090] Furthermore, in this embodiment, after the ambient light intensity is adjusted, the APP can pop up a window requesting user evaluation and feedback. For example, the feedback might be: "Smart lights are too bright, electric curtains are too dim." The feedback includes the ambient light adjustment device to be adjusted (e.g., smart lights) and its corresponding evaluation (e.g., too bright). Based on the semantic bias of the evaluation, the user preference ratio of the ambient light adjustment device to be adjusted is adjusted. For example, if the default user preference ratio is 1, and the user considers the smart lights too bright and the electric curtains too dim, then the user preference ratio for the smart lights is adjusted to the next lower level, such as 0.9, and the user preference ratio for the electric curtains is adjusted to the previous level, such as 1.1. This embodiment does not limit this specific adjustment.

[0091] Based on this, after the above-mentioned Phase 1 and Phase 2, object feedback can be obtained. The object feedback includes the ambient light adjustment device to be adjusted and the corresponding evaluation. The evaluation is semantically classified to obtain the classification result. The object preference ratio of the ambient light adjustment device to be adjusted is adjusted according to the classification result. After the object preference ratio is adjusted, the process jumps to the iterative execution of the following steps until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity.

[0092] The ambient light adjustment method provided in this application will be described below with reference to specific embodiments, such as... Figure 3 As shown, the specific steps may include:

[0093] S301 allows users to activate the whole-house smart lighting adjustment mode via an app.

[0094] The app sets up a smart lighting adjustment mode for the whole house in the scene. Once the user turns on this mode, the lighting in the whole house will be adjusted.

[0095] S302, Establish a whole-house equipment regulation efficiency evaluation model.

[0096] First, by enabling the maximum and minimum ambient light modes of all devices, determine the upper and lower limits of the current ambient light intensity adjustment. Then, divide the adjustable light intensity into ten levels based on the adjustment range. Next, adjust the light intensity to the maximum level. Step a: Sequentially call up the light adjustment mode of each device and record the light adjustment capability value of that device at that light intensity. For example, when switching the curtains to the next level (opening / closing by one-tenth), record the light intensity change xxx (lx). After recording the light adjustment capability values ​​of all devices at the current level, adjust the device with the highest light adjustment capability value at that level to adjust the ambient light intensity to the next level. Repeat step a above, recording the light adjustment capability of all devices at all levels, and outputting a whole-house device adjustment efficiency evaluation model.

[0097] S303, users can set the target light intensity value in the APP.

[0098] Users can drag a slider in the app to set the target light intensity to a value within the current whole-house light adjustment range.

[0099] S304 uses a dynamic priority adjustment algorithm to regulate light intensity.

[0100] Among them, the dynamic priority adjustment algorithm is as follows: Figure 4 As shown, the specific steps may include:

[0101] For S401, the developers first configured the decision tree on the server side.

[0102] The decision tree includes multiple decision-making conditions, such as: if the target adjustment intensity is lower than xxx, the blue light blocking mode must be turned on.

[0103] S402 executes a necessary event based on the decision tree and the target light intensity.

[0104] Based on the target strength set by the user, the behavior that meets the conditions in the decision tree is executed first.

[0105] S403: Based on the equipment regulation performance evaluation model and user preferences, identify the equipment with the largest regulation value.

[0106] Using the current ambient light intensity as the adjustment value (device light adjustment capability value * user preference ratio), sort and find the device with the largest adjustment value.

[0107] S404 uses a greedy algorithm to adjust the light intensity of the device with the largest adjustment value to the next level close to the target value.

[0108] S405, repeatedly executes the greedy algorithm until the light intensity is adjusted to the level closest to the target.

[0109] Repeat steps S403 to S404 until the light intensity is adjusted to the level closest to the target.

[0110] S406, based on the whole-house equipment adjustment efficiency evaluation model, find the device that supports adjusting the light to the target intensity and has the largest adjustment value, and fine-tune the device to adjust the light intensity to the target value.

[0111] Once the light intensity reaches the level closest to the target value, the evaluation table is traversed from high to low according to the light adjustment capability value. The system attempts to calculate and find a device that can adjust the light intensity to the target value. If a device is found, the traversal stops, and the device is adjusted to adjust the ambient light intensity to the target value. If none of the above conditions are met, the device that can adjust the ambient light intensity to the closest value to the target value is adjusted to achieve the state where the ambient light intensity is closest to the target value.

[0112] S305 displays user feedback in the app, allowing users to adjust their preference values ​​based on that feedback.

[0113] After adjusting the light intensity, Gree+ will pop up a window requesting user feedback, such as: "The lights are too bright." or "The curtains are too dim." Gree+ will then increase the user preference value for the device receiving the feedback (all devices default to 1) and adjust the corresponding device to the next level based on the feedback.

[0114] S306 again uses a dynamic priority adjustment algorithm to adjust the light intensity.

[0115] After step S305, the ambient light intensity changes, and the light intensity is adjusted again using the dynamic priority adjustment algorithm.

[0116] Corresponding to the above method embodiments, this application also provides an ambient light adjustment device, such as... Figure 5 As shown, the device may include: an intensity acquisition module 510 and an ambient light adjustment module 520.

[0117] The intensity acquisition module 510 is used to acquire the current ambient light intensity, the set target ambient light intensity, and the equipment adjustment efficiency evaluation model.

[0118] The device adjustment efficiency evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels, calling up the light adjustment modes of any ambient light adjustment device in the environment at each level and recording the corresponding light adjustment capability value.

[0119] The ambient light adjustment module 520 is used to determine the target ambient light adjustment device based on the current ambient light intensity and the device adjustment efficiency evaluation model, and to adjust the target ambient light adjustment device to make the ambient light intensity reach the target ambient light intensity.

[0120] In one optional implementation, the ambient light adjustment module specifically includes:

[0121] The first ambient light adjustment submodule is used to determine the first ambient light adjustment device based on the current ambient light intensity and the device adjustment efficiency evaluation model, and to adjust the first ambient light adjustment device to make the ambient light intensity reach the level with the smallest deviation from the target ambient light intensity.

[0122] The second ambient light adjustment submodule is used to determine the second ambient light adjustment device according to the device adjustment efficiency evaluation model, and to adjust the second ambient light adjustment device to make the ambient light intensity reach the target ambient light intensity.

[0123] In an optional implementation, the first ambient light adjustment submodule specifically includes:

[0124] An iterative unit is used to iteratively execute the following steps until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity:

[0125] The capability value lookup unit is used to determine the level of the current wheel and, in the equipment adjustment efficiency evaluation model, look up the light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device under the level of the current wheel.

[0126] An ambient light adjustment unit is used to determine a first ambient light adjustment device based on the light adjustment capability value, and to adjust the first ambient light adjustment device to make the ambient light intensity reach the next level or the previous level of the current wheel level.

[0127] The level below or above the current level is used as the level of the next round, and during the first round, the level of the current round is the level corresponding to the current ambient light intensity.

[0128] In an optional implementation, the ambient light adjustment unit is specifically used for:

[0129] Obtain the object preference ratio corresponding to each ambient light adjustment device, multiply the object preference ratio by the light adjustment capability value, and obtain the preferred light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device under the level of the current round;

[0130] The preferred light adjustment capability values ​​are sorted to obtain a preferred light adjustment capability value sorting result, and a first ambient light adjustment device is determined based on the preferred light adjustment capability value sorting result.

[0131] In an optional implementation, the second ambient light adjustment submodule is specifically used for:

[0132] Traverse the device adjustment efficiency evaluation model to find the second ambient light adjustment device, which is the device that supports adjusting the ambient light intensity to the target ambient light intensity and has the largest light adjustment capability value.

[0133] The second ambient light adjustment device is adjusted to make the ambient light intensity reach the target ambient light intensity.

[0134] In an optional implementation, the first ambient light adjustment submodule further includes:

[0135] The event execution submodule is used to obtain a pre-configured ambient light adjustment decision tree, which contains multiple decision condition behaviors.

[0136] In the ambient light adjustment decision tree, find the target decision condition behavior that matches the target ambient light intensity;

[0137] Determine the necessary event corresponding to the target decision condition behavior, and execute the necessary event.

[0138] In an optional implementation, the apparatus further includes:

[0139] The proportional adjustment module is used to obtain object feedback, which includes the ambient light adjustment device to be adjusted and the corresponding evaluation.

[0140] The evaluation is semantically classified to obtain the classification result, and the object preference ratio of the ambient light adjustment device to be adjusted is adjusted according to the classification result;

[0141] After the object preference ratio is adjusted, proceed to the iterative execution of the following steps until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity.

[0142] This application also provides a smart home device, such as... Figure 6 As shown, it includes a processor 61, a communication interface 62, a memory 63, and a communication bus 64, wherein the processor 61, the communication interface 62, and the memory 63 communicate with each other through the communication bus 64.

[0143] Memory 63 is used to store computer programs;

[0144] When processor 61 executes the program stored in memory 63, it performs the following steps:

[0145] The system acquires the current ambient light intensity, the set target ambient light intensity, and the device adjustment efficiency evaluation model. This model is formed by determining upper and lower limits for ambient light intensity adjustment and dividing them into multiple levels. At each level, it calls up the light adjustment modes of any ambient light adjustment device in the environment and records the corresponding light adjustment capability values. Based on the current ambient light intensity and the device adjustment efficiency evaluation model, the system determines the target ambient light adjustment device and adjusts it to bring the ambient light intensity up to the target level.

[0146] The communication bus mentioned in the smart home devices above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0147] The communication interface is used for communication between the aforementioned smart home devices and other devices.

[0148] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0149] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0150] In another embodiment provided in this application, a storage medium is also provided, which stores instructions that, when run on a computer, cause the computer to execute any of the ambient light adjustment methods described in the above embodiments.

[0151] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the ambient light adjustment methods described in the above embodiments.

[0152] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a storage medium or transmitted from one storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0153] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0154] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0155] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.

Claims

1. A method for adjusting ambient light, characterized in that, The method includes: Acquire the current ambient light intensity, the set target ambient light intensity, and the equipment adjustment efficiency evaluation model; The device adjustment efficiency evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels, calling up the light adjustment modes of any ambient light adjustment device in the environment at each level and recording the corresponding light adjustment capability value. Based on the current ambient light intensity and the device adjustment efficiency evaluation model, a target ambient light adjustment device is determined, and the ambient light intensity is adjusted to reach the target ambient light intensity by adjusting the target ambient light adjustment device. This includes: determining a first ambient light adjustment device based on the current ambient light intensity and the device adjustment efficiency evaluation model, and adjusting the first ambient light adjustment device to achieve an ambient light intensity with the smallest deviation from the target ambient light intensity; determining a second ambient light adjustment device based on the device adjustment efficiency evaluation model, and adjusting the second ambient light adjustment device to achieve the target ambient light intensity. The step of determining a first ambient light adjustment device based on the current ambient light intensity and the device adjustment efficiency evaluation model, and adjusting the first ambient light adjustment device to bring the ambient light intensity to a level with the smallest deviation from the target ambient light intensity, includes: The following steps are executed iteratively until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity: Determine the level of the current round; in the device adjustment efficiency evaluation model, find the light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device at the level of the current round; based on the light adjustment capability value, determine the first ambient light adjustment device, and adjust the first ambient light adjustment device to make the ambient light intensity reach the next or previous level of the current round; wherein, the next or previous level of the current round is taken as the level of the next round, and in the first round, the level of the current round is the level corresponding to the current ambient light intensity.

2. The method according to claim 1, characterized in that, The step of determining the first ambient light adjustment device based on the light adjustment capability value includes: Obtain the object preference ratio corresponding to each ambient light adjustment device, multiply the object preference ratio by the light adjustment capability value, and obtain the preferred light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device under the level of the current round; The preferred light adjustment capability values ​​are sorted to obtain a preferred light adjustment capability value sorting result, and a first ambient light adjustment device is determined based on the preferred light adjustment capability value sorting result.

3. The method according to claim 1, characterized in that, The step of determining a second ambient light adjustment device based on the device adjustment efficiency evaluation model, and adjusting the second ambient light adjustment device to make the ambient light intensity reach the target ambient light intensity, includes: Traverse the device adjustment efficiency evaluation model to find the second ambient light adjustment device, which is the device that supports adjusting the ambient light intensity to the target ambient light intensity and has the largest light adjustment capability value. The second ambient light adjustment device is adjusted to make the ambient light intensity reach the target ambient light intensity.

4. The method according to claim 1, characterized in that, The method further includes the following steps, performed iteratively until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity: Obtain a pre-configured ambient light adjustment decision tree, which contains multiple decision condition behaviors; In the ambient light adjustment decision tree, find the target decision condition behavior that matches the target ambient light intensity; Determine the necessary event corresponding to the target decision condition behavior, and execute the necessary event.

5. The method according to claim 2, characterized in that, The method further includes: Obtain object feedback, which includes the ambient light adjustment device to be adjusted and the corresponding evaluation; The evaluation is semantically classified to obtain the classification result, and the object preference ratio of the ambient light adjustment device to be adjusted is adjusted according to the classification result; After the object preference ratio is adjusted, proceed to the iterative execution of the following steps until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity.

6. An ambient light adjustment device, characterized in that, The device includes: The intensity acquisition module is used to acquire the current ambient light intensity, the set target ambient light intensity, and the equipment adjustment efficiency evaluation model; The device adjustment efficiency evaluation model is formed by determining the upper and lower limits of ambient light intensity adjustment and dividing them into multiple levels, calling up the light adjustment modes of any ambient light adjustment device in the environment at each level and recording the corresponding light adjustment capability value. An ambient light adjustment module is used to determine a target ambient light adjustment device based on the current ambient light intensity and the device adjustment performance evaluation model, and to adjust the target ambient light adjustment device to bring the ambient light intensity to the target ambient light intensity. This includes: determining a first ambient light adjustment device based on the current ambient light intensity and the device adjustment performance evaluation model, and adjusting the first ambient light adjustment device to bring the ambient light intensity to a level with the smallest deviation from the target ambient light intensity; and determining a second ambient light adjustment device based on the device adjustment performance evaluation model, and adjusting the second ambient light adjustment device to bring the ambient light intensity to the target ambient light intensity. The step of determining a first ambient light adjustment device based on the current ambient light intensity and the device adjustment efficiency evaluation model, and adjusting the first ambient light adjustment device to bring the ambient light intensity to a level with the smallest deviation from the target ambient light intensity, includes: The following steps are executed iteratively until the ambient light intensity reaches the level with the smallest deviation from the target ambient light intensity: Determine the level of the current round; in the device adjustment efficiency evaluation model, find the light adjustment capability value corresponding to each light adjustment mode of any ambient light adjustment device at the level of the current round; based on the light adjustment capability value, determine the first ambient light adjustment device, and adjust the first ambient light adjustment device to make the ambient light intensity reach the next or previous level of the current round; wherein, the next or previous level of the current round is taken as the level of the next round, and in the first round, the level of the current round is the level corresponding to the current ambient light intensity.

7. A smart home device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method described in any one of claims 1-5.

8. A storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Light control method, system and device based on smart home and storage medium

    CN117320235A