CN103763811B - Light source dynamically changes the method for control, terminal and controller - Google Patents
Light source dynamically changes the method for control, terminal and controller Download PDFInfo
- Publication number
- CN103763811B CN103763811B CN201310514453.1A CN201310514453A CN103763811B CN 103763811 B CN103763811 B CN 103763811B CN 201310514453 A CN201310514453 A CN 201310514453A CN 103763811 B CN103763811 B CN 103763811B
- Authority
- CN
- China
- Prior art keywords
- light source
- static effects
- time period
- color
- block
- 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
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Illuminated Signs And Luminous Advertising (AREA)
Abstract
The invention discloses a kind of light source and dynamically change the method for control, terminal and controller, described light source dynamically changes the method for control and includes step: draw static effects figure, and showing described static effects figure, described static effects figure reflects light source change within a cycle;Receive and select instruction, obtain the numbering of static effects figure corresponding to described selection instruction;Described numbering is sent to controller, control the change of described light source for described controller according to the control instruction that described numbering output is corresponding.The present invention adopts static effects figure to reflect the dynamic situation of change of light source, provides the user more intuitive and accurate light coloring variation effect describing mode, in order to select desired control mode to control light source change fast and accurately.
Description
Technical field
The present invention relates to light source control technical field, be related specifically to light source and dynamically change the method for control, terminal and controller.
Background technology
At present, in a lot of occasions, all can use the light source technology such as LED, neon light, by the dynamic change of light source colour, it is achieved the variation effect of multiple lamp light effect or display picture.The color change of light source adopts controller to be controlled, and usually describes, according to the word of light source colour situation of change, the control realized light source change at present.Such as, the dynamic variation effect of red light source, for lighting 2 seconds, extinguishes 2 seconds, then proceedes to light 2 seconds, extinguishes 2 seconds, so circulates, and uses existing word describing mode generally to adopt following textual representation: " red saltus step " or " red light on and off ".But, the mode that this word describes is not directly perceived, inaccurate yet, cannot determine the light variation effect of needs fast and accurately when controlling.
Summary of the invention
The main purpose of the present invention dynamically changes the method for control, terminal and controller for providing a kind of light source, it is possible to intuitive and accurate prompting light coloring variation effect, in order to quickly, accurately control light source change.
The present invention proposes a kind of method that light source dynamically changes control, including step:
Drawing static effects figure, and show described static effects figure, described static effects figure reflects light source change within a cycle;
Receive and select instruction, obtain the numbering of static effects figure corresponding to described selection instruction;
Described numbering is sent to controller, control the change of described light source for described controller according to the control instruction that described numbering output is corresponding.
Preferably, described static effects figure is using time shaft as abscissa, and a block in corresponding described static effects figure of each time period, the color of each block and brightness reflect described light source color within the described time period and brightness.
Preferably, the step of described drafting static effects figure specifically includes:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, corresponding described light source of each time period is at the color of this time period and luminance component;
Along abscissa bearing of trend, described static effects figure is divided into n block, and the ratio that the ratio between each block divides with described time shaft is consistent;
According to the described light source color in each time period and luminance component, draw color and the brightness of the corresponding block of described static effects figure.
Preferably, the abscissa length Si=(Ti × S of i-th block in described static effects figure)/T, wherein, Ti is the duration of i-th time period, and T is the duration in a cycle, and S is the abscissa total length of described static effects figure.
The present invention also proposes a kind of method that light source dynamically changes control, including step:
Drawing static effects figure, and show described static effects figure, described static effects figure reflects light source change within a cycle;
Receive and select instruction, obtain the numbering of static effects figure corresponding to described selection instruction;
The change of described light source is controlled according to the control instruction that described numbering output is corresponding.
Preferably, the step of described drafting static effects figure specifically includes:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, corresponding described light source of each time period is at the color of this time period and luminance component;
Along abscissa bearing of trend, described static effects figure is divided into n block, and the ratio that the ratio between each block divides with described time shaft is consistent;
According to the described light source color in each time period and luminance component, draw color and the brightness of the corresponding block of described static effects figure.
The present invention also proposes a kind of light source and dynamically changes the terminal of control, including:
Terminal drafting module, is used for drawing static effects figure, and described static effects figure reflects light source change within a cycle;
Terminal demonstration module, is used for showing described static effects figure;
Terminal typing module, is used for receiving selection instruction, obtains the numbering of static effects figure corresponding to described selection instruction;
Terminal sending module, for described numbering being sent to controller, controls the change of described light source for described controller according to the control instruction that described numbering output is corresponding.
Preferably, described terminal drafting module specifically for:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, corresponding described light source of each time period is at the color of this time period and luminance component;
Along abscissa bearing of trend, described static effects figure is divided into n block, and the ratio that the ratio between each block divides with described time shaft is consistent;
According to the described light source color in each time period and luminance component, draw color and the brightness of the corresponding block of described static effects figure.
The present invention also proposes a kind of light source and dynamically changes the controller of control, including:
Controller drafting module, is used for drawing static effects figure, and described static effects figure reflects light source change within a cycle;
Controller display module, is used for showing described static effects figure;
Controller typing module, is used for receiving selection instruction, obtains the numbering of static effects figure corresponding to described selection instruction;
Controller controls module, controls the change of described light source for the control instruction corresponding according to described numbering output.
Preferably, described controller drafting module specifically for:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, corresponding described light source of each time period is at the color of this time period and luminance component;
Along abscissa bearing of trend, described static effects figure is divided into n block, and the ratio that the ratio between each block divides with described time shaft is consistent;
According to the described light source color in each time period and luminance component, draw color and the brightness of the corresponding block of described static effects figure.
The present invention adopts static effects figure to reflect the dynamic situation of change of light source, provides the user more intuitive and accurate light coloring variation effect describing mode, in order to select desired control mode to control light source change fast and accurately.
Accompanying drawing explanation
Fig. 1 is the flow chart that light source of the present invention dynamically changes the first embodiment of the method for control;
Fig. 2 is that light source of the present invention dynamically changes the flow chart of steps drawing static effects figure in the first embodiment of the method for control;
Fig. 3 is the flow chart that light source of the present invention dynamically changes the second embodiment of the method for control;
Fig. 4 is that light source of the present invention dynamically changes the flow chart of steps drawing static effects figure in the second embodiment of the method for control;
Fig. 5 is the structural representation that light source of the present invention dynamically changes the embodiment of the terminal of control;
Fig. 6 is the structural representation that light source of the present invention dynamically changes the embodiment of the controller of control;
Fig. 7 is the static effects figure of first embodiment of the invention;
Fig. 8 is the static effects figure of second embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
As it is shown in figure 1, Fig. 1 is the flow chart that light source of the present invention dynamically changes the first embodiment of the method for control.The light source that the present embodiment is mentioned dynamically changes the method for control, using terminal as executive agent, including step:
Step S110, draws static effects figure;
Step S120, shows static effects figure;
The hardware environment of the present embodiment is intelligent terminal, it may include mobile phone, pad, desktop computer, notebook or other possess the terminal unit of display function and interactive function.Terminal dynamically changes demand according to preset light source, draws the static effects figure that can reflect light source situation of change, and is shown on the screen of terminal.Static effects figure reflects light source color within the time period and brightness using time shaft as abscissa, a block in each time period correspondence static effects figure, the color of each block and brightness.Static effects figure generally reflects light source change within a cycle, to avoid repeating to draw.If light source transformation period is not as long, then can also draw out the complete static effects figure of whole transformation period.For the red light source that a cycle is 4 seconds, static effects figure for lighting 2 seconds, extinguishing 2 seconds, then can be divided into two blocks by the situation of change of red light source on the horizontal scale, it within every two seconds, it is a block, first block is red, and second block is black, can in the lump with reference to Fig. 7.User is according to static effects figure, it is possible to find out the dynamic variation effect of light source intuitively.
Step S130, receives and selects instruction, obtains the numbering of the static effects figure selecting instruction corresponding;
When user determines to adopt a certain effect to control the change of light source, the static effects figure of display on screen can be clicked, or click selection control corresponding to static effects figure, triggering selection instruction.
Step S140, sends numbering to controller, controls light source change for controller according to the control instruction that numbering output is corresponding.
The terminal selection according to user, finds the numbering of the static effects figure chosen, and this numbering is sent to controller.Can be connected by wirelessly or non-wirelessly mode between terminal with controller, for instance wifi network, infrared, bluetooth, mobile data, radiofrequency signal etc..Controller finds the control instruction of correspondence according to this numbering, and sends this control instruction to light source driver module, changing pattern turn colors that control light source is chosen according to user and brightness, it is achieved intended dynamic variation effect.
The present embodiment adopts static effects figure to reflect the dynamic situation of change of light source, provides the user more intuitive and accurate light coloring variation effect describing mode, in order to select desired control mode to control light source change fast and accurately.
The flow chart of steps drawing static effects figure in the first embodiment of the method for control is dynamically changed as in figure 2 it is shown, Fig. 2 is light source of the present invention.The present embodiment is based on embodiment illustrated in fig. 1, and step S110 specifically includes:
Step S111, within a cycle, according to the change of the color of light source and brightness, is divided into n time period by time shaft, and each time period corresponding light source is at the color of this time period and luminance component;
Usual light source can change according to default regular cycles, for avoiding repeating to draw, can only the variation effect in a cycle be drawn.For the light source of acyclic change, then using complete change as a cycle, namely the light source of acyclic change thinks the only one of which cycle.The duration assuming a cycle is T, according to the change of the color of default light source and brightness, is divided into n time period, the duration of each time period respectively T1, T2, T3 ..., Tn, T1+T2+T3+ ...+Tn=T a cycle.Each corresponding light source component, whole T is a just corresponding cycle inner light source is at the color of each time period and luminance component variation characteristic time period.Various colors all can pass through the combination of RGB three primary light source and obtain, and therefore, only need to preset the situation of change of RGB three-color light source.Within n the change period of a cycle T, three primary light source component and the corresponding relation between the time period can adopt following characteristics function representation:
The duration T1:Fr1(t of the 1st time period), Fg1(t), Fb1(t);
The duration T2:Fr2(t of the 2nd time period), Fg2(t), Fb2(t);
……
The duration Ti:Fri(t of i-th time period), Fgi(t), Fbi(t);
……
The duration Tn:Frn(t of the n-th time period), Fgn(t), Fbn(t).
Wherein, Fri(t) represent the component characterization function of the i-th period red light source, Fgi(t) represent the component characterization function of the i-th period green light source, Fbi(t) represent the component characterization function of the i-th period blue-light source.
Step S112, is divided into n block by static effects figure along abscissa bearing of trend, and the ratio that the ratio between each block divides with time shaft is consistent;
The realization of static effects figure needs to change the color of sequential to describe out on static images.The present embodiment describes for static effects figure cross directional variations, and the longitudinally varying situation of static effects figure can be analogized.The abscissa total length assuming static effects figure is S, according to time shaft division proportion, the abscissa of static effects figure is divided into n block S1, S2, S3 ..., Sn, S1+S2+S3+ ...+Sn=S, n the time period dynamically changed by light source corresponds to n the block of static effects figure, then the abscissa length Si=(Ti × S of i-th block in static effects figure)/T.
Step S113, according to the light source color in each time period and luminance component, draws color and the brightness of the corresponding block of static effects figure.
According to above-mentioned three primary light source component and the corresponding relation between the time period, and the corresponding relation of time period and static effects figure abscissa length, the corresponding relation between three primary colours color component and static effects figure abscissa length can be obtained, adopt following characteristics function representation:
1st block length S1:Fr1(s), Fg1(s), Fb1(s);
2nd block length S2:Fr2(s), Fg2(s), Fb2(s);
……
I-th block length Si:Fri(s), Fgi(s), Fbi(s);
……
N-th block length Sn:Frn(s), Fgn(s), Fbn(s).
Wherein, Fri represents the i-th block red component characteristic function, and Fgi represents the i-th block green component characteristic function, and Fbi represents the i-th block blue component characteristic function.
Changed by above-mentioned function, can draw out strict accurately, clearly understandable static effects figure, reflect the dynamic variation effect of light source.For the red light source that a cycle is 10 seconds, the situation of change of red light source be first 5 seconds from the linearly increasing red luma of OFF state, during by the 5th second, red luma is maximum, within latter 5 seconds, it is gradually reduced red luma, during by the 10th second, redness is extinguished, can in the lump with reference to Fig. 8, static effects figure is divided on the horizontal scale 10 blocks, it within every 1 second, it is a block, the color of two ends, left and right block is the darkest, for black, the color of middle block is the brightest, for shiny red, the process of a gradual change is had from two ends block to middle block, user is according to static effects figure, the dynamic variation effect of light source accurately can be found out intuitively, it is easy to quickly, select desired control mode to control light source change accurately.
The flow chart of the second embodiment of the method for control is dynamically changed as it is shown on figure 3, Fig. 3 is light source of the present invention.The method that a kind of light source that the present embodiment is mentioned dynamically changes control, using controller as executive agent, including step:
Step S210, draws static effects figure;
Step S220, shows static effects figure;
The present embodiment and embodiment illustrated in fig. 1 are distinctive in that, the hardware environment of the present embodiment is controller, and controller dynamically changes demand according to preset light source, draw the static effects figure that can reflect light source situation of change, and are shown on the screen of controller.Static effects figure reflects light source color within the time period and brightness using time shaft as abscissa, a block in each time period correspondence static effects figure, the color of each block and brightness.Static effects figure generally reflects light source change within a cycle, to avoid repeating to draw.If light source transformation period is not as long, then can also draw out the complete static effects figure of whole transformation period.For the red light source that a cycle is 4 seconds, static effects figure for lighting 2 seconds, extinguishing 2 seconds, then can be divided into two blocks by the situation of change of red light source on the horizontal scale, it within every two seconds, it is a block, first block is red, and second block is black, can in the lump with reference to Fig. 7.User is according to static effects figure, it is possible to find out the dynamic variation effect of light source intuitively.
Step S230, receives and selects instruction, obtains the numbering of the static effects figure selecting instruction corresponding;
When user determines to adopt a certain effect to control the change of light source, the static effects figure of display on screen can be clicked, or click selection control corresponding to static effects figure, triggering selection instruction.
Step S240, controls light source change according to the control instruction that numbering output is corresponding.
The controller selection according to user, find the numbering of the static effects figure chosen, and find the control instruction of correspondence according to this numbering, send this control instruction to light source driver module, control changing pattern turn colors and brightness that light source is chosen according to user, it is achieved intended dynamic variation effect.
The present embodiment adopts static effects figure to reflect the dynamic situation of change of light source, provides the user more intuitive and accurate light coloring variation effect describing mode, in order to select desired control mode to control light source change fast and accurately.
As shown in Figure 4, Fig. 4 is that light source of the present invention dynamically changes the flow chart of steps drawing static effects figure in the second embodiment of the method for control.The present embodiment is based on embodiment illustrated in fig. 3, and step S210 specifically includes:
Step S211, within a cycle, according to the change of the color of light source and brightness, is divided into n time period by time shaft, and each time period corresponding light source is at the color of this time period and luminance component;
Usual light source can change according to default regular cycles, for avoiding repeating to draw, can only the variation effect in a cycle be drawn.For the light source of acyclic change, then using complete change as a cycle, namely the light source of acyclic change thinks the only one of which cycle.The duration assuming a cycle is T, according to the change of the color of default light source and brightness, is divided into n time period, the duration of each time period respectively T1, T2, T3 ..., Tn, T1+T2+T3+ ...+Tn=T a cycle.Each corresponding light source component, whole T is a just corresponding cycle inner light source is at the color of each time period and luminance component variation characteristic time period.Various colors all can pass through the combination of RGB three primary light source and obtain, and therefore, only need to preset the situation of change of RGB three-color light source.Within n the change period of a cycle T, three primary light source component and the corresponding relation between the time period can adopt following characteristics function representation:
The duration T1:Fr1(t of the 1st time period), Fg1(t), Fb1(t);
The duration T2:Fr2(t of the 2nd time period), Fg2(t), Fb2(t);
……
The duration Ti:Fri(t of i-th time period), Fgi(t), Fbi(t);
……
The duration Tn:Frn(t of the n-th time period), Fgn(t), Fbn(t).
Wherein, Fri(t) represent the component characterization function of the i-th period red light source, Fgi(t) represent the component characterization function of the i-th period green light source, Fbi(t) represent the component characterization function of the i-th period blue-light source.
Step S212, is divided into n block by static effects figure along abscissa bearing of trend, and the ratio that the ratio between each block divides with time shaft is consistent;
The realization of static effects figure needs to change the color of sequential to describe out on static images.The present embodiment describes for static effects figure cross directional variations, and the longitudinally varying situation of static effects figure can be analogized.The abscissa total length assuming static effects figure is S, according to time shaft division proportion, the abscissa of static effects figure is divided into n block S1, S2, S3 ..., Sn, S1+S2+S3+ ...+Sn=S, n the time period dynamically changed by light source corresponds to n the block of static effects figure, then the abscissa length Si=(Ti × S of i-th block in static effects figure)/T.
Step S213, according to the light source color in each time period and luminance component, draws color and the brightness of the corresponding block of static effects figure.
According to above-mentioned three primary light source component and the corresponding relation between the time period, and the corresponding relation of time period and static effects figure abscissa length, the corresponding relation between three primary colours color component and static effects figure abscissa length can be obtained, adopt following characteristics function representation:
1st block length S1:Fr1(s), Fg1(s), Fb1(s);
2nd block length S2:Fr2(s), Fg2(s), Fb2(s);
……
I-th block length Si:Fri(s), Fgi(s), Fbi(s);
……
N-th block length Sn:Frn(s), Fgn(s), Fbn(s).
Wherein, Fri represents the i-th block red component characteristic function, and Fgi represents the i-th block green component characteristic function, and Fbi represents the i-th block blue component characteristic function.
Changed by above-mentioned function, can draw out strict accurately, clearly understandable static effects figure, reflect the dynamic variation effect of light source.For the red light source that a cycle is 10 seconds, the situation of change of red light source be first 5 seconds from the linearly increasing red luma of OFF state, during by the 5th second, red luma is maximum, within latter 5 seconds, it is gradually reduced red luma, during by the 10th second, redness is extinguished, can in the lump with reference to Fig. 8, static effects figure is divided on the horizontal scale 10 blocks, it within every 1 second, it is a block, the color of two ends, left and right block is the darkest, for black, the color of middle block is the brightest, for shiny red, the process of a gradual change is had from two ends block to middle block, user is according to static effects figure, the dynamic variation effect of light source accurately can be found out intuitively, it is easy to quickly, select desired control mode to control light source change accurately.
As it is shown in figure 5, Fig. 5 is the structural representation that light source of the present invention dynamically changes the embodiment of the terminal of control.The light source that the present embodiment is mentioned dynamically changes the terminal 10 of control, including:
Terminal drafting module 11, is used for drawing static effects figure, static effects figure and reflects light source change within a cycle;
Terminal demonstration module 12, is used for showing static effects figure;
Terminal typing module 13, is used for receiving selection instruction, obtains the numbering of the static effects figure selecting instruction corresponding;
Terminal sending module 14, for numbering being sent to controller, controls light source change for controller according to the control instruction that numbering output is corresponding.
The hardware environment of the present embodiment is intelligent terminal 10, it may include mobile phone, pad, desktop computer, notebook or other possess terminal 10 equipment of display function and interactive function.Terminal 10 dynamically changes demand according to preset light source, draws the static effects figure that can reflect light source situation of change, and is shown on the screen of terminal 10.Static effects figure reflects light source color within the time period and brightness using time shaft as abscissa, a block in each time period correspondence static effects figure, the color of each block and brightness.Static effects figure generally reflects light source change within a cycle, to avoid repeating to draw.If light source transformation period is not as long, then can also draw out the complete static effects figure of whole transformation period.For the red light source that a cycle is 4 seconds, static effects figure for lighting 2 seconds, extinguishing 2 seconds, then can be divided into two blocks by the situation of change of red light source on the horizontal scale, it within every two seconds, it is a block, first block is red, and second block is black, can in the lump with reference to Fig. 7.User is according to static effects figure, it is possible to find out the dynamic variation effect of light source intuitively.
When user determines to adopt a certain effect to control the change of light source, the static effects figure of display on screen can be clicked, or click selection control corresponding to static effects figure, triggering selection instruction.The terminal 10 selection according to user, finds the numbering of the static effects figure chosen, and this numbering is sent to controller.Can be connected by wirelessly or non-wirelessly mode between terminal 10 and controller, for instance wifi network, infrared, bluetooth, mobile data, radiofrequency signal etc..Controller finds the control instruction of correspondence according to this numbering, and sends this control instruction to light source driver module, changing pattern turn colors that control light source is chosen according to user and brightness, it is achieved intended dynamic variation effect.
The present embodiment adopts static effects figure to reflect the dynamic situation of change of light source, provides the user more intuitive and accurate light coloring variation effect, in order to select desired control mode to control light source change fast and accurately.
Further, terminal drafting module 11 specifically for:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, each time period corresponding light source is at the color of this time period and luminance component;
Along abscissa bearing of trend, static effects figure is divided into n block, and the ratio that the ratio between each block divides with time shaft is consistent;
According to the light source color in each time period and luminance component, draw color and the brightness of the corresponding block of static effects figure.
Usual light source can change according to default regular cycles, for avoiding repeating to draw, can only the variation effect in a cycle be drawn.For the light source of acyclic change, then using complete change as a cycle, namely the light source of acyclic change thinks the only one of which cycle.The duration assuming a cycle is T, according to the change of the color of default light source and brightness, is divided into n time period, the duration of each time period respectively T1, T2, T3 ..., Tn, T1+T2+T3+ ...+Tn=T a cycle.Each corresponding light source component, whole T is a just corresponding cycle inner light source is at the color of each time period and luminance component variation characteristic time period.Various colors all can pass through the combination of RGB three primary light source and obtain, and therefore, only need to preset the situation of change of RGB three-color light source.Within n the change period of a cycle T, three primary light source component and the corresponding relation between the time period can adopt following characteristics function representation:
The duration T1:Fr1(t of the 1st time period), Fg1(t), Fb1(t);
The duration T2:Fr2(t of the 2nd time period), Fg2(t), Fb2(t);
……
The duration Ti:Fri(t of i-th time period), Fgi(t), Fbi(t);
……
The duration Tn:Frn(t of the n-th time period), Fgn(t), Fbn(t).
Wherein, Fri(t) represent the component characterization function of the i-th period red light source, Fgi(t) represent the component characterization function of the i-th period green light source, Fbi(t) represent the component characterization function of the i-th period blue-light source.
The realization of static effects figure needs to change the color of sequential to describe out on static images.The present embodiment describes for static effects figure cross directional variations, and the longitudinally varying situation of static effects figure can be analogized.The abscissa total length assuming static effects figure is S, according to time shaft division proportion, the abscissa of static effects figure is divided into n block S1, S2, S3 ..., Sn, S1+S2+S3+ ...+Sn=S, n the time period dynamically changed by light source corresponds to n the block of static effects figure, then the abscissa length Si=(Ti × S of i-th block in static effects figure)/T.
According to above-mentioned three primary light source component and the corresponding relation between the time period, and the corresponding relation of time period and static effects figure abscissa length, the corresponding relation between three primary colours color component and static effects figure abscissa length can be obtained, adopt following characteristics function representation:
1st block length S1:Fr1(s), Fg1(s), Fb1(s);
2nd block length S2:Fr2(s), Fg2(s), Fb2(s);
……
I-th block length Si:Fri(s), Fgi(s), Fbi(s);
……
N-th block length Sn:Frn(s), Fgn(s), Fbn(s).
Wherein, Fri represents the i-th block red component characteristic function, and Fgi represents the i-th block green component characteristic function, and Fbi represents the i-th block blue component characteristic function.
Changed by above-mentioned function, can draw out strict accurately, clearly understandable static effects figure, reflect the dynamic variation effect of light source.For the red light source that a cycle is 10 seconds, the situation of change of red light source be first 5 seconds from the linearly increasing red luma of OFF state, during by the 5th second, red luma is maximum, within latter 5 seconds, it is gradually reduced red luma, during by the 10th second, redness is extinguished, can in the lump with reference to Fig. 8, static effects figure is divided on the horizontal scale 10 blocks, it within every 1 second, it is a block, the color of two ends, left and right block is the darkest, for black, the color of middle block is the brightest, for shiny red, the process of a gradual change is had from two ends block to middle block, user is according to static effects figure, the dynamic variation effect of light source accurately can be found out intuitively, it is easy to quickly, select desired control mode to control light source change accurately.
As shown in Figure 6, Fig. 6 is the structural representation that light source of the present invention dynamically changes the embodiment of the controller of control.The light source that the present embodiment is mentioned dynamically changes the controller 20 of control, including:
Controller drafting module 21, is used for drawing static effects figure, static effects figure and reflects light source change within a cycle;
Controller display module 22, is used for showing static effects figure;
Controller typing module 23, is used for receiving selection instruction, obtains the numbering of the static effects figure selecting instruction corresponding;
Controller controls module 24, controls light source change for the control instruction corresponding according to numbering output.
The present embodiment and embodiment illustrated in fig. 5 are distinctive in that, the hardware environment of the present embodiment is controller 20, controller 20 dynamically changes demand according to preset light source, draws the static effects figure that can reflect light source situation of change, and is shown on the screen of controller 20.Static effects figure reflects light source color within the time period and brightness using time shaft as abscissa, a block in each time period correspondence static effects figure, the color of each block and brightness.Static effects figure generally reflects light source change within a cycle, to avoid repeating to draw.If light source transformation period is not as long, then can also draw out the complete static effects figure of whole transformation period.For the red light source that a cycle is 4 seconds, static effects figure for lighting 2 seconds, extinguishing 2 seconds, then can be divided into two blocks by the situation of change of red light source on the horizontal scale, it within every two seconds, it is a block, first block is red, and second block is black, can in the lump with reference to Fig. 7.User is according to static effects figure, it is possible to find out the dynamic variation effect of light source intuitively.
When user determines to adopt a certain effect to control the change of light source, the static effects figure of display on screen can be clicked, or click selection control corresponding to static effects figure, triggering selection instruction.The controller 20 selection according to user, find the numbering of the static effects figure chosen, and the control instruction of correspondence is found according to this numbering, send this control instruction to light source driver module, control changing pattern turn colors and brightness that light source is chosen according to user, it is achieved intended dynamic variation effect.
The present embodiment adopts static effects figure to reflect the dynamic situation of change of light source, provides the user more intuitive and accurate light coloring variation effect, in order to select desired control mode to control light source change fast and accurately.
Further, controller drafting module 21 specifically for:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, each time period corresponding light source is at the color of this time period and luminance component;
Along abscissa bearing of trend, static effects figure is divided into n block, and the ratio that the ratio between each block divides with time shaft is consistent;
According to the light source color in each time period and luminance component, draw color and the brightness of the corresponding block of static effects figure.
Usual light source can change according to default regular cycles, for avoiding repeating to draw, can only the variation effect in a cycle be drawn.For the light source of acyclic change, then using complete change as a cycle, namely the light source of acyclic change thinks the only one of which cycle.The duration assuming a cycle is T, according to the change of the color of default light source and brightness, is divided into n time period, the duration of each time period respectively T1, T2, T3 ..., Tn, T1+T2+T3+ ...+Tn=T a cycle.Each corresponding light source component, whole T is a just corresponding cycle inner light source is at the color of each time period and luminance component variation characteristic time period.Various colors all can pass through the combination of RGB three primary light source and obtain, and therefore, only need to preset the situation of change of RGB three-color light source.Within n the change period of a cycle T, three primary light source component and the corresponding relation between the time period can adopt following characteristics function representation:
The duration T1:Fr1(t of the 1st time period), Fg1(t), Fb1(t);
The duration T2:Fr2(t of the 2nd time period), Fg2(t), Fb2(t);
……
The duration Ti:Fri(t of i-th time period), Fgi(t), Fbi(t);
……
The duration Tn:Frn(t of the n-th time period), Fgn(t), Fbn(t).
Wherein, Fri(t) represent the component characterization function of the i-th period red light source, Fgi(t) represent the component characterization function of the i-th period green light source, Fbi(t) represent the component characterization function of the i-th period blue-light source.
The realization of static effects figure needs to change the color of sequential to describe out on static images.The present embodiment describes for static effects figure cross directional variations, and the longitudinally varying situation of static effects figure can be analogized.The abscissa total length assuming static effects figure is S, according to time shaft division proportion, the abscissa of static effects figure is divided into n block S1, S2, S3 ..., Sn, S1+S2+S3+ ...+Sn=S, n the time period dynamically changed by light source corresponds to n the block of static effects figure, then the abscissa length Si=(Ti × S of i-th block in static effects figure)/T.
According to above-mentioned three primary light source component and the corresponding relation between the time period, and the corresponding relation of time period and static effects figure abscissa length, the corresponding relation between three primary colours color component and static effects figure abscissa length can be obtained, adopt following characteristics function representation:
1st block length S1:Fr1(s), Fg1(s), Fb1(s);
2nd block length S2:Fr2(s), Fg2(s), Fb2(s);
……
I-th block length Si:Fri(s), Fgi(s), Fbi(s);
……
N-th block length Sn:Frn(s), Fgn(s), Fbn(s).
Wherein, Fri represents the i-th block red component characteristic function, and Fgi represents the i-th block green component characteristic function, and Fbi represents the i-th block blue component characteristic function.
Changed by above-mentioned function, can draw out strict accurately, clearly understandable static effects figure, reflect the dynamic variation effect of light source.For the red light source that a cycle is 10 seconds, the situation of change of red light source be first 5 seconds from the linearly increasing red luma of OFF state, during by the 5th second, red luma is maximum, within latter 5 seconds, it is gradually reduced red luma, during by the 10th second, redness is extinguished, can in the lump with reference to Fig. 8, static effects figure is divided on the horizontal scale 10 blocks, it within every 1 second, it is a block, the color of two ends, left and right block is the darkest, for black, the color of middle block is the brightest, for shiny red, the process of a gradual change is had from two ends block to middle block, user is according to static effects figure, the dynamic variation effect of light source accurately can be found out intuitively, it is easy to quickly, select desired control mode to control light source change accurately.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.
Claims (6)
1. the method that a light source dynamically changes control, it is characterised in that include step:
Drawing static effects figure, and show described static effects figure, described static effects figure reflects light source change within a cycle;
Receive and select instruction, obtain the numbering of static effects figure corresponding to described selection instruction;
Described numbering is sent to controller, control light source change for described controller according to the control instruction that described numbering output is corresponding;
The step of described drafting static effects figure specifically includes:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, corresponding described light source of each time period is at the color of this time period and luminance component;
Along abscissa bearing of trend, described static effects figure is divided into n block, and the ratio that the ratio between each block divides with described time shaft is consistent;
According to the described light source color in each time period and luminance component, draw color and the brightness of the corresponding block of described static effects figure.
2. the method that light source according to claim 1 dynamically changes control, it is characterized in that, described static effects figure is using time shaft as abscissa, a block in corresponding described static effects figure of each time period, the color of each block and brightness reflect described light source color within the described time period and brightness.
3. the method that light source according to claim 1 and 2 dynamically changes control, it is characterized in that, abscissa length Si=(Ti × S)/T of i-th block in described static effects figure, wherein, Ti is the duration of i-th time period, T is the duration in a cycle, and S is the abscissa total length of described static effects figure.
4. the method that a light source dynamically changes control, it is characterised in that include step:
Drawing static effects figure, and show described static effects figure, described static effects figure reflects light source change within a cycle;
Receive and select instruction, obtain the numbering of static effects figure corresponding to described selection instruction;
Light source change is controlled according to the control instruction that described numbering output is corresponding;
The step of described drafting static effects figure specifically includes:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, corresponding described light source of each time period is at the color of this time period and luminance component;
Along abscissa bearing of trend, described static effects figure is divided into n block, and the ratio that the ratio between each block divides with described time shaft is consistent;
According to the described light source color in each time period and luminance component, draw color and the brightness of the corresponding block of described static effects figure.
5. a light source dynamically changes the terminal of control, it is characterised in that including:
Terminal drafting module, is used for drawing static effects figure, and described static effects figure reflects light source change within a cycle;
Terminal demonstration module, is used for showing described static effects figure;
Terminal typing module, is used for receiving selection instruction, obtains the numbering of static effects figure corresponding to described selection instruction;
Terminal sending module, for described numbering being sent to controller, controls light source change for described controller according to the control instruction that described numbering output is corresponding;
Described terminal drafting module specifically for:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, corresponding described light source of each time period is at the color of this time period and luminance component;
Along abscissa bearing of trend, described static effects figure is divided into n block, and the ratio that the ratio between each block divides with described time shaft is consistent;
According to the described light source color in each time period and luminance component, draw color and the brightness of the corresponding block of described static effects figure.
6. a light source dynamically changes the controller of control, it is characterised in that including:
Controller drafting module, is used for drawing static effects figure, and described static effects figure reflects light source change within a cycle;
Controller display module, is used for showing described static effects figure;
Controller typing module, is used for receiving selection instruction, obtains the numbering of static effects figure corresponding to described selection instruction;
Controller controls module, controls light source change for the control instruction corresponding according to described numbering output;
Described controller drafting module specifically for:
Within a cycle, according to the change of the color of light source and brightness, time shaft being divided into n time period, corresponding described light source of each time period is at the color of this time period and luminance component;
Along abscissa bearing of trend, described static effects figure is divided into n block, and the ratio that the ratio between each block divides with described time shaft is consistent;
According to the described light source color in each time period and luminance component, draw color and the brightness of the corresponding block of described static effects figure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310514453.1A CN103763811B (en) | 2013-10-25 | 2013-10-25 | Light source dynamically changes the method for control, terminal and controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310514453.1A CN103763811B (en) | 2013-10-25 | 2013-10-25 | Light source dynamically changes the method for control, terminal and controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103763811A CN103763811A (en) | 2014-04-30 |
CN103763811B true CN103763811B (en) | 2016-07-06 |
Family
ID=50530947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310514453.1A Active CN103763811B (en) | 2013-10-25 | 2013-10-25 | Light source dynamically changes the method for control, terminal and controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103763811B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SG10201604137QA (en) * | 2016-05-24 | 2017-12-28 | Creative Tech Ltd | An apparatus for controlling lighting behavior of a plurality of lighting elements and a method therefor |
CN105718273B (en) * | 2016-04-01 | 2023-01-31 | 苏州工艺美术职业技术学院 | Time information visualization expression system based on lamplight |
US10010806B2 (en) * | 2016-05-24 | 2018-07-03 | Creative Technology Ltd | Apparatus for controlling lighting behavior of a plurality of lighting elements and a method therefor |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2932069Y (en) * | 2006-06-15 | 2007-08-08 | 常州电子研究所有限公司 | Control device of pointolite light |
CN101384116A (en) * | 2007-09-04 | 2009-03-11 | 品生活有限公司 | Lamp light control method |
CN103051804A (en) * | 2012-12-28 | 2013-04-17 | 广东欧珀移动通信有限公司 | Intelligent photo taking method and system of mobile terminal |
CN103206662A (en) * | 2013-04-15 | 2013-07-17 | 浙江智慧照明技术有限公司 | Window scenery light-emitting device simulating natural lighting |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4082689B2 (en) * | 2004-01-23 | 2008-04-30 | 株式会社 日立ディスプレイズ | Liquid crystal display |
-
2013
- 2013-10-25 CN CN201310514453.1A patent/CN103763811B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2932069Y (en) * | 2006-06-15 | 2007-08-08 | 常州电子研究所有限公司 | Control device of pointolite light |
CN101384116A (en) * | 2007-09-04 | 2009-03-11 | 品生活有限公司 | Lamp light control method |
CN103051804A (en) * | 2012-12-28 | 2013-04-17 | 广东欧珀移动通信有限公司 | Intelligent photo taking method and system of mobile terminal |
CN103206662A (en) * | 2013-04-15 | 2013-07-17 | 浙江智慧照明技术有限公司 | Window scenery light-emitting device simulating natural lighting |
Also Published As
Publication number | Publication date |
---|---|
CN103763811A (en) | 2014-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10206268B2 (en) | Interlaced data architecture for a software configurable luminaire | |
US9119240B2 (en) | Lighting control system | |
US9665952B2 (en) | Information processing method and electronic device | |
KR101035786B1 (en) | Apparatus and method for displaying screen according to degree of strength of brightness of outside linght | |
CN101740005B (en) | Display control apparatus and display control method | |
CN107680556B (en) | A kind of display power-economizing method, device and display | |
TWI555001B (en) | Liquid crystal display device and display flickering method | |
EP3972237A1 (en) | Light compensation method for capturing picture, intelligent television and computer readable storage medium | |
WO2020103887A1 (en) | Backlight driving method and display device | |
CN103763811B (en) | Light source dynamically changes the method for control, terminal and controller | |
EP2779800A2 (en) | Method for controlling lamps and computer program product thereof | |
CN104157261A (en) | Display mode adjusting method of display device and display mode adjusting module thereof | |
CN104407795A (en) | Display control method and display control device | |
CN104219850A (en) | Light emitting equipment control method and device | |
CN101853633A (en) | Method for realizing breath light at mobile terminal and mobile terminal | |
CN108200475B (en) | Control method of breathing lamp, intelligent device and computer readable storage medium | |
EP4376554A1 (en) | Lamp effect control method and apparatus, illumination device, electronic device, and storage medium | |
CN103295560A (en) | Terminal device and display adjusting method thereof | |
CN103687229A (en) | LED controller compatible with multifunctional remote controller | |
CN202190438U (en) | Vehicle apparatus enabling user to set color of front panel LED backlight lamp | |
CN114783354B (en) | Color cast compensation method, architecture and medium | |
CN107578753B (en) | Mobile terminal, display screen brightness adjusting method and storage medium | |
CN101820551B (en) | Method, device and system for debugging liquid crystal display gamma | |
CN113539207B (en) | Display screen adjusting method, device and equipment | |
CN105190737A (en) | Spectral color reproduction using a high-dimension reflective display |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |