CN109496037A - Lighting time adjusting method, device, storage medium and the system of solar energy lamp - Google Patents
Lighting time adjusting method, device, storage medium and the system of solar energy lamp Download PDFInfo
- Publication number
- CN109496037A CN109496037A CN201811330786.8A CN201811330786A CN109496037A CN 109496037 A CN109496037 A CN 109496037A CN 201811330786 A CN201811330786 A CN 201811330786A CN 109496037 A CN109496037 A CN 109496037A
- Authority
- CN
- China
- Prior art keywords
- time
- light
- solar energy
- duration
- energy lamp
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Abstract
The invention discloses a kind of lighting time adjusting methods of solar energy lamp, comprising: obtains the bright light control time being arranged, and judges the control category of the bright light got control time;When confirming the control category is delay bright light, if the time difference of current time and default lighting time are equal to the delay time of the delay bright light, solar energy lamp is lighted;When confirming the control category is bright light in advance, if default lighting time and the time difference of current time are equal to the pre-set time of the bright light in advance, solar energy lamp is lighted.The invention also discloses lighting time regulating device, storage medium and the systems of a kind of solar energy lamp.The present invention controls the lighting time that the time adjusts solar energy lamp by setting bright light, reduces solar energy lamp lighting time inconsistent problem, and then realize the beneficial effect for improving lighting time control.
Description
Technical field
The present invention relates to the lighting time adjusting method of lamps and lanterns control technology field more particularly to a kind of solar energy lamp,
Device, storage medium and system.
Background technique
Existing solar energy lamp, the voltage for generally passing through solar panels in practical application determine that ambient light changes,
And then switch control is carried out to solar energy lamp.And if in solar energy lamp widespread adoption, it is contemplated that solar panels
Difference condition be easy to cause the time of switch lamp when by determining ambient light variation control solar energy lamp switch
Difference, for such situation, the bright light of the general solar energy lamp shift to an earlier date/delayed unified by setting controls time unification pair
Its sun energy lamps and lanterns is controlled.But in this case, if the obtained voltage differences of solar panels are larger, and then cause setting
When having set the solar energy lamp bright light control time shift to an earlier date/delayed, it is accurate in bright light to be easily reduced control solar energy lamp
Property.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of lighting time adjusting methods of solar energy lamp, it is intended to solve existing
The solar energy lamp of technology big technical problem of lighting time difference as caused by the inconsistent row of solar panels.
To achieve the above object, the present invention provides a kind of lighting time adjusting method of solar energy lamp, including following interior
Hold:
The bright light control time being arranged is obtained, and judges the control category of the bright light got control time;
When confirming the control category is delay bright light, if the time difference of current time and default lighting time are equal to institute
The delay time for stating delay bright light, lights solar energy lamp;
When confirming the control category is bright light in advance, if default lighting time and the time difference of current time are equal to institute
The pre-set time for stating bright light in advance, light solar energy lamp.
Preferably, described when confirming the control category is delay bright light, if current time and default lighting time
The step of time difference is equal to the delay time of the delay bright light, lights solar energy lamp, comprising:
Count the time difference that current time arrives default lighting time, and by the delay of the time difference and the bright light that is delayed
Time compares;
When confirming that the time difference is equal to the delay time, solar energy lamp is lighted.
Preferably, described when confirming the control category is bright light in advance, if default lighting time and current time
The step of time difference is equal to the pre-set time of the bright light in advance, lights solar energy lamp, comprising:
The time difference of default lighting time to current time is counted, and the time difference is shifted to an earlier date into shifting to an earlier date for bright light with described
Time compares;
When confirming that the time difference is equal to the pre-set time, solar energy lamp is lighted.
Preferably, described to obtain the bright light control time being arranged, and judge the bright light got the control time
Control category the step of before, further includes:
Solar panels voltage is detected, and when the solar panels voltage that confirmation detects is greater than light-operated voltage, extinguishes the sun
It can lamps and lanterns;
Whether confirmation has currently been arranged the bright light control time, and when confirmation is to be arranged the bright light control time, executes acquisition
The step of bright light control time being arranged.
Preferably, the detection solar panels voltage, and the solar panels voltage detected in confirmation is greater than light-operated voltage
When, control the step of solar energy lamp is turned off the light, further includes:
Statistics is currently turned off the light duration, and is obtained the history counted on and turned off the light duration;
Currently duration is turned off the light and history duration calculation of turning off the light averagely is turned off the light duration with described;
It is averaged duration confirmation default lighting time of turning off the light according to what is calculated.
Preferably, the statistics is currently turned off the light duration, and obtain the history counted on turn off the light duration the step of, also wrap
It includes:
Whether duration of turning off the light described in judgement and history duration of turning off the light are in the time range of default duration of turning off the light, according to sentencing
Whether duration of turning off the light described in disconnected result confirmation and history duration of turning off the light are effective;
Duration of turning off the light described in the confirmation and history turn off the light duration when being in the time range of default duration of turning off the light, and confirm institute
It states and turns off the light duration and history duration of turning off the light is effective, execute and calculate the step of averagely turning off the light duration.
In addition, to achieve the above object, it is described the present invention also provides a kind of lighting time regulating device of solar energy lamp
The lighting time regulating device of solar energy lamp includes: memory, processor, and being stored on the memory can be by processor
The computer program of calling, the computer program realize the bright light of solar energy lamp as described above when being executed by the processor
The step of time adjustment method.
The present invention also provides a kind of storage medium, the lighting time that solar energy lamp is stored on the storage medium is adjusted
Program, the lighting time of the solar energy lamp adjust when program is executed by processor and realize the bright of solar energy lamp as described above
The step of lamp time adjustment method.
The present invention also provides a kind of lighting time regulating system of solar energy lamp, the lighting times of the solar energy lamp
Regulating system realizes the step of lighting time adjusting method of solar energy lamp as described above when being executed.
A kind of lighting time adjusting method for solar energy lamp that the embodiment of the present invention proposes confirms current before turning on light
Whether it is provided with bright light and controls the time, and the bright light control time includes turning on light in advance and postponing to turn on light, it is therefore, current in confirmation
When thering is setting bright light to control the time, turned off the light the lighting time on the same day of duration confirmation with history, on this basis, by being arranged
The bright light control time and lighting time on the same day for having confirmed that, light solar energy lamp.Time adjustment is controlled by setting bright light
The lighting time of solar energy lamp reduces solar energy lamp lighting time inconsistent problem, and then realizes and improve lighting time
The beneficial effect of control.
Detailed description of the invention
Fig. 1 be the hardware running environment that the embodiment of the present invention is related to terminal apparatus structure schematic diagram;
Fig. 2 is the flow diagram of the lighting time adjusting method first embodiment of solar energy lamp of the present invention;
Fig. 3 is the flow diagram of the lighting time adjusting method second embodiment of solar energy lamp of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: obtaining the bright light control time being arranged, and judge to have got
The bright light control time control category;When confirming the control category is delay bright light, if current time and default
The time difference of lighting time is equal to the delay time of the delay bright light, lights solar energy lamp;Confirming the control category
When to shift to an earlier date bright light, if default lighting time and the time difference of current time are equal to the pre-set time of the bright light in advance, light
Solar energy lamp.
Since solar energy lamp lighting time difference as caused by the inconsistent row of solar panels in the prior art is big
Technical problem.
The present invention provides a solution, when controlling time and the same day bright light having confirmed that by the bright light being arranged
Between, light solar energy lamp.The lighting time that time adjustment solar energy lamp is controlled by setting bright light, reduce solar energy lamp
Lighting time inconsistent problem, and then realize the beneficial effect for improving lighting time control.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be PC, be also possible to smart phone, tablet computer, E-book reader, portable
The packaged types such as computer or irremovable formula terminal device.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Believe that the lighting time of module, Subscriber Interface Module SIM and solar energy lamp adjusts program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor
1001 can be used for calling the lighting time of the solar energy lamp stored in memory 1005 to adjust program, and execute following behaviour
Make:
The bright light control time being arranged is obtained, and judges the control category of the bright light got control time;
When confirming the control category is delay bright light, if the time difference of current time and default lighting time are equal to institute
The delay time for stating delay bright light, lights solar energy lamp;
When confirming the control category is bright light in advance, if default lighting time and the time difference of current time are equal to institute
The pre-set time for stating bright light in advance, light solar energy lamp.
Further, processor 1001 can call the lighting time of the solar energy lamp stored in memory 1005 to adjust
Program also executes following operation:
Count the time difference that current time arrives default lighting time, and by the delay of the time difference and the bright light that is delayed
Time compares;
When confirming that the time difference is equal to the delay time, solar energy lamp is lighted.
Further, processor 1001 can call the lighting time of the solar energy lamp stored in memory 1005 to adjust
Program also executes following operation:
The time difference of default lighting time to current time is counted, and the time difference is shifted to an earlier date into shifting to an earlier date for bright light with described
Time compares;
When confirming that the time difference is equal to the pre-set time, solar energy lamp is lighted.
Further, processor 1001 can call the lighting time of the solar energy lamp stored in memory 1005 to adjust
Program also executes following operation:
Solar panels voltage is detected, and when the solar panels voltage that confirmation detects is greater than light-operated voltage, extinguishes the sun
It can lamps and lanterns;
Whether confirmation has currently been arranged the bright light control time, and when confirmation is to be arranged the bright light control time, executes acquisition
The step of bright light control time being arranged.
Further, processor 1001 can call the lighting time of the solar energy lamp stored in memory 1005 to adjust
Program also executes following operation:
Statistics is currently turned off the light duration, and is obtained the history counted on and turned off the light duration;
Currently duration is turned off the light and history duration calculation of turning off the light averagely is turned off the light duration with described;
It is averaged duration confirmation default lighting time of turning off the light according to what is calculated.
Further, processor 1001 can call the lighting time of the solar energy lamp stored in memory 1005 to adjust
Program also executes following operation:
Whether duration of turning off the light described in judgement and history duration of turning off the light are in the time range of default duration of turning off the light, according to sentencing
Whether duration of turning off the light described in disconnected result confirmation and history duration of turning off the light are effective;
Duration of turning off the light described in the confirmation and history turn off the light duration when being in the time range of default duration of turning off the light, and confirm institute
It states and turns off the light duration and history duration of turning off the light is effective, execute and calculate the step of averagely turning off the light duration.
Referring to the process signal that Fig. 2, Fig. 2 are the lighting time adjusting method first embodiment of solar energy lamp of the present invention
Figure, the lighting time adjusting method of the solar energy lamp include:
Step S10 obtains the bright light control time being arranged, and judges the control of the bright light got control time
Classification processed;
According to the bright light task on the same day, confirm that the current bright light control time being arranged, the bright light control time are
Based on set by the solar energy lamp currently controlled, due to the characteristic of bright light control, judge that the bright light got controls
The Control Cooling of time.Its bright light control time includes two kinds, i.e. delay bright light and in advance bright light, and based on current delay
Bright light and bright light Control Cooling in advance, are respectively arranged with the different control time.
Step S20, when confirming the control category is delay bright light, if the time of current time and default lighting time
Difference is equal to the delay time of the delay bright light, lights solar energy lamp;
According to the Control Cooling for the bright light control time that the bright light control time got determines, in confirmation institute
When the control category for stating the bright light control time is delay bright light, then the delay time of the bright light control time is read.Further
, according to the delay time of the delay bright light got, based on current time calculate it is described be currently established in preset it is bright
The time difference of lamp time lights the sun when the time difference that confirmation calculates being equal to the delay time of the delay bright light
It can lamps and lanterns.In this way, when calculating the time difference of the current time and default lighting time, since current time is constantly to become
Change, it is contemplated that bright light it is punctual, the time adjustment of current delay bright light is carried out on the basis of presetting lighting time, it is described default
Lighting time, for being averaged determined by daytime duration, therefore, when confirming current delay bright light, i.e., based on current with setting
It is described when confirming the control category is delay bright light, if the time difference of current time and default lighting time be equal to described in prolong
When bright light delay time, the step of lighting solar energy lamp, comprising:
Count the time difference that current time arrives default lighting time, and by the delay of the time difference and the bright light that is delayed
Time compares;
When confirming that the time difference is equal to the delay time, solar energy lamp is lighted.
Bright light task based on the same day calculates current time when confirmation currently has the delay time of setting delay bright light
With the time difference of default lighting time, for example, current time is 16 points, and default lighting time is 18 points, delay bright light
Delay time is half an hour.In this way, the passage based on current time, does not stop the time for calculating current time and default lighting time
Difference is half an hour in the time difference that confirmation currently calculates, i.e., when current time is 17:30, current time and predetermined amount
18 points of the time difference of Alto time is half an hour, lights solar energy lamp in 17:30.
Step S30, when confirming the control category is bright light in advance, if the time of default lighting time and current time
Difference is equal to the pre-set time of the bright light in advance, lights solar energy lamp.
According to the Control Cooling for the bright light control time that the bright light control time got determines, in confirmation institute
The control category for stating the bright light control time is then to read the pre-set time of the bright light control time when shifting to an earlier date bright light.And according to
The pre-set time of the bright light in advance got, the default lighting time and current time are calculated based on current time
Time difference lights solar energy lamp when the time difference that confirmation calculates being equal to the pre-set time of bright light in advance.Such as
Described in step S20, current time is constantly in variation, it is contemplated that the punctuality that solar energy lamp is lighted, based on current bright
Lamp task, the pre-set time for the bright light in advance for needing constantly on the basis of current time and having set, when confirming current bright light
Between, i.e., it is described when confirming the control category is bright light in advance, if default lighting time and the time difference of current time are equal to
The pre-set time of the bright light in advance, the step of lighting solar energy lamp, comprising:
The time difference of default lighting time to current time is counted, and the time difference is shifted to an earlier date into shifting to an earlier date for bright light with described
Time compares;
When confirming that the time difference is equal to the pre-set time, solar energy lamp is lighted.
Based on current bright light task, in the pre-set time that confirmation currently has setting to shift to an earlier date bright light, when calculating default bright light
Between with it is described in advance bright light the former time time difference, due to the particularity of current time, current time is constantly to become
Change, therefore, when confirmation currently has setting to shift to an earlier date bright light, constantly calculate default lighting time and the bright light in advance in advance
The time difference of time is to guarantee punctual bright light.For example, default lighting time is 18 points, and the pre-set time of bright light is 15 in advance
Minute, in this way, constantly calculating the time difference of default lighting time and current time, such forwards is 17:45 in current time
When, 18 points of the default lighting time are 15 minutes with the time difference of current time 17:45, in this way, lighting in 17:45
Solar energy lamp.
In the present embodiment, current solar energy lamp is arranged lights the control time, and lights control according to what is be arranged
The Control Cooling of time adjusts the lighting time of current solar energy lamp.In this way, controlling the time adjustment sun by setting bright light
Can lamps and lanterns lighting time, reduce solar energy lamp lighting time inconsistent problem, and then realize and improve lighting time control
Beneficial effect.
With reference to Fig. 3, Fig. 3 is the process signal of the lighting time adjusting method second embodiment of solar energy lamp of the present invention
Figure is based on above-mentioned first embodiment shown in Fig. 2,
Step S40 detects solar panels voltage, and when the solar panels voltage that confirmation detects is greater than light-operated voltage,
Extinguish solar energy lamp;
Whether step S50, confirmation have currently been arranged the bright light control time, and when confirmation is to be arranged the bright light control time,
Execute the step of obtaining the bright light control time being arranged.
In the present embodiment, the solar energy lamp based on current application, solar energy lamp is with the voltage number of solar panels voltage
Value confirmation ambient light size, and then current day-night change is confirmed to control the switch of solar energy lamp.In this way, current
The solar panels electricity that in solar energy lamp application, detects the solar panels voltage of the sun lamps and lanterns of current application, and will test
Pressure is compared with light-operated voltage, and the light-operated voltage is the voltage value based on ambient light variation being arranged, and is worked as to determine
Preceding day-night change.When the solar panels voltage that confirmation detects is greater than light-operated voltage, determine with current environment light intensity
It has been daytime, has not needed solar energy lamp illumination, extinguish the solar energy lamp currently lighted.After solar energy lamp extinguishing,
Since solar energy lamp still carries illumination task, currently whether there is setting bright light to control based on the confirmation of such situation
Time, and control solar energy lamp is lighted in the object time according to the bright light control time being currently arranged.In this way, with adjustment
The default lighting time of current default.The reason of in view of Changes in weather, lights changing control solar energy lamp by light
Or when extinguishing, the light variation of different location is inconsistent, and solar energy lamp lighting time is easy to cause difference occur, therefore, can
Determine that evening hours calculate the lighting time of fixed unified solar energy lamp by counting the time of turning off the light, i.e., it is default to light
Time, in this way, the detection solar panels voltage, and when the solar panels voltage that confirmation detects is greater than light-operated voltage, control
The step of solar energy lamp processed is turned off the light, further includes:
Statistics is currently turned off the light duration, and is obtained the history counted on and turned off the light duration;
Currently duration is turned off the light and history duration calculation of turning off the light averagely is turned off the light duration with described;
It is averaged duration confirmation default lighting time of turning off the light according to what is calculated.
Start timing after the extinguishing of current solar energy lamp, and based on currently detected solar panels voltage and light-operated electricity
The comparison of pressure stops timing when confirming that solar panels voltage is less than the light-operated voltage, using time for counting on as foundation
What light changed turn off the light duration, i.e. duration on daytime.Due to light variation, the duration of turning off the light being recorded daily is all deposited
Changing, it is contemplated that the reason of accuracy, obtain the history counted on and turn off the light duration, by having counted on when currently turning off the light
Long recorded is that duration calculation of turning off the light averagely is turned off the light duration, and then determines default lighting time with duration of averagely turning off the light.In this hair
In bright method, since history is turned off the light the not predictability of duration, such as extreme light variation caused by weather reason, only pass through system
The nearest history counted turns off the light duration and duration calculation of currently turning off the light averagely is turned off the light duration, such as only takes yesterday, the day before yesterday two days
The duration of turning off the light that is averaged that history turns off the light duration and the same day turns off the light in duration calculation three days, the turn off the light selection of duration of history can pass through
Correlation function setting setting.In addition, being closed for the duration statistics error that avoids turning off the light caused by extreme case with the history counted on
Lamp duration and currently turn off the light duration calculation averagely turn off the light duration when, also need verifying current statistic to duration of turning off the light it is whether effective,
The i.e. described statistics is currently turned off the light duration, and obtain the history counted on turn off the light duration the step of, further includes:
Whether duration of turning off the light described in judgement and history duration of turning off the light are in the time range of default duration of turning off the light, according to sentencing
Whether duration of turning off the light described in disconnected result confirmation and history duration of turning off the light are effective;
Duration of turning off the light described in the confirmation and history turn off the light duration when being in the time range of default duration of turning off the light, and confirm institute
It states and turns off the light duration and history duration of turning off the light is effective, execute and calculate the step of averagely turning off the light duration.
According to count on currently turn off the light duration and the history that gets is turned off the light duration, duration of turning off the light described in judgement and
Whether history duration of turning off the light is in the time range of default duration of turning off the light, it is described it is default when turning off the light it is a length of set based on working as
The duration on daytime of preceding season setting, such as when summer default is turned off the light, are 10-13 hours a length of.In this way, being arrived in confirmation current statistic
Turn off the light duration and when the history that gets turns off the light duration in the time range of default duration of turning off the light, confirmation current statistic is arrived
Duration of turning off the light and the history got duration of turning off the light are effective, calculate duration of averagely turning off the light with this.
In addition, the embodiment of the present invention also proposes a kind of storage medium, solar energy lamp is stored on the storage medium
Lighting time adjusts program, and the lighting time of the solar energy lamp, which is adjusted, realizes following operation when program is executed by processor:
The bright light control time being arranged is obtained, and judges the control category of the bright light got control time;
When confirming the control category is delay bright light, if the time difference of current time and default lighting time are equal to institute
The delay time for stating delay bright light, lights solar energy lamp;
When confirming the control category is bright light in advance, if default lighting time and the time difference of current time are equal to institute
The pre-set time for stating bright light in advance, light solar energy lamp.
Further, the lighting time of the solar energy lamp, which is adjusted, also realizes following behaviour when program is executed by processor
Make:
Count the time difference that current time arrives default lighting time, and by the delay of the time difference and the bright light that is delayed
Time compares;
When confirming that the time difference is equal to the delay time, solar energy lamp is lighted.
Further, the lighting time of the solar energy lamp, which is adjusted, also realizes following behaviour when program is executed by processor
Make:
The time difference of default lighting time to current time is counted, and the time difference is shifted to an earlier date into shifting to an earlier date for bright light with described
Time compares;
When confirming that the time difference is equal to the pre-set time, solar energy lamp is lighted.
Further, the lighting time of the solar energy lamp, which is adjusted, also realizes following behaviour when program is executed by processor
Make:
Solar panels voltage is detected, and when the solar panels voltage that confirmation detects is greater than light-operated voltage, extinguishes the sun
It can lamps and lanterns;
Whether confirmation has currently been arranged the bright light control time, and when confirmation is to be arranged the bright light control time, executes acquisition
The step of bright light control time being arranged.
Further, the lighting time of the solar energy lamp, which is adjusted, also realizes following behaviour when program is executed by processor
Make:
Statistics is currently turned off the light duration, and is obtained the history counted on and turned off the light duration;
Currently duration is turned off the light and history duration calculation of turning off the light averagely is turned off the light duration with described;
It is averaged duration confirmation default lighting time of turning off the light according to what is calculated.
Further, the lighting time of the solar energy lamp, which is adjusted, also realizes following behaviour when program is executed by processor
Make:
Whether duration of turning off the light described in judgement and history duration of turning off the light are in the time range of default duration of turning off the light, according to sentencing
Whether duration of turning off the light described in disconnected result confirmation and history duration of turning off the light are effective;
Duration of turning off the light described in the confirmation and history turn off the light duration when being in the time range of default duration of turning off the light, and confirm institute
It states and turns off the light duration and history duration of turning off the light is effective, execute and calculate the step of averagely turning off the light duration.
The present invention also provides a kind of lighting time regulating system of solar energy lamp, the lighting times of the solar energy lamp
Regulating system realizes the content of the lighting time adjusting method embodiment of solar energy lamp as described above when being executed.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, drug or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, drug or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, drug or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (9)
1. a kind of lighting time adjusting method of solar energy lamp, which is characterized in that the lighting time tune of the solar energy lamp
Section method the following steps are included:
The bright light control time being arranged is obtained, and judges the control category of the bright light got control time;
When confirming the control category is delay bright light, if the time difference of current time and default lighting time are equal to described prolong
When bright light delay time, light solar energy lamp;
When confirming the control category is bright light in advance, if default lighting time and the time difference of current time are equal to described mention
The pre-set time of preceding bright light, light solar energy lamp.
2. the lighting time adjusting method of solar energy lamp as described in claim 1, which is characterized in that described described in the confirmation
When control category is delay bright light, if the time difference of current time and default lighting time are equal to the delay of the delay bright light
Between, the step of lighting solar energy lamp, comprising:
Count the time difference that current time arrives default lighting time, and by the delay time of the time difference and the bright light that is delayed
It compares;
When confirming that the time difference is equal to the delay time, solar energy lamp is lighted.
3. the lighting time adjusting method of solar energy lamp as described in claim 1, which is characterized in that described described in the confirmation
Control category is when shifting to an earlier date bright light, if default lighting time and the time difference of current time are equal to when shifting to an earlier date of the bright light in advance
Between, the step of lighting solar energy lamp, comprising:
Count the time difference of default lighting time to current time, and by the pre-set time of the time difference and the bright light in advance
It compares;
When confirming that the time difference is equal to the pre-set time, solar energy lamp is lighted.
4. the lighting time adjusting method of solar energy lamp as described in claim 1, which is characterized in that the acquisition had been arranged
Bright light controls the time, and before the step of judging the control category of the bright light got control time, further includes:
Solar panels voltage is detected, and when the solar panels voltage that confirmation detects is greater than light-operated voltage, extinguishes Solar lamp
Tool;
Whether confirmation is current has been arranged the bright light control time, and when confirmation is to be arranged the bright light control time, executes acquisition and set
The step of bright light control time set.
5. the lighting time adjusting method of solar energy lamp as claimed in claim 4, which is characterized in that the detection solar energy
Plate voltage, and when the solar panels voltage that confirmation detects is greater than light-operated voltage, the step of solar energy lamp is turned off the light is controlled, also
Include:
Statistics is currently turned off the light duration, and is obtained the history counted on and turned off the light duration;
Currently duration is turned off the light and history duration calculation of turning off the light averagely is turned off the light duration with described;
It is averaged duration confirmation default lighting time of turning off the light according to what is calculated.
6. the lighting time adjusting method of solar energy lamp as claimed in claim 5, which is characterized in that the statistics is current to close
Lamp duration, and obtain the history that has counted on turn off the light duration the step of, further includes:
Whether duration of turning off the light described in judgement and history duration of turning off the light are in the time range of default duration of turning off the light, and are tied according to judgement
Duration is turned off the light described in fruit confirmation and whether history duration of turning off the light is effective;
Duration of turning off the light described in the confirmation and history turn off the light duration when being in the time range of default duration of turning off the light, and confirm the pass
Lamp duration and history are turned off the light, and duration is effective, and execution calculates the step of averagely turning off the light duration.
7. a kind of lighting time regulating device of solar energy lamp, which is characterized in that the lighting time tune of the solar energy lamp
Regulating device includes: memory, processor, and the computer program that can be called by processor is stored on the memory, described
The bright light such as solar energy lamp described in any one of claims 1 to 6 is realized when computer program is executed by the processor
The step of time adjustment method.
8. a kind of storage medium, which is characterized in that the lighting time for being stored with solar energy lamp on the storage medium adjusts journey
Sequence, the lighting time of the solar energy lamp adjust when program is executed by processor and realize such as any one of claims 1 to 6 institute
The step of lighting time adjusting method for the solar energy lamp stated.
9. a kind of lighting time regulating system of solar energy lamp, which is characterized in that the lighting time tune of the solar energy lamp
Section system is realized when being executed such as the step of solar energy bright light control method as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811330786.8A CN109496037A (en) | 2018-11-07 | 2018-11-07 | Lighting time adjusting method, device, storage medium and the system of solar energy lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811330786.8A CN109496037A (en) | 2018-11-07 | 2018-11-07 | Lighting time adjusting method, device, storage medium and the system of solar energy lamp |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109496037A true CN109496037A (en) | 2019-03-19 |
Family
ID=65695532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811330786.8A Pending CN109496037A (en) | 2018-11-07 | 2018-11-07 | Lighting time adjusting method, device, storage medium and the system of solar energy lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109496037A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114143942A (en) * | 2020-10-12 | 2022-03-04 | 超级智慧家(上海)物联网科技有限公司 | Control method of infrared linkage illumination |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201509336U (en) * | 2009-08-13 | 2010-06-16 | 武汉华中天工光电制造有限公司 | Intelligent lamp light controller |
CN106954327A (en) * | 2017-05-08 | 2017-07-14 | 温州立地电子有限公司 | A kind of street lamp time-controlled system based on perpetual calendar |
CN107949122A (en) * | 2017-11-08 | 2018-04-20 | 金华市恒光电子科技有限公司 | A kind of street lighting duration control method |
-
2018
- 2018-11-07 CN CN201811330786.8A patent/CN109496037A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201509336U (en) * | 2009-08-13 | 2010-06-16 | 武汉华中天工光电制造有限公司 | Intelligent lamp light controller |
CN106954327A (en) * | 2017-05-08 | 2017-07-14 | 温州立地电子有限公司 | A kind of street lamp time-controlled system based on perpetual calendar |
CN107949122A (en) * | 2017-11-08 | 2018-04-20 | 金华市恒光电子科技有限公司 | A kind of street lighting duration control method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114143942A (en) * | 2020-10-12 | 2022-03-04 | 超级智慧家(上海)物联网科技有限公司 | Control method of infrared linkage illumination |
CN114143942B (en) * | 2020-10-12 | 2022-12-09 | 超级智慧家(上海)物联网科技有限公司 | Infrared linkage illumination control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104023145B (en) | A kind of method and device automatically opening the automatic backlight adjustment of mobile terminal | |
CN104464686A (en) | Display brilliance control method and electronic device | |
CN103982984B (en) | Method and system for adjusting running parameters of air conditioner | |
CN104879883B (en) | Control method, device and the terminal of home appliance | |
CN103982983B (en) | Method and system for adjusting running parameters of air conditioner | |
CN104394614B (en) | Indicator lamp brightness adjusting method and device | |
CN110030707A (en) | Air-conditioning system adjusting method, air conditioner and computer readable storage medium | |
CN103135895A (en) | Method of controlling display mode and device | |
CN105185301B (en) | Brightness of display screen adjusting method | |
CN103945607B (en) | Remote controller method for controlling backlight thereof and remote controller backlight control apparatus | |
CN105259882A (en) | Household equipment control method and device and terminal | |
CN102841768A (en) | Screen delay regulation method of mobile terminal | |
CN108730968B (en) | Desulfurization control method and device | |
CN104110787A (en) | Method and system for controlling air conditioner | |
CN109883003A (en) | Control method, air conditioner and the computer readable storage medium of air conditioner | |
CN108900004A (en) | Power supply status monitoring method, device and computer readable storage medium | |
CN108766367A (en) | Backlight brightness control method, television terminal and computer readable storage medium | |
CN109496037A (en) | Lighting time adjusting method, device, storage medium and the system of solar energy lamp | |
CN109286679A (en) | Wisdom method for controlling street lamps, system, server and storage medium | |
CN103270663B (en) | Management of power use device and management of power use method | |
CN113587336B (en) | Air conditioner low-temperature refrigeration continuous operation control method and device and air conditioner | |
CN105895050B (en) | A kind of information processing method and electronic equipment | |
CN105549409A (en) | Control method, electronic device and electronic apparatus | |
CN201576161U (en) | Projector | |
CN109654655A (en) | Air conditioner and its control method, control device and readable storage medium storing program for executing |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |
|
RJ01 | Rejection of invention patent application after publication |