CN115460732A - Light equipment control method and device, terminal equipment and storage medium - Google Patents

Light equipment control method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN115460732A
CN115460732A CN202211415835.4A CN202211415835A CN115460732A CN 115460732 A CN115460732 A CN 115460732A CN 202211415835 A CN202211415835 A CN 202211415835A CN 115460732 A CN115460732 A CN 115460732A
Authority
CN
China
Prior art keywords
brightness
target
boundary
lighting
area
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
Application number
CN202211415835.4A
Other languages
Chinese (zh)
Other versions
CN115460732B (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.)
Shenzhen Aitushi Innovation Technology Co ltd
Original Assignee
Aputure Imaging Industries 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 Aputure Imaging Industries Co Ltd filed Critical Aputure Imaging Industries Co Ltd
Priority to CN202211415835.4A priority Critical patent/CN115460732B/en
Publication of CN115460732A publication Critical patent/CN115460732A/en
Application granted granted Critical
Publication of CN115460732B publication Critical patent/CN115460732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/16Controlling the light source by timing means
    • 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]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application is suitable for the technical field of illumination, and provides a lighting equipment control method, a device, terminal equipment and a storage medium, wherein the method comprises the following steps: acquiring a light display mode of each light area on the light equipment; determining control parameters of each corresponding lamplight area in each lamplight period, wherein the control parameters comprise the brightness of a brightness point of each lamplight area and the change direction of each lamplight area; and controlling the lighting equipment according to the control parameters in each lighting period. From this, through the control parameter control lighting equipment that different light display mode set up correspondences to the light that makes lighting equipment send can present different luminance change effect and direction change effect under the light display mode of difference, thereby has promoted the flexibility and the practicality of lighting equipment display effect, has improved user experience.

Description

Light equipment control method and device, terminal equipment and storage medium
Technical Field
The application belongs to the technical field of lighting, and particularly relates to a lighting device control method and device, a terminal device and a storage medium.
Background
With the improvement of living standard and the development of display technology, the requirement on the display effect of the lighting equipment is higher and higher. However, in the related art, the light display effect of the lighting device is generally single and fixed, and cannot present diversified display effects, and the display effect of the lighting device cannot be adaptively adjusted according to the user requirements, so that the flexibility and the practicability of the display effect control of the lighting device are poor, and the user experience is affected.
Disclosure of Invention
The embodiment of the application provides a lighting equipment control method, a lighting equipment control device, terminal equipment and a storage medium, and aims to solve the problems that the lighting display effect of lighting equipment is generally single and fixed, diversified display effects cannot be presented, and the display effect of the lighting equipment cannot be adjusted in a self-adaptive manner according to user demands, so that the flexibility and the practicability of the control of the display effect of the lighting equipment are poor, and the user experience is influenced.
A first aspect of an embodiment of the present application provides a lighting device control method, including:
acquiring a lighting display mode of each lighting area on lighting equipment, wherein the lighting areas comprise a first lighting area and a second lighting area;
determining control parameters of each corresponding lamplight area in each lamplight period, wherein the control parameters comprise the brightness of a brightness point of each lamplight area and the change direction of each lamplight area;
and controlling the lighting equipment according to the control parameters in each lighting period.
Optionally, in a possible implementation manner of the first aspect, the determining the control parameter of each corresponding light area in each light period includes:
a first display area corresponding to the first light area is fixed;
acquiring a preset brightness threshold value and a first initial brightness corresponding to a first lighting area according to a lighting display mode corresponding to a lighting period;
and setting a first brightness interval according to the first initial brightness and a preset brightness threshold, and determining a first target brightness and a second target brightness through the first brightness interval.
Optionally, in a possible implementation manner of the first aspect, the setting a first luminance interval according to the first starting luminance and a preset luminance threshold, and determining the first target luminance and the second target luminance through the first luminance interval includes:
determining any brightness in the first brightness interval as a first target brightness corresponding to the first lamplight area;
setting a second brightness interval according to the first initial brightness and the first target brightness;
and determining any brightness in the second brightness interval as a second target brightness corresponding to the first lighting area.
Optionally, in a possible implementation manner of the first aspect, the controlling the lighting device according to the control parameter in each lighting period includes:
the lighting cycle comprises a first time period and a second time period, and the first time period and the second time period are not overlapped and are continuous;
in a first time period, adjusting the brightness of a first lamplight area from a first initial brightness to a first target brightness according to a preset brightness adjustment frequency;
and in a second time period, adjusting the brightness of the first light area from the first target brightness to a second target brightness according to a preset brightness adjustment frequency.
Optionally, in a possible implementation manner of the first aspect, the determining the control parameter of each corresponding light area in each light period includes:
acquiring a preset brightness threshold value, a second initial brightness, a preset area boundary and an initial boundary corresponding to a second lighting area according to a lighting display mode corresponding to a lighting period;
setting a third brightness interval according to the second initial brightness and a preset brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval;
setting a first target boundary interval according to the initial boundary and the preset region boundary, and determining a first target boundary and a second target boundary through the first target boundary interval, wherein the two ends of the first target boundary interval are the initial boundary and the preset region boundary respectively.
Optionally, in a possible implementation manner of the first aspect, the setting a third luminance interval according to the second start luminance and a preset luminance threshold, and determining a third target luminance and a fourth target luminance through the third luminance interval includes:
determining any brightness in the third brightness interval as a third target brightness corresponding to the second lighting area;
setting a fourth brightness interval according to the second initial brightness and the third target brightness;
and determining any brightness in the fourth brightness interval as a fourth target brightness corresponding to the second lamplight area.
Optionally, in a possible implementation manner of the first aspect, the setting a first target boundary interval according to the initial boundary and a preset region boundary, and determining a first target boundary and a second target boundary through the first target boundary interval includes:
determining any position in the first target boundary interval as a first target boundary corresponding to the second lamplight area;
setting a second target boundary interval according to the initial boundary and the first target boundary;
and determining any position in the second target boundary interval as a second target boundary corresponding to the second light area.
Optionally, in a possible implementation manner of the first aspect, the controlling the lighting device according to the control parameter in each lighting period includes:
the lighting cycle comprises a first time period and a second time period, and the first time period and the second time period are not overlapped and are continuous;
in the first time period, adjusting the brightness of the second lamplight area from the second initial brightness to a third target brightness according to a preset brightness adjustment frequency, and adjusting the initial boundary to the first target boundary, so that the second display area corresponding to the second lamplight area is located in the first target boundary when the first time period is over;
and in a second time period, adjusting the brightness of the second light area from the third target brightness to the fourth target brightness according to a preset brightness adjustment frequency, and adjusting the first target boundary to the second target boundary so that the second display area is positioned in the second target boundary at the end of the second time period.
Optionally, in a possible implementation manner of the first aspect, the change direction of the lighting area is a direction change away from the first lighting area, the preset luminance threshold includes a maximum luminance threshold, and the preset area boundary includes a preset upper boundary;
the setting of the third luminance interval according to the second initial luminance and the preset luminance threshold value, and determining the third target luminance and the fourth target luminance through the third luminance interval, includes:
setting a third brightness interval according to the second initial brightness and the maximum brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval;
the setting of the first target boundary interval according to the initial boundary and the preset region boundary and the determination of the first target boundary and the second target boundary through the first target boundary interval includes:
and setting a first target boundary interval according to the initial boundary and the preset upper boundary, and determining a first target boundary and a second target boundary through the first target boundary interval.
Optionally, in a possible implementation manner of the first aspect, the change direction of the lighting area is a direction change close to the first lighting area, the preset luminance threshold includes a minimum luminance threshold, and the preset area boundary includes a preset lower boundary;
the setting of the third luminance interval according to the second initial luminance and the preset luminance threshold value, and determining the third target luminance and the fourth target luminance through the third luminance interval, includes:
setting a third brightness interval according to the second initial brightness and the minimum brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval;
the setting of the first target boundary interval according to the initial boundary and the preset region boundary and the determination of the first target boundary and the second target boundary through the first target boundary interval includes:
and setting a first target boundary interval according to the initial boundary and a preset lower boundary, and determining a first target boundary and a second target boundary through the first target boundary interval.
Optionally, in a possible implementation manner of the first aspect, the second light area includes a plurality of sequentially connected sub-areas, distances between each sub-area and the first light area are different, and a sub-area farther from the first light area has a smaller width and a lower brightness.
Optionally, in a possible implementation manner of the first aspect, the lamp area includes a plurality of brightness points, and the brightness points are distributed in an array.
A second aspect of the embodiments of the present application provides a lighting device control apparatus, including:
the mode acquisition module is used for acquiring the lamplight display modes of all lamplight areas on the lamplight equipment, and the lamplight areas comprise a first lamplight area and a second lamplight area;
the parameter determining module is used for determining control parameters of each corresponding lamplight area in each lamplight period, and the control parameters comprise the brightness of brightness points of the lamplight areas and the change direction of the lamplight areas;
and the equipment control module is used for controlling the lighting equipment in each lighting period according to the control parameters.
A third aspect of an embodiment of the present application provides a terminal device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the light device control method of the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program is executed by a processor to implement the light device control method according to the first aspect.
A fifth aspect of embodiments of the present application provides a computer program product, which, when run on a terminal device, causes the terminal device to execute the lighting device control method of the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: the application discloses a light equipment control method, a light equipment control device, terminal equipment and a storage medium, wherein the method comprises the following steps: acquiring a light display mode of each light area on the light equipment; determining control parameters of each corresponding lamplight area in each lamplight period, wherein the control parameters comprise the brightness of a brightness point of each lamplight area and the change direction of each lamplight area; and controlling the lighting equipment according to the control parameters in each lighting period. From this, through the control parameter control lighting equipment that different light display mode set up correspondences to the light that makes lighting equipment send can present different luminance change effect and direction change effect under the light display mode of difference, thereby has promoted the flexibility and the practicality of lighting equipment display effect, has improved user experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a lighting device control method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a lighting device control method according to a second embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a lighting device control method according to a third embodiment of the present application;
fig. 4 is a schematic flowchart of a lighting device control method according to a fourth embodiment of the present application;
fig. 5 is a schematic flowchart of a lighting device control method according to a fifth embodiment of the present application;
fig. 6 is a schematic structural diagram of a lighting device control apparatus according to a sixth embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal device according to a seventh embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically stated.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In the correlation technique, the display effect of the lighting equipment is generally a fixed display mode of factory setting, or needs a professional to program and debug the setting according to specific lighting equipment, the display effect of the lighting equipment is generally single and fixed, diversified display effects cannot be presented, and the display effect of the lighting equipment cannot be adaptively adjusted according to user requirements, so that the flexibility and practicability of the display effect control of the lighting equipment are poor, and the user experience is influenced.
In view of this, embodiments of the present application provide a lighting device control method, an apparatus, a terminal device, and a storage medium, which control a lighting device by setting corresponding control parameters in different lighting display modes, so that lighting emitted by the lighting device can present different brightness change effects and direction change effects in different lighting display modes, thereby improving flexibility and practicability of the display effect of the lighting device, and improving user experience.
The application scenarios of the lighting device control method provided by the embodiment of the application are exemplified below, and the application can be applied to flame and light simulation of vertical point control devices. The flame changes very much, and the flexibility is very high, and consequently the control requirement to lighting equipment is also very strict, and this application embodiment can abstract into the luminance point of different luminance with various details in the flame, then through the luminance point of different luminance and the light region of different directions of change, simulates real flame, improves lighting equipment display effect's flexibility and variety.
In order to explain the technical solution of the present application, the following description is given by way of specific examples.
Referring to fig. 1, a schematic flow chart of a lighting device control method according to a first embodiment of the present application is shown. As shown in fig. 1, the light device control method may include the steps of:
step 101, obtaining a light display mode of each light area on the lighting equipment.
The lighting area comprises a first lighting area and a second lighting area, and the first lighting area and the second lighting area are not overlapped and are continuous.
As a possible embodiment, the light area may include a plurality of brightness points, where the brightness points are light-emitting points with adjustable brightness, and the actual composition units of the brightness points may include various forms, for example, one LED may serve as one brightness point, or one light-emitting module composed of a plurality of LEDs may also serve as one brightness point, and the control of the light efficiency in the light area is realized by controlling the brightness of each brightness point in the light area. In order to improve the flexibility of light display, a plurality of non-overlapping and continuous light areas can be respectively arranged, and then different light control is respectively carried out on each light area.
As a possible embodiment, the display effect of real flames can be modeled in the light area, and the light area is divided into two light areas, namely a first light area as a flame main body and a second light area as a flame flare.
It should be understood that, for convenience of illustration, in the embodiments of the present application, the first luminance point is used to indicate the luminance point in the first lamp region, the first display region is used to indicate the range formed by the luminance points with luminance in the first lamp region, the second luminance point is used to indicate the luminance point in the second lamp region, and the second display region is used to indicate the range formed by the luminance points with luminance in the second lamp region. The first brightness point and the second brightness point are displayed in different modes, so that the first light area and the second light area show different display effects.
As a possible implementation manner, the light display mode may include an enhancement mode and a reduction mode, where the enhancement mode may be implemented by increasing the brightness of the brightness points and adjusting the change direction of the light area, and the change direction of the light area in the enhancement mode may be implemented by specifically increasing the number of the light-emitting brightness points; the corresponding weakening mode can be realized by reducing the brightness of the brightness points and adjusting the change direction of the light area, wherein the change direction of the light area in the weakening mode can be realized by reducing the number of the light-emitting brightness points. The type and implementation process of the light display mode can be selected according to the actual application scene, and the application is not limited to this.
And 102, determining control parameters of each corresponding light area in each light period.
The control parameters comprise the brightness of the brightness point of the lamplight area and the change direction of the lamplight area, and different control parameters are determined according to different lamplight display modes.
In the embodiment of the present application, the light cycle refers to: the time required for controlling the light display mode is set every time, the light control period can be set according to actual application scenes, and can be one second.
As a possible implementation manner, in order to make the lighting effect of the whole lighting device look regular, the brightness of each first brightness point may be set to be greater than the brightness of each second brightness point, so as to simulate the display effect that the brightness of the bottom end of the real flame is greater than the brightness of the top end.
As a possible implementation manner, in order to display different lighting effects, the lighting area includes a plurality of brightness points, the brightness points are distributed in an array, and as many brightness points as possible may be set in the lighting area, so that the display control scheme of the lighting device has more possibilities.
And 103, controlling the lighting equipment according to the control parameters in each lighting period.
In this application embodiment, through the different control parameter that corresponds under the different light display modes, control lighting equipment demonstrates different luminance variation effect and direction change effect to the flexibility and the practicality of lighting equipment display effect have been promoted.
The light equipment control method disclosed by the above embodiment of the application comprises the following steps: acquiring a light display mode of each light area on the light equipment; determining control parameters of each corresponding lighting area in each lighting period, wherein the control parameters comprise the brightness of a brightness point of the lighting area and the change direction of the lighting area; and controlling the lighting equipment according to the control parameters in each lighting period. From this, through the control parameter control lighting equipment that different light display mode set up correspondences to the light that makes lighting equipment send can present different luminance change effect and direction change effect under the light display mode of difference, thereby has promoted the flexibility and the practicality of lighting equipment display effect, has improved user experience.
In this application a possible implementation, in order to make the whole light efficiency of lighting equipment seem more true, according to the characteristics that real flame main part luminance is higher and luminance variation range is little, can keep the same luminance with all first luminance points, so that the first display area that first light area corresponds is fixed, then through the luminance that improves or reduces all first luminance points simultaneously, realize the control to first light area on the lighting equipment, promote the flexibility and the practicality of lighting equipment display effect.
Referring to fig. 2, a schematic flow chart of a lighting device control method provided in the second embodiment of the present application is shown. And the first display area corresponding to the first light area is fixed. As shown in fig. 2, the light device control method may include the steps of:
step 201, obtaining the light display mode of each light area on the light equipment.
The light area comprises a first light area and a second light area.
The detailed implementation process and principle of step 201 may refer to the detailed description of the above embodiments, and are not described herein again.
Step 202, acquiring a preset brightness threshold and a first initial brightness corresponding to the first lighting area according to the lighting display mode corresponding to the lighting period.
The first initial brightness is the brightness of each first brightness point at the beginning of the lamp light period.
In the embodiment of the application, in order to change the light regularity and make the light display effect more real, the brightness of all the first brightness points can be changed at the same time and kept consistent. That is, the first start luminances of the respective first luminance points may be the same, the first target luminances of the respective first luminance points may be the same, and the second target luminances of the respective first luminance points may be the same. That is, the brightness of each first brightness point in the first lamp region is the same and varies synchronously, and the first display region is fixed.
In this embodiment, the preset brightness threshold of the light region may include a maximum brightness threshold and a minimum brightness threshold, and the preset brightness threshold used when determining the target brightness may be determined according to the light display mode, for example, when the light display mode is the enhanced mode, the preset brightness threshold used may be the maximum brightness threshold; the preset brightness threshold used may be a minimum brightness threshold when the light display mode is the dimming mode. The preset brightness threshold may be determined according to an actual application scenario, which is not limited in the present application.
Step 203, a first brightness interval is set according to the first start brightness and a preset brightness threshold, and a first target brightness and a second target brightness are determined through the first brightness interval.
The two ends of the first brightness interval are respectively a first initial brightness and a preset brightness threshold, and the first target brightness and the second target brightness are within the first brightness interval. The first target brightness and the second target brightness refer to: two different luminances that each first luminance point needs to reach in sequence in a lighting period.
Further, in order to improve flexibility of the light display control scheme, two target luminances, that is, a first target luminance and a second target luminance, may be sequentially determined within the first luminance interval, where the first target luminance may be any luminance between the first initial luminance and a preset luminance threshold, and the second target luminance may be any luminance between the first initial luminance and the first target luminance, so that after each first luminance point of the first light area reaches the first target luminance, the first target luminance is changed to the second target luminance to simulate a flame bounce effect, thereby further improving flexibility and reality of the light display effect, that is, in a possible implementation manner of the present application, step 203 may include:
determining any brightness in the first brightness interval as a first target brightness corresponding to the first lamplight area;
setting a second brightness interval according to the first initial brightness and the first target brightness;
and determining any brightness in the second brightness interval as a second target brightness corresponding to the first lighting area.
The two ends of the second brightness interval are respectively the first initial brightness and the first target brightness.
And step 204, controlling the lighting equipment according to the control parameters in each lighting period.
The control parameter comprises a first target brightness and a second target brightness corresponding to a first brightness point in a first lamp area.
Further, in order to ensure the regularity of the light effect change of the light, each time the complete light control can be completed in a fixed light cycle, each light cycle can be randomly divided into a first time period and a second time period, and then the light equipment is controlled according to the control parameters in the first time period and the second time period respectively, namely in a possible implementation manner of the present application, the light cycle includes the first time period and the second time period, the first time period and the second time period are not overlapped and continuous, and the step 204 may include:
in a first time period, adjusting the brightness of a first lamplight area from a first initial brightness to a first target brightness according to a preset brightness adjustment frequency;
and in a second time period, adjusting the brightness of the first light area from the first target brightness to a second target brightness according to a preset brightness adjustment frequency.
The brightness of each first brightness point in the first light area at the end of the first time period is a first target brightness, and the brightness of each first brightness point in the first light area at the end of the second time period is a second target brightness.
In order to ensure the gradual change process of the display control of the lighting equipment, the first time period and the second time period can be divided into a plurality of sub-time periods respectively by setting the brightness adjustment frequency, and then the brightness adjustment is carried out in different sub-time periods respectively. The brightness adjustment frequency may be adjusted according to an actual application scenario, which is not limited in this application, for example, a light cycle is one second, the brightness adjustment frequency is one second and fifty times, and then the time interval between each sub-period may be twenty milliseconds. Then, according to the number of the sub-time periods, the first initial brightness and the first target brightness, determining a brightness adjustment amplitude corresponding to each sub-time period in the process of adjusting the brightness of the first brightness point from the first initial brightness to the first target brightness, further determining the brightness of the first brightness point in each sub-time period according to the brightness adjustment amplitude and the first initial brightness, and adjusting the brightness of the first brightness point to the brightness in each brightness adjustment sub-time period, thereby realizing a gradual change process of the brightness and a light display range, and enabling the light effect change of the light to be more reasonable, regular and real.
The light equipment control method disclosed by the above embodiment of the application comprises the following steps: acquiring a light display mode of each light area on the light equipment; acquiring a preset brightness threshold value and a first initial brightness corresponding to a first lighting area according to a lighting display mode corresponding to a lighting period; setting a first brightness interval according to the first initial brightness and a preset brightness threshold, and determining a first target brightness and a second target brightness through the first brightness interval; and in each light period, controlling the light equipment according to the first target brightness and the second target brightness. Therefore, the display effect that flames become vigorous when the real flames are enhanced can be achieved through brightness control of the first time period and the second time period respectively, the display effect that flames become weak when the real flames are weakened is simulated, the flexibility and the practicability of the light display effect are further improved, and user experience is improved.
In this application a possible implementation, in order to make the whole light efficiency of lighting apparatus seem truer, according to the characteristics that flame part luminance is lower and luminance variation range is big, can set up the luminance that is apart from the regional second luminance point of first light farther lower, that is to say that the regional second display area that corresponds of second light can be the gradient change, thereby form the effect of a light gradual change, that is to say that the luminance of each second luminance point can be different in the regional second light, and the second display range is unfixed, through setting up the luminance and the corresponding border of second display area of each second luminance point respectively, realize the regional control of second light on the lighting apparatus, promote flexibility and the practicality of lighting apparatus display effect.
Referring to fig. 3, a schematic flow chart of a lighting device control method provided in the third embodiment of the present application is shown. And the first display area corresponding to the first light area is fixed. As shown in fig. 3, the light device control method may include the steps of:
step 301, obtaining the lighting display mode of each lighting area on the lighting device.
The light area comprises a first light area and a second light area.
The detailed implementation process and principle of step 301 may refer to the detailed description of the above embodiments, and are not described herein again.
Step 302, obtaining a preset brightness threshold, a second initial brightness, a preset area boundary and an initial boundary corresponding to a second lighting area according to a lighting display mode corresponding to a lighting period.
Wherein, the corresponding regional boundary of presetting of second light region means: the boundary of an area formed by all the second brightness points in the second lamplight area; the initial boundary corresponding to the second light area is as follows: at the beginning of the lamp cycle, there is a boundary of the area enclosed by the second brightness point of the brightness.
As a possible implementation manner, in order to improve the flexibility of the display control scheme of the lighting device, the second display area may be adjusted within a lighting period within a range that does not exceed the boundary of the preset area, so as to simulate the bounce effect of the real flame, and because the real flame generally changes vertically, the preset boundary may include a preset upper boundary and a preset lower boundary, and the simulation of the real flame is completed between the preset upper boundary and the preset lower boundary.
The second initial brightness is the brightness of each second brightness point at the starting time of the lighting period, and the brightness of each second brightness point between the preset upper boundary and the initial boundary is 0 at the starting time of the lighting period.
In the embodiment of the present application, the preset brightness threshold may refer to the detailed explanation in step 202, which is not described in detail in this embodiment.
Step 303, setting a third brightness interval according to the second starting brightness and the preset brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval.
And aiming at any second brightness point, the two ends of a third brightness interval corresponding to the second brightness point are respectively the second initial brightness and the preset brightness threshold of the second brightness point, and the third target brightness and the fourth target brightness are in the third brightness interval. The third target brightness and the fourth target brightness refer to: two different brightness levels which are required to be reached by the second brightness point in sequence in a lighting period.
As a possible implementation manner, in order to make the whole lighting effect look more regular and real, the second lighting area may include a plurality of sub-areas that are connected in sequence, distances between each sub-area and the first lighting area are different, and the sub-area farther from the first lighting area has a smaller width and a lower brightness. That is, the second light intensity point farther from the first lamp light region may have a lower intensity, and the trend of the change in the intensity of the lamp light may be kept uniform, that is, the amount of change in the intensity of each second light intensity point may be kept uniform. The brightness of each second brightness point can be increased or decreased simultaneously, and the brightness variation amount increased or decreased every time is the same, so that the lighting effect change of the lamp light is more reasonable, regular and real.
It should be noted that, because the second lighting area may exhibit a gradual display effect of gradually decreasing the lighting, the second starting luminances of the second luminance points may be different, the third target luminances of the second luminance points may also be different, and the fourth target luminances of the second luminance points may also be different, so that the second luminance points in the second lighting area may achieve a display effect of gradually decreasing the luminance at each time.
Further, in order to improve the flexibility of the display control scheme of the lighting device, two target luminances, that is, a third target luminance and a fourth target luminance, may be sequentially determined within a third luminance interval, where the third target luminance may be any luminance between the second starting luminance and a preset luminance threshold, and the fourth target luminance may be any luminance between the second starting luminance and the third target luminance, so that after each second luminance point of the second lighting area reaches the third target luminance, the luminance is changed to the fourth target luminance, so as to simulate a flame bounce effect, thereby further improving the flexibility and the authenticity of the lighting display effect, that is, in one possible implementation manner of the present application, step 303 may include:
determining any brightness in the third brightness interval as a third target brightness corresponding to the second lighting area;
setting a fourth brightness interval according to the second initial brightness and the third target brightness;
and determining any brightness in the fourth brightness interval as a fourth target brightness corresponding to the second lamplight area.
And the two ends of the fourth brightness interval are respectively the second initial brightness and the third target brightness.
Step 304, a first target boundary interval is set according to the initial boundary and the preset region boundary, and a first target boundary and a second target boundary are determined through the first target boundary interval.
The two ends of the first target boundary interval are respectively an initial boundary and a preset region boundary.
The first target boundary and the second target boundary may refer to two different boundaries corresponding to the second display area when the second display area is enlarged first and then reduced; or, the two different boundaries respectively corresponding to the second lighting display range being reduced or enlarged first can be also referred to.
Further, in order to improve flexibility of a display control scheme of a lighting device, two target boundaries, that is, a first target boundary and a second target boundary, may be sequentially determined within a first target boundary interval, where the first target boundary may be any position between an initial boundary and a preset region boundary, and the second target boundary may be any position between the initial boundary and the first target boundary, so that after the initial boundary of a second display region of the second lighting region is changed to the first target boundary, the initial boundary is changed to the second target boundary, so as to simulate a flame bounce effect, thereby further improving flexibility and authenticity of a lighting display effect, that is, in a possible implementation manner of the present application, step 304 may include:
determining any position in the first target boundary interval as a first target boundary corresponding to the second lamplight area;
setting a second target boundary interval according to the initial boundary and the first target boundary;
and determining any position in the second target boundary interval as a second target boundary corresponding to the second lighting area.
The two ends of the second target boundary interval are respectively an initial boundary and a first target boundary.
And 305, controlling the lighting equipment according to the control parameters in each lighting period.
The control parameters comprise a third target brightness and a fourth target brightness corresponding to a second brightness point in a second light area, and a first target boundary and a second target boundary corresponding to a second display area.
Further, in order to ensure the regularity of the light effect change of the light, each time the complete light control can be completed in a fixed light cycle, each light cycle can be randomly divided into a first time period and a second time period, and then the light equipment is controlled according to the control parameters in the first time period and the second time period respectively, that is, in a possible implementation manner of the present application, the light cycle includes the first time period and the second time period, the first time period and the second time period are not overlapped and are continuous, step 305 may include:
in the first time period, adjusting the brightness of the second lamplight area from the second initial brightness to a third target brightness according to a preset brightness adjustment frequency, and adjusting the initial boundary to the first target boundary, so that the second display area corresponding to the second lamplight area is located in the first target boundary when the first time period is over;
and in a second time period, adjusting the brightness of the second light area from the third target brightness to the fourth target brightness according to a preset brightness adjustment frequency, and adjusting the first target boundary to the second target boundary so that the second display area is positioned in the second target boundary at the end of the second time period.
When the first time period is finished, the brightness of each second brightness point in the second light area is a third target brightness, the corresponding boundary of the second display area is a first target boundary, and the brightness of each brightness point except the second display area in the second light area is 0. At the end of the second time period, the brightness of each second brightness point in the second light region is the fourth target brightness, the corresponding boundary of the second display region is the second target boundary, and the brightness of each brightness point in the second light region except the second display region is 0.
It should be noted that, for the specific content of the brightness adjustment frequency, reference may be made to the detailed description in step 204, which is not described herein again.
In this embodiment of the application, when a lighting period starts, according to a lighting display mode corresponding to the lighting period, a first target boundary and a second target boundary within the lighting period may be determined, so as to control an initial boundary corresponding to a second display area to change to the first target boundary first, and then change from the first target boundary to the second target boundary, thereby implementing a display effect in which the second display area is first enlarged and then reduced in small amplitude, or implementing a display effect in which the second display area is first reduced and then expanded in small amplitude.
In the embodiment of the application, the brightness of each second brightness point is gradually changed from the corresponding second initial brightness to the corresponding third target brightness, the initial boundary corresponding to the second display area is gradually changed to the first target boundary, then, the brightness of each second brightness point is gradually changed from the corresponding third target brightness to the corresponding fourth target brightness, and the corresponding first target boundary of the second display area is gradually changed to the second target boundary, so that the brightness and the change direction of the second display area are adjusted, and thus, the flexibility and the reality of the lamplight display effect are improved.
In the embodiment of the present application, in order to simulate the process of the flame becoming strong or weak, the brightness of each second brightness point may be adjusted to indirectly adjust the changing directions of the second display area and the second lamp area.
Illustratively, 10 second brightness points exist in the vertical direction, the brightness of the lower 5 second brightness points is 1, the brightness of the upper 5 second brightness points is 0, then the brightness of the 5 th second brightness point from top to bottom is adjusted from 0 to 1, the brightness of the other second brightness points is kept unchanged, the light change direction is upward, and the corresponding second light display range is enlarged.
Illustratively, 10 second brightness points exist in the vertical direction, the brightness of the lower 5 second brightness points is 1, the brightness of the upper 5 second brightness points is 0, then the brightness of the 6 th second brightness point from top to bottom is adjusted from 1 to 0, the brightness of the other second brightness points is kept unchanged, and the light change direction is downward, so that the corresponding second light display range is also reduced.
The light equipment control method disclosed by the above embodiment of the application includes: acquiring a light display mode of each light area on the light equipment; acquiring a preset brightness threshold value, a second initial brightness, a preset area boundary and an initial boundary corresponding to a second lighting area according to a lighting display mode corresponding to a lighting period; setting a third brightness interval according to the second initial brightness and a preset brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval; setting a first target boundary interval according to the initial boundary and the preset region boundary, and determining a first target boundary and a second target boundary through the first target boundary interval; and controlling the lighting equipment according to the control parameters in each lighting period. Therefore, through the control of the first time period and the second time period, the display effect that the flame can fall back in a small amplitude when the top end of the flame is reached when the real flame is simulated to be enhanced and the display effect that the flame can rise back when the lowest part of the flame is reached when the real flame is simulated to be weakened can be realized, the flexibility and the practicability of the light display effect are further improved, and the user experience is improved.
In a possible implementation manner of the present application, when the light display mode is the enhanced mode, correspondingly, the change direction of the second light area changes in a direction away from the first light area, the preset brightness threshold is the maximum brightness threshold, and the preset area boundary is the preset upper boundary, so that the second display area of the light device is controlled to present a display effect that flames become vigorous.
Referring to fig. 4, a schematic flow chart of a lighting device control method according to a fourth embodiment of the present application is shown. As shown in fig. 4, the light device control method may include the steps of:
step 401, obtaining a lighting display mode of each lighting area on the lighting device.
The light area comprises a first light area and a second light area.
Wherein, the light display mode is an enhanced mode.
Step 402, acquiring a preset brightness threshold, a second initial brightness, a preset area boundary and an initial boundary corresponding to a second lighting area according to a lighting display mode corresponding to a lighting period.
The preset brightness threshold is a maximum brightness threshold, and the preset area boundary is a preset upper boundary.
For the specific implementation process and principle of the steps 401 to 402, reference may be made to the detailed description of the above embodiments, which is not described herein again.
Step 403, setting a third luminance interval according to the second starting luminance and the maximum luminance threshold, and determining a third target luminance and a fourth target luminance through the third luminance interval.
In the embodiment of the present application, the third target brightness may be any brightness between the second starting brightness and the maximum brightness threshold, so that the overall brightness of the second display area becomes high, and a display effect that flames become strong is presented.
As a possible implementation manner, the preset upper boundary may be directly used as the first target boundary, so as to perform a light enhancement control on the lighting device in a larger range.
Step 404, a first target boundary interval is set according to the initial boundary and the preset upper boundary, and a first target boundary and a second target boundary are determined through the first target boundary interval.
In this embodiment, the first target boundary may be any position between the initial boundary and the preset upper boundary, so that the second display area is entirely changed upward to present a display effect that flames become vigorous.
And step 405, controlling the lighting equipment according to the control parameters in each lighting period.
The control parameters comprise a third target brightness and a fourth target brightness corresponding to a second brightness point in a second light area, and a first target boundary and a second target boundary corresponding to a second display area.
For the detailed implementation process and principle of the step 405, reference may be made to the detailed description of the above embodiments, which is not described herein again.
The light equipment control method disclosed by the above embodiment of the application comprises the following steps: acquiring a light display mode of each light area on the light equipment; acquiring a maximum brightness threshold value, a second initial brightness, a preset upper boundary and an initial boundary corresponding to a second lighting area according to a lighting display mode corresponding to a lighting period; setting a third brightness interval according to the second initial brightness and the maximum brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval; setting a first target boundary interval according to the initial boundary and a preset upper boundary, and determining a first target boundary and a second target boundary through the first target boundary interval; and controlling the lighting equipment according to the control parameters in each lighting period. From this, through will predetermineeing the luminance threshold value and set up to the maximum luminance threshold value, will predetermine regional boundary and set up to predetermineeing the upper bound to the second display area of control lighting equipment presents the display effect that flame becomes vigorous, has further promoted the flexibility and the practicality of light display effect, has improved user experience.
In a possible implementation manner of the present application, when the light display mode is the dimming mode, correspondingly, the direction of change of the second light area changes for a direction close to the first light area, the preset brightness threshold is the minimum brightness threshold, and the preset area boundary is the preset lower boundary, so that the second display area of the light control device presents a display effect of flame weakening.
Referring to fig. 5, a schematic flow chart of a lighting device control method provided in the fifth embodiment of the present application is shown. As shown in fig. 5, the light device control method may include the steps of:
step 501, obtaining a lighting display mode of each lighting area on lighting equipment.
The light area comprises a first light area and a second light area.
Wherein, the light display mode is a weakening mode.
Step 502, obtaining a preset brightness threshold, a second initial brightness, a preset area boundary and an initial boundary corresponding to a second lighting area according to a lighting display mode corresponding to a lighting period.
The preset brightness threshold is a minimum brightness threshold, and the preset area boundary is a preset lower boundary.
The detailed implementation process and principle of the steps 501 to 502 may refer to the detailed description of the above embodiments, and are not described herein again.
Step 503, setting a third luminance interval according to the second starting luminance and the minimum luminance threshold, and determining a third target luminance and a fourth target luminance through the third luminance interval.
In the embodiment of the present application, the third target brightness may be any brightness between the second starting brightness and the minimum brightness threshold, so that the overall brightness of the second display area becomes lower to present a display effect of flame weakening.
As a possible implementation manner, the preset lower boundary may be directly used as the first target boundary, so as to perform a light dimming control on the lighting device in a larger range.
Step 504, a first target boundary interval is set according to the initial boundary and a preset lower boundary, and a first target boundary and a second target boundary are determined through the first target boundary interval.
In the embodiment of the application, the first target boundary may be any position between the initial boundary and the preset lower boundary, so that the second display area is changed downwards in the whole to present the display effect of flame weakening.
And 505, controlling the lighting equipment according to the control parameters in each lighting period.
The control parameters comprise a third target brightness and a fourth target brightness corresponding to a second brightness point in a second light area, and a first target boundary and a second target boundary corresponding to a second display area.
The detailed implementation process and principle of the step 505 may refer to the detailed description of the above embodiments, and are not described herein again.
The light equipment control method disclosed by the above embodiment of the application includes: acquiring a light display mode of each light area on the light equipment; acquiring a minimum brightness threshold value, a second initial brightness, a preset lower boundary and an initial boundary corresponding to a second lighting area according to a lighting display mode corresponding to a lighting period; setting a third brightness interval according to the second initial brightness and the minimum brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval; setting a first target boundary interval according to the initial boundary and a preset lower boundary, and determining a first target boundary and a second target boundary through the first target boundary interval; and controlling the lighting equipment according to the control parameters in each lighting period. From this, through will predetermineeing luminance threshold value and set up to minimum luminance threshold value, will predetermine regional border and set up to predetermineeing the lower boundary to the second display area of control lighting equipment presents the display effect of flame debility, has further promoted the flexibility and the practicality of light display effect, has improved user experience.
Referring to fig. 6, a schematic structural diagram of a lighting device control apparatus provided in a sixth embodiment of the present application is shown, and for convenience of description, only the portions related to the embodiment of the present application are shown.
The lighting device control device may specifically include the following modules:
the mode acquisition module 601 is configured to acquire a lighting display mode of each lighting area on the lighting device, where the lighting area includes a first lighting area and a second lighting area;
and a parameter determining module 602, configured to determine a control parameter of each corresponding light area in each light period.
The control parameters comprise the brightness of a brightness point of a lighting area and the change direction of the lighting area;
and the device control module 603 is configured to control the lighting device according to the control parameter in each lighting period.
The light equipment controlling means that above-mentioned embodiment of this application disclosed includes: acquiring a light display mode of each light area on the light equipment; determining control parameters of each corresponding lamplight area in each lamplight period, wherein the control parameters comprise the brightness of a brightness point of each lamplight area and the change direction of each lamplight area; and controlling the lighting equipment according to the control parameters in each lighting period. From this, through the control parameter control lighting equipment that different light display mode set up correspondences to the light that makes lighting equipment send can present different luminance change effect and direction change effect under the light display mode of difference, thereby has promoted the flexibility and the practicality of lighting equipment display effect, has improved user experience.
In a sixth possible implementation manner of this embodiment of the application, the first display area corresponding to the first lighting area is fixed, and the parameter determining module 602 may specifically include the following sub-modules:
and the first obtaining submodule is used for obtaining a preset brightness threshold value and a first initial brightness corresponding to the first lighting area according to the lighting display mode corresponding to the lighting period.
And the first determining submodule is used for setting a first brightness interval according to the first initial brightness and a preset brightness threshold value and determining a first target brightness and a second target brightness through the first brightness interval.
In a sixth possible implementation manner of the embodiment of the present application, the first determining submodule may specifically include the following units:
and the first determining unit is used for determining any brightness in the first brightness interval as a first target brightness corresponding to the first light area.
The first setting unit is used for setting a second brightness interval according to the first initial brightness and the first target brightness.
And the second determining unit is used for determining any brightness in the second brightness interval as a second target brightness corresponding to the first lamplight area.
In a sixth possible implementation manner of the embodiment of the present application, the light cycle includes a first time period and a second time period, where the first time period and the second time period are not overlapped and are consecutive, and the device control module 603 specifically includes the following sub-modules:
the first adjusting submodule is used for adjusting the brightness of the first lamplight area from the first initial brightness to the first target brightness according to the preset brightness adjusting frequency in the first time period;
and the second adjusting submodule is used for adjusting the brightness of the first lamplight area from the first target brightness to the second target brightness according to the preset brightness adjusting frequency in a second time period.
In six possible implementation manners of the embodiment of the present application, the parameter determining module 602 may specifically include the following sub-modules:
and the second obtaining submodule is used for obtaining a preset brightness threshold value, a second initial brightness, a preset area boundary and an initial boundary corresponding to a second lighting area according to the lighting display mode corresponding to the lighting period.
And the second determining submodule is used for setting a third brightness interval according to the second initial brightness and the preset brightness threshold value and determining a third target brightness and a fourth target brightness through the third brightness interval.
And the third determining submodule is used for setting a first target boundary interval according to the initial boundary and the preset region boundary, and determining a first target boundary and a second target boundary through the first target boundary interval.
The two ends of the first target boundary interval are respectively an initial boundary and a preset region boundary.
In six possible implementation manners of the embodiment of the present application, the second determining submodule may specifically include the following units:
and the third determining unit is used for determining any brightness in the third brightness interval as a third target brightness corresponding to the second lighting area.
And the second setting unit is used for setting a fourth brightness interval according to the second starting brightness and the third target brightness.
And the fourth determining unit is used for determining any brightness in the fourth brightness interval as a fourth target brightness corresponding to the second lamplight area.
In six possible implementation manners of the embodiment of the present application, the third determining submodule may specifically include the following units:
and the fifth determining unit is used for determining any position in the first target boundary interval as a first target boundary corresponding to the second lighting area.
And the third setting unit is used for setting a second target boundary interval according to the initial boundary and the first target boundary.
And the sixth determining unit is used for determining any position in the second target boundary interval as a second target boundary corresponding to the second light area.
In a sixth possible implementation manner of the embodiment of the present application, the light cycle includes a first time period and a second time period, where the first time period and the second time period are not overlapped and continuous, and the device control module 603 specifically includes the following sub-modules:
and the third adjusting submodule is used for adjusting the brightness of the second lamplight area from the second initial brightness to the third target brightness according to the preset brightness adjusting frequency in the first time period, and adjusting the initial boundary to the first target boundary so as to enable the second display area corresponding to the second lamplight area to be positioned in the first target boundary when the first time period is finished.
And the fourth adjusting submodule is used for adjusting the brightness of the second lamplight area from the third target brightness to the fourth target brightness according to the preset brightness adjusting frequency in the second time period, and adjusting the first target boundary to the second target boundary so as to enable the second display area to be located in the second target boundary when the second time period is finished.
In a sixth possible implementation manner of the embodiment of the present application, the change direction of the lighting area is a direction change away from the first lighting area, the preset luminance threshold includes a maximum luminance threshold, the preset area boundary includes a preset upper boundary, and the second determining submodule specifically includes the following units:
and the seventh determining unit is used for setting a third brightness interval according to the second initial brightness and the maximum brightness threshold value, and determining a third target brightness and a fourth target brightness through the third brightness interval.
The third determining submodule may specifically include the following units:
and the eighth determining unit is used for setting a first target boundary interval according to the initial boundary and the preset upper boundary, and determining the first target boundary and the second target boundary through the first target boundary interval.
In a sixth possible implementation manner of the embodiment of the present application, the change direction of the lighting area is a direction change close to the first lighting area, the preset brightness threshold includes a minimum brightness threshold, the preset area boundary includes a preset lower boundary, and the second determining submodule may specifically include the following units:
and the ninth determining unit is used for setting a third brightness interval according to the second starting brightness and the minimum brightness threshold value, and determining a third target brightness and a fourth target brightness through the third brightness interval.
The third determining submodule may specifically include the following units:
and the tenth determining unit is used for setting a first target boundary interval according to the initial boundary and the preset lower boundary, and determining the first target boundary and the second target boundary through the first target boundary interval.
In a sixth possible implementation manner of the embodiment of the present application, the second light area includes a plurality of sequentially connected sub-areas, distances between each sub-area and the first light area are different, and the width of the sub-area farther away from the first light area is smaller and the brightness is lower.
In six possible implementation manners of the embodiment of the present application, the lighting area includes a plurality of brightness points, and the brightness points are distributed in an array.
The light equipment controlling means that above-mentioned embodiment of this application disclosed includes: acquiring a light display mode of each light area on the light equipment; acquiring a preset brightness threshold value and a first initial brightness corresponding to a first lighting area according to a lighting display mode corresponding to a lighting period; setting a first brightness interval according to the first initial brightness and a preset brightness threshold, and determining a first target brightness and a second target brightness through the first brightness interval; and in each light period, controlling the light equipment according to the first target brightness and the second target brightness. Therefore, the display effect that flame becomes vigorous when the real flame is simulated to be enhanced and the display effect that flame becomes weak when the real flame is simulated to be weakened can be realized through the brightness control of the first time period and the second time period respectively, so that the flexibility and the practicability of the light display effect are further improved, and the user experience is improved.
The lighting device control device provided by the embodiment of the application can be applied to the method embodiments, and for details, reference is made to the description of the method embodiments, and details are not repeated here.
Fig. 7 is a schematic structural diagram of a terminal device according to a seventh embodiment of the present application. As shown in fig. 7, the terminal device 700 of this embodiment includes: at least one processor 710 (only one shown in fig. 7), a memory 720, and a computer program 721 stored in the memory 720 and operable on the at least one processor 710, the steps in the above-described light device control method embodiment being implemented when the computer program 721 is executed by the processor 710.
The terminal device 700 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 710, a memory 720. Those skilled in the art will appreciate that fig. 7 is merely an example of the terminal device 700, and does not constitute a limitation of the terminal device 700, and may include more or less components than those shown, or combine some of the components, or different components, such as an input-output device, a network access device, etc.
The Processor 710 may be a Central Processing Unit (CPU), and the Processor 710 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 720 may in some embodiments be an internal storage unit of the terminal device 700, such as a hard disk or a memory of the terminal device 700. The memory 720 may also be an external storage device of the terminal device 700 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device 700. Further, the memory 720 may also include both internal and external memory units of the terminal device 700. The memory 720 is used for storing an operating system, an application program, a Boot Loader (Boot Loader), data, and other programs, such as program codes of computer programs. The memory 720 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments described above may be implemented by a computer program, which is stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
When the computer program product runs on the terminal device, the steps in the method embodiments can be implemented when the terminal device executes the computer program product.
The above examples are only for illustrating the technical solutions of the present application, and are not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (15)

1. A lighting device control method, comprising:
the method comprises the steps of obtaining a lighting display mode of each lighting area on lighting equipment, wherein the lighting areas comprise a first lighting area and a second lighting area;
determining control parameters of each corresponding light area in each light period, wherein the control parameters comprise the brightness of a brightness point of the light area and the change direction of the light area;
and in each lighting period, controlling lighting equipment according to the control parameters.
2. The light fixture control method of claim 1, wherein said determining control parameters for each of said light regions for each of said light periods comprises:
a first display area corresponding to the first lamplight area is fixed;
acquiring a preset brightness threshold value and a first initial brightness corresponding to the first lighting area according to a lighting display mode corresponding to the lighting period;
and setting a first brightness interval according to the first initial brightness and the preset brightness threshold, and determining a first target brightness and a second target brightness through the first brightness interval.
3. The light device control method according to claim 2, wherein the setting a first brightness interval according to the first starting brightness and the preset brightness threshold, and determining a first target brightness and a second target brightness through the first brightness interval comprises:
determining any brightness in the first brightness interval as the first target brightness corresponding to the first lighting area;
setting a second brightness interval according to the first starting brightness and the first target brightness;
and determining any brightness in the second brightness interval as the second target brightness corresponding to the first lamplight area.
4. The light fixture control method of claim 2, wherein said controlling the light fixture according to the control parameter during each of the light cycles comprises:
the lighting cycle comprises a first time period and a second time period, and the first time period and the second time period are not overlapped and are continuous;
in the first time period, adjusting the brightness of the first lamplight area from the first initial brightness to the first target brightness according to a preset brightness adjustment frequency;
and in the second time period, adjusting the brightness of the first light area from the first target brightness to the second target brightness according to the preset brightness adjustment frequency.
5. The light fixture control method of claim 1, wherein said determining control parameters for each of said light regions for each of said light periods comprises:
acquiring a preset brightness threshold value, a second initial brightness, a preset area boundary and an initial boundary corresponding to the second lighting area according to a lighting display mode corresponding to the lighting period;
setting a third brightness interval according to the second initial brightness and the preset brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval;
setting a first target boundary interval according to the initial boundary and the preset region boundary, and determining a first target boundary and a second target boundary through the first target boundary interval, wherein two ends of the first target boundary interval are the initial boundary and the preset region boundary respectively.
6. The light device control method according to claim 5, wherein the setting a third luminance interval according to the second starting luminance and the preset luminance threshold, and determining a third target luminance and a fourth target luminance through the third luminance interval comprises:
determining any brightness in the third brightness interval as the third target brightness corresponding to the second lighting area;
setting a fourth brightness interval according to the second starting brightness and the third target brightness;
and determining any brightness in the fourth brightness interval as the fourth target brightness corresponding to the second lighting area.
7. The light device control method according to claim 5, wherein the setting of a first target boundary interval according to the initial boundary and the preset area boundary and the determination of a first target boundary and a second target boundary by the first target boundary interval comprises:
determining any position in the first target boundary interval as the first target boundary corresponding to the second lighting area;
setting a second target boundary interval according to the initial boundary and the first target boundary;
and determining any position in the second target boundary interval as the second target boundary corresponding to the second light area.
8. The light fixture control method of claim 5, wherein said controlling the light fixture according to the control parameter during each of the light cycles comprises:
the lighting cycle comprises a first time period and a second time period, and the first time period and the second time period are not overlapped and are continuous;
in the first time period, adjusting the brightness of the second lighting area from the second initial brightness to the third target brightness according to a preset brightness adjustment frequency, and adjusting the initial boundary to the first target boundary, so that a second display area corresponding to the second lighting area is located in the first target boundary at the end of the first time period;
and in the second time period, adjusting the brightness of the second light area from the third target brightness to the fourth target brightness according to the preset brightness adjustment frequency, and adjusting the first target boundary to the second target boundary, so that the second display area is located in the second target boundary at the end of the second time period.
9. The light device control method according to claim 5, wherein the change direction of the light area is a direction change away from the first light area, the preset brightness threshold comprises a maximum brightness threshold, and the preset area boundary comprises a preset upper boundary;
the setting of a third brightness interval according to the second starting brightness and the preset brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval, includes:
setting a third brightness interval according to the second starting brightness and the maximum brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval;
the setting of a first target boundary interval according to the initial boundary and the preset region boundary and the determination of a first target boundary and a second target boundary through the first target boundary interval includes:
and setting the first target boundary interval according to the initial boundary and the preset upper boundary, and determining the first target boundary and the second target boundary through the first target boundary interval.
10. The light fixture control method of claim 5, wherein the direction of change of the light area is a direction change near the first light area, the preset intensity threshold comprises a minimum intensity threshold, and the preset area boundary comprises a preset lower boundary;
the setting of a third brightness interval according to the second starting brightness and the preset brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval, includes:
setting a third brightness interval according to the second initial brightness and the minimum brightness threshold, and determining a third target brightness and a fourth target brightness through the third brightness interval;
the setting of a first target boundary interval according to the initial boundary and the preset region boundary and the determination of a first target boundary and a second target boundary through the first target boundary interval includes:
and setting the first target boundary interval according to the initial boundary and the preset lower boundary, and determining the first target boundary and the second target boundary through the first target boundary interval.
11. The lighting device control method according to claim 5, wherein the second lighting region includes a plurality of sequentially connected sub-regions, each of the sub-regions has a different distance from the first lighting region, and the sub-regions farther from the first lighting region have a smaller width and a lower brightness.
12. The lighting device control method of any one of claims 1-11, wherein the lighting area comprises a plurality of intensity points, and the intensity points are distributed in an array.
13. A lighting device control apparatus, comprising:
the lighting device comprises a mode acquisition module, a display module and a display module, wherein the mode acquisition module is used for acquiring lighting display modes of lighting areas on the lighting device, and the lighting areas comprise a first lighting area and a second lighting area;
the parameter determination module is used for determining control parameters of each corresponding light area in each light period, and the control parameters comprise the brightness of a brightness point of the light area and the change direction of the light area;
and the equipment control module is used for controlling the lighting equipment in each lighting period according to the control parameters.
14. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 12 when executing the computer program.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 12.
CN202211415835.4A 2022-11-11 2022-11-11 Light equipment control method and device, terminal equipment and storage medium Active CN115460732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211415835.4A CN115460732B (en) 2022-11-11 2022-11-11 Light equipment control method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211415835.4A CN115460732B (en) 2022-11-11 2022-11-11 Light equipment control method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115460732A true CN115460732A (en) 2022-12-09
CN115460732B CN115460732B (en) 2023-03-24

Family

ID=84295453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211415835.4A Active CN115460732B (en) 2022-11-11 2022-11-11 Light equipment control method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115460732B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162078A (en) * 2006-10-12 2008-04-16 王志潮 Method and device for simulating flame image
US20110012540A1 (en) * 2009-07-17 2011-01-20 Superiorlite Corporation Limited Multipurpose flame light
CN207815183U (en) * 2018-01-22 2018-09-04 尹顺宁 Simulated flame head and artificial candle
CN110332496A (en) * 2019-07-17 2019-10-15 江门市丽都照明有限公司 The LED light and lamp string of flame flicking
CN111556605A (en) * 2020-04-21 2020-08-18 宁波大学科学技术学院 Method and system for controlling constant brightness of working surface of table lamp, storage medium and table lamp
US20210012702A1 (en) * 2019-07-08 2021-01-14 Beijing Xiaomi Mobile Software Co., Ltd. Ambient light collecting method and apparatus, terminal and storage medium
CN112767875A (en) * 2021-01-21 2021-05-07 深圳市智岩科技有限公司 Flame lamp effect generating method, device, equipment and storage medium
CN115002983A (en) * 2022-07-15 2022-09-02 深圳市爱图仕影像器材有限公司 Lighting lamp, control method and device thereof, and computer-readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162078A (en) * 2006-10-12 2008-04-16 王志潮 Method and device for simulating flame image
US20110012540A1 (en) * 2009-07-17 2011-01-20 Superiorlite Corporation Limited Multipurpose flame light
CN207815183U (en) * 2018-01-22 2018-09-04 尹顺宁 Simulated flame head and artificial candle
US20210012702A1 (en) * 2019-07-08 2021-01-14 Beijing Xiaomi Mobile Software Co., Ltd. Ambient light collecting method and apparatus, terminal and storage medium
CN110332496A (en) * 2019-07-17 2019-10-15 江门市丽都照明有限公司 The LED light and lamp string of flame flicking
CN111556605A (en) * 2020-04-21 2020-08-18 宁波大学科学技术学院 Method and system for controlling constant brightness of working surface of table lamp, storage medium and table lamp
CN112767875A (en) * 2021-01-21 2021-05-07 深圳市智岩科技有限公司 Flame lamp effect generating method, device, equipment and storage medium
CN115002983A (en) * 2022-07-15 2022-09-02 深圳市爱图仕影像器材有限公司 Lighting lamp, control method and device thereof, and computer-readable storage medium

Also Published As

Publication number Publication date
CN115460732B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN102958241B (en) Lighting control systems and methods,handheld device
CN110012572B (en) Brightness control method and device, equipment and storage medium
CN114051304B (en) Lighting on-off state control method, device, equipment, medium and program product
US11006505B2 (en) Automated re-creation of lighting visual for a venue
CN111612839B (en) Color lamp position identification method, system, device and storage medium
CN106163059B (en) A kind of automatic light modulating method and electronic equipment
CN103035210B (en) The screen-vision screen extended method of mobile terminal and system
CN109243383A (en) A kind of back light brightness regulating method and display device of display screen
CN115460732B (en) Light equipment control method and device, terminal equipment and storage medium
CN114245528B (en) Vehicle lamplight show control method, device, equipment, medium and program product
CN112215938B (en) Method and device for generating reflected illumination data in game and computer equipment
CN113326029A (en) LED lamp brightness adjusting method and system and computer readable storage medium
CN112270759A (en) Image-based light effect processing method, device and equipment and storage medium
EP3925416A1 (en) Led lighting simulation system
CN111800921B (en) Stage lighting control method, medium and electronic device
CN111738967B (en) Model generation method and apparatus, storage medium, and electronic apparatus
CN114513888A (en) Microwave sensor group control method based on bus, computer device and computer readable storage medium
CN111145332B (en) General method for designing photometry for home decoration
US10825406B2 (en) LCD display backlight control system
KR102648460B1 (en) Light emitting device for random performance directing in performance place and control apparatus for controlling the same
CN111988897B (en) Dimming method and device of dimmer, storage medium and dimmer
CN110471573A (en) Adjusting method, device, equipment, medium and the infrared touch frame of infrared signal
CN110276800A (en) Recognition methods and system for image light direction, computer equipment, medium
CN110784966B (en) LED driving current distribution method and device and storage medium
CN114143935B (en) Method and device for adjusting illumination brightness of target area

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
CP01 Change in the name or title of a patent holder

Address after: 518000 floor 2-4, building 21, Longjun Industrial Zone, Jiuwo, Longping community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Aitushi Innovation Technology Co.,Ltd.

Address before: 518000 floor 2-4, building 21, Longjun Industrial Zone, Jiuwo, Longping community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee before: APUTURE IMAGING INDUSTRIES Co.,Ltd.

CP01 Change in the name or title of a patent holder