Method and device for intelligently controlling lamps, and lamp control system

By performing image analysis of lamps and wireless communication to identify lamp body logos of virtual lamp body units, the problem of low lamp recognition efficiency in the prior art is solved, and efficient and accurate lamp control and light effect programming are achieved.

CN118413922BActive Publication Date: 2025-01-10APUTURE IMAGING IND CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410881628.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2025-01-10
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

The existing lamp control methods use physical connectors and wired communication methods to identify lamps, resulting in low recognition efficiency and inaccurateness, affecting the accuracy of lamp control.

Method used

By analyzing the image of the lamp, the image display parameters of the virtual lamp unit are identified, and the lamp body logo of the solid lamp unit is identified based on these parameters, and the control is performed using wireless communication methods to generate a visual interface for lighting control and light effect programming.

Benefits of technology

It improves the efficiency and accuracy of lamp identification, reduces hardware design and development costs, and realizes intuitive, accurate and efficient lamp control and light effect director.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118413922B_ABST
    Figure CN118413922B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for intelligently controlling lamps, and a lamp control system. By analyzing the collected image of the lamp in the current actual scene, image display parameters corresponding to each virtual lamp body unit in the image, such as image display brightness and image display color, are obtained. According to a predetermined identification method and the image display parameters corresponding to each virtual lamp body unit, the lamp body identification corresponding to each virtual lamp body unit is identified from lamp body identifications corresponding to at least two physical lamp body units corresponding one-to-one to the virtual lamp body units, thereby improving the recognition efficiency and accuracy of the lamp body identification, and facilitating the generation of a lamp body visualization interface corresponding to the current actual scene based on the accurately identified lamp body identification, so as to perform intuitive, accurate, efficient and convenient visualization control and light effect editing of the physical lamp body units in the current actual scene through the visualization interface, thereby reducing the hardware design and development costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lamp control, and in particular to a method and device for intelligently controlling a lamp, and a lamp control system. Background Art

[0002] With the rapid development of film and television lighting technology and stage culture, lamps are used more and more widely in film and television and stage scenes, especially film and television and stage scenes with multi-light linkage lighting effects.

[0003] At present, when controlling lamps and programming lighting effects on lighting control terminals (such as lighting consoles, mobile phones, tablets and other mobile terminal devices), the stage lighting control protocol DMX512 is usually used to set the lighting parameters of 512 channels to achieve lighting control and lighting effect programming of lamps.

[0004] However, practice has found that the above existing methods use physical connectors and wired communication to identify the relative position of lamps, which has low recognition efficiency, and the use loss or hardware failure of the hardware will affect the recognition accuracy to a certain extent, resulting in low accuracy of lamp control or light effect programming. Therefore, it is particularly important to propose a new lamp recognition method to improve the recognition efficiency and accuracy of lamps, thereby improving the technical solution of lamp control or light effect programming accuracy. Summary of the invention

[0005] The present invention provides a method and device for intelligently controlling lamps, and a lamp control system, which can improve the recognition efficiency and accuracy of lamps, thereby improving the control of lamps or the accuracy of light effect editing.

[0006] In order to solve the above technical problems, the first aspect of the present invention discloses a method for intelligently controlling a lamp, wherein the lamp includes at least two physical lamp body units, each of which has a lamp body identifier corresponding to the physical lamp body unit, and the method includes:

[0007] Analyze the collected image of the lamp in the current actual scene to obtain image display parameters corresponding to each virtual lamp body unit in the image, where each virtual lamp body unit has a physical lamp body unit corresponding to the virtual lamp body unit;

[0008] According to a predetermined identification method and an image display parameter corresponding to each of the virtual lamp body units, identifying the lamp body identifier corresponding to the virtual lamp body unit from the lamp body identifiers corresponding to at least two of the physical lamp body units;

[0009] Wherein, for each of the virtual lamp body units, the lamp body identification corresponding to the virtual lamp body unit is used as a basis for controlling the physical lamp body unit corresponding to the lamp body identification.

[0010] As an optional implementation, in the first aspect of the present invention, after identifying the lamp body identifier corresponding to the virtual lamp body unit from the lamp body identifiers corresponding to at least two of the physical lamp body units according to the predetermined identification method and the image display parameters corresponding to each of the virtual lamp body units, the method further includes:

[0011] According to the identified device identifier corresponding to each of the virtual lamp body units, a visualization interface including virtual parameters of the physical lamp body unit corresponding to the virtual lamp body unit is generated, wherein the virtual parameters of each of the physical lamp body units on the visualization interface correspond to the actual parameters of the physical lamp body unit in the current actual scene, wherein when the virtual parameters corresponding to each of the physical lamp body units include a virtual position, the actual parameters of the physical lamp body unit in the current actual scene are the actual position, and when the virtual parameters corresponding to each of the physical lamp body units include a virtual lamp form, the actual parameters of the physical lamp body unit in the current actual scene are the actual lamp form;

[0012] The visual interface is used to perform lighting control operations or lighting effect editing operations on all the physical lamp units.

[0013] As an optional embodiment, in the first aspect of the present invention, the method further comprises:

[0014] Determine virtual splicing parameters between all the virtual lamp body units in the image according to the analyzed image display parameters corresponding to each of the virtual lamp body units, where the virtual splicing parameters between all the virtual lamp body units include splicing form and / or splicing spacing;

[0015] The visualization interface is updated according to the virtual splicing parameters between all the virtual lamp body units to obtain a visualization interface including the virtual splicing parameters between all the virtual lamp body units, and the virtual splicing parameters between all the virtual lamp body units correspond to the actual splicing parameters between all the physical lamp body units.

[0016] The second aspect of the present invention discloses another method for intelligently controlling a lamp, wherein the lamp comprises at least two physical lamp body units, each of the physical lamp body units has a lamp body identifier corresponding to the physical lamp body unit, and the device is applied to a lamp control system, and the device comprises:

[0017] A display parameter analysis module, used to analyze the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp body unit in the image, each of which has a physical lamp body unit corresponding to the virtual lamp body unit;

[0018] A lamp body identification recognition module, used to identify the lamp body identification corresponding to the virtual lamp body unit from the lamp body identifications corresponding to at least two of the physical lamp body units according to a predetermined recognition method and an image display parameter corresponding to each of the virtual lamp body units;

[0019] Wherein, for each of the virtual lamp body units, the lamp body identification corresponding to the virtual lamp body unit is used as a basis for controlling the physical lamp body unit corresponding to the lamp body identification.

[0020] As an optional implementation, in the second aspect of the present invention, the device further includes:

[0021] A visualization interface generation module, for generating a visualization interface including virtual parameters of a physical lamp body unit corresponding to the virtual lamp body unit according to a predetermined identification method and image display parameters corresponding to each of the virtual lamp body units, after the lamp body identification corresponding to the virtual lamp body unit is identified by the lamp body identification recognition module from lamp body identifications corresponding to at least two of the physical lamp body units, and according to a device identification corresponding to each of the identified virtual lamp body units, wherein the virtual parameters of each of the physical lamp body units on the visualization interface correspond to actual parameters of the physical lamp body unit in the current actual scene, wherein when the virtual parameters corresponding to each of the physical lamp body units include a virtual position, the actual parameters of the physical lamp body unit in the current actual scene are the actual position, and when the virtual parameters corresponding to each of the physical lamp body units include a virtual lamp form, the actual parameters of the physical lamp body unit in the current actual scene are the actual lamp form;

[0022] The visual interface is used to perform lighting control operations or lighting effect editing operations on all the physical lamp units.

[0023] As an optional implementation, in the second aspect of the present invention, the device further includes:

[0024] a splicing parameter determination module, configured to determine virtual splicing parameters between all the virtual lamp body units in the image according to the analyzed image display parameters corresponding to each of the virtual lamp body units, wherein the virtual splicing parameters between all the virtual lamp body units include a splicing form and / or a splicing spacing;

[0025] A visualization interface update module is used to update the visualization interface according to the virtual splicing parameters between all the virtual lamp body units to obtain a visualization interface including the virtual splicing parameters between all the virtual lamp body units, and the virtual splicing parameters between all the virtual lamp body units correspond to the actual splicing parameters between all the physical lamp body units.

[0026] The third aspect of the present invention discloses another device for intelligently controlling a lamp, wherein the lamp comprises at least two lamp body units, each of the physical lamp body units has a lamp body identification corresponding to the physical lamp body unit, and the device is applied to a lamp control system, and the device comprises:

[0027] A memory storing executable program code;

[0028] a processor coupled to the memory;

[0029] The processor calls the executable program code stored in the memory to execute part or all of the steps in any method for intelligently controlling a lamp disclosed in the first aspect of the present invention.

[0030] The fourth aspect of the present invention discloses a lamp control system, which includes a lamp control terminal and a lamp, wherein the lamp includes at least two lamp body units, each of the physical lamp body units has a lamp body identification corresponding to the physical lamp body unit, wherein the lamp control terminal is used to execute part or all of the steps in any method for intelligently controlling a lamp disclosed in the first aspect of the present invention.

[0031] The fifth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in any method for intelligently controlling a lamp disclosed in the first aspect of the present invention.

[0032] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0033] In an embodiment of the present invention, a method and device for intelligently controlling a lamp and a lamp control system are disclosed. The image of the lamp in the current actual scene collected is analyzed to obtain image display parameters corresponding to each virtual lamp body unit in the image, such as image display brightness and image display color. According to a predetermined identification method and the image display parameters corresponding to each virtual lamp body unit, a lamp body identifier corresponding to each virtual lamp body unit is identified from lamp body identifiers corresponding to at least two physical lamp body units corresponding one to one with the virtual lamp body units, thereby improving the recognition efficiency and accuracy of the lamp body identifier, facilitating the generation of a lamp body visualization interface corresponding to the current actual scene based on the accurately identified lamp body identifier, so as to intuitively, accurately, efficiently and conveniently perform visualization control and light effect editing of the physical lamp body unit in the current actual scene through the visualization interface. In addition, the lamp body identifier is determined by image and wireless communication methods, and the position of the physical lamp body unit is determined, without considering the situation that there is hardware loss or hardware failure in lamp body identification through physical connectors and wired communication methods, thereby further improving the accuracy of lamp body identification while reducing the hardware design and development costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 It is a flow chart of a method for intelligently controlling a lamp disclosed in an embodiment of the present invention;

[0036] Figure 2 It is a flow chart of another method for intelligently controlling a lamp disclosed in an embodiment of the present invention;

[0037] Figure 3 It is a schematic diagram of brightness distribution after a plurality of solid lamp body units are spliced ​​together, as disclosed in an embodiment of the present invention;

[0038] Figure 4 It is a schematic diagram of a visualization interface for identifying lamp body positions obtained by multiple physical lamp body units disclosed in an embodiment of the present invention;

[0039] Figure 5 It is a structural schematic diagram of a device for intelligently controlling a lamp disclosed in an embodiment of the present invention;

[0040] Figure 6 It is a structural schematic diagram of another device for intelligently controlling a lamp disclosed in an embodiment of the present invention;

[0041] Figure 7 It is a structural schematic diagram of another device for intelligently controlling a lamp disclosed in an embodiment of the present invention;

[0042] Figure 8 It is a structural schematic diagram of a lamp control system disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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.

[0044] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.

[0045] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0046] The present invention discloses a method and device for intelligently controlling lamps, and a lamp control system, which can analyze the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp body unit in the image, such as image display brightness and image display color, and identify the lamp body identification corresponding to each virtual lamp body unit from the lamp body identifications corresponding to at least two physical lamp body units corresponding to the virtual lamp body units according to the predetermined identification method and the image display parameters corresponding to each virtual lamp body unit, thereby improving the recognition efficiency and accuracy of the lamp body identification, and facilitating the generation of a lamp body visualization interface corresponding to the current actual scene based on the accurately identified lamp body identification, so as to intuitively, accurately, efficiently and conveniently perform visualization control and light effect editing on the physical lamp body unit in the current actual scene through the visualization interface; in addition, the lamp body identification is determined by image mode and wireless communication mode, and the position of the physical lamp body unit is determined, without considering the situation that there is hardware loss or hardware failure in lamp body identification through physical connectors and wired communication mode, thereby further improving the accuracy of lamp body identification and reducing the hardware design and development cost. The method and device for intelligently controlling lamps described in the present invention are described in detail below.

[0047] Embodiment 1

[0048] See also Figure 1 , Figure 1 is a flow chart of a method for intelligently controlling a lamp disclosed in an embodiment of the present invention. Figure 1The described method can be applied to any of the scenes that need to be filmed indoors and outdoors, such as stage scenes, podium scenes, cocktail scenes, and bar scenes, which are equipped with devices for intelligently controlling lamps. The lamp control device can be integrated into a lamp control terminal, or a lamp master control device, or a server for realizing lamp light control, which is not limited in the embodiment of the present invention. Further, the lamp control terminal can be a user terminal for an operator to trigger a lamp control process, wherein the user terminal can be any of a smart phone (Android phone, iOS phone, etc.), a tablet computer, a smart phone watch, a PDA, and a mobile Internet device (Mobile Internet Devices, MID). Further, the lamp control device can be integrated into an execution object, and the lamp control is realized by an execution object, such as the lamp control process is realized by the lamp control terminal, or the lamp control device can be distributed on multiple execution objects, and the lamp control is realized by multiple execution objects, such as the lamp control process is realized by the lamp control terminal and the lamp master control device, which is not limited in the embodiment of the present invention. The lamp includes at least two physical lamp body units, each of which is provided with a wireless communication module, and is connected to the lamp control device by wireless communication, and each physical lamp body unit has a lamp body identification corresponding to the physical lamp body unit, wherein the lamp body identification includes but is not limited to equipment identification, number identification, color identification and other identifications that can be uniquely identified. Figure 1 As shown, the method for intelligently controlling a lamp may include the following operations:

[0049] 101. Analyze the collected image of the lamp in the current actual scene to obtain image display parameters corresponding to each virtual lamp body unit in the image, and each virtual lamp body unit has a physical lamp body unit corresponding to the virtual lamp body unit.

[0050] 102. According to a predetermined identification method and image display parameters corresponding to each virtual lamp body unit, identify the lamp body identifier corresponding to the virtual lamp body unit from the lamp body identifiers corresponding to at least two physical lamp body units; wherein, for each virtual lamp body unit, the lamp body identifier corresponding to the virtual lamp body unit serves as a basis for controlling the physical lamp body unit corresponding to the lamp body identifier.

[0051] It can be seen that the method described in the embodiment of the present invention analyzes the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp body unit in the image, such as image display brightness and image display color, and identifies the lamp body identifier corresponding to each virtual lamp body unit from the lamp body identifiers corresponding to at least two physical lamp body units corresponding to the virtual lamp body units according to the predetermined identification method and the image display parameters corresponding to each virtual lamp body unit, thereby improving the recognition efficiency and accuracy of the lamp body identifier, and facilitating the generation of a lamp body visualization interface corresponding to the current actual scene based on the accurately identified lamp body identifier, so as to intuitively, accurately, efficiently and conveniently perform visualization control and light effect editing of the physical lamp body unit in the current actual scene through the visualization interface; in addition, the lamp body identifier is determined by image mode and wireless communication mode, and the position of the physical lamp body unit is determined, without considering the situation that there is hardware usage loss or hardware failure in lamp body identification through physical connectors and wired communication mode, thereby further improving the accuracy of lamp body identification while reducing hardware design and development costs.

[0052] In the embodiment of the present invention, optionally, according to a predetermined identification method and an image display parameter corresponding to each virtual lamp body unit, identifying a lamp body identifier corresponding to the virtual lamp body unit from lamp body identifiers corresponding to at least two physical lamp body units includes:

[0053] According to the predetermined mapping relationship between all physical lamp units and actual light parameters and the image display parameters corresponding to each virtual lamp unit, the actual light parameters corresponding to the virtual lamp unit are determined from the actual light parameters corresponding to at least two physical lamp units;

[0054] According to a predetermined mapping relationship between actual light parameters and light body identifiers and actual light parameters corresponding to each virtual light body unit, a light body identifier corresponding to the virtual light body unit is identified from light body identifiers corresponding to at least two physical light body units.

[0055] In the embodiment of the present invention, further optionally, according to the predetermined mapping relationship between all physical lamp units and the actual lighting parameters and the image display parameters corresponding to each virtual lamp unit, the actual lighting parameters corresponding to the virtual lamp unit are determined from the actual lighting parameters corresponding to at least two physical lamp units, including:

[0056] When the image display parameter includes image display brightness, the image display brightness corresponding to all virtual lamp body units is sorted to obtain a brightness sorting result, and according to the brightness sorting result and a predetermined mapping relationship between all physical lamp body units and actual light brightness, the actual light brightness corresponding to each virtual lamp body unit is determined from the actual light brightness corresponding to at least two physical lamp body units, the actual light parameter corresponding to each virtual lamp body unit includes the actual light brightness corresponding to the virtual lamp body unit, wherein there is a positive correlation or a negative correlation between the image display brightness corresponding to the virtual lamp body unit of each physical lamp body unit and the actual light brightness corresponding to the physical lamp body unit;

[0057] When the image display parameters include image display colors, the actual light color corresponding to each virtual lamp body unit is determined from the actual light colors corresponding to at least two physical lamp body units according to a predetermined mapping relationship between the physical lamp body unit and the actual light color and the image display color corresponding to each virtual lamp body unit, and the actual light parameters corresponding to each virtual lamp body unit include the actual light color corresponding to the virtual lamp body unit.

[0058] In the embodiment of the present invention, the image display brightness corresponding to all virtual lamp body units may be sorted from small to large or from large to small. For example, the image display brightness sequence of all n virtual lamp body units may be obtained by sorting from small to large:

[0059] ;

[0060] In this optional embodiment, there is a positive correlation or negative correlation between the actual light brightness of the physical lamp unit and the image display brightness of the corresponding virtual lamp unit, that is, the brighter the actual light brightness, the brighter or darker the image display brightness. Taking the positive correlation as an example, for the actual lamp brightness linearly distributed from small to large and the image display brightness linearly sorted from small to large, the specific method of determining the corresponding relationship between the physical lamp unit and the corresponding virtual lamp unit is: from the sorted sequence Take out the image display brightness of any virtual lamp unit (m≤n), then the actual lamp brightness corresponding to the virtual lamp unit is , and then according to the mapping relationship between the actual light brightness and the lamp body identification, the actual lamp body brightness is determined as The corresponding lamp body identification is obtained to obtain the lamp body identification corresponding to the virtual lamp body unit, thereby establishing a corresponding relationship between the actual position and the virtual position of the physical lamp body unit.

[0061] It can be seen that this optional embodiment improves the recognition accuracy and reliability of the lamp body identification corresponding to the virtual lamp body unit by first determining the actual lighting parameters corresponding to the image display parameters according to the mapping relationship between the physical lamp body unit and the actual lighting parameters, and then determining the lamp body identification corresponding to the virtual lamp body unit based on the mapping relationship between the actual lighting parameters and the lamp body identification, which is conducive to further improving the accuracy and convenience of controlling the physical lamp body unit or directing lighting effects through the accurate visual interface generated by the lamp body identification; in addition, for the image display brightness and image display color of the virtual lamp body unit, the corresponding actual lighting parameters are determined according to the characteristics of its image display, and the actual light brightness and actual light color are determined respectively, thereby improving the accuracy and efficiency of determining the actual light brightness and actual light color.

[0062] In an optional embodiment, according to a predetermined identification method and image display parameters corresponding to each virtual lamp body unit, after identifying the lamp body identifier corresponding to the virtual lamp body unit from the lamp body identifiers corresponding to at least two physical lamp body units, the method may further include the following steps:

[0063] According to the device identifier corresponding to each identified virtual lamp body unit, a visualization interface including virtual parameters of the physical lamp body unit corresponding to the virtual lamp body unit is generated, wherein the virtual parameters of each physical lamp body unit on the visualization interface correspond to the actual parameters of the physical lamp body unit in the current actual scene, wherein when the virtual parameters corresponding to each physical lamp body unit include a virtual position, the actual parameters of the physical lamp body unit in the current actual scene are the actual position, and when the virtual parameters corresponding to each physical lamp body unit include a virtual lamp form, the actual parameters of the physical lamp body unit in the current actual scene are the actual lamp form;

[0064] The visual interface is used to perform lighting control operations or lighting effect editing operations on all physical lamp units.

[0065] It can be seen that after obtaining the lamp body identification corresponding to the virtual lamp body unit, this optional embodiment generates a visualization interface including the virtual position and virtual lamp shape corresponding to the physical lamp body unit through the lamp body identification, thereby establishing an intuitive and accurate correspondence between the actual position of the physical lamp body unit and its virtual position on the visualization interface, so that each physical lamp body unit is mapped to the correct position on the visualization interface, which is conducive to intuitive, accurate and efficient control of the physical lamp body unit or lighting effect editing.

[0066] In another optional embodiment, the method may further include the following steps:

[0067] Determine virtual splicing parameters between all virtual lamp body units in the image according to the analyzed image display parameters corresponding to each virtual lamp body unit, where the virtual splicing parameters between all virtual lamp body units include splicing form and / or splicing spacing;

[0068] According to the virtual splicing parameters between all virtual lamp body units, the visualization interface is updated to obtain a visualization interface including the virtual splicing parameters between all virtual lamp body units, and the virtual splicing parameters between all virtual lamp body units correspond to the actual splicing parameters between all physical lamp body units.

[0069] In this optional embodiment, the lamp can be formed by splicing a plurality of physical lamp body units. Specifically, the position of each virtual lamp body unit on the image can be determined according to the image display brightness and / or image display color, and the splicing spacing and shape between two virtual lamp body units are analyzed based on the position of each virtual lamp body unit on the image.

[0070] It can be seen that this optional embodiment analyzes the virtual splicing spacing and splicing shape of the image display parameters corresponding to the virtual lamp body unit, and updates the aforementioned visualization interface based on the analyzed splicing shape and spacing, so as to obtain an accurate visualization interface that also includes the lamp body position and splicing status of the physical lamp body unit, thereby further improving the intuitiveness and accuracy of controlling the physical lamp body unit or programming the lighting effects.

[0071] In yet another optional embodiment, the method may further include the following steps:

[0072] Determine the operating parameters required for multiple physical lamp units, and set corresponding operating parameters for each physical lamp unit based on the above-mentioned visualization interface, wherein the operating parameters corresponding to each physical lamp unit include one or more of lamp brightness, lamp color temperature, lamp color, lamp light effect, lamp operating time, and fade-in / fade-out effect, etc.;

[0073] After setting the operating parameters corresponding to each physical lamp body unit, receiving the operation triggered (such as clicking) by the operator at the touch position corresponding to each physical lamp body unit on the visual interface according to a predetermined operation sequence (such as from top to bottom or from left to right);

[0074] According to the touch control instructions corresponding to all the operations of the operator received, a light effect sequence of multiple physical lamp body units is generated, and the light effect sequence is sent to the multiple physical lamp body units through the wireless communication module to perform light effect programming.

[0075] In this optional embodiment, the operating parameters corresponding to each physical lamp body unit may be manually set by an operator, or may be automatically set by the lamp control device.

[0076] It can be seen that after obtaining the visual interface, this optional embodiment sets corresponding operating parameters for multiple physical lamp body units and generates corresponding light effect sequences, which are sent to the corresponding physical lamp body units, so as to realize efficient and accurate light effect programming of multiple physical lamp body units through the visual interface, thereby improving the accuracy and efficiency of the light effect programming of the physical lamp body units, which in turn is conducive to improving the control accuracy of the physical lamp body units.

[0077] In yet another optional embodiment, before analyzing the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp unit in the image, the method may further include the following steps:

[0078] For each physical lamp body unit, a lamp body identifier corresponding to the physical lamp body unit is set, and corresponding actual lighting parameters are configured for each physical lamp body unit, and the lighting parameters of each physical lamp body unit among all the physical lamp body units are different;

[0079] The actual lighting parameters corresponding to all the set physical lamp body units are distributed to all the physical lamp body units, and a mapping relationship between the lamp body identification corresponding to each physical lamp body unit and the actual lighting parameters of the physical lamp body unit is established, and the mapping relationship corresponding to all the physical lamp body units is determined to be a mapping relationship between the predetermined actual lighting parameters and the lamp body identification.

[0080] In this optional embodiment, the actual lighting parameters corresponding to each physical lamp body unit include actual light brightness and / or actual light color; the actual lighting parameters between each physical lamp body unit in all physical lamp body units are different, specifically, the actual light brightness between each physical lamp body unit in all physical lamp body units are different and / or the actual light color is different.

[0081] In this optional embodiment, optionally, when allocating actual lighting parameters, all actual lighting parameters can be randomly allocated to all physical lamp body units, or the actual lighting parameters can be regularly allocated to all physical lamp body units, such as: dividing the actual lighting parameters into two parts A1 and B1 according to the brightness, and all physical lamp body units are also divided into two parts A2 and B2, among which A1 and B1 are allocated to A2 and B2 respectively, but no matter for A2 or B2, the corresponding A1 and B1 actual lighting parameters are randomly allocated.

[0082] In this optional embodiment, it should be noted that there is no order relationship between the establishment of the mapping relationship and the allocation of the actual lighting parameters, that is, they can occur simultaneously, and the establishment of the mapping relationship can also occur before or after the allocation of the actual lighting parameters.

[0083] It can be seen that this optional embodiment allocates actual lighting parameters to the physical lamp body units in the current actual scene, and establishes a mapping relationship between the unique corresponding lamp body identification set for all physical lamp body units in advance and the different actual lighting parameters. This is beneficial for the subsequent intelligent identification of the physical lamp body units based on the mapping relationship, and the establishment of a corresponding relationship between the virtual lamp body units and the corresponding physical lamp body units.

[0084] In yet another optional embodiment, before configuring corresponding actual lighting parameters for each physical lamp body unit, the method may further include the following steps:

[0085] Obtain parameter configuration information of all the physical virtual lamp body units, where the parameter configuration information includes the number of all the physical lamp body units and / or the actual light brightness number that all the physical lamp body units need to be configured with and / or the actual light color number that all the physical lamp body units need to be configured with;

[0086] Determine the parameter configuration mode of all physical lamp body units according to the parameter configuration information;

[0087] The corresponding actual lighting parameters are configured for each physical lamp unit, including:

[0088] According to the parameter configuration method, the corresponding actual lighting parameters are configured for each physical lamp unit.

[0089] In this optional embodiment, optionally, according to the parameter configuration method, corresponding actual lighting parameters are configured for each physical lamp body unit, including:

[0090] When the actual light parameters corresponding to each physical lamp body unit configuration include actual light brightness, the corresponding actual light brightness is configured for each physical lamp body unit in a linear configuration manner of light brightness;

[0091] When the actual light parameters corresponding to each physical lamp body unit configuration include the actual light color, the corresponding actual light color is randomly configured for each physical lamp body unit.

[0092] In this optional embodiment, for actual light brightness distribution, different actual light brightness is linearly distributed from small to large or from large to small for each physical light unit. For example, assuming that the number of physical light units is n, and the brightness of n physical light units is linearly distributed from 0% to 100% from small to large, the actual light brightness of the n physical light units is as follows:

[0093] , , , , 1

[0094] It can be seen that this optional embodiment determines the corresponding parameter configuration mode for the physical lamp body unit in combination with the parameter configuration information required for the physical lamp body unit, and allocates the actual light brightness and the actual light color, which can improve the accuracy of the allocation of the actual light parameters, thereby helping to improve the recognition accuracy of the lamp body logo of the virtual lamp body unit, and further helping to improve the accuracy of generating the visual interface for accurately controlling the physical lamp body unit; and determining the corresponding parameter configuration mode through the number of physical lamp body units required to be configured, the number of actual light brightnesses, and the number of actual light colors can improve the accuracy of determining the parameter configuration mode, which is conducive to further improving the accuracy of the allocation of the actual light parameters.

[0095] In yet another optional embodiment, the collected image of the lamp in the current actual scene is analyzed to obtain image display parameters corresponding to each virtual lamp unit in the image, including:

[0096] Identify the collected image of the lamp in the current actual scene to obtain the contour edge of each virtual lamp body unit in the image;

[0097] For any virtual lamp unit, according to the outline edge of the virtual lamp unit, determine the pixel point information within the outline edge, and according to the pixel point information within the outline edge, determine the image display parameter corresponding to the virtual lamp unit in the image;

[0098] Among them, when the pixel point information within the contour edge includes the number of all pixels within the contour edge and the pixel value of each pixel, the image display parameters corresponding to the virtual lamp body unit include the image display brightness; when the pixel point information within the contour edge includes the pixel value of each pixel within the contour edge, the image display parameters corresponding to the virtual lamp body unit include the image display color.

[0099] In this optional embodiment, optionally, the image of the lamp in the current actual scene is collected and identified by an edge detection algorithm (such as Roberts operator, Prewitt operator, Canny operator) to obtain the contour edge of each virtual lamp body unit in the image.

[0100] In this optional embodiment, for the image display brightness of any virtual lamp unit, the image display brightness of the virtual lamp unit is obtained by calculating the number of all pixels within the contour edge of the virtual lamp unit and the pixel brightness value of each pixel. For example, for a virtual lamp unit C, the number of all pixels within the contour edge is k, and the pixel brightness values ​​of each pixel are a1, a2, a3, ..., a k-1 、a k , then the image brightness value of the virtual lamp unit C in the image is:

[0101] ;

[0102] In the formula, is the image brightness value of each virtual lamp unit C in the image.

[0103] For all virtual lamp body units n in the image of the lamp in the current actual scene, the image brightness value of each virtual lamp body unit in the image can be:

[0104] ;

[0105] It can be seen that this optional embodiment can accurately determine the image display brightness and image display color of the virtual lamp body unit in the image by analyzing the pixel points and pixel values ​​within the contour edge of the image, which is beneficial to improving the recognition accuracy of the physical lamp body unit.

[0106] In yet another optional embodiment, before analyzing the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp unit in the image, the method may further include the following steps:

[0107] Based on an image collector (such as a camera integrated in a lighting control device or a camera connected to the lighting control device for communication), an image of the lighting in the current actual scene (such as a front image, a side image, and a back image) is collected;

[0108] Before acquiring the image of the lamp in the current actual scene based on the image collector, the method may further include the following steps:

[0109] Obtaining information corresponding to the lamp in the current actual scene, the information corresponding to the lamp includes the arrangement of all physical lamp units and / or the shape of each physical lamp unit and / or the size of each physical lamp unit and / or the relative information between the position of each physical lamp unit and the position of the image collector, the relative information includes the relative distance and / or the relative angle;

[0110] Determine the image acquisition method of the lamp according to the collected information corresponding to the lamp;

[0111] The image acquisition device is used to acquire the image of the lamp in the current actual scene, including:

[0112] According to the determined image acquisition method of the lamp, the image of the lamp in the current actual scene is acquired based on the image collector.

[0113] In this optional embodiment, different arrangements of physical lamp units (which can also be understood as splicing forms, splicing spacing) (such as longitudinal arrangement, horizontal arrangement, circular arrangement, triangular arrangement, etc.), different shapes of physical lamp units (such as triangle, circle, etc.), different sizes of physical lamp units (such as 40cm*40cm, 80cm*80cm), different relative distances (such as 10m, 15m), and different relative angles (such as 70°, 60°) have different corresponding image acquisition methods. Specifically, the closer the relative distance and / or the smaller the relative angle and / or the smaller the size and / or the more regular the shape and / or the more compact the arrangement, the more virtual lamp units are included in the same frame of image. Among them, the image of the lamp in the current actual scene collected can be a picture and / or an image. And the shooting field of each frame of image can include all the physical lamp units in the current actual scene, or it can include some of the physical lamp units, but no matter which method is used, the final image contains all the virtual lamp units corresponding to the physical lamp units.

[0114] It can be seen that this optional embodiment can improve the accuracy of determining the image acquisition method by determining the corresponding image acquisition method based on the arrangement, size, shape of the physical lamp body unit in the current actual scene and the relative angle and distance between the position of the physical lamp body unit and the position of the image collector, which is beneficial to improving the accuracy and efficiency of acquiring the image of the physical lamp body unit, and further beneficial to improving the recognition accuracy and efficiency of the physical lamp body unit.

[0115] Embodiment 2

[0116] See also Figure 2 , Figure 2 is a flow chart of another method for intelligently controlling a lamp disclosed in an embodiment of the present invention. Figure 2 The described method can be applied to any of the indoor and outdoor scenes that need to be photographed, such as stage scenes, podium scenes, cocktail parties and bar scenes, which are equipped with devices for intelligently controlling lamps. The lamp includes at least two physical lamp units, each of which is provided with a wireless communication module, and is connected to the lamp control device through wireless communication. Each physical lamp unit has a lamp body identification corresponding to the physical lamp unit, wherein the lamp body identification includes but is not limited to equipment identification, number identification, color identification and other identifications that can be uniquely identified. And, Figure 2 The method described can be implemented by a user operating a user terminal, and is described by taking the user terminal as a mobile phone with a lighting control APP installed. Figure 2 As shown, the method for intelligently controlling a lamp may include the following operations:

[0117] 201. The user opens the lamp control APP, and the lamp control APP communicates with multiple physical lamp units in the current actual scene through wireless communication, and adds the multiple physical lamp units to the lamp control APP.

[0118] 202. The user or the lamp control APP sets a unique corresponding lamp body identification, such as a device identification, for each physical lamp body unit on the lamp control APP. The lamp control APP configures different actual lighting parameters for each physical lamp body unit, specifically different actual lighting brightness and / or different actual lighting colors.

[0119] 203. The lamp control APP randomly or non-randomly distributes the above-configured different actual lighting parameters to all physical lamp body units through wireless control instructions, and establishes a mapping relationship between the lamp body identification corresponding to each physical lamp body unit and the actual lighting parameters of the physical lamp body unit, and caches the mapping relationship.

[0120] 204. The lighting control APP calls its camera to shoot the front side (set the back side and / or the side side) of the spliced ​​lighting in the current actual scene to obtain one or more images.

[0121] 205. The lighting control APP identifies the captured image and obtains the contour edge of each virtual lamp body unit in the image. For any virtual lamp body unit, the pixel point information within the contour edge is determined based on the contour edge of the virtual lamp body unit, and the image display parameters corresponding to the virtual lamp body unit in the image, such as the image display brightness, are determined based on the pixel point information within the contour edge. Each virtual lamp body unit has a physical lamp body unit corresponding to the virtual lamp body unit.

[0122] 206. The lighting control APP determines the actual lighting parameters, such as actual light brightness, corresponding to the virtual lamp body unit from the actual lighting parameters corresponding to at least two physical lamp body units based on the predetermined mapping relationship between all physical lamp body units and the actual lighting parameters and the image display parameters corresponding to each virtual lamp body unit, and determines the virtual splicing parameters between all virtual lamp body units in the image based on the analyzed image display parameters corresponding to each virtual lamp body unit, and the virtual splicing parameters between all virtual lamp body units include splicing shape and / or splicing spacing.

[0123] In the embodiment of the present invention, optionally, Figure 3 is a schematic diagram of brightness distribution after a plurality of solid lamp body units are spliced ​​together, as disclosed in an embodiment of the present invention. Figure 3As shown, it includes 4 virtual lamp body units corresponding to the physical lamp body units with different actual light brightness and 2*2 splicing form, namely lamp body 1 with actual light brightness of 25%, lamp body 2 with actual light brightness of 50%, lamp body 3 with actual light brightness of 75%, and lamp body 4 with actual light brightness of 100%.

[0124] 207. The lamp control APP identifies the lamp body identifier corresponding to the virtual lamp body unit from the lamp body identifiers corresponding to at least two physical lamp body units according to the predetermined mapping relationship between the actual lighting parameters and the lamp body identifiers and the actual lighting parameters corresponding to each virtual lamp body unit.

[0125] 208. The lamp control APP generates a visualization interface including virtual parameters of the physical lamp body unit corresponding to the virtual lamp body unit according to the identified device identifier corresponding to each virtual lamp body unit and the virtual splicing parameters between all virtual lamp body units.

[0126] In the embodiment of the present invention, optionally, Figure 4 is a schematic diagram of a visualization interface for identifying a plurality of physical lamp body units to obtain lamp body positions disclosed in an embodiment of the present invention, such as Figure 4 As shown, Figure 4 for Figure 3 The virtual position (also called the operation position) corresponding to each physical lamp unit on the visual interface. It should be noted that Figure 3 and Figure 4 All of them are schematic diagrams used for explanation in the embodiments of the present invention and are not intended to limit the embodiments of the present invention. For example, they may be in an 8*8 splicing form.

[0127] In the embodiment of the present invention, for other related descriptions of steps 201 to 208, please refer to the detailed description of other technical contents in the first embodiment, and the embodiment of the present invention will not be repeated here.

[0128] It can be seen that the embodiment of the present invention analyzes the collected image of the lamp in the current actual scene to obtain image display parameters corresponding to each virtual lamp body unit in the image, such as image display brightness and image display color, and identifies the lamp body identifier corresponding to each virtual lamp body unit from the lamp body identifiers corresponding to at least two physical lamp body units corresponding one-to-one to the virtual lamp body units according to the predetermined identification method and the image display parameters corresponding to each virtual lamp body unit, thereby improving the recognition efficiency and accuracy of the lamp body identifier, and is conducive to generating a lamp body visualization interface corresponding to the current actual scene based on the accurately identified lamp body identifier, so as to intuitively, accurately, efficiently and conveniently perform visualization control and light effect editing of the physical lamp body unit in the current actual scene through the visualization interface; in addition, the lamp body identifier is determined by image mode and wireless communication mode, and the position of the physical lamp body unit is determined, without considering the situation that there is hardware usage loss or hardware failure in lamp body identification through physical connectors and wired communication mode, thereby further improving the accuracy of lamp body identification while reducing hardware design and development costs.

[0129] Embodiment 3

[0130] See also Figure 5 , Figure 5 is a schematic diagram of a structure of a device for intelligently controlling a lamp disclosed in an embodiment of the present invention. Figure 5The described device can be applied to any of the scenes that need to be filmed indoors and outdoors, such as stage scenes, podium scenes, cocktail scenes, and bar scenes, which are equipped with devices for intelligently controlling lamps. Among them, the lamp control device can be integrated in a lamp control terminal, or in a lamp master control device, or in a server for realizing lamp light control, which is not limited in the embodiment of the present invention. Further, the lamp control terminal can be specifically a user terminal for an operator to trigger a lamp control process, wherein the user terminal can be any of a smart phone (Android phone, iOS phone, etc.), a tablet computer, a smart phone watch, a PDA, and a mobile Internet device (Mobile Internet Devices, MID). Further, the lamp control device can be integrated in an execution object, and the lamp control is realized by an execution object, such as the lamp control process is realized by the lamp control terminal, or the lamp control device can be distributed on multiple execution objects, and the lamp control is realized by multiple execution objects, such as the lamp control process is realized by the lamp control terminal and the lamp master control device, which is not limited in the embodiment of the present invention. The lamp includes at least two physical lamp body units, each of which is provided with a wireless communication module, and is connected to the lamp control device by wireless communication, and each physical lamp body unit has a lamp body identification corresponding to the physical lamp body unit, wherein the lamp body identification includes but is not limited to equipment identification, number identification, color identification and other identifications that can be uniquely identified. Figure 5 As shown, the device may include:

[0131] The display parameter analysis module 301 is used to analyze the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp unit in the image, and each virtual lamp unit has a physical lamp unit corresponding to the virtual lamp unit;

[0132] The lamp body identification recognition module 302 is used to identify the lamp body identification corresponding to the virtual lamp body unit from the lamp body identifications corresponding to at least two physical lamp body units according to a predetermined recognition method and the image display parameters corresponding to each virtual lamp body unit; wherein, for each virtual lamp body unit, the lamp body identification corresponding to the virtual lamp body unit serves as a basis for controlling the physical lamp body unit corresponding to the lamp body identification.

[0133] It can be seen that implementation Figure 5The described device analyzes the collected image of the lamp in the current actual scene to obtain image display parameters corresponding to each virtual lamp body unit in the image, such as image display brightness and image display color, and identifies the lamp body identifier corresponding to each virtual lamp body unit from the lamp body identifiers corresponding to at least two physical lamp body units corresponding to the virtual lamp body units according to a predetermined identification method and the image display parameters corresponding to each virtual lamp body unit, thereby improving the recognition efficiency and accuracy of the lamp body identifier, and facilitating the generation of a lamp body visualization interface corresponding to the current actual scene based on the accurately identified lamp body identifier, so as to intuitively, accurately, efficiently and conveniently perform visualization control and light effect editing of the physical lamp body unit in the current actual scene through the visualization interface; in addition, the lamp body identifier is determined by image and wireless communication methods, and the position of the physical lamp body unit is determined, without considering the situation that hardware usage loss or hardware failure occurs when the lamp body is identified through physical connectors and wired communication methods, thereby further improving the accuracy of lamp body identification while reducing hardware design and development costs.

[0134] In the embodiment of the present invention, optionally, the lamp body identification recognition module 302 identifies the lamp body identification corresponding to the virtual lamp body unit from the lamp body identifications corresponding to at least two physical lamp body units according to the predetermined recognition method and the image display parameters corresponding to each virtual lamp body unit. The specific method includes:

[0135] According to the predetermined mapping relationship between all physical lamp units and actual light parameters and the image display parameters corresponding to each virtual lamp unit, the actual light parameters corresponding to the virtual lamp unit are determined from the actual light parameters corresponding to at least two physical lamp units;

[0136] According to a predetermined mapping relationship between actual light parameters and light body identifiers and actual light parameters corresponding to each virtual light body unit, a light body identifier corresponding to the virtual light body unit is identified from light body identifiers corresponding to at least two physical light body units.

[0137] In the embodiment of the present invention, further optionally, the lamp body identification recognition module 302 determines the actual lighting parameters corresponding to the virtual lamp body unit from the actual lighting parameters corresponding to at least two physical lamp body units according to the predetermined mapping relationship between all physical lamp body units and the actual lighting parameters and the image display parameters corresponding to each virtual lamp body unit. The specific manner includes:

[0138] When the image display parameter includes image display brightness, the image display brightness corresponding to all virtual lamp body units is sorted to obtain a brightness sorting result, and according to the brightness sorting result and a predetermined mapping relationship between all physical lamp body units and actual light brightness, the actual light brightness corresponding to each virtual lamp body unit is determined from the actual light brightness corresponding to at least two physical lamp body units, the actual light parameter corresponding to each virtual lamp body unit includes the actual light brightness corresponding to the virtual lamp body unit, wherein there is a positive correlation or a negative correlation between the image display brightness corresponding to the virtual lamp body unit of each physical lamp body unit and the actual light brightness corresponding to the physical lamp body unit;

[0139] When the image display parameters include image display colors, the actual light color corresponding to each virtual lamp body unit is determined from the actual light colors corresponding to at least two physical lamp body units according to a predetermined mapping relationship between the physical lamp body unit and the actual light color and the image display color corresponding to each virtual lamp body unit, and the actual light parameters corresponding to each virtual lamp body unit include the actual light color corresponding to the virtual lamp body unit.

[0140] It can be seen that implementation Figure 5 The described device can also determine the actual lighting parameters corresponding to the image display parameters based on the mapping relationship between the physical lamp body unit and the actual lighting parameters, and then determine the lamp body identification corresponding to the virtual lamp body unit based on the mapping relationship between the actual lighting parameters and the lamp body identification, thereby improving the recognition accuracy and reliability of the lamp body identification corresponding to the virtual lamp body unit, which is conducive to further improving the accuracy and convenience of controlling the physical lamp body unit or directing light effects through the accurate visual interface generated by the lamp body identification; in addition, for the image display brightness and image display color of the virtual lamp body unit, the corresponding actual lighting parameters are determined according to the characteristics of its image display, and the actual light brightness and actual light color are determined respectively, thereby improving the accuracy and efficiency of determining the actual light brightness and actual light color.

[0141] In an alternative embodiment, Figure 6 is a schematic diagram of the structure of another device for intelligently controlling a lamp disclosed in an embodiment of the present invention, such as Figure 6 As shown, the device may also include:

[0142] A visualization interface generation module 303 is used for generating a visualization interface including virtual parameters of a physical lamp body unit corresponding to the virtual lamp body unit according to a device identifier corresponding to each identified virtual lamp body unit, after the lamp body identifier recognition module 302 recognizes the lamp body identifier corresponding to the virtual lamp body unit from lamp body identifiers corresponding to at least two physical lamp body units according to a predetermined recognition method and image display parameters corresponding to each virtual lamp body unit. The virtual parameters of each physical lamp body unit on the visualization interface correspond to actual parameters of the physical lamp body unit in the current actual scene, wherein when the virtual parameters corresponding to each physical lamp body unit include a virtual position, the actual parameters of the physical lamp body unit in the current actual scene are the actual position, and when the virtual parameters corresponding to each physical lamp body unit include a virtual lamp form, the actual parameters of the physical lamp body unit in the current actual scene are the actual lamp form;

[0143] The visual interface is used to perform lighting control operations or lighting effect editing operations on all physical lamp units.

[0144] It can be seen that implementation Figure 6 The described device can, after obtaining the lamp body identification corresponding to the virtual lamp body unit, generate a visualization interface including the virtual position and virtual lamp shape corresponding to the physical lamp body unit through the lamp body identification, thereby establishing an intuitive and accurate correspondence between the actual position of the physical lamp body unit and its virtual position on the visualization interface, so that each physical lamp body unit is mapped to the correct position on the visualization interface, which is conducive to intuitive, accurate and efficient control of the physical lamp body unit or lighting effect editing.

[0145] In another optional embodiment, Figure 6 As shown, the device may also include:

[0146] A splicing parameter determination module 304 is used to determine virtual splicing parameters between all virtual lamp body units in the image according to the analyzed image display parameters corresponding to each virtual lamp body unit, where the virtual splicing parameters between all virtual lamp body units include splicing form and / or splicing spacing;

[0147] The visualization interface update module 305 is used to update the visualization interface according to the virtual splicing parameters between all virtual lamp body units to obtain a visualization interface including the virtual splicing parameters between all virtual lamp body units, and the virtual splicing parameters between all virtual lamp body units correspond to the actual splicing parameters between all physical lamp body units.

[0148] It can be seen that implementation Figure 6The described device can also analyze the virtual splicing spacing and splicing shape of the image display parameters corresponding to the virtual lamp body unit, and update the aforementioned visualization interface based on the analyzed splicing shape and spacing, so as to obtain an accurate visualization interface that simultaneously includes the lamp body position and splicing status of the physical lamp body unit, further improving the intuitiveness and accuracy of controlling the physical lamp body unit or programming the lighting effects.

[0149] In another optional embodiment, the device is also used to determine the operating parameters required for multiple physical lamp body units, and based on the above-mentioned visual interface, set corresponding operating parameters for each physical lamp body unit, wherein the operating parameters corresponding to each physical lamp body unit include one or more of lamp body brightness, lamp body color temperature, lamp body color, lamp body lighting effect, lamp body operating time and fade-in and fade-out effects; after setting the corresponding operating parameters of each physical lamp body unit, receive the operation of the operator triggering (such as clicking) at the touch position corresponding to each physical lamp body unit on the visual interface in a predetermined operation order (such as from top to bottom or from left to right); generate a lighting effect sequence of multiple physical lamp body units according to the touch instructions corresponding to all the received operations of the operator, and send the lighting effect sequence to the multiple physical lamp body units through the wireless communication module to perform lighting effect programming.

[0150] It can be seen that after obtaining the visual interface, this optional embodiment sets corresponding operating parameters for multiple physical lamp units and generates corresponding light effect sequences, which are sent to the corresponding physical lamp units, so as to realize efficient and accurate light effect programming of multiple physical lamp units through the visual interface, thereby improving the accuracy and efficiency of light effect programming of the physical lamp units, and further facilitating improving the control accuracy of the physical lamp units. In another optional embodiment, as Figure 6 As shown, the device may also include:

[0151] The lamp body setting module 306 is used to set a lamp body identifier corresponding to each physical lamp body unit and configure corresponding actual light parameters for each physical lamp body unit before the display parameter analysis module 301 analyzes the image of the lamp in the current actual scene collected to obtain the image display parameters corresponding to each virtual lamp body unit in the image, and configure the corresponding actual light parameters for each physical lamp body unit, and the light parameters of each physical lamp body unit in all physical lamp body units are different;

[0152] A lighting parameter distribution module 307, used to distribute the actual lighting parameters corresponding to all the set physical lamp body units to all the physical lamp body units;

[0153] The mapping relationship establishing module 308 is used to establish a mapping relationship between the lamp body identification corresponding to each physical lamp body unit and the actual lighting parameters of the physical lamp body unit, and to determine the mapping relationship corresponding to all physical lamp body units, which is a mapping relationship between the predetermined actual lighting parameters and the lamp body identification.

[0154] It can be seen that implementation Figure 6 The described device can also assign actual lighting parameters to physical lamp body units in the current actual scene, and establish a mapping relationship between unique corresponding lamp body identifications set for all physical lamp body units in advance and different actual lighting parameters, which is beneficial for subsequent intelligent identification of physical lamp body units based on the mapping relationship, and establish a corresponding relationship between virtual lamp body units and corresponding physical lamp body units.

[0155] In another optional embodiment, the actual light parameters corresponding to each physical lamp body unit include actual light brightness and / or actual light color; the actual light parameters of each physical lamp body unit in all the physical lamp body units are different from each other, specifically, the actual light brightness of each physical lamp body unit in all the physical lamp body units is different from each other and / or the actual light color is different from each other;

[0156] As well as Figure 6 As shown, the device may also include:

[0157] The configuration information acquisition module 309 is used to acquire parameter configuration information of all the physical lamp body units before the lamp body setting module 306 configures the corresponding actual light parameters for each physical lamp body unit, wherein the parameter configuration information includes the number of all the physical lamp body units and / or the actual light brightness number required to be configured for all the physical lamp body units and / or the actual light color number required to be configured for all the physical lamp body units;

[0158] The configuration information acquisition module 309 is further used to determine the parameter configuration mode of all physical lamp body units according to the parameter configuration information;

[0159] The specific manner in which the lamp body setting module 306 configures corresponding actual lighting parameters for each physical lamp body unit includes:

[0160] According to the parameter configuration method, the corresponding actual lighting parameters are configured for each physical lamp unit.

[0161] In this optional embodiment, the lamp body setting module 306 optionally configures the corresponding actual lighting parameters for each physical lamp body unit according to the parameter configuration method, including:

[0162] When the actual light parameters corresponding to each physical lamp body unit configuration include actual light brightness, the corresponding actual light brightness is configured for each physical lamp body unit in a linear configuration manner of light brightness;

[0163] When the actual light parameters corresponding to each physical lamp body unit configuration include the actual light color, the corresponding actual light color is randomly configured for each physical lamp body unit.

[0164] It can be seen that implementation Figure 6 The described device can also determine the corresponding parameter configuration method for the physical lamp body unit by combining the parameter configuration information required for the physical lamp body unit, and allocate the actual light brightness and the actual light color, which can improve the accuracy of the allocation of the actual light parameters, thereby helping to improve the recognition accuracy of the lamp body identification of the virtual lamp body unit, and further help to improve the accuracy of generating the visual interface for accurately controlling the physical lamp body unit; and determine the corresponding parameter configuration method through the number of physical lamp body units required to be configured, the number of actual light brightness, and the number of actual light colors, which can improve the accuracy of determining the parameter configuration method, thereby helping to further improve the accuracy of the allocation of actual light parameters.

[0165] In another optional embodiment, the display parameter analysis module 301 analyzes the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp unit in the image in a specific manner including:

[0166] Identify the collected image of the lamp in the current actual scene to obtain the contour edge of each virtual lamp body unit in the image;

[0167] For any virtual lamp unit, according to the outline edge of the virtual lamp unit, determine the pixel point information within the outline edge, and according to the pixel point information within the outline edge, determine the image display parameter corresponding to the virtual lamp unit in the image;

[0168] Among them, when the pixel point information within the contour edge includes the number of all pixels within the contour edge and the pixel value of each pixel, the image display parameters corresponding to the virtual lamp body unit include the image display brightness; when the pixel point information within the contour edge includes the pixel value of each pixel within the contour edge, the image display parameters corresponding to the virtual lamp body unit include the image display color.

[0169] It can be seen that implementation Figure 6 The described device can also accurately determine the image display brightness and image display color of the virtual lamp body unit in the image by analyzing the pixel points and pixel values ​​within the contour edge of the virtual lamp body unit in the image, thereby helping to improve the recognition accuracy of the physical lamp body unit.

[0170] In yet another optional embodiment, Figure 6 As shown, the device may also include:

[0171] The image acquisition module 310 is used to acquire the image of the lamp in the current actual scene based on the image acquisition device before the display parameter analysis module 301 analyzes the image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp unit in the image;

[0172] The lamp information determination module 311 is used to obtain the information corresponding to the lamp in the current actual scene before the image acquisition module 310 acquires the image of the lamp in the current actual scene based on the image acquisition device, and the information corresponding to the lamp includes the arrangement of all physical lamp body units and / or the shape of each physical lamp body unit and / or the size of each physical lamp body unit and / or the relative information between the position of each physical lamp body unit and the position of the image acquisition device, and the relative information includes the relative distance and / or the relative angle;

[0173] The lamp information determination module 311 is further used to determine the image acquisition method of the lamp according to the acquired information corresponding to the lamp;

[0174] The specific manner in which the image acquisition module 310 acquires the image of the lamp in the current actual scene based on the image acquisition device includes:

[0175] According to the determined image acquisition method of the lamp, the image of the lamp in the current actual scene is acquired based on the image collector.

[0176] It can be seen that implementation Figure 6 The described device can also determine the corresponding image acquisition method through the arrangement, size, shape of the physical lamp body unit in the current actual scene and the relative angle and distance between the position of the physical lamp body unit and the position of the image collector, which can improve the accuracy of determining the image acquisition method, thereby facilitating improving the acquisition accuracy and efficiency of the physical lamp body unit image, and further facilitating improving the recognition accuracy and efficiency of the physical lamp body unit.

[0177] Embodiment 4

[0178] See also Figure 7 , Figure 7 is a schematic diagram of the structure of another device for intelligently controlling a lamp disclosed in an embodiment of the present invention. Figure 7The described device can be applied to any of the scenes that need to be filmed indoors and outdoors, such as stage scenes, podium scenes, cocktail scenes, and bar scenes, which are equipped with devices for intelligently controlling lamps. Among them, the lamp control device can be integrated in a lamp control terminal, or in a lamp master control device, or in a server for realizing lamp light control, which is not limited in the embodiment of the present invention. Further, the lamp control terminal can be specifically a user terminal for an operator to trigger a lamp control process, wherein the user terminal can be any of a smart phone (Android phone, iOS phone, etc.), a tablet computer, a smart phone watch, a PDA, and a mobile Internet device (Mobile Internet Devices, MID). Further, the lamp control device can be integrated in an execution object, and the lamp control is realized by an execution object, such as the lamp control process is realized by the lamp control terminal, or the lamp control device can be distributed on multiple execution objects, and the lamp control is realized by multiple execution objects, such as the lamp control process is realized by the lamp control terminal and the lamp master control device, which is not limited in the embodiment of the present invention. The lamp includes at least two physical lamp body units, each of which is provided with a wireless communication module, and is connected to the lamp control device by wireless communication, and each physical lamp body unit has a lamp body identification corresponding to the physical lamp body unit, wherein the lamp body identification includes but is not limited to equipment identification, number identification, color identification and other identifications that can be uniquely identified. Figure 7 As shown, the device may include:

[0179] A memory 401 storing executable program codes;

[0180] a processor 402 coupled to the memory 401;

[0181] Furthermore, it may also include an input interface 403 and an output interface 404 coupled to the processor 402;

[0182] The processor 402 calls the executable program code stored in the memory 401 to execute all or part of the steps in the method for intelligently controlling the lamp disclosed in the first embodiment of the present invention.

[0183] Embodiment 5

[0184] See also Figure 8 , Figure 8 A lighting control system disclosed in an embodiment of the present invention is Figure 8 As shown, the lamp control system includes a lamp control terminal and a lamp, the lamp includes at least two physical lamp body units, each physical lamp body unit has a lamp body identifier corresponding to the physical lamp body unit, wherein the lamp control terminal may include Figure 5 ,6 The present invention is a schematic diagram of the structure of the device for intelligently controlling a lamp as described in the embodiment 1 of the present invention, and is used to execute all or part of the steps in the method for intelligently controlling a lamp disclosed in the embodiment 1 of the present invention.

[0185] Embodiment 6

[0186] An embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute all or part of the steps in the method for intelligently controlling a lamp disclosed in the first embodiment of the present invention.

[0187] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0188] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0189] Finally, it should be noted that the method and device for intelligently controlling lamps and the lamp control system disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used to illustrate the technical solutions of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features therein may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for intelligently controlling a lamp, characterized in that: The lamp comprises at least two physical lamp body units, each of the physical lamp body units has a lamp body identifier corresponding to the physical lamp body unit, and the method comprises: Analyze the collected image of the lamp in the current actual scene to obtain image display parameters corresponding to each virtual lamp body unit in the image, where each virtual lamp body unit has a physical lamp body unit corresponding to the virtual lamp body unit; According to a predetermined identification method and an image display parameter corresponding to each of the virtual lamp body units, identifying the lamp body identifier corresponding to the virtual lamp body unit from the lamp body identifiers corresponding to at least two of the physical lamp body units; Wherein, for each of the virtual lamp body units, the lamp body identification corresponding to the virtual lamp body unit is used as a basis for controlling the physical lamp body unit corresponding to the lamp body identification; The step of identifying the lamp body identifier corresponding to the virtual lamp body unit from the lamp body identifiers corresponding to at least two physical lamp body units according to the predetermined identification method and the image display parameters corresponding to each virtual lamp body unit includes: According to the predetermined mapping relationship between all the physical lamp units and the actual light parameters and the image display parameters corresponding to each of the virtual lamp units, the actual light parameters corresponding to the virtual lamp unit are determined from the actual light parameters corresponding to at least two of the physical lamp units; According to the predetermined mapping relationship between the actual lighting parameters and the lamp body identification and the actual lighting parameters corresponding to each of the virtual lamp body units, the lamp body identification corresponding to the virtual lamp body unit is identified from the lamp body identifications corresponding to at least two of the physical lamp body units.

2. The method for intelligently controlling a lamp according to claim 1, characterized in that: The determining, based on the predetermined mapping relationship between all the physical lamp units and the actual light parameters and the image display parameters corresponding to each of the virtual lamp units, the actual light parameters corresponding to the virtual lamp unit from the actual light parameters corresponding to at least two of the physical lamp units, comprises: When the image display parameter includes image display brightness, the image display brightness corresponding to all the virtual lamp body units is sorted to obtain a brightness sorting result, and according to the brightness sorting result and a predetermined mapping relationship between all the physical lamp body units and the actual light brightness, the actual light brightness corresponding to each of the virtual lamp body units is determined from the actual light brightness corresponding to at least two of the physical lamp body units, the actual light parameter corresponding to each of the virtual lamp body units includes the actual light brightness corresponding to the virtual lamp body unit, wherein there is a positive correlation or a negative correlation between the image display brightness corresponding to the virtual lamp body unit of each of the physical lamp body units and the actual light brightness corresponding to the physical lamp body unit; When the image display parameters include image display colors, the actual light color corresponding to each of the virtual lamp body units is determined from the actual light colors corresponding to at least two of the physical lamp body units according to a predetermined mapping relationship between the physical lamp body unit and the actual light color and the image display color corresponding to each of the virtual lamp body units, and the actual light parameters corresponding to each of the virtual lamp body units include the actual light color corresponding to the virtual lamp body unit.

3. The method for intelligently controlling a lamp according to claim 1 or 2, characterized in that: After identifying the lamp body identifier corresponding to the virtual lamp body unit from the lamp body identifiers corresponding to at least two physical lamp body units according to the predetermined identification method and the image display parameters corresponding to each virtual lamp body unit, the method further includes: According to the identified device identifier corresponding to each of the virtual lamp body units, a visualization interface including virtual parameters of the physical lamp body unit corresponding to the virtual lamp body unit is generated, wherein the virtual parameters of each of the physical lamp body units on the visualization interface correspond to the actual parameters of the physical lamp body unit in the current actual scene, wherein when the virtual parameters corresponding to each of the physical lamp body units include a virtual position, the actual parameters of the physical lamp body unit in the current actual scene are the actual position, and when the virtual parameters corresponding to each of the physical lamp body units include a virtual lamp form, the actual parameters of the physical lamp body unit in the current actual scene are the actual lamp form; The visual interface is used to perform lighting control operations or lighting effect editing operations on all the physical lamp units.

4. The method for intelligently controlling a lamp according to claim 3, characterized in that: The method further comprises: Determine virtual splicing parameters between all the virtual lamp body units in the image according to the analyzed image display parameters corresponding to each of the virtual lamp body units, where the virtual splicing parameters between all the virtual lamp body units include splicing form and / or splicing spacing; The visualization interface is updated according to the virtual splicing parameters between all the virtual lamp body units to obtain a visualization interface including the virtual splicing parameters between all the virtual lamp body units, and the virtual splicing parameters between all the virtual lamp body units correspond to the actual splicing parameters between all the physical lamp body units.

5. The method for intelligently controlling a lamp according to claim 3, characterized in that: The method further comprises: Determine the operating parameters required for the plurality of physical lamp units, and set corresponding operating parameters for each of the physical lamp units based on the visual interface, wherein the operating parameters corresponding to each of the physical lamp units include one or more of lamp brightness, lamp color temperature, lamp color, lamp light effect, lamp operating time, and fade-in / fade-out effect; After setting the operating parameters corresponding to each of the physical lamp body units, receiving an operation triggered by an operator at a touch position corresponding to each of the physical lamp body units on the visual interface according to a predetermined operation sequence; According to the received touch control instructions corresponding to all the operations of the operator, a light effect sequence of the plurality of physical lamp body units is generated, and the light effect sequence is sent to the plurality of physical lamp body units through a wireless communication module.

6. The method for intelligently controlling a lamp according to claim 1 or 2, characterized in that: Before analyzing the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp unit in the image, the method further includes: For each of the physical lamp body units, a lamp body identifier corresponding to the physical lamp body unit is set, and corresponding actual lighting parameters are configured for each of the physical lamp body units, and the lighting parameters of each of the physical lamp body units among all the physical lamp body units are different; The actual lighting parameters corresponding to all the set physical lamp body units are distributed to all the physical lamp body units, and a mapping relationship between the lamp body identification corresponding to each physical lamp body unit and the actual lighting parameters of the physical lamp body unit is established, and the mapping relationship corresponding to all the physical lamp body units is determined to be a predetermined mapping relationship between the actual lighting parameters and the lamp body identification.

7. The method for intelligently controlling a lamp according to claim 6, characterized in that: The actual light parameters corresponding to each of the physical light body units include actual light brightness and / or actual light color; The actual light parameters of each of the physical lamp body units are different from each other, specifically, the actual light brightness and / or the actual light color of each of the physical lamp body units are different from each other; Before configuring corresponding actual lighting parameters for each of the physical lamp body units, the method comprises: Acquire parameter configuration information of all the physical lamp body units, wherein the parameter configuration information includes the number of all the physical lamp body units and / or the actual light brightness number required to be configured for all the physical lamp body units and / or the actual light color number required to be configured for all the physical lamp body units; Determining parameter configuration modes of all the physical lamp body units according to the parameter configuration information; The configuration of corresponding actual lighting parameters for each of the physical lamp units includes: According to the parameter configuration method, corresponding actual lighting parameters are configured for each of the physical lamp body units.

8. The method for intelligently controlling a lamp according to claim 7, characterized in that: The configuring corresponding actual lighting parameters for each of the physical lamp units according to the parameter configuration method includes: When the actual light parameters corresponding to each of the physical lamp body units include actual light brightness, the actual light brightness is configured for each of the physical lamp body units in a linear configuration manner; When the actual light parameters corresponding to each of the physical lamp body units include actual light colors, the corresponding actual light colors are randomly configured for each of the physical lamp body units.

9. The method for intelligently controlling a lamp according to any one of claims 1, 2, 4, 5, 7 and 8, characterized in that: The step of analyzing the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp unit in the image includes: Recognize the collected image of the lamp in the current actual scene to obtain the contour edge of each virtual lamp body unit in the image; For any of the virtual lamp body units, according to the outline edge of the virtual lamp body unit, determine the pixel point information within the outline edge, and according to the pixel point information within the outline edge, determine the image display parameter corresponding to the virtual lamp body unit in the image; Among them, when the pixel point information within the contour edge includes the number of all pixels within the contour edge and the pixel value of each of the pixel points, the image display parameters corresponding to the virtual lamp body unit include the image display brightness; when the pixel point information within the contour edge includes the pixel value of each pixel point within the contour edge, the image display parameters corresponding to the virtual lamp body unit include the image display color.

10. The method for intelligently controlling a lamp according to any one of claims 1, 2, 4, 5, 7 and 8, characterized in that: Before analyzing the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp unit in the image, the method further includes: Collecting the image of the lamp in the current actual scene based on the image collector; Before acquiring the image of the lamp in the current actual scene based on the image collector, the method further includes: Acquire information corresponding to the lamps in the current actual scene, the information corresponding to the lamps including the arrangement of all the physical lamp body units and / or the shape of each of the physical lamp body units and / or the size of each of the physical lamp body units and / or the relative information between the position of each of the physical lamp body units and the position of the image collector, the relative information including the relative distance and / or the relative angle; Determining an image acquisition method of the lamp according to the collected information corresponding to the lamp; Wherein, the collecting of the image of the lamp in the current actual scene based on the image collector includes: According to the determined image acquisition method of the lamp, the image of the lamp in the current actual scene is acquired based on an image collector.

11. A device for intelligently controlling a lamp, characterized in that: The lamp comprises at least two physical lamp body units, each of the physical lamp body units has a lamp body identifier corresponding to the physical lamp body unit, the device is applied to a lamp control system, and the device comprises: A display parameter analysis module, used to analyze the collected image of the lamp in the current actual scene to obtain the image display parameters corresponding to each virtual lamp body unit in the image, each of which has a physical lamp body unit corresponding to the virtual lamp body unit; A lamp body identification recognition module, used to identify the lamp body identification corresponding to the virtual lamp body unit from the lamp body identifications corresponding to at least two of the physical lamp body units according to a predetermined recognition method and an image display parameter corresponding to each of the virtual lamp body units; Wherein, for each of the virtual lamp body units, the lamp body identification corresponding to the virtual lamp body unit is used as a basis for controlling the physical lamp body unit corresponding to the lamp body identification; The lamp body identification recognition module identifies the lamp body identification corresponding to the virtual lamp body unit from the lamp body identifications corresponding to at least two of the physical lamp body units according to the predetermined identification method and the image display parameters corresponding to each of the virtual lamp body units. The specific method includes: According to the predetermined mapping relationship between all the physical lamp units and the actual light parameters and the image display parameters corresponding to each of the virtual lamp units, the actual light parameters corresponding to the virtual lamp unit are determined from the actual light parameters corresponding to at least two of the physical lamp units; According to the predetermined mapping relationship between the actual lighting parameters and the lamp body identification and the actual lighting parameters corresponding to each of the virtual lamp body units, the lamp body identification corresponding to the virtual lamp body unit is identified from the lamp body identifications corresponding to at least two of the physical lamp body units.

12. A device for intelligently controlling a lamp, characterized in that: The lamp comprises at least two physical lamp body units, each of the physical lamp body units has a lamp body identifier corresponding to the physical lamp body unit, the device is applied to a lamp control system, and the device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method for intelligently controlling a lamp as described in any one of claims 1-10.

13. A lamp control system, the lamp control system comprising a lamp control terminal and a lamp, the lamp comprising at least two physical lamp body units, each of the physical lamp body units having a lamp body identifier corresponding to the physical lamp body unit, wherein: The lamp control terminal is used to execute the method for intelligently controlling a lamp as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Light control method and device based on camera assembly and light control device

    CN109496042A