CN107548216A - A kind of illumination control method, device, equipment and storage medium - Google Patents
A kind of illumination control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN107548216A CN107548216A CN201710760824.2A CN201710760824A CN107548216A CN 107548216 A CN107548216 A CN 107548216A CN 201710760824 A CN201710760824 A CN 201710760824A CN 107548216 A CN107548216 A CN 107548216A
- Authority
- CN
- China
- Prior art keywords
- illuminator
- rssi
- closed
- control
- mobile terminal
- 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.)
- Granted
Links
Abstract
The embodiments of the invention provide a kind of illumination control method, device, equipment and storage medium, wherein, methods described includes:Detect the received signal strength indicator RSSI for the signal that the specified mobile terminal received is sent;When illuminator is closed, and RSSI meets system unlocking condition, control illuminator is opened;When illuminator is in opening, and RSSI meets system closedown condition, control illuminator is closed.By illumination control method provided in an embodiment of the present invention, device, equipment and storage medium, the automaticity to illuminator control can be improved, lifts Consumer's Experience.
Description
Technical field
The present invention relates to Smart Home technical field, more particularly to a kind of illumination control method, device, equipment and storage
Medium.
Background technology
It is more and more important to the intelligent control of illuminator with the development of smart home technology.Current Lighting control
In method, according to the time set in advance, timing controlled illuminator is turned on or off.
As can be seen that in current this illumination control method, needed if user goes home before the time of setting
Manually opened illuminator.For example, user gets home in general at 10 points in evening, so control illuminator is beaten for 10 points in every night
Open.But some day, user got home in advance, for example, at 9 points in evening gets home, now, user just needs manually opened illuminator.
So that relatively low to the automaticity of illuminator control, Consumer's Experience is bad.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of illumination control method, device, equipment and storage medium, Ke Yiti
The high automaticity to illuminator control, lift Consumer's Experience.Concrete technical scheme is as follows:
In a first aspect, the embodiments of the invention provide a kind of illumination control method, including:
Detect the received signal strength indicator RSSI for the signal that the specified mobile terminal received is sent;
When illuminator is closed, and the RSSI meets system unlocking condition, the illuminator is controlled
Open;When the illuminator is in opening, and the RSSI meets system closedown condition, the illuminator is controlled
Close.
Optionally, it is described when illuminator is closed, and the RSSI meets system unlocking condition, control institute
Illuminator unlatching is stated, including:
When the illuminator is closed, and the RSSI is more than or equal to signal strength threshold, described in control
Illuminator is opened;
It is described when the illuminator is in opening, and the RSSI meets system closedown condition, described in control
Illuminator is closed, including:
When the illuminator is closed, and the RSSI is less than the signal strength threshold, described in control
Illuminator is closed.
Optionally, methods described also includes:
When it is upper once detect the RSSI after preset time period in, be not detected by the specified mobile terminal hair
During the signal sent, the illuminator is controlled to close.
Optionally, it is described when illuminator is closed, and the RSSI meets system unlocking condition, control institute
Illuminator unlatching is stated, including:
According to the RSSI, the distance between the specified mobile terminal and the illuminator are determined;
When the illuminator is closed, and the distance is less than or equal to pre-determined distance threshold value, described in control
Illuminator is opened;
It is described when the illuminator is in opening, and the RSSI meets system closedown condition, described in closing
Illuminator, including:
When the illuminator is in opening, and the distance is more than the pre-determined distance threshold value, described in control
Illuminator is closed.
Optionally, the RSSI for the signal that the specified mobile terminal received is sent is detected, including:
Detect the RSSI for the signal that the multiple specified mobile terminals received are sent;
It is described when illuminator is closed, and the RSSI meets system unlocking condition, control the illumination
System is opened, including:
When illuminator is closed, and at least one specified mobile terminal hair in the multiple specified mobile terminal
The RSSI of the signal sent, when meeting system unlocking condition, the illuminator is controlled to open;
It is described when the illuminator is in opening, and the RSSI meets system closedown condition, described in control
Illuminator is closed, including:
When the illuminator is in opening, and all specified mobile terminal hairs in the multiple specified mobile terminal
The RSSI of the signal sent, when being satisfied by system closedown condition, the illuminator is controlled to close.
Optionally, it is described when the illuminator is in opening, and the RSSI meets system closedown condition, close
The illuminator is closed, including:
When the illuminator is in opening, and the RSSI meets system closedown condition, the illumination is controlled
System is closed after preset duration.
Second aspect, the embodiments of the invention provide a kind of illumination control apparatus, including:
Detection module, the RSSI of the signal sent for detecting the specified mobile terminal received;
First control module, for being closed when illuminator, and when the RSSI meets system unlocking condition,
The illuminator is controlled to open;When the illuminator is in opening, and the RSSI meets system closedown condition,
The illuminator is controlled to close.
Optionally, first control module, including:
First control submodule, for being closed when the illuminator, and the RSSI is more than or equal to signal
During intensity threshold, the illuminator is controlled to open;
Second control submodule, for being closed when the illuminator, and the RSSI is less than the signal
During intensity threshold, the illuminator is controlled to close.
Optionally, described device also includes the second control module;Second control module, once detected upper for working as
In preset time period after to the RSSI, when being not detected by the signal that the specified mobile terminal is sent, the photograph is controlled
Bright system is closed.
Optionally, first control module, including:
Determination sub-module, for according to the RSSI, determining between the specified mobile terminal and the illuminator
Distance;
3rd control submodule, for being closed when the illuminator, and the distance is less than or equal to preset
During distance threshold, the illuminator is controlled to open;
4th control submodule, for being in opening when the illuminator, and the distance is more than described preset
During distance threshold, the illuminator is controlled to close.
Optionally, the detection module is specifically used for the signal that multiple specified mobile terminals that detection receives are sent
RSSI;
First control module, including:
5th control submodule, for being closed when illuminator, and in the multiple specified mobile terminal extremely
The RSSI for the signal that a few specified mobile terminal is sent, when meeting system unlocking condition, controls the illuminator to open
Open;
6th control submodule, for being in opening, and the multiple specified mobile terminal when the illuminator
In the RSSI of signal that sends of all specified mobile terminals, when being satisfied by system closedown condition, control the illuminator
Close.
Optionally, first control module is used for when the illuminator is in opening, and RSSI satisfactions
During system closedown condition, the illuminator is controlled to be closed after preset duration.
The third aspect, the embodiments of the invention provide a kind of lighting control equipment, including processor and machine readable storage
Medium, the machinable medium is stored with can be by the machine-executable instruction of the computing device, the processing
Device is promoted by the machine-executable instruction:Realize the method and step described in first aspect.
Fourth aspect, the embodiments of the invention provide a kind of machinable medium, machine-executable instruction is stored with,
When being called and being performed by processor, the machine-executable instruction promotes the processor:Realize the side described in first aspect
Method step.
Illumination control method, device, equipment and storage medium provided in an embodiment of the present invention, can detect the finger received
Determining the RSSI of signal of mobile terminal transmission, (Received Signal Strength Indication, received signal strength refer to
Show);When illuminator is closed, and RSSI meets system unlocking condition, control illuminator is opened;When illumination is
System be in opening, and when RSSI meets system closedown condition, control illuminator closing.So can be according to RSSI not
Together, control illuminator opens or closes.The automaticity to illuminator control can be improved, lifts Consumer's Experience.When
So, any product or method for implementing the present invention must be not necessarily required to reach all the above advantage simultaneously.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of illumination control method provided in an embodiment of the present invention;
Fig. 2 is another flow chart of illumination control method provided in an embodiment of the present invention;
Fig. 3 is another flow chart of illumination control method provided in an embodiment of the present invention;
Fig. 4 is that the state of illuminator in illumination control method provided in an embodiment of the present invention switches schematic diagram;
Fig. 5 is another flow chart of illumination control method provided in an embodiment of the present invention;
Fig. 6 is that the flow chart that illuminator is closed is controlled in illumination control method provided in an embodiment of the present invention;
Fig. 7 is the structural representation of illumination control apparatus provided in an embodiment of the present invention;
Fig. 8 is the structural representation of lighting control equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
The embodiments of the invention provide a kind of illumination control method, as shown in figure 1, including:
Step 101, the RSSI for the signal that the specified mobile terminal received is sent is detected.
Step 102, when illuminator is closed, and RSSI meets system unlocking condition, illuminator is controlled
Open;When illuminator is in opening, and RSSI meets system closedown condition, control illuminator is closed.
Illumination control method provided in an embodiment of the present invention, according to RSSI difference, control illuminator opens or closes,
The automaticity to illuminator control can be improved, lifts Consumer's Experience.
The embodiment of the present invention additionally provides a kind of illumination control method, as shown in Fig. 2 including:
Step 201, the RSSI for the signal that the specified mobile terminal received is sent is detected.
Illumination control method provided in an embodiment of the present invention, it can apply to wireless router etc..
The RSSI for the signal that the specified mobile terminal that wireless router detection receives is sent.Specified mobile terminal can be
The mobile terminal used using the user of illuminator, can be the shifting commonly used using the kinsfolk of illuminator specifically
Dynamic terminal.The signal that mobile terminal is sent can be Bluetooth signal, Wi-Fi (Wireless Fidelity, Wireless Fidelity) signal
Deng.Different mobile ends can be specifically identified by MAC (Media Access Control, medium access control) address
End.
It should be noted that specifying mobile terminal to include one or more specifies mobile terminal.For example, user one
When individual lives, specified mobile terminal can be one, mobile phone that such as user commonly uses, tablet personal computer.Or multiple families
When member lives together, specified mobile terminal can be multiple, mobile phone, the tablet personal computer that such as each kinsfolk commonly uses.
When specified mobile terminal only has one, it is only necessary to detect only this and specify corresponding to mobile terminal
RSSI;And when specified mobile terminal includes multiple, including, detect the letter that the multiple specified mobile terminals received are sent
Number RSSI.
Step 202, when illuminator is closed, and RSSI is more than or equal to signal strength threshold, control illumination
System is opened;When illuminator is closed, and RSSI is less than signal strength threshold, control illuminator is closed.
Wireless router and the switch of illuminator connect, by wireless router can control illuminator unlatching or
Person closes.Specifically, it is determined that signal strength threshold, when illuminator is closed, and RSSI is more than or equal to signal intensity
During threshold value, control illuminator is opened;When illuminator is closed, and RSSI is less than signal strength threshold, control
Illuminator is closed.
It should be noted that the signal strength threshold can determine according to actual conditions.Specifically, because RSSI can be used
Come the distance between indication signal point and receiving point, in embodiments of the present invention RSSI can be used to refer to specify mobile terminal with
The distance between wireless router.RSSI value is bigger, then it represents that specifies the distance between mobile terminal and wireless router more
It is small, that is, mobile terminal is specified closer to illuminator., can will be without circuit so in a kind of optional mode of the embodiment of the present invention
The signal intensity of signal being received by device, specifying mobile terminal to be sent in the pre-determined distance of distance illumination systems, as
Signal strength threshold.For example, when illuminator is closed, when kinsfolk is moved to 2 meters of distance illumination systems, that is, refer to
When the distance for determining mobile terminal and illuminator is 2 meters, control illuminator is opened, then wireless router receive, specify
The signal intensity for the signal that mobile terminal is sent in 2 meters of distance illumination systems is as signal strength threshold.
, can RSSI be according to corresponding at different distance by illumination control method provided in an embodiment of the present invention
Together, control illuminator opens or closes, i.e., according to the physical location for the user distance illuminator for specifying mobile terminal, control
Illuminator opens or closes.The automaticity to illuminator control can be improved, lifts Consumer's Experience.Meanwhile compare
Compared with utilize infrared sensor actuated signal control illuminator, the embodiment of the present invention utilize daily life in commonly use without circuit
By device, extra hardware cost is avoided.
It is understandable to be, the RSSI for the signal that the specified mobile terminal that wireless router receives is sent and specified shifting
Corresponding relation be present in dynamic the distance between terminal and illuminator.So signal sent according to the specified mobile terminal received
RSSI, it may be determined that specify the distance between mobile terminal and illuminator.So can be according to specified mobile terminal with shining
The different distance of bright system, control illuminator are turned on or off.Specifically, as shown in figure 3, can include:
Step 301, the RSSI for the signal that the specified mobile terminal received is sent is detected.
Step 301 is identical with step 201 in above-described embodiment, just repeats no more here.
Step 302, according to RSSI, it is determined that specifying the distance between mobile terminal and illuminator.
Specifically, mobile terminal and illuminator can be specified when detecting the RSSI, when record detects the RSSI
The distance between, and the corresponding relation by the RSSI and distance can be preserved.In this way, corresponding pass preserved by searching
System, you can to determine to specify the distance between mobile terminal and illuminator corresponding to RSSI.
Step 303, when illuminator is closed, and the distance between mobile terminal and illuminator is specified to be less than
During equal to pre-determined distance threshold value, control illuminator is opened;When illuminator is in opening, and specified mobile terminal and photograph
When the distance between bright system is more than pre-determined distance threshold value, control illuminator is closed.Wherein, pre-determined distance threshold value can basis
Actual conditions are set.
In the present embodiment, illuminator can be controlled according to the distance between specified mobile terminal and illuminator
It is turned on or off.So that user can be perceive intuitively that controls illuminator by itself actual situation of movement
It is turned on or off, can so improves Consumer's Experience.At the same time it can also avoid timing controlled from meeting the feelings of user's request
Condition, enabling being turned on or off for illuminator is controlled according to the actual demand of user.
In order to lift Consumer's Experience, the state of illuminator, can be with addition to including opening and closed mode
Including treating closed mode.Treat that closed mode duration can be set according to actual conditions.This treats that closed mode can also manage
The buffer status between opening and closed mode is solved, i.e., when meeting closedown condition, for example, specifying mobile terminal
When RSSI is more than pre-determined distance threshold value less than the distance of signal strength threshold or specified distance of mobile terminal illuminator, control
Illuminator turns off after a period of time.As shown in figure 4, the switching between the state of illuminator can include:
When illuminator is closed, and RSSI meets system unlocking condition, control illuminator is opened, this
Situation the above it is stated that just repeat no more here.
When illuminator is in opening, and RSSI meets system closedown condition, control illuminator, which is in, to be waited to close
Closed state;Closed mode is treated when illuminator is in, and when RSSI meets system closedown condition, control illuminator is closed.
Specifically, when illuminator is in opening, and RSSI meets system closedown condition, control illuminator exists
Closed after preset duration, i.e. the state of illuminator by opening during closed mode is switched to, first by opening
State, which switches to, treats closed mode, then again by treating that closed mode switches to closed mode.For example, in the illuminator in hotel,
After electric card is taken out, illuminator is not to close at once, but is turned off after a period of time so that illuminator from
Bright state is switched to dark state with having transition, and the time that making the eyes of user has buffering deacclimatizes dark state, Jin Erti
High Consumer's Experience.
Closed mode is treated when illuminator is in, and when RSSI meets system unlocking condition, control illuminator is opened.Example
Such as, left using the user of illuminator, but returned without departing from treating in closed mode duration, now, control is shone
Bright system is opened, and the state of illuminator is by treating that closed mode switches to opening.
The signal that the specified mobile terminal that wireless router detection receives is sent, and then received according to wireless router
The signal RSSI, control illuminator be turned on or off, wherein, signal can be air message.As shown in figure 5, bag
Include:
Step 501, air message is monitored.
Step 502, judge whether user corresponding to the mobile terminal of transmission air message is kinsfolk.
Specifically, the MAC Address for the mobile terminal that predetermined kinsfolk commonly uses.Receive the nothing of mobile terminal transmission
Report from a liner text, judge the mobile terminal whether be specify mobile terminal, that is, judge the mobile terminal MAC Address whether be included in it is pre-
In the MAC Address first determined, and then judge whether user corresponding to mobile terminal is kinsfolk.If the mobile terminal
MAC Address is included in predetermined MAC Address, i.e., the mobile terminal is to specify mobile terminal, corresponding to the mobile terminal
User is kinsfolk, now, performs step 503.
Step 503, judge whether the kinsfolk is marked as leaving.
While the RSSI for the signal that the specified mobile terminal that wireless router detection receives is sent, record is different in real time
RSSI corresponding to time point.When being not detected by RSSI in preset time period, then mark and specify family corresponding to mobile terminal
Member leaves.So before control illuminator is turned on or off, judge whether kinsfolk is marked as leaving.If
It is, when detecting the RSSI of specified mobile terminal of kinsfolk again, to perform step 504, and perform step 505.And such as
Fruit is not labeled, directly performs step 505.
Step 504, that cancels the kinsfolk leaves mark.
Step 505, RSSI corresponding to the current mobile terminal and the time point received are recorded.I.e. real-time update is different
RSSI corresponding to time point.
Step 506, judge whether RSSI is more than or equal to signal strength threshold.
Judge whether RSSI meets system unlocking condition.When RSSI meets system unlocking condition, i.e., RSSI is more than or equal to
Signal strength threshold, perform step 507;When RSSI is discontented with pedal system unlocking condition, i.e. when RSSI is less than signal strength threshold,
Perform step 511.
Step 507, judge whether illuminator is currently closed.
When judging that illuminator is closed, step 509 is performed;Judging that illuminator is not at closed mode
When, perform step 508.
Step 508, judge whether illuminator is currently in and treat closed mode.
When illuminator is in when closed mode, step 510 is performed.
Step 509, illuminator is controlled to open.
Step 510, illuminator is controlled by treating that closed mode switches to opening.
Step 511, judge whether illuminator is currently in opening.
When judging that illuminator is in opening, step 512 is performed.
Step 512, control illuminator to be in and treat closed mode, that is, control illuminator to be switched to by opening and wait to close
Closed state.
Step 513, control control illuminator is closed.
Step 514, continue to monitor air message, namely be back to step 501.
Mobile terminal is specified in monitoring to wireless router in real time, can so be specified according to corresponding to different time points mobile whole
The RSSI at end, the real-time range between kinsfolk and illuminator, control being turned on or off for illuminator.
From the discussion above it is recognised that specify mobile terminal can include one can also include it is multiple.Specifying movement
When terminal includes multiple, control illuminator is opened, including:
When illuminator is closed, and at least one specified mobile terminal is sent in multiple specified mobile terminals
The RSSI of signal, when meeting system unlocking condition, control illuminator is opened.
Specifically, using any one in multiple users of illuminator or multiple, distance illumination systems are moved to
Pre-determined distance in the range of when, that is, specify the distance between mobile terminal and illuminator be less than or equal to either any one or
When RSSI corresponding to multiple is more than or equal to signal strength threshold, control illuminator is opened.
When specified mobile terminal includes multiple, control illuminator is closed, including:
When illuminator is in opening, and the signal that all specified mobile terminals are sent in multiple specified mobile terminals
RSSI, when being satisfied by system closedown condition, control illuminator close.
Specifically, using illuminator it is all with outside the pre-determined distance scope for being moved to distance illumination systems per family when,
The distance between i.e. all specified mobile terminals and illuminator are all higher than pre-determined distance threshold value, or all mobile terminals correspond to
RSSI when being respectively less than signal strength threshold, control illuminator is closed.
In a kind of optional embodiment of the present invention, when it is upper once detect RSSI after preset time period in, not
When detecting the signal that specified mobile terminal is sent, control illuminator is closed.Specifically, the specified movement received in detection
When the RSSI for the signal that terminal is sent, time point corresponding to detection RSSI can be recorded, i.e., real-time record different time points
The RSSI detected.The RSSI and the corresponding relation at time point of specified mobile terminal can be specifically preserved in the form of a list.
As the RSSI and the record at time point that do not find specified mobile terminal in preset time period, then explanation is in preset time period
The RSSI of specified mobile terminal is not detected by, now, control illuminator is closed.
For example, wireless router searches the RSSI and the record at time point for specifying mobile terminal in every two minutes, if two points
The record is not updated in clock, i.e., the RSSI of specified mobile terminal was not detected by two minutes.At this point it is possible to this is marked to specify
User leaves corresponding to mobile terminal.It is if all with marking per family in multiple users and multiple users using having for illuminator
When being designated as leaving, control illuminator is closed.
Specifically, as shown in fig. 6, including:
Step 601, kinsfolk is traveled through.
Specifically, the RSSI that mobile terminal is specified corresponding to all kinsfolks is traveled through.
Step 602, judge whether to have traveled through all kinsfolks.
When having traveled through all kinsfolks, step 603 is performed;When not traveled through all kinsfolks, step is performed
Rapid 605.
Step 603, judge whether that all kinsfolks are marked as leaving.
When judging that all kinsfolks are marked as leaving, step 607 is performed;Judging there is kinsfolk not marked
When being designated as leaving, step 604 is performed.
Step 604, judge to be not labeled as the kinsfolk left, whether the RSSI of its corresponding specified mobile terminal is less than
Signal strength threshold.
The system closedown condition for controlling illuminator to close, can be that all kinsfolks are marked as leaving;Also may be used
Signal strength threshold is respectively less than with the RSSI for being specified mobile terminal corresponding to all kinsfolks;Or can also be all families
In the member of front yard except it is at least one be not labeled as leaving in addition to, other are all marked as leaving, and this at least one is not marked
The kinsfolk left is designated as, the RSSI of corresponding specified mobile terminal is less than signal strength threshold.
Step 605, the RSSI of mobile terminal record is specified corresponding to the kinsfolk for judging currently to traverse, apart from upper
Once update and whether exceed preset time period.
If it is, perform step 606;If not, continue to judge to specify mobile terminal corresponding to next kinsfolk
Whether RSSI record, the last renewal of distance exceed preset time period.
Specifically, the RSSI of specified mobile terminal record is judged, whether the last renewal of distance exceedes preset time period,
The record for the RSSI that mobile terminal is specified corresponding to the kinsfolk traversed is may determine that, whether is had more in preset time period
Newly, that is, judge in preset time period, if detect the RSSI that mobile terminal is specified corresponding to the kinsfolk.
Step 606, the kinsfolk is labeled as leaving.
Step 607, judge whether illuminator is in and treat closed mode.
According to the above it is recognised that in order to lift Consumer's Experience in the embodiment of the present invention, closed in control illuminator
Before closing, first illuminator is switched to and treats closed mode.So before control illuminator is closed, whether illuminator is judged
In treating closed mode.
Step 608, illuminator is controlled to close.
Step 609, if illuminator is in opening, control illuminator, which switches to, treats closed mode.
Pass through the embodiment of the present invention so that when the user using mobile terminal is away from illuminator, illuminator is closed,
So improve the automaticity to illuminator control.And it can avoid when no user uses illuminator, illuminate
System saves the energy also in the situation of opening.
The embodiment of the present invention additionally provides a kind of illumination control apparatus, as shown in fig. 7, comprises:
Detection module 701, the RSSI of the signal sent for detecting the specified mobile terminal received;
First control module 702, for being closed when illuminator, and when RSSI meets system unlocking condition,
Illuminator is controlled to open;When illuminator is in opening, and RSSI meets system closedown condition, illuminator is controlled
Close.
Illumination control apparatus provided in an embodiment of the present invention, according to RSSI difference, control illuminator opens or closes,
The automaticity to illuminator control can be improved, lifts Consumer's Experience.
Optionally, the first control module 702, including:
First control submodule, for being closed when illuminator, and RSSI is more than or equal to signal strength threshold
When, control illuminator is opened;
Second control submodule, for being closed when illuminator, and when RSSI is less than signal strength threshold, control
Illuminator processed is closed.
Optionally, the device also includes the second control module;Second control module, once detected upper for working as
In preset time period after RSSI, when being not detected by the signal that specified mobile terminal is sent, control illuminator is closed.
Optionally, the first control module 702, including:
Determination sub-module, for according to RSSI, it is determined that specifying the distance between mobile terminal and illuminator;
3rd control submodule, for being closed when illuminator, and distance is less than or equal to pre-determined distance threshold value
When, control illuminator is opened;
4th control submodule, for being in opening when illuminator, and apart from when being more than pre-determined distance threshold value, control
Illuminator processed is closed.
Optionally, detection module 701 is specifically used for the signal that multiple specified mobile terminals that detection receives are sent
RSSI;
First control module 702, including:
5th control submodule, for being closed when illuminator, and at least one in multiple specified mobile terminals
The RSSI for the signal that individual specified mobile terminal is sent, when meeting system unlocking condition, control illuminator is opened;
6th control submodule, for being in opening, and all fingers in multiple specified mobile terminals when illuminator
Determine the RSSI of the signal of mobile terminal transmission, when being satisfied by system closedown condition, control illuminator is closed.
Optionally, the first control module 702 when illuminator for being in opening, and RSSI meets that system closes bar
During part, control illuminator is closed after preset duration.
It should be noted that the illumination control apparatus of the embodiment of the present invention is the device using above-mentioned illumination control method,
Then all embodiments of above-mentioned illumination control method are applied to the device, and can reach same or analogous beneficial effect.
The embodiment of the present invention additionally provides a kind of lighting control equipment, as shown in figure 8, can including processor 801 and machine
Storage medium 802 is read, machinable medium 802 is stored with the machine-executable instruction that can be performed by processor 801, locates
Reason device 801 is promoted by machine-executable instruction:Realize the method and step of above-mentioned illumination control method.
Above-mentioned processor 801 can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is application specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other PLDs, discrete
Door or transistor logic, discrete hardware components.
Machinable medium 802 can include random access memory (Random Access Memory, RAM),
Nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage can also be included.It is optional
, readable storage medium storing program for executing can also be at least one storage device for being located remotely from aforementioned processor.
, can RSSI be according to corresponding at different distance by lighting control equipment provided in an embodiment of the present invention
Together, control illuminator opens or closes, i.e., according to the physical location for the user distance illuminator for specifying mobile terminal, control
Illuminator opens or closes.The automaticity to illuminator control can be improved, lifts Consumer's Experience.Meanwhile compare
Compared with utilize infrared sensor actuated signal control illuminator, the embodiment of the present invention utilize daily life in commonly use without circuit
By device, extra hardware cost is avoided.
The embodiment of the present invention additionally provides a kind of machinable medium, is stored with machine-executable instruction, is being located
When managing device calling and performing, machine-executable instruction promotes processor:Realize the method and step of above-mentioned illumination control method.
By machinable medium provided in an embodiment of the present invention, can according to corresponding at different distance RSSI
Difference, control illuminator open or close, i.e., according to the physical location for the user distance illuminator for specifying mobile terminal, control
Illuminator processed opens or closes.The automaticity to illuminator control can be improved, lifts Consumer's Experience.Meanwhile phase
It is compared to utilize infrared sensor actuated signal control illuminator, the embodiment of the present invention is wireless using what is commonly used in daily life
Router, avoid extra hardware cost.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those
Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Other identical element also be present in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
It is interior.
Claims (14)
- A kind of 1. illumination control method, it is characterised in that including:Detect the received signal strength indicator RSSI for the signal that the specified mobile terminal received is sent;When illuminator is closed, and the RSSI meets system unlocking condition, the illuminator is controlled to open; When the illuminator is in opening, and the RSSI meets system closedown condition, the illuminator is controlled to close.
- 2. according to the method for claim 1, it is characterised in that described when illuminator is closed and described When RSSI meets system unlocking condition, the illuminator is controlled to open, including:When the illuminator is closed, and the RSSI is more than or equal to signal strength threshold, the illumination is controlled System is opened;It is described when the illuminator is in opening, and the RSSI meets system closedown condition, control the illumination System is closed, including:When the illuminator is closed, and the RSSI is less than the signal strength threshold, the illumination is controlled System is closed.
- 3. according to the method for claim 1, it is characterised in that methods described also includes:When it is upper once detect the RSSI after preset time period in, be not detected by what the specified mobile terminal was sent During signal, the illuminator is controlled to close.
- 4. according to the method for claim 1, it is characterised in that described when illuminator is closed and described When RSSI meets system unlocking condition, the illuminator is controlled to open, including:According to the RSSI, the distance between the specified mobile terminal and the illuminator are determined;When the illuminator is closed, and the distance is less than or equal to pre-determined distance threshold value, the illumination is controlled System is opened;It is described when the illuminator is in opening, and the RSSI meets system closedown condition, close the illumination System, including:When the illuminator is in opening, and the distance is more than the pre-determined distance threshold value, the illumination is controlled System is closed.
- 5. according to the method described in any one of Claims 1-4, it is characterised in that detect the specified mobile terminal hair received The RSSI of the signal sent, including:Detect the RSSI for the signal that the multiple specified mobile terminals received are sent;It is described when illuminator is closed, and the RSSI meets system unlocking condition, control the illuminator Open, including:When illuminator is closed, and at least one specified mobile terminal is sent in the multiple specified mobile terminal The RSSI of signal, when meeting system unlocking condition, the illuminator is controlled to open;It is described when the illuminator is in opening, and the RSSI meets system closedown condition, control the illumination System is closed, including:When the illuminator is in opening, and all specified mobile terminals transmissions in the multiple specified mobile terminal The RSSI of signal, when being satisfied by system closedown condition, the illuminator is controlled to close.
- 6. according to the method described in any one of Claims 1-4, it is characterised in that described to be opened when the illuminator is in State, and when the RSSI meets system closedown condition, the illuminator is closed, including:When the illuminator is in opening, and the RSSI meets system closedown condition, the illuminator is controlled Closed after preset duration.
- A kind of 7. illumination control apparatus, it is characterised in that including:Detection module, the RSSI of the signal sent for detecting the specified mobile terminal received;First control module, for being closed when illuminator, and when the RSSI meets system unlocking condition, control The illuminator is opened;When the illuminator is in opening, and the RSSI meets system closedown condition, control The illuminator is closed.
- 8. device according to claim 7, it is characterised in that first control module, including:First control submodule, for being closed when the illuminator, and the RSSI is more than or equal to signal intensity During threshold value, the illuminator is controlled to open;Second control submodule, for being closed when the illuminator, and the RSSI is less than the signal intensity During threshold value, the illuminator is controlled to close.
- 9. device according to claim 7, it is characterised in that described device also includes the second control module;Described second Control module, for when it is upper once detect the RSSI after preset time period in, be not detected by the specified movement During the signal that terminal is sent, the illuminator is controlled to close.
- 10. device according to claim 7, it is characterised in that first control module, including:Determination sub-module, for according to the RSSI, determining the distance between the specified mobile terminal and the illuminator;3rd control submodule, for being closed when the illuminator, and the distance is less than or equal to pre-determined distance During threshold value, the illuminator is controlled to open;4th control submodule, for being in opening when the illuminator, and the distance is more than the pre-determined distance During threshold value, the illuminator is controlled to close.
- 11. according to the device described in any one of claim 7 to 10, it is characterised in that the detection module is specifically used for detection The RSSI for the signal that the multiple specified mobile terminals received are sent;First control module, including:5th control submodule, for being closed when illuminator, and at least one in the multiple specified mobile terminal The RSSI for the signal that individual specified mobile terminal is sent, when meeting system unlocking condition, the illuminator is controlled to open;6th control submodule, for being in opening, and institute in the multiple specified mobile terminal when the illuminator There is the RSSI of the signal of specified mobile terminal transmission, when being satisfied by system closedown condition, control the illuminator to close.
- 12. according to the device described in any one of claim 7 to 10, it is characterised in that first control module is used to work as institute State illuminator and be in opening, and when the RSSI meets system closedown condition, control the illuminator when default Closed after long.
- 13. a kind of lighting control equipment, it is characterised in that described machine readable including processor and machinable medium Storage medium, which is stored with, be can perform by the machine-executable instruction of the computing device, the processor by the machine Instruction promotes:Realize any described method and steps of claim 1-6.
- A kind of 14. machinable medium, it is characterised in that be stored with machine-executable instruction, by processor call and During execution, the machine-executable instruction promotes the processor:Realize any described method and steps of claim 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710760824.2A CN107548216B (en) | 2017-08-30 | 2017-08-30 | Illumination control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710760824.2A CN107548216B (en) | 2017-08-30 | 2017-08-30 | Illumination control method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107548216A true CN107548216A (en) | 2018-01-05 |
CN107548216B CN107548216B (en) | 2020-02-18 |
Family
ID=60959079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710760824.2A Active CN107548216B (en) | 2017-08-30 | 2017-08-30 | Illumination control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107548216B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108990232A (en) * | 2018-07-27 | 2018-12-11 | 上海与德科技有限公司 | Intelligent lamp controls method, apparatus, terminal and storage medium |
CN111030901A (en) * | 2019-12-20 | 2020-04-17 | 成都国科微电子有限公司 | Intelligent household equipment control method and device and related equipment |
CN111343774A (en) * | 2020-03-06 | 2020-06-26 | 杭州涂鸦信息技术有限公司 | Method and system for automatically sensing lamp turning on and off |
WO2021109826A1 (en) * | 2019-12-05 | 2021-06-10 | 苏州亮芯光电科技有限公司 | Integrated light detection, lighting, and communication device, and control method therefor |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120059622A1 (en) * | 2010-08-13 | 2012-03-08 | Stmicroelectronics S.R.L. | Location system for street light monitoring |
CN203884044U (en) * | 2014-04-15 | 2014-10-15 | 江苏绿建节能科技有限公司 | Light control device |
CN203934077U (en) * | 2014-06-30 | 2014-11-05 | 惠州帕兰德光电科技有限公司 | A kind of radar inductive lightning light fixture |
CN104582176A (en) * | 2014-12-30 | 2015-04-29 | 欧普照明股份有限公司 | Wireless lighting control system and wireless lighting control method thereof |
CN104619090A (en) * | 2015-02-12 | 2015-05-13 | 矽照光电(厦门)有限公司 | LED lighting method |
CN105940770A (en) * | 2014-01-28 | 2016-09-14 | Lg伊诺特有限公司 | Indoor lighting device, indoor lighting system, and method of operating same |
CN106793395A (en) * | 2016-12-16 | 2017-05-31 | 建荣半导体(深圳)有限公司 | A kind of method for controlling blue-tooth intelligence light fixture, system and relevant device |
-
2017
- 2017-08-30 CN CN201710760824.2A patent/CN107548216B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120059622A1 (en) * | 2010-08-13 | 2012-03-08 | Stmicroelectronics S.R.L. | Location system for street light monitoring |
CN105940770A (en) * | 2014-01-28 | 2016-09-14 | Lg伊诺特有限公司 | Indoor lighting device, indoor lighting system, and method of operating same |
CN203884044U (en) * | 2014-04-15 | 2014-10-15 | 江苏绿建节能科技有限公司 | Light control device |
CN203934077U (en) * | 2014-06-30 | 2014-11-05 | 惠州帕兰德光电科技有限公司 | A kind of radar inductive lightning light fixture |
CN104582176A (en) * | 2014-12-30 | 2015-04-29 | 欧普照明股份有限公司 | Wireless lighting control system and wireless lighting control method thereof |
CN104619090A (en) * | 2015-02-12 | 2015-05-13 | 矽照光电(厦门)有限公司 | LED lighting method |
CN106793395A (en) * | 2016-12-16 | 2017-05-31 | 建荣半导体(深圳)有限公司 | A kind of method for controlling blue-tooth intelligence light fixture, system and relevant device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108990232A (en) * | 2018-07-27 | 2018-12-11 | 上海与德科技有限公司 | Intelligent lamp controls method, apparatus, terminal and storage medium |
WO2021109826A1 (en) * | 2019-12-05 | 2021-06-10 | 苏州亮芯光电科技有限公司 | Integrated light detection, lighting, and communication device, and control method therefor |
CN111030901A (en) * | 2019-12-20 | 2020-04-17 | 成都国科微电子有限公司 | Intelligent household equipment control method and device and related equipment |
CN111343774A (en) * | 2020-03-06 | 2020-06-26 | 杭州涂鸦信息技术有限公司 | Method and system for automatically sensing lamp turning on and off |
Also Published As
Publication number | Publication date |
---|---|
CN107548216B (en) | 2020-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107548216A (en) | A kind of illumination control method, device, equipment and storage medium | |
CN104582176B (en) | A kind of wireless lighting control system and its wireless lighting control method | |
CN107808669B (en) | Voice control method, intelligent home system, storage medium and computer equipment | |
CN103686663B (en) | Network flow monitoring method and device | |
CN105159105A (en) | Work method and device of intelligent electric appliance | |
CN106350972A (en) | Information processing method used for clothes airing, clothes airing equipment and clothes airing system | |
CN107132822A (en) | Control method, intelligent door lock and the control system of smart home | |
WO2018006513A1 (en) | Method and apparatus for controlling lighting device | |
CN104468953B (en) | A kind of method and electronic equipment of information processing | |
CN104039040A (en) | Control method and device for intelligent lamp | |
US20150382434A1 (en) | Techniques for Remote Communication with a Photocontrol Device | |
CN204648819U (en) | A kind of refrigerator with remote prompting function | |
CN105282140B (en) | A kind of control method of smart home system, equipment and system | |
CN204946284U (en) | To go out alarm set | |
CN104021036B (en) | A kind of electronic equipment and state of electronic equipment switching method | |
CN104883783A (en) | Door control light switch system based on wireless communication and method thereof | |
CN105630331A (en) | Display method and display system | |
CN110167241A (en) | A kind of data transfer control method and system of the illumination of interior wisdom | |
CN105162971A (en) | Method and system for controlling intelligent household system by mobile intelligent terminal | |
CN108427317A (en) | Home equipment control method and device | |
CN107145215A (en) | A kind of background application method for cleaning and mobile terminal | |
CN108282943A (en) | Illumination control method and device | |
CN104062918A (en) | Method for controlling electronic product through power-on/power-off operation | |
CN103159102A (en) | Control method, device, and system of electronic advertising equipment in elevator cab | |
CN106060868A (en) | Network traffic monitoring method, device and terminal |
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 |