CN103763811A - Method, terminal and controller for dynamic light source change control - Google Patents
Method, terminal and controller for dynamic light source change control Download PDFInfo
- Publication number
- CN103763811A CN103763811A CN201310514453.1A CN201310514453A CN103763811A CN 103763811 A CN103763811 A CN 103763811A CN 201310514453 A CN201310514453 A CN 201310514453A CN 103763811 A CN103763811 A CN 103763811A
- Authority
- CN
- China
- Prior art keywords
- light source
- design sketch
- static design
- time period
- color
- 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.)
- Granted
Links
Images
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Illuminated Signs And Luminous Advertising (AREA)
Abstract
The invention discloses a method, terminal and controller for dynamic light source change control. The method comprises the following steps: drawing a static effect picture and displaying the static effect picture reflecting the change of the light source within one cycle; receiving a selection instruction and obtaining a serial number of the static effect picture corresponding to the selection instruction; and sending the serial number to a controller that can output a corresponding control instruction based on the serial number to control the light source change. According to the invention, the static effect picture is used to reflect the dynamic change situation of the light source and thus a visual and accurate light color change effect description mode is provided for the user, so that an expected control mode can be selected rapidly, accurately and conveniently to control the light source change.
Description
Technical field
The present invention relates to light source control technical field, specially refer to method, terminal and controller that light source dynamic change is controlled.
Background technology
At present, in a lot of occasions, all can use the light source technologies such as LED, neon light, by the dynamic change of light source colour, the variation effect of realizing multiple lamp light effect or Showing Picture.The change color of light source adopts controller to control, and normally according to the text description of light source colour situation of change, realizes the control that light source is changed at present.For example, the dynamic change effect of red light source, for lighting 2 seconds, is extinguished 2 seconds, then continues to light 2 seconds, extinguishes 2 seconds, and so circulation, is used existing text description mode conventionally to adopt textual representation below: " red saltus step " or " red light on and off ".But the mode of this text description is not directly perceived, also inaccurate, when controlling, cannot determine fast and accurately the light variation effect needing.
Summary of the invention
Method, terminal and the controller of main purpose of the present invention for providing a kind of light source dynamic change to control, can intuitive and accurate prompting light coloring variation effect, so that fast, accurately control light source, changes.
The present invention proposes a kind of method that light source dynamic change is controlled, and comprises step:
Draw static design sketch, and show described static design sketch, the variation of described static design sketch reflection light source in one-period;
Receive selection instruction, obtain the numbering of static design sketch corresponding to described selection instruction;
Described numbering is sent to controller, for described controller, according to described numbering, exports corresponding control command and control described light source variation.
Preferably, described static design sketch is usingd time shaft as abscissa, a block in corresponding described static design sketch of each time period, and the color of each block and brightness reflect color and the brightness of described light source within the described time period.
Preferably, the step of the static design sketch of described drafting specifically comprises:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, corresponding described light source of each time period is at color and the luminance component of this time period;
Described static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that described time shaft is divided;
Color and luminance component according to described light source in each time period, color and the brightness of drawing the corresponding block of described static design sketch.
Preferably, the abscissa length Si=(Ti * S of i block in described static design sketch)/T, wherein, the duration that Ti is i time period, the duration that T is one-period, the abscissa total length that S is described static design sketch.
The present invention also proposes a kind of method that light source dynamic change is controlled, and comprises step:
Draw static design sketch, and show described static design sketch, the variation of described static design sketch reflection light source in one-period;
Receive selection instruction, obtain the numbering of static design sketch corresponding to described selection instruction;
According to described numbering, export corresponding control command and control described light source variation.
Preferably, the step of the static design sketch of described drafting specifically comprises:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, corresponding described light source of each time period is at color and the luminance component of this time period;
Described static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that described time shaft is divided;
Color and luminance component according to described light source in each time period, color and the brightness of drawing the corresponding block of described static design sketch.
The present invention also proposes the terminal that a kind of light source dynamic change is controlled, and comprising:
Terminal drafting module, for drawing static design sketch, the variation of described static design sketch reflection light source in one-period;
Terminal display module, for showing described static design sketch;
Terminal typing module, for receiving selection instruction, obtains the numbering of static design sketch corresponding to described selection instruction;
Terminal sending module, for described numbering is sent to controller, exports corresponding control command for described controller according to described numbering and controls described light source variation.
Preferably, described terminal drafting module specifically for:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, corresponding described light source of each time period is at color and the luminance component of this time period;
Described static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that described time shaft is divided;
Color and luminance component according to described light source in each time period, color and the brightness of drawing the corresponding block of described static design sketch.
The present invention also proposes the controller that a kind of light source dynamic change is controlled, and comprising:
Controller drafting module, for drawing static design sketch, the variation of described static design sketch reflection light source in one-period;
Controller display module, for showing described static design sketch;
Controller typing module, for receiving selection instruction, obtains the numbering of static design sketch corresponding to described selection instruction;
Controller control module, controls described light source variation for export corresponding control command according to described numbering.
Preferably, described controller drafting module specifically for:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, corresponding described light source of each time period is at color and the luminance component of this time period;
Described static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that described time shaft is divided;
Color and luminance component according to described light source in each time period, color and the brightness of drawing the corresponding block of described static design sketch.
The present invention adopts static design sketch reflection light source dynamic change situation, for user provides more intuitive and accurate light coloring variation effect describing mode, so that select fast and accurately the control mode of expectation to control light source, changes.
Accompanying drawing explanation
Fig. 1 is the flow chart of the first embodiment of the method controlled of light source dynamic change of the present invention;
Fig. 2 is the flow chart of steps of drawing static design sketch in the first embodiment of the method controlled of light source dynamic change of the present invention;
Fig. 3 is the flow chart of the second embodiment of the method controlled of light source dynamic change of the present invention;
Fig. 4 is the flow chart of steps of drawing static design sketch in the second embodiment of the method controlled of light source dynamic change of the present invention;
Fig. 5 is the structural representation of the embodiment of the terminal controlled of light source dynamic change of the present invention;
Fig. 6 is the structural representation of the embodiment of the controller controlled of light source dynamic change of the present invention;
Fig. 7 is the static design sketch of first embodiment of the invention;
Fig. 8 is the static design sketch of second embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the flow chart of the first embodiment of the method controlled of light source dynamic change of the present invention.The method that the light source dynamic change that the present embodiment is mentioned is controlled, usings terminal as executive agent, comprises step:
Step S110, draws static design sketch;
Step S120, shows static design sketch;
The hardware environment of the present embodiment is intelligent terminal, can comprise that mobile phone, pad, desktop computer, notebook or other possess the terminal equipment of Presentation Function and interactive function.Terminal is according to preset light source dynamic change demand, and drafting can reflect the static design sketch of light source situation of change, and is presented on the screen of terminal.Static design sketch is usingd time shaft as abscissa, a block in corresponding static design sketch of each time period, the color of each block and color and the brightness of brightness reflection light source within the time period.Static design sketch reflects the variation of light source in one-period conventionally, to avoid repeating drafting.If light source transformation period is not very long, also can draw out the complete static design sketch of whole transformation period.The red light source that the one-period of take is 4 seconds is example, the situation of change of red light source for light 2 seconds, extinguish 2 seconds, static design sketch can be divided on abscissa to two blocks, it within every two seconds, is a block, first block is red, and second block is black, can be in the lump with reference to Fig. 7.User, according to static design sketch, can find out the dynamic change effect of light source intuitively.
Step S130, receives selection instruction, obtains the numbering of static design sketch corresponding to selection instruction;
When variation that user determines to adopt a certain effect to control light source, can click the static design sketch showing on screen, or click the selection control that static design sketch is corresponding, triggering selection instruction.
Step S140, is sent to controller by numbering, controls light source change for controller according to control command corresponding to numbering output.
Terminal, according to user's selection, finds the numbering of the static design sketch of choosing, and this numbering is sent to controller.Between terminal and controller, can be connected by wireless or wired mode, such as wifi network, infrared, bluetooth, Mobile data, radiofrequency signal etc.Controller finds corresponding control command according to this numbering, and sends this control command to light source driver module, controls changing pattern turn colors and brightness that light source is chosen according to user, realizes the dynamic change effect of expection.
The present embodiment adopts static design sketch reflection light source dynamic change situation, for user provides more intuitive and accurate light coloring variation effect describing mode, so that select fast and accurately the control mode of expectation to control light source, changes.
As shown in Figure 2, Fig. 2 is the flow chart of steps of drawing static design sketch in the first embodiment of the method controlled of light source dynamic change of the present invention.It is basis that the present embodiment be take embodiment illustrated in fig. 1, and step S110 specifically comprises:
Step S111, in one-period, according to the variation 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 color and the luminance component of this time period;
Conventionally light source can, according to default rule circulation change, for avoiding repeating to draw, can only be drawn the variation effect of one-period.For the light source of acyclic variation, using complete variation as one-period, i.e. the light source of acyclic variation thinks to only have one-period.The duration of supposing one-period is T, according to the variation of the color of default light source and brightness, one-period is divided into n time period, the duration of each time period be respectively T1, T2, T3 ..., Tn, T1+T2+T3+ ... + Tn=T.A corresponding light source component of each, whole T is just corresponding one-period inner light source is at color and the luminance component variation characteristic of each time period time period.Various colors all can obtain by the combination of RGB three primary light source, therefore, only need the situation of change of default RGB three-color light source.N at one-period T changed in the period, and 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 time period), Fgi(t), Fbi(t);
……
The duration Tn:Frn(t of n time period), Fgn(t), Fbn(t).
Wherein, Fri(t) represent the component characteristic function of i period red light source, Fgi(t) represent the component characteristic function of i period green light source, Fbi(t) represent the component characteristic function of i period blue-light source.
Step S112, is divided into n block by static design sketch along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that time shaft is divided;
The realization of static design sketch need to be described the change color of sequential out on static images.The present embodiment be take static design sketch cross directional variations as example description, and longitudinal situation of change of static design sketch can be analogized.The abscissa total length of supposing static design sketch is S, according to time shaft division proportion, by the abscissa of static design sketch be divided into n block S1, S2, S3 ..., Sn, S1+S2+S3+ ... + Sn=S, corresponded to n block of static design sketch the n of a light source dynamic change time period, the abscissa length Si=(Ti * S of i block in static design sketch)/T.
Step S113, color and luminance component according to light source in each time period, color and the brightness of drawing the corresponding block of static design sketch.
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 design sketch abscissa length, can obtain the corresponding relation between three primary colors color component and static design sketch abscissa length, adopt following characteristics function representation:
The 1st block length S1:Fr1(s), Fg1(s), Fb1(s);
The 2nd block length S2:Fr2(s), Fg2(s), Fb2(s);
……
I block length Si:Fri(s), Fgi(s), Fbi(s);
……
N block length Sn:Frn(s), Fgn(s), Fbn(s).
Wherein, Fri represents i block red component characteristic function, and Fgi represents i block green component characteristic function, and Fbi represents i block blue component characteristic function.
By above-mentioned function, change, can draw out strictly accurate, clear understandable static design sketch, reflect light source dynamic change effect.The red light source that the one-period of take is 10 seconds is example, the situation of change of red light source is from extinguishing state linearity, to increase red brightness in first 5 seconds, during by the 5th second, red brightness is maximum, within latter 5 seconds, reduce gradually red brightness, during by the 10th second, redness is extinguished, can be in the lump with reference to Fig. 8, static design sketch is divided into 10 blocks on abscissa, it within every 1 second, 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, from two ends block to middle block, there is the process of a gradual change, user is according to static design sketch, can find out intuitively the effect of light source dynamic change accurately, be convenient to fast, select accurately the control mode of expectation to control light source variation.
As shown in Figure 3, Fig. 3 is the flow chart of the second embodiment of the method controlled of light source dynamic change of the present invention.The method that a kind of light source dynamic change that the present embodiment is mentioned is controlled, usings controller as executive agent, comprises step:
Step S210, draws static design sketch;
Step S220, shows static design sketch;
The present embodiment and difference embodiment illustrated in fig. 1 be, the hardware environment of the present embodiment is controller, and controller is according to preset light source dynamic change demand, and drafting can reflect the static design sketch of light source situation of change, and is presented on the screen of controller.Static design sketch is usingd time shaft as abscissa, a block in corresponding static design sketch of each time period, the color of each block and color and the brightness of brightness reflection light source within the time period.Static design sketch reflects the variation of light source in one-period conventionally, to avoid repeating drafting.If light source transformation period is not very long, also can draw out the complete static design sketch of whole transformation period.The red light source that the one-period of take is 4 seconds is example, the situation of change of red light source for light 2 seconds, extinguish 2 seconds, static design sketch can be divided on abscissa to two blocks, it within every two seconds, is a block, first block is red, and second block is black, can be in the lump with reference to Fig. 7.User, according to static design sketch, can find out the dynamic change effect of light source intuitively.
Step S230, receives selection instruction, obtains the numbering of static design sketch corresponding to selection instruction;
When variation that user determines to adopt a certain effect to control light source, can click the static design sketch showing on screen, or click the selection control that static design sketch is corresponding, triggering selection instruction.
Step S240, controls light source according to control command corresponding to numbering output and changes.
Controller is according to user's selection, find the numbering of the static design sketch of choosing, and find corresponding control command according to this numbering, send this control command to light source driver module, control changing pattern turn colors and brightness that light source is chosen according to user, realize the dynamic change effect of expection.
The present embodiment adopts static design sketch reflection light source dynamic change situation, for user provides more intuitive and accurate light coloring variation effect describing mode, so that select fast and accurately the control mode of expectation to control light source, changes.
As shown in Figure 4, Fig. 4 is the flow chart of steps of drawing static design sketch in the second embodiment of the method controlled of light source dynamic change of the present invention.It is basis that the present embodiment be take embodiment illustrated in fig. 3, and step S210 specifically comprises:
Step S211, in one-period, according to the variation 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 color and the luminance component of this time period;
Conventionally light source can, according to default rule circulation change, for avoiding repeating to draw, can only be drawn the variation effect of one-period.For the light source of acyclic variation, using complete variation as one-period, i.e. the light source of acyclic variation thinks to only have one-period.The duration of supposing one-period is T, according to the variation of the color of default light source and brightness, one-period is divided into n time period, the duration of each time period be respectively T1, T2, T3 ..., Tn, T1+T2+T3+ ... + Tn=T.A corresponding light source component of each, whole T is just corresponding one-period inner light source is at color and the luminance component variation characteristic of each time period time period.Various colors all can obtain by the combination of RGB three primary light source, therefore, only need the situation of change of default RGB three-color light source.N at one-period T changed in the period, and 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 time period), Fgi(t), Fbi(t);
……
The duration Tn:Frn(t of n time period), Fgn(t), Fbn(t).
Wherein, Fri(t) represent the component characteristic function of i period red light source, Fgi(t) represent the component characteristic function of i period green light source, Fbi(t) represent the component characteristic function of i period blue-light source.
Step S212, is divided into n block by static design sketch along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that time shaft is divided;
The realization of static design sketch need to be described the change color of sequential out on static images.The present embodiment be take static design sketch cross directional variations as example description, and longitudinal situation of change of static design sketch can be analogized.The abscissa total length of supposing static design sketch is S, according to time shaft division proportion, by the abscissa of static design sketch be divided into n block S1, S2, S3 ..., Sn, S1+S2+S3+ ... + Sn=S, corresponded to n block of static design sketch the n of a light source dynamic change time period, the abscissa length Si=(Ti * S of i block in static design sketch)/T.
Step S213, color and luminance component according to light source in each time period, color and the brightness of drawing the corresponding block of static design sketch.
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 design sketch abscissa length, can obtain the corresponding relation between three primary colors color component and static design sketch abscissa length, adopt following characteristics function representation:
The 1st block length S1:Fr1(s), Fg1(s), Fb1(s);
The 2nd block length S2:Fr2(s), Fg2(s), Fb2(s);
……
I block length Si:Fri(s), Fgi(s), Fbi(s);
……
N block length Sn:Frn(s), Fgn(s), Fbn(s).
Wherein, Fri represents i block red component characteristic function, and Fgi represents i block green component characteristic function, and Fbi represents i block blue component characteristic function.
By above-mentioned function, change, can draw out strictly accurate, clear understandable static design sketch, reflect light source dynamic change effect.The red light source that the one-period of take is 10 seconds is example, the situation of change of red light source is from extinguishing state linearity, to increase red brightness in first 5 seconds, during by the 5th second, red brightness is maximum, within latter 5 seconds, reduce gradually red brightness, during by the 10th second, redness is extinguished, can be in the lump with reference to Fig. 8, static design sketch is divided into 10 blocks on abscissa, it within every 1 second, 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, from two ends block to middle block, there is the process of a gradual change, user is according to static design sketch, can find out intuitively the effect of light source dynamic change accurately, be convenient to fast, select accurately the control mode of expectation to control light source variation.
As shown in Figure 5, Fig. 5 is the structural representation of the embodiment of the terminal controlled of light source dynamic change of the present invention.The terminal 10 that the light source dynamic change that the present embodiment is mentioned is controlled, comprising:
Terminal sending module 14, for numbering is sent to controller, controls light source for controller according to control command corresponding to numbering output and changes.
The hardware environment of the present embodiment is intelligent terminal 10, can comprise that mobile phone, pad, desktop computer, notebook or other possess terminal 10 equipment of Presentation Function and interactive function.Terminal 10 is according to preset light source dynamic change demand, and drafting can reflect the static design sketch of light source situation of change, and is presented on the screen of terminal 10.Static design sketch is usingd time shaft as abscissa, a block in corresponding static design sketch of each time period, the color of each block and color and the brightness of brightness reflection light source within the time period.Static design sketch reflects the variation of light source in one-period conventionally, to avoid repeating drafting.If light source transformation period is not very long, also can draw out the complete static design sketch of whole transformation period.The red light source that the one-period of take is 4 seconds is example, the situation of change of red light source for light 2 seconds, extinguish 2 seconds, static design sketch can be divided on abscissa to two blocks, it within every two seconds, is a block, first block is red, and second block is black, can be in the lump with reference to Fig. 7.User, according to static design sketch, can find out the dynamic change effect of light source intuitively.
When variation that user determines to adopt a certain effect to control light source, can click the static design sketch showing on screen, or click the selection control that static design sketch is corresponding, triggering selection instruction.Terminal 10, according to user's selection, finds the numbering of the static design sketch of choosing, and this numbering is sent to controller.Between terminal 10 and controller, can be connected by wireless or wired mode, such as wifi network, infrared, bluetooth, Mobile data, radiofrequency signal etc.Controller finds corresponding control command according to this numbering, and sends this control command to light source driver module, controls changing pattern turn colors and brightness that light source is chosen according to user, realizes the dynamic change effect of expection.
The present embodiment adopts static design sketch reflection light source dynamic change situation, for user provides more intuitive and accurate light coloring variation effect, so that select fast and accurately the control mode of expectation to control light source, changes.
Further, terminal drafting module 11 specifically for:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, each time period corresponding light source is at color and the luminance component of this time period;
Static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that time shaft is divided;
Color and luminance component according to light source in each time period, color and the brightness of drawing the corresponding block of static design sketch.
Conventionally light source can, according to default rule circulation change, for avoiding repeating to draw, can only be drawn the variation effect of one-period.For the light source of acyclic variation, using complete variation as one-period, i.e. the light source of acyclic variation thinks to only have one-period.The duration of supposing one-period is T, according to the variation of the color of default light source and brightness, one-period is divided into n time period, the duration of each time period be respectively T1, T2, T3 ..., Tn, T1+T2+T3+ ... + Tn=T.A corresponding light source component of each, whole T is just corresponding one-period inner light source is at color and the luminance component variation characteristic of each time period time period.Various colors all can obtain by the combination of RGB three primary light source, therefore, only need the situation of change of default RGB three-color light source.N at one-period T changed in the period, and 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 time period), Fgi(t), Fbi(t);
……
The duration Tn:Frn(t of n time period), Fgn(t), Fbn(t).
Wherein, Fri(t) represent the component characteristic function of i period red light source, Fgi(t) represent the component characteristic function of i period green light source, Fbi(t) represent the component characteristic function of i period blue-light source.
The realization of static design sketch need to be described the change color of sequential out on static images.The present embodiment be take static design sketch cross directional variations as example description, and longitudinal situation of change of static design sketch can be analogized.The abscissa total length of supposing static design sketch is S, according to time shaft division proportion, by the abscissa of static design sketch be divided into n block S1, S2, S3 ..., Sn, S1+S2+S3+ ... + Sn=S, corresponded to n block of static design sketch the n of a light source dynamic change time period, the abscissa length Si=(Ti * S of i block in static design sketch)/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 design sketch abscissa length, can obtain the corresponding relation between three primary colors color component and static design sketch abscissa length, adopt following characteristics function representation:
The 1st block length S1:Fr1(s), Fg1(s), Fb1(s);
The 2nd block length S2:Fr2(s), Fg2(s), Fb2(s);
……
I block length Si:Fri(s), Fgi(s), Fbi(s);
……
N block length Sn:Frn(s), Fgn(s), Fbn(s).
Wherein, Fri represents i block red component characteristic function, and Fgi represents i block green component characteristic function, and Fbi represents i block blue component characteristic function.
By above-mentioned function, change, can draw out strictly accurate, clear understandable static design sketch, reflect light source dynamic change effect.The red light source that the one-period of take is 10 seconds is example, the situation of change of red light source is from extinguishing state linearity, to increase red brightness in first 5 seconds, during by the 5th second, red brightness is maximum, within latter 5 seconds, reduce gradually red brightness, during by the 10th second, redness is extinguished, can be in the lump with reference to Fig. 8, static design sketch is divided into 10 blocks on abscissa, it within every 1 second, 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, from two ends block to middle block, there is the process of a gradual change, user is according to static design sketch, can find out intuitively the effect of light source dynamic change accurately, be convenient to fast, select accurately the control mode of expectation to control light source variation.
As shown in Figure 6, Fig. 6 is the structural representation of the embodiment of the controller controlled of light source dynamic change of the present invention.The controller 20 that the light source dynamic change that the present embodiment is mentioned is controlled, comprising:
The present embodiment and difference embodiment illustrated in fig. 5 are, the hardware environment of the present embodiment is controller 20, controller 20 is according to preset light source dynamic change demand, and drafting can reflect the static design sketch of light source situation of change, and is presented on the screen of controller 20.Static design sketch is usingd time shaft as abscissa, a block in corresponding static design sketch of each time period, the color of each block and color and the brightness of brightness reflection light source within the time period.Static design sketch reflects the variation of light source in one-period conventionally, to avoid repeating drafting.If light source transformation period is not very long, also can draw out the complete static design sketch of whole transformation period.The red light source that the one-period of take is 4 seconds is example, the situation of change of red light source for light 2 seconds, extinguish 2 seconds, static design sketch can be divided on abscissa to two blocks, it within every two seconds, is a block, first block is red, and second block is black, can be in the lump with reference to Fig. 7.User, according to static design sketch, can find out the dynamic change effect of light source intuitively.
When variation that user determines to adopt a certain effect to control light source, can click the static design sketch showing on screen, or click the selection control that static design sketch is corresponding, triggering selection instruction.Controller 20 is according to user's selection, find the numbering of the static design sketch of choosing, and find corresponding control command according to this numbering, send this control command to light source driver module, control changing pattern turn colors and brightness that light source is chosen according to user, realize the dynamic change effect of expection.
The present embodiment adopts static design sketch reflection light source dynamic change situation, for user provides more intuitive and accurate light coloring variation effect, so that select fast and accurately the control mode of expectation to control light source, changes.
Further, controller drafting module 21 specifically for:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, each time period corresponding light source is at color and the luminance component of this time period;
Static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that time shaft is divided;
Color and luminance component according to light source in each time period, color and the brightness of drawing the corresponding block of static design sketch.
Conventionally light source can, according to default rule circulation change, for avoiding repeating to draw, can only be drawn the variation effect of one-period.For the light source of acyclic variation, using complete variation as one-period, i.e. the light source of acyclic variation thinks to only have one-period.The duration of supposing one-period is T, according to the variation of the color of default light source and brightness, one-period is divided into n time period, the duration of each time period be respectively T1, T2, T3 ..., Tn, T1+T2+T3+ ... + Tn=T.A corresponding light source component of each, whole T is just corresponding one-period inner light source is at color and the luminance component variation characteristic of each time period time period.Various colors all can obtain by the combination of RGB three primary light source, therefore, only need the situation of change of default RGB three-color light source.N at one-period T changed in the period, and 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 time period), Fgi(t), Fbi(t);
……
The duration Tn:Frn(t of n time period), Fgn(t), Fbn(t).
Wherein, Fri(t) represent the component characteristic function of i period red light source, Fgi(t) represent the component characteristic function of i period green light source, Fbi(t) represent the component characteristic function of i period blue-light source.
The realization of static design sketch need to be described the change color of sequential out on static images.The present embodiment be take static design sketch cross directional variations as example description, and longitudinal situation of change of static design sketch can be analogized.The abscissa total length of supposing static design sketch is S, according to time shaft division proportion, by the abscissa of static design sketch be divided into n block S1, S2, S3 ..., Sn, S1+S2+S3+ ... + Sn=S, corresponded to n block of static design sketch the n of a light source dynamic change time period, the abscissa length Si=(Ti * S of i block in static design sketch)/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 design sketch abscissa length, can obtain the corresponding relation between three primary colors color component and static design sketch abscissa length, adopt following characteristics function representation:
The 1st block length S1:Fr1(s), Fg1(s), Fb1(s);
The 2nd block length S2:Fr2(s), Fg2(s), Fb2(s);
……
I block length Si:Fri(s), Fgi(s), Fbi(s);
……
N block length Sn:Frn(s), Fgn(s), Fbn(s).
Wherein, Fri represents i block red component characteristic function, and Fgi represents i block green component characteristic function, and Fbi represents i block blue component characteristic function.
By above-mentioned function, change, can draw out strictly accurate, clear understandable static design sketch, reflect light source dynamic change effect.The red light source that the one-period of take is 10 seconds is example, the situation of change of red light source is from extinguishing state linearity, to increase red brightness in first 5 seconds, during by the 5th second, red brightness is maximum, within latter 5 seconds, reduce gradually red brightness, during by the 10th second, redness is extinguished, can be in the lump with reference to Fig. 8, static design sketch is divided into 10 blocks on abscissa, it within every 1 second, 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, from two ends block to middle block, there is the process of a gradual change, user is according to static design sketch, can find out intuitively the effect of light source dynamic change accurately, be convenient to fast, select accurately the control mode of expectation to control light source variation.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. the method that light source dynamic change is controlled, is characterized in that, comprises step:
Draw static design sketch, and show described static design sketch, the variation of described static design sketch reflection light source in one-period;
Receive selection instruction, obtain the numbering of static design sketch corresponding to described selection instruction;
Described numbering is sent to controller, for described controller, according to described numbering, exports corresponding control command and control described light source variation.
2. the method that light source dynamic change according to claim 1 is controlled, it is characterized in that, described static design sketch is usingd time shaft as abscissa, a block in corresponding described static design sketch of each time period, the color of each block and brightness reflect color and the brightness of described light source within the described time period.
3. the method that light source dynamic change according to claim 1 is controlled, is characterized in that, the step of the static design sketch of described drafting specifically comprises:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, corresponding described light source of each time period is at color and the luminance component of this time period;
Described static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that described time shaft is divided;
Color and luminance component according to described light source in each time period, color and the brightness of drawing the corresponding block of described static design sketch.
4. the method for controlling according to the light source dynamic change described in claim 2 or 3, it is characterized in that, the abscissa length Si=(Ti * S of i block in described static design sketch)/T, wherein, Ti is the duration of i time period, T is the duration of one-period, the abscissa total length that S is described static design sketch.
5. the method that light source dynamic change is controlled, is characterized in that, comprises step:
Draw static design sketch, and show described static design sketch, the variation of described static design sketch reflection light source in one-period;
Receive selection instruction, obtain the numbering of static design sketch corresponding to described selection instruction;
According to described numbering, export corresponding control command and control described light source variation.
6. the method that light source dynamic change according to claim 5 is controlled, is characterized in that, the step of the static design sketch of described drafting specifically comprises:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, corresponding described light source of each time period is at color and the luminance component of this time period;
Described static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that described time shaft is divided;
Color and luminance component according to described light source in each time period, color and the brightness of drawing the corresponding block of described static design sketch.
7. the terminal that light source dynamic change is controlled, is characterized in that, comprising:
Terminal drafting module, for drawing static design sketch, the variation of described static design sketch reflection light source in one-period;
Terminal display module, for showing described static design sketch;
Terminal typing module, for receiving selection instruction, obtains the numbering of static design sketch corresponding to described selection instruction;
Terminal sending module, for described numbering is sent to controller, exports corresponding control command for described controller according to described numbering and controls described light source variation.
8. the terminal that light source dynamic change according to claim 7 is controlled, is characterized in that, described terminal drafting module specifically for:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, corresponding described light source of each time period is at color and the luminance component of this time period;
Described static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that described time shaft is divided;
Color and luminance component according to described light source in each time period, color and the brightness of drawing the corresponding block of described static design sketch.
9. the controller that light source dynamic change is controlled, is characterized in that, comprising:
Controller drafting module, for drawing static design sketch, the variation of described static design sketch reflection light source in one-period;
Controller display module, for showing described static design sketch;
Controller typing module, for receiving selection instruction, obtains the numbering of static design sketch corresponding to described selection instruction;
Controller control module, controls described light source variation for export corresponding control command according to described numbering.
10. the controller that light source dynamic change according to claim 9 is controlled, is characterized in that, described controller drafting module specifically for:
In one-period, according to the variation of the color of light source and brightness, time shaft is divided into n time period, corresponding described light source of each time period is at color and the luminance component of this time period;
Described static design sketch is divided into n block along abscissa bearing of trend, and the ratio between each block is consistent with the ratio that described time shaft is divided;
Color and luminance component according to described light source in each time period, color and the brightness of drawing the corresponding block of described static design sketch.
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 true CN103763811A (en) | 2014-04-30 |
CN103763811B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718273A (en) * | 2016-04-01 | 2016-06-29 | 苏州工艺美术职业技术学院 | Lamplight based time information visualization expression system and lamplight dynamic change procedure |
CN107426891A (en) * | 2016-05-24 | 2017-12-01 | 创新科技有限公司 | For the devices and methods therefor for the light behavior for controlling multiple light elements |
CN107426858A (en) * | 2016-05-24 | 2017-12-01 | 创新科技有限公司 | For the devices and methods therefor for the light behavior for controlling multiple light elements |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050162584A1 (en) * | 2004-01-23 | 2005-07-28 | Hitachi Displays, Ltd. | Liquid crystal display device |
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 |
-
2013
- 2013-10-25 CN CN201310514453.1A patent/CN103763811B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050162584A1 (en) * | 2004-01-23 | 2005-07-28 | Hitachi Displays, Ltd. | Liquid crystal display device |
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 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718273A (en) * | 2016-04-01 | 2016-06-29 | 苏州工艺美术职业技术学院 | Lamplight based time information visualization expression system and lamplight dynamic change procedure |
CN105718273B (en) * | 2016-04-01 | 2023-01-31 | 苏州工艺美术职业技术学院 | Time information visualization expression system based on lamplight |
CN107426891A (en) * | 2016-05-24 | 2017-12-01 | 创新科技有限公司 | For the devices and methods therefor for the light behavior for controlling multiple light elements |
CN107426858A (en) * | 2016-05-24 | 2017-12-01 | 创新科技有限公司 | For the devices and methods therefor for the light behavior for controlling multiple light elements |
CN107426891B (en) * | 2016-05-24 | 2021-03-02 | 创新科技有限公司 | Device for controlling light behavior of a plurality of light elements and method thereof |
TWI724163B (en) * | 2016-05-24 | 2021-04-11 | 新加坡商創新科技有限公司 | An apparatus for controlling lighting behavior of a plurality of lighting elements and a method therefor |
Also Published As
Publication number | Publication date |
---|---|
CN103763811B (en) | 2016-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10206268B2 (en) | Interlaced data architecture for a software configurable luminaire | |
CN104717794B (en) | Wireless lighting control system | |
US9119240B2 (en) | Lighting control system | |
US9665952B2 (en) | Information processing method and electronic device | |
CN101930723B (en) | Apparatus and method for displaying screen according to intensity of brightness of ambient light | |
CN100492109C (en) | Methods and apparatus for setting the color point of an LED light source | |
CN203057588U (en) | Light source remote control | |
CN1538377B (en) | Color OLED display system | |
CN100592378C (en) | Control system and control method for display of display screen | |
CN107680556B (en) | A kind of display power-economizing method, device and display | |
CN108470548A (en) | A kind of liquid crystal display device and its control method, head-mounted display apparatus, medium | |
KR20080032898A (en) | Display device having the enlarged apparent size and methods for enlarging the apparent size of the display panel | |
EP2779800A2 (en) | Method for controlling lamps and computer program product thereof | |
CN103428966A (en) | Key backlight processing method and device and terminal device | |
TW201537551A (en) | Liquid crystal display device and display flickering method | |
CN104157261A (en) | Display mode adjusting method of display device and display mode adjusting module thereof | |
CN103763811B (en) | Light source dynamically changes the method for control, terminal and controller | |
CN103514845A (en) | Color sequence image system and method for double-color field | |
CN104219850A (en) | Light emitting equipment control method and device | |
JP7466657B2 (en) | Display device driving method, display device, and computer-readable storage medium | |
EP4376554A1 (en) | Lamp effect control method and apparatus, illumination device, electronic device, and storage medium | |
CN202887621U (en) | Air conditioner and light-emitting diode (LED) display screen | |
CN102595682A (en) | Vehicle-mounted equipment capable of setting colors of front panel LED (Light-Emitting Diode) backlight lamp by user | |
CN103687229A (en) | LED controller compatible with multifunctional remote controller | |
CN202190438U (en) | Vehicle apparatus enabling user to set color of front panel LED backlight 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |