CN110753431B - Intelligent lamp control method, intelligent home controller and storage medium - Google Patents
Intelligent lamp control method, intelligent home controller and storage medium Download PDFInfo
- Publication number
- CN110753431B CN110753431B CN201911368744.8A CN201911368744A CN110753431B CN 110753431 B CN110753431 B CN 110753431B CN 201911368744 A CN201911368744 A CN 201911368744A CN 110753431 B CN110753431 B CN 110753431B
- Authority
- CN
- China
- Prior art keywords
- intelligent
- brightness
- lamp
- light
- preset area
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses an intelligent lamp control method, an intelligent home controller and a storage medium, and belongs to the technical field of intelligent home. The monitoring equipment detects whether a human body exists in a preset area or not and acquires the on-off state of an intelligent lamp in the preset area; if a human body exists and the intelligent lamp is in a closed state, the intelligent home controller controls the intelligent lamp to be turned on; if no person exists and the intelligent lamp is in an on state, the intelligent home controller controls the intelligent lamp to be turned off; the intelligent home controller acquires the ambient brightness of a preset area and generates the lighting brightness information of the intelligent lamps in the preset area according to the ambient brightness; the intelligent home controller sends a light-on control signal and light-on brightness information to the intelligent lamp so as to control the intelligent lamp to be turned on at the light-on brightness. According to the intelligent lamp control method and device, a user does not need to manually operate a mechanical switch or an intelligent household APP to control the on-off state of the intelligent lamp, the user operation process is omitted, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of intelligent home, in particular to an intelligent lamp control method, an intelligent home controller and a storage medium.
Background
In the existing traditional families, the intelligent lamp is controlled to be turned on and off mainly by manually operating a mechanical switch; and to in the family that has been equipped with intelligent house control system, except that manual operation mechanical switch realizes opening and closing of intelligent lamp, still can realize the on-off control to the intelligent lamp through the operating button on the intelligent house control APP on the mobile terminal. However, no matter through mechanical switch or intelligent house control APP control intelligent lamp, all need manual operation, and have the specific position restriction through mechanical switch control intelligent lamp, and need open APP control interface, complex operation step by step through intelligent house control APP control intelligent lamp. Therefore, the existing control mode for the intelligent lamp has the problems of manual operation and inconvenient operation.
Disclosure of Invention
The invention mainly provides an intelligent lamp control method, which can overcome the problems that the existing control mode for an intelligent lamp needs manual operation and is inconvenient to operate.
In order to solve the technical problems, the invention adopts a technical scheme that: provided is a smart lamp control method, including:
the method comprises the steps that monitoring equipment detects whether a human body exists in a preset area or not, and obtains the on-off state of an intelligent lamp in the preset area;
if the existence of a human body is detected and the intelligent lamp is in a closed state, the monitoring equipment sends a lamp-on message to the intelligent home controller;
the intelligent home controller sends a light-on control signal to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned on;
if no human body exists and the intelligent lamp is in an on state, the monitoring equipment sends a lamp turning-off message to the intelligent home controller;
and the intelligent home controller sends a lamp turning-off control signal to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned off.
Preferably, the step of sending a light-on control signal to the smart lamp in the preset area by the smart home controller to control the smart lamp to be turned on specifically includes the following steps:
the intelligent home controller acquires the ambient brightness of the preset area and generates the lighting brightness information of the intelligent lamps in the preset area according to the ambient brightness;
the intelligent home controller sends a light-on control signal and the light-on brightness information to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned on at the light-on brightness.
Preferably, if the lighting brightness is less than the rated brightness of the intelligent lamp, the step of controlling the intelligent lamp to be turned on at the lighting brightness specifically includes:
and controlling the intelligent lamp to be turned on at the lamp-on brightness, and increasing the lamp-on brightness to the rated brightness within the preset lamp-on time.
Preferably, a brightness correspondence table between ambient brightness and lighting brightness is stored in a processing module of the smart home controller, and the step of obtaining the ambient brightness of the preset area by the smart home controller and generating the lighting brightness information of the smart lights in the preset area according to the ambient brightness specifically includes the following steps:
the intelligent home controller acquires the ambient brightness of the preset area;
and acquiring the lighting brightness corresponding to the ambient brightness according to the ambient brightness and the brightness corresponding table.
Preferably, if it is detected that a human body exists and the smart lamp is in an off state, the step of sending, by the monitoring device, a light-on message to the smart home controller specifically includes:
if the existence of a human body is detected and the intelligent lamp is in a closed state, the monitoring equipment acquires the staying time of the human body;
and when the residence time reaches the preset residence time, the monitoring equipment sends a light-on message to the intelligent home controller.
Preferably, if it is detected that no human body exists and the smart lamp is in an on state, the step of sending, by the monitoring device, a light-off message to the smart home controller specifically includes:
if no human body exists and the intelligent lamp is in an on state, the monitoring equipment acquires the existence time of the human body;
and when the no-human-body existence time reaches the preset no-human time, the monitoring equipment sends a light-off message to the intelligent home controller.
Preferably, the step of sending a light-off control signal to the intelligent light in the preset area by the intelligent home controller to control the intelligent light to be turned off specifically includes the following steps:
the intelligent home controller acquires the on-off state of the intelligent lamp in the adjacent area of the preset area;
and if the intelligent lamps in the adjacent areas are in the off state, the intelligent home controller sends a lamp-off control signal to the intelligent lamps in the preset areas so as to control the intelligent lamps to be turned off.
In order to solve the technical problem, the invention adopts another technical scheme that: the intelligent lamp control method is applied to an intelligent home controller and comprises the following steps:
receiving a light-on message sent by monitoring equipment, wherein the light-on message is generated based on human body existence events in a preset area and the turn-off state of an intelligent lamp in the preset area;
sending a light-on control signal to the intelligent lamp in the preset area according to the light-on message so as to control the intelligent lamp to be turned on;
receiving a light-off message sent by the monitoring equipment, wherein the light-off message is generated based on an unmanned existence event in the preset area and the on state of the intelligent lamp in the preset area;
sending a light-off control signal to the intelligent lamp in the preset area according to the light-off message so as to control the intelligent lamp to be turned off;
the step of sending a light-on control signal to the intelligent lamp in the preset area according to the light-on message to control the intelligent lamp to be turned on specifically comprises:
acquiring the ambient brightness of the preset area according to the light-on message, and generating light-on brightness information of the intelligent lamps in the preset area according to the ambient brightness;
and sending a light-on control signal and the light-on brightness information to the intelligent lamp in the preset area so as to control the intelligent lamp to be turned on at the light-on brightness.
In order to solve the technical problem, the invention adopts another technical scheme that: the intelligent home controller comprises a processor and a memory, wherein the processor is coupled with the memory and executes instructions stored in the memory when in work so as to realize the intelligent lamp control method.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided a storage medium having stored thereon a computer program which is executed by a processor to implement the above-described smart lamp control method.
The invention has the beneficial effects that: different from the situation of the prior art, the intelligent lamp control method comprises the following steps: the method comprises the steps that monitoring equipment detects whether a human body exists in a preset area or not, and obtains the on-off state of an intelligent lamp in the preset area; if the existence of a human body is detected and the intelligent lamp is in a closed state, the monitoring equipment sends a lamp-on message to the intelligent home controller; the intelligent home controller sends a light-on control signal to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned on; if no human body exists and the intelligent lamp is in an on state, the monitoring equipment sends a lamp turning-off message to the intelligent home controller; the intelligent home controller sends a lamp turning-off control signal to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned off. According to the intelligent lamp control method and device, when people are detected in the preset area and the intelligent lamp in the area is in the off state, the intelligent home controller controls the intelligent lamp to be turned on, when no people are detected in the preset area and the intelligent lamp in the area is in the on state, the intelligent lamp is controlled to be turned off, the user does not need to manually operate a mechanical switch or the intelligent home control APP to control the on-off state of the intelligent lamp, the user operation process is omitted, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
fig. 1 is a flowchart of an intelligent lamp control method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an implementation of step S300 in FIG. 1;
fig. 3 is a flowchart of a smart lamp control method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an intelligent home controller according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a storage medium according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a flowchart of an intelligent lamp control method according to an embodiment of the present invention, where the intelligent lamp control method in this embodiment is applied to a smart home, an intelligent home controller in the smart home is a central controller in the home and is mainly used to implement centralized control of all intelligent home devices in the home, the intelligent home devices include intelligent home devices such as an intelligent air conditioner, a television, a monitoring device, an intelligent curtain, and an intelligent lamp, and the intelligent home controller and each intelligent home device are in communication connection, and may be connected through a wireless communication manner such as WiFi, ZigBee, and bluetooth, or through a 4G or 5G network communication connection, or through a wired communication connection. In the embodiment of the invention, the monitoring equipment, the intelligent lamp and the intelligent home controller can be mutually communicated and connected, the home space is divided into areas in advance, each area corresponds to one monitoring equipment and one intelligent lamp, the monitoring equipment in each area can acquire the on-off state of the intelligent lamp in the area and monitor the existence condition of a human body in the area, and the monitoring equipment can be an infrared camera. As shown in fig. 1, the intelligent lamp control method includes step S100, step S200, step S300, step S400, and step S500.
Step S100: the monitoring equipment detects whether a human body exists in a preset area or not and acquires the on-off state of the intelligent lamp in the preset area.
Specifically, the monitoring device acquires a video image in a preset area, and judges whether a human body exists in the preset area by detecting whether the human body exists in the video image. The monitoring equipment acquires the image of the intelligent lamp in the preset area, and compares the acquired image of the intelligent lamp with the prestored lamp-on state image and lamp-off state image to acquire the on-off state of the intelligent lamp. Or the intelligent lamp respectively sends different electric signals to the monitoring equipment in the lamp-on state and the lamp-off state, and the monitoring equipment judges the on-off state of the intelligent lamp according to the electric signals sent by the intelligent lamp.
Preferably, the monitoring device can be an infrared camera, and the infrared camera can acquire a video image of a monitoring area in a dark environment.
Step S200: if the human body is detected to exist and the intelligent lamp is in the off state, the monitoring equipment sends a lamp-on message to the intelligent home controller.
Preferably, if the human body in the preset area is detected, and the intelligent lamp is in an off state, the monitoring device sends a light-on message to the intelligent home controller to control the intelligent lamp in the preset area to be turned on, and illumination is automatically provided for the user.
Preferably, if the human body is detected to exist in the preset area and the intelligent lamp is in an off state, the monitoring equipment acquires the staying time of the human body; when the residence time reaches the preset residence time, the monitoring equipment sends a light-on message to the intelligent home controller so as to control the intelligent lamp to be turned on and automatically provide illumination for the user. When the human body is detected to exist, and the staying time of the human body in the preset area exceeds the preset staying time, the intelligent lamp is controlled to be turned on, the human body is guaranteed to be turned on when the human body moves in the preset area for a long time, the situation that the human body passes through the preset area or stays for a short time is avoided, and the situation that the service life of the intelligent lamp is shortened due to frequent switching of the intelligent lamp is avoided.
Step S300: the intelligent home controller sends a lamp turning-on control signal to the intelligent lamp in the preset area so as to control the intelligent lamp to be turned on.
Specifically, after the intelligent home controller receives a light-on message sent by the monitoring device, the intelligent home controller sends a light-on control signal to the intelligent lamp in the preset area where the monitoring device is located, so as to control the intelligent lamp in the preset area to be turned on to provide illumination for the user.
Preferably, as shown in fig. 2, the step of sending a light-on control signal to the smart lights in the preset area by the smart home controller to control the smart lights to be turned on specifically includes step S301 and step S302.
Step S301: the intelligent home controller acquires the ambient brightness of the preset area and generates the lighting brightness information of the intelligent lamps in the preset area according to the ambient brightness.
Specifically, the step of storing the brightness correspondence table of the ambient brightness and the lighting brightness in the processing module of the smart home controller, acquiring the ambient brightness of the preset area by the smart home controller, and generating the lighting brightness information of the smart lamp in the preset area according to the ambient brightness specifically includes the following steps: the intelligent home controller acquires the ambient brightness of a preset area; and acquiring the lighting brightness corresponding to the ambient brightness according to the ambient brightness and the brightness corresponding table. The intelligent home controller is used for detecting the brightness of the environment, wherein a brightness sensor can be arranged in the preset area, the brightness sensor sends the detected environment brightness value of the preset area to the intelligent home controller, and then the intelligent home controller acquires the lighting brightness corresponding to the environment brightness value according to the brightness correspondence table. The environment brightness and the lighting brightness are in positive correlation, when the environment brightness is weak, the lighting brightness is weak, otherwise, when the environment brightness is strong, the lighting brightness is strong, and the situation that the lighting brightness stimulates eyes of a user due to the fact that the lighting brightness is strong under the condition that the environment brightness is weak is avoided.
Further specifically, in the specific implementation, the lighting brightness may be obtained according to the following determination condition, when the ambient brightness is less than the preset brightness, the lighting brightness may be obtained according to the following calculation formula, where the lighting brightness value = ambient brightness value — intelligent lamp rated brightness value/ambient maximum brightness value, and the ambient maximum brightness value may be set according to a historical ambient brightness value detected by a brightness sensor disposed in the preset region; when the ambient brightness is larger than the preset brightness, the lighting brightness is equal to the rated brightness of the intelligent lamp.
Step S302: the intelligent home controller sends a light-on control signal and light-on brightness information to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned on at the light-on brightness.
Specifically, if the lighting brightness is less than the rated brightness of the intelligent lamp, the step of controlling the intelligent lamp to be turned on at the lighting brightness specifically includes: and controlling the intelligent lamp to be turned on at the lamp-on brightness, and increasing the lamp-on brightness to the rated brightness within the preset lamp-on time. When the ambient brightness is weak, the intelligent lamp is controlled to be turned on at the lamp-on brightness smaller than the rated brightness, and the intelligent lamp is gradually increased to the rated brightness within the preset lamp-on time, so that the stimulation of strong light to the eyes of a user is avoided.
Step S400: if no human body exists and the intelligent lamp is in an on state, the monitoring equipment sends a lamp turning-off message to the intelligent home controller.
Preferably, if it is detected that no human body exists in the preset area and the intelligent lamp is in an on state, the monitoring device sends a lamp turning-off message to the intelligent home controller to control the intelligent lamp to turn off the lamp and save power.
Preferably, if no human body exists in the preset area and the intelligent lamp is in an on state, the monitoring equipment acquires the time when no human body exists; when the unmanned time reaches the preset unmanned time, the monitoring equipment sends a light-off message to the intelligent home controller so as to control the intelligent light to be turned off and save electricity. When the fact that no human body exists in the preset area is detected, the intelligent lamp is controlled to be turned off when the preset unmanned time is reached, namely the intelligent lamp is controlled to be turned off after the fact that no human body moves in the preset area is confirmed, and the fact that the service life of the intelligent lamp is shortened due to frequent turning on and off of the lamp is avoided.
Step S500: the intelligent home controller sends a lamp turning-off control signal to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned off.
Specifically, after the intelligent home controller receives the light-off message sent by the monitoring device, the intelligent home controller sends a light-off control signal to the intelligent light in the preset area where the monitoring device is located so as to control the intelligent light to be turned off.
Preferably, the smart home controller sends a light-off control signal to the smart lights in the preset area, and the step of controlling the smart lights to be turned off may further specifically include: the intelligent home controller acquires the on-off state of an intelligent lamp in an adjacent area of a preset area; if the intelligent lamps in the adjacent areas are in the off state, the intelligent home controller sends a lamp turning-off control signal to the intelligent lamps in the preset areas so as to control the intelligent lamps to be turned off. When no human body exists in the preset area, the intelligent lamp is in an on state, and the intelligent lamp in the adjacent area of the preset area is in an off state, the intelligent lamp in the preset area is controlled to be off, and the judgment condition of the lamp-off operation in the preset area is increased by adding the judgment of the off state of the intelligent lamp in the adjacent area, so that the lamp-off operation in the preset area is more in line with the user requirement, and misoperation is avoided.
In the embodiment of the invention, monitoring equipment detects whether a human body exists in a preset area or not and acquires the on-off state of an intelligent lamp in the preset area; if the human body is detected to exist and the intelligent lamp is in a closed state, the intelligent home controller controls the intelligent lamp in the preset area to be turned on; if no person exists and the intelligent lamp is in an on state, the intelligent home controller controls the intelligent lamp in the preset area to be turned off. According to the intelligent lamp control method and device, a user does not need to manually operate a mechanical switch or an intelligent household APP to control the on-off state of the intelligent lamp, the user operation process is omitted, and the user experience is improved.
Example two
Fig. 3 is a flowchart of an intelligent lamp control method according to another embodiment of the present invention, where the intelligent lamp control method is applied to an intelligent home controller, and the intelligent lamp control method includes step S001, step S002, step S003, and step S004.
Step S001: and receiving a light-on message sent by the monitoring equipment, wherein the light-on message is generated based on human body existence events in a preset area and the turn-off state of the intelligent lamp in the preset area.
Specifically, the monitoring equipment detects whether a human body exists in a preset area or not, and acquires the on-off state of the intelligent lamp in the preset area, and when the human body exists in the preset area and the intelligent lamp in the preset area is in an off state, the monitoring equipment sends a light-on message to the intelligent home controller.
Step S002: and sending a light-on control signal to the intelligent lamp in the preset area according to the light-on message so as to control the intelligent lamp to be turned on.
Specifically, after the intelligent home controller receives a light-on message sent by the monitoring device, the intelligent home controller sends a light-on control signal to the intelligent lamp in the preset area where the monitoring device is located, so as to control the intelligent lamp in the preset area to be turned on to provide illumination for the user.
Specifically, the step of sending a light-on control signal to the intelligent lamp in the preset area according to the light-on message to control the intelligent lamp to be turned on specifically includes:
acquiring the ambient brightness of a preset area according to the light-on message, and generating light-on brightness information of the intelligent lamp in the preset area according to the ambient brightness; and sending the light-on control signal and the light-on brightness information to the intelligent lamp in the preset area so as to control the intelligent lamp to be turned on at the light-on brightness.
The method comprises the following steps of storing a brightness correspondence table of ambient brightness and lighting brightness in a processing module of the intelligent home controller, acquiring the ambient brightness of a preset area according to a lighting message, and generating lighting brightness information of intelligent lamps in the preset area according to the ambient brightness, wherein the steps comprise the following steps: acquiring the ambient brightness of a preset area according to the light-on message; and acquiring the lighting brightness corresponding to the ambient brightness according to the ambient brightness and the brightness corresponding table. The intelligent home controller is used for detecting the brightness of the environment, wherein a brightness sensor can be arranged in the preset area, the brightness sensor sends the detected environment brightness value of the preset area to the intelligent home controller, and then the intelligent home controller acquires the lighting brightness corresponding to the environment brightness value according to the brightness correspondence table. The environment brightness and the lighting brightness are in positive correlation, when the environment brightness is weak, the lighting brightness is weak, otherwise, when the environment brightness is strong, the lighting brightness is strong, and the situation that the lighting brightness stimulates eyes of a user due to the fact that the lighting brightness is strong under the condition that the environment brightness is weak is avoided. When the environment brightness is smaller than the preset brightness, the lighting brightness can be obtained according to the following calculation formula, wherein the lighting brightness value = environment brightness value + intelligent lamp rated brightness value/environment maximum brightness value, and the environment maximum brightness value can be set according to the historical environment brightness value detected by a brightness sensor arranged in the preset area; when the ambient brightness is larger than the preset brightness, the lighting brightness is equal to the rated brightness of the intelligent lamp.
Wherein, if the brightness of opening a light is less than the rated brightness of intelligent lamp, then the step of controlling intelligent lamp to open with the brightness of opening a light specifically includes: and controlling the intelligent lamp to be turned on at the lamp-on brightness, and increasing the lamp-on brightness to the rated brightness within the preset lamp-on time. When the ambient brightness is weak, the intelligent lamp is controlled to be turned on at the lamp-on brightness smaller than the rated brightness, and the intelligent lamp is gradually increased to the rated brightness within the preset lamp-on time, so that the stimulation of strong light to the eyes of a user is avoided.
Step S003: and receiving a light-off message sent by the monitoring equipment, wherein the light-off message is generated based on the unmanned existence event in the preset area and the on state of the intelligent lamp in the preset area.
Specifically, the monitoring device detects whether a human body exists in a preset area or not, and acquires the on-off state of the intelligent lamp in the preset area, and when no human body exists in the preset area and the intelligent lamp in the preset area is in an on state, the monitoring device sends a lamp turning-off message to the intelligent home controller.
Step S004: and sending a light-off control signal to the intelligent lamp in the preset area according to the light-off message so as to control the intelligent lamp to be turned off.
Specifically, after the intelligent home controller receives the light-off message sent by the monitoring device, the intelligent home controller sends a light-off control signal to the intelligent light in the preset area where the monitoring device is located so as to control the intelligent light to be turned off.
The specific implementation of the intelligent lamp control method in the embodiment of the present invention is the same as the specific implementation of the intelligent lamp control method in the first embodiment, and reference may be made to the specific description of the intelligent lamp control method in the first embodiment, which is not described herein again.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an intelligent home controller according to another embodiment of the present invention, where the intelligent home controller includes a processor 100 and a memory 200, the processor 100 is coupled to the memory 200, and the processor 100 executes instructions stored in the memory 200 when operating to implement the intelligent light control method in the first embodiment.
The processor 100 may also be referred to as a Central Processing Unit (CPU). Processor 100 may be an integrated circuit chip having signal processing capabilities. The processor 100 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor, but is not limited thereto.
Example four
Referring to fig. 5, fig. 5 is a schematic diagram of a storage medium according to another embodiment of the present invention, in which a computer program 300 is stored, and the computer program 300 can be executed by a processor to implement the intelligent lamp control method in the first embodiment.
Alternatively, the readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or may be a terminal device such as a computer, a server, a mobile phone, or a tablet.
The intelligent lamp control method comprises the following steps: the method comprises the steps that monitoring equipment detects whether a human body exists in a preset area or not, and obtains the on-off state of an intelligent lamp in the preset area; if the human body is detected to exist and the intelligent lamp is in a closed state, the intelligent home controller controls the intelligent lamp in the preset area to be turned on; if no person exists and the intelligent lamp is in an on state, the intelligent home controller controls the intelligent lamp in the preset area to be turned off. According to the intelligent lamp control method and device, a user does not need to manually operate a mechanical switch or an intelligent household APP to control the on-off state of the intelligent lamp, the user operation process is omitted, and the user experience is improved.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (7)
1. An intelligent lamp control method, characterized in that the intelligent lamp control method comprises:
the method comprises the steps that monitoring equipment detects whether a human body exists in a preset area or not, and obtains the on-off state of an intelligent lamp in the preset area;
if the existence of a human body is detected and the intelligent lamp is in a closed state, the monitoring equipment sends a lamp-on message to the intelligent home controller;
the intelligent home controller sends a light-on control signal to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned on;
if no human body exists and the intelligent lamp is in an on state, the monitoring equipment sends a lamp turning-off message to the intelligent home controller;
the intelligent home controller sends a lamp turning-off control signal to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned off;
the intelligent home controller sends a light-on control signal to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned on, and the method specifically comprises the following steps:
the intelligent home controller acquires the ambient brightness of the preset area and generates the lighting brightness information of the intelligent lamps in the preset area according to the ambient brightness;
the intelligent home controller sends a light-on control signal and the light-on brightness information to the intelligent lamps in the preset area so as to control the intelligent lamps to be turned on at the light-on brightness;
if the lighting brightness is smaller than the rated brightness of the intelligent lamp, the step of controlling the intelligent lamp to be turned on at the lighting brightness specifically comprises the following steps: controlling the intelligent lamp to be turned on at the lamp-on brightness, and increasing the lamp-on brightness to the rated brightness within the preset lamp-on time;
the method comprises the following steps that a brightness correspondence table of environment brightness and lighting brightness is stored in a processing module of the intelligent home controller, the intelligent home controller obtains the environment brightness of the preset area, and lighting brightness information of the intelligent lamps in the preset area is generated according to the environment brightness, and the steps comprise the following steps:
the intelligent home controller acquires the ambient brightness of the preset area;
acquiring the light-on brightness corresponding to the ambient brightness according to the ambient brightness and the brightness corresponding table; the corresponding relation between the environment brightness and the light-on brightness is as follows: when the environment brightness is smaller than the preset brightness, the lighting brightness value is equal to the environment brightness value, namely the rated brightness value of the intelligent lamp/the maximum brightness value of the environment; and when the environment brightness is greater than the preset brightness, the lighting brightness value is equal to the rated brightness value of the intelligent lamp.
2. The smart lamp control method according to claim 1, wherein if it is detected that a human body exists and the smart lamp is in an off state, the step of sending a light-on message to the smart home controller by the monitoring device specifically includes:
if the existence of a human body is detected and the intelligent lamp is in a closed state, the monitoring equipment acquires the staying time of the human body;
and when the residence time reaches the preset residence time, the monitoring equipment sends a light-on message to the intelligent home controller.
3. The smart lamp control method according to claim 1, wherein if it is detected that no human body exists and the smart lamp is in an on state, the step of sending a lamp turning-off message to the smart home controller by the monitoring device specifically includes:
if no human body exists and the intelligent lamp is in an on state, the monitoring equipment acquires the existence time of the human body;
and when the no-human-body existence time reaches the preset no-human time, the monitoring equipment sends a light-off message to the intelligent home controller.
4. The smart lamp control method according to claim 1, wherein the smart home controller sends a lamp-off control signal to the smart lamps in the preset area to control the smart lamps to be turned off, and the step of controlling the smart lamps to be turned off specifically includes the steps of:
the intelligent home controller acquires the on-off state of the intelligent lamp in the adjacent area of the preset area;
and if the intelligent lamps in the adjacent areas are in the off state, the intelligent home controller sends a lamp-off control signal to the intelligent lamps in the preset areas so as to control the intelligent lamps to be turned off.
5. A smart lamp control method is applied to a smart home controller, and comprises the following steps:
receiving a light-on message sent by monitoring equipment, wherein the light-on message is generated based on human body existence events in a preset area and the turn-off state of an intelligent lamp in the preset area;
sending a light-on control signal to the intelligent lamp in the preset area according to the light-on message so as to control the intelligent lamp to be turned on;
receiving a light-off message sent by the monitoring equipment, wherein the light-off message is generated based on an unmanned existence event in the preset area and the on state of the intelligent lamp in the preset area;
sending a light-off control signal to the intelligent lamp in the preset area according to the light-off message so as to control the intelligent lamp to be turned off;
the step of sending a light-on control signal to the intelligent lamp in the preset area according to the light-on message to control the intelligent lamp to be turned on specifically comprises:
acquiring the ambient brightness of the preset area according to the light-on message, and generating light-on brightness information of the intelligent lamps in the preset area according to the ambient brightness;
sending a light-on control signal and the light-on brightness information to the intelligent lamp in the preset area so as to control the intelligent lamp to be turned on at the light-on brightness;
if the lighting brightness is smaller than the rated brightness of the intelligent lamp, the step of controlling the intelligent lamp to be turned on at the lighting brightness specifically comprises the following steps: controlling the intelligent lamp to be turned on at the lamp-on brightness, and increasing the lamp-on brightness to the rated brightness within the preset lamp-on time;
the method comprises the following steps of storing a brightness correspondence table of ambient brightness and lighting brightness in a processing module of the intelligent home controller, acquiring the ambient brightness of the preset area, and generating lighting brightness information of the intelligent lamp in the preset area according to the ambient brightness, wherein the steps comprise the following steps:
acquiring the ambient brightness of the preset area;
acquiring the light-on brightness corresponding to the ambient brightness according to the ambient brightness and the brightness corresponding table; the corresponding relation between the environment brightness and the light-on brightness is as follows: when the environment brightness is smaller than the preset brightness, the lighting brightness value is equal to the environment brightness value, namely the rated brightness value of the intelligent lamp/the maximum brightness value of the environment; and when the environment brightness is greater than the preset brightness, the lighting brightness value is equal to the rated brightness value of the intelligent lamp.
6. An intelligent home controller, comprising a processor and a memory, wherein the processor is coupled to the memory, and wherein the processor executes instructions stored in the memory to implement the intelligent light control method of claim 5 when in operation.
7. A computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the smart lamp control method of claim 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911368744.8A CN110753431B (en) | 2019-12-26 | 2019-12-26 | Intelligent lamp control method, intelligent home controller and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911368744.8A CN110753431B (en) | 2019-12-26 | 2019-12-26 | Intelligent lamp control method, intelligent home controller and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110753431A CN110753431A (en) | 2020-02-04 |
CN110753431B true CN110753431B (en) | 2020-07-17 |
Family
ID=69286028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911368744.8A Expired - Fee Related CN110753431B (en) | 2019-12-26 | 2019-12-26 | Intelligent lamp control method, intelligent home controller and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110753431B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111491427A (en) * | 2020-05-11 | 2020-08-04 | 重庆中普建设工程有限公司 | Intelligent public building integrated management control system |
CN111885796B (en) * | 2020-08-21 | 2023-09-29 | 博流智能科技(南京)有限公司 | Light source brightness self-adaptive control method and system |
CN112367742A (en) * | 2020-11-02 | 2021-02-12 | 南京信息工程大学 | Method and system for controlling lighting equipment in basketball court |
CN113050443A (en) * | 2021-03-23 | 2021-06-29 | 江苏美勒家具科技有限公司 | Intelligent home system linked with wearable electronic equipment and control method thereof |
CN113966053B (en) * | 2021-11-22 | 2024-01-02 | 中电信数智科技有限公司 | Intelligent building light control method, storage medium and system |
CN114326501A (en) * | 2021-12-27 | 2022-04-12 | 京东方科技集团股份有限公司 | Device control system, method, apparatus, electronic device, storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101398992B (en) * | 2008-07-10 | 2010-06-23 | 浙江大学城市学院 | Energy-conserving intelligent all-weather road traffic signpost and control method |
CN103152917A (en) * | 2013-02-01 | 2013-06-12 | 健雄职业技术学院 | Stadium energy-saving control system based on Internet of things and control method thereof |
KR20170051651A (en) * | 2015-10-30 | 2017-05-12 | 삼성전자주식회사 | Lighting system, lighting control device and method |
CN205196035U (en) * | 2015-10-30 | 2016-04-27 | 江苏天楹之光光电科技有限公司 | Intelligence house lighting system |
CN108095368A (en) * | 2017-12-21 | 2018-06-01 | 佛山市伊甸源电子技术有限公司 | A kind of intelligent bedside cabinet with human body sensing |
CN209539179U (en) * | 2019-01-15 | 2019-10-25 | 福建诚安蓝盾实业有限公司 | A kind of fire prevention steel door opened convenient for night |
-
2019
- 2019-12-26 CN CN201911368744.8A patent/CN110753431B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN110753431A (en) | 2020-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110753431B (en) | Intelligent lamp control method, intelligent home controller and storage medium | |
US20160330042A1 (en) | Home automation system | |
US10021731B2 (en) | Home interior monitoring system and communication control method | |
CN105137774B (en) | Intelligent household appliance control method and device and mobile terminal | |
CN108174501B (en) | Scene linkage control intelligent wall switch | |
JP2002141176A (en) | Lighting system, lighting control system, and home electric appliance | |
US11281175B2 (en) | Wireless control module, wireless wall switch, powered device and system | |
CN210694444U (en) | Household intelligent control lighting system | |
CN105050246A (en) | Method for adjusting light brightness by using mobile terminal and mobile terminal | |
CN204650330U (en) | A kind of recognition of face control apparatus device systems | |
CN111491427A (en) | Intelligent public building integrated management control system | |
JP2006318173A (en) | Security robot | |
CN107197567A (en) | Intelligent control system for indoor lighting | |
US20190353337A1 (en) | Custom universal light switch and dimmer | |
CN104768297A (en) | Sensing lamp | |
CN108601178A (en) | A kind of control method of light, system and lamps and lanterns | |
CN205336612U (en) | Lamps and lanterns with radar scan function | |
CN211378330U (en) | Light joint adjusting device | |
US10313444B2 (en) | Home interior monitoring system and communication setting method | |
CN208535829U (en) | Lighting apparatus and application the equipment exempt from be routed building safety monitoring system | |
CN203243549U (en) | Bluetooth LED control system | |
JP6731614B2 (en) | Home monitoring system | |
CN107155246B (en) | switch control circuit and control method thereof | |
JP6573174B2 (en) | Home monitoring system and communication control method | |
JP2020017887A (en) | Lighting system, lighting system control method |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200717 Termination date: 20211226 |