Summary of the invention
Place in view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of room lighting intelligent control sides
Method and system, it is intended under the premise of mobile electronic device and Intelligent illumination device couple, be based on mobile electronic device, actively supervise
User Status is surveyed, the automatic control and adjusting to light are carried out.
In order to achieve the above object, the technical proposal for solving the technical problem of the invention is as follows:
A kind of room lighting intelligent control method, comprising the following steps:
A, the threshold value for detecting indoor light luminance is preset;
B, when detecting that indoor light brightness is less than preset threshold, then C is entered step;
C, by detect indoor wireless short-distance communication network whether have connection, judge interior whether someone;
D, when judging indoor someone, then Intelligent illumination device unlatching is controlled.
The room lighting intelligent control method, wherein step C specifically: logical by detecting indoor wireless short-distance
Whether news network has connection, judges whether there is mobile electronic device access indoor wireless short distance communication network, when having detected
When mobile electronic device accesses indoor wireless short distance communication network, then judges indoor someone, otherwise, judge indoor no one.
The room lighting intelligent control method, wherein after step D, further comprise the steps of:
E, User Status is detected by mobile electronic device, intelligence is controlled according to User Status and the environmental information detected
Lighting apparatus automatic brightness adjustment.
The room lighting intelligent control method, wherein the User Status includes amusement state, read state, stops
Breath state.
The room lighting intelligent control method, wherein after step D, further includes:
F, when detecting that user is in sleep state, control Intelligent illumination device is closed.
A kind of room lighting intelligence control system, comprising:
Module is pre-seted, for presetting the threshold value for detecting indoor light luminance;
Light detection module, for detecting whether indoor light luminance is less than preset threshold;
Connecting detection module, for whether having connection by detecting indoor wireless short-distance communication network, judging that interior is
No someone;
First control module, for when judging indoor someone, then controlling Intelligent illumination device unlatching.
The room lighting intelligence control system, wherein connecting detection module specifically:
Whether there is connection by detecting indoor wireless short-distance communication network, judge whether there is mobile electronic device access room
Interior wireless short-distance communication network is then sentenced when having detected that mobile electronic device accesses indoor wireless short distance communication network
Otherwise disconnected interior someone judges indoor no one.
The room lighting intelligence control system, wherein further include:
Automatic brightness adjustment module, for detecting User Status by mobile electronic device, according to User Status and detection
The environmental information control Intelligent illumination device automatic brightness adjustment arrived.
The room lighting intelligence control system, wherein further include:
Second control module, for when detecting that user is in sleep state, control Intelligent illumination device to be closed.
A kind of Intelligent controller for indoor lighting, comprising: lighting apparatus, mobile electronic device, wherein Intelligent illumination device
Light sensation module, communication module, processor module, control module be located at another physically separate smart machine;Mobile electricity
Induction judgment module, the communication module of sub- equipment are located at a physically separate equipment;
Wherein, the light sensation module of the Intelligent illumination device, for incuding the power of light;
The Intelligent illumination device communication module, for being communicated with mobile electronic device;
The Intelligent illumination device processor module, according to the light sensation module of Intelligent illumination device monitored as a result,
And information obtained is communicated with mobile electronic device, analytical calculation is carried out, judges whether that needing to open or close illumination sets
It is standby, or whether need to carry out the light adjusting of lighting apparatus;
The Intelligent illumination device control module, according to the analysis of Intelligent illumination device processor module as a result, to intelligence
It can lighting apparatus sending control instruction;
The mobile electronic device incudes judgment module, for lasting real-time monitoring and records user state information and ring
Border information makes analytical judgment;The mobile electronic device communication module, for User Status conclusion information to be passed to shifting
Dynamic electronic equipment;
It is connected between the physical equipment by wireless communication mode.
The utility model has the advantages that compared to the prior art, a kind of room lighting intelligent control method provided by the invention and system, institute
The method of stating includes: A, presets the threshold value for detecting indoor light luminance;B, when detecting that indoor light brightness is less than default threshold
When value, then C is entered step;C, by detect indoor wireless short-distance communication network whether have connection, judge interior whether someone;
D, when judging indoor someone, then Intelligent illumination device unlatching is controlled.The system comprises: module is pre-seted, light detects mould
Block, connecting detection module, the first control module.Under the premise of being directed at mobile electronic device and Intelligent illumination device connection, lead to
Cross detection to ambient light and based on mobile electronic device actively monitoring User Status, and carry out automatic control to light and
It adjusts, improves the automation of intelligent lighting, improve the convenience that lighting apparatus uses.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to
It is of the invention in limiting.
Referring to Figure 1, Fig. 1 is a kind of stream of the first preferred embodiment of room lighting intelligent control method provided by the invention
Cheng Tu, comprising the following steps:
S100, the threshold value for detecting indoor light luminance is preset;
The threshold value for detecting indoor light luminance is preset, the indoor light brightness value that detects and preset threshold are passed through
It compares, judges the state of current indoor light.
S200, when detect indoor light brightness be less than preset threshold when, then enter step S300;
First it is noted that the Intelligent illumination device that the present invention refers to, refers to the intelligence with ability to communicate and computing capability
Energy or traditional home lighting equipment.
Wherein, the light sensation module of Intelligent illumination device, communication module, processor module, control module can be located at another
Physically separate smart machine transmits corresponding instruction by wireless communication mode to Intelligent illumination device.
The light sensation module of Intelligent illumination device is the power for incuding light.For the power value of light, by processing
Become measurable data with quantization, both can directly measure ambient brightness value, it can also be by the bright of ambient light
Angle value is converted into the voltage value for being easier to measure or current value to measure.Most light sensor is by two currently on the market
A component, that is, light projector and light-receiving device are formed, it are focused to light by lens using light projector, arrive light-receiving device through transmission
Lens, then to inductor is received, receive the light signal that will receive of inductor and be transformed into electric signal, to become measurable
Data.
The communication module of Intelligent illumination device, communicates with mobile electronic device, is connected by wireless communication mode
It connects.Communication modes include but is not limited to the information transmission of local area network based on ICP/IP protocol or wide area network communication, equipment with
The bluetooth of equipment room, infrared, Wi-Fi, Zigbee, direct-connected transmission mode that FM etc. is wireless.
Intelligent illumination device preferably through the wireless communication modes such as indoor WIFI network and mobile electronic device and its
The physics of three kinds and three kinds or more the roles such as its intelligent domestic electric appliances (such as smart television with wireless network connection)
It is connected between equipment.
Intelligent illumination device processor module, it is detected according to the light sensation module of Intelligent illumination device as a result, and with
Mobile electronic device communicates information obtained, carries out analytical calculation, judges whether to need to open or close lighting apparatus, or
The light for whether needing to carry out lighting apparatus is adjusted.
Intelligent illumination device instruction module: according to the analysis of Intelligent illumination device processor module as a result, to intelligent lighting
Equipment issues control instruction, i.e., opens to Intelligent illumination device, closes or automatically adjust to Intelligent illumination device brightness.
When detecting ambient light by the light sensing module of Intelligent illumination device, judges the power of ambient light, work as light
Line is weaker than a certain critical value, and judgement has the condition that lighting apparatus automatically opens, and otherwise, lighting apparatus is without opening.For example it arrives
When the dusk, the sun sets or rainy weather, detects that ambient brightness is less than preset ambient brightness unit threshold
When, reach the condition for opening lighting apparatus, enters step S300.Preferably, using 10 brills as its critical value setting,
When the indoor light brightness detected is less than 10 brills, judgement has the condition that lighting apparatus automatically opens, and enters
Step S300.
S300, by detect indoor wireless short-distance communication network whether have connection, judge interior whether someone;
Step S300 specifically: whether have connection by detecting indoor wireless short-distance communication network, judge whether there is shifting
Dynamic electronic equipment accesses indoor wireless short distance communication network, when having detected that mobile electronic device accesses indoor wireless short distance
When communication network, then indoor someone is judged, otherwise, judge indoor no one.
For example, when the indoor wireless short distance communication is indoor WIFI network, it can be by detecting indoor WIFI network
Whether have mobile electronic device access judge it is indoor whether someone.If there is mobile electronic device to access indoor WIFI network,
Judge indoor someone, control lighting apparatus automatically opens;If mobile electronic device, which has been not detected, accesses indoor WIFI network,
Judge user not indoors, it is not necessary to open lighting apparatus.
In short, internal home network whether can be accessed by detection mobile electronic device judges whether interior is in someone's state,
Or under conditions of mobile electronic device and Intelligent illumination device couple, it is based on mobile electronic device, actively monitoring User Status,
And to the relevant control of Intelligent illumination device.
Wherein, the mobile electronic device referred in the present invention is a kind of independent shifting with ability to communicate and computing capability
Dynamic electronic equipment, including but not limited to wearable device, the general or special purpose small-sized sensing equipment etc. with ability to communicate.
Induction judgment module, the communication module of mobile electronic device can be located at a physically separate equipment.
Wherein, mobile electronic device incudes judgment module, continues real-time monitoring and records user state information and environment letter
Breath, and make analytical judgment.The functional module can physically be divided into sensor and the more than two electronics groups of computing unit
Part, can also be integrated according to reality, and the present invention does not do pressure and limits.Pass through induction module and judgment module, monitoring
And record the real-time physical condition information of user, motion conditions, environmental change, the information such as change in location, this type of information include but
It is not limited to the heart rate, shell temperature, ambient pressure, humidity, user movement track of user, the user data such as position.It is independent or comprehensive
Close according to sensor information, calculate User Status judging result, and stored or mould is communicated by mobile electronic device
Block is sent to relevant device, such as Intelligent illumination device, to control the operation of Intelligent illumination device.
Mobile electronic device communication module, the User Status conclusion for obtaining mobile electronic device induction judgment module
Information passes to mobile electronic device.The present invention does not limit mobile electronic device with the connection type of Intelligent illumination device,
Transmission mode also includes but is not limited to the information transmission of local area network or wide area network communication based on ICP/IP protocol, equipment and sets
Bluetooth between standby, infrared, WiFi, Zigbee, FM etc. is wireless direct-connected or indirect, one direction or two-way transmission mode.It is such logical
The realization of news technology and agreement have had real protocol specification, and details are not described herein.
S400, when judging indoor someone, then control Intelligent illumination device unlatching;
When by having detected that mobile electronic device accesses indoor wireless short distance communication network, then judge that interior has
People, and indoor light is under the precondition for needing to open Intelligent illumination device at this time, then needs to open intelligent lighting and set
It is standby.
For example, when user goes back home at night, when detecting user's smart machine access interior WIFI network by WIFI, control
Intelligent illumination device light processed automatically opens.
Further, can also include:
Step S500, User Status is detected by mobile electronic device, according to User Status and the environmental information detected
Control Intelligent illumination device automatic brightness adjustment.
Lighting apparatus brightness is automatically adjusted, for example, when user is in and sees tv state or resting state, according to difference
User Status, the brightness of adjust automatically Intelligent illumination device meets the light of user's different scenes to preset suitable brightness
Degree demand.
Specifically, the User Status may include amusement state, read state, resting state.Amusement state can refer to see
TV etc. is bright to need brighter state, and read state refers to the quiet bright light of comparison without dazzling state, rest
State can refer to quietly to listen to music the state that equal light need to dim, held at this time by mobile electronic device induction judgment module
Continuous real-time monitoring simultaneously records user state information and environmental information, and makes analytical judgment, is set according to User Status control illumination
For automatic brightness adjustment to suitable brightness.Wherein monitoring information is including but not limited to the heart rate of user, shell temperature, environment gas
Pressure, humidity, user movement track, the user data such as position.It is independent or synthesis according to sensor information, calculate User Status
Judging result, and stored or be sent to relevant device, such as Intelligent illumination device.
Further, when detecting that user is in sleep state, control Intelligent illumination device is closed, for example, according to
Mobile electronic device monitors situation, and when judging that user is in rest or sleep state, User Status data result can be sent to intelligence
Energy lighting apparatus, light can be dimmed to closing automatically.
Similar, intelligence can also be judged when detecting intelligent television equipment access WIFI network and ambient light changes
It can television equipment opening.When user opens smart television, ambient room light can change, and intelligent television equipment can be simultaneously at this time
Indoor WIFI network is accessed, relevant information, which synchronizes, is sent to Intelligent illumination device, and according to the brill of TV, intelligent lighting is set
It is standby to be automatically adjusted to opposite appropriate brightness, the best impression for seeing TV of user is provided.
Judgement for User Status, not unique but most important condition as control Intelligent illumination device.For example, when the
Two day morning was the cloudy day, and the condition for opening Intelligent illumination device, also, user's mobile electronic device have been reached according to brill
Also indoors in WIFI network.But according to the induction judgment module of mobile electronic device, monitor user also in sleep shape
State need not then open Intelligent illumination device.
In order to further understand technical solution of the present invention, further referring to Fig. 2, Fig. 2 is provided by the invention
A kind of flow chart of the second preferred embodiment of room lighting intelligent control method, comprising steps of
S10, detection indoor light;
S20, judge whether indoor light brightness is less than preset threshold, if meet the condition for opening Intelligent illumination device,
If it is not, return step S10 is continued to test, if so, entering step S30;
S30, judge indoor whether someone if it is not, terminating, if judging indoor someone, enters step S40;
S40, Intelligent illumination device is opened, enters step S50;
S50, detection User Status, enter step S60;
S60, judge whether User Status changes, if it is not, return step S50 continues to test User Status, if so, receiving new
Status data, and enter step S70;
S70, judge whether to need to close Intelligent illumination device, if so, such as user falls asleep at night, then need to close at this time
Intelligent illumination device terminates, if it is not, then entering step S80;
S80, judge User Status and detect environmental information, enter step S90;
S90, according to User Status and environmental information, judge whether to need to adjust Intelligent illumination device brightness, if it is not, knot
Beam then needs adjust automatically Intelligent illumination device brightness if so, such as user is seeing that TV or user are in resting state
To suitable light, light is made to be more suitable for the current state of user, and terminated.
The present invention is based on mobile electronic device, actively monitoring under the premise of mobile electronic device and housed device couple
User Status, and carry out the relevant operation to housed device.Such as: when user goes back home at night, the light of family can be beaten automatically
It opens;When user needs rest, light can be dimmed to closing automatically;When user is when seeing TV, light can be also automatically adjusted to
Opposite appropriate brightness, provides the best impression for seeing TV of user, brings great advantage to the user, enable users to abundant body
The convenience of intelligent bring automation can be arrived.
Corresponding to the method, referring to Fig. 3, Fig. 3 is of the invention to provide a kind of room lighting intelligence control system function
Energy module map, comprising:
Module is pre-seted, for presetting the threshold value for detecting indoor light luminance, as detailed above;
Light detection module, for detecting whether indoor light luminance is less than preset threshold, as detailed above;
Connecting detection module, for whether having connection by detecting indoor wireless short-distance communication network, judging that interior is
No someone, as detailed above;
First control module, for when judging indoor someone, then controlling Intelligent illumination device unlatching, specific institute as above
It states.
The room lighting intelligence control system, wherein connecting detection module specifically:
Whether there is connection by detecting indoor wireless short-distance communication network, judge whether there is mobile electronic device access room
Interior wireless short-distance communication network is then sentenced when having detected that mobile electronic device accesses indoor wireless short distance communication network
Otherwise disconnected interior someone judges indoor no one, as detailed above.
The room lighting intelligence control system, wherein further include:
Automatic brightness adjustment module, for detecting User Status by mobile electronic device, according to User Status and detection
The environmental information control Intelligent illumination device automatic brightness adjustment arrived, as detailed above;
Second control module, for when detecting that user is in sleep state, control Intelligent illumination device to be closed, specifically
As described above.
A kind of Intelligent controller for indoor lighting, including lighting apparatus, mobile electronic device, wherein
Light sensation module, communication module, processor module, the control module of Intelligent illumination device are located at another physically
Independent smart machine, as detailed above;Induction judgment module, the communication module of mobile electronic device are located at one physically
Independent equipment, as detailed above;
Wherein, the light sensation module of the Intelligent illumination device, for incuding the power of light, as detailed above;
The Intelligent illumination device communication module, for being communicated with mobile electronic device, specific institute as above
It states;
The Intelligent illumination device processor module, according to the light sensation module of Intelligent illumination device monitored as a result,
And information obtained is communicated with mobile electronic device, analytical calculation is carried out, judges whether that needing to open or close illumination sets
It is standby, or whether need to carry out the light adjusting of lighting apparatus, as detailed above;
The Intelligent illumination device control module, according to the analysis of Intelligent illumination device processor module as a result, to intelligence
Energy lighting apparatus issues control instruction, as detailed above;
The mobile electronic device incudes judgment module, for lasting real-time monitoring and records user state information and ring
Border information makes analytical judgment, as detailed above;
The mobile electronic device communication module, for User Status conclusion information to be passed to mobile electronic device,
As detailed above;
It is connected between the physical equipment by wireless communication mode.The present invention is not shone mobile electronic device with intelligence
The connection type of bright equipment limits, and transmission mode includes but is not limited to local area network or wide area network communication based on ICP/IP protocol
Information transmission, equipment and equipment room bluetooth, infrared, WiFi, Zigbee, it is direct-connected or indirect that FM etc. is wireless, one direction or
Two-way transmission mode.The realization of such mechanics of communication and agreement have had real protocol specification, do not limit scope in the present invention.
In conclusion a kind of room lighting intelligent control method provided by the invention and system, which comprises A, pre-
First setting detects the threshold value of indoor light luminance;B, it when detecting that indoor light brightness is less than preset threshold, then enters step
C;C, by detect indoor wireless short-distance communication network whether have connection, judge interior whether someone;D, when judging that interior has
When people, then Intelligent illumination device unlatching is controlled.The system comprises: pre-set module, light detection module, connecting detection mould
Block, the first control module.Under the premise of being directed at mobile electronic device and Intelligent illumination device connection, by ambient light
It detects and is based on mobile electronic device actively monitoring User Status, and carry out the automatic control and adjusting to light, improve intelligence
The automation of illumination improves the convenience that Intelligent illumination device uses.
Certainly, those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method,
It is that related hardware (such as processor, controller etc.) can be instructed to complete by computer program, the program can store
In a computer-readable storage medium, which may include the process such as above-mentioned each method embodiment when being executed.Its
Described in storage medium can be for memory, magnetic disk, CD etc..
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.