CN114489456B - Lighting system control method, lighting system control device, computer device, and readable storage medium - Google Patents

Lighting system control method, lighting system control device, computer device, and readable storage medium Download PDF

Info

Publication number
CN114489456B
CN114489456B CN202210005910.3A CN202210005910A CN114489456B CN 114489456 B CN114489456 B CN 114489456B CN 202210005910 A CN202210005910 A CN 202210005910A CN 114489456 B CN114489456 B CN 114489456B
Authority
CN
China
Prior art keywords
attribute value
target attribute
lighting system
target
lighting
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
Application number
CN202210005910.3A
Other languages
Chinese (zh)
Other versions
CN114489456A (en
Inventor
陈晨
丁菲菲
谢欣纯
毛慧婷
单长芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202210005910.3A priority Critical patent/CN114489456B/en
Publication of CN114489456A publication Critical patent/CN114489456A/en
Application granted granted Critical
Publication of CN114489456B publication Critical patent/CN114489456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present application relates to a lighting system control method, apparatus, computer device, and readable storage medium, the lighting system including a plurality of lighting devices; the lighting system control method comprises the following steps: acquiring a target attribute value interval of the lighting system; calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm; and respectively issuing a plurality of target attribute values to the lighting equipment so as to enable the lighting system to display a target scene. By the method and the device, the problem of complicated control of the lighting system of the plurality of lighting devices in the related art is solved.

Description

Lighting system control method, lighting system control device, computer device, and readable storage medium
Technical Field
The present disclosure relates to the field of lighting technologies, and in particular, to a lighting system control method, apparatus, computer device, and readable storage medium.
Background
The adjustment of the common intelligent lighting equipment in the market is realized through the interaction mode of a single sliding block and a sliding strip. The slider slides to a position on the slider bar to indicate the brightness, color temperature, color light properties currently required by the lighting device, thereby controlling various lighting devices. Drawbacks of this approach include: (1) When many lighting devices need to be controlled, the attribute of the devices needs to be adjusted one by one, which is very complicated; (2) Each time new equipment is added, a new sliding block and a new sliding bar are needed; (3) Sliding this operation makes it difficult to align the values of the two lighting devices.
At least aiming at the problem of complicated control of the lighting system of a plurality of lighting devices in the related art, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a lighting system control method, a lighting system control device, a computer device and a readable storage medium, which are used for at least solving the problem of complicated lighting system control of a plurality of lighting devices in the related technology.
In a first aspect, embodiments of the present application provide a lighting system control method, where the lighting system includes a plurality of lighting devices; the method comprises the following steps:
acquiring a target attribute value interval of the lighting system;
calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm;
and respectively issuing a plurality of target attribute values to the lighting equipment.
In some of these embodiments, the obtaining a target attribute value interval of the lighting system includes:
constructing a total regulation module on an attribute regulation interface, wherein the total regulation module is used for setting target attributes of the lighting system; the method comprises the steps of carrying out a first treatment on the surface of the
Acquiring a minimum target attribute value and a maximum target attribute value in the total regulation module;
and determining a target attribute value interval of the lighting system according to the minimum target attribute value and the maximum target attribute value.
In some embodiments, the total regulatory module comprises a first regulatory unit and a second regulatory unit; the obtaining the minimum target attribute value and the maximum target attribute value in the total regulation module includes:
acquiring a first attribute value corresponding to the first regulation and control unit, and taking the first attribute value as the minimum target attribute value;
and acquiring a second attribute value corresponding to the second regulation and control unit, and taking the second attribute value as the maximum target attribute value.
In some embodiments, the overall regulation module comprises a sliding frame, a first sliding module and a second sliding module; one end of the sliding frame corresponds to the highest attribute value calibrated by the lighting equipment, and the other end of the sliding frame corresponds to the lowest attribute value calibrated by the lighting equipment; the obtaining the minimum target attribute value and the maximum target attribute value in the total regulation module includes:
acquiring first position information of a first sliding module, and taking the first position information as a minimum target attribute value of the lighting system;
and acquiring second position information of a second sliding module, and taking the second position information as the maximum target attribute of the lighting system.
In some embodiments, the preset algorithm includes a first preset algorithm and a second preset algorithm; calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm; comprising the following steps:
acquiring an initial attribute value interval corresponding to the current lighting system, and judging the sizes of the initial attribute value interval and the target attribute value interval;
if the initial attribute value interval is not 0 and the target attribute interval is not 0, calculating a plurality of target attribute values in the target attribute value interval by adopting a first preset algorithm;
and if the initial attribute value interval is 0 and the target attribute interval is not 0, calculating a plurality of target attribute values in the target attribute value interval by adopting a second preset algorithm.
In some embodiments, the calculating the plurality of target attribute values in the target attribute value interval using a first preset algorithm; comprising the following steps:
acquiring an initial attribute value of each lighting device at present;
calculating the relative position proportion of a plurality of lighting devices according to the initial attribute value and the initial attribute value interval;
and calculating a plurality of target attribute values according to the relative position proportion and the target attribute value interval.
In some of these embodiments, the calculating a plurality of target attribute values from the relative position scale and the target attribute value interval; comprising the following steps:
acquiring a minimum attribute value and a maximum attribute value of the target attribute value interval;
and calculating the target attribute value according to the minimum attribute value, the maximum attribute value and the relative position proportion.
In some of these embodiments, said calculating said target attribute value is based on said minimum attribute value, said maximum attribute value, and said relative position scale; comprising the following steps:
acquiring a current display scene of the lighting system;
matching corresponding adjustment coefficients according to the display scene;
adjusting the relative position proportion according to the adjustment coefficient;
and calculating the target attribute value according to the minimum attribute value, the maximum attribute value and the adjusted relative position proportion.
In some embodiments, the calculating the plurality of target attribute values in the target attribute value interval using a second preset algorithm; comprising the following steps:
acquiring a minimum attribute value and a maximum attribute value of the target attribute value interval;
and calculating a plurality of target attribute values according to the number, the minimum attribute value and the maximum attribute value of the lighting equipment so as to enable the attribute values of the lighting equipment to be uniformly distributed in the target attribute value interval.
In some of these embodiments, the attribute value comprises a luminance value, a color temperature value, or a hue value of the lighting device.
In some of these embodiments, the method further comprises a plurality of third sliding modules, a plurality of the third sliding modules being used to adjust the properties of the lighting device, respectively.
In some of these embodiments, a plurality of target attribute values are issued to the lighting devices, respectively; comprising the following steps:
if the first preset algorithm is adopted, respectively issuing a plurality of target attribute values to the lighting equipment according to the relative position proportion of the lighting equipment;
and if the second preset algorithm is adopted, randomly issuing a plurality of target attribute values to the lighting equipment.
In a second aspect, embodiments of the present application provide a lighting system control apparatus, the apparatus including: the system comprises an acquisition module, a calculation module and a issuing module; wherein:
the acquisition module is used for acquiring a target attribute value interval of the lighting system;
the calculating module is used for calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm;
and the issuing module is used for respectively issuing the plurality of target attribute values to the lighting equipment so as to enable the lighting system to display a target scene.
In a third aspect, embodiments of the present application provide a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the lighting system control method according to the first aspect described above when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, implements a lighting system control method as described in the first aspect above.
Compared with the related art, the lighting system control method provided by the embodiment of the application comprises a plurality of lighting devices; the method comprises the following steps: acquiring a target attribute value interval of the lighting system; calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm; and respectively issuing the target attribute values to the lighting equipment so that the lighting system displays the target scene, thereby solving the problem of complicated control of the lighting system of the lighting equipment in the related technology.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the other features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a flow chart of a lighting system control method provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of a total regulatory module of an embodiment of the present application;
FIGS. 3a and 3b are schematic diagrams of brightness adjustment provided by embodiments of the present application;
FIGS. 4a and 4b are schematic diagrams of color temperature adjustment provided by embodiments of the present application;
FIGS. 5a and 5b are schematic diagrams of hue adjustment provided by embodiments of the present application;
fig. 6 is a block diagram of a lighting system control apparatus provided in an embodiment of the present application;
fig. 7 is an internal structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described and illustrated below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden on the person of ordinary skill in the art based on the embodiments provided herein, are intended to be within the scope of the present application.
It is apparent that the drawings in the following description are only some examples or embodiments of the present application, and it is possible for those of ordinary skill in the art to apply the present application to other similar situations according to these drawings without inventive effort. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by those of ordinary skill in the art that the embodiments described herein can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar terms herein do not denote a limitation of quantity, but rather denote the singular or plural. The terms "comprising," "including," "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The term "plurality" as used herein refers to two or more. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., "a and/or B" may mean: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The terms "first," "second," "third," and the like, as used herein, are merely distinguishing between similar objects and not representing a particular ordering of objects.
The embodiment also provides a lighting system control method. Fig. 1 is a flowchart of a lighting system control method according to an embodiment of the present application, as shown in fig. 1, the flowchart including the steps of:
step 110, obtaining a target attribute value interval of a lighting system;
step 120, calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm;
and 130, respectively issuing a plurality of target attribute values to the lighting equipment so as to enable the lighting system to display a target scene.
The existing lighting system control method is that a user controls the display scene of the whole lighting system by individually adjusting the attribute of each lighting device in the lighting system, and the operation is very complicated. And the attribute of each lighting device is manually adjusted one by a user, so that the attribute values of the two lighting devices are difficult to be ensured to be equal, and the operation is error.
In this embodiment, if the lighting system includes 4 lighting devices, it may be 4 LED lamps, which are lamp a, lamp B, lamp C, and lamp D, respectively. The user wants to regulate and control the light scene of the lighting system, and the display attributes of the 4 LED lamps are not required to be respectively regulated, and the user can directly regulate through the total regulation and control area of the lighting system. Specifically, the control system first obtains a target attribute value interval set by a user in the total control area, and uses an attribute as an example to describe the brightness, where the target attribute value interval may be 30% -40% or may be 80% -85%. After the target attribute value interval is obtained, calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm, wherein the plurality of attribute values can correspond to the number of the lighting devices in the lighting system. If the target attribute value interval is 30% -40%, calculating a plurality of target attribute values in the 30% -40% interval, and respectively issuing the plurality of target attribute values to the lighting equipment. If the target attribute value interval is 30% -30%, 30% -all the lighting devices are issued. If the target attribute value interval is 30% -40%, calculating a plurality of target attribute values in the 30% -40% interval through a preset algorithm, wherein the number of the target attribute values is equal to the number of the lighting equipment to be adjusted. For example, the lighting devices to be adjusted include three, the target attribute values calculated by the preset algorithm may be 30%, 35% and 40%. And respectively issuing the plurality of target attribute values to the lighting devices, wherein each lighting device can receive one target attribute value and display the target attribute value according to the received target attribute value. The target attribute values may be issued to the lighting devices in a synchronous or asynchronous manner, respectively.
The preset algorithm can be determined according to the initial attribute value of the lighting equipment, and can also be set according to the requirement of a user.
In other embodiments, the lighting device in the lighting system that needs to be adjusted may be selected first. For example, the lighting system comprises 10 lighting devices, and the user can select some of the lighting devices to adjust according to the needs by adopting the method. Referring to fig. 3a and 3b, the luminaire lamp a is in a non-adjustable state, indicating that the user has not selected lamp a for adjustment of the properties.
The application field of the lighting system in the application includes but is not limited to the display effect regulation of multiple lights of scenes such as families, markets, KTVs and the like. The execution device of the lighting system control method in the application can be an electronic device, such as a mobile phone, a smart bracelet and the like.
According to the method and the device, through setting the integral regulation and control area of the target attribute value interval of the lighting system, a user can select or frame one numerical value interval in the integral regulation and control area, and can simultaneously support the brightness regulation and control, color temperature regulation and/or color regulation and control and other attributes of a plurality of lighting devices only by operating one total regulation and control area, the adjustment is simple and convenient, the interaction experience is unified no matter how many lighting devices are, and the attribute values of all the lighting devices are conveniently regulated to be consistent. In addition, when the lighting equipment is newly added into the lighting system, a separate control area is not required to be added, so that the expansion of the lighting system is facilitated.
In some of these embodiments, the obtaining a target attribute value interval of the lighting system includes:
constructing a total regulation module on an attribute regulation interface, wherein the total regulation module is used for setting target attributes of the lighting system;
acquiring a minimum target attribute value and a maximum target attribute value in the total regulation module;
and determining a target attribute value interval of the lighting system according to the minimum target attribute value and the maximum target attribute value.
In some embodiments, the total regulatory module comprises a first regulatory unit and a second regulatory unit;
the obtaining the minimum target attribute value and the maximum target attribute value in the total regulation module includes:
acquiring a first attribute value corresponding to the first regulation and control unit, and taking the first attribute value as the minimum target attribute value;
and acquiring a second attribute value corresponding to the second regulation and control unit, and taking the second attribute value as the maximum target attribute value.
In this embodiment, the two control units are set to cooperate to control the lighting system as a whole. The first regulation and control unit and the second regulation and control unit can consist of a sliding frame and a sliding module, and a target attribute value interval is set by changing the position of the sliding module on the sliding frame; the first control unit and the second control unit may be an input box, and the user inputs the target attribute value interval in the input box.
In some of these embodiments, referring to fig. 2, the overall regulation module includes a slide frame, a first slide module, and a second slide module; one end of the sliding frame corresponds to the highest attribute value calibrated by the lighting equipment, and the other end of the sliding frame corresponds to the lowest attribute value calibrated by the lighting equipment; determining a target attribute value interval of the lighting system according to a first attribute value corresponding to the first regulation and control unit and a second attribute value corresponding to the second regulation and control unit, wherein the target attribute value interval comprises the following steps:
acquiring first position information of a first sliding module, and taking the first position information as a minimum target attribute value of the lighting system;
acquiring second position information of a second sliding module, and taking the second position information as a maximum target attribute value of the lighting system;
and determining a target attribute value interval of the lighting system according to the minimum target attribute value and the maximum target attribute value.
The first position information and the second position information in this embodiment refer to the position information of the sliding module on the sliding frame. In this embodiment, a total regulation module is first constructed on the attribute regulation interface, and the shape of the sliding frame of the total regulation module may be a straight line or a circular shape, and the specific shape is not limited in this embodiment, but the total regulation module includes at least two sliding modules, a first sliding module and a second sliding module. When the user regulates the lighting effect of the lighting system, the user can slide the first sliding module and/or the second sliding module to reach the designated position. The control system obtains the position information of the first sliding module and the second sliding module, and obtains the target attribute interval of the lighting system through the position information of the two sliding modules, namely what lighting effect the user wants to adjust the lighting system to.
In some of these embodiments, referring to fig. 3a to 5b, a plurality of third sliding modules are further included, and the plurality of third sliding modules are used to adjust the attribute of the lighting device respectively. By setting the third sliding module for each lighting device individually to adjust the attribute value of the corresponding lighting device, the lighting effect of the whole lighting system can be finely adjusted after the adjustment by the first sliding module and the second sliding module is completed. In this application, adjusting the attribute value of a single lighting device also affects the attribute value of the entire lighting system, i.e. the attribute of the single lighting device and the attribute of the entire lighting system are interrelated.
Taking the attribute value as the luminance as an example, the overall luminance of the lighting system is calculated from the luminance of the individual lamps:
assuming that the lighting system comprises n luminaires, the original luminances are respectively: bright_0, bright_1, bright_2 … … bright_n-1.
Calculating the minimum value of the overall brightness: bright_min=min { bright_0, bright_1, bright_2, &..bright_n-1 }.
Calculating the maximum value of the overall brightness: bright_max=max { bright_0, bright_1, bright_2, &..bright_n-1 }.
The brightness adjustment of a single luminaire affects the overall brightness adjustment, for example, when the brightness of the 1 st luminaire changes from bright_0 to bright_0', a new overall brightness value is calculated:
Calculating the minimum value of the overall brightness: bright_min '=min { bright_0', bright_1, bright_2, &..bright_n-1 }.
Calculating the maximum value of the overall brightness: bright_max '=max { bright_0', bright_1, bright_2, &..bright_n-1 }.
In some embodiments, the preset algorithm includes a first preset algorithm and a second preset algorithm; calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm; comprising the following steps:
acquiring an initial attribute value interval corresponding to the current lighting system, and judging the sizes of the initial attribute value interval and the target attribute value interval;
if the initial attribute value interval is not 0 and the target attribute interval is not 0, calculating a plurality of target attribute values in the target attribute value interval by adopting a first preset algorithm;
and if the initial attribute value interval is 0 and the target attribute interval is not 0, calculating a plurality of target attribute values in the target attribute value interval by adopting a second preset algorithm.
The initial attribute value interval is the integral attribute value interval corresponding to the lighting system before user adjustment, and the target attribute value interval is the integral attribute value interval corresponding to the lighting system after user adjustment. When the initial attribute value interval is not 0, that is, the display effects of the plurality of lighting devices are not identical, under the scene, the total regulating and controlling sliding bar can be understood as a rubber band with uniform elasticity, the first sliding module and the second sliding module are understood as two points respectively drawn on the rubber band by ball pens, one end represents the attribute minimum value, one end represents the attribute maximum value, and then a plurality of points are drawn on the initial attribute value interval as some intermediate values. The two ends of the rubber band are pulled, namely the first sliding module and the second sliding module are slid to the target attribute value interval, the distribution positions of points on the rubber band can be changed, but the relative positions of the points are kept consistent, and the situation that the points are concentrated to the maximum value or the minimum value is avoided. I.e. the relative positions between the other target property values in the target property value interval will remain the same.
If the initial attribute value interval is 0, the display effects of the plurality of lighting devices are identical. Under this scene, the total regulating slide bar can still be understood as a rubber band with uniform elasticity, the first slide module and the second slide module can be understood as a thick pen drawn on the unstretched rubber band by a writing brush, and we can consider that the pen is composed of a plurality of different points, the leftmost point represents the minimum value, and the rightmost point represents the maximum value. And then pulling the rubber band, namely pulling the target attribute value interval of the first sliding module and the second sliding module, so that the points which are originally stuck together are separated and uniformly distributed in the range of the minimum value and the maximum value.
As can be seen from the above two cases, the calculation of the plurality of target attribute values in the target attribute value interval needs to separately consider the case of whether the overall maximum value and the overall minimum value are the same. According to the embodiment, whether the overall maximum value and the overall minimum value are equal, namely whether the initial attribute value interval is 0, the first preset algorithm or the second preset algorithm is adopted to calculate a plurality of target attribute values in the target attribute interval is determined.
In some embodiments, calculating a plurality of target attribute values in the target attribute value interval by adopting a first preset algorithm; comprising the following steps:
Acquiring an initial attribute value of each lighting device at present;
calculating the relative position proportion of a plurality of lighting devices according to the initial attribute value and the initial attribute value interval;
and calculating a plurality of target attribute values according to the relative position proportion and the target attribute value interval.
According to the above description, when the initial attribute value interval is not 0, the first sliding module and/or the second sliding module are slid, the distribution position of the points on the rubber band is changed, but the relative positions of the points are kept consistent. The relative position proportion before regulation is calculated according to the initial attribute value and the initial attribute value interval, and the relative position proportion after regulation is not changed, so that a plurality of target attribute values can be calculated according to the relative position proportion before regulation and the target attribute value interval.
In some of these embodiments, the calculating a plurality of target attribute values from the relative position scale and the target attribute value interval; comprising the following steps:
acquiring a minimum attribute value and a maximum attribute value of the target attribute value interval;
and calculating the target attribute value according to the minimum attribute value, the maximum attribute value and the adjusted relative position proportion.
This embodiment includes at least two implementations in which one relative position ratio is fixed and the target attribute value is calculated directly from the initial relative position ratio. Another embodiment relative position scale is configurable according to the display scenario.
In some of these embodiments, said calculating said target attribute value is based on said minimum attribute value, said maximum attribute value, and said relative position scale; comprising the following steps:
acquiring a current display scene of the lighting system;
matching corresponding adjustment coefficients according to the display scene;
adjusting the relative position proportion according to the adjustment coefficient;
to better illustrate the solution of this example, a first embodiment is illustrated, assuming three lamps: lamp a brightness 30%, lamp B brightness 90%, lamp C brightness 50%. At this time, the minimum value of the overall brightness of the lighting system is 30%, and the maximum value of the overall brightness is 90%, if the user wants to adjust the minimum value of the overall brightness of the lighting system to 15%, how should the brightness of all lamps change? In the scheme provided by the application, the control system firstly acquires the initial attribute value of each lighting device, in this example, all lighting devices comprise a lamp A, a lamp B and a lamp C, and the initial attribute values of all lighting devices are 30% of the brightness value of the lamp A, 90% of the brightness value of the lamp B and 50% of the brightness value of the lamp C. It can be seen that, in this embodiment, the initial attribute value interval is (90% -30%) =60%, and is not 0, and the target attribute value interval is also not 0, and then the control system calculates the relative position proportion of each lighting device according to the initial attribute value interval and the initial attribute value corresponding to each lighting device. The luminance of the lamp a before adjustment is 30% which is the lamp with the smallest luminance of the lighting device, and thus the luminance of the lamp a after adjustment is 15% in accordance with the overall minimum value. The brightness of the lamp B before adjustment is 90% and is the lamp with the largest brightness of the lighting equipment, so that the brightness of the lamp B after adjustment is kept consistent with the whole maximum value and is 90%. Therefore, in this example, the user only needs to slide the first sliding module to achieve the purpose. For lamp C, its brightness before adjustment was 50%, and its original relative position ratio of brightness was: (50% -30%)/(90% -30%) =1/3. That is, the difference is 90% to 30% =60% based on 30% minimum. The original luminance formula is: minimum (30%) + difference (60%) + relative position ratio (1/3) =true luminance (50%). During the overall brightness adjustment, the relative position proportion of the lamp C remains unchanged, so that its final brightness is: minimum adjusted (15%) + difference adjusted (90% -15%) + relative position ratio (1/3) =40%.
According to the relative position ratio of the lamps remaining unchanged during the overall adjustment, the present embodiment summarizes the following calculation method. When the overall brightness minimum value is changed from bright_min to bright_min ', the overall brightness maximum value is changed from bright_max to bright_max', and the brightness calculation formula of the single lamp m is as follows:
first the relative position of the original lighting device is calculated: p= (bright_m-bright_min)/(bright_max-bright_min);
then calculating the adjusted target brightness: bright_m '=bright_min' + (bright_max '-bright_min') × p.
A second embodiment is illustrated assuming that the lighting system is arranged at a KTV or a trampoline site. The lighting system has three lamps: lamp a brightness 30%, lamp B brightness 90%, lamp C brightness 50%. At this time, the minimum value of the overall brightness of the lighting system is 30%, and the maximum value of the overall brightness is 90%, if the user wants to adjust the minimum value of the overall brightness of the lighting system to 15%, how should the brightness of all lamps change? In the scheme provided by the embodiment, the control system firstly acquires the current display scene of the lighting system, and in the embodiment, if the display scene is assumed to be KIV, the control system matches the corresponding adjustment coefficient according to the current display scene of the lighting system. In the place with severe overall change, the matched adjustment coefficient is an amplification coefficient, and the relative position proportion is adjusted according to the amplification coefficient. The initial attribute value for each of the current luminaires, in this example, all luminaires including lamp a, lamp B and lamp C, is then obtained, with all luminaires having an initial attribute value of 30% for lamp a, 90% for lamp B and 50% for lamp C. It can be seen that, in this embodiment, the initial attribute value interval is (90% -30%) =60%, and is not 0, and the target attribute value interval is also not 0, and then the control system calculates the relative position proportion of each lighting device according to the initial attribute value interval and the initial attribute value corresponding to each lighting device. The luminance of the lamp a before adjustment is 30% which is the lamp with the smallest luminance of the lighting device, and thus the luminance of the lamp a after adjustment is 15% in accordance with the overall minimum value. The brightness of the lamp B before adjustment is 90% and is the lamp with the largest brightness of the lighting equipment, so that the brightness of the lamp B after adjustment is kept consistent with the whole maximum value and is 90%. Therefore, in this example, the user only needs to slide the first sliding module to achieve the purpose. For lamp C, its brightness before adjustment was 50%, and its original relative position ratio of brightness was: (50% -30%)/(90% -30%) =1/3. That is, the difference is 90% to 30% =60% based on 30% minimum. The original luminance formula is: minimum (30%) + difference (60%) + relative position ratio (1/3) =true luminance (50%). In the overall brightness adjustment process, after the relative position proportion of the lamp C is adjusted by the amplification factor, the adjusted relative position proportion is the amplification factor. When the magnification factor is 1.2, the adjusted relative position ratio is 1.2/3 and thus its final brightness is: minimum adjusted (15%) + difference adjusted (90% -15%) + relative position ratio (1.2/3) =45%.
It will be appreciated that the amplification factor is a value greater than 1 and the reduction factor is a value less than 1. The mapping relation between the adjustment coefficients and the scene may be preconfigured, and after determining the current display scene of the lighting system, the adjustment coefficients are determined according to the mapping relation.
If the left end of the total regulation module corresponds to the lowest attribute value, the right end of the total regulation module corresponds to the highest attribute value, when the adjustment coefficient is an amplification coefficient and the target attribute value is close to the right end of the total regulation module, the brightness ratio of all lamps is amplified when the overall brightness is larger, namely the brightness ratio is closer to the right end point; when the target attribute value is close to the left end of the total regulation module, the overall brightness is smaller, and all brightness duty ratios are reduced, namely all brightness duty ratios are closer to the left end point. That is, the effect that it appears that it aggravates the tendency of the luminance value to exceed two ends. On the contrary, when the adjustment coefficient is a reduction coefficient, the whole is more closed.
When the lighting system is in a location where the overall change is severe, such as KTV, tramp, etc., the magnification factor is selected. When the lighting system is in a location where the overall change is gentle: and selecting the amplification factor in the places such as coffee shops, rest rooms and the like. Thereby further improving the display effect.
In some embodiments, the calculating the plurality of target attribute values in the target attribute value interval using a second preset algorithm; comprising the following steps:
acquiring a minimum attribute value and a maximum attribute value of the target attribute value interval;
and calculating a plurality of target attribute values according to the number, the minimum attribute value and the maximum attribute value of the lighting equipment so as to enable the attribute values of the lighting equipment to be uniformly distributed in the target attribute value interval.
In this embodiment, when the initial attribute value interval is 0, that is, when the initial brightness of all the lighting devices in the current lighting system is consistent, if the target attribute value interval is not 0, that is, the minimum value and the maximum value are adjusted to be different, so that the brightness of all the lamps is distributed in the brightness range, the brightness values of all the lamps are uniformly distributed, but not orderly. That is, if there are n lamps, the brightness minimum value is bright_min ', the brightness maximum value is bright_max', and the brightness values of all lamps are sequentially distributed:
bright_0'=bright_min'
bright_1'=round(bright_min'+(bright_max'-bright_min')/(n-1))
bright_2'=round(bright_min'+(bright_max'-bright_min')/(n-1)*2)
……
bright_m'=round(bright_min'+(bright_max'-bright_min')/(n-1)*m)
……
bright_(n-1)'=round((bright_min'+(bright_max'-bright_min')/(n-1)*(n-1))=bright_max'
but these intensity values need to be distributed randomly to all luminaires in a top-to-bottom order.
In some of these embodiments, the attribute value comprises a luminance value, a color temperature value, or a hue value of the lighting device.
Referring to fig. 3a to 5b, fig. 3a is a schematic diagram of the brightness of the lighting device when the target attribute interval determined by the first sliding module and the second sliding module is the first interval, and fig. 3b is a schematic diagram of the brightness of the lighting device when the target attribute interval determined by the first sliding module and the second sliding module is the second interval. As can be seen from fig. 3a and 3b, the position of the interval between the first and second sliding modules, i.e. the position of the target property value interval, may directly affect the brightness of a plurality of lighting devices in the lighting system.
Fig. 4a is a schematic diagram of the brightness of the lighting device when the target attribute interval determined by the first sliding module and the second sliding module is the first interval, and fig. 4b is a schematic diagram of the color temperature of the lighting device when the target attribute interval determined by the first sliding module and the second sliding module is the second interval. As can be seen from fig. 4a and 4b, the position of the interval between the first and second sliding modules, i.e. the position of the target property value interval, can directly influence the color temperature of a plurality of lighting devices in the lighting system.
Fig. 5a is a schematic diagram of brightness of the lighting device when the target attribute interval determined by the first sliding module and the second sliding module is the first interval, and fig. 5b is a schematic diagram of hue of the lighting device when the target attribute interval determined by the first sliding module and the second sliding module is the second interval. As can be seen from fig. 5a and 5b, the position of the interval between the first and second sliding modules, i.e. the position of the target property value interval, may directly affect the hue of a plurality of lighting devices in the lighting system.
The lighting system control method can adjust the brightness, color temperature, hue value and other attributes of the lighting equipment. The application also comprises a switching module for switching the attribute of the total sliding slide adjustment.
For example, if the user wants to adjust the color temperature of the lighting system after adjusting the brightness of the lighting system, the function of the total adjusting slide bar can be switched to the color temperature adjusting function by the switching module, and the color temperature of the lighting system is adjusted by sliding the first sliding module and the second sliding module. The switching module may be a button or may be implemented in other manners.
In some of these embodiments, a plurality of the target attribute values are issued to the lighting devices, respectively; comprising the following steps:
if the first preset algorithm is adopted, respectively issuing a plurality of target attribute values to the lighting equipment according to the relative position proportion of the lighting equipment;
and if the second preset algorithm is adopted, randomly issuing a plurality of target attribute values to the lighting equipment.
When the first preset algorithm is adopted to calculate the target attribute values, the fact that the brightness of all the lighting devices in the current lighting system is inconsistent is indicated, so that after the plurality of target attribute values are calculated, the plurality of target attribute values are required to be issued to corresponding lighting devices according to the initial attribute values of the lighting system.
When the second preset algorithm is adopted to calculate the target attribute value, the brightness of all the lighting devices in the current lighting system is consistent, namely all the lighting devices are in the same position, so that after a plurality of target attribute values are calculated, the plurality of target attribute values are randomly distributed to all the lighting devices according to the sequence from top to bottom.
It should be noted that the steps illustrated in the above-described flow or flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment also provides a lighting system control device, which is used for implementing the above embodiments and preferred embodiments, and is not described in detail. As used below, the terms "module," "unit," "sub-unit," and the like may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
A lighting system control apparatus, as shown in fig. 6, the apparatus comprising: an acquisition module 610, a calculation module 620 and a delivery module 630; wherein:
an obtaining module 610, configured to obtain a target attribute value interval of the lighting system;
a calculating module 620, configured to calculate a plurality of target attribute values in the target attribute value interval through a preset algorithm;
and the issuing module 630 is configured to issue the plurality of target attribute values to the lighting devices respectively, so that the lighting system displays a target scene.
According to the method and the device, through setting the integral regulation and control area of the target attribute value interval of the lighting system, a user can select or frame one numerical value interval in the integral regulation and control area, and can simultaneously support the brightness regulation and control, color temperature regulation and/or color regulation and control and other attributes of a plurality of lighting devices through operating one regulation and control area, the adjustment is simple and convenient, the interaction experience is unified no matter how many lighting devices are, and the attribute values of all the lighting devices are conveniently regulated to be consistent. In addition, when the lighting equipment is newly added into the lighting system, a separate control area is not required to be added, so that the expansion of the lighting system is facilitated.
In other embodiments, the acquisition module 610 is further configured to:
Constructing a total regulation module on the attribute regulation interface;
acquiring a minimum target attribute value and a maximum target attribute value in the total regulation module;
and determining a target attribute value interval of the lighting system according to the minimum target attribute value and the maximum target attribute value.
In other embodiments, the overall regulation module comprises a first regulation unit and a second regulation unit; the acquisition module 610 is further configured to:
acquiring a first attribute value corresponding to the first regulation and control unit, and taking the first attribute value as the minimum target attribute value;
and acquiring a second attribute value corresponding to the second regulation and control unit, and taking the second attribute value as the maximum target attribute value.
In some other embodiments, the overall regulation module comprises a sliding frame, a first sliding module, and a second sliding module; one end of the sliding frame corresponds to the highest attribute value calibrated by the lighting equipment, and the other end of the sliding frame corresponds to the lowest attribute value calibrated by the lighting equipment; the acquisition module 610 is further configured to:
acquiring first position information of a first sliding module, and taking the first position information as a minimum target attribute value of the lighting system;
Acquiring second position information of a second sliding module, and taking the second position information as a maximum target attribute value of the lighting system;
and determining a target attribute value interval of the lighting system according to the minimum target attribute value and the maximum target attribute value.
In some other embodiments, the preset algorithm includes a first preset algorithm and a second preset algorithm; the computing module 620 is further configured to:
acquiring an initial attribute value interval corresponding to the current lighting system, and judging the sizes of the initial attribute value interval and the target attribute value interval;
if the initial attribute value interval is not 0 and the target attribute interval is not 0, calculating a plurality of target attribute values in the target attribute value interval by adopting a first preset algorithm;
and if the initial attribute value interval is 0 and the target attribute interval is not 0, calculating a plurality of target attribute values in the target attribute value interval by adopting a second preset algorithm.
In other embodiments, the computing module 620 is further to:
acquiring an initial attribute value of each lighting device at present;
calculating the relative position proportion of a plurality of lighting devices according to the initial attribute value and the initial attribute value interval;
And calculating a plurality of target attribute values according to the relative position proportion and the target attribute value interval.
In other embodiments, the computing module 620 is further to:
acquiring a minimum attribute value and a maximum attribute value of the target attribute value interval;
and calculating the target attribute value according to the minimum attribute value, the maximum attribute value and the relative position proportion.
In other embodiments, the computing module 620 is further to:
acquiring a current display scene of the lighting system;
matching corresponding adjustment coefficients according to the display scene;
adjusting the relative position proportion according to the adjustment coefficient;
and calculating the target attribute value according to the minimum attribute value, the maximum attribute value and the adjusted relative position proportion.
In other embodiments, the computing module 620 is further to:
acquiring a minimum attribute value and a maximum attribute value of the target attribute value interval;
and calculating a plurality of target attribute values according to the number, the minimum attribute value and the maximum attribute value of the lighting equipment so as to enable the attribute values of the lighting equipment to be uniformly distributed in the target attribute value interval.
In other embodiments, the attribute value comprises a luminance value, a color temperature value, or a hue value of the lighting device.
In some other embodiments, the lighting device further comprises a plurality of third sliding modules, and the plurality of third sliding modules are used for adjusting the attribute of the lighting device respectively.
In other embodiments, the issuing module 630 is further configured to:
if the first preset algorithm is adopted, respectively issuing a plurality of target attribute values to the lighting equipment according to the relative position proportion of the lighting equipment;
and if the second preset algorithm is adopted, randomly issuing a plurality of target attribute values to the lighting equipment.
The above-described respective modules may be functional modules or program modules, and may be implemented by software or hardware. For modules implemented in hardware, the various modules described above may be located in the same processor; or the above modules may be located in different processors in any combination.
In addition, the lighting system control method of the embodiment of the present application described in connection with fig. 1 may be implemented by a computer device. Fig. 7 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present application.
The computer device may include a processor 71 and a memory 72 storing computer program instructions.
In particular, the processor 71 may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
Memory 72 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 72 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, solid state Drive (Solid State Drive, SSD), flash memory, optical Disk, magneto-optical Disk, tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. The memory 72 may include removable or non-removable (or fixed) media, where appropriate. The memory 72 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 72 is a Non-Volatile memory. In particular embodiments, memory 72 includes Read-Only Memory (ROM) and random access Memory (Random Access Memory, RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM for short), an erasable PROM (Erasable Programmable Read-Only Memory for short), an electrically erasable PROM (Electrically Erasable Programmable Read-Only Memory for short EEPROM), an electrically rewritable ROM (Electrically Alterable Read-Only Memory for short EAROM) or a FLASH Memory (FLASH) or a combination of two or more of these. The RAM may be Static Random-Access Memory (SRAM) or dynamic Random-Access Memory (Dynamic Random Access Memory DRAM), where the DRAM may be a fast page mode dynamic Random-Access Memory (Fast Page Mode Dynamic Random Access Memory FPMDRAM), extended data output dynamic Random-Access Memory (Extended Date Out Dynamic Random Access Memory EDODRAM), synchronous dynamic Random-Access Memory (Synchronous Dynamic Random-Access Memory SDRAM), or the like, as appropriate.
Memory 72 may be used to store or cache various data files that need to be processed and/or communicated, as well as possible computer program instructions for execution by processor 71.
The processor 71 implements any of the lighting system control methods of the above-described embodiments by reading and executing computer program instructions stored in the memory 72.
In some of these embodiments, the computer device may also include a communication interface 73 and a bus 70. As shown in fig. 7, the processor 71, the memory 72, and the communication interface 73 are connected to each other through the bus 70 and perform communication with each other.
The communication interface 73 is used to enable communication between various modules, devices, units and/or units in embodiments of the application. Communication interface 73 may also enable communication with other components such as: and the external equipment, the image/data acquisition equipment, the database, the external storage, the image/data processing workstation and the like are used for data communication.
Bus 70 includes hardware, software, or both, coupling components of the computer device to each other. Bus 70 includes, but is not limited to, at least one of: data Bus (Data Bus), address Bus (Address Bus), control Bus (Control Bus), expansion Bus (Expansion Bus), local Bus (Local Bus). By way of example, and not limitation, bus 70 may include a graphics acceleration interface (Accelerated Graphics Port), abbreviated AGP, or other graphics Bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) Bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an industry standard architecture (Industry Standard Architecture, ISA) Bus, a wireless bandwidth (InfiniBand) interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a micro channel architecture (Micro Channel Architecture, abbreviated MCa) Bus, a peripheral component interconnect (Peripheral Component Interconnect, abbreviated PCI) Bus, a PCI-Express (PCI-X) Bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, abbreviated SATA) Bus, a video electronics standards association local (Video Electronics Standards Association Local Bus, abbreviated VLB) Bus, or other suitable Bus, or a combination of two or more of these. Bus 70 may include one or more buses, where appropriate. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
The computer device may execute the lighting system control method in the embodiment of the present application based on the acquired program instructions, thereby implementing the lighting system control method described in connection with fig. 1.
In addition, in combination with the lighting system control method in the above embodiment, the embodiment of the application may be implemented by providing a computer readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement a lighting system control method of any of the above embodiments.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (11)

1. A lighting system control method, the lighting system comprising a plurality of lighting devices; characterized in that the method comprises:
acquiring a target attribute value interval of the lighting system; comprising the following steps: constructing a total regulation module on an attribute regulation interface, wherein the total regulation module is used for setting target attributes of the lighting system; acquiring a minimum target attribute value and a maximum target attribute value in the total regulation module; determining a target attribute value interval of the lighting system according to the minimum target attribute value and the maximum target attribute value;
calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm; the preset algorithm comprises a first preset algorithm and a second preset algorithm; calculating a plurality of target attribute values in the target attribute value interval through a preset algorithm; comprising the following steps:
acquiring an initial attribute value interval corresponding to the current lighting system, and judging the sizes of the initial attribute value interval and the target attribute value interval;
if the initial attribute value interval is not 0 and the target attribute interval is not 0, calculating a plurality of target attribute values by adopting the first preset algorithm, including: acquiring an initial attribute value of each lighting device at present; calculating the relative position proportion of a plurality of lighting devices according to the initial attribute value and the initial attribute value interval; calculating a plurality of target attribute values according to the relative position proportion and the target attribute value interval;
If the initial attribute value interval is 0 and the target attribute interval is not 0, calculating a plurality of target attribute values using the second preset algorithm, including: acquiring a minimum attribute value and a maximum attribute value of the target attribute value interval; calculating a plurality of target attribute values according to the number, the minimum attribute value and the maximum attribute value of the lighting equipment so as to enable the attribute values of the lighting equipment to be uniformly distributed in the target attribute value interval;
and respectively issuing a plurality of target attribute values to the lighting equipment so as to enable the lighting system to display a target scene.
2. The lighting system control method of claim 1, wherein the overall regulation module comprises a first regulation unit and a second regulation unit; the obtaining the minimum target attribute value and the maximum target attribute value in the total regulation module includes:
acquiring a first attribute value corresponding to the first regulation and control unit, and taking the first attribute value as the minimum target attribute value;
and acquiring a second attribute value corresponding to the second regulation and control unit, and taking the second attribute value as the maximum target attribute value.
3. The lighting system control method of claim 2, wherein the overall regulation module comprises a slide frame, a first slide module, and a second slide module; one end of the sliding frame corresponds to the highest attribute value calibrated by the lighting equipment, and the other end of the sliding frame corresponds to the lowest attribute value calibrated by the lighting equipment; the obtaining the minimum target attribute value and the maximum target attribute value in the total regulation module includes:
Acquiring first position information of a first sliding module, and taking the first position information as a minimum target attribute value of the lighting system;
and acquiring second position information of a second sliding module, and taking the second position information as a maximum target attribute value of the lighting system.
4. The lighting system control method according to claim 1, wherein the calculating a plurality of target attribute values is performed based on the relative position ratio and the target attribute value interval; comprising the following steps:
acquiring a minimum attribute value and a maximum attribute value of the target attribute value interval;
and calculating the target attribute value according to the minimum attribute value, the maximum attribute value and the relative position proportion.
5. The lighting system control method according to claim 4, wherein the target attribute value is calculated from the minimum attribute value, the maximum attribute value, and the relative position ratio; comprising the following steps:
acquiring a current display scene of the lighting system;
matching corresponding adjustment coefficients according to the display scene;
adjusting the relative position proportion according to the adjustment coefficient;
and calculating the target attribute value according to the minimum attribute value, the maximum attribute value and the adjusted relative position proportion.
6. A lighting system control method according to claim 1, characterized in that the attribute value comprises a brightness value, a color temperature value or a hue value of the lighting device.
7. A lighting system control method as recited in claim 1, further comprising a plurality of third slide modules, wherein a plurality of said third slide modules are used to respectively adjust properties of said lighting devices.
8. The lighting system control method according to claim 1, wherein a plurality of the target attribute values are issued to the lighting devices, respectively; comprising the following steps:
if the first preset algorithm is adopted, respectively issuing a plurality of target attribute values to the lighting equipment according to the relative position proportion of the lighting equipment;
and if the second preset algorithm is adopted, randomly issuing a plurality of target attribute values to the lighting equipment.
9. A lighting system control device, the device comprising: the system comprises an acquisition module, a calculation module and a issuing module; wherein:
the acquisition module is used for acquiring a target attribute value interval of the lighting system; comprising the following steps: constructing a total regulation module on an attribute regulation interface, wherein the total regulation module is used for setting target attributes of the lighting system; acquiring a minimum target attribute value and a maximum target attribute value in the total regulation module; determining a target attribute value interval of the lighting system according to the minimum target attribute value and the maximum target attribute value;
The computing module is used for acquiring an initial attribute value interval corresponding to the current lighting system and judging the sizes of the initial attribute value interval and the target attribute value interval;
if the initial attribute value interval is not 0 and the target attribute interval is not 0, acquiring the initial attribute value of each lighting device currently; calculating the relative position proportion of a plurality of lighting devices according to the initial attribute value and the initial attribute value interval; calculating a plurality of target attribute values according to the relative position proportion and the target attribute value interval;
if the initial attribute value interval is 0 and the target attribute interval is not 0, acquiring a minimum attribute value and a maximum attribute value of the target attribute value interval; calculating a plurality of target attribute values according to the number, the minimum attribute value and the maximum attribute value of the lighting equipment so as to enable the attribute values of the lighting equipment to be uniformly distributed in the target attribute value interval;
and the issuing module is used for respectively issuing the plurality of target attribute values to the lighting equipment so as to enable the lighting system to display a target scene.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the lighting system control method according to any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a lighting system control method as claimed in any one of claims 1 to 8.
CN202210005910.3A 2022-01-04 2022-01-04 Lighting system control method, lighting system control device, computer device, and readable storage medium Active CN114489456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210005910.3A CN114489456B (en) 2022-01-04 2022-01-04 Lighting system control method, lighting system control device, computer device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210005910.3A CN114489456B (en) 2022-01-04 2022-01-04 Lighting system control method, lighting system control device, computer device, and readable storage medium

Publications (2)

Publication Number Publication Date
CN114489456A CN114489456A (en) 2022-05-13
CN114489456B true CN114489456B (en) 2024-01-30

Family

ID=81509057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210005910.3A Active CN114489456B (en) 2022-01-04 2022-01-04 Lighting system control method, lighting system control device, computer device, and readable storage medium

Country Status (1)

Country Link
CN (1) CN114489456B (en)

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1717666A1 (en) * 2002-03-08 2006-11-02 Revelations in Design, LP Electric device control apparatus
WO2007002406A2 (en) * 2005-06-20 2007-01-04 The Trustees Of Columbia University In The City Of New York Interactive diagnostic display system
CN102291886A (en) * 2010-06-15 2011-12-21 红杉系统公司 Goal-based control of lighting
CN104837281A (en) * 2015-05-27 2015-08-12 常州市武进区半导体照明应用技术研究院 Illumination control system, method and device
CN104954174A (en) * 2015-05-26 2015-09-30 山东蚁巡网络科技有限公司 Method for setting double-threshold warning
CN105263233A (en) * 2015-11-10 2016-01-20 四川理工学院 Intelligent lamplight control system based on WIFI and control method
CN105824531A (en) * 2016-03-15 2016-08-03 网易(杭州)网络有限公司 Method and device for adjusting numbers
US9839089B1 (en) * 2016-08-24 2017-12-05 DXY Technology Co., Limited Control method for smart light
CN107786717A (en) * 2016-08-24 2018-03-09 深圳市鼎芯无限科技有限公司 A kind of control method of intelligent lamp
CN109952812A (en) * 2016-09-14 2019-06-28 路创凯特拉有限责任公司 For controlling the lighting system of the colour temperature of the function as brightness
US10757777B1 (en) * 2019-07-08 2020-08-25 TieJun Wang Brightness adjustment for a white-light lamp
CN111741559A (en) * 2020-08-27 2020-10-02 江西嘉捷鑫源科技有限公司 Color temperature correction method, system, control terminal and computer readable storage medium
CN111752443A (en) * 2019-03-28 2020-10-09 华为技术有限公司 Method, related device and system for controlling page by display equipment
KR20200117735A (en) * 2019-04-05 2020-10-14 한국과학기술원 User interface for controlling chroma and luminance of multi-color light source
CN111800923A (en) * 2020-06-05 2020-10-20 深圳市晟瑞科技有限公司 Light control method and device, readable storage medium and terminal equipment
CN112215964A (en) * 2020-09-28 2021-01-12 杭州灵伴科技有限公司 Scene navigation method and device based on AR
WO2021069379A1 (en) * 2019-10-11 2021-04-15 Signify Holding B.V. A control system for controlling a plurality of lighting units and a method thereof
WO2021104079A1 (en) * 2019-11-27 2021-06-03 深圳市万普拉斯科技有限公司 Video processing method and apparatus, storage medium, and computer device
CN113677071A (en) * 2021-08-11 2021-11-19 深圳市智岩科技有限公司 Lamp control method and device, electronic equipment and storage medium
CN113682101A (en) * 2020-05-18 2021-11-23 上海仙豆智能机器人有限公司 Control method, control device and vehicle
CN113709302A (en) * 2021-07-23 2021-11-26 青岛海尔科技有限公司 Brightness adjusting method and system for light-emitting equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2515610A1 (en) * 2011-04-19 2012-10-24 Samsung LED Co., Ltd. Method, system and apparatus for controlling light
US9202433B2 (en) * 2012-03-06 2015-12-01 Apple Inc. Multi operation slider
US9014828B2 (en) * 2012-03-22 2015-04-21 Abl Ip Holding Llc Lighting controller
US9594491B2 (en) * 2012-11-26 2017-03-14 Ca, Inc. Slide control for setting boundaries between regions of a data range
JP6469686B2 (en) * 2013-08-16 2019-02-13 フィリップス ライティング ホールディング ビー ヴィ Lighting control using mobile computing devices
EP2890223B1 (en) * 2013-12-27 2020-05-27 Panasonic Intellectual Property Corporation of America Method for controlling mobile terminal and program for controlling mobile terminal
CN105487780B (en) * 2016-01-15 2021-03-19 腾讯科技(深圳)有限公司 Control display method and device
CN106896997B (en) * 2016-06-28 2020-11-10 创新先进技术有限公司 Sliding control method and device and sliding block selector
US10645777B2 (en) * 2016-12-05 2020-05-05 Lutron Technology Company Llc User interface for controlling intensity and color of a lighting load

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1717666A1 (en) * 2002-03-08 2006-11-02 Revelations in Design, LP Electric device control apparatus
WO2007002406A2 (en) * 2005-06-20 2007-01-04 The Trustees Of Columbia University In The City Of New York Interactive diagnostic display system
CN102291886A (en) * 2010-06-15 2011-12-21 红杉系统公司 Goal-based control of lighting
CN104954174A (en) * 2015-05-26 2015-09-30 山东蚁巡网络科技有限公司 Method for setting double-threshold warning
CN104837281A (en) * 2015-05-27 2015-08-12 常州市武进区半导体照明应用技术研究院 Illumination control system, method and device
CN105263233A (en) * 2015-11-10 2016-01-20 四川理工学院 Intelligent lamplight control system based on WIFI and control method
CN105824531A (en) * 2016-03-15 2016-08-03 网易(杭州)网络有限公司 Method and device for adjusting numbers
US9839089B1 (en) * 2016-08-24 2017-12-05 DXY Technology Co., Limited Control method for smart light
CN107786717A (en) * 2016-08-24 2018-03-09 深圳市鼎芯无限科技有限公司 A kind of control method of intelligent lamp
CN109952812A (en) * 2016-09-14 2019-06-28 路创凯特拉有限责任公司 For controlling the lighting system of the colour temperature of the function as brightness
CN111752443A (en) * 2019-03-28 2020-10-09 华为技术有限公司 Method, related device and system for controlling page by display equipment
KR20200117735A (en) * 2019-04-05 2020-10-14 한국과학기술원 User interface for controlling chroma and luminance of multi-color light source
US10757777B1 (en) * 2019-07-08 2020-08-25 TieJun Wang Brightness adjustment for a white-light lamp
WO2021069379A1 (en) * 2019-10-11 2021-04-15 Signify Holding B.V. A control system for controlling a plurality of lighting units and a method thereof
WO2021104079A1 (en) * 2019-11-27 2021-06-03 深圳市万普拉斯科技有限公司 Video processing method and apparatus, storage medium, and computer device
CN113682101A (en) * 2020-05-18 2021-11-23 上海仙豆智能机器人有限公司 Control method, control device and vehicle
CN111800923A (en) * 2020-06-05 2020-10-20 深圳市晟瑞科技有限公司 Light control method and device, readable storage medium and terminal equipment
CN111741559A (en) * 2020-08-27 2020-10-02 江西嘉捷鑫源科技有限公司 Color temperature correction method, system, control terminal and computer readable storage medium
CN112215964A (en) * 2020-09-28 2021-01-12 杭州灵伴科技有限公司 Scene navigation method and device based on AR
CN113709302A (en) * 2021-07-23 2021-11-26 青岛海尔科技有限公司 Brightness adjusting method and system for light-emitting equipment
CN113677071A (en) * 2021-08-11 2021-11-19 深圳市智岩科技有限公司 Lamp control method and device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
教室亮度与投影仪之间的智能联动系统;李臻;赵伟;崔爱芳;;实验室研究与探索(第01期);144-146+151 *
易清洁且能灭虫的LED台灯构想;张靖依;;科技资讯(第06期);35-36 *
色温和光通量独立可调的白光LED系统;闫斌;刘廷章;栾新源;张修红;金碧瑶;熊峰;;照明工程学报(第06期);20-22 *

Also Published As

Publication number Publication date
CN114489456A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN106686319B (en) A kind of control method and its device of image exposure
CN108234971B (en) White balance parameter determines method, white balance adjustment method and device, storage medium, terminal
CN104428829B (en) Color control method and communication apparatus
US8723450B2 (en) System and method for controlling the spectral content of an output of a light fixture
JP6923754B2 (en) Image capture method and equipment
CN104144333B (en) Automatic white balance based on dynamic mapping
CN106716243A (en) Multi-LED camera flash for color temperature matching
CN105450939A (en) High dynamic range image display method and mobile terminal
US20170084307A1 (en) Method and apparatus for editing video scenes based on learned user preferences
CN111800923B (en) Light control method and device, readable storage medium and terminal equipment
CN105430282A (en) Control method, control device and camera system
US11445127B2 (en) Leveraging HDR sensors for handling mixed illumination auto white balance
CN114489456B (en) Lighting system control method, lighting system control device, computer device, and readable storage medium
CN111796889A (en) Terminal interface color correction method and device, electronic equipment and terminal
CN109889731B (en) Shooting parameter determination method and device and storage medium
CN107358255A (en) GAMMA based on convolutional neural networks ties up a classification learning method and device
CN107004390A (en) Display brightness is controlled
CN113260127B (en) Color temperature adjusting method, terminal equipment and computer readable storage medium
CN110708794A (en) LED dimming method and device and LED lighting lamp
CN117336930A (en) Wardrobe lamplight color temperature control system and method
CN109831629B (en) Terminal photographing mode adjusting method and device, terminal and storage medium
CN116170922A (en) Lamp control method, electronic equipment and storage medium
CN115346460A (en) Control method, device and equipment of light-emitting component
CN105141855B (en) A kind of image processing method and electronic equipment
CN114783354A (en) Color cast compensation method, architecture and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant