CN105517280B - A kind of method and apparatus being illuminated - Google Patents
A kind of method and apparatus being illuminated Download PDFInfo
- Publication number
- CN105517280B CN105517280B CN201510859987.7A CN201510859987A CN105517280B CN 105517280 B CN105517280 B CN 105517280B CN 201510859987 A CN201510859987 A CN 201510859987A CN 105517280 B CN105517280 B CN 105517280B
- Authority
- CN
- China
- Prior art keywords
- trigger action
- information
- action information
- light illumination
- illumination mode
- 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
-
- 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
- H05B47/16—Controlling the light source by timing means
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The disclosure is directed to a kind of method and apparatus being illuminated, belong to field of computer technology.Methods described includes:Receive the trigger action information of user's input;If in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that in the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, the first light illumination mode corresponding to the first trigger action information is obtained;Based on first light illumination mode, illuminace component is opened.Using the disclosure, the efficiency of illumination can be improved.
Description
Technical field
The disclosure is directed to field of computer technology, especially with respect to a kind of method and apparatus being illuminated.
Background technology
With the development of terminal technology, the application of terminal is more and more extensive, and function is stronger and stronger, and intelligent appliance is in people
Use in daily life is also more and more common.Intelligent appliance can include intelligent television, intelligent refrigerator and intelligent lamp etc..Its
In, intelligent lamp is one of intelligent appliance that people commonly use.
Switch can be provided with intelligent lamp, the switch can be physical button switch or touching switch.User
Can be by the switch on intelligent lamp, to be turned on and off intelligent lamp.After user triggers the switch of intelligent lamp, intelligent lamp can be according to
The light illumination mode of acquiescence lights illuminace component.
During the disclosure is realized, inventor has found problems with least be present:
After user triggers the switch of intelligent lamp, intelligent lamp can light illuminace component according to the light illumination mode of acquiescence, and user
Under various circumstances, it may be desirable to use different light illumination modes, at this moment user needs first to set the light illumination mode of intelligent lamp, then
It could be used, it is less efficient so as to cause to be illuminated.
The content of the invention
In order to overcome problem present in correlation technique, present disclose provides a kind of method and apparatus being illuminated.Institute
It is as follows to state technical scheme:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method being illuminated, methods described include:
Receive the trigger action information of user's input;
If in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that being grasped in the presence of the first triggering
Make information and the trigger action information match of user input, then in the corresponding relation, obtain first triggering
First light illumination mode corresponding to operation information;
Based on first light illumination mode, illuminace component is opened.
Optionally, methods described also includes:
Obtain current temporal information;
If described in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that being touched in the presence of first
Operation information and the trigger action information match of user input are sent out, then in the corresponding relation, obtains described first
First light illumination mode corresponding to trigger action information, including:
If in the corresponding relation of the trigger action information, time range information and the light illumination mode that prestore, it is determined that
In the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain
Take the first illumination mould corresponding to the first trigger action information and very first time scope belonging to the current temporal information
Formula.
So, the first light illumination mode can be obtained according to the current time, so that the light illumination mode obtained more meets use
The demand at family.
Optionally, methods described also includes:
Obtain current ambient lighting information;
If described in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that being touched in the presence of first
Operation information and the trigger action information match of user input are sent out, then in the corresponding relation, obtains described first
First light illumination mode corresponding to trigger action information, including:
If in the corresponding relation of the trigger action information, ambient lighting information and the light illumination mode that prestore, it is determined that
In the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain
Take the first light illumination mode corresponding to the first trigger action information and the current ambient lighting information.
So, the first light illumination mode can be obtained according to current ambient lighting information, so that the light illumination mode obtained
More meet the demand of user.
Optionally, it is described to be based on first light illumination mode, illuminace component is opened, including:
Based on first light illumination mode, the lighting parameter of illuminace component is configured, opens the illuminace component.
Optionally, the lighting parameter includes one or more in luminance parameter, color temperature parameters and color parameter.
Optionally, the trigger action information includes button triggering information and touched one or more in triggering information.
Optionally, the triggering information that touches includes touch track information and touched one or more in duration information.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device being illuminated, described device include:
Receiving module, for receiving the trigger action information of user's input;
First acquisition module, if in the trigger action information and the corresponding relation of light illumination mode prestored,
It is determined that in the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation
In, obtain the first light illumination mode corresponding to the first trigger action information;
Opening module, for based on first light illumination mode, opening illuminace component.
Optionally, described device also includes:
Second acquisition module, for obtaining current temporal information;
First acquisition module, is used for:
If in the corresponding relation of the trigger action information, time range information and the light illumination mode that prestore, it is determined that
In the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain
Take the first illumination mould corresponding to the first trigger action information and very first time scope belonging to the current temporal information
Formula.
Optionally, described device also includes:
3rd acquisition module, for obtaining current ambient lighting information;
First acquisition module, is used for:
If in the corresponding relation of the trigger action information, ambient lighting information and the light illumination mode that prestore, it is determined that
In the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain
Take the first light illumination mode corresponding to the first trigger action information and the current ambient lighting information.
Optionally, the opening module, is used for:
Based on first light illumination mode, the lighting parameter of illuminace component is configured, opens the illuminace component.
Optionally, the lighting parameter includes one or more in luminance parameter, color temperature parameters and color parameter.
Optionally, the trigger action information includes button triggering information and touched one or more in triggering information.
Optionally, the triggering information that touches includes touch track information and touched one or more in duration information.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device being illuminated, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Receive the trigger action information of user's input;
If in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that being grasped in the presence of the first triggering
Make information and the trigger action information match of user input, then in the corresponding relation, obtain first triggering
First light illumination mode corresponding to operation information;
Based on first light illumination mode, illuminace component is opened.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, the trigger action information of user's input is received, if in the trigger action letter prestored
In the corresponding relation of breath and light illumination mode, it is determined that the trigger action information phase inputted in the presence of the first trigger action information with user
Match somebody with somebody, then in corresponding relation, the first light illumination mode corresponding to the first trigger action information of acquisition, based on the first light illumination mode, open
Illuminace component is opened, so, the different trigger action information that can be inputted according to user, directly opens corresponding light illumination mode, from
And the efficiency of illumination can be improved.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of method being illuminated according to an exemplary embodiment;
Fig. 2 is a kind of application scenarios schematic diagram according to an exemplary embodiment;
Fig. 3 is a kind of application scenarios schematic diagram according to an exemplary embodiment;
Fig. 4 is a kind of application scenarios schematic diagram according to an exemplary embodiment;
Fig. 5 is a kind of application scenarios schematic diagram according to an exemplary embodiment;
Fig. 6 is a kind of flow chart of method being illuminated according to an exemplary embodiment;
Fig. 7 is a kind of schematic diagram of device being illuminated according to an exemplary embodiment;
Fig. 8 is a kind of schematic diagram of device being illuminated according to an exemplary embodiment;
Fig. 9 is a kind of schematic diagram of device being illuminated according to an exemplary embodiment;
Figure 10 is a kind of structural representation of intelligent lamp according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings
It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The exemplary embodiment of the disclosure one provides a kind of method being illuminated, and this method can be used in intelligent lamp,
Wherein, intelligent lamp can be the lighting apparatus for having input block.The intelligent lamp can include input block, processor and storage
Device.Wherein, input equipment can be contact panel or other input equipments.Contact panel can be used for collecting user
On or near it touch operation (such as user using any suitable object or annex such as finger, stylus in contact panel
The upper or operation near contact panel), contact panel can detect the touch orientation of user, and detect what touch operation was brought
Signal, trigger action information is obtained, and trigger action information can be sent to processor, furthermore it is possible to using resistance-type, electricity
The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel, and except contact panel, input unit can also include
Other input equipments, other input equipments can include but is not limited in physical keyboard and function key (such as switch key etc.) etc.
One or more;Processor can be used for judging in the corresponding relation of trigger action information and light illumination mode, if having
One trigger action information and the trigger action information match, if it is present it is corresponding to obtain the first trigger action information
The first light illumination mode, and be based on the first light illumination mode, open illuminace component;Memory can be used for storing trigger action information
With the corresponding relation of light illumination mode.In addition, the intelligent lamp can also include the parts such as sensor, bluetooth and power supply.
As shown in figure 1, the handling process of this method can be as follows:
In a step 101, the trigger action information of user's input is received.
In force, user can input trigger action information by the input block of intelligent lamp, and trigger action information can
It is one or more in information to be triggered including button triggering information and touch, for example, input block is physical button, Yong Huke
So that by pressing physical button, operation is controlled to intelligent lamp, after user presses physical button, the input block of intelligent lamp is then
It can detect that button triggers information, input block can be contact panel, and user can touch contact panel by finger, right
Intelligent lamp is controlled operation, and user can be according to some touch track in the enterprising line slip of contact panel, can also be by finger
Certain duration is stopped on contact panel, the input block of intelligent lamp can then detect touch triggering information, accordingly, touch
Touch track information can be included and touch one or more in duration information by touching triggering information.
In a step 102, if in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that depositing
In the first trigger action information and the trigger action information match of user's input, then in corresponding relation, the first triggering is obtained
First light illumination mode corresponding to operation information.
In force, the corresponding relation of trigger action information and light illumination mode can be prestored in intelligent lamp, for example, can
Using light illumination mode corresponding to the trigger action information for storing the pre-determined distance of upward sliding first as light illumination mode in the daytime, the illumination mould
In formula, brightness is higher, and colour temperature is relatively low, can also store and be illuminated corresponding to the trigger action information of the pre-determined distance of slide downward second
Pattern is night illumination pattern, and in the light illumination mode, brightness is moderate, and colour temperature is moderate.First pre-determined distance and the second pre-determined distance
Can be with equal, can also be unequal.
Intelligent lamp detect user input trigger action information after, can by the trigger action information detected with it is above-mentioned
Each trigger action information in corresponding relation is matched, such as, it can be determined that whether the touch track information of user is round
Shape track, and may determine that user glide direction whether be it is clockwise, if touch track information for circular trace, it is and sliding
Dynamic direction is clockwise, then intelligent lamp can obtain light illumination mode in the daytime, if as shown in Fig. 2 touch track information is circle
Track, and glide direction is counterclockwise, then intelligent lamp can obtain night illumination pattern, as shown in figure 3, otherwise, intelligent lamp can
So that without processing, or acquiescence light illumination mode can be obtained, acquiescence light illumination mode can be the default illumination mould of technical staff
Formula, for example, the brightness and colour temperature in acquiescence light illumination mode can be both configured to high value.Or user can also pass through thing
Reason button is controlled, for example, user presses physical button once, intelligent lamp can obtain light illumination mode in the daytime, such as Fig. 4 institutes
Show, if in preset duration, user is pressed to physical button twice, then intelligent lamp can obtain night illumination pattern, such as Fig. 5 institutes
Show.
Optionally, corresponding light illumination mode, accordingly, the processing procedure of step 102 can be obtained according to current time
Can be as follows:Obtain current temporal information;If in the trigger action information, time range information and illumination mould that prestore
In the corresponding relation of formula, it is determined that in the presence of the first trigger action information and the trigger action information match of user's input, then right
In should being related to, the first illumination corresponding to the very first time scope belonging to the first trigger action information of acquisition and current temporal information
Pattern.
In force, pair of trigger action information, time range information and light illumination mode can be prestored in intelligent lamp
It should be related to.For example, time range is 18:00~24:00, clockwise corresponding to the trigger action information of slip circular trace
Light illumination mode is night reading model, and in the light illumination mode, brightness is moderate, and colour temperature is moderate, counterclockwise slides circular trace
Trigger action information corresponding to light illumination mode be nighttime sleep pattern, in the light illumination mode, brightness is relatively low, and colour temperature is higher;When
Between scope be 6:00~12:00, light illumination mode corresponding to the trigger action information of circular trace is slided clockwise as in the daytime
Reading model, in the light illumination mode, brightness is higher, and colour temperature is moderate, counterclockwise slides the trigger action information of circular trace
Corresponding light illumination mode is general mode in the daytime, and in the light illumination mode, brightness is higher, and colour temperature is higher.
Intelligent lamp is also provided with clock unit, and intelligent lamp can determine current temporal information.When intelligent lamp receives
To after the trigger action information of user's input, it may be determined that time range belonging to the current temporal information of current time (i.e. the
One time range), the trigger action information that then can determine to detect is believed with each trigger action in above-mentioned corresponding relation
Breath is matched, it is determined that the first trigger action information with the trigger action information match, and then the first triggering can be obtained
First light illumination mode corresponding to very first time scope belonging to operation information and current temporal information.For example, current time is
19:00, intelligent lamp detect user input trigger action information, then may determine that user touch track information whether be
Circular trace, if it is, the direction of slip is may further determine that, if it is not, then can be without processing, if intelligence
The direction that lamp determines to slide is clockwise direction, then can obtain night reading model.
Optionally, corresponding light illumination mode, accordingly, step 102 can be obtained according to the light conditions of current environment
Processing procedure can be as follows:Obtain current ambient lighting information;If prestore trigger action information, environment shine
In the corresponding relation of bright information and light illumination mode, it is determined that in the presence of the first trigger action information and the trigger action information of user's input
Match, then in corresponding relation, obtain the first illumination corresponding to the first trigger action information and current ambient lighting information
Pattern.
In force, pair of trigger action information, ambient lighting information and light illumination mode can be prestored in intelligent lamp
It should be related to, wherein, ambient lighting information can be the intensity of illumination grade of intelligent lamp surrounding environment, and intensity of illumination higher grade,
It can represent that the intensity of illumination of current ambient environmental is stronger, conversely, intensity of illumination lower grade, current ambient environmental can be represented
Intensity of illumination it is weaker.For example, ambient lighting information can be 1 and 2, when ambient lighting information is 1, circle is slided clockwise
Light illumination mode corresponding to the trigger action information of shape track is night reading model, and in the light illumination mode, brightness is moderate, and colour temperature is fitted
In, counterclockwise slide the trigger action information of circular trace corresponding to light illumination mode be nighttime sleep pattern, the illumination mould
In formula, brightness is relatively low, and colour temperature is higher;When illumination information is 2, the trigger action information pair of circular trace is slided clockwise
The light illumination mode answered is reading model in the daytime, and in the light illumination mode, brightness is higher, and colour temperature is moderate, counterclockwise slides circular
Light illumination mode corresponding to the trigger action information of track is general mode in the daytime, and in the light illumination mode, brightness is higher, colour temperature compared with
It is high.
Intelligent lamp can be provided with intensity of illumination detection part, and intelligent lamp can detect intelligence by intensity of illumination detection part
The intensity of illumination of energy lamp surrounding environment, and then intensity of illumination grade corresponding to the intensity of illumination of determination current ambient environmental, are obtained
Ambient lighting information.After intelligent lamp receives the trigger action information of user's input, it may be determined that current ambient lighting letter
Breath, the trigger action information that then can determine to detect and each trigger action information progress in above-mentioned corresponding relation
Match somebody with somebody, it is determined that the first trigger action information with the trigger action information matches, and then can obtain the first trigger action information and
First light illumination mode corresponding to current ambient lighting information.For example, current environment illumination information is 1, intelligent lamp detects use
The trigger action information of family input, then whether the touch track information that may determine that user is circular trace, if it is, can
To further determine that the direction of slip, if it is not, then can be without processing, if the direction that intelligent lamp determines to slide is suitable
Clockwise, then it can obtain night reading model.
In step 103, based on the first light illumination mode, illuminace component is opened.
In force, after intelligent lamp gets the first light illumination mode, the first light illumination mode can be based on, opens Lighting Division
Part, so that illuminace component can show illuminating effect corresponding to the first light illumination mode.
Optionally, the first light illumination mode can be based on, the lighting parameter of illuminace component is configured, opens Lighting Division
Part.
In force, terminal can prestore the parameter value of lighting parameter corresponding to each light illumination mode, and lighting parameter can
With including one or more in luminance parameter, color temperature parameters and color parameter.For example, lighting parameter includes luminance parameter and color
Warm parameter, brightness corresponding to night reading model are 50, and colour temperature 3500, brightness corresponding to nighttime sleep pattern is 20, colour temperature
For 4500, brightness corresponding to reading model in the daytime is 75, colour temperature 3500, and brightness corresponding to general mode in the daytime is 75, colour temperature
For 4500.After intelligent lamp determines the first light illumination mode, it may be determined that the parameter value of each lighting parameter corresponding to the first lighting model,
Then illuminace component can be configured, be then turned on illuminace component according to the parameter value of each lighting parameter.
The present embodiment additionally provides a kind of method being illuminated, as shown in fig. 6, this method may comprise steps of:
In step 601, the trigger action information of user's input is received.
In force, user can touch contact panel by finger, be controlled operation to intelligent lamp, and user can be by
According to some touch track in the enterprising line slip of contact panel, finger can also be stopped to certain duration, intelligence on contact panel
The input block of energy lamp can then detect touch triggering information, and accordingly, touching triggering information can believe including touch track
It is one or more in breath and touch duration information.
In step 602, current temporal information is obtained, if in the trigger action information, the time range that prestore
In the corresponding relation of information and light illumination mode, it is determined that the trigger action information phase inputted in the presence of the first trigger action information with user
Matching, then in corresponding relation, the very first time scope pair belonging to the first trigger action information of acquisition and current temporal information
The first light illumination mode answered.
In force, pair of trigger action information, time range information and light illumination mode can be prestored in intelligent lamp
It should be related to.For example, time range is 18:00~24:00, clockwise corresponding to the trigger action information of slip circular trace
Light illumination mode is night reading model, and in the light illumination mode, brightness is moderate, and colour temperature is moderate, counterclockwise slides circular trace
Trigger action information corresponding to light illumination mode be nighttime sleep pattern, in the light illumination mode, brightness is relatively low, and colour temperature is higher;When
Between scope be 6:00~12:00, light illumination mode corresponding to the trigger action information of circular trace is slided clockwise as in the daytime
Reading model, in the light illumination mode, brightness is higher, and colour temperature is moderate, counterclockwise slides the trigger action information of circular trace
Corresponding light illumination mode is general mode in the daytime, and in the light illumination mode, brightness is higher, and colour temperature is higher.
Intelligent lamp can determine current temporal information, after intelligent lamp receives the trigger action information of user's input,
The very first time scope belonging to the current temporal information of current time can be determined, then can determine to grasp the triggering detected
Make information to be matched with each trigger action information in above-mentioned corresponding relation, so can obtain the first trigger action information and
First light illumination mode corresponding to very first time scope belonging to current temporal information.
In step 603, based on the first light illumination mode, the lighting parameter of illuminace component is configured, opens Lighting Division
Part.
In force, terminal can prestore the parameter value of lighting parameter corresponding to each light illumination mode, and lighting parameter can
With including one or more in luminance parameter, color temperature parameters and color parameter.For example, lighting parameter includes luminance parameter and color
Warm parameter, brightness corresponding to night reading model are 50, and colour temperature 3500, brightness corresponding to nighttime sleep pattern is 20, colour temperature
For 4500, brightness corresponding to reading model in the daytime is 75, colour temperature 3500, and brightness corresponding to general mode in the daytime is 75, colour temperature
For 4500.After intelligent lamp determines the first light illumination mode, it may be determined that the parameter value of each lighting parameter corresponding to the first lighting model,
Then illuminace component can be configured, be then turned on illuminace component according to the parameter value of each lighting parameter.
In the embodiment of the present disclosure, the trigger action information of user's input is received, if in the trigger action letter prestored
In the corresponding relation of breath and light illumination mode, it is determined that the trigger action information phase inputted in the presence of the first trigger action information with user
Match somebody with somebody, then in corresponding relation, the first light illumination mode corresponding to the first trigger action information of acquisition, based on the first light illumination mode, open
Illuminace component is opened, so, the different trigger action information that can be inputted according to user, directly opens corresponding light illumination mode, from
And the efficiency of illumination can be improved.
In the embodiment of the present disclosure, circular or square, triangle is not limited to for the touch track of user,
Or arbitrary user-defined irregular figure;When detecting the direction of touch track, it is also not limited to clockwise
Direction or counter clockwise direction, it can be set and triggered according to the combination in user-defined any direction or any number of directions
Operation, such as zigzag touch direction etc..
Disclosure further example embodiment, which provides, additionally provides a kind of device being illuminated, as shown in fig. 7, the dress
Put including:Receiving module 710, the first acquisition module 720 and opening module 730.
Receiving module 710, for receiving the trigger action information of user's input;
First acquisition module 720, if in the trigger action information and the corresponding relation of light illumination mode prestored
In, it is determined that in the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding pass
In system, the first light illumination mode corresponding to the first trigger action information is obtained;
Opening module 730, for based on first light illumination mode, opening illuminace component.
Optionally, as shown in figure 8, described device also includes:
Second acquisition module 740, for obtaining current temporal information;
First acquisition module 720, is used for:
If in the corresponding relation of the trigger action information, time range information and the light illumination mode that prestore, it is determined that
In the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain
Take the first illumination mould corresponding to the first trigger action information and very first time scope belonging to the current temporal information
Formula.
Optionally, as shown in figure 9, described device also includes:
3rd acquisition module 750, for obtaining current ambient lighting information;
First acquisition module 720, is used for:
If in the corresponding relation of the trigger action information, ambient lighting information and the light illumination mode that prestore, it is determined that
In the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain
Take the first light illumination mode corresponding to the first trigger action information and the current ambient lighting information.
Optionally, the opening module 730, is used for:
Based on first light illumination mode, the lighting parameter of illuminace component is configured, opens the illuminace component.
Optionally, the lighting parameter includes one or more in luminance parameter, color temperature parameters and color parameter.
Optionally, the trigger action information includes button triggering information and touched one or more in triggering information.
Optionally, the triggering information that touches includes touch track information and touched one or more in duration information.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the embodiment of the present disclosure, the trigger action information of user's input is received, if in the trigger action letter prestored
In the corresponding relation of breath and light illumination mode, it is determined that the trigger action information phase inputted in the presence of the first trigger action information with user
Match somebody with somebody, then in corresponding relation, the first light illumination mode corresponding to the first trigger action information of acquisition, based on the first light illumination mode, open
Illuminace component is opened, so, the different trigger action information that can be inputted according to user, directly opens corresponding light illumination mode, from
And the efficiency of illumination can be improved.
It should be noted that:The device being illuminated that above-described embodiment provides is when being illuminated, only with above-mentioned each work(
Can module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functions
Module is completed, i.e., the internal structure of equipment is divided into different functional modules, described above all or part of to complete
Function.In addition, the device being illuminated that above-described embodiment provides belongs to same design with the embodiment of the method being illuminated, its
Specific implementation process refers to embodiment of the method, repeats no more here.
The another exemplary embodiment of the disclosure shows a kind of structural representation of intelligent lamp.
Reference picture 10, intelligent lamp 800 can include following one or more assemblies:Processing component 802, memory 804, electricity
Source component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, with
And communication component 816.
Processing component 802 generally controls the integrated operation of intelligent lamp 800, is such as communicated with display, call, data,
The operation that camera operation and record operation are associated.Treatment element 802 can refer to including one or more processors 820 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in intelligent lamp 800.These data
Example includes the instruction of any application program or method for being operated on intelligent lamp 800, contact data, telephone directory number
According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they
Combination realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable
Programmable read only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, quick flashing
Memory, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of intelligent lamp 800.Electric power assembly 806 can include power management
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for audio output apparatus 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between the intelligent lamp 800 and user.
In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed
Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic
The border of work, but also detect the duration and pressure related to the touch or slide.In certain embodiments, it is more
Media component 808 includes a front camera and/or rear camera.When intelligent lamp 800 is in operator scheme, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive outside multi-medium data.Each preposition shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike
Wind (MIC), when audio output apparatus 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, wheat
Gram wind is configured as receiving external audio signal.The audio signal received can be further stored in memory 804 or warp
Sent by communication component 816.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for intelligent lamp 800 is commented
Estimate.For example, sensor cluster 814 can detect opening/closed mode of intelligent lamp 800, the relative positioning of component, such as institute
The display and keypad that component is intelligent lamp 800 are stated, sensor cluster 814 can also detect intelligent lamp 800 or intelligent lamp 800
The position of one component changes, the existence or non-existence that user contacts with intelligent lamp 800, the orientation of intelligent lamp 800 or acceleration/deceleration
With the temperature change of intelligent lamp 800.Sensor cluster 814 can include proximity transducer, be configured to no any
The presence of object nearby is detected during physical contact.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image
Sensor, for being used in imaging applications.In certain embodiments, the sensor cluster 814 can also include acceleration biography
Sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between intelligent lamp 800 and other equipment.Intelligence
Energy lamp 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.It is exemplary at one
In embodiment, communication component 816 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote short distance to lead to
Letter.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) can be based in NFC module
Technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, intelligent lamp 800 can be by one or more application specific integrated circuits (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of intelligent lamp 800.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of intelligent lamp
During execution so that intelligent lamp can hold the above method, and this method includes:
Receive the trigger action information of user's input;
If in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that being grasped in the presence of the first triggering
Make information and the trigger action information match of user input, then in the corresponding relation, obtain first triggering
First light illumination mode corresponding to operation information;
Based on first light illumination mode, illuminace component is opened.
Optionally, methods described also includes:
Obtain current temporal information;
If described in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that being touched in the presence of first
Operation information and the trigger action information match of user input are sent out, then in the corresponding relation, obtains described first
First light illumination mode corresponding to trigger action information, including:
If in the corresponding relation of the trigger action information, time range information and the light illumination mode that prestore, it is determined that
In the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain
Take the first illumination mould corresponding to the first trigger action information and very first time scope belonging to the current temporal information
Formula.
Optionally, methods described also includes:
Obtain current ambient lighting information;
If described in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that being touched in the presence of first
Operation information and the trigger action information match of user input are sent out, then in the corresponding relation, obtains described first
First light illumination mode corresponding to trigger action information, including:
If in the corresponding relation of the trigger action information, ambient lighting information and the light illumination mode that prestore, it is determined that
In the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain
Take the first light illumination mode corresponding to the first trigger action information and the current ambient lighting information.
Optionally, it is described to be based on first light illumination mode, illuminace component is opened, including:
Based on first light illumination mode, the lighting parameter of illuminace component is configured, opens the illuminace component.
Optionally, the lighting parameter includes one or more in luminance parameter, color temperature parameters and color parameter.
Optionally, the trigger action information includes button triggering information and touched one or more in triggering information.
Optionally, the triggering information that touches includes touch track information and touched one or more in duration information.
In the embodiment of the present disclosure, the trigger action information of user's input is received, if in the trigger action letter prestored
In the corresponding relation of breath and light illumination mode, it is determined that the trigger action information phase inputted in the presence of the first trigger action information with user
Match somebody with somebody, then in corresponding relation, the first light illumination mode corresponding to the first trigger action information of acquisition, based on the first light illumination mode, open
Illuminace component is opened, so, the different trigger action information that can be inputted according to user, directly opens corresponding light illumination mode, from
And the efficiency of illumination can be improved.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (13)
- A kind of 1. method being illuminated, it is characterised in that methods described includes:Receive the trigger action information of user's input;If in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that believing in the presence of the first trigger action Breath and the trigger action information match of user input, then in the corresponding relation, obtain first trigger action First light illumination mode corresponding to information;Based on first light illumination mode, illuminace component is opened;Wherein, it is if described in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that in the presence of first The trigger action information match of trigger action information and the user input, then in the corresponding relation, obtain described the First light illumination mode corresponding to one trigger action information, including:When the corresponding relation of the trigger action information and light illumination mode is trigger action information, time range information and illumination mould During the corresponding relation of formula, current temporal information is obtained;If in the corresponding relation of the trigger action information, time range information and the light illumination mode that prestore, it is determined that in the presence of First trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain institute State the first light illumination mode corresponding to the first trigger action information and very first time scope belonging to the current temporal information.
- 2. according to the method for claim 1, it is characterised in that if described in the trigger action information prestored and photograph In the corresponding relation of bright pattern, it is determined that the trigger action information phase inputted in the presence of the first trigger action information with the user Match somebody with somebody, then in the corresponding relation, obtain the first light illumination mode corresponding to the first trigger action information, including:When the corresponding relation of the trigger action information and light illumination mode is trigger action information, ambient lighting information and illumination mould During the corresponding relation of formula, current ambient lighting information is obtained;If in the corresponding relation of the trigger action information, ambient lighting information and the light illumination mode that prestore, it is determined that in the presence of First trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain institute State the first light illumination mode corresponding to the first trigger action information and the current ambient lighting information.
- 3. according to the method for claim 1, it is characterised in that it is described to be based on first light illumination mode, open Lighting Division Part, including:Based on first light illumination mode, the lighting parameter of illuminace component is configured, opens the illuminace component.
- 4. according to the method for claim 3, it is characterised in that the lighting parameter include luminance parameter, color temperature parameters and It is one or more in color parameter.
- 5. according to the method for claim 1, it is characterised in that the trigger action information includes button triggering information and touched Touch one or more in triggering information.
- 6. according to the method for claim 5, it is characterised in that the triggering information that touches includes touch track information and touched Touch one or more in duration information.
- 7. a kind of device being illuminated, it is characterised in that described device includes:Receiving module, for receiving the trigger action information of user's input;First acquisition module, if in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that In the presence of the first trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain Take the first light illumination mode corresponding to the first trigger action information;Opening module, for based on first light illumination mode, opening illuminace component;Wherein, first acquisition module, is additionally operable to:When the corresponding relation of the trigger action information and light illumination mode is trigger action information, time range information and illumination mould During the corresponding relation of formula, current temporal information is obtained;If in the corresponding relation of the trigger action information, time range information and the light illumination mode that prestore, it is determined that in the presence of First trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain institute State the first light illumination mode corresponding to the first trigger action information and very first time scope belonging to the current temporal information.
- 8. device according to claim 7, it is characterised in that first acquisition module, be additionally operable to:When the corresponding relation of the trigger action information and light illumination mode is trigger action information, ambient lighting information and illumination mould During the corresponding relation of formula, current ambient lighting information is obtained;If in the corresponding relation of the trigger action information, ambient lighting information and the light illumination mode that prestore, it is determined that in the presence of First trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain institute State the first light illumination mode corresponding to the first trigger action information and the current ambient lighting information.
- 9. device according to claim 7, it is characterised in that the opening module, be used for:Based on first light illumination mode, the lighting parameter of illuminace component is configured, opens the illuminace component.
- 10. device according to claim 9, it is characterised in that the lighting parameter include luminance parameter, color temperature parameters and It is one or more in color parameter.
- 11. device according to claim 7, it is characterised in that the trigger action information include button triggering information and Touch one or more in triggering information.
- 12. device according to claim 11, it is characterised in that it is described touch triggering information include touch track information and Touch one or more in duration information.
- A kind of 13. device being illuminated, it is characterised in that including:Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as:Receive the trigger action information of user's input;If in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that believing in the presence of the first trigger action Breath and the trigger action information match of user input, then in the corresponding relation, obtain first trigger action First light illumination mode corresponding to information;Based on first light illumination mode, illuminace component is opened;Wherein, it is if described in the trigger action information and the corresponding relation of light illumination mode prestored, it is determined that in the presence of first The trigger action information match of trigger action information and the user input, then in the corresponding relation, obtain described the First light illumination mode corresponding to one trigger action information, including:When the corresponding relation of the trigger action information and light illumination mode is trigger action information, time range information and illumination mould During the corresponding relation of formula, current temporal information is obtained;If in the corresponding relation of the trigger action information, time range information and the light illumination mode that prestore, it is determined that in the presence of First trigger action information and the trigger action information match of user input, then in the corresponding relation, obtain institute State the first light illumination mode corresponding to the first trigger action information and very first time scope belonging to the current temporal information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510859987.7A CN105517280B (en) | 2015-11-30 | 2015-11-30 | A kind of method and apparatus being illuminated |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510859987.7A CN105517280B (en) | 2015-11-30 | 2015-11-30 | A kind of method and apparatus being illuminated |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105517280A CN105517280A (en) | 2016-04-20 |
CN105517280B true CN105517280B (en) | 2018-03-06 |
Family
ID=55724804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510859987.7A Active CN105517280B (en) | 2015-11-30 | 2015-11-30 | A kind of method and apparatus being illuminated |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105517280B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106028527A (en) * | 2016-06-23 | 2016-10-12 | 重庆蓝岸通讯技术有限公司 | Intelligent voice control lamp |
CN106402682B (en) * | 2016-10-19 | 2020-04-03 | 浙江农林大学 | Multipurpose LED lamp with time characteristic |
CN106658926B (en) * | 2017-03-20 | 2019-06-28 | 北京小米移动软件有限公司 | Method for controlling lamp and device |
CN111966002B (en) * | 2020-08-31 | 2022-04-12 | Oppo广东移动通信有限公司 | Manipulation mode setting method and device, electronic equipment and readable storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104735878A (en) * | 2015-03-25 | 2015-06-24 | 欧普照明股份有限公司 | Wearable illumination lamp control device and illumination lamp control system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103428940A (en) * | 2012-05-22 | 2013-12-04 | 海洋王照明科技股份有限公司 | LED signal lamp and control circuit |
CN103775992B (en) * | 2012-10-17 | 2016-02-03 | 上海广茂达光艺科技股份有限公司 | Gauge tap |
CN103906304B (en) * | 2012-12-28 | 2016-08-03 | 陈家德 | There is the double mode night illumination managing device dynamically regulating delay function |
CN103162157A (en) * | 2013-02-28 | 2013-06-19 | 杭州鸿雁东贝光电科技有限公司 | Self-adapting ambient light illumination lamp |
TWI571172B (en) * | 2013-12-20 | 2017-02-11 | 凌通科技股份有限公司 | Integrated light emitting diode lamp and synchronization circuit and data transmission circuit thereof |
-
2015
- 2015-11-30 CN CN201510859987.7A patent/CN105517280B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104735878A (en) * | 2015-03-25 | 2015-06-24 | 欧普照明股份有限公司 | Wearable illumination lamp control device and illumination lamp control system |
Also Published As
Publication number | Publication date |
---|---|
CN105517280A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104023434B (en) | A kind of methods, devices and systems for opening intelligent lamp | |
CN104503691B (en) | Apparatus control method, device and intelligent terminal | |
CN104714414B (en) | The control method and device of smart home device, electronic equipment | |
CN104991789B (en) | Application program open method and device | |
CN105517277B (en) | Lighting apparatus control method and device | |
CN106325479B (en) | Touch-control response method and mobile terminal | |
CN103885588B (en) | Automatic switching method and device | |
CN104700816A (en) | Method and device for setting screen brightness | |
CN105162945A (en) | Method and device for displaying information | |
CN105072336A (en) | Control method, apparatus and device for adjusting photographing function | |
CN105517280B (en) | A kind of method and apparatus being illuminated | |
CN106550522A (en) | Illumination control method and device | |
CN105426741A (en) | Screen unlocking method, device and terminal | |
CN105376410B (en) | Alarm clock setting method and device | |
CN104125687B (en) | Control method and device of intelligent lamp system as well as mobile terminal and intelligent lamp | |
CN107193439A (en) | Illumination control method and device | |
CN105892618A (en) | Information display method and device and electronic device | |
CN105487786A (en) | Application icon management method and device | |
CN107529699A (en) | Control method of electronic device and device | |
CN105743749A (en) | Task reminding method, device and system | |
CN106371738A (en) | Mobile terminal and method and device for controlling screen brightness of mobile terminal | |
CN105390120B (en) | bright screen control method and device | |
CN106325575B (en) | Touch-control response method and device | |
CN105554407A (en) | Shooting control method and shooting control device | |
CN107566750A (en) | Control method, device and the storage medium of flash lamp |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100085 Beijing Haidian District Qinghe middle street 68 Huarun colorful shopping mall two phase 13 level. Patentee after: Xiaomi Technology Co.,Ltd. Patentee after: Qingdao Yilai Intelligent Technology Co.,Ltd. Address before: 100085 Beijing Haidian District Qinghe middle street 68 Huarun colorful shopping mall two phase 13 level. Patentee before: Xiaomi Technology Co.,Ltd. Patentee before: Qingdao Yeelink Information Technology Co.,Ltd. |