CN110022634A - A kind of method for controlling lamp and relevant apparatus - Google Patents
A kind of method for controlling lamp and relevant apparatus Download PDFInfo
- Publication number
- CN110022634A CN110022634A CN201910405911.5A CN201910405911A CN110022634A CN 110022634 A CN110022634 A CN 110022634A CN 201910405911 A CN201910405911 A CN 201910405911A CN 110022634 A CN110022634 A CN 110022634A
- Authority
- CN
- China
- Prior art keywords
- control
- lanterns
- lamps
- control parameter
- information
- 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
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
This application discloses a kind of method for controlling lamp, comprising: obtains the control model information of lamps and lanterns;It determines that corresponding control parameter obtains operation according to the control model information, executes the control parameter acquisition operation and obtain control parameter;It is held according to the control parameter and the lamps and lanterns is controlled.It determines control with which kind of mode lamps and lanterns by the control model information got, that is, determines that corresponding control parameter obtains operation and obtains control parameter, so that lamps and lanterns are carried out with the control of different mode.Also, the acquisition modes of the control information used under different control models are different, can make lamps and lanterns that different control models be presented, avoid lamps and lanterns only with single control mode, user is promoted to the usage experience of lamps and lanterns, the adaptability to application scenarios is improved, avoids wasting unnecessary electric energy.Disclosed herein as well is a kind of lamp control system, lamp control device and computer readable storage mediums, have the above beneficial effect.
Description
Technical field
This application involves intelligent appliance technical field, in particular to a kind of method for controlling lamp, lamp control system, lamps and lanterns
Control device and computer readable storage medium.
Background technique
With the continuous development of information technology, information technology is constantly applied in daily life, so that household electrical appliances are more intelligent
Change, that is, the intelligent appliance in application at present, not only the function of household electrical appliances can be made more polynary, making for user can also be improved
With experience.
Currently, during intelligent appliance use, and in the use process of lighting apparatus, though illuminating lamps and lanterns
It is so to use intelligent design, more functions can be realized by network savvy.But at present Intelligent lamp only exist it is single
Control model, such as only using control information lamps and lanterns are controlled accordingly, that is, its state control only basis
Extraneous passively control information input can just carry out controlling operation accordingly, and control model is relatively single, and user is using intelligence
It is experienced when energy lamps and lanterns poor.
Therefore, the experience using Intelligent illumination device how is improved, while reducing energy consumption is those skilled in the art
The Important Problems of concern.
Summary of the invention
The purpose of the application is to provide a kind of method for controlling lamp, lamp control system, lamp control device and calculating
Machine readable storage medium storing program for executing, lamps and lanterns pass through the control model information that gets and determine that parameter obtains operation, thus realize to lamps and lanterns into
The control of row different working modes avoids the operating mode of lamps and lanterns excessively single, improves the usage experience of user.
In order to solve the above technical problems, the application provides a kind of method for controlling lamp, comprising:
Obtain the control model information of lamps and lanterns;
It determines that corresponding control parameter obtains operation according to the control model information, executes the control parameter and obtain behaviour
Obtain control parameter;
It is held according to the control parameter and the lamps and lanterns is controlled.
Optionally, it determines that corresponding control parameter obtains operation according to the control model information, executes the control ginseng
Number obtains operation and obtains control parameter, comprising:
When the control model information is single cpu mode, the ambient condition information of the lamps and lanterns is obtained;
The ambient condition information is calculated according to human perception algorithm, obtains the control parameter.
Optionally, it determines that corresponding control parameter obtains operation according to the control model information, executes the control ginseng
Number obtains operation and obtains control parameter, comprising:
When the control model information is online mode, online control information is obtained by networking module;
Using the online control information as the control parameter.
Optionally, it determines that corresponding control parameter obtains operation according to the control model information, executes the control ginseng
Number obtains operation and obtains control parameter, comprising:
When the control model information is interactive model, obtained and the lamps and lanterns of lamps and lanterns pairing by networking module
Control information;
Using the control information as the control parameter.
The application also provides a kind of lamp control system, comprising:
Control model data obtaining module, for obtaining the control model information of lamps and lanterns;
Operation executing module is controlled, for determining that corresponding control parameter obtains operation according to the control model information,
It executes the control parameter acquisition operation and obtains control parameter;
Control module controls the lamps and lanterns for being held according to the control parameter.
Optionally, the control operation executing module, comprising:
Environment information acquisition unit, for obtaining the week of the lamps and lanterns when the control model information is single cpu mode
Enclose environmental information;
Control parameter acquiring unit is obtained for being calculated according to human perception algorithm the ambient condition information
The control parameter.
Optionally, the control operation executing module, comprising:
Online control information acquisition unit, for passing through networking module when the control model information is online mode
Obtain online control information;
Control parameter acquiring unit, for using the online control information as the control parameter.
Optionally, the control operation executing module, comprising:
Unpaired message acquiring unit, for being obtained by networking module when the control model information is interactive model
With the control information of the lamps and lanterns of lamps and lanterns pairing;
Control parameter acquiring unit, for using the control information as the control parameter.
The application also provides a kind of lamp control device, comprising:
Memory, for storing computer program;
Processor, the step of method for controlling lamp as described above is realized when for executing the computer program.
The application also provides a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium
The step of machine program, the computer program realizes method for controlling lamp as described above when being executed by processor.
A kind of method for controlling lamp provided herein, comprising: obtain the control model information of lamps and lanterns;According to the control
Pattern information processed determines that corresponding control parameter obtains operation, executes the control parameter acquisition operation and obtains control parameter;Root
It is held according to the control parameter and the lamps and lanterns is controlled.
It determines control with which kind of mode lamps and lanterns by the control model information got, that is, determines corresponding
Control parameter obtains operation and obtains control parameter, so that lamps and lanterns are carried out with the control of different mode.Also, different control model
The acquisition modes of the control information of lower use are different, can make lamps and lanterns that different control models be presented, avoid lamps and lanterns only with list
One control mode promotes user to the usage experience of lamps and lanterns, improves the adaptability to application scenarios, it is unnecessary to avoid wasting
Electric energy.
The application also provides a kind of lamp control system, lamp control device and computer readable storage medium, has
The above beneficial effect, therefore not to repeat here.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of method for controlling lamp provided by the embodiment of the present application;
Fig. 2 is the flow diagram of second of method for controlling lamp provided herein;
Fig. 3 is the flow diagram of the third method for controlling lamp provided herein;
Fig. 4 is the flow diagram of the 4th kind of method for controlling lamp provided herein;
Fig. 5 is a kind of structural schematic diagram of lamp control system provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide a kind of method for controlling lamp, lamp control system, lamp control device and calculating
Machine readable storage medium storing program for executing, lamps and lanterns pass through the control model information that gets and determine that parameter obtains operation, thus realize to lamps and lanterns into
The control of row different working modes avoids the operating mode of lamps and lanterns excessively single, improves the usage experience of user.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
In the prior art, illuminating during intelligent appliance use, and in the use process of lighting apparatus
Although lamps and lanterns are to use intelligent design, more functions can be realized by network savvy.But Intelligent lamp is only deposited at present
Lamps and lanterns are controlled accordingly using control information in single control model, such as only, that is, the control of its state is only
It is that can just carry out controlling operation accordingly according to extraneous passively control information input, control model is relatively single, Yong Hu
It is experienced when using Intelligent lamp poor.
Therefore, the application provides a kind of method for controlling lamp, is determined by the control model information got with which kind of mould
Formula controls lamps and lanterns, that is, determines that corresponding control parameter obtains operation and obtains control parameter, to carry out to lamps and lanterns
The control of different mode.Also, the acquisition modes of the control information used under different control models are different, can make the lamps and lanterns be in
Existing different control model avoids lamps and lanterns only with single control mode, promotes user to the usage experience of lamps and lanterns, raising pair
The adaptability of application scenarios avoids wasting unnecessary electric energy.
Referring to FIG. 1, Fig. 1 is a kind of flow chart of method for controlling lamp provided by the embodiment of the present application.
In the present embodiment, this method may include:
S101 obtains the control model information of lamps and lanterns;
This step is intended to get the control model information of lamps and lanterns, that is, gets and controlled with which kind of mode to lamps and lanterns
The information of system.Specifically, the control model information can be got in this step by preset path.Wherein, preset path can
Being can also be and obtaining by network by local acquisition, it is also possible to get user's to user's delivery option information
Selected information is obtained.As it can be seen that the mode for obtaining control model information in this step is not unique, specific limit is not done herein
It is fixed.
Wherein, control model information generally refers to indicate the operating mode of current lamps and lanterns.For example, single cpu mode, online mould
Any one in formula, activity pattern.And in the prior art, it is just secured uniquely according to the positioning of selling of lamps and lanterns after lamps and lanterns factory
Operating mode so that use when operating mode it is single, reduce the usage experience of user.Also, the Working mould that can not be converted
Formula can not match current optimal operating mode, can improve the power consumption of work.
And the lamps and lanterns in the present embodiment can run multiple-working mode, can determine according to control model information is got
Corresponding operating mode, to change corresponding operating mode.
S102 determines that corresponding control parameter obtains operation according to control model information, executes control parameter and obtain operation
Obtain control parameter;
This step is intended to determine that corresponding control parameter obtains operation according to the control model information got, and executing should
Control parameter obtains operation and obtains control parameter.
Regardless of the control model information in the present embodiment, this step can get corresponding control ginseng after executing
Number.As it can be seen that this step mainly gets control parameter.And this step is according to different control model acquisition of information to difference
Control parameter.Control parameter is only got by a kind of mode in being different from the prior art.For example, only being obtained by external environment
Control parameter is got, then lamps and lanterns are controlled.
Wherein, control parameter can be the brightness of lamps and lanterns, be also possible to the colour temperature of lamps and lanterns, can also be the area of illumination of lamps and lanterns
Domain either lighting angle.It is conceivable that control parameter can also be the combination of the above several properties.As it can be seen that the present embodiment
In control parameter particular content it is not unique, can choose suitable control parameter content and lamps and lanterns controlled, herein
It is not specifically limited.
And in the prior art, a kind of control parameter acquisition operation is only existed, lamps and lanterns only pass through a kind of this control ginseng when starting
Number obtains operation and gets control parameter.It can be seen that working in one mode of operation, more applied fields can not be adapted to
Scape, reduce the experience sense of user by.Meanwhile electricity may be will increase when lamps and lanterns operate in and are not suitable for the operating mode of environment instantly
The consumption of energy.
S103 holds according to control parameter and controls lamps and lanterns.
On the basis of S102, this step is intended to control lamps and lanterns according to the control parameter got.Due to control
The content-form of parameter is varied, and when the content difference of control parameter, the mode controlled lamps and lanterns is also just different.Example
Such as, when control parameter is the brightness of lamps and lanterns, then being exactly that the brightness of lamps and lanterns is adjusted according to the control parameter;Work as control
When parameter is the colour temperature of lamps and lanterns, then being exactly to be adjusted according to colour temperature of the control parameter to lamps and lanterns;When control parameter includes
When the brightness and colour temperature of lamps and lanterns, then just the brightness of lamps and lanterns and colour temperature are adjusted according to the control parameter.As it can be seen that this step
The middle mode controlled according to control parameter lamps and lanterns is not unique, is not specifically limited herein.
To sum up, the present embodiment is passed through the control model information determination got and is controlled with which kind of mode lamps and lanterns,
Determine that corresponding control parameter obtains operation and obtains control parameter, exactly so that lamps and lanterns are carried out with the control of different mode.Also,
The acquisition modes of the control information used under different control models are different, can make lamps and lanterns that different control models be presented, keep away
Exempt from lamps and lanterns only with single control mode, promote user to the usage experience of lamps and lanterns, improve the adaptability to application scenarios,
It avoids wasting unnecessary electric energy.
Method for controlling lamp provided herein is further elaborated below by another specific embodiment.
Referring to FIG. 2, Fig. 2 is the flow diagram of second of method for controlling lamp provided herein.
In the present embodiment, this method can include:
S201 obtains the control model information of lamps and lanterns according to preset path;
S202 obtains the ambient condition information of lamps and lanterns when control model information is single cpu mode;
S203 calculates ambient condition information according to human perception algorithm, obtains control parameter;
As it can be seen that the S202 and S203 in the present embodiment are mainly the lamp when the operating mode of lamps and lanterns is in single cpu mode
Tool gets the ambient condition information of lamps and lanterns by environmental sensor.Then further according to human perception algorithm to ambient condition information
It is calculated, obtains control parameter.Wherein, human perception algorithm, which refers to, calculates the illumination being most suitable for instantly according to environmental parameter
The corresponding control parameter of degree, for example, most suitable brightness, most suitable colour temperature, most suitable lighting angle size.
S204 holds according to control parameter and controls lamps and lanterns.
Specific implementation process about above-mentioned steps S201 and S204 can refer to the content of previous embodiment, herein no longer into
Row repeats.
Method for controlling lamp provided herein is further elaborated below by another specific embodiment.
Referring to FIG. 3, Fig. 3 is the flow diagram of the third method for controlling lamp provided herein.
In the present embodiment, this method can include:
S301 obtains the control model information of lamps and lanterns according to preset path;
S302 obtains online control information by networking module when control model information is online mode;
S303, using online control information as control parameter;
As it can be seen that the S302 and S303 in the present embodiment are mainly to the work when the operating mode of lamps and lanterns is online mode
Mode is illustrated.Specifically, getting online control when control model information is online mode by networking module and believing
Breath, using online control information as control parameter, finally controls lamps and lanterns further according to the control parameter.Wherein, online mould
Formula refers to the case where controlling there are other equipment the lamps and lanterns, and lamps and lanterns belong to controlled terminal at this time, according to the connection received
Machine control information works.At this point, the online control information got just refers to the brightness of lamps and lanterns, the colour temperature of lamps and lanterns and lamp
The bright light region of tool.
S304 holds according to control parameter and controls lamps and lanterns.
Specific implementation process about above-mentioned steps S301 and S304 can refer to the content of previous embodiment, herein no longer into
Row repeats.
Method for controlling lamp provided herein is further elaborated below by another specific embodiment.
Referring to FIG. 4, Fig. 4 is the flow diagram of the 4th kind of method for controlling lamp provided herein.
In the present embodiment, this method can include:
S401 obtains the control model information of lamps and lanterns according to preset path;
S402 obtains the control with the lamps and lanterns of lamps and lanterns pairing by networking module when control model information is interactive model
Information processed;
S403, using control information as control parameter;
As it can be seen that the S402 and S403 in the present embodiment are mainly to be illustrated to the operation that operating mode is interactive model.
Specifically, first passing through networking module when control model information is interactive model and getting and believe with the control of the lamps and lanterns of lamps and lanterns pairing
Breath finally controls lamps and lanterns using the control parameter then using the control information as the control parameter.
S404 holds according to control parameter and controls lamps and lanterns.
Specific implementation process about above-mentioned steps S401 and S404 can refer to the content of previous embodiment, herein no longer into
Row repeats.
On the basis of all of above embodiment, below by a more specific embodiment to the lamps and lanterns control in the application
Method processed is illustrated.
It is first application in the present embodiment in a kind of specific lamps and lanterns, which is control with HT321765 (single-chip microcontroller model)
Core processed, design function surround network module expansion.The lamps and lanterns further include LED drive circuit and LED light group, luminous intensity measurement mould
Block, infrared thermal release electric induction module, temperature measure transducing part, clock part, display portion and power supply system.
Wherein, the light source of the present embodiment uses high-power RGB three-primary color LED, selects current drive mode, considers simultaneously
Example structure selects darlington array ULN2803 to drive as LED, and ULN2803 is eight road NPN Darlingtons connection transistor
Battle array, especially suitable for low logic level digital circuit (such as TTL, CMOS or PMOS/NMOS) and the requirement of higher current/voltage
Between interface, be widely used in computer, the industrial lamp in consumer product, relay, printing hammer or other similar
In load, all devices have open collector output and afterflow case position diode, for inhibiting transition.The design of ULN2803
It is compatible with standard TTL series.
The present embodiment can also include network module, and network module is the communication core of the present embodiment, it is contemplated that be built
Vertical network communication will guarantee enough stability and sufficiently strong reliability.It is an option that WIFI data transmission module
WF-U-09T, WF-U-09T are a multi-functional UART interface Wi-Fi data transmission modules of Linkage's scientific and technological development, its internal collection
At all multi-protocols TCP:IP agreements such as support ARP, ICMP, UDP, TCP/IP, dhcp client and Dynamic Host Configuration Protocol server and Wi-
Many advantages, such as Fi driving, has system interface flexible, and programming Control facilitates.In network structure, module supports basic network
(infra) and special Ad-hoc network structure.Since flexible structure designs so that module is gathered around under the premise of complete function
There are more low-power consumption and higher data throughput.
Also, before using network module, the wireless routing connected to module and its needs is needed to be configured, module
Setting predominantly connect the modules to predetermined network, target ip address, the i.e. IP address etc. of other side's lamps and lanterns are set, to no route
By setting predominantly lamps and lanterns and routing are bound, to realize that one-to-one information is transmitted.The connection of module and MCU is
It is carried out by USART, the message sent and received is completed by the corresponding service function of MCU, after arrangement above completion, often
The secondary module that powers on can be all attached with tied up routing automatically, after lamps and lanterns enter specific mode, will be automatically performed and acquired letter
Breath sends and receives.
Wherein, luminous intensity measurement module is to use in a stand-alone mode, and purposes is to acquire environmental light intensity, according to environmental light intensity
Lamplight brightness is automatically adjusted, to reach optimal illumination effect, while avoiding unnecessary waste of energy.The light intensity of the present embodiment
Measurement module can use BH1750FVI, and BH1750FVI is a kind of numeric type for being integrated with twin wire universal serial bus I2C interface
Light intensity sensor integrated circuit.This integrated circuit collects the light intensity data of environment, can detect large range of light
Strong variation, investigative range llx-655351x, since chip itself has I2C interface, it is possible to very easily be carried out with MCU
Communicate and carry out the transmission of data.The chip has multiple-working mode, and the present embodiment has selected continuous H resolution ratio mould therein
Formula, resolution ratio llx, time of measuring 120ms can be realized the real-time detection to environmental light intensity under such mode, and guarantee
There are enough detection accuracies, fully meets design requirement.Measuring each time for chip can all be converted by 16 ADC being internally integrated
The intensity signal of acquisition is converted corresponding 16 data by device, after being transferred to the inside MCU by I2C interface, via the operation of MCU
Processing obtains corresponding environmental light intensity, to realize the real-time measurement of ambient brightness.
Wherein, infrared thermal release electric induction module be for detect in the sphere of action of lamps and lanterns whether someone activity and set up,
Effect is to export low electricity when nobody's activity in range as with high level (3.3V) is exported when someone's activity in range
It is flat, combine other modules to convert and control lamps and lanterns mode via after the detection processing of MCU.In infrared thermal releasing electric induction mould
There are two critical elements in block, and one is pyroelectric infrared sensor (PIR), another device is exactly that Fresnel is saturating
Wavelength can be that the infrared signal change transitions between 8-12um are electric signal by mirror, PIR, and can be to the white light signal in nature
It is inhibited, thus in the investigative range of passive infrared detector, when no human motion, pyroelectric infrared sensor
The only ambient temperature sensed is sensed by Fresnel Lenses, pyroelectric infrared sensor when human body enters detecting area
It is the difference signal of human body temperature and ambient temperature, the basic conception of the infrared acquisition of infrared detector is exactly inducing moving objects
With the difference of the temperature of background object.There are two Fresnel Lenses effects: first is that focussing force, i.e., the infrared signal released heat is rolled over
Penetrate (reflection) on PIR, second effect be that will detect to divide into several area pellucidas and dark space, make the motive objects into detecting area
Physical efficiency is generated variation heat on PIR in the form of temperature change and releases infrared signal, and such PIR can generate the electric signal of variation.
Human body has constant body temperature, and generally at 37 degree, so the infrared ray of 10 microns of specific wavelength can be issued, passive type is infrared
Pop one's head in by detection human-body emitting 10 microns infrared ray and work, 10 microns of human-body emitting
Infrared ray gathers in infrared induction source after being enhanced by Fresnel Lenses.Infrared induction source generallys use pyroelectricity element, this
Kind element will lose charge balance when receiving human infrared radiation temperature and changing, and discharge charge, subsequent electricity outward
Road can generate high level signal after detection processing, execute alignment processing after MCU acquisition.
Wherein, temperature-measuring module i.e. temperature sensor, use DS18B20, and 3 foot T0-92 is used to encapsulate.
Temperature sensor, A/D sensor, register, interface circuit are integrated in a chip, it can be achieved that Direct Digital by DS18B20
Change output and test, temperature accuracy is ± 0.5 to its temperature-measuring range from -55 DEG C~+125 DEG C, and between -10 DEG C~+85 DEG C
DEG C, and conversion accuracy PLC technology.Temperature of the DS18B20 work in 9,10,11 and 12 bit pattern differentiate according to
It is secondary be 0.5 DEG C 0.25 DEG C 0.125 DEG C, 0.0625 DEG C.The I/O mouth of the microcontroller connected with DS18B20 line is such as without on inside
Pull-up resistor, it is necessary to which in bus plus a pull-up resistor, resistance value are set to 10K.DS18B20 receives temperature transition order (44H)
After start to convert, convert rear temperature in the form of the complement of two's two's complement that 16 tape symbols extend, the 0th, 1 be stored in RAM
Byte.After executing reading RAM order, the temperature value of this two byte can be transmitted to main MCU by monobus.In order to control chip
Level it is compatible, VCC also connects the power supply of 3.3V.
Wherein, calendar clock module use clock chip DS1302, can to year, month, day, week, when, minute, second carry out
Timing, and have the function of leap year compensation, operating voltage is wide up to 2.5~5.5V.It is synchronized and is communicated with CPU using three-wire interface,
And clock signal or RAM data that burst mode once transmits multiple bytes can be used.
Wherein, display module uses color liquid crystal, is attached by SPI interface and Sheng Qun MCU, and driving circuit is simple,
Communication robust provides display information abundant for embodiment.
Wherein, since the present embodiment is related to multiple modules, power reguirements are not quite similar, so needing to design perfect power supply
System provides reliable and stable power supply supply for the modules of the present embodiment.Therefore, the general supply of the present embodiment can use
9V transformer has many advantages, such as that high conversion efficiency, output ripple are small.The 9V power supply obtained through transformer is connected to AMS1117-5.0
5.0V is obtained, AMS1117-3.3 is then connected to and obtains 3.3V, is used for MCU and each module.
Finally, a kind of method for controlling lamp that other embodiments are provided is applied in the lamps and lanterns of the present embodiment, by obtaining
The control model information determination got controls lamps and lanterns with which kind of mode, that is, determines that corresponding control parameter obtains behaviour
Control parameter is obtained, so that lamps and lanterns are carried out with the control of different mode.Also, the control letter used under different control models
The acquisition modes of breath are different, can make lamps and lanterns that different control models be presented, avoid lamps and lanterns only with single control mode, mention
User is risen to the usage experience of lamps and lanterns, the adaptability to application scenarios is improved, avoids wasting unnecessary electric energy.
A kind of lamp control system provided by the embodiments of the present application is introduced below, a kind of lamps and lanterns control described below
System processed can correspond to each other reference with a kind of above-described method for controlling lamp.
Referring to FIG. 5, Fig. 5 is a kind of structural schematic diagram of lamp control system provided by the embodiment of the present application.
In the present embodiment, which may include:
Control model data obtaining module 100, for obtaining the control model information of lamps and lanterns;
Operation executing module 200 is controlled, for determining that corresponding control parameter obtains operation according to control model information, is held
Row control parameter obtains operation and obtains control parameter;
Control module 300, controls lamps and lanterns for being held according to control parameter.
Optionally, the control operation executing module 200 may include:
Environment information acquisition unit, for when control model information is single cpu mode, obtaining the ambient enviroment letter of lamps and lanterns
Breath;
Control parameter acquiring unit is controlled for being calculated according to human perception algorithm ambient condition information
Parameter.
Optionally, the control operation executing module 200 may include:
Online control information acquisition unit, for being obtained by networking module when control model information is online mode
Online control information;
Control parameter acquiring unit, for using online control information as control parameter.
Optionally, the control operation executing module 200 may include:
Unpaired message acquiring unit, for passing through networking module acquisition and lamp when control model information is interactive model
Has the control information of the lamps and lanterns of pairing;
Control parameter acquiring unit, for information will to be controlled as control parameter.
The embodiment of the present application also provides a kind of lamp control device, comprising:
Memory, for storing computer program;
Processor, the step of method for controlling lamp as above is realized when for executing computer program.
The embodiment of the present application also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the step of method for controlling lamp as above is realized when computer program is executed by processor.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Above to a kind of method for controlling lamp, lamp control system, lamp control device and meter provided herein
Calculation machine readable storage medium storing program for executing is described in detail.Specific case used herein to the principle and embodiment of the application into
Elaboration is gone, the description of the example is only used to help understand the method for the present application and its core ideas.It should be pointed out that pair
For those skilled in the art, under the premise of not departing from the application principle, the application can also be carried out
Some improvements and modifications, these improvement and modification are also fallen into the protection scope of the claim of this application.
Claims (10)
1. a kind of method for controlling lamp characterized by comprising
Obtain the control model information of lamps and lanterns;
It determines that corresponding control parameter obtains operation according to the control model information, executes the control parameter acquisition and operate
To control parameter;
It is held according to the control parameter and the lamps and lanterns is controlled.
2. method for controlling lamp according to claim 1, which is characterized in that determined and corresponded to according to the control model information
Control parameter obtain operation, execute the control parameter and obtain operation and obtain control parameter, comprising:
When the control model information is single cpu mode, the ambient condition information of the lamps and lanterns is obtained;
The ambient condition information is calculated according to human perception algorithm, obtains the control parameter.
3. method for controlling lamp according to claim 1, which is characterized in that determined and corresponded to according to the control model information
Control parameter obtain operation, execute the control parameter and obtain operation and obtain control parameter, comprising:
When the control model information is online mode, online control information is obtained by networking module;
Using the online control information as the control parameter.
4. method for controlling lamp according to claim 1, which is characterized in that determined and corresponded to according to the control model information
Control parameter obtain operation, execute the control parameter and obtain operation and obtain control parameter, comprising:
When the control model information is interactive model, the control with the lamps and lanterns of lamps and lanterns pairing is obtained by networking module
Information;
Using the control information as the control parameter.
5. a kind of lamp control system characterized by comprising
Control model data obtaining module, for obtaining the control model information of lamps and lanterns;
Operation executing module is controlled, for determining that corresponding control parameter obtains operation according to the control model information, is executed
The control parameter obtains operation and obtains control parameter;
Control module controls the lamps and lanterns for being held according to the control parameter.
6. lamp control system according to claim 5, which is characterized in that the control operation executing module, comprising:
Environment information acquisition unit, for obtaining surrounding's ring of the lamps and lanterns when the control model information is single cpu mode
Border information;
Control parameter acquiring unit obtains described for being calculated according to human perception algorithm the ambient condition information
Control parameter.
7. lamp control system according to claim 5, which is characterized in that the control operation executing module, comprising:
Online control information acquisition unit, for being obtained by networking module when the control model information is online mode
Online control information;
Control parameter acquiring unit, for using the online control information as the control parameter.
8. lamp control system according to claim 5, which is characterized in that the control operation executing module, comprising:
Unpaired message acquiring unit, for passing through networking module acquisition and institute when the control model information is interactive model
State the control information of the lamps and lanterns of lamps and lanterns pairing;
Control parameter acquiring unit, for using the control information as the control parameter.
9. a kind of lamp control device characterized by comprising
Memory, for storing computer program;
Processor realizes such as Claims 1-4 described in any item method for controlling lamp when for executing the computer program
The step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program is realized when the computer program is executed by processor such as the described in any item method for controlling lamp of Claims 1-4
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910405911.5A CN110022634A (en) | 2019-05-15 | 2019-05-15 | A kind of method for controlling lamp and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910405911.5A CN110022634A (en) | 2019-05-15 | 2019-05-15 | A kind of method for controlling lamp and relevant apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110022634A true CN110022634A (en) | 2019-07-16 |
Family
ID=67193759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910405911.5A Pending CN110022634A (en) | 2019-05-15 | 2019-05-15 | A kind of method for controlling lamp and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110022634A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1679376A (en) * | 2002-09-04 | 2005-10-05 | 皇家飞利浦电子股份有限公司 | Master-slave oriented two-way RF wireless lighting control system |
CN103068124A (en) * | 2012-12-26 | 2013-04-24 | 福州富莱仕影像器材有限公司 | Wireless device capable of achieving on-line control of light source modules of devices |
CN103226781A (en) * | 2013-04-17 | 2013-07-31 | 北京尚秀生活科技有限公司 | Interactive system for advertisement player |
CN205263628U (en) * | 2015-12-16 | 2016-05-25 | 深圳市领芯者科技有限公司 | Intelligence principal and subordinate's lamp device and system |
US9629209B1 (en) * | 2014-12-01 | 2017-04-18 | Universal Lighting Technologies, Inc. | Offline tuning interface for LED drivers |
US9723667B1 (en) * | 2015-04-09 | 2017-08-01 | Universal Lighting Technologies, Inc. | Output tuning and dimming interface for an LED driver |
CN206419764U (en) * | 2017-01-19 | 2017-08-18 | 余汉军 | Light-duty LED remote controls Adjustable head lamp |
-
2019
- 2019-05-15 CN CN201910405911.5A patent/CN110022634A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1679376A (en) * | 2002-09-04 | 2005-10-05 | 皇家飞利浦电子股份有限公司 | Master-slave oriented two-way RF wireless lighting control system |
CN103068124A (en) * | 2012-12-26 | 2013-04-24 | 福州富莱仕影像器材有限公司 | Wireless device capable of achieving on-line control of light source modules of devices |
CN103226781A (en) * | 2013-04-17 | 2013-07-31 | 北京尚秀生活科技有限公司 | Interactive system for advertisement player |
US9629209B1 (en) * | 2014-12-01 | 2017-04-18 | Universal Lighting Technologies, Inc. | Offline tuning interface for LED drivers |
US9723667B1 (en) * | 2015-04-09 | 2017-08-01 | Universal Lighting Technologies, Inc. | Output tuning and dimming interface for an LED driver |
CN205263628U (en) * | 2015-12-16 | 2016-05-25 | 深圳市领芯者科技有限公司 | Intelligence principal and subordinate's lamp device and system |
CN206419764U (en) * | 2017-01-19 | 2017-08-18 | 余汉军 | Light-duty LED remote controls Adjustable head lamp |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Folea et al. | A low-power wireless sensor for online ambient monitoring | |
CN102413616B (en) | Intelligent illumination system based on power line carrier communication technology | |
JP5654182B2 (en) | LED lighting apparatus and life verification method of LED lighting apparatus | |
CN102892212B (en) | A kind of illumination photometry system using wireless sensor network | |
CN102929316B (en) | Measurement and control system for temperature, humidity and illuminance | |
JP2012529138A (en) | Wake-up of light sensor in lighting equipment | |
WO2011110067A1 (en) | Plant tissue culture led light source control system based on wireless control network | |
CN103458577B (en) | Wireless automatic control illuminating system of common fluorescent lamp | |
CN204305399U (en) | A kind of Interior Illumination Environment intelligence control system | |
CN203912278U (en) | LED desk lamp intelligent controller | |
TWM436801U (en) | Light-source-base internet of thing | |
CN108040387A (en) | Optical detection device and lighting device | |
CN106162278A (en) | A kind of low energy consumption terminal control system and method | |
CN106370296A (en) | Detection method and system for the environment light by mobile terminal light sensor | |
CN204795719U (en) | Response lamp system with long -range function that sets up | |
CN110022634A (en) | A kind of method for controlling lamp and relevant apparatus | |
CN108738200A (en) | Color temperature adjustment device, the system and method for lamp group | |
CN206212351U (en) | A kind of children sleeping guards lamp | |
CN204697344U (en) | A kind of have the simple and easy induction lamp system arranging function | |
CN205090317U (en) | LED street lamp through smart mobile phone remote control based on solar energy, wind energy | |
CN103294889A (en) | Intimacy monitoring method and intimacy monitor | |
CN214544874U (en) | Intelligent dimming lamp | |
Hammid et al. | Design remote power control I/O data acquisition system and control on home automation | |
CN110297445A (en) | A kind of microcontroller electric appliance by means of WiFi plug-in module | |
Craciunescu et al. | Wireless ZigBee home automation system |
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: 20190716 |
|
RJ01 | Rejection of invention patent application after publication |