A lighting control method, an air conditioning device, an equipment, and a storage medium.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2026-08-14
AI Technical Summary
[0003]然而,当前的智能灯具通常采用默认统一的设置,如果智能灯具位于不同的地理位置,例如在多个不同国家使用时,不能根据当地的地理位置情况对灯光进行自动化调整,也即,不能结合位置特征实现灯光的自适应调控
[0031]可见,本申请先获取目标灯具所在的目标地理位置,然后确定与所述目标地理位置关联的类型信息,最后从预设映射关系表中确定与所述类型信息对应的照明参数值,并基于所述照明参数值对所述目标灯具的灯光进行调控。本申请预先创建了一个映射关系表,该表中记载了与不同地理位置关联的类型信息对应的最佳照明参数值,这样一来,在对灯具进行实时调控时,可以直接从该表中获取与当前氛围灯所在地理位置相关的类型信息对应的最佳照明参数值,本方案通过与地理位置关联的类型信息来确定最佳照明参数值,并基于该参数值对灯具进行调控,可以改善照明效果,提高了用户体验,同时可以适用于更加多样化的照明场景。
Smart Images

Figure CN122579400A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of lighting control technology, and in particular to a lighting control method, air conditioning device, equipment and storage medium. Background Technology
[0002] With the rapid development of modern technology, such as artificial intelligence and big data, people's quality of life is improving. Driven by the pursuit of higher-quality living conditions, many new technologies, products, and high-end control systems have emerged in the field of smart homes. Among these, the creation of indoor atmosphere is a product of the smart home industry. Currently, there are many products that can create atmosphere in indoor settings, such as smart speakers with ambient lighting, smart humidifiers, and smart table lamps. Ambient lighting, as a type of smart lighting fixture, not only decorates the interior space but also generates corresponding lighting effects based on ambient light.
[0003] However, current smart lighting fixtures typically use a uniform default setting. If the smart lighting fixtures are located in different geographical locations, such as being used in multiple different countries, they cannot automatically adjust the lighting according to the local geographical conditions. In other words, they cannot achieve adaptive control of the lighting by combining location characteristics. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide a lighting control method, air conditioning device, equipment, and storage medium that can improve lighting effects, create a high-quality lighting atmosphere, and enhance user experience. The specific solution is as follows:
[0005] In a first aspect, this application discloses a lighting control method, comprising:
[0006] Obtain the target geographical location of the target light fixture;
[0007] Determine the type information associated with the target geographic location;
[0008] The lighting parameter values corresponding to the type information are determined from the preset mapping table, and the lighting of the target lamp is adjusted based on the lighting parameter values.
[0009] Optionally, obtaining the target geographical location of the target lighting fixture includes:
[0010] Obtain the IP address of the current target ambient light, and based on the IP address, obtain the geographical location of the target ambient light to get the target geographical location;
[0011] The target geographical location includes at least one of latitude and longitude information, region information, and altitude information.
[0012] Optionally, the type information associated with the target geographic location includes: the sunrise time and sunset time at the target geographic location.
[0013] Optionally, the type information associated with the target geographic location includes: the climate at the target geographic location.
[0014] Optionally, the lighting parameter values include at least one of color temperature, illuminance, wavelength, and light wave.
[0015] Optionally, before obtaining the target geographical location of the target light fixture, the method further includes:
[0016] The sunrise and sunset times for each day of the year are collected from different geographical locations to obtain multiple historical sunrise and sunset times for each geographical location.
[0017] Set optimal lighting parameter values for each historical sunrise and sunset time corresponding to the geographical location area;
[0018] Establish a mapping relationship between the optimal lighting parameter values, the geographical location area, and the corresponding historical sunrise and sunset times, and save the mapping relationship to a preset mapping relationship table.
[0019] Optionally, setting optimal lighting parameter values for each historical sunrise and sunset time corresponding to the geographical location area includes:
[0020] Based on the historical sunrise and sunset times, the daily time in the corresponding geographical area is divided into time periods to obtain multiple time periods;
[0021] Set the optimal lighting parameter values for each of the time periods corresponding to the geographical location.
[0022] Optionally, setting optimal lighting parameter values for each time period corresponding to the geographical location area includes:
[0023] Based on the preset spatial area, set the optimal lighting parameter values for each time period corresponding to the geographical location area.
[0024] Optionally, after adjusting the light of the target luminaire based on the lighting parameter values, the method further includes:
[0025] Generate a control record for the target luminaire and save the control record to a preset storage space; the control record includes the target geographical location, the type information, the lighting parameter values, the current time, and the control result.
[0026] Secondly, this application discloses an air conditioning device, including an air conditioning program; wherein, when the air conditioning program is executed by a processor, it implements the aforementioned lighting control method.
[0027] Optionally, the air conditioning device is a humidifier, used to obtain the humidification amount of the humidifier; and to adjust the number of lights and / or the lighting area of the target lamp based on the lighting parameter value and the humidification amount;
[0028] The humidification amount is directly proportional to the number of lights and the area illuminated.
[0029] Thirdly, this application discloses an electronic device, including a processor and a memory; wherein, when the processor executes a computer program stored in the memory, it implements the aforementioned light control method.
[0030] Fourthly, this application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned light control method.
[0031] As can be seen, this application first obtains the target geographical location of the target luminaire, then determines the type information associated with the target geographical location, and finally determines the lighting parameter value corresponding to the type information from a preset mapping table, and adjusts the lighting of the target luminaire based on the lighting parameter value. This application pre-creates a mapping table that records the optimal lighting parameter values corresponding to the type information associated with different geographical locations. In this way, when adjusting the luminaire in real time, the optimal lighting parameter value corresponding to the type information related to the current ambient light's geographical location can be directly obtained from this table. This solution determines the optimal lighting parameter value by using the type information associated with the geographical location, and adjusts the luminaire based on the parameter value, which can improve the lighting effect, enhance the user experience, and is applicable to more diverse lighting scenarios. Attached Figure Description
[0032] 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, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0033] Figure 1 This is a flowchart of a lighting control method disclosed in this application;
[0034] Figure 2 This is a specific statistical diagram of sunrise and sunset information disclosed in this application;
[0035] Figure 3 This is a schematic diagram of a specific lighting parameter setting based on the influence of sleep light disclosed in this application;
[0036] Figure 4 This is a schematic diagram of a specific humidifier light control disclosed in this application;
[0037] Figure 5 This is a flowchart of a specific lighting control method disclosed in this application;
[0038] Figure 6 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation
[0039] 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, and 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.
[0040] This application discloses a lighting control method. See [link to relevant documentation] Figure 1 As shown, the method includes:
[0041] Step S11: Obtain the target geographical location of the target light fixture.
[0042] In this embodiment, when adjusting the lighting, the geographical location of the target light fixture to be adjusted is first obtained to obtain the target geographical location. The target geographical location includes, but is not limited to, latitude and longitude information, country information, region information, and altitude information. This location information can be collected through a Geographic Information System (GIS). Alternatively, it can be obtained through other methods, such as geographical location information pre-entered by the user on the interactive interface, or location information actively obtained through GPS (Global Positioning System), such as latitude and longitude information.
[0043] Specifically, obtaining the target geographical location of the target light fixture may include: obtaining the IP address of the current target ambient light, and obtaining the geographical location of the target ambient light based on the IP address, thus obtaining the target geographical location; the target geographical location includes at least one of latitude and longitude information, region information, and altitude information. In this embodiment, to improve the accuracy and reliability of the obtained geographical location, the IP address of the current target ambient light can be obtained according to a preset time period (e.g., every hour), and then the geographical location of the target light fixture can be obtained based on the IP address; the geographical location specifically includes at least one of latitude and longitude information, region information, and altitude information, and this information can be obtained from the storage server in real time. It is understood that through accurate location identification, the geographical location of the target ambient light can be accurately determined, thereby providing a data foundation for subsequent lighting fixture control based on location information, and generating targeted control strategies in combination with the location information of the lighting fixture.
[0044] Step S12: Determine the type information associated with the target geographic location.
[0045] In this embodiment, after obtaining the target geographical location of the target lighting fixture, the type information associated with the target geographical location can be further determined. This type information can be information that changes with geographical location, such as sunrise time, sunset time, and climate information. Sunrise and sunset times can be retrieved from public sunrise / sunset time platforms or calculated by a program (such as a program containing a sunrise / sunset time calculation formula).
[0046] It should be noted that before obtaining the target geographical location of the target light fixture, the process specifically includes: collecting the sunrise and sunset times for each day of the year in different geographical locations to obtain multiple historical sunrise and sunset times corresponding to each geographical location; setting optimal lighting parameter values for each historical sunrise and sunset time corresponding to the geographical location; establishing a mapping relationship between the optimal lighting parameter values, the geographical location, and the corresponding historical sunrise and sunset times, and saving the mapping relationship to a preset mapping relationship table. In this embodiment, a mapping relationship table is pre-created before adjusting the lighting. This table records the mapping relationship between different geographical locations and the sunrise and sunset times of the corresponding areas, as well as the optimal lighting parameter values. It is understood that the sunrise and sunset times for the same date differ between different geographical locations, and the sunrise and sunset times for different dates within a single geographical location also differ. Therefore, the corresponding geographical location can be determined by the sunrise and sunset times and the date. Specifically, the sunrise and sunset times for each day of the year (i.e., 365 days a year) in different geographical locations can be collected first to obtain multiple historical sunrise and sunset times corresponding to each geographical location. For example, see [link to relevant documentation]. Figure 2 As shown, sunrise, sunset, and zenith times for a specific geographical area from November 1st to November 7th were collected. On November 1st, sunrise was 06:27, sunset was 17:46, and zenith was 12:07. Next, optimal lighting parameters were set for multiple historical sunrise and sunset times corresponding to different geographical areas. These lighting parameters could include any one or more of illuminance, color temperature, wavelength, and light frequency. Finally, a mapping relationship was established between the optimal lighting parameters, the corresponding geographical area, and the historical sunrise and sunset times, and this mapping relationship was saved to a preset mapping relationship table. For example, see [link to example]. Figure 3 As shown, Figure 3This demonstrates how to set optimal sleep light values (i.e., optimal lighting parameter values) based on sunrise and sunset times, combined with the influence and effects of sleep light. Sunset time should promote the secretion of melatonin, thus helping users fall asleep more easily. At this time, lighting parameters that promote melatonin secretion can be selected, such as low color temperature (K, Kelvin), low illuminance (LUX), long wavelength, and low frequency light waves (Hz). Specifically, the color temperature can be set below 2000K, and the illuminance can be set within the range of 10-30 lux. (Late night...) The light intensity can be less than 5 lux, the wavelength can be set in the range of 446-477 nm, and the light frequency can be set in the range of 0.5-3.5 lux per second. For sunrise, since it is necessary to suppress melatonin secretion, a high color temperature and high illuminance can be selected to enhance attention and awaken bodily functions. Specifically, the color temperature can be set in the range of 2700K-4000K, the morning illuminance can be set in the range of 100-200 lux, and the daytime illuminance can be set in the range of 300-750 lux. After making the above settings, the light intensity can be... Figure 3 The mapping relationships are stored in a preset mapping relationship table.
[0047] Specifically, setting optimal lighting parameter values for each historical sunrise and sunset time corresponding to the geographical location area may include: dividing the daily time of the corresponding geographical location area into multiple time periods based on the historical sunrise and sunset times; and setting optimal lighting parameter values for each of the time periods corresponding to the geographical location area. In this embodiment, considering that when only sunrise and sunset times are involved, the time span is large, and there may be other situations in the middle time period, such as the time of upper zenith, such as the light intensity of a certain region being different every hour, it is necessary to adjust the lighting effect in a timely manner. Specifically, the time of day in different geographical locations can be divided into time periods based on the historical sunrise and sunset times of the whole year corresponding to different geographical locations, so as to obtain multiple time periods. For example, see Table 1. Table 1 shows the result of dividing the time of the whole day of May 1st in a certain region based on sunrise and sunset times. Among them, the time period from 06:05 to 06:27 represents the time from dawn to sunrise. The daytime is divided into time periods according to the time interval of 1 hour, such as 06:27 to 07:27, etc. The time period from 17:11 to 17:46 represents the time from sunset to twilight. The nighttime is also divided into time periods according to the time interval of 1 hour, such as 17:46 to 18:46. Furthermore, optimal lighting parameters are set for each geographical location, corresponding to the relevant historical sunrise and sunset times and time periods. These optimal parameters can be selected based on actual application needs. For example, a higher color temperature results in a yellower light, and the higher the color temperature, the more the light changes from white to blue. The color of light affects melatonin secretion. When white light contains more blue light than warm yellow light, it inhibits melatonin secretion, making people feel alert. Conversely, yellow light has less impact on melatonin secretion, so people feel more relaxed under it. Therefore, a higher color temperature can be set during the day and a lower color temperature at night. Additionally, the color temperature can be selected based on actual work needs. For example, in a work environment, high color temperature white light can help people maintain focus, while low color temperature warm yellow light can be chosen when reading in a relaxed state, thus not affecting melatonin secretion and allowing people to relax before sleep, lower their alertness, and fall asleep more easily. Specifically, as shown in Table 1, the optimal lighting parameters for the dawn-sunrise period (6:05:00-6:27:00) can be selected from color temperature (K): 2700K-4000K, illuminance (LUX): 100-200LUX, wavelength (NM): 446-477NM, and light wave (Hz): 2-3.5Hz.
[0048] Table 1
[0049]
[0050]
[0051] Specifically, setting optimal lighting parameter values for each time period corresponding to the geographical location region can include: setting optimal lighting parameter values for each time period corresponding to the geographical location region based on a preset spatial region. In this embodiment, considering that different spatial regions may require different lighting effects, the spatial region where the lamp is located can be taken into account when setting the optimal lighting parameter values, thereby meeting more diverse scene atmospheres and lighting needs. For example, referring to Table 2, after dividing the time of a certain region on a certain day based on sunrise and sunset times, the corresponding optimal lighting parameter values / ranges can be set by further combining the spatial region where the lamp is located. The spatial region includes, but is not limited to, bedrooms, living rooms, studies, stairs, and dining rooms. For example, in the sunrise-dawn period (6:05:00-6:27:00) in Table 2, the lighting parameters for the bedroom can be set as follows: color temperature (K): 2700K-3000K, illuminance (LUX): 100-150LUX, wavelength (NM): 446-477NM, light wave (Hz): 2-3.5Hz; the lighting parameters for the living room can be set as follows: color temperature (K): 2700K-3000K, illuminance (LUX): 100-150LUX, wavelength (NM): 446-477NM, light wave (Hz): 2-3.5Hz; Lighting parameters for the study: Color temperature (K): 4000K, Illuminance (LUX): 150-250LUX, Wavelength (NM): 446-477NM, Light wave (Hz): 2-3.5; Lighting parameters for the dining room: Color temperature (K): 3500K-4000K, Illuminance (LUX): 1500-750LUX, Wavelength (NM): 446-477NM, Light wave (Hz): 2-3.5; The parameters are set as follows: Color temperature (K): 4000K, Illuminance (LUX): 150-250LUX, Wavelength (NM): 446-477NM, Light wave (Hz): 2-3.5Hz; Simultaneously, the stairwell lighting parameters are set as follows: Color temperature (K): ≤2000K, Illuminance (LUX): 75-30LUX, Wavelength (NM): 446-477NM, Light wave (Hz): 0.5-3.5Hz. Additionally, it is understandable that the space and duration of time spent by users vary at different times. For example, at night, users are usually asleep and therefore spend relatively more time in the bedroom, while during the day, users are typically active in the living room and therefore spend relatively more time there.
[0052] Table 2
[0053]
[0054]
[0055]
[0056] Specifically, determining the type information associated with the target geographical location may include: determining the sunrise and sunset times at the current target geographical location to obtain the current sunrise and sunset times. It is understood that sunrise and sunset times will change accordingly with changes in geographical location, such as... Figure 2 Sunrise and sunset times vary in the same region on different dates, so sunrise and sunset times can be used as information to associate with the target's geographical location.
[0057] Specifically, the type information associated with the target geographical location may include: sunrise time, sunset time, and climate at the target geographical location. In this embodiment, considering that different climates have a significant impact on the control of ambient lighting, different regional climates, such as cloudy, rainy, heavy rain, typhoons, low visibility, solar eclipses, and lunar eclipses, are not suitable for lighting effects at sunrise and sunset times. Therefore, when obtaining sunrise and sunset times, climate factors can be taken into account, thereby providing a more accurate data basis for generating subsequent control strategies. Climate information includes, but is not limited to, solar intensity, air visibility, sunny or rainy days, and the presence of smog. Specifically, lighting parameter values corresponding to different types of climates can be preset. In this way, lighting parameters that are suitable for the current climate can be determined for the current lighting fixtures. By combining weather conditions for lighting control, the accuracy of the control strategy can be improved, and the poor control effect caused by extreme weather such as heavy rain and typhoons can be avoided.
[0058] Step S13: Determine the lighting parameter value corresponding to the type information from the preset mapping relationship table, and adjust the lighting of the target lamp based on the lighting parameter value.
[0059] In this embodiment, after determining the type information associated with the target geographical location, the lighting parameter value corresponding to the above type information (such as sunrise time, sunset time, etc.) can be directly determined from the preset mapping relationship table. Then, the lighting parameters of the target lamp are set based on the lighting parameter value, thereby realizing the control of the light.
[0060] In this embodiment, when determining the lighting parameter value corresponding to the type information from the preset mapping relationship table, the climate of the target lamp location can be determined first. If the current climate is extreme weather such as rainstorm, fog, or typhoon, the lighting can be adjusted according to the lighting control strategy formulated in advance for different climates, so as to better match the actual lighting scene and avoid poor control effect caused by extreme climate, thereby meeting the user's actual lighting needs.
[0061] In addition, the space where the target luminaire is located can be determined, and then the lighting parameter values corresponding to the type information (such as sunrise time, sunset time, and spatial information) can be extracted from a preset mapping table. That is, not only is information that changes with geographical location considered, but also spatial information is incorporated, so that the generated control strategy is more in line with the actual ambient lighting needs.
[0062] As can be seen, this application embodiment first obtains the target geographical location of the target luminaire, then determines the type information associated with the target geographical location, wherein the type information is information that changes with the geographical location. Finally, it determines the lighting parameter value corresponding to the type information from a preset mapping relationship table, and adjusts the lighting of the target luminaire based on the lighting parameter value. This application pre-creates a mapping relationship table, which records the optimal lighting parameter values corresponding to the type information associated with different geographical locations. In this way, when adjusting the luminaire in real time, the optimal lighting parameter value corresponding to the type information related to the current geographical location of the ambient light can be directly obtained from this table. This solution determines the optimal lighting parameter value by using the type information associated with the geographical location, and adjusts the luminaire based on the parameter value, which can improve the lighting effect, enhance the user experience, and be applicable to more diverse lighting scenarios.
[0063] Specifically, this application discloses an air conditioning device that includes an air conditioning program. When the air conditioning program is executed by a processor, it can perform the lighting control steps S11 to S13 described above. The air conditioning device can be an air purifier, humidifier, or dehumidifier, etc.
[0064] When the air conditioning device is a humidifier, it can specifically be used to obtain the humidification capacity of the humidifier and adjust the number of lights and / or the lighting area of the target lamp based on the lighting parameter value and the humidification capacity; the humidification capacity is proportional to the number of lights and the lighting area. In this embodiment, the object of light control can be an ambient light installed on an air conditioning device (such as a humidifier). The humidifier draws water from the water tank to the water distribution slot at the top of the filter screen, and then distributes the water evenly on the mesh fabric through the water distribution slot. The machine has a fan inside that can draw air from the outside and guide it to the mesh fabric, and then carry the moisture on the mesh fabric out to the outside space, thereby humidifying the air. An ambient light is installed on the outer shell or water tank of the humidifier. In addition, the humidifier is equipped with multiple LED lights or light strips, and the corresponding number of lights or lighting areas can be set according to the humidification level of the humidifier. Specifically, you can first obtain the humidification level of the humidifier where the ambient light is located, and then adjust the number of lights and / or the illuminated areas based on the determined lighting parameter values and humidification level. For example, see... Figure 4As shown, when the humidifier's humidification capacity is less than 500ml / h, the number of lights on a single humidifier is set to 1, and the corresponding illuminated area is set to 20%. When the humidifier's humidification capacity is between 500-700ml / h, the number of lights on a single humidifier is set to 2, and the corresponding illuminated area is set to 40%. When the humidifier's humidification capacity is between 700-1000ml / h, the number of lights on a single humidifier is set to 3, and the corresponding illuminated area is set to 60%. When the humidifier's humidification capacity is greater than 1000ml / h, the number of lights on a single humidifier is set to 4, and the corresponding illuminated area is set to 100%. Furthermore, when there are multiple humidifiers of the same type in a space (i.e., when the number of humidifiers is ≥2), the number of light zones on each humidifier can be reduced proportionally to maintain the overall lighting effect in the space.
[0065] Furthermore, air conditioning devices (such as humidifiers) can also have the function of user-initiated adjustment. When the user's active adjustment or setting of lighting parameters is detected, the humidifier can control the lighting according to the user's adjusted or set lighting parameters. For example, if the user lowers the color temperature or illuminance of the lighting by 10%, the humidifier will automatically lower it by 10% based on the current lighting parameter value and provide the user with the reference value after the reduction. If the user clicks to accept, the parameter value after the 10% reduction will be used by default. If the user rejects, the parameter value in the preset mapping table can be used.
[0066] This application discloses a specific method for controlling lighting; see [link to relevant documentation]. Figure 5 As shown, the method includes:
[0067] Step S21: Obtain the target geographical location of the target light fixture.
[0068] Step S22: Determine the type information associated with the target geographic location.
[0069] Step S23: Determine the lighting parameter value corresponding to the type information from the preset mapping relationship table, and adjust the lighting of the target lamp based on the lighting parameter value.
[0070] Step S24: Generate a control record for the current target luminaire and save the control record to a preset storage space; the control record includes the target geographical location, the type information, the lighting parameter value, the current time, and the control result.
[0071] In this embodiment, after adjusting the lighting of the target lamp based on the determined lighting parameter values, an adjustment record containing the target geographical location, the type information, the lighting parameter values, the current time, and the adjustment result can be generated, and then the adjustment record can be saved to a preset storage space.
[0072] For more detailed processing procedures of steps S21 to S23, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.
[0073] As can be seen, this embodiment determines the lighting parameter values corresponding to the type information from a preset mapping table, and after adjusting the lighting of the target lamp based on the lighting parameter values, generates an adjustment record containing the target geographical location, the type information, the lighting parameter values, the current time, and the adjustment result. This adjustment record is then saved to a preset storage space. In this way, even when the machine where the lamp is located is offline, the lighting effect of the lamp can be automatically adjusted based on historical lighting parameter values, such as the lighting parameter values of the same time period on the previous day or the average lighting parameter values of the same time period over the past seven days. Furthermore, this solution can automatically adjust the lighting according to the local geographical location, thereby achieving location-based adaptive control. This not only provides users with a better lighting atmosphere and improves the user experience, but also enriches the lighting effects and is applicable to various lighting scenarios.
[0074] In one embodiment, the light intensity of a device with lighting effects (such as a table lamp, refrigerator, washing machine, vacuum cleaner, air purifier, humidifier, dehumidifier, electric fan, microwave oven, induction cooker, oven, etc.) has a significant impact on a person's mood and health, especially at different times of day, such as sunrise and sunset. At sunset, choosing a low color temperature (e.g., below 2000K) and low illuminance (e.g., 10-30 lux) can promote melatonin secretion. Melatonin is an important hormone that helps regulate the sleep-wake cycle. Appropriate lighting conditions can help the body prepare for sleep, improve sleep quality, and sufficient melatonin secretion helps relax the mind and body, reduce anxiety, improve mood, thus making it easier to fall asleep and maintain a good mental state. Conversely, at sunrise, choosing a high color temperature (e.g., 2700K-4000K) and high illuminance (e.g., 100-200 lux) can inhibit melatonin secretion and awaken bodily functions. This type of lighting can enhance attention and alertness, and bright light helps improve mood, reduce depressive symptoms, and enhance positive emotions. Morning sunlight can stimulate the brain to release more serotonin, a neurotransmitter associated with happiness and well-being. Meanwhile, at night, low-frequency light (e.g., 0.5-3.5 Hz) is recommended, as this helps the body relax and is suitable for a pre-sleep environment. In the early morning, high-frequency light promotes alertness and energy. Appropriate light frequencies can influence a person's circadian rhythm, helping to regulate the biological clock and thus affecting mood and overall health. Frequencies that are too high or too low can lead to physical discomfort, such as insomnia or low mood. By properly setting light parameters, one can effectively regulate their physiological and psychological state. At sunset, low color temperature and low illuminance can promote melatonin secretion, aiding in sleep and improving sleep quality; while at sunrise, high color temperature and high illuminance can enhance attention, improve mood, and awaken bodily functions. Such light management not only helps promote good sleep habits but also helps improve daytime work efficiency and quality of life.
[0075] Furthermore, embodiments of this application also disclose an electronic device, Figure 6 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.
[0076] Figure 6 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. Specifically, the electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the lighting control method disclosed in any of the foregoing embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be a computer.
[0077] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0078] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0079] The operating system 221 is used to manage and control the various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program capable of performing the lighting control method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include a computer program capable of performing other specific tasks.
[0080] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned disclosed lighting control method. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.
[0081] Furthermore, embodiments of this application also disclose a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of the aforementioned disclosed lighting control method.
[0082] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.
[0083] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0084] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0085] Finally, 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.
[0086] The above provides a detailed description of a lighting control method, air conditioning device, equipment, and storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for controlling lighting, characterized in that, include: Obtain the target geographical location of the target light fixture; Determine the type information associated with the target geographic location; The lighting parameter values corresponding to the type information are determined from the preset mapping table, and the lighting of the target lamp is adjusted based on the lighting parameter values.
2. The lighting control method according to claim 1, characterized in that, The acquisition of the target geographical location of the target lighting fixture includes: Obtain the IP address of the current target ambient light, and based on the IP address, obtain the geographical location of the target ambient light to get the target geographical location; The target geographical location includes at least one of latitude and longitude information, region information, and altitude information.
3. The lighting control method according to claim 1, characterized in that, The type information associated with the target geographic location includes: the sunrise time and sunset time at the target geographic location.
4. The lighting control method according to claim 1, characterized in that, The type information associated with the target geographic location includes: the climate at the target geographic location.
5. The lighting control method according to claim 1, characterized in that, The lighting parameter values include at least one of color temperature, illuminance, wavelength, and light wave.
6. The lighting control method according to claim 1, characterized in that, Before obtaining the target geographical location of the target light fixture, the method further includes: The sunrise and sunset times for each day of the year are collected from different geographical locations to obtain multiple historical sunrise and sunset times for each geographical location. Set optimal lighting parameter values for each historical sunrise and sunset time corresponding to the geographical location area; Establish a mapping relationship between the optimal lighting parameter values, the geographical location area, and the corresponding historical sunrise and sunset times, and save the mapping relationship to a preset mapping relationship table.
7. The lighting control method according to claim 6, characterized in that, The step of setting optimal lighting parameter values for each historical sunrise and sunset time corresponding to the geographical location area includes: Based on the historical sunrise and sunset times, the daily time in the corresponding geographical area is divided into time periods to obtain multiple time periods; Set the optimal lighting parameter values for each of the time periods corresponding to the geographical location.
8. The lighting control method according to claim 6, characterized in that, The step of setting optimal lighting parameter values for each time period corresponding to the geographical location area includes: Based on the preset spatial area, set the optimal lighting parameter values for each time period corresponding to the geographical location area.
9. The lighting control method according to any one of claims 1 to 8, characterized in that, After adjusting the light of the target luminaire based on the lighting parameter values, the method further includes: Generate a control record for the target luminaire and save the control record to a preset storage space; the control record includes the target geographical location, the type information, the lighting parameter values, the current time, and the control result.
10. An air conditioning device, characterized in that, Includes an air conditioning program; wherein, when the air conditioning program is executed by a processor, it implements the lighting control method as described in any one of claims 1 to 9.
11. The air conditioning device according to claim 10, characterized in that, The air conditioning device is a humidifier, used to obtain the humidification amount of the humidifier; and to adjust the number of lights and / or the area of light on the target lamp based on the lighting parameter values and the humidification amount. The humidification amount is directly proportional to the number of lights and the area illuminated.
12. An electronic device, characterized in that, It includes a processor and a memory; wherein, when the processor executes a computer program stored in the memory, it implements the lighting control method as described in any one of claims 1 to 9.
13. A computer-readable storage medium, characterized in that, Used to store a computer program; wherein, when the computer program is executed by a processor, it implements the lighting control method as described in any one of claims 1 to 9.