Intelligent control method, system and equipment of lighting equipment and storage medium
By collecting time and ambient light data for scene recognition, dynamically adjusting the parameters of LED lighting equipment, solving the problems of excessive blue light and discontinuity in traditional LED lighting products, improving visual comfort and lighting quality, and realizing automated control.
Patent Information
- Application Number
- CN202411493938.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2024-12-27
AI Technical Summary
Traditional LED lighting products have high blue light content. Long-term exposure or gaze may lead to visual discomfort, and the spectrum is discontinuous, resulting in uneven luminous color and poor color restoration ability. It is impossible to dynamically adjust lighting parameters according to human needs, affecting visual comfort and Lighting quality.
By collecting time data and ambient lighting data, scene recognition is performed, lighting adjustment parameters are determined, lighting parameter adjustment instructions are generated, and the color, brightness and color temperature of the lighting equipment are dynamically adjusted to realize automatic adjustment of lighting parameters.
It improves lighting quality and user visual comfort, reduces visual discomfort caused by improper lighting parameters, realizes automatic control of lighting equipment, and adapts to the needs of different scenarios.
Smart Images

Figure CN119212165A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent control, and in particular to an intelligent control method, system, device and storage medium for lighting equipment. Background Art
[0002] Traditional LED lighting products have a high content of blue light, with a wavelength between 435nm and 440nm. Under fixed lighting parameters, long-term exposure or staring at the light source may cause visual discomfort and even potential damage to the retina. In addition, the spectrum of conventional LED lamp beads is usually discontinuous, with obvious peaks and troughs, resulting in uneven luminous color and poor color reproduction ability.
[0003] Therefore, how to dynamically adjust the lighting parameters of lighting equipment according to the needs of the human body to improve visual comfort and lighting quality is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides an intelligent control method, system, device and storage medium for lighting equipment, which can realize dynamic adjustment of lighting parameters according to the identified scene, thereby improving the lighting quality and user visual comfort.
[0005] In a first aspect, the present application provides an intelligent control method for lighting equipment, comprising: collecting current time data and ambient light data, performing scene recognition processing based on the time data and the ambient light data to obtain a target scene; determining lighting adjustment parameters based on the target scene, and generating lighting parameter adjustment instructions based on the lighting adjustment parameters; sending the lighting parameter adjustment instructions to the lighting equipment so that the lighting equipment adjusts the lighting parameters based on the lighting parameter adjustment instructions.
[0006] Furthermore, scene recognition processing is performed based on the time data and the ambient light data to obtain a target scene, specifically including: based on a time sensor, collecting current time data, and performing data matching processing on the time data and a pre-constructed time-scene association data set to obtain a target time scene; obtaining an environment-scene association data set under the target time scene, based on an ambient light sensor, collecting current ambient light data, and performing data matching processing on the ambient light data and the environment-scene association data set to obtain a target scene.
[0007] Furthermore, based on the time sensor, the current time data is collected, and the time data is matched with a pre-constructed time-scene association data set to obtain a target time scene, specifically including: based on the time sensor, the current time data is collected, wherein the time data includes season data and clock data; a pre-constructed time-scene association data set is obtained, wherein the time-scene association data set includes time-scene association sub-data sets corresponding to four seasons, each time-scene association sub-data set includes multiple time ranges, and time scenes corresponding to the multiple time ranges; based on the season data in the time data, a target time-scene association sub-data set in the pre-constructed time-scene association data set is determined, and based on the clock data in the time data, matching processing is performed with all time ranges in the target time-scene association sub-data set to obtain a target time range, and the time scene corresponding to the target time range is used as the target time scene.
[0008] Furthermore, an environment-scene association data set under the target time scenario is obtained, and based on an ambient light sensor, current ambient lighting data is collected, and data matching processing is performed on the ambient lighting data and the environment-scene association data set to obtain a target scene, specifically including: obtaining an environment-scene association data set under the target time scenario, wherein the environment-scene association data set includes multiple ambient lighting intensity ranges, and life scenes corresponding to the multiple ambient lighting intensity ranges; based on an ambient light sensor, current ambient lighting data is collected, and matching processing is performed on the ambient lighting data and all ambient lighting intensity ranges in the environment-scene association data set to obtain a target ambient lighting intensity range, and the target life scene corresponding to the target ambient lighting intensity range is used as the target scene.
[0009] Furthermore, based on the target scene, determining the lighting adjustment parameters specifically includes: obtaining a preset scene-lighting parameter association data set, wherein the scene-lighting parameter association data set includes all scenes and the lighting parameters corresponding to all the scenes; matching the target scene with all the scenes in the scene-lighting parameter association data set to determine a matching scene, and using the target lighting parameters corresponding to the matching scene as the lighting adjustment parameters.
[0010] Furthermore, sending the lighting parameter adjustment instruction to the lighting device so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction specifically includes: sending the lighting parameter adjustment instruction to the lighting device based on a preset communication protocol so that the lighting device obtains the lighting adjustment parameters in the lighting parameter adjustment instruction after receiving the lighting parameter adjustment instruction, wherein the lighting adjustment parameters include color adjustment parameters, brightness adjustment parameters and color temperature adjustment parameters; based on the color adjustment parameters, adjusting the output ratio of different color channels in the lighting device, based on the brightness adjustment parameters, adjusting the lighting brightness in the lighting device, and based on the color temperature adjustment parameters, adjusting the mixing ratio of RGB channels in the lighting device.
[0011] Furthermore, after sending the lighting parameter adjustment instruction to the lighting device so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction, it also includes: obtaining the current lighting parameters after the lighting device executes the lighting parameter adjustment, comparing the current lighting parameters with the lighting adjustment parameters in the lighting parameter adjustment instruction, if the current lighting parameters and the lighting adjustment parameters are inconsistent, obtaining difference data between the current lighting parameters and the lighting adjustment parameters, and generating a lighting parameter secondary adjustment instruction based on the difference data; sending the lighting parameter secondary adjustment instruction to the lighting device so that the lighting device adjusts the lighting parameters based on the lighting parameter secondary adjustment instruction.
[0012] In a second aspect, the present application provides an intelligent control system for lighting equipment, comprising: a scene recognition module, a lighting adjustment parameter determination module and a lighting equipment adjustment module; wherein the scene recognition module is used to collect current time data and ambient light data, and perform scene recognition processing based on the time data and the ambient light data to obtain a target scene; the lighting adjustment parameter determination module is used to determine lighting adjustment parameters based on the target scene, and generate lighting parameter adjustment instructions based on the lighting adjustment parameters; the lighting equipment adjustment module is used to send the lighting parameter adjustment instructions to the lighting equipment so that the lighting equipment adjusts the lighting parameters based on the lighting parameter adjustment instructions.
[0013] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is used to implement the intelligent control steps of the lighting device described in any one of the above items of the present application when executing a program stored in the memory.
[0014] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the intelligent control method for a lighting device as described in any one of the above items of the present application.
[0015] Compared with the prior art, the above-mentioned technical solution provided by the embodiment of the present application has the following advantages: the method provided by the embodiment of the present application can automatically perform scene recognition based on time data and ambient light data collected in real time, thereby reducing manual intervention and improving the degree of automation of lighting control; and different lighting conditions may be required for different scenes. After identifying the target scene, a lighting parameter adjustment instruction can be generated according to the lighting adjustment parameters corresponding to the target scene, so that the lighting equipment can dynamically adjust the lighting parameters based on the identified scene, reduce visual discomfort caused by improper lighting parameters, and improve both the lighting quality and the user's visual comfort. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0018] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0019] Figure 1 It is a flowchart of an embodiment of an intelligent control method for lighting equipment provided by the present application;
[0020] Figure 2 It is a structural schematic diagram of an embodiment of an intelligent control system for lighting equipment provided by the present application;
[0021] Figure 3 It is a structural schematic diagram of an electronic device provided by this application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0023] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0024] Example 1, see Figure 1 , Figure 1 is a flow chart of an embodiment of an intelligent control method for lighting equipment provided by the present application, such as Figure 1 As shown, the method includes steps 101 to 103, which are specifically as follows:
[0025] Step 101: Collect current time data and ambient light data, perform scene recognition processing based on the time data and the ambient light data, and obtain a target scene.
[0026] In one embodiment, based on a time sensor, current time data is collected, and the time data is matched with a pre-constructed time-scene association data set to obtain a target time scene.
[0027] In one embodiment, based on a time sensor, current time data is collected, and data matching processing is performed on the time data with a pre-constructed time-scene association data set to obtain a target time scene. The current time data is collected based on a time sensor, wherein the time data includes season data and clock data; a pre-constructed time-scene association data set is obtained, wherein the time-scene association data set includes time-scene association sub-data sets corresponding to four seasons, each time-scene association sub-data set includes multiple time ranges, and time scenes corresponding to the multiple time ranges; based on the season data in the time data, a target time-scene association sub-data set in the pre-constructed time-scene association data set is determined, and based on the clock data in the time data, matching processing is performed with all time ranges in the target time-scene association sub-data set to obtain a target time range, and the time scene corresponding to the target time range is used as the target time scene.
[0028] Preferably, the clock data includes hour data and minute data.
[0029] Specifically, a high-precision time sensor is provided as a time module in the intelligent control system of the lighting device, and the current time information is accurately acquired based on the time sensor.
[0030] Preferably, the time sensor is a real-time clock chip RTC. The real-time clock chip RTC can continuously provide accurate clock data, and the error can be controlled within ±1 second / day.
[0031] Specifically, for the season data in the time data, the corresponding season data is determined based on the month data displayed in the acquisition system.
[0032] Since the duration and intensity of sunshine in different seasons vary significantly; for example, in winter, the sunshine time is short and the natural light is weak, while the opposite is true in summer; therefore, when collecting time data, by collecting seasonal data and determining the time scene based on the seasonal data, the accuracy of subsequent adjustments to the lighting equipment can be improved, allowing it to dynamically adapt to seasonal changes.
[0033] Specifically, the pre-constructed time-scene association dataset includes time-scene association sub-datasets corresponding to four seasons, namely, spring time-scene association sub-dataset, summer time-scene association sub-dataset, autumn time-scene association sub-dataset and winter time-scene association sub-dataset.
[0034] Specifically, the multiple time ranges included in each time-scene association sub-data set and the settings of the time scenes corresponding to the multiple time ranges can be set based on user needs.
[0035] Preferably, the 24 hours of a day are divided into four time ranges, corresponding to midnight scenes, morning scenes, afternoon scenes and evening scenes respectively; for example, the time scenes corresponding to 00:00-06:00 are set as midnight scenes, the time scenes corresponding to 06:00-12:00 are set as morning scenes, the time scenes corresponding to 12:00-18:00 are set as afternoon scenes, and the time scenes corresponding to 18:00-24:00 are set as evening scenes.
[0036] Specifically, after obtaining the seasonal data in the time data, based on the seasonal data, a target time-scene associated subdataset corresponding to the seasonal data is selected from a pre-constructed time-scene associated data set; for example, when the seasonal data is spring, the spring time-scene associated subdataset in the time-scene associated data set is obtained; when the seasonal data is summer, the summer time-scene associated subdataset in the time-scene associated data set is obtained; when the seasonal data is autumn, the autumn time-scene associated subdataset in the time-scene associated data set is obtained; when the seasonal data is winter, the winter time-scene associated subdataset in the time-scene associated data set is obtained.
[0037] Specifically, based on the clock data in the time data, when matching with all time ranges in the target time-scene associated sub-data set, all time ranges are extracted from the target time-scene associated sub-data set, and the clock data is compared with each time range respectively. During the comparison process, it is determined whether the hour data and minute data in the clock data fall within the current time range. If so, the current time range is used as the target time range.
[0038] Preferably, when judging whether the hour data and minute data in the clock data fall within the current time range, by obtaining the start time data and end time data corresponding to the current time range, if the hour data and minute data in the clock data are not less than the hour data and minute data corresponding to the start time data, and the hour data and minute data in the clock data are less than the hour data and minute data corresponding to the end time data, it is determined that the hour data and minute data in the clock data fall within the current time range.
[0039] In one embodiment, an environment-scene association data set under the target time scene is obtained, current ambient light data is collected based on an ambient light sensor, and data matching processing is performed on the ambient light data and the environment-scene association data set to obtain the target scene.
[0040] In one embodiment, an environment-scene association data set under the target time scenario is obtained, and based on an ambient light sensor, current ambient lighting data is collected, and data matching processing is performed on the ambient lighting data and the environment-scene association data set. When the target scene is obtained, the environment-scene association data set under the target time scenario is obtained, wherein the environment-scene association data set includes multiple ambient lighting intensity ranges and life scenes corresponding to the multiple ambient lighting intensity ranges; based on the ambient light sensor, the current ambient lighting data is collected, and the ambient lighting data is matched with all ambient lighting intensity ranges in the environment-scene association data set to obtain the target ambient lighting intensity range, and the target life scene corresponding to the target ambient lighting intensity range is used as the target scene.
[0041] Specifically, the ambient light sensor is used to detect the light intensity of the surrounding environment, and its measurement range can range from 0-10000 lux, with an accuracy of ±100 lux. By collecting the intensity of ambient light, the system can determine whether the current environment is bright or dim; for example, during a sunny day, the light intensity may reach 1000-10000 lux, while at night, the light intensity may be less than 10 lux.
[0042] Since the ambient light varies significantly throughout the day; for example, in the morning or evening, the ambient light intensity is average, in the evening, the ambient light intensity is low, and at noon, the ambient light intensity is high. Based on this, a day is divided into four scenes: midnight scene, morning scene, afternoon scene, and evening scene. Further scene distinction is also made based on the changes in light intensity in each time scene.
[0043] Specifically, the multiple ambient light intensity ranges are determined according to the ambient light intensity within a time range corresponding to the associated life scenes.
[0044] Example description: When the target time scene is the morning scene, its light intensity changes from weak to strong. Therefore, the light intensity range of the 6:00-9:00 am time period can be obtained, and the life scene corresponding to the ambient light intensity range can be set as the waking scene; the ambient light intensity range of the 9:00-12:00 am time period can be obtained, and the life scene corresponding to the ambient light intensity range can be set as the morning work scene; finally, the light intensity range of the 6:00-9:00 am time period is associated with the waking scene, and the ambient light intensity range of the 9:00-12:00 am time period is associated with the morning work scene, to obtain the environment-scene association data set under the morning scene; it can be understood that the two life scenes, namely the waking scene and the waking scene, set in the above example are only one possible implementation method, and the specific number of life scenes can be set based on the user's habits and general life patterns; similarly, for other time scenes, corresponding settings are also made based on the user's habits and general life patterns, and no specific limitation is made here.
[0045] Specifically, the multiple ambient light intensity ranges are determined according to the ambient light intensity within a time range corresponding to the associated life scenes.
[0046] Specifically, the ambient light data is matched with all ambient light intensity ranges in the environment-scene associated data set. When the target ambient light intensity range is obtained, all ambient light intensity ranges are extracted from the environment-scene associated data set, and the ambient light data is compared with each ambient light intensity range respectively. During the comparison process, it is determined whether the ambient light data falls within the current ambient light intensity range. If so, the current ambient light intensity range is used as the target ambient light intensity range.
[0047] Preferably, when judging whether the ambient light data falls within the current ambient light intensity range, the starting ambient light intensity and the ending ambient light intensity corresponding to the current ambient light intensity range are obtained. If the ambient light data is not less than the ambient light intensity and the ambient light data is less than the ending ambient light data, it is determined that the ambient light data falls within the current ambient light intensity range.
[0048] Preferably, in addition to being equipped with a time sensor and an ambient light sensor for collecting time data and ambient light intensity, an infrared sensor and a temperature sensor can also be equipped. The infrared sensor can be used to detect whether there are people active in the room, and the temperature sensor can be used to obtain the current ambient temperature to judge the environmental comfort level of the current environment, etc.; this can further provide a basis for scene recognition based on human activity and environmental comfort level.
[0049] Specifically, each life scene is further refined to obtain a refined life scene, and a corresponding ideal human activity situation and an ideal environmental comfort level are configured for each refined life scene, and an activity-refined scene association data set is generated for each life scene. After determining the target life scene, the current human activity situation is obtained based on an infrared sensor, and the current environmental comfort level is obtained based on a temperature sensor. The current human activity situation and the current environmental comfort level are respectively matched with the ideal human activity situation and the ideal environmental comfort level corresponding to each refined life scene in the activity-refined life scene association data set to obtain a target refined life scene.
[0050] Step 102: Determine lighting adjustment parameters based on the target scene, and generate lighting parameter adjustment instructions based on the lighting adjustment parameters.
[0051] In one embodiment, a pre-set scene-lighting parameter association data set is obtained, wherein the scene-lighting parameter association data set includes all scenes and the lighting parameters corresponding to all the scenes; the target scene is matched with all the scenes in the scene-lighting parameter association data set to determine the matching scene, and the target lighting parameters corresponding to the matching scene are used as lighting adjustment parameters.
[0052] Specifically, for different scenes, the system defines corresponding ideal lighting parameters. For example, in reading scenes, the brightness requirements are high (500-1000lux) and the color temperature is cooler (4000-5000K); in leisure scenes, the brightness is moderate (200-500lux) and the color temperature is warmer (2700-3500K); by associating all scenes and the ideal lighting parameters corresponding to each scene, and integrating all scenes and the lighting parameters corresponding to all scenes, the scene-lighting parameter association data is obtained.
[0053] Specifically, the target scene is matched with all scenes in the scene-lighting parameter association data set. When determining the matching scene, all scenes are extracted from the scene-lighting parameter association data set, and the similarity between the target scene and each environment in all scenes is calculated respectively, and the scene corresponding to the highest value of similarity pairs is taken as the matching scene.
[0054] In one embodiment, the lighting adjustment parameters include color adjustment parameters, brightness adjustment parameters and color temperature adjustment parameters.
[0055] Specifically, for the color adjustment parameters: by using RGBW four-color light source and setting a corresponding color channel for each color, different color channels respectively control the output ratio of different colors; wherein each color channel is provided with blue light of different wavelengths; specifically, a blue light with a wavelength of 440-450nm is set for the R color channel, a blue light with a wavelength of 450-460nm is set for the G color channel, a blue light with a wavelength of 470-480nm is set for the B color channel, and a blue light with a wavelength of 660-680nm is set for the W color channel,
[0056] Example description: In a romantic scene, the output ratio of the W color channel (660-680NM) may be increased to make the light appear warmer; in an efficient work scene, the output of the G color channel (450-460nm) may be increased to provide bright cool white light; specifically, according to the scene requirements, the proportion of each color channel corresponding to each scene is calculated in advance to obtain the color adjustment parameters corresponding to each scene; assuming that in a certain leisure scene, the ratio of R:G:B:W may be set to 10:10:5:75 to achieve a suitable color effect.
[0057] Specifically, for the brightness adjustment parameter: the brightness adjustment parameter corresponding to each scene is determined according to each scene and the data of the corresponding ambient light sensor. If it is during the day and the ambient light is strong, the brightness adjustment parameter is set to a lower brightness; and at night, when the ambient light is weak, the brightness adjustment parameter is set to a higher brightness.
[0058] Example description: When the ambient light intensity is 5000 lux during the day, the light intensity adjustment parameter is set to 200 lux to set the brightness of the indoor lighting equipment to 200 lux; when the ambient light intensity is 10 lux at night, the light intensity adjustment parameter is set to 500 lux to increase the brightness of the indoor lighting equipment to 500 lux; brightness adjustment is achieved by adjusting the power of the four RGBW channels, and a smooth brightness transition can be achieved to avoid sudden brightness changes causing discomfort to users.
[0059] Specifically, for the color temperature adjustment parameters: color temperature adjustment is mainly achieved through the mixing ratio of RGB channels. In scenes requiring cool colors, such as work scenes, the color temperature adjustment parameters are set so that the system increases the proportion of blue light components in the white channel, raising the color temperature to 4000-5000K; in scenes requiring warm colors, such as rest scenes, the color temperature adjustment parameters are set so that the blue light components are reduced, the red and green light components are increased, and the color temperature is reduced to 2700-3500K.
[0060] Step 103: Send the lighting parameter adjustment instruction to the lighting device, so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction.
[0061] In one embodiment, the lighting parameter adjustment instruction is sent to the lighting device based on a preset communication protocol, so that after receiving the lighting parameter adjustment instruction, the lighting device obtains the lighting adjustment parameters in the lighting parameter adjustment instruction, wherein the lighting adjustment parameters include color adjustment parameters, brightness adjustment parameters and color temperature adjustment parameters; based on the color adjustment parameters, the output ratio of different color channels in the lighting device is adjusted, based on the brightness adjustment parameters, the lighting brightness in the lighting device is adjusted, and based on the color temperature adjustment parameters, the mixing ratio of RGB channels in the lighting device is adjusted.
[0062] Specifically, the preset communication protocol includes but is not limited to ZigBee, Wi-Fi, etc.; preferably, when the communication protocol adopts the ZigBee protocol, the communication frequency is 2.4GHz and the transmission rate can reach 250kbps, ensuring that the lighting parameter adjustment instructions can be quickly and accurately transmitted to the lighting equipment.
[0063] Specifically, after receiving the lighting parameter adjustment instruction, the lighting device executes the adjustment operation of the lighting adjustment parameter in the lighting parameter adjustment instruction.
[0064] In one embodiment, the lighting parameter adjustment instruction is sent to the lighting device, so that after the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction, the execution status of the lighting parameter adjustment instruction is also obtained to determine whether the current lighting parameter adjustment is successful.
[0065] In one embodiment, the current lighting parameters of the lighting device after executing the lighting parameter adjustment are obtained, and the current lighting parameters are compared with the lighting adjustment parameters in the lighting parameter adjustment instruction. If the current lighting parameters and the lighting adjustment parameters are inconsistent, the difference data between the current lighting parameters and the lighting adjustment parameters are obtained, and based on the difference data, a lighting parameter secondary adjustment instruction is generated; the lighting parameter secondary adjustment instruction is sent to the lighting device, so that the lighting device adjusts the lighting parameters based on the lighting parameter secondary adjustment instruction.
[0066] Specifically, the current lighting parameters of the lighting device are obtained in real time, including color parameters, brightness parameters, color temperature parameters, etc.; the lighting parameters obtained in real time are compared with the lighting adjustment parameters to determine the difference data between the two, and the lighting parameter adjustment parameters are regenerated based on the difference data. For example, if warm tones need to be increased, the output ratio of the W color channel can be increased; if brighter cold white light is needed, the output of the G color channel is increased; the newly generated lighting parameter secondary adjustment instruction is resent to the lighting device, so that after the lighting device receives the lighting parameter secondary adjustment instruction, it performs secondary adjustment of the lighting parameter according to the lighting parameter secondary adjustment instruction.
[0067] Preferably, if the current lighting parameters and the lighting adjustment parameters are inconsistent due to reasons such as bulb aging, bulb aging feedback information is sent to the system through the lighting device, and the system can prompt the user to replace the bulb or perform other maintenance operations based on the bulb aging feedback information.
[0068] Example 2, see Figure 2 , Figure 2 is a structural schematic diagram of an embodiment of an intelligent control system for lighting equipment provided by the present application, such as Figure 2 As shown, the system includes a scene recognition module 201 , a lighting adjustment parameter determination module 202 and a lighting device adjustment module 203 .
[0069] The scene recognition module 201 is used to collect current time data and ambient light data, and perform scene recognition processing based on the time data and the ambient light data to obtain a target scene.
[0070] The lighting adjustment parameter determination module 202 is used to determine the lighting adjustment parameters based on the target scene, and generate lighting parameter adjustment instructions based on the lighting adjustment parameters.
[0071] The lighting device adjustment module 203 is used to send the lighting parameter adjustment instruction to the lighting device, so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction.
[0072] In one embodiment, the scene recognition module 201 is used to perform scene recognition processing based on the time data and the ambient light data to obtain a target scene, specifically including: based on a time sensor, collecting current time data, and performing data matching processing on the time data and a pre-built time-scene association data set to obtain a target time scene; obtaining an environment-scene association data set under the target time scene, based on an ambient light sensor, collecting current ambient light data, and performing data matching processing on the ambient light data and the environment-scene association data set to obtain a target scene.
[0073] In one embodiment, the scene recognition module 201 is used to collect current time data based on a time sensor, and perform data matching processing on the time data and a pre-constructed time-scene association data set to obtain a target time scene, specifically including: collecting current time data based on a time sensor, wherein the time data includes season data and clock data; obtaining a pre-constructed time-scene association data set, wherein the time-scene association data set includes time-scene association sub-data sets corresponding to four seasons, each time-scene association sub-data set includes multiple time ranges, and time scenes corresponding to the multiple time ranges; based on the season data in the time data, determining a target time-scene association sub-data set in the pre-constructed time-scene association data set, and based on the clock data in the time data, matching processing is performed with all time ranges in the target time-scene association sub-data set to obtain a target time range, and the time scene corresponding to the target time range is used as the target time scene.
[0074] In one embodiment, the scene recognition module 201 is used to obtain the environment-scene association data set under the target time scene, based on the ambient light sensor, collect the current ambient lighting data, and match the ambient lighting data with the environment-scene association data set to obtain the target scene, specifically including: obtaining the environment-scene association data set under the target time scene, wherein the environment-scene association data set includes multiple ambient light intensity ranges, and life scenes corresponding to the multiple ambient light intensity ranges; based on the ambient light sensor, collect the current ambient lighting data, match the ambient lighting data with all ambient light intensity ranges in the environment-scene association data set to obtain the target ambient light intensity range, and use the target life scene corresponding to the target ambient light intensity range as the target scene.
[0075] In one embodiment, the lighting adjustment parameter determination module 202 is used to determine the lighting adjustment parameters based on the target scene, specifically including: obtaining a preset scene-lighting parameter association data set, wherein the scene-lighting parameter association data set includes all scenes and the lighting parameters corresponding to all the scenes; matching the target scene with all the scenes in the scene-lighting parameter association data set to determine a matching scene, and using the target lighting parameters corresponding to the matching scene as the lighting adjustment parameters.
[0076] In one embodiment, the lighting device adjustment module 203 is used to send the lighting parameter adjustment instruction to the lighting device so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction, specifically including: sending the lighting parameter adjustment instruction to the lighting device based on a preset communication protocol, so that the lighting device obtains the lighting adjustment parameters in the lighting parameter adjustment instruction after receiving the lighting parameter adjustment instruction, wherein the lighting adjustment parameters include color adjustment parameters, brightness adjustment parameters and color temperature adjustment parameters; based on the color adjustment parameters, adjusting the output ratio of different color channels in the lighting device, based on the brightness adjustment parameters, adjusting the lighting brightness in the lighting device, and based on the color temperature adjustment parameters, adjusting the mixing ratio of RGB channels in the lighting device.
[0077] In one embodiment, the lighting device adjustment module 203 is used to send the lighting parameter adjustment instruction to the lighting device so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction, and is also used to: obtain the current lighting parameters after the lighting device executes the lighting parameter adjustment, compare the current lighting parameters with the lighting adjustment parameters in the lighting parameter adjustment instruction, if the current lighting parameters are inconsistent with the lighting adjustment parameters, obtain difference data between the current lighting parameters and the lighting adjustment parameters, and generate a secondary lighting parameter adjustment instruction based on the difference data; send the secondary lighting parameter adjustment instruction to the lighting device so that the lighting device adjusts the lighting parameters based on the secondary lighting parameter adjustment instruction.
[0078] The intelligent control system of the lighting device described above can implement the intelligent control method of the lighting device described above. The options in the method described above are also applicable to this embodiment and will not be described in detail here.
[0079] like Figure 3 As shown, Figure 3 It is a structural diagram of an electronic device provided by the present application; it includes a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114, and the memory 113 is used to store computer programs.
[0080] In one embodiment of the present application, the processor 111 is used to implement the intelligent control method of the lighting device provided by any one of the aforementioned method embodiments when executing the program stored in the memory 113.
[0081] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the intelligent control method for lighting equipment provided in any of the aforementioned method embodiments are implemented.
[0082] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0083] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0084] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0085] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. An intelligent control method for lighting equipment, characterized in that: include: Collecting current time data and ambient light data, and performing scene recognition processing based on the time data and the ambient light data to obtain a target scene; Based on the target scene, determining a lighting adjustment parameter, and based on the lighting adjustment parameter, generating a lighting parameter adjustment instruction; The lighting parameter adjustment instruction is sent to a lighting device, so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction.
2. The method according to claim 1, characterized in that Performing scene recognition processing based on the time data and the ambient light data to obtain a target scene specifically includes: Based on the time sensor, the current time data is collected, and the time data is matched with the pre-built time-scene association data set to obtain the target time scene; The environment-scene association data set under the target time scene is obtained, current ambient light data is collected based on an ambient light sensor, and data matching processing is performed on the ambient light data and the environment-scene association data set to obtain a target scene.
3. The method according to claim 2, characterized in that Based on the time sensor, the current time data is collected, and the time data is matched with the pre-built time-scene association data set to obtain the target time scene, specifically including: Based on the time sensor, current time data is collected, wherein the time data includes season data and clock data; Acquire a pre-constructed time-scene association dataset, wherein the time-scene association dataset includes time-scene association sub-datasets corresponding to four seasons, each time-scene association sub-dataset includes multiple time ranges and time scenes corresponding to the multiple time ranges; Based on the season data in the time data, a target time-scene associated sub-dataset in the pre-constructed time-scene associated data set is determined, and based on the clock data in the time data, a matching process is performed with all time ranges in the target time-scene associated sub-dataset to obtain a target time range, and a time scene corresponding to the target time range is used as a target time scene.
4. The method according to claim 2, characterized in that: Acquire the environment-scene association data set under the target time scene, collect current ambient light data based on the ambient light sensor, and perform data matching processing on the ambient light data and the environment-scene association data set to obtain the target scene, specifically including: Acquire an environment-scene association data set under the target time scene, wherein the environment-scene association data set includes multiple ambient light intensity ranges and life scenes corresponding to the multiple ambient light intensity ranges; Based on the ambient light sensor, the current ambient light data is collected, and the ambient light data is matched with all ambient light intensity ranges in the environment-scene associated data set to obtain a target ambient light intensity range, and the target life scene corresponding to the target ambient light intensity range is used as the target scene.
5. The method according to claim 1, characterized in that: Based on the target scene, determining lighting adjustment parameters specifically includes: Acquire a preset scene-lighting parameter association data set, wherein the scene-lighting parameter association data set includes all scenes and lighting parameters corresponding to all the scenes; The target scene is matched with all scenes in the scene-lighting parameter association data set to determine a matching scene, and the target lighting parameters corresponding to the matching scene are used as lighting adjustment parameters.
6. The method according to claim 1, characterized in that: Sending the lighting parameter adjustment instruction to a lighting device so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction specifically includes: Sending the lighting parameter adjustment instruction to the lighting device based on a preset communication protocol, so that the lighting device obtains the lighting adjustment parameters in the lighting parameter adjustment instruction after receiving the lighting parameter adjustment instruction, wherein the lighting adjustment parameters include color adjustment parameters, brightness adjustment parameters and color temperature adjustment parameters; Based on the color adjustment parameter, the output ratio of different color channels in the lighting device is adjusted; based on the brightness adjustment parameter, the lighting brightness in the lighting device is adjusted; based on the color temperature adjustment parameter, the mixing ratio of RGB channels in the lighting device is adjusted.
7. The method according to claim 1, characterized in that: After sending the lighting parameter adjustment instruction to the lighting device so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction, the method further includes: Acquire the current lighting parameter after the lighting device performs the lighting parameter adjustment, compare the current lighting parameter with the lighting adjustment parameter in the lighting parameter adjustment instruction, and if the current lighting parameter is inconsistent with the lighting adjustment parameter, acquire difference data between the current lighting parameter and the lighting adjustment parameter, and generate a secondary lighting parameter adjustment instruction based on the difference data; The lighting parameter secondary adjustment instruction is sent to the lighting device, so that the lighting device adjusts the lighting parameters based on the lighting parameter secondary adjustment instruction.
8. An intelligent control system for lighting equipment, characterized in that: include: A scene recognition module, a lighting adjustment parameter determination module, and a lighting equipment adjustment module; The scene recognition module is used to collect current time data and ambient light data, and perform scene recognition processing based on the time data and the ambient light data to obtain a target scene; The lighting adjustment parameter determination module is used to determine the lighting adjustment parameters based on the target scene, and generate lighting parameter adjustment instructions based on the lighting adjustment parameters; The lighting device adjustment module is used to send the lighting parameter adjustment instruction to the lighting device, so that the lighting device adjusts the lighting parameters based on the lighting parameter adjustment instruction.
9. An electronic device, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is used to implement the intelligent control method of the lighting device according to any one of claims 1-7 when executing the program stored in the memory.
10. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the intelligent control method for lighting equipment according to any one of claims 1 to 7 of the present application.
