Summary of the invention
The present invention provides a kind of LED, LED to control system and control method, solves when terminal disconnects with wireless communication module, how to realize the technical problem to LED Based Intelligent Control。
First aspect, the present invention provides a kind of LED, including: wireless communication module, study module, LED lamp control module and timer;Wherein, described wireless communication module is connected with described study module, and described study module is connected with described timer and described LED lamp control module respectively;
Described wireless communication module, for receiving the control command that terminal sends, described control command is used for controlling described LED;
Described study module, for recording the reception time of described control command and described control command, and when the reception time of current recorded described control command and described control command meets pre-conditioned, the reception time of described control command is sent to described timer, and after receiving the notification message that described timer sends, send described control command to described LED lamp control module;
Described timer, for receiving the reception time of described control command, and in lower secondary control LED process, when the reception time of described control command arrives, sending a notification message to described study module, described notification message reaches for pointing out the reception of control command described in described study module to have timed out;
Described LED lamp control module, for receiving the described control command that described study module sends, and in the process of LED described in lower secondary control, performs the control operation of described control command automatically。
Wherein, described wireless communication module includes at least one in bluetooth module, Wireless Fidelity WiFi module and ZigBee protocol Zigbee module。
Alternatively, described timer is arranged in described study module。
Further, described wireless communication module is connected with described study module by the first communication bus, and described study module is connected with described timer and described LED lamp control module respectively by second communication bus。
Further, described study module, whether the reception time specifically for judging the current each described control command recorded is identical, when the reception time of current recorded each described control command is identical, judge that whether the number of times of described control command corresponding to described reception time is more than or equal to preset times, and when the number of times of described control command corresponding to described reception time is more than or equal to preset times, it is determined that current recorded described control command and the reception time of described control command meet pre-conditioned。
Further, described study module, it is additionally operable to the reception time in current recorded each described control command identical, and the number of times of described control command corresponding to described reception time is less than preset times and when knowing that the described reception time arrives by described timer, sending the first information to described terminal, described first information is used for asking described terminal again to send described control command to described LED。
Further, described study module, when being additionally operable to the reception time arrival differing and being informed in by described timer last control command currently recorded in the reception time of current recorded each described control command, sending the second information to described terminal, described second information is used for asking described terminal again to send described control command to described LED。
Alternatively, described study module, when being additionally operable to the reception time arrival differing and being informed in by described timer last control command currently recorded in the reception time of current recorded each described control command, sending the 3rd information to described terminal, described 3rd information is used for pointing out whether described terminal adopts last control command described to control described LED。
Further, described study module, it is additionally operable to the reception time of the described control command according to current recorded and described control command, it is determined that the unlatching duration of described LED, and is sent to described terminal by described wireless communication module。
Second aspect, the present invention includes a kind of LED and controls system, and this system includes terminal and above-mentioned LED, for wireless connections between described terminal and described LED。
The third aspect, present invention additionally comprises a kind of LED control method, and the method includes:
The control command that reception terminal sends, and record the reception time of described control command and described control command, described control command is used for controlling described LED;
Judge whether the reception time of current recorded described control command and described control command meets pre-conditioned;
If so, then in the process of LED described in lower secondary control, when the reception time of described control command arrives, the control operation of described control command is automatically performed。
Further, whether the described reception time judging current recorded described control command and described control command meets pre-conditioned, specifically includes:
Judge that whether the reception time of current recorded each described control command is identical;
If the reception time of current recorded each described control command is identical, then judge that whether the number of times of described control command corresponding to described reception time is more than or equal to preset times;
If the number of times of the described control command that the described reception time is corresponding is more than or equal to preset times, it is determined that current recorded described control command and the reception time of described control command meet pre-conditioned。
Further, described method also includes:
If the reception time of current recorded each described control command is identical, and the number of times of described control command corresponding to described reception time is less than preset times, it is determined that current recorded described control command and the reception time of described control command are unsatisfactory for pre-conditioned。
Further, described method also includes:
In the process of LED described in lower secondary control, when the described reception time arrives, sending the first information to described terminal, described first information is used for asking described terminal again to send described control command to described LED。
Further, described method also includes:
If the reception time of current recorded each described control command differs, it is determined that current recorded described control command and the reception time of described control command are unsatisfactory for pre-conditioned。
Further, described method also includes:
When the reception time of last current recorded control command arrives, sending the second information to described terminal, described second information is used for asking described terminal again to send described control command to described LED;
Or,
When the reception time of last current recorded control command arrives, sending the 3rd information to described terminal, described 3rd information is used for pointing out whether described terminal adopts last control command described to control described LED。
Further, described method also includes:
The reception time according to current recorded described control command and described control command, it is determined that the unlatching duration of described LED;
The unlatching duration stating LED is sent to described terminal。
The present invention provides a kind of LED, LED controls system and control method, LED provided by the invention, by wireless communication module is connected with study module, study module is connected with timer and LED lamp control module respectively, wherein study module is for recording the reception time of control command that wireless communication module receives and this control command, and judge whether the control command recorded reception time corresponding with this control command meets pre-conditioned, when meeting pre-conditioned, the reception time corresponding for this control command is sent to timer by study module, when enumerator judges that this reception time arrives, enumerator sends a notification message to study module, the control command corresponding above-mentioned reception time is sent to LED lamp control module according to this notification message by study module, LED lamp control module controls LED according to this control command, achieve the accurate control to LED when terminal disconnects with wireless communication module, alleviate the work load of user, and then achieve the intellectuality of LED。
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearly, 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 clearly and completely described, it is clear that, described embodiment is a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
LED provided by the invention can with terminal wireless communication so that terminal can remotely control the operations such as the open and close of this LED, and wherein terminal can be the smart machine such as smart mobile phone, computer。
LED provided by the invention is Intelligent LED lamp, it is intended to solving existing LED when terminal disconnects with LED, terminal cannot realize the control to LED so that the problem that LED cannot be full intellectualized。The LED of the present invention passes through the control command of study module record terminal transmission and the reception time of this control command, and judge whether the reception time of the control command recorded and this control command meets pre-conditioned, if meeting pre-conditioned, then in the process of lower secondary control LED, LED is made to perform corresponding control command in the above-mentioned reception time, it is achieved the Based Intelligent Control to LED;If being unsatisfactory for pre-conditioned, then study module sends information to terminal, and prompt terminal is to LED transmitting control commands, it is achieved the Based Intelligent Control to LED。
With specifically embodiment, technical scheme is described in detail below。These specific embodiments can be combined with each other below, is likely to repeat no more in some embodiment for same or analogous concept or process。
Fig. 1 is the structural representation of LED embodiment one provided by the invention, as it is shown in figure 1, the LED 100 of the present embodiment includes: wireless communication module 110, study module 120, LED lamp control module 130 and timer 140;Wherein, described wireless communication module 110 is connected with described study module 120, and described study module 120 is connected with described timer 140 and described LED lamp control module 130 respectively。Described wireless communication module 110, for receiving the control command that terminal sends, described control command is used for controlling described LED 100;Described study module 120, for recording the reception time of described control command and described control command, and when the reception time of current recorded described control command and described control command meets pre-conditioned, the reception time of described control command is sent to described timer 140, and after receiving the notification message that described timer 140 sends, send described control command to described LED lamp control module 130;Described timer 140, for receiving the reception time of described control command, and in lower secondary control LED 100 process, when the reception time of described control command arrives, sending a notification message to described study module 120, described notification message reaches for pointing out the reception of control command described in described study module 120 to have timed out;Described LED lamp control module 130, for receiving the described control command that described study module 120 sends, and in the process of LED 100 described in lower secondary control, performs the control operation of described control command automatically。
It should be noted that the LED 100 of the present embodiment, the reception time that the control command of study module 120 record is corresponding with this control command be unsatisfactory for pre-conditioned before, LED 100 is that the control command sent by terminal is controlled。Particularly as follows: terminal transmitting control commands is to wireless communication module 110, this control command is sent to LED lamp control module 130 by study module 120 by wireless communication module 110, LED lamp control module 130 controls this LED 100 according to this control command, and wherein study module 120 records control command that wireless communication module 110 receives and wireless communication module 110 receives reception time of this control command。
Specifically, wireless communication module 110 is for receiving the control command that terminal sends, study module 120 receives the reception time of this control command for the above-mentioned control command and wireless communication module 110 recording wireless communication module 110 reception, and recording the corresponding relation receiving the time of this control command and this control command, the reception time of the above-mentioned control command in the present invention and this control command is one to one。Meanwhile, the reception time of above-mentioned record, control command and the corresponding relation of control command and reception time are saved in log by study module 120。When this control command of study module 120 record and the reception time of control command have reached pre-conditioned, in the upper process once controlling LED 100, the above-mentioned reception time is sent to timer 140 by study module 120, this reception time is carried out timing by timer 140, when arriving this reception time, timer 140 sends a notification message to study module 120, carries the above-mentioned reception time in this notification message。Study module 120 searches the control command corresponding with this reception time according to the reception time carried in this notification message in log, after finding this control command, this control command is sent to LED lamp control module 130, LED lamp control module 130 controls LED 100 according to this control command, it is achieved thereby that disconnect (namely in this reception time at terminal and wireless communication module 110, terminal does not give wireless communication module 110 transmitting control commands) when, it is achieved that the Based Intelligent Control to LED 100。
Alternatively, the present invention judges whether the reception time of control command and this control command meets pre-conditioned, it is possible to being in preset time period, whether the number of times in the identical control command received by the identical reception time meets preset times;Or, can be within the default time period, whether the ratio accounting for all control commands received in whole preset time period in the identical control command received by the identical reception time meets preset ratio, and this pre-conditioned situation that can also is that other, the present invention is without limitation。
In order to further set forth technical scheme, illustrate at this:
Such as, study module 120 continuous 30 days (namely assuming that study module 120 records and the time of learning terminal transmitting control commands is 30 days) recorded wireless communication module 110 and receives the control command about " unlatching LED ", within 27 days, it is wherein that 18:00 receives this control command about " unlatching LED " at night, also having 3 days is that 21:00 receives this control command about " unlatching LED " at night, then 18:00 in evening receives this and reaches predetermined ratio 90% about the control command of " unlatching LED 100 "。Now, in the upper process once controlling LED 100, the reception time " 18:00 " is sent to timer 140 by study module 120。When timer 140 is when reaching this reception time, send announcement information to study module 120, when study module 120 receives the announcement information from timer 140, according to the reception time " 18:00 " comprised in this announcement information, obtain this reception time corresponding control command " unlatching LED ", and control command " unlatching LED " is sent to LED lamp control module 130。LED lamp control module 130 opens described LED 100 according to this control command " unlatching LED ", it is achieved that the Based Intelligent Control to LED 100 when terminal and wireless communication module 110 disconnect。
Predetermined ratio in above-mentioned example can carry out default setting when dispatching from the factory, it is also possible to is carried out personalized setting by user according to own situation。
It should be noted that, the control command that LED 100 provided by the invention sends with terminal is for final control command, namely when the reception time of certain control command that study module 120 records He certain control command meets pre-conditioned, in the process of lower secondary control LED 100, when this reception time arrives, when the control command that the control command that terminal sends and study module 120 record differs, (such as study module 120 is receiving the time 18:00 control command recorded for turning on light, but the control command that terminal sends to wireless communication module 110 at 18:00 is for turning off the light), then LED lamp control module 130 is as the criterion with the control command (such as turning off the light) that terminal sends and controls LED 100, so may further ensure that the terminal Based Intelligent Control to LED 100。
LED provided by the invention, by wireless communication module is connected with study module, study module is connected with timer and LED lamp control module respectively, wherein study module is for recording the reception time of control command that wireless communication module receives and this control command, and judge whether the control command recorded reception time corresponding with this control command meets pre-conditioned, when meeting pre-conditioned, the reception time corresponding for this control command is sent to timer by study module, when enumerator judges that this reception time arrives, enumerator sends a notification message to study module, the control command corresponding above-mentioned reception time is sent to LED lamp control module according to this notification message by study module, LED lamp control module controls LED according to this control command, and then achieve accurately the controlling LED when terminal disconnects with wireless communication module, alleviate the work load of user, it is achieved thereby that the intellectuality of LED。
Fig. 2 is the structural representation of LED embodiment two provided by the invention, on the basis of above-described embodiment, the LED 100 of the present embodiment, wherein wireless communication module 110 can include at least one in bluetooth module 111, Wireless Fidelity WiFi module 112, ZigBee protocol Zigbee module 113。
Specifically, wireless communication module 110 in the present embodiment can include any one in bluetooth module 111, WiFi module 112 and Zigbee module 113, when wireless communication module 110 only include above-mentioned in wireless communication module (such as WiFi module 112) time, this wireless communication module (such as WiFi module 112) is connected with study module 120, this wireless communication module (such as WiFi module 112) is for receiving the control command that terminal sends, it is achieved that mutual between terminal and LED 100。Alternatively, in order to improve the communication reliability between terminal and wireless communication module 110, above-mentioned wireless communication module 110 can include bluetooth module 111, any two in WiFi module 112 and Zigbee module 113, two wireless communication modules (such as bluetooth module 111 and WiFi module 112) in wireless communication module 110 are connected with study module 120 respectively, any one in above-mentioned two wireless communication module (such as bluetooth module 111 and WiFi module 112) is selected to go to receive the control command that terminal sends, add wireless communication module 110 and receive the probability of control command, and then improve reliability mutual between wireless communication module 110 and terminal, prevent from causing the situation of the uncontrollable LED 100 of terminal to produce owing to wireless communication module 110 breaks down。Alternatively, in order to improve the communication reliability between terminal and wireless communication module 110 further, above-mentioned wireless communication module 110 can also include bluetooth module 111 simultaneously, WiFi module 112 and Zigbee module 113, it is connected with study module 120 respectively by above three wireless communication module, and select any one in above three module to go to receive the control command that terminal sends, further increase wireless communication module 110 and receive the probability of control command, improve the communication reliability between terminal and wireless communication module 110, make the accurate recording receiving the time that control command that terminal is sent by study module 120 is corresponding with this control command, and then ensure that whether this control command is met pre-conditioned accurate judgement by study module 120, it is achieved thereby that when terminal does not have transmitting control commands accurate to LED 100, Based Intelligent Control。
Alternatively, the wireless communication module 110 in the present embodiment can also include other kinds of wireless communication module, and number and the type of the concrete wireless communication module that wireless communication module 110 is included by the present invention do not limit。
Alternatively, wireless connections can be passed through between above-mentioned bluetooth module 111, WiFi module 112, Zigbee module 113 and study module 120。
LED provided by the invention, by arranging at least one in bluetooth module, WiFi module and Zigbee module in wireless communication module, improve the communication reliability between terminal and wireless communication module, make the accurate recording receiving the time that control command that terminal is sent by study module is corresponding with this control command, and then ensure that whether this control command is met pre-conditioned accurate judgement by study module, it is achieved thereby that when there is no terminal transmitting control commands accurate, Based Intelligent Control to LED。
Fig. 3 is the structural representation of LED embodiment three provided by the invention, on the basis of above-described embodiment, as shown in Figure 3, timer 140 in the present invention can be arranged in study module 120, form a whole with study module 120, decrease the component number of LED 100, and then simplify the structure of LED 100, improve the usability of LED。
Alternatively, above-mentioned timer 140 can also be arranged on the outside of study module 120, is connected by communication bus。
With reference to above-mentioned Fig. 2 and Fig. 3, above-mentioned LED 100, in order to improve the communication reliability between each module, described wireless communication module 110 is connected with described study module 120 by the first communication bus 150, and described study module 120 is connected with described timer 140 and described LED lamp control module 130 respectively by second communication bus 160。
Specifically, LED 100 provided by the invention, wherein realize telecommunication by wireless connections between wireless communication module 110 and terminal, it is connected by the first communication bus 150 between wireless communication module 110 with study module 120, in fig. 2, bluetooth module 111, WiFi module 112, Zigbee module 113 are connected with study module 120 respectively by the first communication bus 150。Again study module 120 is connected with timer 140 and LED lamp control module 130 respectively by second communication bus 160。In actual use, when study module 120 judges that control command reception time corresponding with this control command does not meet pre-conditioned, terminal is by the wireless wireless communication module 110 that control command is sent to, above-mentioned control command is sent to study module 120 by the first communication bus 150 by wireless communication module 110, study module 120 is sent to LED lamp control module 130 again through second communication bus 160, and LED lamp control module 130 controls LED 100 according to this control command。When study module 120 judges certain control command and reception time corresponding to this control command meets pre-conditioned, in the process of LED 100 described in lower secondary control, the above-mentioned reception time is sent to timer 140 by second communication bus 160 by study module 120, when timer 140 judges to arrive this reception time, timer 140 is sent a notification message to study module 120 by second communication bus 160, study module 120 finds the control command corresponding with this reception time according to the reception time entrained in this notification message, then above-mentioned control command is sent to LED lamp control module 130 by second communication bus 160 by study module 120, LED lamp control module 130 controls LED according to above-mentioned control command, it is achieved thereby that the Based Intelligent Control to LED 100。Connected by the first communication bus 150 and second communication bus 160 between each module of the LED 100 of the present embodiment, and then improve the reliability of communication between each module, further increase the usability of LED 100。
Alternatively, the first communication bus 150 in the present embodiment and second communication bus 160 can be same kind of communication bus。
LED provided by the invention, by being arranged on inside study module by timer, simplifies the structure of LED, improves the usability of LED。Simultaneously, by the first communication bus, wireless communication module is connected with study module, by second communication bus, study module is connected with timer and LED lamp control module respectively so that the communication between above-mentioned each module is more stable, reliable, further increases quality and the usability of LED。
With continued reference to above-mentioned Fig. 1, Fig. 2 and Fig. 3, one in the present invention is likely in embodiment, described study module 120, whether the reception time specifically for judging the current each described control command recorded is identical, when the reception time of current recorded each described control command is identical, judge that whether the number of times of described control command corresponding to described reception time is more than or equal to preset times, and when the number of times of described control command corresponding to described reception time is more than or equal to preset times, determine that the reception time of described control command and the described control command currently recorded meets pre-conditioned。
Illustrating, it is assumed that study module 120 records and time of learning is 10 days, namely when the 10th day, whether each control command that study module 120 starts to judge to record in these 10 days reception time corresponding with each control command meets pre-conditioned。Assume study module 120 recorded continuous 10 days at night 18:00 wireless communication module 110 receive the control command about " open LED 100 ", then the reception time of the above-mentioned control command in these 10 days and this control command is judged by study module 120。First study module 120 judges that whether the reception time of control command " opening LED 100 " is identical, the reception time of this control command is all " 18:00 " herein, and namely in these 10 days, the reception time of the control command " opening LED 100 " of study module 120 record is all identical。Then study module 120 judges that the number of times of the control command " opening LED 100 " received above-mentioned reception time " 18:00 " in these 10 days is whether more than or equal to preset times (assuming that this preset times is 8 times)。The number of times of this control command " open LED 100 " is 10 times herein, more than preset times 8 times, then may determine that the control command " unlatching LED 100 " that study module 120 record meets pre-conditioned。Open in the process of LED 100 in upper once (namely the 11st day), the reception time " 18:00 " is sent to timer 140 by study module 120, when timer 140 is when reaching this reception time, send announcement information to study module 120, when study module 120 receives the announcement information from timer 140, according to the reception time " 18:00 " entrained in this announcement information, obtain this reception time " 18:00 " corresponding control command " opening LED 100 ", and control command " opening LED 100 " is sent to LED lamp control module 130, LED lamp control module 130 opens LED 100 according to this control command " opening LED 100 ", achieve the Based Intelligent Control to LED 100 when terminal disconnects with wireless communication module 110。
Above-mentioned preset times can carry out default setting when dispatching from the factory, it is also possible to is carried out personalized setting by user according to own situation。
LED provided by the invention, by study module whether the reception time that control command is corresponding with this control command is met and pre-conditioned accurately judge, make LED lamp control module can go to control LED according to accurate control command, it is achieved that accurate, the Based Intelligent Control of LED。
With continued reference to above-mentioned Fig. 1, Fig. 2 and Fig. 3, when study module 120 judges that control command reception time corresponding with this control command is unsatisfactory for pre-conditioned, in the alternatively possible embodiment of the present invention, described study module 120, it is additionally operable to the reception time in current recorded each described control command identical, and the number of times of described control command corresponding to described reception time is less than preset times, and when knowing that the described reception time arrives by described timer 140, the first information is sent to described terminal, described first information is used for asking described terminal again to send described control command to described LED 100。
Illustrating, in continuous two days, wireless communication module 110 21:00 at night receives the control command of " closing LED 100 " that terminal sends, and when the 3rd day 21:00 in evening, wireless communication module 110 did not receive any control command that terminal sends。Now timer 140 sends prompting message to study module 120 when receiving time 21:00, study module 120 is reminded to receive time arrival, then study module 120 sends the first information to wireless communication module 110 at reception time 21:00, this first information is sent to terminal by wireless communication module 110 again, this first information for prompt terminal to LED 100 transmitting control commands, it is prevented that forget wireless communication module 110 transmitting control commands is caused the generation of the problems such as the normal use of the waste of resource, damage LED 100 due to user。The technical scheme of the present embodiment, when arriving the reception time, send the first information to terminal in time by study module 120 so that terminal can on time to LED 100 transmitting control commands, realize the Based Intelligent Control to LED 100, and then ensure that the normal use of LED 100。
Wherein, above-mentioned first information can be inquiry message, for instance " whether to close LED 100?", it is also possible to it is prompt tone。The particular content of the first information is not limited by the present invention。
Alternatively, when study module 120 is sent to after terminal the first information and does not still receive the control command that terminal sends, study module 120 can send once above-mentioned first information at set intervals, for interval prompt terminal, it is prevented that terminal causes the situation that could not control LED 100 in time to produce owing to missing the first information checking first time transmission。Alternatively, study module 120 can also send the first information at the eve of the time of reception to terminal, terminal is made to have time enough transmitting control commands to wireless communication module 110, it is ensured that terminal is receiving the time punctual, Based Intelligent Control to LED 100。
The LED of the present invention, when the number of times that study module judges the identical control command received within the identical reception time is unsatisfactory for preset value, the first information is sent to terminal by study module, prompt terminal is in time to wireless communication module transmitting control commands, prevent owing to user forgets to cause for LED transmitting control commands LED the problem of normal operation to produce, ensure that the terminal punctual, Based Intelligent Control to LED, and then ensure that the normal use of LED。
With continued reference to above-mentioned Fig. 1, Fig. 2 and Fig. 3, when study module 120 judges that control command reception time corresponding with this control command is unsatisfactory for pre-conditioned, the second of the present embodiment is likely to be achieved in that: described study module 120, it is additionally operable to differ in the reception time of current recorded each described control command, and when being informed in the reception time arrival of last control command currently recorded by described timer 140, the second information is sent to described terminal, described second information is used for asking described terminal again to send described control command to described LED 100。
Illustrate, first day, wireless communication module 110 receives the control command of " opening LED 100 " that terminal sends at 18:00, second day, wireless communication module 110 have received the control command of " opening LED 100 " that terminal sends at 19:00, 3rd day when time 19:00, wireless communication module 110 does not have transmitting control commands, then timer 140 notifies that study module 120 above-mentioned reception time 19:00 arrives, then study module 120 sends the second information to wireless communication module 110, this second information is sent to terminal by wireless communication module 110 again, for prompt terminal to LED 100 transmitting control commands。Study module 120 in the present embodiment sends second information for time point to terminal with the reception time that last control command is corresponding, for prompt terminal in time to LED 100 transmitting control commands, achieve the terminal Based Intelligent Control to LED 100, it is ensured that the normal operation of LED 100。
It should be noted that, in the above example, wherein when the 18:00 of second day, study module 120 can send the second information to terminal, for reminding terminal to open LED 100, the time of the control command " open LED 100 " being sent to wireless communication module 110 when terminal is 19:00, then LED lamp control module 130 opens LED 100 at 19:00。It is to say, the LED 100 of the present invention, when study module 120 judges that control command reception time corresponding with this control command is unsatisfactory for pre-conditioned, control LED 100 with the control command that terminal sends。
Alternatively, when study module 120 is sent to after terminal the second information and does not still receive the control command that terminal sends, study module 120 can send once above-mentioned second information at set intervals to terminal, for prompt terminal to wireless communication module 110 transmitting control commands。Alternatively, study module 120 can also send the second information at the eve of above-mentioned reception time to terminal, terminal is made to have time enough transmitting control commands to wireless communication module 110, it is ensured that terminal is receiving the time punctual, Based Intelligent Control to LED 100。
LED provided by the invention, when study module judges that control command reception time corresponding with this control command is unsatisfactory for pre-conditioned, and reception time corresponding to this control command is when differing, in the upper process once controlling LED, study module sends the second information in the last reception time that this control command is corresponding to terminal, for timely prompt terminal to LED transmitting control commands, it is achieved that the terminal Based Intelligent Control to LED, ensure that the normal use of LED simultaneously。
Alternatively, when study module 120 judges that control command reception time corresponding with this control command is unsatisfactory for pre-conditioned, the third of the present embodiment is likely to be achieved in that: described study module 120, it is additionally operable to differ in the reception time of current recorded each described control command, and when being informed in the reception time arrival of last control command currently recorded by described timer 140, the 3rd information is sent to described terminal, described 3rd information is used for pointing out whether described terminal adopts last control command described to control described LED 100。
Illustrate, it is " opening LED 100 " that wireless communication module 110 received the control command of terminal transmission when first day 18:00, the control command receiving terminal transmission when being 19:00 in second day is " closing LED ", then when the 19:00 of the 3rd day, when terminal does not have transmitting control commands, study module 120 is sent to the 3rd information of terminal can be " whether close LED 100?"; when terminal check needs to close LED 100; sending the control command of "Yes" to wireless communication module 110, above-mentioned control command "Yes" is sent to study module 120 by wireless communication module 110 again, study module 120 combines whether the 3rd information sent " closes LED 100?"; obtain control command " closing LED 100 "; judge LED 100 state now; if now LED 100 is opening; this control command " closing LED 100 " is sent to LED lamp control module 130 by study module 120, and LED lamp control module 130 controls LED 100 and closes simultaneously;If now LED 100 is closed mode, control command " closing LED 100 " need not be sent to LED lamp control module 130 by study module 120。I.e. the 3rd information of the present embodiment, while prompt terminal is LED 100 transmitting control commands so that terminal send control command simplify, and then alleviate for workload, thus facilitating the terminal Based Intelligent Control to LED 100。
Alternatively, when study module 120 is sent to the control command still not receiving terminal after terminal the 3rd information, study module 120 can send once above-mentioned 3rd information at set intervals to terminal, for prompt terminal to wireless communication module 110 transmitting control commands。Alternatively, study module 120 just can also send the 3rd information to terminal at the eve of above-mentioned reception time so that terminal has time enough transmitting control commands to wireless communication module 110, it is achieved that terminal is to punctual, the Based Intelligent Control to LED 100。
LED provided by the invention, when study module judges that control command reception time corresponding with this control command is unsatisfactory for pre-conditioned, and reception time corresponding to this control command is when differing, when the last reception time of this control command, study module sends the 3rd information to terminal, 3rd information is used for pointing out whether described terminal adopts last control command described to control described LED, the control command that terminal sends according to the 3rd information is simplified, and then alleviate the workload of user, thus facilitating the terminal Based Intelligent Control to LED。
Further, with continued reference to above-mentioned Fig. 1, Fig. 2 and Fig. 3, study module 120 in above-mentioned LED 100, it is additionally operable to the reception time of the described control command according to current recorded and described control command, determine the unlatching duration of described LED 100, and be sent to described terminal by described wireless communication module 110。
Specifically, study module 120 have recorded the control command used of terminal transmission and the reception time of each control command, make study module 120 can obtain, according to the reception Time Calculation of the control command of above-mentioned record and each control command, total duration that LED 100 is opened in special time period, and the total duration of unlatching of above-mentioned LED 100 is sent to terminal by wireless communication module 110, terminal is made to carry out the opening time of Reasonable adjustment LED 100 according to the duration of opening of LED 100, prevent LED 100 opening time long, cause the waste of resource。In combination with charging unit price set in advance, it is thus achieved that the expense that LED 100 spends in above-mentioned special time。
Alternatively, when terminal needs the unlatching duration obtaining the LED 100 in certain a period of time, terminal sends request by wireless communication module 110 to study module 120, and study module 120 obtains the unlatching duration of LED 100 in this time period according to this request, and this unlatching duration is sent to terminal。Alternatively, study module 120 can also send once the total duration of unlatching of LED 100 in this time period in the time (last day of such as every month) of regulation to terminal。
LED provided by the invention, control command and the time that receives of this control command that study module sends by recording terminal obtain the unlatching duration of LED, and this unlatching duration is sent to terminal, make terminal can grasp the ruuning situation of LED at any time, and the duration of opening according to LED carrys out the opening time of Reasonable adjustment LED, achieve the reasonable employment to LED, it is prevented that the LED opening time, the long problem causing the wasting of resources produced。
Fig. 4 is the structural representation that LED provided by the invention controls system embodiment, on the basis of above-described embodiment, the present invention also provides for a kind of LED and controls system, as shown in Figure 4, this LED controls system 300 and includes terminal 200 and LED 100 described above, for wireless connections between described terminal 200 and described LED 100。
The present embodiment is by terminal 200 and the wireless connections of above-mentioned LED 100, make the terminal 200 can by the wireless realization Based Intelligent Control to LED 100, LED 100 can also pass through wireless transmission information to terminal simultaneously, what achieve between LED 100 and terminal 200 is mutual, and then improves accuracy and intellectuality that LED 100 is controlled。Wherein, terminal 200 in the present embodiment can be the smart machine such as smart mobile phone, computer, the radio connection of terminal 200 and LED 100 can be WAP (AccessPoint is called for short AP), Wireless Fidelity (WirelessFidelity is called for short WiFi) etc.。
LED provided by the invention controls system, it is possible to achieve the Based Intelligent Control to above-mentioned LED, its concrete principle and technique effect are referred to above-described embodiment, do not repeat them here。
Fig. 5 is the schematic flow sheet of LED control method embodiment one provided by the invention, and the method for the present embodiment is desirably integrated in above-mentioned LED, it is also possible to be integrated in independent control module for controlling LED。The present embodiment refers to, when the reception time judging control command and this control command meets pre-conditioned, how to realize the detailed process of the full intellectualized control to LED。As described in Figure 5, the method may include that
The control command that S101, reception terminal send, and record the reception time of described control command and described control command, described control command is used for controlling described LED。
S102, judge whether the reception time of current recorded described control command and described control command meets pre-conditioned。
S103, if so, then in the process of LED described in lower secondary control, when the reception time of described control command arrives, automatically perform the control operation of described control command。
Said method was recorded by the reception time that control command that terminal is sent is corresponding with each control command, when certain control command of above-mentioned record and the reception time of this control command meet pre-conditioned, in the upper process once controlling LED, when the reception time that above-mentioned control command is corresponding arrives, directly execution is above-mentioned meets pre-conditioned control command, and then achieve when terminal and LED disconnect the Based Intelligent Control to LED, its concrete grammar is referred to the detailed process of above-mentioned LED embodiment, does not repeat them here。
LED control method provided by the invention, it is possible to achieve the Based Intelligent Control of above-mentioned LED, its concrete principle is similar with technique effect, does not repeat them here。
Fig. 6 is the schematic flow sheet of LED control method embodiment two provided by the invention, on the basis of above-described embodiment, the present embodiment refers to how to judge that the reception time of control command and this control command currently recorded meets pre-conditioned detailed process。As shown in Figure 6, the method specifically may include that
S201, judge that whether the reception time of current recorded each described control command is identical。
If the reception time of each described control command that S202 is current recorded is identical, then judge that whether the number of times of described control command corresponding to described reception time is more than or equal to preset times。
If the number of times of the described control command that the S203 described reception time is corresponding is more than or equal to preset times, it is determined that current recorded described control command and the reception time of described control command meet pre-conditioned。
Above-mentioned steps S201, S202, S203 be above-mentioned steps S102 implement process, perform after may be located at above-mentioned steps S101, before step S103, when the reception time for realizing control command and this control command currently recorded meets pre-conditioned, the Based Intelligent Control to LED 100。
LED control method provided by the invention, it is possible to achieve the Based Intelligent Control of above-mentioned LED, its concrete principle is similar with technique effect, does not repeat them here。
Fig. 7 is the schematic flow sheet of LED control method embodiment three provided by the invention, on the basis of above-described embodiment, the present embodiment is identical between referring to when 330 receiving, but when control command is unsatisfactory for pre-conditioned, how to realize the detailed process to LED Based Intelligent Control。As it is shown in fig. 7, the method may include that
If the reception time of each described control command that S301 is current recorded is identical, and the number of times of described control command corresponding to described reception time is less than preset times, it is determined that current recorded described control command and the reception time of described control command are unsatisfactory for pre-conditioned。
S302, in the process of LED described in lower secondary control, when the described reception time arrives, send the first information to described terminal, described first information is used for asking described terminal again to send described control command to described LED。
Above-mentioned steps S301, S302 are branches of above-mentioned steps S201, for identical between realizing when 330 receiving, but when control command is unsatisfactory for pre-conditioned, realize the terminal Based Intelligent Control to LED 100 by sending the first information to terminal。
LED control method provided by the invention, it is possible to achieve the Based Intelligent Control of above-mentioned LED, its concrete principle is similar with technique effect, does not repeat them here。
Fig. 8 is the schematic flow sheet of LED control method embodiment four provided by the invention, on the basis of above-described embodiment, when the present embodiment differs between referring to when 330 receiving, control command is unsatisfactory for pre-conditioned, how to realize the detailed process of the Based Intelligent Control to LED。As shown in Figure 8, the method may include that
If the reception time of each described control command that S401 is current recorded differs, it is determined that current recorded described control command and the reception time of described control command are unsatisfactory for pre-conditioned。
S402, when the reception time of last current recorded control command arrives, send the second information to described terminal, described second information is used for asking described terminal again to send described control command to described LED。
Or, S403, when the reception time of last current recorded control command arrives, send the 3rd information to described terminal, described 3rd information is used for pointing out whether described terminal adopts last control command described to control described LED。
Specifically, above-mentioned steps S401, S402 (or S403) are the another one branches of above-mentioned steps S201, it is possible to perform after being positioned at above-mentioned steps S201。When judging that according to the method for S401 the reception time of current recorded each described control command differs, then determine that the reception time of control command and this control command currently recorded is unsatisfactory for pre-conditioned, now can perform the method described in S402, the method described in S403 can also be performed, for realizing the Based Intelligent Control to LED。
LED control method provided by the invention, it is possible to achieve the Based Intelligent Control of above-mentioned LED, its concrete principle is similar with technique effect, does not repeat them here。
Fig. 9 is the schematic flow sheet of LED control method embodiment five provided by the invention, and on the basis of above-mentioned enforcement, the LED control method of the present embodiment can be also used for calculating the total duration of unlatching of LED。As it is shown in figure 9, the detailed process of the method may include that
S501, reception time according to current recorded described control command and described control command, it is determined that the unlatching duration of described LED。
S502, the unlatching duration stating LED is sent to described terminal。
The present embodiment, can be obtained the unlatching duration of LED in special time period, and this unlatching duration is sent to terminal by said method so that terminal can carry out the opening time of conservative control LED according to the duration of opening of above-mentioned LED。
LED control method provided by the invention, it is possible to achieve the Based Intelligent Control of above-mentioned LED, its concrete principle is similar with technique effect, does not repeat them here。
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein some or all of technical characteristic is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme。