CN112969267B - Intelligent lamp control method and device, computer equipment and storage medium - Google Patents

Intelligent lamp control method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112969267B
CN112969267B CN202110242575.4A CN202110242575A CN112969267B CN 112969267 B CN112969267 B CN 112969267B CN 202110242575 A CN202110242575 A CN 202110242575A CN 112969267 B CN112969267 B CN 112969267B
Authority
CN
China
Prior art keywords
lamp
information
starting
data
temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110242575.4A
Other languages
Chinese (zh)
Other versions
CN112969267A (en
Inventor
张中奎
乐育东
毛强民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Helian Electronics Co ltd
Original Assignee
Shenzhen Helian Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Helian Electronics Co ltd filed Critical Shenzhen Helian Electronics Co ltd
Priority to CN202110242575.4A priority Critical patent/CN112969267B/en
Publication of CN112969267A publication Critical patent/CN112969267A/en
Application granted granted Critical
Publication of CN112969267B publication Critical patent/CN112969267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to the technical field of intelligent home, in particular to an intelligent lamp control method, an intelligent lamp control device, computer equipment and a storage medium, wherein the intelligent lamp control method comprises the following steps: when a lamp starting request is acquired, acquiring ambient light data from an ambient light detection sensor; acquiring a lamp terminal to be started from the lamp starting request, and generating starting brightness information according to the ambient light data and the lamp terminal to be started; acquiring outdoor environment temperature data, and generating starting tone information according to the outdoor environment temperature data; and generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting tone information, and sending the lamp starting response to the lamp terminal to be started. This application has the intelligent effect of promotion to lamps and lanterns control.

Description

Intelligent lamp control method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of smart home, in particular to a lamp intelligent control method and device, computer equipment and a storage medium.
Background
At present, lamps are a general term for lighting tools, and are products for providing light sources in working and living of people.
The existing lamp has an intelligent lamp, is a module embedded into the Internet in the traditional lighting system, so that the indoor lamp can be favored and used according to users, the brightness of the indoor lamp can be automatically adjusted according to the electricity utilization habits of the users, and the energy-saving effect is improved.
In view of the above-mentioned related technologies, the inventor believes that there is control of an intelligent lamp, and the control needs to be intelligently adjusted according to the setting of the user, which is weak in adaptability, and the intelligence of control of the lamp still needs to be improved.
Disclosure of Invention
In order to improve the intelligence of lamp control, the application provides a lamp intelligent control method, a device, computer equipment and a storage medium.
The above object of the present invention is achieved by the following technical solutions:
an intelligent lamp control method comprises the following steps:
when a lamp starting request is acquired, acquiring ambient light data from an ambient light detection sensor;
acquiring a lamp terminal to be started from the lamp starting request, and generating starting brightness information according to the ambient light data and the lamp terminal to be started;
acquiring outdoor environment temperature data, and generating starting tone information according to the outdoor environment temperature data;
and generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting tone information, and sending the lamp starting response to the lamp terminal to be started.
By adopting the technical scheme, the intensity of the started light source can be automatically adjusted according to the intensity of the light of the environment by acquiring the environment light data when the lamp starting request is acquired, so that the user experience can be improved, and the intelligence of the indoor lamp can be improved; when opening lamps and lanterns, according to the temperature of outdoor environment, open corresponding tone, thereby can make indoor personnel when the weather is hot, open the colour temperature of cold tone, when indoor personnel are in the weather cold, open the colour temperature of warm tone, thereby can further promote indoor personnel's experience, let the user be in comfortable environment from the sense organ, thereby further promote the intelligence of indoor lamps and lanterns, also can let the user according to the luminance and the temperature that indoor lamps and lanterns opened simultaneously, acquire outdoor luminance and temperature, thereby the user need not to look over weather forecast or go to outdoors and just can acquire the general condition of outdoor temperature and illumination.
The present application may be further configured in a preferred example to: the acquiring a lamp terminal to be started from the lamp starting request, and generating starting brightness information according to the ambient light data and the lamp terminal to be started specifically includes:
acquiring indoor information to be started according to the lamp terminal to be started;
acquiring indoor area size and lamp source position information from the indoor information to be started;
and calculating PWM duty ratio information of the MOS tube according to the indoor area and the lamp source position information, and taking the PWM duty ratio information as the starting brightness information.
By adopting the technical scheme, the opening brightness information of the lamp at each position when the lamp is opened can be obtained according to the pre-calculated brightness which is to be achieved indoors by acquiring the indoor information to be opened and acquiring the indoor area size and the lamp source position from the indoor information to be opened.
The present application may be further configured in a preferred example to: before the acquiring outdoor environment temperature data and generating opening tone information according to the outdoor environment temperature data, the intelligent lamp control method further includes:
generating comfortable temperature information to be selected according to preset human body thermal comfort data and the human body thermal comfort data;
when a comfortable temperature selection result corresponding to the comfortable temperature information to be selected is obtained, taking the comfortable temperature selection result as target body sensing temperature data;
and acquiring the incidence relation between the outdoor temperature and the lamp source tone and the target body sensing temperature, and generating a tone adjusting model according to the incidence relation.
By adopting the technical scheme, through human thermal comfort data, data of temperature comfortable for the body feeling of a person can be acquired, the data is sent to a user end as recommended data, after the user selects and obtains target body feeling temperature data, the incidence relation between outdoor temperature corresponding to the target body feeling temperature data and lamp source color tone is acquired, and then the color tone adjusting model is acquired.
The present application may be further configured in a preferred example to: acquiring outdoor environment temperature data, and generating opening tone information according to the outdoor environment temperature data, wherein the method specifically comprises the following steps:
inputting the outdoor environment temperature data to the tone adjustment model;
and acquiring the corresponding starting tone adjustment information from the tone adjustment model.
By adopting the technical scheme, the outdoor environment temperature data is input into the tone adjusting model, the opening tone adjusting information corresponding to the target body feeling temperature data which is comfortable for a user can be quickly obtained, and therefore the intelligence of the lamp application is improved.
The present application may be further configured in a preferred example to: after generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting hue information and sending the lamp starting response to the lamp terminal to be started, the lamp intelligent control method further comprises the following steps:
obtaining the position information of an indoor heat source, and obtaining a corresponding lamp terminal at a heat source position according to the position information of the indoor heat source;
obtaining hue operation data of the lamp terminal at the heat source in real time, and detecting the hue operation data;
and if the hue operation data is detected to reach a preset alarm threshold value, generating and sending an alarm hue operation instruction to the lamp terminal at the heat source.
By adopting the technical scheme, the detection of the tone operation data is carried out at the lamp terminal at the heat source position corresponding to the position information of the indoor heat source, and the corresponding alarm tone operation instruction can be triggered when the indoor heat source is overheated, so that the functions of tone adjustment and temperature change can be utilized, and the prompt for indoor personnel is timely carried out, therefore, alarm equipment such as a fire alarm can be not installed indoors, the alarm can be given to indoor users, and the intelligence of lamp control is further improved.
The second objective of the present invention is achieved by the following technical solutions:
an intelligent control device for a lamp, comprising:
the light intensity acquisition module is used for acquiring ambient light data from an ambient light detection sensor when a lamp starting request is acquired;
the brightness adjusting module is used for acquiring a lamp terminal to be started from the lamp starting request and generating starting brightness information according to the ambient light data and the lamp terminal to be started;
the outdoor temperature acquisition module is used for acquiring outdoor environment temperature data and generating starting tone information according to the outdoor environment temperature data;
and the lamp starting module is used for generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting tone information, and sending the lamp starting response to the lamp terminal to be started.
By adopting the technical scheme, the intensity of the started light source can be automatically adjusted according to the intensity of the light of the environment by acquiring the environment light data when the lamp starting request is acquired, so that the user experience can be improved, and the intelligence of the indoor lamp can be improved; when opening lamps and lanterns, according to the temperature of outdoor environment, open corresponding tone, thereby can make indoor personnel when the weather is hot, open the colour temperature of cold tone, when indoor personnel are in the weather cold, open the colour temperature of warm tone, thereby can further promote indoor personnel's experience, let the user be in comfortable environment from the sense organ, thereby further promote the intelligence of indoor lamps and lanterns, also can let the user according to the luminance and the temperature that indoor lamps and lanterns opened simultaneously, acquire outdoor luminance and temperature, thereby the user need not to look over weather forecast or go to outdoors and just can acquire the general condition of outdoor temperature and illumination.
The third purpose of the present application is achieved by the following technical solutions:
a computer device comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the intelligent lamp control method.
The fourth purpose of the present application is achieved by the following technical solutions:
a computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned luminaire intelligent control method.
In summary, the present application includes at least one of the following beneficial technical effects:
1. by acquiring the ambient light data when the lamp starting request is acquired, the intensity of the started light source can be automatically adjusted according to the intensity of ambient light, so that the user experience can be improved, and the intelligence of the indoor lamp is also improved;
2. when the lamp is turned on, the corresponding tone is turned on according to the temperature of the outdoor environment, so that the color temperature of the cold tone can be turned on when the weather of indoor personnel is hot, and the color temperature of the warm tone can be turned on when the weather of indoor personnel is cold, so that the experience of indoor personnel can be further improved, and a user can be in a comfortable environment from the sense, so that the intelligence of the indoor lamp is further improved, and meanwhile, the user can obtain the outdoor brightness and temperature according to the turned-on brightness and temperature of the indoor lamp, so that the user can obtain the approximate conditions of the outdoor temperature and illumination without looking over weather forecast or going outdoors;
3. the method comprises the steps that data of temperature comfortable for a user to feel by body feeling can be obtained through body thermal comfort data, the data are sent to a user end as recommended data, after the user selects and obtains target body feeling temperature data, the incidence relation between outdoor temperature and lamp source color tone corresponding to the target body feeling temperature data is obtained, and then a color tone adjusting model is obtained, so that when a lamp is started, the user can feel a comfortable environment from the sense by adjusting the color tone and applying thermal comfort data to color tone adjustment of the lamp;
4. the heat source lamp terminal corresponding to the position information of the indoor heat source is used for detecting the tone operation data, and when the indoor heat source is overheated, a corresponding alarm tone operation instruction can be triggered, so that the functions of tone adjustment and temperature change can be utilized, indoor personnel can be prompted in time, alarm equipment such as a fire alarm can be not installed indoors, an alarm can be given to an indoor user, and the intelligence of lamp control is further improved.
Drawings
FIG. 1 is a flowchart of an intelligent control method for a lamp according to an embodiment of the present application;
fig. 2 is a flowchart illustrating an implementation of step S20 in the intelligent control method for a luminaire according to an embodiment of the present application;
fig. 3 is a flowchart of another implementation in a method for intelligently controlling a lamp according to an embodiment of the present application;
fig. 4 is a flowchart illustrating an implementation of step S30 in the intelligent control method for a luminaire according to an embodiment of the present application;
fig. 5 is a flowchart of another implementation in a method for intelligently controlling a lamp according to an embodiment of the present application;
fig. 6 is a schematic block diagram of an intelligent control device for a lamp according to an embodiment of the present application;
fig. 7 is a schematic diagram of an apparatus in an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
In an embodiment, as shown in fig. 1, the present application discloses an intelligent control method for a lamp, specifically including the following steps:
s10: and when the lamp starting request is acquired, acquiring ambient light data from an ambient light detection sensor.
In this embodiment, the lamp turning-on request refers to an instruction triggered by a user to turn on an indoor intelligent lamp. The ambient light data is information of the brightness intensity outside the room.
Specifically, an ambient light detection sensor for detecting the intensity of light is installed outdoors, and ambient light data is acquired in real time by the ambient light sensor.
Further, when a user needs to turn on the lamp and trigger the lamp turning-on request, the ambient light data in the ambient light detection sensor at the moment is acquired.
S20: and acquiring a lamp terminal to be started from the lamp starting request, and generating starting brightness information according to the ambient light data and the lamp terminal to be started.
In this embodiment, the terminal of the lamp to be turned on refers to the lamp that the user actually needs to turn on this time. The opening brightness information refers to the brightness information that the lamp needs to be opened.
Specifically, when a user needs to turn on a lamp, the terminal of the lamp needing to be turned on is selected on the mobile terminal through the network terminal embedded in the intelligent lamp to serve as the terminal of the lamp needing to be turned on, for example, before the user goes home, the indoor lamp needing to be turned on is selected by a mobile phone downstairs, and the terminal of the lamp needing to be turned on is selected as the terminal of the lamp needing to be turned on.
Further, after the lamp terminal to be turned on, according to the ambient light data, a preset calculation formula or algorithm is adopted to obtain indoor brightness corresponding to the ambient light data, and the brightness is sent to each lamp terminal to be turned on to serve as turning-on brightness information of each lamp terminal to be turned on.
S30: and acquiring outdoor environment temperature data, and generating opening tone information according to the outdoor environment temperature data.
In this embodiment, the outdoor ambient temperature data refers to real-time outdoor temperature data. The opening color tone information is information of the color tone of light when the lamp is opened.
Specifically, a temperature sensor for detecting the outdoor temperature is installed outdoors, and the temperature sensor acquires outdoor ambient temperature data in real time. When the lamp is turned on, the outdoor environment temperature data at the moment is acquired, and corresponding turning-on tone information is generated according to the outdoor environment temperature data, so that the tone can enable a user to feel comfortable according to the current outdoor temperature.
S40: and generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting tone information, and sending the lamp starting response to the lamp terminal to be started.
Specifically, after the starting brightness information and the starting tone information are obtained, the starting brightness information and the starting tone information form a lamp starting response, and the lamp starting response is sent to the corresponding lamp terminal to be started according to the lamp starting request.
In this embodiment, by acquiring the ambient light data when the lamp starting request is acquired, the intensity of the started light source can be automatically adjusted according to the intensity of ambient light, so that the user experience can be improved, and the intelligence of the indoor lamp can be improved; when opening lamps and lanterns, according to the temperature of outdoor environment, open corresponding tone, thereby can make indoor personnel when the weather is hot, open the colour temperature of cold tone, when indoor personnel are in the weather cold, open the colour temperature of warm tone, thereby can further promote indoor personnel's experience, let the user be in comfortable environment from the sense organ, thereby further promote the intelligence of indoor lamps and lanterns, also can let the user according to the luminance and the temperature that indoor lamps and lanterns opened simultaneously, acquire outdoor luminance and temperature, thereby the user need not to look over weather forecast or go to outdoors and just can acquire the general condition of outdoor temperature and illumination.
In an embodiment, as shown in fig. 2, in step S20, that is, acquiring the to-be-turned-on lamp terminal from the lamp turning-on request, and generating turning-on luminance information according to the ambient light data and the to-be-turned-on lamp terminal includes:
s21: and acquiring indoor information to be started according to the lamp terminal to be started.
In this embodiment, the information of the room to be turned on refers to the specific indoor location where the lamp needs to be turned on.
Specifically, after the corresponding lamp terminal to be turned on is selected, the indoor position where the lamp terminal to be turned on is located is used as the indoor information to be turned on.
Optionally, when the user triggers the lamp turning-on request, all or part of the lamps at the position may be further selected as the lamp terminal to be turned on by selecting indoor information to be turned on, such as selecting a kitchen, a living room, a bathroom, or a horizontal type.
S22: and obtaining indoor area size and lamp source position information from indoor information to be started.
In this embodiment, the indoor area size refers to an area size of a position where the lamp needs to be turned on actually. The lamp source position information refers to the specific position of each lamp terminal to be started in the position where the lamp is actually required to be started.
Specifically, by acquiring data of indoor decoration, the area size of each room in a room and the installation position of each lamp are acquired, and the area size of each room and the installation position of each lamp are stored in a preset database.
Further, according to the indoor information to be started, the area size of the position and the installation position of each lamp are obtained from the database and are used as the indoor area size and the lamp source position information.
S23: and calculating PWM duty ratio information of the MOS tube according to the indoor area and the lamp source position information, and taking the PWM duty ratio information as starting brightness information.
Specifically, the intensity of the indoor light is calculated according to the ambient light data, namely the intensity of the outdoor light, and the calculation mode can use the automatic adjustment mode between the brightness of the existing mobile phone screen and the ambient brightness.
Further, after the intensity of the indoor light is obtained, the brightness of each lamp which is turned on is obtained through decomposition according to the indoor area and the lamp source position information.
Further, according to the brightness of each lamp to be turned on, PWM duty ratio information of each MOS tube of the lamp is calculated, and the obtained PWM duty ratio information of each lamp is used as the brightness information of each lamp terminal to be turned on.
In an embodiment, as shown in fig. 3, before step S30, the method for intelligently controlling a luminaire further includes:
s301: and generating comfortable temperature information to be selected according to preset human body thermal comfort data and the human body thermal comfort data.
In this embodiment, the human thermal comfort data refers to a temperature at which a human body feels comfortable. The comfort information to be selected is selected by the user and is suitable for the body feeling comfortable temperature of the user.
Specifically, local human thermal comfort data is obtained by acquiring the indoor geographic environment and using a thermal comfort model according to the geographic environment.
Further, after the human body thermal comfort data is represented by the temperature range, the temperature comfort temperature information to be selected is obtained and sent to the user for selection.
S302: and when a comfortable temperature selection result corresponding to the to-be-selected comfortable temperature information is obtained, taking the comfortable temperature selection result as target somatosensory temperature data.
In this embodiment, the target sensible temperature data is data used for training a corresponding model.
Specifically, after the user selects the comfortable temperature selection result, the comfortable temperature selection result is used as the target somatosensory temperature data.
S303: and acquiring the incidence relation between the outdoor temperature and the color tone of the lamp source and the target body sensing temperature, and generating a color tone adjusting model according to the incidence relation.
In this embodiment, the color tone adjustment model is a model for calculating the color tone of the turned-on lamp according to the current outdoor temperature.
Specifically, according to big data analysis statistics, the demand of the personnel on the color tone of the lamp source for keeping the comfort level corresponding to the same target body sensing temperature under different outdoor temperatures is obtained, and then the correlation between the outdoor temperature and the color tone of the lamp source and the target body sensing temperature is obtained through statistics.
Further, according to the association relation, lamp source hues corresponding to different outdoor temperatures at the target body sensing temperature are obtained to form the hue adjusting model.
It should be noted that, steps S301 to S303 may be executed after the intelligent luminaire in the room is installed.
In an embodiment, as shown in fig. 4, in step S30, acquiring outdoor environment temperature data, and generating opening tone information according to the outdoor environment temperature data specifically includes:
s31: the outdoor ambient temperature data is input to the tone tuning model.
Specifically, after the outdoor environment temperature data is acquired, the outdoor environment temperature data is input into the color tone adjustment model.
S32: and acquiring corresponding starting tone adjustment information from the tone adjustment model.
Specifically, information of the lamp source color tone corresponding to the outdoor ambient temperature is acquired from the color tone adjustment model, and the lamp source color tone information is used as the on color tone adjustment information.
Optionally, in order to improve the comfort level experienced by the user and protect the comfort level of the eyes of the user, according to the outdoor environment temperature data and the corresponding on-tone adjustment information, the amount of tone adjustment in the tone adjustment model corresponding to each user may be associated with a set temperature interval, for example, a range interval in which the tone can be adjusted is 2000k-10000k (kelvin temperature) in the tone adjustment model, when the correlation is performed, the lowest value of the range interval in which the tone is adjusted is associated with the lowest value of the set temperature interval, and the highest value of the range interval in which the tone is adjusted is associated with the highest value of the set temperature interval, that is, when the outdoor temperature is detected to reach or be lower than 10 ℃, 2000k of on-tone adjustment information is output through the tone adjustment model, when the outdoor temperature is detected to reach or be higher than 35 ℃, 10000k of opening tone adjustment information is output through the tone adjustment model, and in the set temperature interval, the sensitivity of the temperature sensor can be selected, so that each temperature in the set temperature interval corresponds to one opening tone adjustment information, for example, when the outdoor temperature is 11 ℃, the opening tone adjustment information corresponds to 2320k, and when the outdoor temperature is 12 ℃, the opening tone adjustment information corresponds to 2640k, and the like.
Further, since the daytime is affected by light and sunlight compared to the night, under the same outdoor temperature, the human body feels higher heat during the day than at night, and therefore, when the tone adjusting model corresponding to each user is obtained by training, two sets of tone adjusting models corresponding to the user can be set, which correspond to the day and the night respectively, namely, the range interval value of the starting tone adjustment information corresponding to the tone adjustment model corresponding to the daytime is higher than the range interval value of the starting tone adjustment information corresponding to the tone adjustment model corresponding to the night, for example, the range interval of the starting tone adjustment information of the tone adjustment model corresponding to the day is 2000k-10000k, and the range interval of the starting tone adjustment information of the tone adjustment model corresponding to the night is 2500k-10500k, so that the user experience can be further improved. When the color tone adjustment model corresponding to day or night is selected, time intervals can be set in day and night respectively, for example, day corresponds to 8: 00 am-7: 00pm, corresponding to 7 at night: 00 pm-8 am of the next day, and the time interval can also adjust the length of the sunshine time in different seasons by combining the local geographical environment, so that the time interval applied in real time corresponds to the current length of the sunshine in the local. In actual use, the corresponding tone adjustment model can be obtained by obtaining the current time and judging the day or night corresponding to the current time.
In an embodiment, as shown in fig. 5, after step S40, the method for intelligently controlling a luminaire further includes:
s50: and acquiring the position information of the indoor heat source, and acquiring a corresponding lamp terminal at the heat source position according to the position information of the indoor heat source.
In the present embodiment, the heat source position information indicates a position in a room where a device generating heat is placed. The lamp terminal at the heat source is an intelligent lamp at the position where the heat-generating equipment is placed.
Specifically, as the indoor heat source position information, a position in which a heat source is placed in a room, for example, a position in which a water heater is placed, a kitchen, a heater, and the like are used.
Further, according to the position information of the indoor heat source, a lamp source terminal at the position is obtained and used as a lamp terminal at the heat source.
S60: and acquiring tone operation data of the lamp terminal at the heat source in real time, and detecting the tone operation data.
In this embodiment, the hue operation data refers to data of the hue of the lamp terminal at the heat source when it is turned on.
Specifically, a temperature sensor is installed at a position where a heat generating device is placed indoors, and the indoor temperature at the position is detected in real time by the indoor temperature sensor.
Further, after the device generating heat at the position of the heat source is turned on, the lamp terminal at the position of the heat source is turned on, and the adjustment of the color tone of the lamp terminal at the position of the heat source is adjusted by the indoor temperature, which is different from the lamps at other positions.
Further, the indoor temperature is input into the color tone adjustment model to obtain color tone operation data, and the color tone operation data is detected in real time, namely, the longer the heating state of the heating equipment is in operation, the higher the indoor temperature is, the more the obtained color tone operation data is biased to the cold color tone, and the different types of the intelligent lamps have different color tone changing capabilities, so that the color tone adjustment data sent to the intelligent lamps are detected for better detection, but the color tone actually sent by the intelligent lamps is not detected.
S70: and if the detected excellent tone operation data reach a preset alarm threshold value, generating and sending an alarm tone operation instruction to a lamp terminal at the heat source.
Specifically, when the hue operation data reaches the alarm threshold, it indicates that the heating device continues to heat for too long, which may result in a fire, for example, the user forgets to turn off the fire when cooking, and then sends the alarm hue operation instruction to the lamp at the heat source to control the lamp at the heat source to change the operation color, for example, red.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In an embodiment, an intelligent lamp control device is provided, and the intelligent lamp control device corresponds to the intelligent lamp control methods in the embodiments one to one. As shown in fig. 6, the intelligent control device for the lamp comprises a brightness intensity obtaining module, a brightness adjusting module, an outdoor temperature obtaining module and a lamp opening module. The functional modules are explained in detail as follows:
the light intensity acquisition module is used for acquiring ambient light data from an ambient light detection sensor when a lamp starting request is acquired;
the brightness adjusting module is used for acquiring a lamp terminal to be started from the lamp starting request and generating starting brightness information according to the ambient light data and the lamp terminal to be started;
the outdoor temperature acquisition module is used for acquiring outdoor environment temperature data and generating starting tone information according to the outdoor environment temperature data;
and the lamp starting module is used for generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting tone information, and sending the lamp starting response to the lamp terminal to be started.
Optionally, the brightness adjusting module includes:
the position acquisition submodule is used for acquiring indoor information to be started according to the lamp terminal to be started;
the starting information acquisition submodule is used for acquiring indoor area size and lamp source position information from indoor information to be started;
and the brightness information calculation submodule is used for calculating the PWM duty ratio information of the MOS tube according to the indoor area and the lamp source position information, and taking the PWM duty ratio information as the starting brightness information.
Optionally, the intelligent lamp control device includes:
the temperature recommendation module is used for generating comfortable temperature information to be selected according to preset human body thermal comfort data and according to the human body thermal comfort data;
the temperature selection module is used for taking a comfortable temperature selection result as target somatosensory temperature data when a comfortable temperature selection result corresponding to the comfortable temperature information to be selected is obtained;
and the model training module is used for acquiring the incidence relation between the outdoor temperature and the color tone of the lamp source and the target body sensing temperature and generating a color tone adjusting model according to the incidence relation.
Optionally, the outdoor temperature obtaining module includes:
the data input submodule is used for inputting the outdoor environment temperature data into the tone adjusting model;
and the result output submodule is used for acquiring corresponding starting tone adjustment information from the tone adjustment model.
Optionally, the intelligent lamp control device further includes:
the heat source terminal acquisition module is used for acquiring the position information of the indoor heat source and acquiring a corresponding lamp terminal at the heat source according to the position information of the indoor heat source;
the hue detection module is used for acquiring hue operation data of the lamp terminal at the heat source in real time and detecting the hue operation data;
and the alarm module is used for generating and sending an alarm tone operation instruction to the lamp terminal at the heat source if the detected tone operation data reaches a preset alarm threshold value.
For specific limitations of the intelligent control device for the lamp, reference may be made to the above limitations of the intelligent control method for the lamp, and details are not described here. All or part of the modules in the intelligent lamp control device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing comfort level selection results selected by the user and tone adjustment models obtained by corresponding training. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize an intelligent control method of the lamp.
In one embodiment, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
when a lamp starting request is acquired, acquiring ambient light data from an ambient light detection sensor;
acquiring a lamp terminal to be started from the lamp starting request, and generating starting brightness information according to the ambient light data and the lamp terminal to be started;
acquiring outdoor environment temperature data, and generating starting tone information according to the outdoor environment temperature data;
and generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting tone information, and sending the lamp starting response to the lamp terminal to be started.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
when a lamp starting request is acquired, acquiring ambient light data from an ambient light detection sensor;
acquiring a lamp terminal to be started from the lamp starting request, and generating starting brightness information according to the ambient light data and the lamp terminal to be started;
acquiring outdoor environment temperature data, and generating starting tone information according to the outdoor environment temperature data;
and generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting tone information, and sending the lamp starting response to the lamp terminal to be started.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (7)

1. An intelligent control method for a lamp, the intelligent control method for the lamp comprising:
when a lamp starting request is acquired, acquiring ambient light data from an ambient light detection sensor;
acquiring a lamp terminal to be started from the lamp starting request, and generating starting brightness information according to the ambient light data and the lamp terminal to be started;
generating comfortable temperature information to be selected according to preset human body thermal comfort data and the human body thermal comfort data;
when a comfortable temperature selection result corresponding to the comfortable temperature information to be selected is obtained, taking the comfortable temperature selection result as target body sensing temperature data;
acquiring the incidence relation between outdoor temperature and lamp source color tone and the target body sensing temperature, and generating a color tone adjusting model according to the incidence relation;
acquiring outdoor environment temperature data, and generating opening tone information according to the outdoor environment temperature data, wherein the method specifically comprises the following steps: inputting the outdoor environment temperature data to the tone adjustment model;
acquiring corresponding starting tone adjustment information from the tone adjustment model;
and generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting tone information, and sending the lamp starting response to the lamp terminal to be started.
2. The intelligent lamp control method according to claim 1, wherein the obtaining of the lamp terminal to be turned on from the lamp turning-on request and the generating of the turning-on luminance information according to the ambient light data and the lamp terminal to be turned on specifically include:
acquiring indoor information to be started according to the lamp terminal to be started;
acquiring indoor area size and lamp source position information from the indoor information to be started;
and calculating PWM duty ratio information of the MOS tube according to the indoor area and the lamp source position information, and taking the PWM duty ratio information as the starting brightness information.
3. The intelligent control method for lamps according to any one of claims 1-2, wherein after generating a lamp turn-on response corresponding to the lamp turn-on request according to the turn-on brightness information and the turn-on hue information and sending the lamp turn-on response to the lamp terminal to be turned on, the intelligent control method for lamps further comprises:
obtaining the position information of an indoor heat source, and obtaining a corresponding lamp terminal at a heat source position according to the position information of the indoor heat source;
obtaining hue operation data of the lamp terminal at the heat source in real time, and detecting the hue operation data;
and if the hue operation data is detected to reach a preset alarm threshold value, generating and sending an alarm hue operation instruction to the lamp terminal at the heat source.
4. An intelligent control device for a lamp, comprising:
the light intensity acquisition module is used for acquiring ambient light data from the ambient light detection sensor when acquiring a lamp starting request;
the brightness adjusting module is used for acquiring a lamp terminal to be started from the lamp starting request and generating starting brightness information according to the ambient light data and the lamp terminal to be started;
the temperature recommendation module is used for generating comfortable temperature information to be selected according to preset human body thermal comfort data and the human body thermal comfort data;
the temperature selection module is used for taking a comfortable temperature selection result as target somatosensory temperature data when a comfortable temperature selection result corresponding to the to-be-selected comfortable temperature information is obtained;
the model training module is used for acquiring the incidence relation between the outdoor temperature and the lamp source tone and the target somatosensory temperature and generating a tone adjusting model according to the incidence relation;
an outdoor temperature obtaining module, configured to obtain outdoor environment temperature data, and generate opening tone information according to the outdoor environment temperature data, where the outdoor temperature obtaining module includes:
the data input submodule is used for inputting the outdoor environment temperature data into the tone adjusting model;
the result output submodule is used for acquiring corresponding starting tone adjustment information from the tone adjustment model;
and the lamp starting module is used for generating a lamp starting response corresponding to the lamp starting request according to the starting brightness information and the starting tone information, and sending the lamp starting response to the lamp terminal to be started.
5. The intelligent control device for lamp set according to claim 4, wherein the brightness adjusting module comprises:
the position acquisition submodule is used for acquiring indoor information to be started according to the lamp terminal to be started;
the starting information acquisition submodule is used for acquiring indoor area size and lamp source position information from the indoor information to be started;
and the brightness information calculation submodule is used for calculating PWM duty ratio information of the MOS tube according to the indoor area and the lamp source position information, and taking the PWM duty ratio information as the starting brightness information.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the luminaire intelligent control method according to any one of claims 1 to 3 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the luminaire intelligent control method according to any one of claims 1 to 3.
CN202110242575.4A 2021-03-05 2021-03-05 Intelligent lamp control method and device, computer equipment and storage medium Active CN112969267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110242575.4A CN112969267B (en) 2021-03-05 2021-03-05 Intelligent lamp control method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110242575.4A CN112969267B (en) 2021-03-05 2021-03-05 Intelligent lamp control method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112969267A CN112969267A (en) 2021-06-15
CN112969267B true CN112969267B (en) 2022-06-14

Family

ID=76276867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110242575.4A Active CN112969267B (en) 2021-03-05 2021-03-05 Intelligent lamp control method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112969267B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645742A (en) * 2021-10-14 2021-11-12 深圳市恒裕惠丰贸易有限公司 Lamp control method based on double-level control and capable of achieving intelligent data matching
CN114228613A (en) * 2021-11-12 2022-03-25 北京罗克维尔斯科技有限公司 Control method and device for atmosphere lamp in vehicle and storage medium
CN115775321B (en) * 2023-02-02 2023-05-02 宝邑(深圳)照明科技有限公司 Lighting lamp brightness adjusting method and device, electronic equipment and storage medium
CN116528434B (en) * 2023-06-30 2023-09-08 深圳市兴特能源科技有限公司 Man-machine coexistence disinfection lighting lamp and control system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591277A (en) * 2012-01-31 2012-07-18 得实半导体照明(江门)有限公司 Intelligent environment monitoring system
KR20130099488A (en) * 2012-02-29 2013-09-06 부경대학교 산학협력단 Thermal comfort based light control system and method thereof
CN103096555B (en) * 2013-01-28 2015-07-22 福州大学 Portable organic light emitting diode (OLED) centralized control illuminating system based on human body thermal comfort
CN103458571A (en) * 2013-08-19 2013-12-18 浙江吉利汽车研究院有限公司 Method and device for adjusting indoor atmosphere lighting
CN108132605A (en) * 2016-11-28 2018-06-08 如万亿私人有限公司 Illumination and air-conditioner control system
US10959299B2 (en) * 2018-02-28 2021-03-23 Signify Holding B.V. Indoor lighting control based on outdoor light
CN108541115B (en) * 2018-03-20 2020-01-17 深圳市泰和安科技有限公司 Lamp and control method and device thereof
CN108458453A (en) * 2018-03-27 2018-08-28 中南大学 A kind of air-conditioning based on video Dynamic Recognition and light combination control method
CN109379816A (en) * 2018-09-28 2019-02-22 安徽独角仙信息科技有限公司 A kind of intelligent lamps and lanterns regulation method based on information comparison
CN110769547A (en) * 2019-12-02 2020-02-07 怀化学院 Lamp control method, device and system
CN111145333B (en) * 2019-12-11 2022-08-12 江苏艾佳家居用品有限公司 Indoor scene illumination layout method

Also Published As

Publication number Publication date
CN112969267A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN112969267B (en) Intelligent lamp control method and device, computer equipment and storage medium
WO2023115928A1 (en) Indoor environment control method, apparatus and system, and storage medium
US9565736B2 (en) Lighting system having a controller that contributes to a selected light scene, and a method for controlling such a system
CN103940041A (en) Air-conditioner and comfortable sleeping control method and system thereof
CN110207334B (en) Control method and device of multi-split air conditioner, wire controller and storage medium
CN106658926B (en) Method for controlling lamp and device
CN106016612B (en) air conditioner control method and device and air conditioner
CN108260260A (en) For the lighting system control method, device and kitchen ventilator of kitchen ventilator
CN113826445B (en) Camera-based illumination control
CN113009844B (en) Intelligent control method and control device for home environment and computer readable storage medium
CN104869696A (en) Intelligent energy-saving household illuminating lamp
US20190230769A1 (en) Lighting control
CN109725664B (en) Automatic temperature control system and method for toilet bowl
CN104566814A (en) Air conditioner panel display control method, air conditioner panel display control system and air conditioner
CN113301696A (en) Lighting control method and device based on intelligent home system
CN111238048A (en) Control method of water heater
CN114401568A (en) LED illumination control method and terminal for artificial illumination
CN205196035U (en) Intelligence house lighting system
CN108055746B (en) Method and system for controlling ambient lighting by using smart phone
CN112303804A (en) Control method and system for indoor air conditioning mode and lighting mode and storage medium
CN112135400B (en) Illumination parameter adjustment method, illumination parameter adjustment device, illumination apparatus, and medium
JP2014075232A (en) Illumination control device, illumination control method, and illumination control program
CN110597079A (en) Method and device for adjusting lamp in intelligent household operating system
CN106765864A (en) Air-conditioner controller and brightness control method
CN111059712A (en) Air conditioner control method, air conditioner and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant