A distributed intelligent lighting management method, cloud management platform and storage medium
By dividing the urban smart lighting system into distributed lighting areas and lighting nodes, and using distributed control templates for independent control, the problems of high performance requirements, low reliability and poor flexibility of centralized control management are solved, and efficient and reliable are achieved lighting management.
Patent Information
- Application Number
- CN202411583920.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-11-07
AI Technical Summary
In current urban smart lighting systems, centralized control management has problems such as high performance requirements, low reliability and poor flexibility. Especially when a large number of lighting parts need to be controlled, it is difficult to achieve partition expansion and precise control.
Using distributed intelligent lighting management method, the target lighting area is divided into multiple reference lighting areas, each area is used as a distribution node, and control instructions are generated by obtaining the lighting control mode, and independently controlling it through the distributed control template to achieve multiple Independent management of lighting areas or lighting lamps.
Improves the flexibility and reliability of lighting management, and can independently control multiple lighting areas or lighting lamps in distributed layouts, saving the processing performance of the cloud management platform.
Smart Images

Figure CN119095238B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart lighting systems, and in particular to a distributed smart lighting management method, a cloud management platform and a storage medium. Background Art
[0002] At present, the construction of urban smart lighting is constantly developing, and more and more streets, squares, and commercial areas are designing and adopting lighting systems, aiming to achieve the effect of beautifying the city’s night view and lighting on the basis of providing urban lighting.
[0003] At present, when setting up lighting beautification systems, there are often a large number of lights in one area. For example, the number of lights that need to be placed on a street often exceeds 1,000. In order to improve the beautification and decoration effects, the lights can often change colors and realize multiple lights to form corresponding patterns. However, the current technology often adopts centralized control and management for a large number of lighting components. When it is necessary to adjust the lights of a street or a commercial area, a large number of lights are centrally controlled and commands are issued through the control system.
[0004] However, the above centralized control method has the following problems: when a large number of lighting components need to be controlled and managed, the controller must have extremely high performance; at the same time, when some modules fail, it is easy to affect the overall situation and the reliability is low; the centralized system has poor flexibility and cannot achieve partition expansion and precise control of partitions. Summary of the invention
[0005] In order to improve the management and control effect of distributed lighting, the present application provides a distributed intelligent lighting management method, a cloud management platform and a storage medium.
[0006] In the first aspect, the present application provides a distributed intelligent lighting management method, which adopts the following technical solutions:
[0007] A distributed intelligent lighting management method comprises the following steps:
[0008] Acquire a target lighting area, and select a plurality of reference lighting areas in the target lighting area, wherein the reference lighting areas are characterized as independent lighting partitions composed of a plurality of lighting lamps at distributed positions;
[0009] Taking each of the reference lighting areas as a first distribution node, and taking each of the lighting lamps in the reference lighting area as a second distribution node;
[0010] Acquire a lighting control mode, and select the first sub-control template or the second sub-control template based on the lighting control mode, wherein the first sub-control template is used to add each of the first distribution nodes, and the second sub-control template is used to add the second distribution node;
[0011] Generate a control instruction based on the lighting control mode, and select a corresponding control object through the control instruction to add to the first sub-control template or the second sub-control template to obtain a first independent control group or a second independent control group, wherein the control instruction includes control timing and control color content;
[0012] Sending the control instruction to each of the first distribution nodes, and each of the first distribution nodes screening the control instruction to intercept a matching control segment and sending it to the corresponding second distribution node;
[0013] The first distribution node or the second distribution node generates status feedback information in response to the control instruction.
[0014] In some embodiments, each of the reference lighting areas is used as a first distribution node, and each of the lighting lamps in the reference lighting area is used as a second distribution node, including the following steps:
[0015] Numbering a plurality of the first distribution nodes to obtain a first number;
[0016] Each of the second distribution nodes obtains the first number corresponding to the first distribution node where it is located as a number prefix, and performs suffix numbering on a plurality of the second distribution nodes to obtain a second number.
[0017] In some embodiments, obtaining a lighting control mode and selecting the first sub-control template or the second sub-control template based on the lighting control mode includes the following steps:
[0018] If the lighting control mode is overall color control, the first sub-control template is selected;
[0019] If the lighting control mode is zone color control, the first zone control template is selected;
[0020] If the lighting control mode is irregular color control, the second sub-control template is selected;
[0021] If the lighting control mode is customized color control, the second sub-control template is selected.
[0022] In some embodiments, generating a control instruction based on the lighting control mode, and selecting a corresponding control object through the control instruction to add to the first sub-control template or the second sub-control template to obtain a first independent control group or a second independent control group includes the following steps:
[0023] The first sub-control template and the second sub-control template are both composed of an object bar and an action bar;
[0024] If the lighting control mode corresponds to the first sub-control template, the first numbers corresponding to the first distribution nodes are respectively added to the object column in the first sub-control template, and the control instructions corresponding to the first distribution nodes are added to the action column in the corresponding first sub-control template. The first sub-control templates after the addition together constitute a first independent control group;
[0025] If the lighting control mode corresponds to the second sub-control template, the second distribution nodes corresponding to different requirements are classified based on the control instructions, and the second numbers of several second distribution nodes of the same classification are added to the object column in the same second sub-control template, and the control instructions corresponding to the second distribution nodes of each classification are added to the action column in the corresponding second sub-control template. After the addition is completed, several second sub-control templates together constitute a second independent control group.
[0026] In some of the embodiments, after adding the control instruction to the action bar in the first sub-control template or the second sub-control template, the following steps are further included:
[0027] Based on the control color content, the first independent control group or the second independent control group is vertically divided to obtain a plurality of column items of different colors, each of which includes at least one of the first sub-control template or the second sub-control template;
[0028] Based on the control sequence, a plurality of the first sub-control templates or the second sub-control templates corresponding to each of the column items are horizontally sorted, and the horizontal sorting order is from near to far along the action time.
[0029] In some embodiments, each of the first distribution nodes screens the control instructions to intercept matching control segments and sends them to the corresponding second distribution nodes, including the following steps:
[0030] If the control instruction corresponds to the first independent control group, the first distribution node intercepts the control segment with the first number matching itself based on the object column, and sends the corresponding action column in the control segment to all the second distribution nodes for unified control;
[0031] If the control instruction corresponds to the second independent control group, the first distribution node intercepts the control segment with the first number matching its own based on the object column, and further intercepts the control segment based on the second number in the object column to obtain control sub-segments corresponding to each of the second distribution nodes, and sends the corresponding action column in each of the control sub-segments to the corresponding second distribution node for control.
[0032] In some embodiments, the first distribution node or the second distribution node generates state feedback information in response to the control instruction, including the following steps:
[0033] Determining whether there is a control time span based on the control timing;
[0034] If not, sending the generated status feedback information to the cloud management platform after the first distribution node or the second distribution node responds;
[0035] If yes, determining whether there is a periodic command in the control sequence;
[0036] If not, the state feedback information corresponding to the first distribution node or the second distribution node that responded is stored in the cloud storage space, and after the first distribution node or the second distribution node that is the last of the horizontally arranged nodes in the first independent control group or the second independent control group generates the state feedback information, several pieces of the state feedback information in the cloud storage space are packaged and sent to the cloud management platform;
[0037] If it exists, a periodic time point is selected, and the status feedback information corresponding to the first distribution node or the second distribution node that responds is stored in the cloud storage space. After waiting for the first distribution node or the second distribution node corresponding to the periodic time point to generate the status feedback information, several pieces of the status feedback information in the cloud storage space are packaged and sent to the cloud management platform.
[0038] In some embodiments, after the first distribution node or the second distribution node responds to the control instruction to generate state feedback information, the following steps are further included:
[0039] Acquire generation time of each state feedback information, where the generation time is characterized by a difference between a time when the first distribution node or the second distribution node responds to the control segment and a control timing;
[0040] The generation time errors between the first distribution nodes and between the second distribution nodes are determined, and response compensation is performed based on the errors.
[0041] In a second aspect, the present application provides a distributed cloud management platform, which adopts the following technical solutions:
[0042] A distributed cloud management platform, comprising:
[0043] A target area acquisition module, used to acquire a target lighting area and select a plurality of reference lighting areas in the target lighting area, wherein the reference lighting areas are characterized as independent partitions with concentrated lighting by a plurality of lighting lamps at distribution positions;
[0044] A distribution node setting module, used to use each of the reference lighting areas as a first distribution node, and each of the lighting lamps in the reference lighting area as a second distribution node;
[0045] A control mode setting module, used for acquiring a lighting control mode, and selecting the first sub-control template or the second sub-control template based on the lighting control mode, wherein the first sub-control template is used for adding each of the first distribution nodes, and the second sub-control template is used for adding the second distribution node;
[0046] A distributed control task generation module, used to generate a control instruction based on the lighting control mode, and select a corresponding control object through the control instruction to add to the first sub-control template or the second sub-control template to obtain a first independent control group or a second independent control group, wherein the control instruction includes control timing and control color content;
[0047] A task issuing module, issuing the control instruction to each of the first distribution nodes, each of the first distribution nodes screening the control instruction to intercept a matching control segment and issuing it to the corresponding second distribution node;
[0048] The control management module is used to enable the first distribution node or the second distribution node to generate status feedback information after responding to the control instruction.
[0049] In a third aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0050] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute the above method.
[0051] The technical solution provided by the embodiments of the present application has the following technical effects:
[0052] The large lighting area under central control and management is divided into distributed areas, and different classification nodes based on areas and specific lighting lamps are divided respectively. The lighting control mode is obtained to determine the specific distributed control method and distributed control template. The distributed control template is applied through real-time control instructions to generate specific control instructions for different distributed nodes, so as to realize independent control of multiple lighting areas in a distributed layout or multiple specific lighting lamps. The processing performance of the cloud management platform can be saved through distributed management and control, and at the same time, it has high reliability and flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a step diagram of a distributed intelligent lighting management method provided in an embodiment of the present application.
[0054] Figure 2 This is a module connection diagram of a distributed cloud management platform provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] To more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. However, it should be understood by those of ordinary skill in the art that the present application can be implemented without these details. In some cases, in order to avoid unnecessary descriptions that make various aspects of the present application obscure, well-known methods, processes, systems, components and / or circuits that have been described at a higher level will not be described in detail. For those of ordinary skill in the art, it is obvious that various changes can be made to the embodiments disclosed in the present application, and without departing from the principles and scope of the present application, the general principles defined in the present application can be applied to other embodiments and application scenarios. Therefore, the present application is not limited to the embodiments shown, but conforms to the broadest scope consistent with the scope claimed for protection of the present application.
[0056] It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention. In addition, the technical features involved in each embodiment of the present invention described below can be combined with each other as long as there is no conflict between them.
[0057] In the description of this application, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used to distinguish the technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0058] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples.
[0059] The embodiment of the present application discloses a distributed intelligent lighting management method.
[0060] like Figure 1 As shown, a distributed intelligent lighting management method includes the following steps:
[0061] S100, acquiring a target lighting area, and selecting a plurality of reference lighting areas in the target lighting area.
[0062] The target lighting area is represented by a pre-selected smart lighting management location that matches the lighting project and can be a street, a building, a square, etc.
[0063] The reference lighting area is characterized by an independent lighting partition composed of multiple lighting lamps at distributed positions. For example, the area concentrated for lighting on a street may be distributed in multiple positions. For example, if several lighting lamps are placed on each tree on the street, then each tree corresponds to a target lighting area; or if there are multiple entertainment lighting positions arranged in a square, then each entertainment lighting position corresponds to a reference lighting area; or each exterior wall of a building can also be used as a reference lighting area.
[0064] Each reference lighting area can be independently used as a lighting body, and each reference lighting area is distributed and independent of each other and has no control relationship.
[0065] S200: taking each reference lighting area as a first distribution node, and taking each lighting lamp in the reference lighting area as a second distribution node.
[0066] Each independent reference lighting area is taken as an independent first distribution node, for example, each tree on the street is an independent distribution point.
[0067] Each lighting lamp in each reference lighting area is also regarded as an independent second distribution node. For example, each of the multiple lights on a tree is an independent distribution point.
[0068] In this way, through the concept of distributed management and control, multiple distributed lighting bodies can be used as distribution nodes, and each lighting lamp contained in each lighting body can be further divided into distribution nodes, thereby transforming the centralized lighting management in the related technology into a distributed setting after node division.
[0069] S300: Acquire a lighting control mode, and select a first sub-control template or a second sub-control template based on the lighting control mode.
[0070] Two control templates for realizing two different functions are set respectively. The first sub-control template is used to add each first distribution node, and the second sub-control template is used to add the second distribution node.
[0071] The sub-control template combined with the subsequent specific control instructions can obtain the control task of the specific lighting object or specific lighting lamp, and the first sub-control template and the second sub-control template have different control objects when performing the control task. The first sub-control template is only used to control the first distribution node in the subsequent control, and the second sub-control template is used to control the second distribution node in the subsequent control.
[0072] S400, generating a control instruction based on the lighting control mode, and selecting a corresponding control object through the control instruction to add to the first sub-control template or the second sub-control template to obtain a first independent control group or a second independent control group.
[0073] The control instructions include control timing and control color content. The control timing is characterized by the time point when the first distribution node needs to change color or turn on and off as a whole or the time point when the lighting lamps corresponding to each second distribution node need to change color or turn on and off under the corresponding lighting control mode; the control color content is used to indicate the color that the first distribution node or the second distribution node needs to change to at a certain point in time.
[0074] Based on different lighting control modes, each first distribution node may be required to perform the same action, or each second distribution node may be required to perform an independent action, etc., and the object of lighting control is determined according to the specific mode.
[0075] If the control object is the first distributed node, the first sub-control template is selected and the relevant content of the control instruction is added to the template to obtain a first independent control group for controlling each first distributed node to perform a specific action.
[0076] If the control object is a second distributed node, the second sub-control template is selected and the corresponding content of the control instruction is added to the template to obtain a second independent control group for controlling each second distributed node to perform a specific action.
[0077] The first independent control group and the second independent control group are respectively a set of several independent instructions for controlling each first distribution node and each second distribution node. The first independent control group and the second independent control group both belong to control instructions, and the first and second are used to classify objects corresponding to the control instructions.
[0078] S500: Send the control instruction to each first distribution node. Each first distribution node screens the control instruction to intercept a matching control segment and sends it to the corresponding second distribution node.
[0079] First, the control instruction is sent to the first distribution node. Since the control instruction includes control commands corresponding to all first distribution nodes or all second distribution nodes, the first distribution node needs to screen the control instruction after receiving the control instruction.
[0080] The first distribution node intercepts all instructions related to itself and the second distribution node belonging to itself in the control instructions, and sends several control instructions to specific second distribution nodes according to the specific control content of the control fragment.
[0081] S600: The first distributed node or the second distributed node generates state feedback information in response to a control instruction.
[0082] The first distribution node or the second distribution node performs corresponding actions at the corresponding time based on the control instructions. After the action is completed, it is necessary to generate status feedback information and send it to the cloud management platform. The cloud management platform understands and manages the working status of each lighting body or each lighting lamp based on the specific status feedback information of each object.
[0083] Through the above steps, the large lighting area under centralized control and management is divided into distributed areas, and different classification nodes based on areas and specific lighting lamps are divided respectively. The lighting control mode is obtained to determine the specific distributed control method and distributed control template. The distributed control template is applied through real-time control instructions to generate specific control instructions for different distributed nodes, so as to realize independent control of multiple lighting areas or multiple specific lighting lamps in a distributed layout, save the processing performance of the cloud management platform through distributed management and control, and have higher reliability and flexibility.
[0084] In some other embodiments, each reference lighting area is used as a first distribution node, and each lighting lamp in the reference lighting area is used as a second distribution node, including the following steps:
[0085] S210: Number a plurality of first distribution nodes to obtain first numbers.
[0086] First, each first distribution node is numbered based on a certain numbering rule, and the number is used to specifically mark each first distribution node.
[0087] The numbering rules can be adjusted accordingly according to the actual type of the target lighting area. For example, if the target lighting area is a street and the reference target area is a tree, the trees on the street can be numbered separately along a specific direction, and the numbers of the trees on the left and right sides of the street are alternating; if the target lighting area is a square and the reference target area is a statue, the numbering can be performed according to a circumferential sequence or a reciprocating selection method.
[0088] S220: Each second distribution node obtains the first number corresponding to the first distribution node where it is located as a number prefix, and performs suffix numbering on a plurality of second distribution nodes to obtain a second number.
[0089] The numbering rule of the second distribution node is different from that of the first distribution node. The numbering of the second distribution node is a combined number, which includes a prefix number and a suffix number. The prefix number inherits the number of the first distribution node where the second distribution node is located, and the suffix number is numbered sequentially according to a certain numbering order.
[0090] For example, if a tree on the street is numbered 3 and there are three lights on the tree, the numbers of the three lights can be set to (3, 1), (3, 2), and (3, 3) in sequence. In this way, as a component of the first distribution node, each second distribution node can quickly locate its reference lighting area and its own specific number through the number.
[0091] In this way, multiple lighting objects and lighting lamps in a distributed setting can be numbered independently to facilitate subsequent distributed management and control.
[0092] In some other embodiments, obtaining the lighting control mode and selecting the first sub-control template or the second sub-control template based on the lighting control mode includes the following steps:
[0093] S310: If the lighting control mode is overall color control, a first sub-control template is selected.
[0094] Overall color control is characterized by a target lighting area changing to the same color at the same time, such as all trees on a street changing to red, all lights on a building's exterior wall changing to green, etc. The control logic of overall color control is relatively simple, which is to control the first distribution nodes on multiple reference lighting areas to act synchronously, and there are no independent and different action instructions between the second distribution nodes in the first distribution node, so the first sub-control template is selected at this time to directly perform distributed control on the first distribution nodes in the future.
[0095] S320: If the lighting control template is zone color control, select the first zone control template.
[0096] Zoning color control is characterized by each reference lighting area in a target lighting area being transformed into different colors, such as each tree being transformed into one color, and the four exterior walls of a building being transformed into different colors respectively.
[0097] In the zone color control, the target lighting area is displayed as zone color change, and for each first distribution node itself, it still belongs to the overall color control. There are no independent and different action instructions between the second distribution nodes in each first distribution node, so the first sub-control template is still selected.
[0098] It should be noted that, regardless of overall color control or partition color control, the controls between each first distribution node are independent of each other, and no matter whether the colors being changed are the same or not, there is no correlation between the control instructions.
[0099] S330: If the lighting control mode is irregular color control, a second sub-control template is selected.
[0100] Irregular color control is characterized by each second distribution node in the target lighting area being transformed into a different color to achieve a difference in color display. At this time, it is necessary to select a second sub-control template, because the control objects in irregular color control are all independent second distribution nodes, and because the number of colors is generally limited, and the number of lighting lamps is often set to hundreds or even thousands, so in irregular color control, the sub-control template corresponding to each color will contain a number of second distribution nodes without selection rules, and the second distribution nodes between different colors are considered independent of each other even if they belong to the same first distribution node.
[0101] S340, if the lighting control mode is customized color control, the second sub-control template is selected.
[0102] Customized color control means that in some target lighting areas, specific lighting arrangements will be used to transform each reference lighting area into a corresponding lighting pattern. For example, a red flag pattern, a sun pattern, etc. are displayed on the exterior wall of a building through the color arrangement of several lighting lamps.
[0103] In custom color control, each second distribution node needs to change to the correct color according to its own position and the specific pattern in the control instruction. Therefore, the control object at this time is the second distribution node, and the second sub-control template needs to be selected.
[0104] In summary, the choice of sub-control template is mainly based on the lighting control mode that is needed currently or in the future. If the lighting control mode is mainly reflected in the overall color change of the reference lighting area, the overall control of each first distribution node is achieved based on the first sub-control template. If the lighting control mode is mainly reflected in the color change of the specific lighting lamp, the control of the specific second distribution node is achieved based on the second sub-control template.
[0105] In some other embodiments, generating a control instruction based on the lighting control mode, and selecting a corresponding control object through the control instruction to add to the first sub-control template or the second sub-control template to obtain the first independent control group or the second independent control group includes the following steps:
[0106] S410, the first sub-control template and the second sub-control template are both composed of an object column and an action column.
[0107] The object column represents the object controlled by a specific action of a control instruction, which is the specific number corresponding to the first distribution node or the second distribution node in the embodiment of the present application. The object column may include one or more numbers.
[0108] The action bar is used to place specific instructions for controlling the lights, that is, the above-mentioned control requirements and control color content.
[0109] Through the combination of the object bar and the action bar, after the control instruction is added, the specific implementation content of the control instruction can be obtained: controlling one / some first distribution nodes or one / some second distribution nodes to change to a certain color in a certain time period.
[0110] S420, if the lighting control mode corresponds to the first sub-control template, the first numbers corresponding to several first distribution nodes are added to the object column in the first sub-control template respectively, and the control instructions corresponding to each first distribution node are added to the action column in the corresponding first sub-control template. After the addition, several first sub-control templates together constitute a first independent control group.
[0111] If the lighting control mode corresponds to the first sub-control template, the first number corresponding to the first distribution node is added to the object column, and the control instructions corresponding to each first distribution node are placed in the action column.
[0112] Each first sub-control template corresponds to an overall identical control instruction. Under overall color control, all first distribution nodes can be placed in the same first sub-control template because the colors and times of changes are the same. Under partitioned color control, each identical control instruction corresponds to a first sub-control template because the colors and times of changes of each first distribution node are different.
[0113] A plurality of first sub-control templates together constitute an overall first independent control group, which contains control schemes required to be performed by all first distributed nodes.
[0114] S430, if the lighting control mode corresponds to the second sub-control template, the second distribution nodes corresponding to different requirements are classified based on the control instructions, and the second numbers of several second distribution nodes of the same classification are added to the object column in the same second sub-control template, and the control instructions corresponding to the second distribution nodes of each classification are added to the action column in the corresponding second sub-control template. After the addition is completed, several second sub-control templates together constitute a second independent control group.
[0115] If the lighting control mode corresponds to the second distribution template, the second number of each second distribution node is placed in the object column, and the control instruction corresponding to the second distribution node is placed in the action column.
[0116] At the same time, when adding, the second distribution nodes corresponding to the same control instructions are placed together in a second sub-control template. For example, if there are four colors in a pattern, then there are four second sub-control templates corresponding to the control instructions of the four colors respectively. Then, each second distribution node corresponds to which color in the pattern, and the second number of the second distribution node corresponds to which second sub-control template it is added.
[0117] A plurality of second distributed control templates together constitute a second independent control group, which contains control schemes required to be performed by all second distributed nodes.
[0118] In some other embodiments, after adding the control instruction to the action column in the first sub-control template or the second sub-control template, the following steps are also included:
[0119] S440, vertically dividing the first independent control group or the second independent control group based on the control color content to obtain a plurality of column items of different colors, each of which includes at least one first sub-control template or second sub-control template.
[0120] S450, based on the control timing, a plurality of first sub-control templates or second sub-control templates corresponding to each column item are horizontally sorted, and the horizontal sorting order is from near to far along the action time.
[0121] Because both the first independent control group and the second independent control group contain control instructions for all lighting objects or lamps in the target lighting area, and in the subsequent links, the first distributed node will intercept the overall control instructions to leave the control instruction fragments that match itself, so in order to facilitate the selection and cutting of control instructions, and facilitate the subsequent management of several distributed lighting devices, it is necessary to sort the sub-control templates in each first independent control group and the second independent control group.
[0122] First, the sub-control templates are arranged vertically, and the vertical arrangement logic is based on color. Each different color occupies a column item independently, and several first sub-control templates or second sub-control templates that need to change the same color in the control instruction are arranged in the corresponding color column items in sequence.
[0123] Secondly, the results of the vertical arrangement are arranged horizontally. The horizontal arrangement is performed based on the control timing. In the column item corresponding to each color, the corresponding transformation time of each first sub-control template or each second sub-control template is determined. The earlier the transformation time, the higher the horizontal ranking in the column item. If the control timing of the transformation color of multiple first distribution nodes or second distribution nodes is the same, these sub-control templates can be arranged based on the size of the first number.
[0124] In some other embodiments, each first distribution node screens the control instructions to intercept matching control fragments and sends them to the corresponding second distribution node, including the following steps:
[0125] S510, if the control instruction corresponds to the first independent control group, the first distribution node intercepts the control segment with the first number matching itself based on the object column, and sends the corresponding action column in the control segment to all second distribution nodes for unified control.
[0126] In the first independent control group, the first distribution node selects the part of the first number that matches itself from the several object columns of the first independent control group, and intercepts the selected parts respectively to obtain control fragments. Since in the intercepted control fragments, each first distribution node corresponds to a color and a time as a whole, the same control instruction fragment is sent to all its second distribution nodes, and all the second distribution nodes in each first distribution node are transformed uniformly.
[0127] S520, if the control instruction corresponds to the second independent control group, the first distribution node intercepts the control segment with the first number that matches itself based on the object column, and intercepts the control segment again based on the second number in the object column to obtain control sub-segments corresponding to each second distribution node respectively, and sends the corresponding action column in each control sub-segment to the corresponding second distribution node for control.
[0128] In the second independent control group, the second distribution node still uses the prefix number in the several object columns in the second independent control group to intercept the control fragment that matches its own first number, and then determines the specific second distribution nodes to be controlled by the intercepted control fragment according to the suffix number, and sends the control sub-fragment intercepted again based on the suffix number to each second distribution node.
[0129] For example, if the first distribution node A intercepts control segments with object columns (A, 3), (A, 4), and (A, 6), and the action columns are (red, 2s), (blue, 1s), and (red, 2s), the corresponding control sub-segments will be issued based on the suffix numbers, so that the second distribution node 3 in the first distribution node A changes to red after two seconds, the second distribution node 4 changes to blue after one second, and the second distribution node 6 changes to red after two seconds.
[0130] In some other embodiments, the first distribution node or the second distribution node generates state feedback information in response to the control instruction, including the following steps:
[0131] S610, judging whether there is a control time span based on the control timing.
[0132] The control time span is characterized by the time difference between the control timings corresponding to each first distribution node or the second distribution node. If the time difference is greater than 0, it is considered that there is a control time span, and if the time difference is equal to 0, it is considered that there is no control time span.
[0133] S620: If not present, the generated status feedback information is sent to the cloud management platform after the first distribution node or the second distribution node responds.
[0134] When there is no control time span, it means that the action time of each first distributed node or each second distributed node is consistent. Then, when any first distributed node or any second distributed node implements the action and responds, it can be considered that all first distributed nodes or all second distributed nodes have completed the response, and all generated status feedback information will be sent to the cloud management platform after the response time is reached.
[0135] S630: If yes, determine whether there is a periodic command in the control sequence.
[0136] If it exists, it means that there are different control action occurrence times, and in a complete lighting control mode, there may be lighting methods such as ripple implementation or alternating lighting. For example, in the ripple implementation method, after the first first distribution node or the first group of second distribution nodes responds, it is necessary to wait for the last first distribution node or the last group of second distribution nodes to complete the response before a complete set of actions is considered to be completed. Therefore, it is necessary to wait for a set of control instructions to be completely completed before uploading the status feedback information. Otherwise, the cloud management system will continue to receive status feedback information and it is unclear whether the received status feedback information belongs to the current set of control instructions or the next set of control instructions.
[0137] Then when there is a control time span, it is also necessary to determine whether there is a periodic command in the control sequence. A periodic command refers to a set of control instructions that require the first distributed node or the second distributed node to repeat the same action in different control sequences. For example, the lights on all the trees on a street are lit up in turn to achieve multiple sets of repeated ripples.
[0138] Is there a periodic command used to calibrate the target time point corresponding to each complete set of control instruction actions?
[0139] S640, if it does not exist, the status feedback information corresponding to the responding first distribution node or the second distribution node is stored in the cloud storage space, and after the first distribution node or the second distribution node at the end of the horizontal arrangement in the first independent control group or the second independent control group generates status feedback information, several status feedback information in the cloud storage space are packaged and sent to the cloud management platform.
[0140] When there is no periodic command, the end of a set of control instructions depends on the control timing at the end of the action instruction. When the control instruction is issued, if the current time has not reached the latest control timing in the control instruction, it is considered that the control instruction has not ended. At this time, the status feedback information generated by the action that has occurred needs to be placed in the cloud storage space for temporary storage until the time corresponding to the latest control timing is reached, which indicates that the action of the last distribution node or the last second distribution node in the complete control instruction has ended.
[0141] After obtaining the latest status feedback information, all status feedback information generated and stored in the cloud storage space is sent to the cloud management platform together. In this way, all status feedback information corresponding to a complete set of control instructions can be sent together, and the cloud management platform does not need to group and manage this information after receiving the status feedback information.
[0142] S650, if it exists, select a periodic time point, store the status feedback information corresponding to the responding first distribution node or the second distribution node in the cloud storage space, and wait for the first distribution node or the second distribution node corresponding to the periodic time point to generate status feedback information, then package the status feedback information in the cloud storage space and send it to the cloud management platform.
[0143] If there is a cycle command, there will be a cycle point between each group of identical instructions. The time corresponding to the cycle point is obtained and defined as the cycle time point.
[0144] The end of a set of control instructions depends on the control timing corresponding to the cycle time point after the preset number of repetitions. Because the actions before each cycle point and the actions after each cycle point are repeated, when a control instruction has multiple repetition cycles, the control actions corresponding to each cycle can be considered as a complete set of control instructions.
[0145] Therefore, after a control instruction is issued, if the current time has not reached the cycle time point in the control instruction, it is considered that a set of control instructions has not ended. At this time, the status feedback information generated by the action that has occurred needs to be placed in the cloud storage space for temporary storage until it reaches the cycle time point, which is characterized as the end of the action of the last distribution node or the last second distribution node in the complete control instruction.
[0146] After obtaining the status feedback information corresponding to the periodic time point, all the status feedback information generated and stored in the cloud storage space is sent to the cloud management platform together, so that all the status feedback information corresponding to a complete set of control instructions can be sent together, and the cloud management platform does not need to group and manage this information after receiving the status feedback information.
[0147] In some other embodiments, after the first distribution node or the second distribution node responds to the control instruction to generate the state feedback information, the following steps are further included:
[0148] S660, obtaining the generation time of each state feedback information.
[0149] The generation time is characterized by the difference between the time when the first distribution node or the second distribution node responds to the control fragment and the control timing.
[0150] Due to factors such as the aging of equipment and the quality of communication, after a control instruction is generated, there will be differences in the time it takes for each lighting object or lamp to obtain the control instruction and take action based on the control instruction. When the communication quality is poor, the device response time will be prolonged.
[0151] In order to avoid the problem of reducing the aesthetics due to the failure of some lamps to respond in time and thus fail to change or light up at the scheduled time when displaying certain dynamic lighting effects, it is necessary to perform response compensation management on each lighting body or lighting body based on the generation time of state feedback information generated by each lighting body or lighting body.
[0152] S670: Determine the generation time errors between the first distribution nodes and between the second distribution nodes, and perform response compensation based on the errors.
[0153] When there is an error in the generation time between each first distribution node or each second distribution node, it is necessary to compensate for the response time of the lighting object or lighting fixture with a later generation time or a shorter generation time, such as adjusting the lighting timing program for the lighting fixture with a longer response time so that it lights up a period of time in advance when the instruction is obtained, or adjusting the lighting timing program for the lighting fixture with a faster response time so that it waits for a period of time after obtaining the instruction before lighting up.
[0154] The generated time error is reduced or eliminated by performing response compensation on some lighting objects or lighting lamps.
[0155] like Figure 2 As shown, the embodiment of the present application also discloses a distributed cloud management platform, including:
[0156] The target area acquisition module is used to acquire the target lighting area and select a number of reference lighting areas in the target lighting area. The reference lighting area is characterized as an independent partition with multiple lighting lamps concentratedly lighting at a distribution position.
[0157] The distribution node setting module is used to use each reference lighting area as a first distribution node and each lighting lamp in the reference lighting area as a second distribution node.
[0158] The control mode setting module is used to obtain the lighting control mode and select the first sub-control template or the second sub-control template based on the lighting control mode. The first sub-control template is used to add each first distribution node, and the second sub-control template is used to add the second distribution node.
[0159] The distributed control task generation module is used to generate control instructions based on the lighting control mode, and select the corresponding control object through the control instruction to add to the first sub-control template or the second sub-control template to obtain the first independent control group or the second independent control group. The control instruction includes control timing and control color content.
[0160] The task issuing module issues the control instruction to each first distribution node, and each first distribution node screens the control instruction to intercept the matching control fragment and issues it to the corresponding second distribution node.
[0161] The control management module is used to enable the first distribution node or the second distribution node to generate status feedback information after responding to the control instruction.
[0162] The embodiment of the present application also discloses a computer-readable storage medium storing a computer program that can be loaded by a processor and execute the above method.
[0163] The implementation principle is:
[0164] The large lighting area under central control and management is divided into distributed areas, and different classification nodes based on areas and specific lighting lamps are divided respectively. The lighting control mode is obtained to determine the specific distributed control method and distributed control template. The distributed control template is applied through real-time control instructions to generate specific control instructions for different distributed nodes, so as to realize independent control of multiple lighting areas in a distributed layout or multiple specific lighting lamps. The processing performance of the cloud management platform can be saved through distributed management and control, and at the same time, it has high reliability and flexibility.
[0165] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the instructions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise clearly stated in this document, the execution of these steps is not strictly limited in order and can be performed in other orders.
[0166] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A distributed intelligent lighting management method, characterized in that: The following steps are involved: Acquire a target lighting area, and select a plurality of reference lighting areas in the target lighting area, wherein the reference lighting areas are characterized as independent lighting partitions composed of a plurality of lighting lamps at distributed positions; Taking each of the reference lighting areas as a first distribution node, and taking each of the lighting lamps in the reference lighting area as a second distribution node; Acquire a lighting control mode, and select a first sub-control template or a second sub-control template based on the lighting control mode, wherein the first sub-control template is used to add each of the first distribution nodes, and the second sub-control template is used to add the second distribution node; Generate a control instruction based on the lighting control mode, and select a corresponding control object through the control instruction to add to the first sub-control template to obtain a first independent control group, or select a corresponding control object through the control instruction to add to the second sub-control template to obtain a second independent control group, wherein the control instruction includes control timing and control color content; Sending the control instruction to each of the first distribution nodes, and each of the first distribution nodes screening the control instruction to intercept a matching control segment and sending it to the corresponding second distribution node; The first distribution node or the second distribution node generates status feedback information in response to the control instruction.
2. The distributed intelligent lighting management method according to claim 1, characterized in that: Using each of the reference lighting areas as a first distribution node, and using each of the lighting lamps in the reference lighting area as a second distribution node, comprises the following steps: Numbering a plurality of the first distribution nodes to obtain a first number; Each of the second distribution nodes obtains the first number corresponding to the first distribution node where it is located as a number prefix, and performs suffix numbering on a plurality of the second distribution nodes to obtain a second number.
3. The distributed intelligent lighting management method according to claim 1, characterized in that: Acquiring a lighting control mode and selecting the first sub-control template or the second sub-control template based on the lighting control mode includes the following steps: If the lighting control mode is overall color control, the first sub-control template is selected; If the lighting control mode is zone color control, the first zone control template is selected; If the lighting control mode is irregular color control, the second sub-control template is selected; If the lighting control mode is customized color control, the second sub-control template is selected.
4. The distributed intelligent lighting management method according to claim 2, characterized in that: Generate a control instruction based on the lighting control mode, and select a corresponding control object through the control instruction to add to the first sub-control template to obtain a first independent control group, or select a corresponding control object through the control instruction to add to the second sub-control template to obtain a second independent control group, including the following steps: The first sub-control template and the second sub-control template are both composed of an object bar and an action bar; If the lighting control mode corresponds to the first sub-control template, the first numbers corresponding to the first distribution nodes are respectively added to the object column in the first sub-control template, and the control instructions corresponding to the first distribution nodes are added to the action column in the corresponding first sub-control template. The first sub-control templates after the addition together constitute a first independent control group; If the lighting control mode corresponds to the second sub-control template, the second distribution nodes corresponding to different requirements are classified based on the control instructions, and the second numbers of several second distribution nodes of the same classification are added to the object column in the same second sub-control template, and the control instructions corresponding to the second distribution nodes of each classification are added to the action column in the corresponding second sub-control template. After the addition is completed, several second sub-control templates together constitute a second independent control group.
5. The distributed intelligent lighting management method according to claim 4, characterized in that: After adding the control instruction to the action bar in the first sub-control template or the second sub-control template, the following steps are also included: Based on the control color content, the first independent control group or the second independent control group is vertically divided to obtain a plurality of column items of different colors, each of which includes at least one of the first sub-control template or the second sub-control template; Based on the control sequence, a plurality of the first sub-control templates or the second sub-control templates corresponding to each of the column items are horizontally sorted, and the horizontal sorting order is from near to far along the action time.
6. The distributed intelligent lighting management method according to claim 4, characterized in that: Each of the first distribution nodes screens the control instructions to intercept matching control fragments and sends them to the corresponding second distribution nodes, including the following steps: If the control instruction corresponds to the first independent control group, the first distribution node intercepts the control segment with the first number matching itself based on the object column, and sends the corresponding action column in the control segment to all the second distribution nodes for unified control; If the control instruction corresponds to the second independent control group, the first distribution node intercepts the control segment with the first number matching its own based on the object column, and further intercepts the control segment based on the second number in the object column to obtain control sub-segments corresponding to each of the second distribution nodes, and sends the corresponding action column in each of the control sub-segments to the corresponding second distribution node for control.
7. The distributed intelligent lighting management method according to claim 4, characterized in that: The first distribution node or the second distribution node generates state feedback information in response to the control instruction, comprising the following steps: Determining whether there is a control time span based on the control timing; If not, sending the generated status feedback information to the cloud management platform after the first distribution node or the second distribution node responds; If yes, determining whether there is a periodic command in the control sequence; If not, the state feedback information corresponding to the first distribution node or the second distribution node that responded is stored in the cloud storage space, and after the first distribution node or the second distribution node that is the last of the horizontally arranged nodes in the first independent control group or the second independent control group generates the state feedback information, several pieces of the state feedback information in the cloud storage space are packaged and sent to the cloud management platform; If it exists, a periodic time point is selected, and the status feedback information corresponding to the first distribution node or the second distribution node that responds is stored in the cloud storage space. After waiting for the first distribution node or the second distribution node corresponding to the periodic time point to generate the status feedback information, several pieces of the status feedback information in the cloud storage space are packaged and sent to the cloud management platform.
8. The distributed intelligent lighting management method according to claim 7, characterized in that: After the first distribution node or the second distribution node responds to the control instruction to generate state feedback information, the following steps are also included: Acquire generation time of each state feedback information, where the generation time is characterized by a difference between a time when the first distribution node or the second distribution node responds to the control segment and a control timing; The generation time errors between the first distribution nodes and between the second distribution nodes are determined, and response compensation is performed based on the errors.
9. A distributed cloud management platform, characterized in that: include: A target area acquisition module, used to acquire a target lighting area and select a plurality of reference lighting areas in the target lighting area, wherein the reference lighting areas are characterized as independent partitions with concentrated lighting by a plurality of lighting lamps at distribution positions; A distribution node setting module, used to use each of the reference lighting areas as a first distribution node, and each of the lighting lamps in the reference lighting area as a second distribution node; A control mode setting module, used for acquiring a lighting control mode, and selecting the first sub-control template or the second sub-control template based on the lighting control mode, wherein the first sub-control template is used for adding each of the first distribution nodes, and the second sub-control template is used for adding the second distribution node; A distributed control task generation module, used to generate a control instruction based on the lighting control mode, and select a corresponding control object through the control instruction to add to the first sub-control template to obtain a first independent control group, or select a corresponding control object through the control instruction to add to the second sub-control template to obtain a second independent control group, wherein the control instruction includes control timing and control color content; A task issuing module, issuing the control instruction to each of the first distribution nodes, each of the first distribution nodes screening the control instruction to intercept a matching control segment and issuing it to the corresponding second distribution node; The control management module is used to enable the first distribution node or the second distribution node to generate status feedback information after responding to the control instruction.
10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Landscape lighting intelligent monitoring system
CN109754456A
Urban area illumination system and control method
CN113795068A