Lighting and shadow intelligent changing method and system based on automation
By obtaining and updating the light source layout strategy and adjusting the lighting parameters of the lamp system with user interaction information, the problem that traditional lamp systems cannot be dynamically adjusted is solved, and high flexibility and personalized lighting effects are achieved.
Patent Information
- Application Number
- CN202411622900.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-11-14
AI Technical Summary
Traditional lighting control systems cannot dynamically adjust lighting parameters, resulting in insufficient flexibility when changes are made and unable to meet users' personalized needs.
By obtaining the light source layout strategy selected by the management end, updating the area distribution map, determining the occlusion elements and lighting parameters of the light source point, and adjusting the parameters of the light source point based on user interaction information, dynamic adjustment of the lamp system is realized.
It realizes dynamic adjustment of the lamp system, improves flexibility during changes, and can dynamically adjust lighting parameters in accordance with user needs, improving lighting effects and user experience.
Smart Images

Figure CN119155870B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to lighting system technology, and in particular to an automation-based intelligent light and shadow changing method and system. Background Art
[0002] With the continuous development of science and technology, intelligent lighting systems have gradually become an important development direction of modern lighting technology, and lamps with different functions have also provided great convenience for people's lives.
[0003] However, traditional lighting control systems usually pre-configure fixed lighting parameters for lamps, such as lighting brightness, light source color, etc. In this way, lamps generally perform fixed actions based on pre-configured parameters, and cannot dynamically adjust the lighting parameters of the lamps according to user needs.
[0004] Therefore, how to achieve dynamic adjustment of the lighting system and improve the flexibility of the lighting system when it changes has become an urgent problem to be solved. Summary of the invention
[0005] The present invention provides a method and system for intelligently changing light and shadow of lamps based on automation, which can realize dynamic adjustment of a lamp system and improve the flexibility of the lamp system when changing.
[0006] A first aspect of the present invention provides a method for intelligently changing light and shadow based on automation, comprising:
[0007] Obtaining the light source layout strategy selected by the management end, and updating the regional distribution map corresponding to the planned site according to the light source layout strategy to obtain a layout design map of the lighting equipment;
[0008] Determine the shielding elements corresponding to each light source point in the layout design diagram, and determine the lighting parameters corresponding to the light source point according to the shielding parameters of the shielding elements;
[0009] Acquire the interactive area input by the management terminal based on the layout design drawing, and determine the adjustment parameters corresponding to each of the light source points in the interactive area according to the planning information of the management terminal;
[0010] The lighting parameters corresponding to each of the light source points are updated according to the adjustment parameters to obtain the change parameters corresponding to each of the light source points.
[0011] Optionally, in a possible implementation of the first aspect, obtaining a light source layout strategy selected by a management end, and updating a regional distribution map corresponding to a planned site according to the light source layout strategy to obtain a layout design map of lighting equipment includes:
[0012] Receiving a plurality of design areas divided by the management end on the regional distribution map, and obtaining a light source layout strategy configured by the management end for each of the design areas, wherein the light source layout strategy includes a regular layout strategy and an irregular layout strategy;
[0013] Acquire the layout attributes of the design area according to the regular layout strategy, and determine a plurality of light source points in the design area based on the layout attributes; or,
[0014] Acquire a plurality of light source points configured by the management end for the design area based on the non-rule strategy;
[0015] The light source identification corresponding to the lighting device is retrieved, and the light source identification is positioned in the regional distribution map based on the light source point to obtain a layout design map.
[0016] Optionally, in a possible implementation manner of the first aspect, acquiring a layout attribute of the design area according to the rule layout strategy, and determining a plurality of light source points in the design area based on the layout attribute includes:
[0017] Based on the point attribute, a maximum light source span corresponding to the lamp device is obtained, and twice the value of the maximum light source span is obtained as a total span;
[0018] Dividing the design area according to the total span to obtain a plurality of rectangular planning areas with a side length equal to the total span, and determining the center point of each rectangular planning area as the light source point;
[0019] Acquire a layout route in the design area based on linear attributes, wherein the layout attributes include point attributes and linear attributes;
[0020] The route width of the layout route is obtained, and based on the comparison result of the route width and the maximum light source span, the layout type corresponding to the layout route is determined, and based on the layout type, multiple light source points along the layout route are determined, and the layout type includes a bilateral type and an alternating type.
[0021] Optionally, in a possible implementation manner of the first aspect, a layout type corresponding to the layout route is determined according to a comparison result of the route width and the maximum light source span, and a plurality of light source points along the layout route are determined according to the layout type, wherein the layout type includes a bilateral type and an alternating type, including:
[0022] When the route width is greater than the maximum light source span, the layout type is determined to be a double-sided type, and multiple light source points are sequentially determined on both sides of the road along the layout route at intervals of the total span;
[0023] When the route width is less than or equal to the maximum light source span, determining that the layout type of the layout route is an alternating type;
[0024] Determine three times the value of the maximum light source span as the single-side span, and determine multiple light source points on a single side of the road along the layout route at intervals of the single-side span;
[0025] The position point corresponding to the middle position point adjacent to the light source point on one side of the road on the other side of the road is obtained, and the position point is determined to be the light source point corresponding to the other side of the road.
[0026] Optionally, in a possible implementation manner of the first aspect, determining a shielding element corresponding to each light source point in the layout design diagram, and determining a lighting parameter corresponding to the light source point according to a shielding parameter of the shielding element includes:
[0027] Taking the light source point as a reference, determining the lighting range corresponding to the maximum light source span of the lighting device, and traversing the blocking elements within the lighting range;
[0028] Acquire an occlusion attribute of the occlusion element, wherein the occlusion attribute includes a uniform attribute and a local attribute, and acquire a layout density of the occlusion element within the illumination range based on the uniform attribute;
[0029] Determining a shielding parameter of the shielding element according to the layout density, and offsetting a standard lighting parameter based on the shielding parameter to obtain the lighting parameter;
[0030] The layout spacing between the occluding element and the light source point is obtained based on the local attribute, the shielding parameter of the occluding element is determined according to the layout spacing, and the standard lighting parameter is offset based on the shielding parameter to obtain the lighting parameter.
[0031] Optionally, in a possible implementation manner of the first aspect, determining a shielding parameter of the shielding element according to the layout density, and offsetting a standard lighting parameter based on the shielding parameter to obtain the lighting parameter includes:
[0032] Obtaining the shielding parameter based on a ratio of the layout density to the standard density, and obtaining the lighting parameter according to a product of the shielding parameter and the standard lighting parameter;
[0033] The method further comprises: obtaining a layout spacing between the occluding element and the light source point based on the local attribute, determining a shielding parameter of the occluding element according to the layout spacing, and offsetting the standard lighting parameter based on the shielding parameter to obtain the lighting parameter, including:
[0034] The shielding parameter is obtained according to the ratio of the standard spacing and the layout spacing, and the lighting parameter is obtained based on the product of the shielding parameter and the standard lighting parameter.
[0035] Optionally, in a possible implementation manner of the first aspect, obtaining the interactive area input by the management terminal based on the layout design drawing, and determining the adjustment parameters corresponding to each of the light source points in the interactive area according to the planning information of the management terminal, includes:
[0036] Parsing the planning information to obtain a plurality of temporary elements configured by the management terminal in the interactive area, and obtaining a brightness level configured by the management terminal for each of the temporary elements;
[0037] Determine the light source point within the temporary range corresponding to each temporary element as the processing point, wherein, if the processing point corresponds to multiple temporary elements, determine the temporary element closest to the processing point as the temporary element finally corresponding to the processing point;
[0038] Acquire the phase difference distance between each of the processing points and the temporary element, and offset the standard adjustment coefficient corresponding to the brightness level according to the phase difference distance to obtain a brightness adjustment parameter;
[0039] Receiving the guide route defined by the management terminal, acquiring a processing point whose distance from the guide route is less than a preset distance as a guide point, and determining a guide pixel value as a color adjustment parameter corresponding to the guide point;
[0040] The adjustment parameters corresponding to each of the light source points are obtained according to the brightness adjustment parameters and / or the color adjustment parameters.
[0041] Optionally, in a possible implementation manner of the first aspect, obtaining a phase difference distance between each of the processing points and the temporary element, and offsetting a standard adjustment coefficient corresponding to the brightness level according to the phase difference distance to obtain a brightness adjustment parameter, includes:
[0042] Acquire the temporary elements adjacent to each other as the same element group, determine the temporary element corresponding to the corresponding processing point in the element group as the first target element, and determine the temporary element closest to the processing point except the first target element as the second target element;
[0043] When the brightness level of the first target element is greater than the brightness level of the second target element, a down-adjustment ratio is obtained according to a ratio of a reference spacing to a phase difference spacing, and a brightness adjustment parameter is obtained based on a product of the down-adjustment ratio and the standard adjustment coefficient;
[0044] When the brightness level of the first target element is lower than the brightness level of the second target element, an adjustment ratio is obtained according to a ratio of the phase difference interval to the reference interval, and a brightness adjustment parameter is obtained based on a product of the adjustment ratio and the standard adjustment coefficient.
[0045] Optionally, in a possible implementation manner of the first aspect, updating the lighting parameter corresponding to each of the light source points according to the adjustment parameter to obtain the change parameter corresponding to each of the light source points includes:
[0046] Acquire the illumination brightness of the light source point, and obtain the changed brightness of the light source point according to the product of the brightness adjustment parameter and the illumination brightness;
[0047] The illumination pixel value of the light source point is updated according to the color adjustment parameter to obtain the changed color of the light source point, and the changed parameter of the light source point is obtained according to the changed brightness and the changed color.
[0048] A second aspect of the present invention provides a lighting and shadow intelligent change system based on automation, comprising:
[0049] A planning module, used to obtain the light source layout strategy selected by the management end, and update the regional distribution map corresponding to the planned site according to the light source layout strategy to obtain a layout design map of the lighting equipment;
[0050] A design module, used to determine the shielding elements corresponding to each light source point in the layout design diagram, and determine the lighting parameters corresponding to the light source point according to the shielding parameters of the shielding elements;
[0051] An interaction module, used to obtain the interaction area input by the management terminal based on the layout design drawing, and determine the adjustment parameters corresponding to each of the light source points in the interaction area according to the planning information of the management terminal;
[0052] The adjustment module is used to update the lighting parameters corresponding to each of the light source points according to the adjustment parameters to obtain the change parameters corresponding to each of the light source points.
[0053] The beneficial effects of the present invention are as follows:
[0054] The present invention can realize dynamic adjustment of the lamp system and improve the flexibility of the lamp system when it changes. When dynamically adjusting the lamps, the present invention will design the layout of the lamps in combination with user needs, and then determine the corresponding lighting parameters through the positions of each lamp after the layout, and when the user has interaction needs, the present invention will also adjust the lighting parameters of the lamps in combination with the planning information during the user interaction, so as to realize dynamic adjustment of the lamps, so that not only can the lamps be dynamically adjusted in combination with user needs, but also the adjusted lamp parameters can be more in line with the actual situation.
[0055] When designing the layout of lamps, the present invention will combine different layout strategies selected by users to design the layout of lamps in different ways. Thus, the layout of lamps can be designed in accordance with user needs, the efficiency of the layout design of lamps can be improved, and the layout effect of lamps can be intuitively displayed to users.
[0056] When adjusting the lighting parameters of the lamp, the present invention will combine the shielding elements within a certain range around each light source point to adaptively adjust the lighting parameters of each light source point to improve the lighting effect. And when the user has interactive needs, the present invention will further adjust the lighting parameters of the lamp based on the user's planning information, so that the lighting parameters of the lamp can be adjusted in combination with different scenes to meet the different adjustment needs of the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 It is a flow chart of a method for intelligently changing light and shadow based on automation provided by an embodiment of the present invention;
[0058] Figure 2 is a schematic diagram of a double-sided light source point distribution provided by an embodiment of the present invention;
[0059] Figure 3 is a schematic diagram of an alternating type of light source point distribution provided by an embodiment of the present invention;
[0060] Figure 4 It is a structural schematic diagram of an automated lighting and shadow intelligent change system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0062] See also Figure 1 , is a flow chart of a method for intelligently changing light and shadow based on automation provided by an embodiment of the present invention, Figure 1The execution subject of the method shown may be a software and / or hardware device. The execution subject of the present application may include but is not limited to at least one of the following: user equipment, network equipment, etc. Among them, user equipment may include but is not limited to computers, smart phones, personal digital assistants (PDA) and the electronic devices mentioned above. Network equipment may include but is not limited to a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing consisting of a large number of computers or network servers, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers. This embodiment does not limit this. It includes steps S1 to S4, as follows:
[0063] S1, obtaining a light source layout strategy selected by a management end, and updating a regional distribution map corresponding to a planned site according to the light source layout strategy to obtain a layout design map of lighting equipment.
[0064] When dynamically adjusting lamps, this solution will first design the layout of the lamps in combination with user needs, and then determine the corresponding lighting parameters of each lamp through the position of the layout. When the user has interaction needs, this solution will also adjust the lighting parameters of the lamps in combination with the planning information during user interaction, so as to achieve dynamic adjustment of the lamps. This not only allows the dynamic adjustment of the lamps to be combined with user needs, but also makes the adjusted lamp parameters more in line with the actual situation.
[0065] When designing the layout of lamps, this solution will combine different layout strategies selected by users to perform different layouts of lamps. The light source layout strategy is a strategy for designing the layout position of lamps, including a layout strategy that automatically determines the position of lamps and a layout strategy that allows users to customize the position of lamps.
[0066] The lighting equipment in this solution can be a glass lamp with a transparent glass lampshade and a color-changing lighting system. The internal light can be freely switched between multiple colors, and the light brightness can also be freely adjusted. Specifically, this solution will determine the layout of the glass lamp in combination with the layout of the lawn, so as to provide a variety of lighting effects for the lawn and meet the needs of different scenes and atmospheres.
[0067] The management end is a terminal held by the user, such as a smart device such as a mobile phone. The planning site is the place where the lamps are laid out, such as a lawn, and the regional distribution map is the layout map corresponding to the planning site. The layout design map is the location layout map corresponding to the lamp equipment, through which the distribution design position of the lamps can be intuitively viewed.
[0068] Based on the above embodiment, the specific implementation of step S1 may be:
[0069] S11, receiving a plurality of design areas divided by the management end on the regional distribution map, and obtaining a light source layout strategy configured by the management end for each of the design areas, wherein the light source layout strategy includes a regular layout strategy and an irregular layout strategy.
[0070] In actual applications, users may have different design requirements for different areas within the planned site. Therefore, users can divide the regional distribution map based on their own needs based on the management end to obtain multiple design areas, i.e., sub-areas for lamp layout design, and then configure different layout strategies for each design area to complete the layout of lamp positions through the layout strategy.
[0071] The regular layout strategy is a layout strategy with a certain regularity. Under this layout strategy, the positions of lamps can be automatically arranged, thereby improving the efficiency of lamp layout. The irregular layout strategy is a layout strategy with a random layout. Under this layout strategy, the positions of lamps can be configured by the user, thereby improving the flexibility of lamp layout.
[0072] S12, acquiring layout attributes of the design area according to the regular layout strategy, and determining a plurality of light source points in the design area based on the layout attributes.
[0073] Under the regular layout strategy, this scheme will carry out different layout designs through different attributes of the design area. Specifically, this scheme will combine the layout attributes to carry out point layout design or linear layout design for the lighting points in the design area. The former is suitable for the case where the design area is regular in shape, and the latter is suitable for the case where the design area is located on both sides of the road.
[0074] Among them, the layout attribute is the corresponding mode attribute of the design area during layout, and the light source point is the layout point of multiple glass lamps in the design area.
[0075] In some embodiments, the layout positions of the light source points can be determined by the following steps:
[0076] S121, obtaining a maximum light source span corresponding to the lighting device based on the point attribute, and obtaining twice the value of the maximum light source span as a total span.
[0077] For the design area corresponding to the point-like attribute, this solution will combine the light source range of the glass lamp to evenly layout the light source points in the design area during the layout design. Among them, the point-like attribute refers to the layout attribute of the regular shape of the design area, and the design area corresponding to this attribute can be rectangular. The maximum light source span refers to the lighting range of the lamp at the maximum brightness intensity. It can be understood that in order to make the lighting range of the lamps in the design area evenly distributed, the corresponding position arrangement can be made according to the maximum lighting range of the lamps. Since the maximum light source span is the radius span of the lighting range, the layout design can be determined accordingly by twice the value of the span, that is, the total span of the lighting range.
[0078] S122, dividing the design area according to the total span to obtain a plurality of rectangular planning areas with a side length equal to the total span, and determining a center point of each of the rectangular planning areas as the light source point.
[0079] It can be understood that by dividing the design area into multiple rectangular planning areas with a side length of the total span through the total span, the area range corresponding to each rectangular planning area can correspond to the lighting range corresponding to the maximum brightness of the lamp, thereby achieving a uniform distribution of the lamp positions.
[0080] When dividing specifically, two division directions perpendicular to the side length of the design area can be determined, and then multiple perpendicular lines are generated according to the total span through the two division directions, and the design area is divided by these lines to obtain multiple rectangular planning areas. Among them, the rectangular planning area is a division area for planning the design position of the lamp, and its center point can be used as the design point of the lamp.
[0081] S123, acquiring a layout route in the design area based on linear attributes, where the layout attributes include point attributes and linear attributes.
[0082] For the design area with linear attributes, this scheme will combine the light source range of the glass lamp to layout the light source points along the roads in the design area during layout design, so as to improve the visibility of the road and improve the travel safety of people. Among them, the layout route is the route corresponding to the road in the design area.
[0083] S124, obtaining the route width of the layout route, determining the layout type corresponding to the layout route based on the comparison result of the route width and the maximum light source span, and determining multiple light source points along the layout route based on the layout type, wherein the layout type includes a bilateral type and an alternating type.
[0084] In practical applications, the width of the road may have a certain impact on the distribution of light sources. For example, for wider roads, in order to obtain better brightness uniformity, the lamps can be arranged relatively on both sides of the road to ensure that the light can evenly cover the road. For narrower roads, the lamps can be arranged in an alternating manner on both sides to save costs.
[0085] Based on the above reasons, when laying out lamps, this solution will determine the appropriate layout type by comparing the width of the road, i.e. the width of the route, with the range of the light source, so that the light source points can be designed in combination with different layout types.
[0086] Among them, the bilateral type refers to a type in which light source points are arranged relatively on both sides, and the alternating type refers to a type in which light source points are arranged alternately on both sides.
[0087] Specifically, step S124 includes the following embodiments:
[0088] S1241: When the route width is greater than the maximum light source span, determine that the layout type is a double-sided type, and determine multiple light source points on both sides of the road along the layout route at intervals of the total span.
[0089] See also Figure 2 , is a schematic diagram of a double-sided light source point distribution provided by an embodiment of the present invention. Figure 2 It can be seen from the figure that when the route width is greater than the maximum light source span, the maximum lighting range of the lamp is Figure 2 The dotted part in the figure cannot cover both sides of the entire road. Therefore, when laying out the lamps, they can be arranged relatively on both sides of the road in sequence, and the spacing between the light source points corresponding to adjacent lamps on the same side is the total span, so that the lighting range can cover both sides of the entire road, ensuring that the lighting on both sides of the road is sufficient and improving the safety of people's passage.
[0090] S1242: When the route width is less than or equal to the maximum light source span, determine that the layout type of the layout route is an alternating type.
[0091] See also Figure 3 , is a schematic diagram of an alternating type of light source point distribution provided by an embodiment of the present invention. Figure 3 It can be seen from the figure that when the route width is less than the maximum light source span, the maximum lighting range of the lamp is Figure 3 The dotted part in the figure can cover both sides of the entire road. In this case, multiple light source points can be determined by alternating arrangement, so that the lighting range of the alternating multiple light source points can cover both sides of the entire road, thereby reducing the number of light source points arranged while still providing sufficient lighting.
[0092] S1243, determining three times the value of the maximum light source span as the single-side span, and determining multiple light source points on one side of the road along the layout route, with intervals of the single-side span.
[0093] Specifically, when arranged alternately, the lighting range of the light sources on both sides of the road can cover the entire road. Therefore, the spacing between the light sources on the same side is three times the maximum light source span. Therefore, when arranging on a single side, multiple light sources can be determined on one side of the road at intervals of the single side span.
[0094] S1244, obtaining a position point corresponding to an intermediate position point adjacent to the light source point on one side of the road on another side of the road, and determining that the position point is a light source point corresponding to the other side of the road.
[0095] When arranging light source points on the other side of the road, the middle position point between two adjacent light source points on one side can be first determined, and the point corresponding to the middle position point on the other side can be determined as the light source point, thereby achieving a staggered arrangement of the points.
[0096] S13, or, based on the non-rule strategy, obtaining a plurality of light source points configured by the management end for the design area.
[0097] Under the irregular layout strategy, the design area may be irregular, for example, its shape may be irregular or the user may have a need to configure the design area by himself, so the user can select the layout points of the glass lamp by himself to obtain multiple light source points in the design area.
[0098] S14, retrieve the light source identification corresponding to the lamp device, and locate the light source identification in the regional distribution map based on the light source point to obtain a layout design map.
[0099] It is understandable that in order to allow the user to intuitively view the layout after design, the layout position of the glass lamp can be displayed through the light source identification. In practical applications, the light source identification can be a display identification corresponding to the glass lamp, for example, it can be a display image of the glass lamp.
[0100] Through the above method, the layout design of lamps can be carried out in combination with user needs, the efficiency of lamp layout design can be improved, and the layout effect of lamps can be intuitively displayed to users.
[0101] S2, determining the shielding elements corresponding to each light source point in the layout design diagram, and determining the lighting parameters corresponding to the light source point according to the shielding parameters of the shielding elements.
[0102] In actual applications, the positions of lamps are different, and the corresponding elements of their surroundings will also be different. For example, when a lamp is close to a bush, it may be blocked by the bush. If the brightness of all lamps is set uniformly, the light of the blocked lamps may not be fully diverged, causing the lighting area to darken and reduce the lighting effect. Based on this, this solution will combine the blocking elements within a certain range around each light source point, such as bushes and benches in the lawn, to adaptively adjust the lighting parameters of each light source point to improve the lighting effect.
[0103] Among them, the occlusion element refers to the element that blocks the lamps within a certain range around the light source point. The obstruction parameter refers to the occlusion interference parameter of the occlusion element on the light source point. The parameter can be used to determine the degree of occlusion of the light source point by the corresponding element. The lighting parameters include the lighting brightness of the light source point. When adjusting the lighting parameters of the light source point through the occlusion element, the main thing to adjust is the lighting brightness.
[0104] Based on the above embodiment, the specific implementation of step S2 may be:
[0105] S21, taking the light source point as a reference, determining the lighting range corresponding to the maximum light source span of the lighting device, and traversing the blocking elements within the lighting range.
[0106] It is understandable that if there is no occluding element within the lighting range corresponding to the maximum light source span of the lighting device, the effect of the lighting device may not be affected. Therefore, when traversing the occluding elements, the occluding elements within the lighting range can be traversed, and the corresponding lighting parameters can be adjusted in combination with the traversed occluding elements.
[0107] S22, obtaining an occlusion attribute of the occlusion element, wherein the occlusion attribute includes a uniform attribute and a local attribute, and obtaining a layout density of the occlusion element within the illumination range based on the uniform attribute.
[0108] It is understandable that the occlusion types of different occlusion elements may be different. Therefore, when adjusting the lighting brightness in combination with the occlusion elements, the relevant occlusion parameters can be obtained through the occlusion attributes of the occlusion elements. The occlusion attribute refers to the attribute of the occlusion type corresponding to the occlusion element, among which the uniform attribute refers to the type attribute with a relatively uniform occlusion coverage. For example, the grass in the lawn may cause occlusion to the lamp, which generally covers a large area around the lamp. For this type of element, the different density may also have different occlusion degrees for the lamp. Therefore, when adjusting, the lighting parameters of the lamp can be adjusted accordingly in combination with the layout density of the occlusion elements within the lighting range.
[0109] Local attributes refer to the type of attributes with a relatively concentrated occlusion coverage. For example, elements located in fixed positions, such as chairs, may cause local light occlusion if they are within the lighting range.
[0110] S23, determining a shielding parameter of the shielding element according to the layout density, and offsetting a standard lighting parameter based on the shielding parameter to obtain the lighting parameter.
[0111] In practical applications, the density of occluding elements will affect the penetration of light. Dense areas will absorb and scatter more light, resulting in a weakened lighting effect. Therefore, the obstruction parameters can be determined by the layout density, and the standard lighting parameters, that is, the lighting brightness in the unobstructed case, can be adjusted by the obstruction parameters to obtain the offset lighting parameters.
[0112] In some embodiments, the lighting parameters may be adjusted according to the layout density by following the steps below:
[0113] The shielding parameter is obtained based on the ratio of the layout density to the standard density, and the lighting parameter is obtained according to the product of the shielding parameter and the standard lighting parameter.
[0114] In practical applications, standard density and standard lighting parameters can be set accordingly. Standard density refers to the regional density under normal conditions. This density has little effect on light blocking, so the lighting brightness under this density can be the corresponding brightness under normal conditions.
[0115] It is understandable that the greater the layout density, the greater the degree of light blocking. Therefore, in order to ensure sufficient light, the standard lighting parameters can be increased to obtain offset lighting parameters.
[0116] S24, obtaining a layout spacing between the occluding element and the light source point based on the local attribute, determining a shielding parameter of the occluding element according to the layout spacing, and offsetting the standard lighting parameter based on the shielding parameter to obtain the lighting parameter.
[0117] For occluding elements with local properties, if they are closer to the light source, the degree of occlusion of the lamp may be higher. Therefore, the brightness of the lamp can be adjusted by the distance between it and the light source point, that is, the layout spacing, to ensure that there is sufficient lighting near the lamp.
[0118] In some embodiments, the lighting parameters can be adjusted according to the layout spacing by the following steps:
[0119] The shielding parameter is obtained according to the ratio of the standard spacing and the layout spacing, and the lighting parameter is obtained based on the product of the shielding parameter and the standard lighting parameter.
[0120] In practical applications, the standard spacing can be set corresponding to the standard lighting parameters. The standard spacing refers to the spacing under normal circumstances. At this spacing, the element has little effect on the shading of the lamp. For example, when the shading element is located at the edge of the lighting range, the shading effect on the lamp is very small. Therefore, the lighting brightness at this spacing can be the corresponding brightness under normal circumstances.
[0121] It is understandable that the closer the spacing is, the greater the degree of light blocking will be. Therefore, in order to ensure sufficient light, the standard lighting parameters can be increased to obtain offset lighting parameters.
[0122] Through the above method, the lighting parameters of the lamp can be adaptively adjusted according to the actual situation, thereby improving the flexibility of lamp adjustment.
[0123] S3, obtaining the interactive area input by the management terminal based on the layout design drawing, and determining the adjustment parameters corresponding to each of the light source points in the interactive area according to the planning information of the management terminal.
[0124] In actual applications, there may be temporary activities in the planned venue. At this time, the user can adjust the lamps corresponding to the activity area in the planned venue according to their own needs, so that the lighting parameters of the lamps can be adjusted according to different scenes to meet the different adjustment needs of the user.
[0125] The interactive area is an area planned by the user for temporary activities, and the planning information is the activity parameters planned by the user for the interactive area, such as multiple areas corresponding to the activity and lighting adjustment data corresponding to different areas, such as adjustment data of light source brightness or light source hue. The adjustment parameters are lighting parameters after the light source point is adjusted, including brightness adjustment parameters and hue adjustment data.
[0126] In some embodiments, step S3 may be implemented by the following steps:
[0127] S31, parsing the planning information to obtain a plurality of temporary elements configured by the management terminal in the interactive area, and obtaining a brightness level configured by the management terminal for each of the temporary elements.
[0128] In actual applications, temporary elements can be activity elements configured by users for interactive areas, such as temporary stages and temporary auditoriums built in interactive areas. It is understandable that different activity areas may have different requirements for lighting. For example, for the stage area, a higher brightness may be required to highlight the performance effect, while for the auditorium, the brightness can be appropriately lowered to create a comfortable atmosphere. Therefore, users can configure the corresponding brightness level for the temporary element based on its actual situation, where the brightness level is the brightness intensity level corresponding to the temporary element.
[0129] S32, determining the light source point within the temporary range corresponding to each of the temporary elements as a processing point, wherein, if the processing point corresponds to multiple temporary elements, determining the temporary element closest to the processing point as the temporary element to which it finally corresponds.
[0130] The temporary range is the range of the active area corresponding to each temporary element, and the range can be defined by the user for each temporary element. It can be understood that different temporary elements have different ranges, and the light source points contained in their ranges may also be different. Therefore, in order to adjust the brightness of the light source points in combination with the brightness levels corresponding to each temporary element, the light source points within the temporary range can be used as the processing points corresponding to the corresponding temporary elements.
[0131] It is understandable that in actual applications, there may be overlapping parts among the temporary ranges. For example, the edges of the stage area and the auditorium area may overlap. In this case, the light source points in the overlapping area may correspond to multiple temporary elements. Since the brightness levels corresponding to different temporary elements may be different, in order to improve the accuracy of adjustment, the temporary element closest to the light source point can be used as the final corresponding temporary element.
[0132] S33, obtaining the phase difference distance between each of the processing points and the temporary element, and offsetting the standard adjustment coefficient corresponding to the brightness level according to the phase difference distance to obtain a brightness adjustment parameter.
[0133] In actual applications, due to the different positions of light source points, the distance between them and temporary elements may also be different. In order to make the brightness parameters after adjustment more in line with reality, this solution will adjust the brightness of the light source points in combination with user needs. It will also adaptively adjust the brightness of the light source points in combination with the interval distance between each processing point and the temporary elements, so that the adjusted parameters can be more suitable for actual scenes.
[0134] It is worth mentioning that the user can configure the corresponding activity position point for each temporary element. When determining the distance difference, it can be determined by the distance between each temporary element and the activity position point. The activity position point can be located at the center of the area where the temporary element is located.
[0135] The standard adjustment coefficient is a standard adjustment coefficient for shifting the brightness corresponding to each brightness level. The brightness of the lamp can be adjusted to the standard brightness intensity corresponding to the corresponding brightness level through the standard adjustment coefficient. The brightness adjustment parameter refers to the parameter for adjusting the brightness intensity of the lamp.
[0136] Based on the above embodiment, the specific implementation of step S33 may be:
[0137] S331, acquiring the temporary elements adjacent in position as the same element group, determining the temporary element corresponding to the corresponding processing point in the element group as the first target element, and the temporary element closest to the processing point except the first target element as the second target element.
[0138] In practical applications, excessive brightness differences between adjacent areas may lead to visual abruptness. Therefore, when adjusting the lighting parameters corresponding to each light source point, corresponding adjustments can be made through the brightness levels corresponding to adjacent temporary elements.
[0139] When determining the first target element and the second target element, the temporary element corresponding to the processing point itself can be used as the first target element, and the temporary element closest to the first target element except the first target element can be used as the second target element. For example, the element group includes temporary element 1 and temporary element 2, and light source point A corresponds to temporary element 1, then temporary element 1 is the first target element corresponding to light source point A, and temporary element 2 is the second target element corresponding to light source point A.
[0140] S332: When the brightness level of the first target element is greater than the brightness level of the second target element, obtain a reduction ratio according to a ratio of a reference spacing to a phase difference spacing, and obtain a brightness adjustment parameter based on a product of the reduction ratio and the standard adjustment coefficient.
[0141] It can be understood that when the brightness level of the first target element is greater than the brightness level of the second target element, it means that the brightness intensity of the area corresponding to the first target element is greater than the brightness intensity of the area corresponding to the second target element. For the processing point corresponding to the first target element, the farther it is from the first target element, the closer it may be to the area corresponding to the second target element. The corresponding brightness intensity can be adjusted accordingly, so that the brightness between the first target element and the second target element can transition more naturally.
[0142] It is worth mentioning that when the brightness parameter corresponding to the processing point is lowered, the standard adjustment coefficient of the first target element corresponding to the processing point is adjusted, and what is offset is the standard parameter corresponding to the brightness level of the first target element.
[0143] Among them, the reference spacing refers to the pre-configured spacing value. The reference spacing can be set corresponding to the standard adjustment coefficient, and the brightness intensity under the reference spacing can be consistent with the brightness intensity corresponding to the corresponding brightness level. Therefore, when the phase difference spacing is greater than the reference spacing, it means that the corresponding processing point may be farther from the center position of the area where the first target element is located, and its corresponding brightness adjustment parameter may be smaller accordingly, which makes the brightness intensity of the corresponding processing point lower accordingly, and the difference between the brightness intensity of the area corresponding to the second target element can also be reduced accordingly, thereby improving the consistency of the overall viewing effect of the user.
[0144] S333: When the brightness level of the first target element is lower than the brightness level of the second target element, obtain an adjustment ratio according to a ratio of the phase difference interval to the reference interval, and obtain a brightness adjustment parameter based on a product of the adjustment ratio and the standard adjustment coefficient.
[0145] It can be understood that when the brightness level of the first target element is less than the brightness level of the second target element, it means that the brightness intensity of the area corresponding to the first target element is less than the brightness intensity of the area corresponding to the second target element. For the processing point corresponding to the first target element, the farther it is from the first target element, the closer it may be to the area corresponding to the second target element, and its corresponding brightness intensity can be adjusted accordingly, so that the brightness between the first target element and the second target element can transition more naturally. Therefore, in this case, the phase difference spacing and the brightness adjustment parameter can be proportional.
[0146] Through the above method, the brightness intensity corresponding to the light source points at different positions can be adjusted in combination with the actual parameters, so that the adjusted lamp parameters can be suitable for different scenes.
[0147] S34, receiving the guidance route defined by the management terminal, acquiring a processing point whose distance from the guidance route is less than a preset distance as a guidance point, and determining a guidance pixel value as a color adjustment parameter corresponding to the guidance point.
[0148] In actual applications, users may also guide the crowd in the interactive area. For example, users may plan corresponding routes to guide the crowd to enter and exit the activity venue, so that the crowd can move in an orderly manner according to the route planned by the user, thereby improving the safety and efficiency of the activity.
[0149] Among them, the guidance route is the route planned by the user to guide the crowd, the guidance point is the light source point for guiding the crowd obtained based on the guidance route, the guidance pixel value is the pre-configured pixel value for guidance, for example, it can be green, and the color adjustment parameter is the data when the color corresponding to the light source point is adjusted.
[0150] It can be understood that in order to enable the crowd to intuitively view the guidance direction corresponding to the guidance route, the light source points close to the guidance route can be displayed in a different tone from other light source points to provide the crowd with an intuitive guidance display. For example, the light source points close to the guidance route can be displayed green, and the remaining light source points can be displayed white.
[0151] S35: Obtain adjustment parameters corresponding to each of the light source points according to the brightness adjustment parameters and / or color adjustment parameters.
[0152] Through the above method, the lighting parameters corresponding to the light source point can be adjusted according to the user's needs, so as to meet the different adjustment needs of the user.
[0153] S4, updating the lighting parameters corresponding to each of the light source points according to the adjustment parameters to obtain the change parameters corresponding to each of the light source points.
[0154] After obtaining the adjustment parameters, the lighting parameters corresponding to the corresponding light source point can be adjusted to obtain the changed parameters after the light source point is adjusted. The changed parameters are the parameters after the lighting parameters of the corresponding light source point are adjusted, including the adjustment parameters for the brightness intensity and then the adjustment parameters for the light source color.
[0155] Based on the above embodiment, the specific implementation of step S4 may be:
[0156] S41, acquiring the illumination brightness of the light source point, and obtaining the changed brightness of the light source point according to the product of the brightness adjustment parameter and the illumination brightness.
[0157] The illumination brightness is the brightness intensity corresponding to the light source point. By offsetting the illumination brightness by the brightness adjustment parameter, the changed brightness after adjustment can be obtained. The changed brightness is the brightness intensity after adjustment.
[0158] S42, updating the illumination pixel value of the light source point according to the color adjustment parameter to obtain a changed color of the light source point, and obtaining a changed parameter of the light source point according to the changed brightness and the changed color.
[0159] The illumination pixel value is the light source pixel value of the light source point. By updating the illumination pixel value, the changed color of the light source point, that is, the light source color of the light source point after the light source point is updated, can be obtained.
[0160] Through the above method, the lighting parameters of the lamp can be adaptively adjusted according to user needs, thereby improving the flexibility of the lamp when the light source changes.
[0161] See also Figure 4 , is a schematic diagram of a structure of an automated lighting and shadow intelligent change system provided by an embodiment of the present invention, the automated lighting and shadow intelligent change system comprising:
[0162] A planning module, used to obtain the light source layout strategy selected by the management end, and update the regional distribution map corresponding to the planned site according to the light source layout strategy to obtain a layout design map of the lighting equipment;
[0163] A design module, used to determine the shielding elements corresponding to each light source point in the layout design diagram, and determine the lighting parameters corresponding to the light source point according to the shielding parameters of the shielding elements;
[0164] An interaction module, used to obtain the interaction area input by the management terminal based on the layout design drawing, and determine the adjustment parameters corresponding to each of the light source points in the interaction area according to the planning information of the management terminal;
[0165] The adjustment module is used to update the lighting parameters corresponding to each of the light source points according to the adjustment parameters to obtain the change parameters corresponding to each of the light source points.
[0166] Figure 4 The apparatus of the embodiment shown can be used to perform Figure 1 The implementation principles and technical effects of the steps in the method embodiment shown are similar and will not be repeated here.
[0167] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for intelligently changing light and shadow based on automation, characterized in that: include: Obtaining the light source layout strategy selected by the management end, and updating the regional distribution map corresponding to the planned site according to the light source layout strategy to obtain a layout design map of the lighting equipment; Determine the shielding elements corresponding to each light source point in the layout design diagram, and determine the lighting parameters corresponding to the light source point according to the shielding parameters of the shielding elements; Acquire the interactive area input by the management terminal based on the layout design drawing, and determine the adjustment parameters corresponding to each of the light source points in the interactive area according to the planning information of the management terminal; The lighting parameters corresponding to each of the light source points are updated according to the adjustment parameters to obtain the change parameters corresponding to each of the light source points.
2. The method according to claim 1, characterized in that Obtaining the light source layout strategy selected by the management end, and updating the area distribution map corresponding to the planned site according to the light source layout strategy to obtain a layout design map of the lighting equipment, including: Receiving a plurality of design areas divided by the management end on the regional distribution map, and obtaining a light source layout strategy configured by the management end for each of the design areas, wherein the light source layout strategy includes a regular layout strategy and an irregular layout strategy; Acquire the layout attributes of the design area according to the regular layout strategy, and determine a plurality of light source points in the design area based on the layout attributes; or, Acquire a plurality of light source points configured by the management end for the design area based on the irregular layout strategy; The light source identification corresponding to the lighting device is retrieved, and the light source identification is positioned in the regional distribution map based on the light source point to obtain a layout design map.
3. The method according to claim 2, characterized in that Acquiring layout attributes of the design area according to the rule layout strategy, and determining a plurality of light source points in the design area based on the layout attributes, including: Based on the point attribute, a maximum light source span corresponding to the lamp device is obtained, and twice the value of the maximum light source span is obtained as a total span; Dividing the design area according to the total span to obtain a plurality of rectangular planning areas with a side length equal to the total span, and determining the center point of each rectangular planning area as the light source point; Acquire a layout route in the design area based on linear attributes, wherein the layout attributes include point attributes and linear attributes; The route width of the layout route is obtained, and based on the comparison result of the route width and the maximum light source span, the layout type corresponding to the layout route is determined, and based on the layout type, multiple light source points along the layout route are determined, and the layout type includes a bilateral type and an alternating type.
4. The method according to claim 3, characterized in that According to the comparison result of the route width and the maximum light source span, a layout type corresponding to the layout route is determined, and a plurality of light source points along the layout route are determined according to the layout type, wherein the layout type includes a bilateral type and an alternating type, including: When the route width is greater than the maximum light source span, the layout type is determined to be a double-sided type, and multiple light source points are sequentially determined on both sides of the road along the layout route at intervals of the total span; When the route width is less than or equal to the maximum light source span, determining that the layout type of the layout route is an alternating type; Determine three times the value of the maximum light source span as the single-side span, and determine multiple light source points on a single side of the road along the layout route at intervals of the single-side span; The position point corresponding to the middle position point adjacent to the light source point on one side of the road on the other side of the road is obtained, and the position point is determined to be the light source point corresponding to the other side of the road.
5. The method according to claim 1, characterized in that Determining the shielding elements corresponding to each light source point in the layout design diagram, and determining the lighting parameters corresponding to the light source point according to the shielding parameters of the shielding elements, including: Taking the light source point as a reference, determining the lighting range corresponding to the maximum light source span of the lighting device, and traversing the blocking elements within the lighting range; Acquire an occlusion attribute of the occlusion element, wherein the occlusion attribute includes a uniform attribute and a local attribute, and acquire a layout density of the occlusion element within the illumination range based on the uniform attribute; Determining a shielding parameter of the shielding element according to the layout density, and offsetting a standard lighting parameter based on the shielding parameter to obtain the lighting parameter; The layout spacing between the occluding element and the light source point is obtained based on the local attribute, the shielding parameter of the occluding element is determined according to the layout spacing, and the standard lighting parameter is offset based on the shielding parameter to obtain the lighting parameter.
6. The method according to claim 5, characterized in that Determining a shielding parameter of the shielding element according to the layout density, and offsetting a standard lighting parameter based on the shielding parameter to obtain the lighting parameter, including: Obtaining the shielding parameter based on a ratio of the layout density to the standard density, and obtaining the lighting parameter according to a product of the shielding parameter and the standard lighting parameter; The method further comprises: obtaining a layout spacing between the occluding element and the light source point based on the local attribute, determining a shielding parameter of the occluding element according to the layout spacing, and offsetting the standard lighting parameter based on the shielding parameter to obtain the lighting parameter, including: The shielding parameter is obtained according to the ratio of the standard spacing and the layout spacing, and the lighting parameter is obtained based on the product of the shielding parameter and the standard lighting parameter.
7. The method according to claim 1, characterized in that Acquiring the interactive area input by the management terminal based on the layout design drawing, and determining the adjustment parameters corresponding to each of the light source points in the interactive area according to the planning information of the management terminal, including: Parsing the planning information to obtain a plurality of temporary elements configured by the management terminal in the interactive area, and obtaining a brightness level configured by the management terminal for each of the temporary elements; Determine the light source point within the temporary range corresponding to each temporary element as the processing point, wherein, if the processing point corresponds to multiple temporary elements, determine the temporary element closest to the processing point as the temporary element finally corresponding to the processing point; Acquire the phase difference distance between each of the processing points and the temporary element, and offset the standard adjustment coefficient corresponding to the brightness level according to the phase difference distance to obtain a brightness adjustment parameter; Receiving the guide route defined by the management terminal, acquiring a processing point whose distance from the guide route is less than a preset distance as a guide point, and determining a guide pixel value as a color adjustment parameter corresponding to the guide point; The adjustment parameters corresponding to each of the light source points are obtained according to the brightness adjustment parameters and / or the color adjustment parameters.
8. The method according to claim 7, characterized in that Acquiring the phase difference distance between each of the processing points and the temporary element, and offsetting the standard adjustment coefficient corresponding to the brightness level according to the phase difference distance to obtain a brightness adjustment parameter, including: Acquire the temporary elements adjacent to each other as the same element group, determine the temporary element corresponding to the corresponding processing point in the element group as the first target element, and determine the temporary element closest to the processing point except the first target element as the second target element; When the brightness level of the first target element is greater than the brightness level of the second target element, a down-adjustment ratio is obtained according to a ratio of a reference spacing to a phase difference spacing, and a brightness adjustment parameter is obtained based on a product of the down-adjustment ratio and the standard adjustment coefficient; When the brightness level of the first target element is lower than the brightness level of the second target element, an adjustment ratio is obtained according to a ratio of the phase difference interval to the reference interval, and a brightness adjustment parameter is obtained based on a product of the adjustment ratio and the standard adjustment coefficient.
9. The method according to claim 7, characterized in that: The lighting parameters corresponding to each of the light source points are updated according to the adjustment parameters to obtain the change parameters corresponding to each of the light source points, including: Acquire the illumination brightness of the light source point, and obtain the changed brightness of the light source point according to the product of the brightness adjustment parameter and the illumination brightness; The illumination pixel value of the light source point is updated according to the color adjustment parameter to obtain the changed color of the light source point, and the changed parameter of the light source point is obtained according to the changed brightness and the changed color.
10. An automated lighting and shadow intelligent change system, characterized in that: include: A planning module, used to obtain the light source layout strategy selected by the management end, and update the regional distribution map corresponding to the planned site according to the light source layout strategy to obtain a layout design map of the lighting equipment; A design module, used to determine the shielding elements corresponding to each light source point in the layout design diagram, and determine the lighting parameters corresponding to the light source point according to the shielding parameters of the shielding elements; An interaction module, used to obtain the interaction area input by the management terminal based on the layout design drawing, and determine the adjustment parameters corresponding to each of the light source points in the interaction area according to the planning information of the management terminal; The adjustment module is used to update the lighting parameters corresponding to each of the light source points according to the adjustment parameters to obtain the change parameters corresponding to each of the light source points.
Citation Information
Patent Citations
Indoor visible light positioning method and indoor visible light positioning system based on MLED-RSSI
CN106772241A
Intelligent street lamp dimming method and system facing extreme weather and storage medium
CN114126159A