CN107339729B - A kind of method for controlling illuminating lamp and device of range hood - Google Patents
A kind of method for controlling illuminating lamp and device of range hood Download PDFInfo
- Publication number
- CN107339729B CN107339729B CN201710744500.XA CN201710744500A CN107339729B CN 107339729 B CN107339729 B CN 107339729B CN 201710744500 A CN201710744500 A CN 201710744500A CN 107339729 B CN107339729 B CN 107339729B
- Authority
- CN
- China
- Prior art keywords
- range hood
- state
- headlamp
- time interval
- variable value
- 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.)
- Active
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24C—DOMESTIC STOVES OR RANGES ; DETAILS OF DOMESTIC STOVES OR RANGES, OF GENERAL APPLICATION
- F24C15/00—Details
- F24C15/20—Removing cooking fumes
- F24C15/2021—Arrangement or mounting of control or safety systems
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24C—DOMESTIC STOVES OR RANGES ; DETAILS OF DOMESTIC STOVES OR RANGES, OF GENERAL APPLICATION
- F24C15/00—Details
- F24C15/20—Removing cooking fumes
- F24C15/2064—Removing cooking fumes illumination for cooking hood
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the present invention provides the method for controlling illuminating lamp and device of a kind of range hood, is related to intelligent appliance control field, solves the problems, such as that range hood relies on user setting and violates the actual demand of user in the prior art.The program includes: to control the headlamp of range hood after receiving user to the first power-on instruction of range hood be in the corresponding lamp state of range hood operation place time interval;When range hood operates in first time section, instruction is changed to the state of headlamp if receiving user, then change instruction according to the state of headlamp, headlamp is changed into the second state from first state, first time section is any time section being arranged in range hood;After range hood shutdown, user is received to the second power-on instruction of range hood, when range hood operates in first time section, control headlamp is in the second state.The present invention is applied in range hood.
Description
Technical field
The present invention relates to intelligent appliance control field more particularly to the method for controlling illuminating lamp and dress of a kind of range hood
It sets.
Background technique
Range hood is a kind of kitchen appliance for purifying kitchen environment, is installed on above kitchen range, can fire cooking stove
The oil smoke generated in the waste and cooking process of burning is taken away rapidly, and discharge is outdoor, to reduce indoor pollution, purifies Interior Space
Gas.
In order to allow user during the cooking process, it can be clearly seen that in pot food state, range hood usually all design have
Headlamp plays the role of floor light.When cooking-fume exhauster blower work, headlamp should be opened or be closed, with environment
Light is closely related.And the power of ambient light is related to period locating when using, season and user's use habit etc..
User usually requires additionally to manually control opening or closing for headlamp while controlling cooking-fume exhauster blower and opening or closing,
It uses more troublesome.If being not turned on headlamp when ambient light deficiency, it will cause do not see dietary regimen in pot
Problem.If the problem of opening headlamp when ambient light abundance, and will cause waste of energy.Therefore, range hood is realized
The automatic control of headlamp is the current technical issues that need to address.
However, a key technology difficulty for realizing the automatic control of the headlamp of range hood is how to judge automatically photograph
The condition that bright lamp opens or closes.There are two the essential conditions for the headlamp that usual user's selection opens or closes range hood:
A, it is used or prepares to use range hood;B, ambient light not enough sees the state in pot clearly, needs by opening headlamp
Supplement light.When two conditions of A and B meet simultaneously, user can open headlamp;When two conditions of A and B have one to be unsatisfactory for
When, user can close headlamp.
A kind of range hood is provided in the prior art judges automatically the scheme that headlamp opens or closes condition.In specific
Hold are as follows: the time range of day or night is arranged by man-machine interaction unit by user, if current time is in the time range on daytime
Inside then close headlamp;Headlamp is opened if in the time range of current time at night.However, due to day or night
Time range needs user oneself to set, and uses and inconvenient.And if user's kitchen lighting condition is bad, daytime is also needed
Headlamp is opened, can also violate the actual demand of user using above-mentioned technical solution in this case.Although the program is hard
Part is low in cost, and considers above-mentioned condition A, but excessively relies on the judgement of above-mentioned condition B the setting of user, and not
It is able to satisfy the actual demand of user, there are significant limitations in the application of range hood.
Summary of the invention
The embodiment of the present invention provides the method for controlling illuminating lamp and device of a kind of range hood, and solution is inhaled in the prior art
The problem of kitchen ventilator relies on user setting and violates the actual demand of user.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
The embodiment of the present invention in a first aspect, providing a kind of method for controlling illuminating lamp of range hood, which comprises
After user is received to the first power-on instruction of range hood, the headlamp for controlling the range hood is in the suction
The corresponding lamp state of time interval where kitchen ventilator operation;
When the range hood operates in first time section, the state of the headlamp is changed if receiving user
Instruction then changes instruction according to the state of the headlamp, the headlamp is changed into the second state from first state, described
First time section is any time section being arranged in range hood;
After range hood shutdown, user is received to the second power-on instruction of the range hood, when the oil suction
When smoke machine operates in the first time section, controls the headlamp and be in second state.
The second aspect of the embodiment of the present invention, provides a kind of illuminating lamp control device of range hood, and described device includes:
Control module controls the photograph of the range hood after receiving user to the first power-on instruction of range hood
The corresponding lamp state of time interval where bright lamp is in range hood operation;
Change module, for when the range hood operates in first time section, if receiving user to the photograph
The state of bright lamp changes instruction, then changes instruction according to the state of the headlamp, and the headlamp is changed from first state
For the second state, the first time section is any time section being arranged in range hood;
The control module is also used to after the range hood shuts down, and receives user to the second of the range hood
Power-on instruction controls the headlamp and is in second shape when the range hood operates in the first time section
State.
The third aspect of the embodiment of the present invention provides a kind of range hood, including range hood described in second aspect
Illuminating lamp control device.
The fourth aspect of the embodiment of the present invention provides a kind of range hood, comprising: processor, memory, communication interface;
The memory is for storing computer executed instructions, and when range hood operation, the processor is executed
The computer executed instructions of the memory storage, so that the range hood executes fume-exhausting as described in relation to the first aspect
The method for controlling illuminating lamp of machine.
5th aspect of the embodiment of the present invention, provides a kind of computer storage medium, including computer instruction, when the meter
Calculation machine is instructed when running on range hood, so that the range hood executes the illumination of range hood as described in relation to the first aspect
Lamp control method.
6th aspect of the embodiment of the present invention, provides a kind of computer program product, when the computer program product exists
When being run on computer, so that the computer executes the method for controlling illuminating lamp of range hood as described in relation to the first aspect.
The method for controlling illuminating lamp and device of range hood provided in an embodiment of the present invention, the program include: to receive user
After the first power-on instruction of range hood, the headlamp for controlling range hood is in time interval pair where range hood operation
The lamp state answered;When range hood operates in first time section, the state of headlamp is changed if receiving user
Instruction then changes instruction according to the state of headlamp, headlamp is changed into the second state, first time section from first state
For any time section being arranged in range hood;After range hood shutdown, second booting of the user to range hood is received
Instruction, when range hood operates in first time section, control headlamp is in the second state.The present invention is applied to fume-exhausting
In machine.
Compared with the prior art, on the one hand, this programme by receive user to the first power-on instruction of range hood after,
The corresponding lamp state of time interval, goes again without user where the headlamp of control range hood is in range hood operation
Manual setting time interval excessively relies on use when range hood so as to avoid using to control the open and close of headlamp
The problem of family is arranged;On the other hand, when range hood operates in first time section, if receiving user to the shape of headlamp
State changes instruction, then changes instruction according to the state of headlamp, and headlamp is changed into the second state from first state, when first
Between section be any time section that is arranged in range hood, so that headlamp can be carried out according to the actual demand of user
Work.After range hood shutdown, user is received to the second power-on instruction of range hood, when range hood operates in first
Between section when, control headlamp be in the second state, and such range hood is to go to control headlamp according to the use habit of user,
The use habit for fully taking into account user meets the actual demand of user.For example, the 5 PM dark in winter, inhales
The headlamp that kitchen ventilator operates in the time interval is OFF state, but user needs to open headlamp at this time, then headlamp
OFF state can be changed into illuminating state.After range hood shutdown, opens at second day user still in the afternoon 5 and inhale
Kitchen ventilator, at this point, headlamp is in illuminating state.To sum up, the range hood of this programme is able to record the use habit of user, and
The state that control headlamp is removed according to the use habit of user, meets the actual demand of user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, 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
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of range hood provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of the method for controlling illuminating lamp of range hood provided in an embodiment of the present invention;
Fig. 3 is time interval schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the illuminating lamp control device of range hood provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the illuminating lamp control device of another range hood provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in an embodiment of the present invention, use " the
One ", the printed words such as " second " distinguish function or the essentially identical identical entry of effect or similar item, and those skilled in the art can
To understand that the printed words such as " first ", " second " are not defined quantity and execution order.
The hardware configuration of range hood provided in an embodiment of the present invention is as shown in Figure 1, the range hood includes processor, people
Machine interactive module, clock module, memory module and headlamp, the control module respectively with human-computer interaction module, clock module,
Memory module and headlamp connection.Illustratively, which can be a display control panel or host computer,
For by being operated on display control panel or host computer.
Based on the hardware structure diagram of range hood shown in Fig. 1, the embodiment of the present invention provides a kind of photograph of range hood
Bright lamp control method, as shown in Fig. 2, this method comprises:
101, after receiving user to the first power-on instruction of range hood, the headlamp for controlling range hood is in fume-exhausting
The corresponding lamp state of time interval where machine operation.
Illustratively, the first power-on instruction of above-mentioned range hood refers to the power-on instruction of the motor in range hood.
Illustratively, the headlamp that range hood is controlled in above-mentioned step 101 is in the time where range hood operation
The corresponding lamp state in section, specifically includes the following contents:
In 101a, the corresponding relationship between time interval and state variable value, the time where range hood operation is searched
The corresponding state variable value in section.
101b, the headlamp that time interval corresponding state variable value control range hood in place is run according to range hood
State.
Wherein: above-mentioned state variable value is used to indicate the headlamp for opening or closing range hood.
Illustratively, the corresponding relationship between above-mentioned time interval and state variable value can use state relation Biao Laibiao
Show, the mapping table of the state relation table between time interval and state variable value.
Illustratively, above-mentioned state variable value can be indicated with 0 or 1, when state variable value is 0, be used to indicate pass
Close the headlamp of range hood;When state variable value is 1, it is used to indicate the headlamp for opening range hood;Vice versa.It needs
It is noted that here 0 and 1 be only a kind of example for indicating opening or closing for headlamp, be not defined.
Illustratively, when range hood operation where time interval be afternoon 7:00-8:00, if from time interval with
In corresponding relationship between state variable value, find the corresponding state variable value of 7:00-8:00 be 1, then range hood according to
The state variable value 1 removes the headlamp of control unlatching range hood, so that the state of the headlamp is in illuminating state;If
In corresponding relationship between time interval and state variable value, finding the corresponding state variable value of 7:00-8:00 is 0, then
Range hood removes the headlamp of control closing range hood according to the state variable value 0, so that at the state of the headlamp
In the state of extinguishing.
Illustratively, when user opens range hood by human-computer interaction module, control module in range hood according to
The time interval where range hood operation in clock module searches the corresponding range hood of the time interval in memory module
Headlamp state variable value, if the value be " 1 " if automatic-control illumination lamp open, if the value be " 0 " automatically control photograph
Bright lamp is closed.Here state variable value and the time on range hood are associated, rather than are associated with the standard time,
The influence that time zone can be eliminated, it is unaffected the clock of range hood is not provided with correct.
Optionally, before above-mentioned step 101, this method further include: be the headlamp of range hood in each time
State variable value is distributed in section.
Leak-free N number of time interval, t are not weighed specifically, being first divided into the time of whole day1+t2+...+tN=24 is small
When.A corresponding state variable Flag [n] (n=1:N) is distributed to each time interval in the memory module of range hood,
Indicate that the time interval intraoral illumination lamp extinguishes when the state variable value is " 0 ", when indicating this when the state variable value is " 1 "
Between section intraoral illumination lamp light.
For example, working as above-mentioned N=24, averagely divided as unit of 1 hour.t1Corresponding time interval (00:00:00-
01:00:00], t2Correspondence time interval (01:00:00-02:00:00] ... t24Correspondence time interval (23:00:00-00:00:
00].Flag [1]-Flag [24] records the state of 24 time interval intraoral illumination lamps respectively.
Alternatively, working as above-mentioned N=12, averagely divided as unit of 2 hours.t1Corresponding time interval (00:00:00-
02:00:00], t2Correspondence time interval (02:00:00-04:00:00] ... t12Correspondence time interval (22:00:00-00:00:
00].Flag [1]-Flag [12] records the state of 12 period headlamps respectively.
Secondly, being the lamp state of each range hood according to the substantially regular of use environment before product export
An initial value (default value) is arranged in variable, i.e., default is beaten in which time interval headlamp when range hood is switched on automatically
It opens, is not automatically opened in which time interval headlamp when range hood is switched on.
For example, by the shape of the headlamp of corresponding range hood in 00:00-08:00 and 18:00-00:00 time interval
The initial value of state variable is set as " 1 ", i.e., in these time intervals, headlamp default when range hood is switched on is beaten automatically
It opens." 0 " is set by the initial value of the state variable of the headlamp of the corresponding range hood of 08:00-18:00 time interval, i.e.,
In these time intervals, headlamp default when range hood is switched on is not automatically opened.
102, when range hood operates in first time section, the state change of headlamp is referred to if receiving user
It enables, then changes instruction according to the state of headlamp, headlamp is changed into the second state from first state.
Wherein, above-mentioned first time section is any time section being arranged in range hood.
Illustratively, the content based on above-mentioned step 101a, 101b refers to above-mentioned according to the state change of headlamp
After enabling step, this method further include:
102a, after the second state continues preset time period, renewal time section and state variable value between it is corresponding pass
State variable value corresponding with first time section in system, so that the state variable value indicates the second state.
Illustratively, when range hood operates in first time section, when result of the user to automatic control is dissatisfied
When, the state of headlamp can be manually controlled by human-computer interaction module.If headlamp is switched to by closed state manually
The state variable value of the headlamp of corresponding range hood is then updated to " 1 " by " 0 " by open state;If manually will illumination
Lamp is in off state by open state switching, and the closed state continues the retention time in t or more, then by corresponding range hood
The state variable value of headlamp " 0 " is updated to by " 1 ".The process of this process, that is, range hood headlamp self study, its meeting
User is recorded in the headlamp use habit of the range hood of each time interval.
Above-mentioned state continues the state variable for the retention time headlamp of corresponding range hood just being updated in t or more
Value, can be to avoid the provisional random interference operated to self study result.
For example, user, which is opened in 16:30 by human-computer interaction module, to inhale by taking the division of 24 above-mentioned time intervals as an example
Kitchen ventilator, control module is according to the time interval is corresponding in range lookup memory module where the current time in clock module
The state variable value Flag [17] of the headlamp of range hood is " 0 ", and automatic-control illumination lamp is closed.But since kitchen is adopted naturally
Light is not very well that and user is a western-style food fan, he wishes that beefsteak can be seen clearly when decocting beefsteak ripe to rather, just leads to
Cross human-computer interaction module manually to open headlamp, and the state of the unlatching continue for 5s or more, then the value of Flag [17] from
It is dynamic that " 1 " is updated to by " 0 ".
It should be noted that there is the case where across time interval when using range hood for user, as shown in figure 3,
User uses range hood in 17:30-18:30, and first time section here is 17:00-18:00, and the second time interval is
18:00-19:00, if being according to the corresponding lamp state control in the first time section in first time section headlamp
OFF state, according to the corresponding lamp state control of second time interval in the second time interval headlamp still in extinguishing
Headlamp is opened in state, at this time 17:30 manual operation of the user in first time section, then headlamp is in 17:30-18:00
In illuminating state, if user is not turned off headlamp in the second time interval or is not turned off the operation of range hood,
Headlamp in 18:00-18:30 still in illuminating state, until a certain reception in 18:00-19:00 is to the of user
Two-state just terminates the illuminating state of headlamp when changing instruction or shutdown command, just meet the actual demand of user in this way.
103, after range hood shutdown, user is received to the second power-on instruction of range hood, when range hood is run
At the first time section, control headlamp is in the second state.
Illustratively, the shutdown of above-mentioned range hood refers to the shutdown of the motor in range hood.Above-mentioned range hood
The second power-on instruction refer to the power-on instruction of the motor in range hood.
Illustratively, based on above-mentioned 102a, in step 103 when range hood operates in first time section, control
Headlamp processed is in the second state, specifically includes the following contents:
103a, according to the corresponding relationship between time interval and state variable value, control headlamp and be in first time area
Between the second state indicated by corresponding state variable value.
Illustratively, after user is using range hood more than once, range hood is made user by self-learning function
It is recorded with habit, when next time opens range hood by human-computer interaction module, control module is according to working as in clock module
The preceding time searches the state variable value of the headlamp of the corresponding range hood of the time interval in memory module, if the value is " 1 "
Then automatic-control illumination lamp is opened, and automatic-control illumination lamp is closed if the value is " 0 ".
For example, user 16:30 by human-computer interaction module open range hood, as before he in the time where
This range hood was used in time interval, controller module is searched in memory module according to the current time in clock module
The state variable value Flag [17] of the headlamp of the corresponding range hood in 1 section of time is " 1 ", and just automatic-control illumination lamp is opened
It opens.User's trouble for eliminating an individually operated headlamp key in this way.
Compared with the prior art, on the one hand, this programme by receive user to the first power-on instruction of range hood after,
The corresponding lamp state of time interval, goes again without user where the headlamp of control range hood is in range hood operation
Manual setting time interval excessively relies on use when range hood so as to avoid using to control the open and close of headlamp
The problem of family is arranged;On the other hand, when range hood operates in first time section, if receiving user to the shape of headlamp
State changes instruction, then changes instruction according to the state of headlamp, and headlamp is changed into the second state from first state, when first
Between section be any time section that is arranged in range hood, so that headlamp can be carried out according to the actual demand of user
Work.After range hood shutdown, user is received to the second power-on instruction of range hood, when range hood operates in first
Between section when, control headlamp be in the second state, and such range hood is to go to control headlamp according to the use habit of user,
The use habit for fully taking into account user meets the actual demand of user.For example, the 5 PM dark in winter, inhales
The headlamp that kitchen ventilator operates in the time interval is OFF state, but user needs to open headlamp at this time, then headlamp
OFF state can be changed into illuminating state.After range hood shutdown, opens at second day user still in the afternoon 5 and inhale
Kitchen ventilator, at this point, headlamp is in illuminating state.To sum up, the range hood of this programme is able to record the use habit of user, and
The state that control headlamp is removed according to the use habit of user, meets the actual demand of user.
Optionally, this method further include:
A1, receive user to the first power-on instruction step of range hood before, if receiving user to headlamp
Open command, and the open state of headlamp continues preset time period, then refers in reception user to the first booting of range hood
After enabling step, keep headlamp in the open state.
For example, user before being not switched on range hood, first opens headlamp, and the state that the headlamp is opened continues
5s still maintains that the headlamp is in the open state then after user opens range hood, thus the user that fully considers
Use habit, so that the state of headlamp meets the actual demand of user.
It is further alternative based on above-mentioned content, this method further include:
If detecting, headlamp is in the open state, and open state continues preset time period, then is receiving user to suction
After first power-on instruction step of kitchen ventilator, control in the corresponding relationship between time interval and state variable value, first
The corresponding state variable value for being used to indicate unlatching headlamp of time interval where the receiving time of power-on instruction.
Illustratively, the receiving time of the first above-mentioned power-on instruction is that user triggers the time locating for startup switch.
Illustratively, if in corresponding relationship between time interval and state variable value, the reception of the first power-on instruction
The corresponding state variable value of time interval where time is to be used to indicate unlatching headlamp, is opened if detecting that headlamp is in
State, and open state continues preset time period, then after receiving user to the first power-on instruction step of range hood, protects
The corresponding state variable value of time interval where holding the receiving time of the first instruction is constant;If in time interval and state variable
In corresponding relationship between value, the corresponding state variable value of time interval where the receiving time of the first power-on instruction is to be used for
Headlamp is closed in instruction, if detecting, headlamp is in the open state, and open state continues preset time period, then is receiving use
After family is to the first power-on instruction step of range hood, the time interval pair where the receiving time of the first power-on instruction is updated
The state variable value answered, i.e., by the corresponding state variable value of time interval where the receiving time of the first instruction from closed state
It is changed to open state.
For example, user, before being not keyed up, if range hood detects that headlamp is in the open state, and open state is held
Continuous 5s, user open range hoods at 16:30 points, if range hood find 16:30 where the corresponding state of time interval
Variate-value is used to indicate opening headlamp, then the corresponding state variable value of the time interval where keeping the 16:30 is constant;If inhaling
The corresponding state variable value of time interval where kitchen ventilator finds 16:30 is used to indicate closing headlamp, then update this 16:
The corresponding state variable value of time interval where 30, i.e., by the corresponding state variable value of time interval where the 16:30 from
Closed state is changed to open state.
Optionally, this method further include:
A2, receive user to the shutdown command of range hood after, according to user to the shutdown command of range hood, immediately or
The headlamp of range hood is closed after lasting preset time period.
Below by the associated description in the embodiment of the method for controlling illuminating lamp based on the corresponding range hood of Fig. 2 to this hair
A kind of range hood that bright embodiment provides is introduced.It is technical term relevant to above-described embodiment in following embodiment, general
The explanation of thought etc. is referred to the above embodiments, and which is not described herein again.
The embodiment of the present invention provides a kind of illuminating lamp control device of range hood, which is shown in Fig. 1 hard
Runs software module realization of functions in part structure, as shown in figure 4, the device 2 includes: control module 21 and change module
22, in which:
Control module 21 controls the illumination of range hood after receiving user to the first power-on instruction of range hood
The corresponding lamp state of time interval where lamp is in range hood operation.
Change module 22, for when range hood operates in first time section, if receiving user to headlamp
State changes instruction, then changes instruction according to the state of headlamp, and headlamp is changed into the second state from first state, and first
Time interval is any time section being arranged in range hood;
Control module 21 is also used to after range hood shuts down, and receives user to the second power-on instruction of range hood, when
When range hood operates in first time section, control headlamp is in the second state.
Illustratively, the first power-on instruction and the second power-on instruction of above-mentioned range hood refer to the electricity in range hood
The power-on instruction of machine.Above-mentioned range hood shutdown refers to the shutdown of the motor in range hood.
Optionally, the time where above-mentioned control module 21 is in range hood operation in the headlamp of control range hood
When the corresponding lamp state in section, it is used for:
In corresponding relationship between time interval and state variable value, time interval pair where range hood operation is searched
The state variable value answered.
The lamp state of the corresponding state variable value control range hood of time interval where being run according to range hood.
Wherein: state variable value is used to indicate the headlamp for opening or closing range hood.
Illustratively, the corresponding relationship between above-mentioned time interval and state variable value can use state relation Biao Laibiao
Show, the mapping table of the state relation table between time interval and state variable value.
Illustratively, above-mentioned state variable value can be indicated with 0 or 1, when state variable value is 0, be used to indicate pass
Close the headlamp of range hood;When state variable value is 1, it is used to indicate the headlamp for opening range hood;Vice versa.It needs
It is noted that here 0 and 1 be only a kind of example for indicating opening or closing for headlamp, be not defined.
It should be noted that there is the case where across time interval when using range hood for user, as shown in figure 3,
User uses range hood in 17:30-18:30, and first time section here is 17:00-18:00, and the second time interval is
18:00-19:00, if being according to the corresponding lamp state control in the first time section in first time section headlamp
OFF state, according to the corresponding lamp state control of second time interval in the second time interval headlamp still in extinguishing
Headlamp is opened in state, at this time 17:30 manual operation of the user in first time section, then headlamp is in 17:30-18:00
In illuminating state, if user is not turned off headlamp in the second time interval or is not turned off the operation of range hood,
Headlamp in 18:00-18:30 still in illuminating state, until a certain reception in 18:00-19:00 is to the of user
Two-state just terminates the illuminating state of headlamp when changing instruction or shutdown command, just meet the actual demand of user in this way.
Preferably, as shown in figure 5, above-mentioned device 2 further include: the first update module 23, in which:
First update module 23, for after the second state continues preset time period, renewal time section and state variable
State variable value corresponding with first time section in corresponding relationship between value, so that the state variable value indicates the second shape
State.
Control module 21, when range hood operates in first time section, when control headlamp is in the second state,
It is also used to:
According to the corresponding relationship between time interval and state variable value, it is corresponding that control headlamp is in first time section
State variable value indicated by the second state.
Further alternative, above-mentioned control module 21 is also used to:
Before receiving user to the first power-on instruction step of range hood, if receiving unlatching of the user to headlamp
Instruction, and the open state of headlamp continues preset time period, then is receiving user to the first power-on instruction step of range hood
After rapid, keep headlamp in the open state.
It is further alternative, as shown in figure 5, above-mentioned device 2 further include: the second update module 24, in which:
Second update module 24, if for detecting that headlamp is in the open state, and open state continues preset time
Section, then after receiving user to the first power-on instruction step of range hood, control time interval and state variable value it
Between corresponding relationship in, time interval where the receiving time of the first power-on instruction is corresponding to be used to indicate the shape for opening headlamp
State variable value.
Illustratively, the receiving time of the first above-mentioned power-on instruction is that user triggers the time locating for startup switch.
Illustratively, if in corresponding relationship between time interval and state variable value, the reception of the first power-on instruction
The corresponding state variable value of time interval where time is to be used to indicate unlatching headlamp, is opened if detecting that headlamp is in
State, and open state continues preset time period, then after receiving user to the first power-on instruction step of range hood, protects
The corresponding state variable value of time interval where holding the receiving time of the first instruction is constant;If in time interval and state variable
In corresponding relationship between value, the corresponding state variable value of time interval where the receiving time of the first power-on instruction is to be used for
Headlamp is closed in instruction, if detecting, headlamp is in the open state, and open state continues preset time period, then is receiving use
After family is to the first power-on instruction step of range hood, the time interval pair where the receiving time of the first power-on instruction is updated
The state variable value answered, i.e., by the corresponding state variable value of time interval where the receiving time of the first instruction from closed state
It is changed to open state.
Optionally, above-mentioned control module 21, after being also used to receive user to the shutdown command of range hood, according to user
To the shutdown command of range hood, the headlamp of range hood is closed immediately or after lasting preset time period.
Optionally, as shown in figure 5, above-mentioned device 2 further include: initialization module 25, for the illumination for range hood
Lamp distributes state variable value in each time interval.
Leak-free N number of time interval, t are not weighed specifically, being first divided into the time of whole day1+t2+...+tN=24 is small
When.A corresponding state variable Flag [n] (n=1:N) is distributed to each time interval in the memory module of range hood,
Indicate that the time interval intraoral illumination lamp extinguishes when the state variable value is " 0 ", when indicating this when the state variable value is " 1 "
Between section intraoral illumination lamp light.
For example, working as above-mentioned N=24, averagely divided as unit of 1 hour.t1Corresponding time interval (00:00:00-
01:00:00], t2Correspondence time interval (01:00:00-02:00:00] ... t24Correspondence time interval (23:00:00-00:00:
00].Flag [1]-Flag [24] records the state of 24 time interval intraoral illumination lamps respectively.
Alternatively, working as above-mentioned N=12, averagely divided as unit of 2 hours.t1Corresponding time interval (00:00:00-
02:00:00], t2Correspondence time interval (02:00:00-04:00:00] ... t12Correspondence time interval (22:00:00-00:00:
00].Flag [1]-Flag [12] records the state of 12 period headlamps respectively.
Secondly, being the lamp state of each range hood according to the substantially regular of use environment before product export
An initial value (default value) is arranged in variable, i.e., default is beaten in which time interval headlamp when range hood is switched on automatically
It opens, is not automatically opened in which time interval headlamp when range hood is switched on.
For example, by the shape of the headlamp of corresponding range hood in 00:00-08:00 and 18:00-00:00 time interval
The initial value of state variable is set as " 1 ", i.e., in these time intervals, headlamp default when range hood is switched on is beaten automatically
It opens." 0 " is set by the initial value of the state variable of the headlamp of the corresponding range hood of 08:00-18:00 time interval, i.e.,
In these time intervals, headlamp default when range hood is switched on is not automatically opened.
Compared with the prior art, on the one hand, this programme by receive user to the first power-on instruction of range hood after,
The corresponding lamp state of time interval, goes again without user where the headlamp of control range hood is in range hood operation
Manual setting time interval excessively relies on use when range hood so as to avoid using to control the open and close of headlamp
The problem of family is arranged;On the other hand, when range hood operates in first time section, if receiving user to the shape of headlamp
State changes instruction, then changes instruction according to the state of headlamp, and headlamp is changed into the second state from first state, when first
Between section be any time section that is arranged in range hood, so that headlamp can be carried out according to the actual demand of user
Work.After range hood shutdown, user is received to the second power-on instruction of range hood, when range hood operates in first
Between section when, control headlamp be in the second state, and such range hood is to go to control headlamp according to the use habit of user,
The use habit for fully taking into account user meets the actual demand of user.For example, the 5 PM dark in winter, inhales
The headlamp that kitchen ventilator operates in the time interval is OFF state, but user needs to open headlamp at this time, then headlamp
OFF state can be changed into illuminating state.After range hood shutdown, opens at second day user still in the afternoon 5 and inhale
Kitchen ventilator, at this point, headlamp is in illuminating state.To sum up, the range hood of this programme is able to record the use habit of user, and
The state that control headlamp is removed according to the use habit of user, meets the actual demand of user.
The embodiment of the present invention provides a kind of range hood, the illuminating lamp control device including range hood described above.
The embodiment of the present invention provides a kind of range hood, comprising: processor, memory, communication interface;Wherein:
Memory is for storing computer executed instructions, and when range hood operation, processor executes the memory and deposits
The computer executed instructions of storage, so that range hood executes the method for controlling illuminating lamp of range hood described above.
Illustratively, above-mentioned memory may include high-speed random access memory, can also include non-volatile memory
Device, such as disk memory, flush memory device or other volatile solid-state parts etc..
Illustratively, above-mentioned communication interface is used to receive user to the control instruction of range hood, such as: booting refers to
It enables, state control instruction of headlamp etc., the communication interface can be interface circuit.
Illustratively, above-mentioned processor can be central processing unit (Central Processing Unit, CPU), lead to
With processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application-Specific Integrated Circuit, ASIC), field programmable gate array (Field
Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hardware component or
Person's any combination thereof.It, which may be implemented or executes, combines various illustrative logic blocks described in present disclosure,
Module and circuit.The processor is also possible to realize the combination of computing function, such as includes one or more microprocessors group
It closes, DSP and the combination of microprocessor etc..
The embodiment of the present invention provides a kind of computer storage medium, including computer instruction, when computer instruction is in oil suction
When being run on smoke machine, so that range hood executes the method for controlling illuminating lamp of range hood described above.
Illustratively, any usable medium that computer readable storage medium can be that computer can access either is wrapped
The data storage devices such as server, the data center integrated containing one or more usable mediums.The usable medium can be magnetism
Medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid
State Disk (SSD)) etc..
The embodiment of the present invention provides a kind of computer program product, when computer program product is run on computers
When, so that computer executes the method for controlling illuminating lamp of range hood as described in relation to the first aspect.
Illustratively, above-mentioned computer program product includes one or more computer instructions.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description
It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper
It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete
All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to
The corresponding process in embodiment of the method is stated, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device can be by others side
Formula is realized.For example, the embodiment of device described above is only schematical, for example, the module or unit in the device
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (15)
1. a kind of method for controlling illuminating lamp of range hood, which is characterized in that the described method includes:
After user is received to the first power-on instruction of range hood, the headlamp for controlling the range hood is in the fume-exhausting
The corresponding lamp state of time interval where machine operation;
When the range hood operates in first time section, the state change of the headlamp is referred to if receiving user
It enables, then changes instruction according to the state of the headlamp, the headlamp is changed into the second state from first state, when described
Second state continues the retention time in t or more, updates the state variable value of the headlamp of corresponding range hood, when described first
Between section be any time section that is arranged in range hood, the t is any time interval of range hood setting;
After range hood shutdown, user is received to the second power-on instruction of the range hood, when the range hood
When operating in the first time section, controls the headlamp and be in second state.
2. the method according to claim 1, wherein the headlamp of the control range hood is in described
The corresponding lamp state of time interval where range hood operation, comprising:
In corresponding relationship between time interval and state variable value, time interval pair where the range hood operation is searched
The state variable value answered;
The corresponding state variable value of time interval where being run according to the range hood controls the headlamp of the range hood
State;
Wherein: the state variable value is used to indicate the headlamp for opening or closing range hood.
3. according to the method described in claim 2, it is characterized in that, according to the headlamp state change instruction step it
Afterwards, before the range hood shutdown procedures, the method also includes:
After second state continues preset time period, the corresponding relationship between the time interval and state variable value is updated
In state variable value corresponding with the first time section so that the state variable value indicates second state;
It is described when the range hood operates in the first time section, control the headlamp and be in second shape
State, comprising:
According to the corresponding relationship between the time interval and state variable value, controls the headlamp and be in the first time
Second state indicated by the corresponding state variable value in section.
4. the method according to claim 1, wherein the method also includes:
Before receiving user to the first power-on instruction step of range hood, if receiving unlatching of the user to the headlamp
Instruction, and the open state of the headlamp continues preset time period, then refers in reception user to the first booting of range hood
After enabling step, keep the headlamp in the open state.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
If detecting, the headlamp is in the open state, and the open state continues preset time period, then is receiving user
After the first power-on instruction step of range hood, control in the corresponding relationship between time interval and state variable value,
The corresponding state variable value for being used to indicate unlatching headlamp of time interval where the receiving time of first power-on instruction.
6. the method according to claim 1, wherein the method also includes:
After user is received to the shutdown command of range hood, according to user to the shutdown command of range hood, immediately or continue pre-
If closing the headlamp of the range hood after the period.
7. a kind of illuminating lamp control device of range hood, which is characterized in that described device includes:
Control module controls the headlamp of the range hood after receiving user to the first power-on instruction of range hood
The corresponding lamp state of place time interval is run in the range hood;
Change module, for when the range hood operates in first time section, if receiving user to the headlamp
State change instruction, then change instruction according to the state of the headlamp, the headlamp changed into the from first state
Two-state updates the state variable of the headlamp of corresponding range hood when second state continues the retention time in t or more
Value, the first time section are any time section that is arranged in range hood, the t be range hood setting it is any when
Between be spaced;
The control module is also used to after the range hood shuts down, and receives second booting of the user to the range hood
Instruction, when the range hood operates in the first time section, controls the headlamp and is in second state.
8. device according to claim 7, which is characterized in that the control module is in the illumination for controlling the range hood
Where lamp is in the range hood operation when the corresponding lamp state of time interval, it is used for:
In corresponding relationship between time interval and state variable value, time interval pair where the range hood operation is searched
The state variable value answered;
The corresponding state variable value of time interval where being run according to the range hood controls the headlamp of the range hood
State;
Wherein: the state variable value is used to indicate the headlamp for opening or closing range hood.
9. device according to claim 8, which is characterized in that the range hood further include:
First update module becomes for after second state continues preset time period, updating the time interval and state
State variable value corresponding with the first time section in corresponding relationship between magnitude, so that the state variable value indicates institute
State the second state;
The control module controls the headlamp and is in when the range hood operates in the first time section
It when second state, is also used to: according to the corresponding relationship between the time interval and state variable value, controlling the illumination
Lamp is in second state indicated by the corresponding state variable value in the first time section.
10. device according to claim 7, which is characterized in that the control module is also used to:
Before receiving user to the first power-on instruction step of range hood, if receiving unlatching of the user to the headlamp
Instruction, and the open state of the headlamp continues preset time period, then refers in reception user to the first booting of range hood
After enabling step, keep the headlamp in the open state.
11. device according to claim 10, which is characterized in that the range hood further include:
Second update module, if for detecting that the headlamp is in the open state, and the open state persistently preset when
Between section, then receive user to the first power-on instruction step of range hood after, control in time interval and state variable value
Between corresponding relationship in, time interval where the receiving time of first power-on instruction is corresponding to be used to indicate unlatching illumination
The state variable value of lamp.
12. a kind of range hood, which is characterized in that the headlamp control including the described in any item range hoods of claim 7-11
Device processed.
13. a kind of range hood characterized by comprising processor, memory, communication interface;
The memory is for storing computer executed instructions, when range hood operation, described in the processor execution
The computer executed instructions of memory storage, so that the range hood is executed as described in any one of claim 1-6
Range hood method for controlling illuminating lamp.
14. a kind of computer storage medium, which is characterized in that including computer instruction, when the computer instruction is in fume-exhausting
When being run on machine, so that the range hood executes the headlamp control such as range hood of any of claims 1-6
Method processed.
15. a kind of computer program product, which is characterized in that when the computer program product is run on computers, make
Obtain the method for controlling illuminating lamp that the computer executes such as range hood of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710744500.XA CN107339729B (en) | 2017-08-25 | 2017-08-25 | A kind of method for controlling illuminating lamp and device of range hood |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710744500.XA CN107339729B (en) | 2017-08-25 | 2017-08-25 | A kind of method for controlling illuminating lamp and device of range hood |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107339729A CN107339729A (en) | 2017-11-10 |
CN107339729B true CN107339729B (en) | 2019-03-15 |
Family
ID=60215885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710744500.XA Active CN107339729B (en) | 2017-08-25 | 2017-08-25 | A kind of method for controlling illuminating lamp and device of range hood |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107339729B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111246635A (en) * | 2018-11-27 | 2020-06-05 | 无锡飞翎电子有限公司 | Control method and device for lamp in household appliance |
CN112228925B (en) * | 2020-09-04 | 2022-01-25 | 宁波方太厨具有限公司 | Side-draft range hood |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202231903U (en) * | 2011-08-17 | 2012-05-23 | 广东奥特龙电器制造有限公司 | Intelligent kitchen ventilator light fixture switching device |
CN102478270A (en) * | 2010-11-30 | 2012-05-30 | 博西华电器(江苏)有限公司 | Range hood and illuminating lamp control device and method thereof, smoke stove linkage device and stove |
CN106500152A (en) * | 2016-11-07 | 2017-03-15 | 九阳股份有限公司 | A kind of control method of cigarette machine light |
CN106900123A (en) * | 2017-02-16 | 2017-06-27 | 上海斐讯数据通信技术有限公司 | A kind of method of intelligent lighting, Cloud Server and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8564222B2 (en) * | 2011-08-09 | 2013-10-22 | Shenzhen Tention Optoectronic Co., Ltd. | Lighting device controlling circuit module |
-
2017
- 2017-08-25 CN CN201710744500.XA patent/CN107339729B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102478270A (en) * | 2010-11-30 | 2012-05-30 | 博西华电器(江苏)有限公司 | Range hood and illuminating lamp control device and method thereof, smoke stove linkage device and stove |
CN202231903U (en) * | 2011-08-17 | 2012-05-23 | 广东奥特龙电器制造有限公司 | Intelligent kitchen ventilator light fixture switching device |
CN106500152A (en) * | 2016-11-07 | 2017-03-15 | 九阳股份有限公司 | A kind of control method of cigarette machine light |
CN106900123A (en) * | 2017-02-16 | 2017-06-27 | 上海斐讯数据通信技术有限公司 | A kind of method of intelligent lighting, Cloud Server and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107339729A (en) | 2017-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107339729B (en) | A kind of method for controlling illuminating lamp and device of range hood | |
CN101594251B (en) | Digital home network system and scene mode configuration method thereof | |
CN104235922B (en) | The control method of intelligent cooker hood | |
CN105228313B (en) | Lighting control method and related equipment | |
CN110220228A (en) | Cruising and pressurizing method for range hood and range hood | |
CN203489332U (en) | Range hood with air exchange function | |
CN105650705B (en) | Singly-bound controls smoke exhaust ventilator and its control method | |
CN103206645A (en) | Energy-saving desk lamp with eye health protection function | |
CN103673495A (en) | Refrigerating illumination device and method | |
JP2011124665A (en) | Remote control device and equipment system | |
CN204165106U (en) | Smoke exhaust ventilator | |
CN107371310A (en) | The method for controlling illuminating lamp and device of a kind of range hood | |
TW200835882A (en) | Power control device | |
CN110107930B (en) | Range hood control method and range hood | |
CN109556099A (en) | Sleep assistant device and household appliance | |
CN206044139U (en) | A kind of Art Design sample display device | |
CN104320893A (en) | Lighting control system of toilet | |
CN102927776B (en) | Refrigerator and control method of refrigerator control device | |
JPS63150530A (en) | Exhaust device for range | |
CN115789852A (en) | Control method of air conditioner and air conditioner | |
CN205568601U (en) | Environmental protection incence burner that prevents dust | |
CN206131237U (en) | Ceiling type removes new lantern of haze | |
CN205807693U (en) | Clean taste electrical installation for Integral ceiling | |
CN205641063U (en) | Take smoke ventilator of accurate timing | |
CN109373405A (en) | Headlamp drive 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |