Joint control lighting effect configuration method, device, equipment, and medium
By obtaining and analyzing the lighting effect benchmark representation and derivative representation, and determining the lighting effect action semantics and color matching semantics, the problems of incoordination and complex operation in the existing intelligent lighting control system are solved, and the unity and personalization of lighting effect are achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202411970985.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-30
AI Technical Summary
The existing intelligent lamp control system is difficult to achieve harmonious unity of lighting effects among different types of lamps, and has failed to fully utilize the characteristics of lamps, and has complex operations and lacks intelligent semantic correspondence, which limits the personalization and dynamic adaptability of lighting effects.
By obtaining the reference representation and derivative representation, the lighting action semantics and lighting effect color matching semantics are determined, and the lighting effect motion mode and color matching scheme of the non-surface lamp are determined based on these semantics and sent to the lamp to achieve unified lighting effect control.
It realizes harmonious unity of lighting effects among different types of lamps, makes full use of the characteristics of lamps, simplifies user operations, improves the personalization and dynamic adaptability of lighting effects, and provides a richer and more convenient lighting effects control experience.
Smart Images

Figure CN119383798B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of lighting effect control technology, and in particular to a method and device, equipment, and medium for configuring joint-controlled lighting effects. Background Art
[0002] In modern smart home systems, lamps are not only basic tools for providing lighting, but also play an important role in creating atmosphere and enhancing aesthetic effects. With the development of technology, users' demand for lamp control has changed from simple switch control to fine-tuning of lighting effects, including color, brightness, dynamic effects, etc. In order to meet these needs, a variety of smart lamp control systems have appeared on the market, which can adjust the lighting effects according to user settings or preset modes. However, existing lamp control systems generally have some shortcomings.
[0003] First, most systems lack the ability to plan and coordinate the lighting effects of lamps as a whole, especially in environments that contain multiple types of lamps, such as when planar and non-planar lamps are mixed. These systems often cannot ensure that the lighting effects of different lamps can be harmoniously unified, resulting in the overall lighting effect appearing chaotic and lacking coordination.
[0004] Secondly, when dealing with lighting effects, existing technologies often ignore the differences in lighting types and fail to fully utilize the characteristics of each type of lighting to optimize lighting effects. For example, planar lighting is suitable for displaying continuous color gradients and images, while non-planar lighting is more suitable for displaying discrete colors and dynamic effects. The lack of consideration for these differences limits the potential of lighting effects and affects user experience.
[0005] Furthermore, the existing lighting control system often requires complex settings and adjustments during the lighting effect configuration process. Users need to have a deep understanding of the technical parameters and interface specifications of different lamps in order to correctly configure the lighting effects. This process is not only cumbersome, but also raises the threshold for use, which is not conducive to convenient operation for ordinary users.
[0006] Finally, existing lighting effect configuration methods also have deficiencies in the semantic correspondence between lighting effect actions and color schemes. They are usually unable to intelligently generate lighting effect actions and color schemes that correspond to the semantics of the text or image content entered by the user, but rely on the user's manual selection or preset mode, which limits the personalization and dynamic adaptability of lighting effects.
[0007] It can be seen that the existing technology has obvious deficiencies in the overall coordination of lighting effects, utilization of lighting characteristics, convenience of user operation, and intelligent correspondence of lighting effect semantics. These problems limit the development of smart lighting systems and the improvement of user experience. Summary of the invention
[0008] The primary purpose of the present application is to solve at least one of the above problems and provide a method and device, equipment, and medium for configuring a joint-controlled lighting effect.
[0009] In order to meet the various objectives of this application, this application adopts the following technical solutions:
[0010] A method, device, equipment, and medium for configuring a joint-controlled lighting effect is provided to meet one of the purposes of the present application, including the following steps:
[0011] Acquire a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system, and determine a derived representation corresponding to the semantics of the reference representation, wherein the reference representation and the derived representation are carriers of the lighting effect action semantics and the lighting effect color matching semantics;
[0012] Determining the lighting effect motion mode of the non-planar lighting fixture in the lighting fixture joint control system according to the carrier of the lighting effect action semantics;
[0013] Determining a lighting effect color scheme for the non-planar lamp according to the carrier of the lighting effect color semantics;
[0014] The lighting effect motion mode and the lighting effect color scheme are sent to the non-planar lamp, so that the non-planar lamp applies the lighting effect motion mode and the lighting effect color scheme to play the corresponding lighting effect.
[0015] A joint control lighting effect configuration device is proposed to meet one of the purposes of the present application, and includes:
[0016] A semantic representation module is configured to obtain a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system, and determine a derived representation corresponding to the semantics of the reference representation, wherein the reference representation and the derived representation are mutually carriers of the lighting effect action semantics and the lighting effect color matching semantics;
[0017] A mode determination module, configured to determine the lighting effect motion mode of the non-planar lamp in the lamp joint control system according to the carrier of the lighting effect motion semantics;
[0018] A color matching determination module, configured to determine a lighting effect color matching scheme of the non-planar lamp according to a carrier of the lighting effect color matching semantics;
[0019] The lighting effect application module is configured to send the lighting effect motion mode and the lighting effect color scheme to the non-planar lamp, so that the non-planar lamp applies the lighting effect motion mode and the lighting effect color scheme to play the corresponding lighting effect.
[0020] On the other hand, a joint control lighting effect configuration device is provided to meet one of the purposes of the present application, including a controller, which is communicatively connected to a non-planar lamp, and is used to execute the steps of the joint control lighting effect configuration method to control the non-planar lamp to display lighting effects.
[0021] On the other hand, a computer-readable storage medium is provided to meet another purpose of the present application, which stores a computer program implemented according to the joint control lighting effect configuration method in the form of computer-readable instructions, and when the computer program is called and executed by a computer, the steps included in the corresponding method are executed.
[0022] The technical solution of the present application has many significant advantages, which not only solve the deficiencies in the prior art, but also provide users with a richer and more convenient lighting effect control experience.
[0023] First, this application achieves overall planning and coordination of lighting effects of lamps by obtaining reference representations and derivative representations. This method can ensure the harmony and unity of lighting effects between different types of lamps, avoiding the problem of chaotic lighting effects in the prior art, thereby providing a more coordinated and unified lighting environment. This overall coordinated lighting effect not only enhances the aesthetic effect, but also improves the user experience.
[0024] Secondly, this application fully considers the differences in lamp types and optimizes the lighting effects according to the characteristics of non-planar lamps. For non-planar lamps, the most suitable lighting motion mode and lighting color scheme can be intelligently determined, so that each non-planar lamp can adaptively exert its maximum potential and obediently determine its lighting effect, providing users with richer and more dynamic visual effects.
[0025] Furthermore, this application simplifies the lighting effect configuration process and reduces the complexity of user operations. Users do not need to have a deep understanding of technical parameters and interface specifications. The system can automatically determine the lighting effect motion mode and lighting effect color scheme based on the input baseline representation and derivative representation, so that ordinary users can also easily configure and manage lighting effects, greatly improving convenience.
[0026] Finally, the application can intelligently generate a lighting effect motion mode and lighting effect color scheme that corresponds to the semantics of the text or image content input by the user. This intelligent correspondence not only improves the personalization of the lighting effect, but also enables the lighting effect to dynamically adapt to different scenes and user needs, providing users with a more flexible and intelligent lighting solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0028] Figure 1It is a schematic diagram of the principle of an exemplary lighting effect joint control system of the present application, which includes a joint control lighting effect configuration device and a plurality of lamps;
[0029] Figure 2 A flowchart of a typical embodiment of the joint control lighting effect configuration method of the present application;
[0030] Figure 3 This is a principle block diagram of the joint control lighting effect configuration device of this application;
[0031] Figure 4 A schematic diagram of the structure of a computer device used in this application. DETAILED DESCRIPTION
[0032] like Figure 1 As shown, in the structure of the exemplary lighting effect joint control system of the present application, the lighting effect joint control system includes a joint control lighting effect configuration device 80 and a plurality of lamps (82, 84), which include a planar lamp 82 and a non-planar lamp 84. The joint control lighting effect configuration device 80 is responsible for managing and controlling all connected lamps to achieve unified lighting effect control and coordination.
[0033] The joint control lighting effect configuration device 80 is connected to various lamps through wireless communication. This connection method provides flexibility and scalability, allowing the system to easily add or remove lamps without complicated wiring. Through this wireless connection, the joint control lighting effect configuration device 80 can obtain data such as the lamp identification, lamp type, and lighting effect motion mode data set of each lamp. The lamp identification is a unique identifier for each lamp, which is used to distinguish different lamps in the system. The lamp type refers to the physical form and function of the lamp. For example, the planar lamp 82 can include any one or any combination of curtain lights, mesh lights, pixel screens, etc., while the non-planar lamp 84 can include any one or any combination of square lights, linear lights, eaves lights, wall lights, etc. The lighting effect motion mode data set contains one or more lighting effect motion modes preset for the corresponding lamps. These modes define how the lamps display changes in color and brightness.
[0034] The joint control lighting effect configuration device 80 determines the lighting effect corresponding to each lamp according to the interface call information of each lamp and the type of lamp. The interface call information includes the interface name and its corresponding encapsulation format specification, which guides the joint control lighting effect configuration device 80 on how to encapsulate the lighting effect motion mode and color scheme into instructions that the lamp can understand and execute. The joint control lighting effect configuration device 80 can encapsulate the lighting effect motion mode and lighting effect color scheme into a message body, and then construct it into a lighting effect playback instruction, and send it to the corresponding lamp to control it to play the corresponding lighting effect.
[0035] In the lighting effect joint control system, it is important to distinguish between planar lamps 82 and non-planar lamps 84. Planar lamps 82 usually have a larger light-emitting area and can display continuous images or color gradients, such as curtain lights and mesh lights. These lamps are suitable for creating a wide visual impact and atmosphere rendering. Non-planar lamps 84 usually have smaller light-emitting units, and the color and brightness of each unit can be independently controlled, such as square lights and linear lights. These lamps are suitable for creating rich and varied visual effects.
[0036] The joint control lighting effect configuration device 80 determines the lighting effect of the non-planar lamp 84 by adapting, so as to ensure that the overall lighting effect atmosphere played by each lamp in the lighting effect joint control system is more harmonious and coordinated. This means that regardless of whether the system includes planar lamps 82, the joint control lighting effect configuration device 80 can generate unified lighting effect action semantics and lighting effect color matching semantics according to the input material (such as text or image) and the characteristics of the lamp, so that the lighting effect performance of the entire system is both unified and diverse.
[0037] In some embodiments, the joint control lighting effect configuration device 80 includes a control chip, a control panel, a communication component, and a display screen. The control chip can be implemented using various embedded chips, such as Bluetooth SoC (System on Chip), WiFi SoC, MCU (Micro Controller Unit), DSP (Digital Signal Processing) and other types of chips. The control chip usually includes a central processing unit and a memory. The memory and the central processing unit are used to store and execute program instructions respectively to achieve corresponding functions. The control panel usually provides one or more buttons for implementing switch control of the controller 1, selecting various preset lighting effects, etc. The communication component is used to achieve wireless communication connection with each lamp. The display screen can be used to display various control information so as to cooperate with the buttons in the control panel to support the implementation of human-computer interaction functions. In some embodiments, the control panel and the display screen can be integrated into the same touch display screen.
[0038] In some embodiments, the joint control lighting effect configuration device 80 of the present application can be implemented in an independent computer device, as long as the computer device is equipped with the corresponding hardware of the joint control lighting effect configuration device 80, and the corresponding business logic of the joint control lighting effect configuration device 80, including the business logic executed by the corresponding method of the present application, is implemented as a computer program installed in the computer device for operation. When the joint control lighting effect configuration device 80 is implemented in a computer device, various resources inherent in the computer device can be shared to save the overall implementation cost. The computer device referred to here can be any terminal device for use by the user, such as a smart phone, a personal computer, a laptop computer, a tablet computer, etc.
[0039] According to the product architecture and working principle of the above-mentioned joint-control lighting effect configuration device 80, the joint-control lighting effect configuration method of the present application can be implemented as a computer program, stored in the storage medium of the controller of the joint-control lighting effect configuration device 80, and called from the storage medium by the control chip of the controller to run, so as to control each lamp in the entire lighting effect joint-control system to play the corresponding lighting effects.
[0040] The lighting effect joint control system of the present application realizes precise control of various types of lamps through wireless communication connection and intelligent adaptation, so that both planar lamps 82 and non-planar lamps 84 can work together in the same system to provide users with a unified and coordinated lighting effect experience.
[0041] See also Figure 2 In some embodiments, the joint control lighting effect configuration method of the present application includes:
[0042] Step S5100: obtaining a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system, and determining a derived representation corresponding to the semantics of the reference representation, wherein the reference representation and the derived representation are carriers of the lighting effect action semantics and the lighting effect color matching semantics;
[0043] Obtaining a reference representation for defining the overall lighting atmosphere rendered by the lighting control system and determining a derivative representation corresponding to the semantics of the reference representation can ensure that the lighting control system can render a lighting atmosphere that meets the user's expectations based on the material input by the user (whether text or image).
[0044] Both the baseline representation and the derived representation can implicitly contain some semantics of the lighting effect action mode and lighting effect color scheme of the lighting effect constructed by the user's intention, but when they are presented in different data modalities, they can usually express different types of semantic emphases. For example, when the data modality is presented in natural language text, this data modality is more convenient for natural language-based semantic matching, and its emphasis on the semantics of the lighting effect action mode is more obvious, so the text data modality is more suitable as a carrier of the lighting effect action semantics. When the data modality is presented in the form of an image or a characteristic color set of an image, this data modality is more convenient for color processing, and its emphasis on the semantics of the lighting effect color scheme is more prominent, so the image-related data modality is more suitable as a carrier of the lighting effect color semantics.
[0045] It should be emphasized that the base representation and the derived representation are just two different forms of expression of the same intention. For example, one can be text, and the other can be an image or a feature color set extracted from an image. They themselves more or less imply the direction of the action mode and color scheme of the lighting effect. When the base representation is text, the derived representation can be the corresponding image or image feature color set generated on the basis of the base representation with the help of text-to-image technology; when the base representation is an image or its derivative data, such as a feature color set determined based on an image, the derived representation can be the corresponding content description text generated on the basis of the base representation with the help of image-to-text technology. They can be roughly understood as two modal data, one is the text modality, which is more convenient to provide the semantics of the lighting effect action so as to determine the lighting effect motion mode through semantic matching, and the other is the image or feature color set, i.e., the image modality, which is more convenient to provide the semantics of the lighting effect color matching so as to determine the lighting effect color matching scheme through color combination. The text modality can be used as the carrier of the semantics of the lighting effect action, and the image modality can be used as the carrier of the semantics of the lighting effect color matching. The base representation and the derived representation belong to different modes, and the base representation or the derived representation can be selected as the carrier of the corresponding semantics according to the mode corresponding to the carrier. In this application, both the graph-to-text technology and the text-to-graph technology can be implemented using a large language model.
[0046] Therefore, the reference representation can be the original material input by the user, or it can be an image when the material is an image. The reference representation can be the original material in the form of text, or it can be the original material in the form of an image, or it can be a characteristic color set derived from the original material of text or image, etc. The reference representation can be a description in the form of text, or it can be image data. The reference representation not only defines the lighting effect atmosphere expected by the user, but also provides initial semantic information for subsequent lighting effect actions and color schemes.
[0047] For example, when the user provides input in the form of text, such as "romantic dinner" or "holiday celebration", these text descriptions are directly used as baseline representations. They are rich in lighting action semantics because they describe the type of atmosphere that the user wants the lighting control system to render. These text descriptions can then be converted into corresponding images or image feature color sets through the text graph technology to form a derived representation. This conversion process can be implemented using a large language model to generate images based on the text content, or to match the image closest to the text semantics from a large number of image databases, or to directly determine the feature color set in the image, or to directly map the feature color set corresponding to the text, thereby obtaining a derived representation. In this case, the baseline representation serves as the carrier of the lighting action semantics, and the derived representation serves as the carrier of the lighting color matching semantics.
[0048] On the contrary, if the user provides input in the form of an image, the characteristic color set extracted from this image is used as the baseline representation. They are rich in color matching semantics and serve as the carrier of the lighting effect color matching semantics because they directly show the color and visual style expected by the user. These image data can then be converted into corresponding content description text through the image-to-text technology to form a derived representation, which serves as the carrier of the lighting effect action semantics. This process also uses a large language model to generate descriptive text based on the image content to obtain a derived representation.
[0049] In these two cases, although the base representation and the derived representation are in different forms, they together constitute the basis of the lighting effect configuration, and they cooperate with each other to highlight the semantics of lighting effect action and lighting effect color matching, so they can be the carriers of lighting effect action semantics and lighting effect color matching semantics. When the base representation of the text modality is used as the carrier of the lighting effect action semantics, the derived representation of the image modality is used as the carrier of the lighting effect color matching semantics, usually represented by a feature color set. Conversely, when the base representation of the image modality is used as the carrier of the lighting effect color matching semantics, the derived representation of the text modality is used as the carrier of the lighting effect action semantics. This design enables the system to flexibly adapt to different user inputs, whether text or images, can be effectively converted and utilized to generate lighting effects that meet user expectations.
[0050] Specifically, when the baseline representation is text, the keywords and semantic content in the text can be analyzed, and then the action mode of the lighting effect can be determined based on this semantic information. For example, "festival celebration" in the text may match a dynamic and colorful lighting effect action mode. When the baseline representation is an image, the color distribution and composition in the image can be analyzed, and then the lighting effect color scheme can be determined based on this color information. For example, an image with blue and white as the main colors may match a calm and refreshing lighting effect color scheme.
[0051] In actual operation, the most appropriate processing flow can be automatically selected according to the type of user input. If the input is text, the text data can be processed first to generate a characteristic color set for the derived representation; if the input is an image, the image data can be processed first to generate a text description for the derived representation. This flexible adaptation mechanism ensures that the system can efficiently process different types of user input and generate a lighting effect configuration that meets the user's expectations.
[0052] Step S5200: determining the lighting effect motion mode of the non-planar lighting fixture in the lighting fixture joint control system according to the carrier of the lighting effect action semantics;
[0053] When determining the lighting effect movement mode of non-planar lamps in the lighting joint control system, we first rely on the carrier of the lighting effect action semantics, that is, the part of the baseline representation or derived representation of the text modality that is related to the lighting effect action semantics.
[0054] The lighting effect motion mode refers to the color, brightness changes, and rhythm of the lighting when it displays light. These modes work together to form the dynamic lighting effect perceived by the user. The most appropriate lighting effect motion mode is determined by analyzing the semantic information in the carrier of the lighting effect action semantics, such as the emotional color in the text description or the action characteristics in the image. For example, "energizing party" in the text description may match a fast-flashing, brightly colored lighting effect motion mode, while "quiet night" may match a slowly fading, softly colored lighting effect motion mode.
[0055] In specific implementation, based on the lamp identification of non-planar lamps, a data set of preset lighting effect motion modes of these lamps is obtained. This data set contains multiple preset lighting effect motion modes, each of which has a unique mode identification and description information. The description information is usually described in natural language text or a set of keywords. The carrier of the lighting effect action semantics is matched with the description information of each lighting effect motion mode in the data set, and the lighting effect motion mode that is closest to the semantics of the user input material is found through semantic analysis technology. The matching process can use methods such as keyword matching and semantic similarity calculation to ensure that the selected lighting effect motion mode can accurately reflect the intention and atmosphere of the user input material.
[0056] For example, if the text entered by the user is "summer beach", the large language model is used to analyze the keywords in the text, such as "summer" and "beach", and the patterns associated with these keywords are found in the light effect motion pattern dataset. From this, a light effect motion pattern that simulates the dynamic changes of sunlight and waves is selected to create a relaxing and pleasant beach atmosphere.
[0057] In addition, the selected lighting motion mode can be fine-tuned according to the specific type and characteristics of the luminaire to ensure the best visual effect. For example, for a non-planar luminaire with high brightness and color change capabilities, a more complex and dynamic lighting motion mode can be selected, while for a non-planar luminaire with simpler functions, a more basic mode may be selected.
[0058] Step S5300: determining a lighting effect color scheme of the non-planar lamp according to the carrier of the lighting effect color scheme semantics;
[0059] The carrier of the semantics of lighting effect color matching is represented as a feature color set, which is extracted from the baseline representation or derived representation of the image modality and includes accent colors and background colors. These colors can be determined based on the pixel colors with a large area and high prominence in the image in the user's original input material. In this way, the feature color set can accurately reflect the user's intention and preference for color, thereby constructing a lighting effect color matching scheme that meets the user's expectations.
[0060] According to each color in the characteristic color set, a lighting effect color scheme can be constructed. For example, in one embodiment, for a non-planar lamp that can display delicate color changes, a complex color scheme containing multiple gradient colors can be selected; while for a non-planar lamp that can only display basic colors, a simpler color scheme may be selected.
[0061] In another embodiment, the determination of the lighting effect color scheme also takes into account the physical characteristics of the lamp and the use environment. For example, in a dimly lit environment, a color with a higher brightness may be selected to enhance the visual effect; while in an environment that requires a soft atmosphere, a softer color may be selected. Through such careful consideration, it can be ensured that the lighting effect color scheme not only meets the user's color intention, but also adapts to different application scenarios.
[0062] In another embodiment, for each color in the characteristic color set, it can be determined that the permutations and combinations between them constitute candidate color schemes, and then the candidate color scheme with the largest color difference between adjacent colors is determined as the lighting effect color scheme for non-planar lamps, so as to most prominently present the overall lighting effect atmosphere.
[0063] Step S5400: Send the lighting effect motion mode and the lighting effect color scheme to the non-planar lamp, so that the non-planar lamp applies the lighting effect motion mode and the lighting effect color scheme to play the corresponding lighting effect.
[0064] After the lighting effect motion mode and lighting effect color scheme of the non-planar lamp are determined, these configuration information can be sent to the corresponding non-planar lamp. To this end, in one embodiment, the interface call information of the non-planar lamp is first obtained, including the interface name and the encapsulation format specification. According to these interface call information, the selected lighting effect motion mode and lighting effect color scheme are converted into the data format required by the lamp interface specification, and the lighting effect motion mode and lighting effect color scheme are encapsulated into a message body that the lamp can understand. If the lamp interface requires receiving data in JSON format, then the lighting effect motion mode and lighting effect color scheme are encapsulated into a JSON object, which contains all necessary parameters and values.
[0065] After the message body is correctly encapsulated, the lighting effect playback instruction can be constructed, combining the interface name and the message body to form a complete instruction. This instruction contains all the information required for non-planar lamps to execute lighting effects, such as specific parameters of the motion mode, color values, brightness levels, etc.
[0066] Finally, the lighting effect playback command is sent to the non-planar lamps through the wireless communication network. After the lamps receive the lighting effect playback command, they will execute the corresponding lighting effect according to the data in the command. This means that the lamps will display light according to the predetermined lighting effect motion mode and lighting effect color scheme, thereby rendering the expected lighting effect atmosphere in the user's environment.
[0067] In the case of multiple non-planar lamps, a uniform and applicable lighting effect playback instruction can be constructed and sent to multiple non-planar lamps at the same time to achieve linkage control, or a personalized lighting effect playback instruction can be constructed for each non-planar lamp to adapt its automatic lighting effect motion mode, and then each lighting effect playback instruction is sent to the corresponding non-planar lamp. Similarly, linkage control of multiple non-planar lamps can be achieved. Accordingly, all non-planar lamps can work together to create a consistent and coordinated lighting effect.
[0068] It is not difficult to understand that when the data of the image modality of the present application is used to generate a pixelated image in the lighting effect linkage control system to control the planar lamps in the system to present corresponding lighting effects, since the lighting effect configuration principle of the non-planar lamps embodied in the above process of the present application is coordinated with the user's intention, the overall lighting effect atmosphere presented by the entire lighting effect linkage control system through various types of lamps must also be harmonious and unified.
[0069] It can be seen from the above embodiments that the technical solution of the present application has many significant advantages, which not only solve the deficiencies in the prior art, but also provide users with a richer and more convenient lighting effect control experience.
[0070] First, this application achieves overall planning and coordination of lighting effects of lamps by obtaining reference representations and derivative representations. This method can ensure the harmony and unity of lighting effects between different types of lamps, avoiding the problem of chaotic lighting effects in the prior art, thereby providing a more coordinated and unified lighting environment. This overall coordinated lighting effect not only enhances the aesthetic effect, but also improves the user experience.
[0071] Secondly, this application fully considers the differences in lamp types and optimizes the lighting effects according to the characteristics of non-planar lamps. For non-planar lamps, the most suitable lighting motion mode and lighting color scheme can be intelligently determined, so that each non-planar lamp can adaptively exert its maximum potential and obediently determine its lighting effect, providing users with richer and more dynamic visual effects.
[0072] Furthermore, this application simplifies the lighting effect configuration process and reduces the complexity of user operations. Users do not need to have a deep understanding of technical parameters and interface specifications. The system can automatically determine the lighting effect motion mode and lighting effect color scheme based on the input baseline representation and derivative representation, so that ordinary users can also easily configure and manage lighting effects, greatly improving convenience.
[0073] Finally, the application can intelligently generate a lighting effect motion mode and lighting effect color scheme that corresponds to the semantics of the text or image content input by the user. This intelligent correspondence not only improves the personalization of the lighting effect, but also enables the lighting effect to dynamically adapt to different scenes and user needs, providing users with a more flexible and intelligent lighting solution.
[0074] On the basis of any embodiment of the method of the present application, a baseline representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system is obtained, and a derivative representation corresponding to the semantics of the baseline representation is determined. The baseline representation and the derived representation are carriers of the lighting effect action semantics and the lighting effect color matching semantics, and can be achieved by combining any number of the following optional specific embodiments.
[0075] In one of the optional specific embodiments, step S5100 may be implemented as follows, which includes:
[0076] Step S5111: when the lighting joint control system includes planar lighting fixtures and the original user input material is of text data type, the original user input material is determined as a reference representation of a carrier of the lighting effect action semantics;
[0077] Step S5112: generating a pixelated image adapted to the frame of the planar lamp according to the reference representation and the resolution information of the planar lamp, and sending the pixelated image to the planar lamp for playback;
[0078] Step S5113: extract a characteristic color set based on the pixelated image, and construct the derived representation according to the characteristic color set to serve as a carrier of the lighting effect color matching semantics.
[0079] In the embodiment defined by steps S5111 to S5113, when the original material input by the user, i.e., the original input material by the user, is text data, and the lighting effect joint control system includes planar lamps, the accurate rendering of the lighting effect atmosphere can be ensured by executing the process of steps S5111 to S5113.
[0080] First, step S5111 directly determines the text input by the user as the reference representation, thereby capturing the basic semantics of the lighting effect atmosphere expected by the user, especially the lighting effect action semantics. Text data is better at conveying abstract concepts such as emotions, atmosphere and actions due to its natural language characteristics, so it is suitable as a carrier of lighting effect action semantics.
[0081] Next, step S5112 converts the text description of the benchmark representation into a pixelated image based on the resolution information of the planar lamp. The abstract text description in the benchmark representation can be converted into a specific image representation first so that it can be played on the corresponding planar lamp. The pixelated image is customized according to the resolution information of the planar lamp, including resolution and size, to ensure that the image can perfectly adapt to the display requirements of the lamp. Specifically, it can be achieved with the help of image processing technology such as text-to-image conversion algorithms, which can generate visual patterns based on text content, or select images that match the text semantics from an existing image database. In one embodiment, it can be achieved with the help of a large language model that can implement a text map, and the resolution information of the planar lamp and the text of the benchmark representation can be input into it.
[0082] The generated pixelated image is then sent to the planar luminaire for playback, ensuring that the text data entered by the user can be displayed in a visual form on the luminaire, providing intuitive feedback to the user. This method of converting text into images not only enhances the dynamic expression of the lighting effect, but also provides a visual basis for the subsequent lighting effect color scheme.
[0083] Next, step S5113 may be responsible for extracting a characteristic color set based on the pixelated image being played, so as to extract key color information from the visual data. This color information will be used as a derivative representation to carry the semantics of the lighting effect color matching. The characteristic color set may also be determined by selecting colors from the color set of the pixelated image. As an alternative embodiment, the extraction of the characteristic color set may also be achieved through a color clustering algorithm based on the image obtained by performing a text map using the text data originally input by the user, such as the K-means algorithm, which can identify the main colors in the image and extract them as representative colors and add them to the characteristic color set. These colors not only reflect the visual characteristics of the image, but also imply the intention and atmosphere of the original input material of the user.
[0084] A derivative representation is constructed based on the extracted feature color set to conform to the preset format expression. This derivative representation will serve as the carrier of the lighting effect color matching semantics. In this way, the text data input by the user is converted into a specific derivative representation that carries the lighting effect color matching semantics, thereby realizing a comprehensive transformation from text to visual expression.
[0085] It can be seen that this embodiment realizes the visual expression from the text input by the user to the planar lamp, and lays the foundation for the visual expression of the non-planar lamps. The semantics of the lighting effect action and the lighting effect color matching are the foundation of the visual expression of the non-planar lamps. The whole process reflects the deep understanding and accurate execution of the user's intention. In this way, it can not only provide a lighting effect atmosphere that meets the user's expectations, but also ensure the dynamic expression and color matching of the overall lighting effect atmosphere presented by various types of lamps in the entire lighting effect joint control system.
[0086] In the second optional specific embodiment, step S5100 may be implemented in the following manner, which includes:
[0087] Step S5121: when the lighting joint control system includes a planar lighting fixture, and the original user input material is of an image data type, pixelation processing is performed on the original user input material according to the resolution information of the planar lighting fixture to obtain a pixelated image adapted to the frame of the planar lighting fixture, and the pixelated image is sent to the planar lighting fixture for playback;
[0088] Step S5122: extracting a characteristic color set based on the pixelated image, and constructing the reference representation according to the characteristic color set to serve as a carrier of the lighting effect color matching semantics;
[0089] Step S5123: Generate a content description text as the derived representation based on the original user input material, so that the derived representation becomes the carrier of the lighting effect action semantics.
[0090] When the lighting joint control system includes planar lighting fixtures and the original input material of the user is of image data type, a series of steps consisting of step S5121 to step S5123 can be executed to ensure accurate rendering of the lighting effect atmosphere.
[0091] First, step S5121 performs pixelation processing on the image input by the user to generate a pixelated image adapted to the resolution of the planar lamp. Because different planar lamps may have different resolutions and display capabilities, it is necessary to adjust the input image accordingly according to the resolution information of the planar lamp to ensure the best display effect.
[0092] During the pixelization process, the resolution information of the planar luminaire is analyzed, and image processing techniques such as scaling, cropping or pixelization algorithms are used to adjust the size and resolution of the user-input image to match the specific requirements of the luminaire. This ensures that the image can be displayed on the luminaire with the correct proportion and clarity, while also retaining the core visual elements and color information of the image.
[0093] The processed pixelated image will be transmitted to the planar lamps for display so as to be displayed on the corresponding planar lamps. After receiving the pixelated image, the planar lamps will present the pixelated image to the user according to their display capabilities. This not only enables the user to see the image content intuitively, but also provides a basis for the creation of the entire lighting effect atmosphere.
[0094] After the image is successfully displayed on the planar lamp, step S5122 extracts a characteristic color set based on the pixelated image. Since pixelated images usually use a small number of colors to represent patterns, the colors in the pixelated image can be selected according to a preset number to construct a characteristic color set. In addition, in some embodiments, considering that pixelated images often use black to represent the background, the characteristic color set can exclude black or other colors close to black, such as gray. It is not difficult to understand that the characteristic color set reflects the core color characteristics of the pixelated image, and therefore can be used as a carrier of the semantics of lighting effect color matching. Therefore, the characteristic color set actually constitutes a benchmark representation.
[0095] Finally, step S5123 generates a content description text based on the user's original input material, and uses this content description text as a derivative representation to carry the semantics of the lighting effect action. Since the user's original input material is image modal data, the image-to-text technology, especially the large language model, can be applied to analyze the user's input image and generate the corresponding content description text. The generated text not only captures the visual features of the image, but also conveys the action and atmosphere implied by the image, thereby providing semantic guidance for the action mode of the lighting effect.
[0096] It can be seen that, through the above steps, this embodiment can effectively convert the image data input by the user into the lighting effect corresponding to the pixelated image applied by the planar lamp, and can also effectively convert it into the lighting effect color matching and action scheme of the non-planar lamp, realizing the comprehensive conversion from image to lighting effect, ensuring the accuracy and coordination of the overall lighting effect atmosphere. Therefore, it not only improves the flexibility and accuracy of the lighting effect configuration, but also provides users with a richer and more personalized lighting experience.
[0097] In the third optional specific embodiment, step S5100 may be implemented in the following manner, which includes:
[0098] Step S5131: When the lighting joint control system does not include planar lighting and the original input material of the user is of text data type, the original input material of the user is used as the reference representation and determined as the carrier of the lighting effect action semantics, and a derivative representation that directly describes the feature color set in text data type is generated based on the reference representation as the carrier of the lighting effect color matching semantics.
[0099] In this embodiment, when the lighting joint control system does not include planar lighting fixtures, and the user's original input material is of text data type, these text data are directly used as a reference representation and as a carrier for carrying the lighting effect action semantics. Due to the lack of planar lighting fixtures, pixelated images do not need to be generated, but action semantic information related to lighting effects can be directly obtained from the text.
[0100] Subsequently, a derived representation is generated based on this baseline representation, which is a text data type that directly describes the characteristic color set, and will serve as the carrier of the lighting effect color matching semantics. The generation of derived representations may involve the use of text analysis techniques, such as natural language processing (NLP), to identify color-related keywords or phrases in the text and convert them into specific color values or color concepts.
[0101] For example, if the text input by the user is "summer beach", the text is analyzed to identify colors related to summer and beach, such as blue and gold, and these colors are converted into characteristic color sets. Then, the pre-fine-tuned large language model is directly called to instruct it to analyze the text data of the baseline representation to generate a derivative representation, which is a text describing the colors required to adapt to the original implicit scene color matching in the text data, thus forming the carrier of the lighting effect color scheme and providing a text-based color scheme for non-planar lamps.
[0102] This text-based color scheme provides flexibility for non-faceted lamps because it can adjust the color directly based on the text description without converting the text into an image. The advantage of this approach is that it can quickly respond to user text input and can provide instant color matching guidance for lamps, while maintaining the dynamic and personalized lighting effects.
[0103] In this way, even in the absence of planar lamps, it is possible to ensure that non-planar lamps display a lighting effect color scheme that matches the text material input by the user, thereby achieving a coordinated and consistent lighting effect in the entire lamp linkage control system.
[0104] In the fourth optional specific embodiment, step S5100 may be implemented in the following manner, which includes:
[0105] Step S5141: when the lighting joint control system does not include planar lighting fixtures and the original user input material is of image data type, extract the characteristic color set of the original user input material to construct the reference representation as a carrier of the lighting effect color matching semantics;
[0106] Step S5142: Generate a content description text as the derived representation based on the original user input material, so that the derived representation becomes the carrier of the lighting effect action semantics.
[0107] In an embodiment where the lighting joint control system does not include planar lighting and the original input material of the user is of image data type, step S5141 directly extracts a characteristic color set from the image input by the user to construct a reference representation as a carrier to carry the lighting effect color matching semantics. The extraction of the characteristic color set can be achieved by directly performing color analysis on the image, for example, using a color clustering algorithm, such as the K-means algorithm, to identify representative colors in the image. These representative colors can represent the overall tone and visual style of the image, so they constitute the characteristic color set and become the basis of the lighting effect color matching scheme.
[0108] In the process of extracting characteristic color sets, the pixel data in the image can be analyzed to identify the dominant colors in the image and those colors that are visually significant. These colors not only capture the color essence of the image, but also convey the atmosphere and emotion that the image is intended to express. For example, an image depicting a sunset may extract orange and purple as its characteristic color set, which are then used as the color scheme of lamps to create a warm and tranquil lighting atmosphere.
[0109] Next, step S5142 generates a content description text based on the image input by the user. This text is used as a derivative representation to carry the semantics of the lighting effect action. When using images to generate text, image-to-text technology can be applied, such as using a large language model to analyze the image content and generate descriptive text. The generated text not only describes the main visual elements in the image, but may also contain a description of the image's emotions and atmosphere, thereby providing semantic guidance for the action mode of the lighting effect, making the generated derivative representation a carrier of the lighting effect action semantics.
[0110] For example, if the input image is a vibrant urban night scene, it may cause the large language model to generate content description text such as "brightly lit skyscrapers". Such text not only captures the main visual features of the image, namely lights and buildings, but also conveys a vibrant and modern atmosphere. Based on such text, suitable lighting action modes can be determined, such as dynamic light flashing or color changes, to simulate the neon light effects in urban night scenes.
[0111] In this way, the image data input by the user can be effectively converted into the lighting effect color and action plan of the lamp, realizing the comprehensive conversion from image to lighting effect, ensuring the accuracy and coordination of the lighting effect atmosphere of non-planar lamps. It not only improves the flexibility and accuracy of lighting effect configuration, but also provides users with a richer and more personalized lighting experience. At the same time, this method also reflects the deep understanding and accurate execution of user intentions, so that the entire lighting joint control system can present an overall lighting effect atmosphere that matches the user input.
[0112] It can be seen from the above optional specific embodiments that any one or any multiple specific embodiments can be flexibly adopted in combination for implementation, which can further deepen and embody the creative spirit of the present application.
[0113] Based on any embodiment of the method of the present application, the characteristic color set can also be directly determined based on the target image instead of the pixelated image to be used as a reference representation or a derived representation to carry the color matching semantics of the lighting effect. The target image can be an image provided by the user as the original input material, or an image generated by the text map technology after the user provides text as the original input material, and this image can also be converted into a pixelated image required for the planar lamp to play the lighting effect. The method for extracting the characteristic color set from the target image can be implemented according to the following process, including:
[0114] Step S6100, clustering pixels in the target image to obtain multiple pixel clusters and a representative color of each pixel cluster, where the representative color is the color of the central pixel of the corresponding pixel cluster;
[0115] The target image can be an original image directly provided by the user, or an image generated by the text-based image technology after the user provides input in the form of text. This process not only improves efficiency, but also allows color information to be extracted from richer image data, which can then be used to generate pixelated images of planar lamps playing lighting effects. In order to facilitate matching the visual effects of the human eye, when clustering, the target image is converted from the RGB color space to the LAB color space before clustering.
[0116] The target image is pixel clustered, that is, all pixels in the image are divided into multiple pixel clusters according to color similarity, and the center pixel color of each pixel cluster is determined as the representative color. The number of clusters in the clustering algorithm can be determined on demand or randomly. This step is implemented by a color space clustering algorithm, such as the K-means algorithm, which can efficiently classify pixels in the LAB color space to ensure the consistency of human visual perception of color.
[0117] Step S6200, determining the area ratio of the total number of pixels of each pixel cluster relative to the total number of pixels of the target image;
[0118] Each pixel cluster obtained by clustering is actually to classify each pixel in the target image into multiple categories according to color similarity. Therefore, each category of pixel cluster has some pixels in the target image. The area ratio of the total number of pixels in each pixel cluster to the total number of pixels in the entire target image is calculated. This ratio reflects the relative importance of each pixel cluster in the image and provides a basis for the subsequent selection of background color and embellishment color.
[0119] Step S6300: determining the data distance between each representative color and the average color of the target image to quantify the prominence of the representative color;
[0120] First, the color of each pixel in the target image is averaged, and then the data distance between each representative color and the average color of the target image can be calculated to quantify the prominence of each representative color. This step can use the distance formula in the color space, such as the CIEDE2000 color difference formula, the Euclidean distance formula, the cosine similarity formula, etc., to calculate the difference between the representative color and the average color.
[0121] Step S6400, select partial representative colors with a relatively high area occupancy as the background color of the lighting effect, select partial representative colors with a relatively high significance from the remaining representative colors as the accent colors of the lighting effect, and construct the background color and the accent color into a characteristic color set to determine it as the carrier of the lighting effect color matching semantics.
[0122] According to the two criteria of area ratio and prominence, the first expected number of representative colors with a higher area ratio are selected as the background colors of the lighting effect, which usually means that these colors occupy a dominant position in the image. At the same time, the second expected number of colors with a higher prominence are selected from the remaining representative colors as the decorative colors of the lighting effect according to the preset second expected number. Although these colors do not account for a large area, they are visually attractive and expressive. Combining these background colors and decorative colors constitutes a characteristic color set, which together carry the semantics of lighting effect color matching and provide direct guidance for the lighting effect color matching scheme of lamps.
[0123] Through this method, the determination of the characteristic color set is more direct and efficient, which can better reflect the color characteristics of the target image, and also provide richer and more accurate color information for the lighting effect color matching of the lamp. The advantage of this method is that it can extract the most representative and visually impactful colors from the original image, so that the lighting effect of the lamp can be closer to the user's design intention and the original atmosphere of the image, and enhance the artistry and expressiveness of the lighting effect.
[0124] Based on any embodiment of the method of the present application, extracting a characteristic color set based on the pixelated image includes:
[0125] Step S7100, counting the total number of pixels of each color except black in the pixelated image;
[0126] Step S7200: determine the color with the largest total pixel amount as the background color, and the remaining colors as the decorative colors, and construct the background color and the decorative colors into a characteristic color set.
[0127] In the process of extracting the characteristic color set from the pixelated image, step S6100 first performs statistical work to count the number of pixels of each color in the image. Through statistics, the distribution of various colors in the image can be determined to provide data support for subsequent color selection. In this statistical process, black pixels can be ignored. Specifically, a numerical space describing a range close to black can be used to filter black pixels, because pixelated images often use black, gray, etc. as backgrounds. If these colors are applied to non-planar lamps, they will weaken the lighting effects of non-planar lamps. Therefore, in this embodiment, these colors are not regarded as characteristic colors, and more attention is paid to colors that can significantly affect visual perception.
[0128] Next, step S6200 selects the color with the largest total number of pixels as the background color based on the statistical results. The background color plays a fundamental role in lighting effects. It is the color that accounts for the largest proportion in the image after removing black pixels. It sets the tone for the entire image. For example, if the number of blue pixels is the largest after removing black and its approximate pixels from a pixelated image, then blue will be selected as the background color to create the overall atmosphere of the image. Of course, a few colors with a large total number of pixels can also be selected as candidate background colors at the same time.
[0129] After the background color is determined, the remaining colors are considered accent colors. Accent colors are those colors that make up a small proportion of the image but have a significant visual impact. They are used to highlight specific parts of the image or add visual interest. The choice of accent colors can be based on their distribution in the image, saturation, or brightness. For example, if there are significant areas of red and yellow in an image with a blue base, these colors can be used as accent colors to add vitality and focus to the image. The number of accent colors can be limited as needed.
[0130] In one embodiment, after selecting the top three representative colors with the highest area ratio as background colors, the top five representative colors with the highest significance are selected from the remaining representative colors as embellishment colors, thereby forming an eight-color color matching table. Among them, the target image can be an image provided by the user as the original input material, or an image generated by the Wensheng map technology after the user provides text as the original input material; the significance is quantified by the data distance between each representative color and the average color of the target image. The construction of the lighting effect color matching scheme based on the eight-color color matching table has unique advantages. This is mainly because such a color matching relationship not only makes the lighting effect show a rich color effect, but also enables each representative color to be effectively distinguished by the user, so it is more unique. In this color matching relationship, for the arrangement and combination of 8 colors, each background color can be further placed in the candidate color matching sequence between two embellishment colors, so that each background color and each embellishment color are set alternately. For the candidate color matching sequence that is not arranged according to this relationship, it is not necessary to calculate the sum of its color difference, and it can be directly deleted.
[0131] At this point, the background color and the accent color together constitute the characteristic color set, which fully describes the color characteristics of the image and provides direct guidance for the lighting color scheme of the lamps. The application of the characteristic color set ensures that non-planar lamps can accurately render the corresponding lighting effects according to the color characteristics of the image, and can reflect the intention and atmosphere of the user's original input material in both color selection and color distribution. In this way, the lighting control system can achieve the transformation from static images to dynamic lighting effects, coordinate with the lighting effects of planar lamps, provide a rich and coordinated lighting experience for non-planar lamps, and ensure the harmony and unity of the overall lighting effect atmosphere rendered by planar and non-planar lamps.
[0132] On the basis of any embodiment of the method of the present application, determining the lighting effect motion mode of the non-planar lighting fixture in the lighting fixture joint control system according to the carrier of the lighting effect action semantics includes:
[0133] Step S5210: acquiring a preset lighting effect motion mode data set of the non-planar lamp based on the lamp identification of the non-planar lamp, wherein the data set includes a mode identification of each lighting effect motion mode and description information thereof;
[0134] Step S5220: match the carrier of the lighting effect action semantics with the description information of each lighting effect motion mode in the data set, and determine the mode identifier corresponding to the matched description information to indicate the lighting effect motion mode corresponding to the non-planar lamp.
[0135] Determining the lighting effect motion mode of a non-planar lamp requires matching the carrier of the lighting effect action semantics with the lighting effect motion mode preset by the lamp. To this end, step S5210 is executed to obtain a preset lighting effect motion mode data set associated with the non-planar lamp. The data set can be downloaded directly from a network server, or called from locally stored data, or requested from the non-planar lamp after a communication connection with the corresponding non-planar lamp. Each non-planar lamp will have a unique lamp identifier, and this lamp identifier is used to retrieve and obtain the lighting effect motion mode data set that matches the non-planar lamp. The data set contains multiple preset lighting effect motion modes, each of which has a unique mode identifier and corresponding description information, which details the motion characteristics of the lighting effect motion mode, such as color change, brightness change, and rhythm of change. The description information can be expressed in a natural language description form or as a keyword set consisting of one or more keywords.
[0136] After obtaining the data set, step S5220 performs a matching process to compare the carrier of the lighting effect action semantics with the description information in the data set. The carrier of the lighting effect action semantics is text-based data that contains semantic information about the expected lighting effect action semantics. For example, if the derived representation contains keywords that describe dynamic effects, such as "festival celebrations", it may be associated with colorful and fast-paced lighting effects.
[0137] During the matching process, the semantic content in the carrier of the lighting effect action semantics can be analyzed and compared with the description information of each lighting effect motion mode in the data set to determine the best match. This matching can be based on keyword matching, semantic similarity calculation, or other artificial intelligence algorithms such as large language models, such as natural language processing technology, to achieve high-precision matching. By matching, the lighting effect motion mode that is closest to the semantics of the user's input material is selected to ensure that the selected lighting effect motion mode can accurately reflect the intention and atmosphere of the user's original input material.
[0138] For example, if the user enters the text "quiet night", a slow-fading, soft-colored light motion mode will be selected to create a tranquil atmosphere. On the contrary, if the user enters "energizing party", a fast-flashing, brightly colored mode will be selected to match the energetic atmosphere of a party.
[0139] Through this precise matching mechanism, the most suitable lighting effect motion mode can be determined for each non-planar lamp, so as to achieve a coordinated lighting effect in the entire lamp joint control system and meet the user's needs for a specific atmosphere. This method not only improves the flexibility and accuracy of lighting effect configuration, but also provides users with a richer and more personalized lighting experience.
[0140] On the basis of any embodiment of the method of the present application, determining the lighting effect color scheme of the non-planar lamp according to the carrier of the lighting effect color semantics includes:
[0141] Step S5310: Determine the data distance between two colors in the characteristic color set provided by the carrier of the lighting effect color matching semantics as the color difference between the two colors;
[0142] As mentioned above, the carrier of the semantics of lighting effect color matching will be represented as a characteristic color set. By analyzing the colors in the characteristic color set, the color difference between them can be determined. The characteristic color set is extracted from image modality data or generated based on text data, and includes accent colors and background colors. These colors can accurately reflect the user's intention and preference for color, thereby constructing a lighting effect color matching scheme that meets the user's expectations.
[0143] Specifically, the characteristic color set contains a set of selected representative colors that represent the main color features of the image. In order to quantify the relationship between these colors, the present application introduces the concept of data distance to represent the color difference between any two representative colors. Color difference refers to the degree of difference between two colors, which can be determined by calculating the data distance between two color values. In color space, this distance can be calculated in a variety of ways, such as using Euclidean distance, Minkowski distance, cosine similarity, CIELAB color difference formula, etc. Preferably, the calculation of the data distance corresponding to the color difference can be performed in the LAB color space to more accurately quantify the color difference effect of the human eye.
[0144] In order to more intuitively represent the color difference between these colors, we can use a distance matrix to show it. The distance matrix is a two-dimensional array, where the rows and columns represent different colors in the feature color set, and each element in the matrix represents the color difference between the corresponding two colors. By calculating the color difference between each pair of colors and filling it into the matrix, we get a complete distance matrix, which describes in detail the relationship between all colors in the feature color set.
[0145] Step S5320: Arrange and combine the colors in the characteristic color set to obtain multiple candidate color matching sequences;
[0146] Based on the characteristic color set and the color difference relationship between each representative color, these colors can be arranged and combined to generate multiple candidate color matching sequences. The candidate color matching sequences are used to explore the visual effects of different color combinations so as to select the best lighting effect color matching scheme.
[0147] In the specific implementation, we first need to determine the number of colors contained in the characteristic color set, and then use the method of permutation and combination to generate all possible candidate color sequences. For example, if the characteristic color set contains three colors A, B and C, then the possible color matching sequences include ABC, ACB, BAC, BCA, CAB, CBA. These sequences represent the order in which the colors are displayed on the lamps, and different sequences may bring different visual effects.
[0148] Step S5330: Calculate the sum of the color differences between each two adjacent colors in each candidate color matching sequence, and determine the candidate color matching sequence with the largest sum of color differences as the lighting effect color matching scheme of the non-planar lamp.
[0149] After determining the characteristic color set and its color difference relationship, we can continue to calculate the sum of the color differences between two adjacent colors in each candidate color sequence to determine the best lighting color scheme. The core of this step is to evaluate the visual impact and coordination of each candidate color sequence, and select the sequence with the largest sum of color differences as the final lighting color scheme, because a larger sum of color differences usually means a more vivid and dynamic visual effect.
[0150] Specifically, for each candidate color sequence, treat it as a color arrangement, such as the sequence ABC. In this sequence, it is necessary to calculate the color difference between colors A and B (denoted as d(A,B)), and the color difference between colors B and C (denoted as d(B,C)). These color difference values can be directly obtained from the distance matrix constructed previously. Then, add these two color difference values to get the total color difference of the sequence ABC.
[0151] For all candidate color matching sequences, the above process is repeated to calculate the sum of the color differences of each sequence. For example, for the sequence ACB, d(A,C) and d(C,B) are calculated and added to get the sum of the color differences of the sequence ACB. Similarly, the sum of the color differences of all other sequences such as BAC, BCA, CAB and CBA is also calculated.
[0152] After the color difference sum of all candidate color matching sequences is calculated, the color difference sum values of these sequences are compared, and the candidate color matching sequence with the largest color difference sum is selected as the lighting effect color scheme of the non-planar lamp. The reason for this is that the sequence with a larger color difference sum provides a stronger contrast and change visually, which is more likely to attract the attention of the observer and create a more vivid and interesting lighting effect atmosphere.
[0153] For example, suppose the sum of color differences of the following candidate color matching sequences is obtained: the sum of ABC is 10, the sum of ACB is 12, the sum of BAC is 9, the sum of BCA is 11, the sum of CAB is 8, and the sum of CBA is 14. Among these sequences, CBA has the largest sum of color differences, so CBA is selected as the final lighting effect color scheme.
[0154] This embodiment achieves a series of unique technical advantages by accurately calculating the color difference between colors and determining the lighting effect color scheme of non-planar lamps based on this. These advantages not only improve the visual effect of the lighting effect, but also enhance the user experience.
[0155] First, this embodiment quantifies the differences between colors by constructing a distance matrix, making the color matching more scientific and accurate. This data-based method ensures that the color matching scheme is not just based on subjective judgment, but has a clear mathematical basis, thereby improving the professionalism and reliability of the color matching scheme.
[0156] Secondly, this embodiment calculates the sum of the color differences of all possible color combinations and selects the sequence with the largest sum of color differences as the final lighting color scheme, which can maximize the visual effect. In this way, the lamp can show more vivid and dynamic color changes, providing users with a richer and more attractive visual experience.
[0157] Furthermore, this embodiment is technically highly flexible and adaptable. It is not limited to a specific color space or color difference calculation method, but can select the most appropriate color space and color difference calculation formula according to different needs and conditions. This flexibility allows this embodiment to be widely used in different scenarios and needs, and has strong practicality.
[0158] In addition, this embodiment has obvious advantages in improving the overall coordination of lighting effects, optimizing the use of lighting characteristics, simplifying user operation processes, and enhancing the intelligent correspondence of lighting effect semantics. By intelligently generating lighting effect motion modes and lighting effect color schemes corresponding to the semantics of user input, this embodiment not only improves the personalization of lighting effects, but also enables lighting effects to dynamically adapt to different scenes and user needs, providing users with a more flexible and intelligent lighting solution.
[0159] Based on any embodiment of the method of the present application, before obtaining a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system, the method includes:
[0160] Step S3100: establishing a wireless communication connection to each lamp in the lamp joint control system, and obtaining a lamp identification and a lamp type of each lamp, wherein the lamp type includes a planar lamp type and a non-planar lamp type;
[0161] Before realizing the overall lighting atmosphere rendered by the lighting joint control system, it is first necessary to ensure that the system can establish a communication connection with each lamp and obtain their basic identification information. To this end, when the joint control lighting effect configuration device is working, it can automatically establish a wireless communication connection to each lamp in the lighting joint control system, so that the device can exchange data with each lamp in the joint control system. Through this connection, the unique identification of each lamp, that is, the lamp identification, and their lamp type can be obtained and identified, so that two different types of planar lamps and non-planar lamps can be distinguished. Planar lamps generally refer to lamps with a larger light-emitting area, such as curtain lights or mesh lights, while non-planar lamps refer to those with smaller light-emitting units, such as square lights or linear lights, which can be pre-set by their lamp types.
[0162] Step S3200: download corresponding lighting effect motion mode data sets according to the types of lamps, and establish mapping relationship data between each lamp identification and the corresponding lighting effect motion mode data sets according to the lamp types for ready call;
[0163] To continue the subsequent work, the joint control lighting effect configuration device can download the corresponding lighting effect motion mode data set from the server according to the type of lamp. These data sets contain preset lighting effect motion modes, each of which has its own unique identifier and description information, which describes how the lamp displays changes in color and brightness. For example, a planar lamp may have a data set that contains a mode suitable for displaying continuous color gradients, while a non-planar lamp may have a mode data set containing discrete colors and dynamic effects.
[0164] To facilitate subsequent calls, a mapping relationship is established to associate each lamp identification with its corresponding lighting effect motion mode data set. This mapping relationship data is to facilitate the rapid call of the lighting effect motion mode that matches a specific lamp in the subsequent lighting effect configuration process. For example, if a lamp with a lamp identification of "LT12345" is a non-planar lamp, this lamp identification will be recorded in the mapping relationship and associated with the lighting effect motion mode data set suitable for non-planar lamps.
[0165] Step S3300: Transmit the lighting effect motion mode data set to the lamp corresponding to its associated lamp identification for upgrade configuration.
[0166] According to the corresponding relationship between the lamp identification, these lighting effect motion mode data sets are transmitted to the corresponding lamps, so that the lighting effect motion mode data sets of the corresponding lamps can be upgraded and configured. In this way, it can be ensured that each lamp has the ability to execute the preset lighting effect motion mode. For example, if a lamp needs to update its lighting effect motion mode to match a new lighting effect atmosphere, the necessary data set is sent to the lamp through this step so that it can understand and execute the new lighting effect instructions.
[0167] Through a series of steps in this embodiment, the lighting joint control system can ensure that each lighting fixture can receive a lighting effect configuration suitable for its characteristics, so as to better coordinate and solve the technical problem to be solved by this application, thereby achieving a coordinated and consistent lighting effect in the entire system. This method not only improves the flexibility and accuracy of lighting effect configuration, but also provides users with a richer and more personalized lighting experience.
[0168] Based on any embodiment of the method of the present application, sending the lighting effect motion mode and the lighting effect color scheme to the non-planar lamp includes:
[0169] Step S4100: Acquire interface call information of the non-planar lamp, wherein the interface call information includes an interface name and a corresponding packaging format specification;
[0170] In the process of applying lighting motion modes and lighting color schemes to non-planar lamps, you first need to ensure that these settings can be correctly understood and executed by the corresponding lamps. This involves communicating with the lamp's interface, which allows external commands to control the behavior of the lamp. To do this, you must obtain the interface call information of the non-planar lamp, including the interface name and package format specification. The interface name refers to the specific command identifier that the lamp recognizes and responds to, while the package format specification describes in detail how to construct these commands, including the type, order, and structure of the data.
[0171] The acquisition of interface call information can be obtained through a pre-set protocol manual or through the automatic discovery process with the lamp. Once this information is mastered, you can proceed to the next step, which is to encapsulate the lighting effect motion mode and lighting effect color scheme according to the encapsulation format specification.
[0172] Step S4200: encapsulate the lighting effect motion mode and the lighting effect color scheme according to the encapsulation format specification to form a corresponding message body;
[0173] Encapsulation is the process of packaging data into a specific format to ensure compatibility with the fixture's interface. For example, if the fixture interface requires receiving data in JSON format, then the parameters of the lighting effect motion mode and color scheme need to be organized into a JSON object containing all the necessary key-value pairs.
[0174] During the encapsulation process, the specific parameters of the lighting effect motion mode and lighting effect color scheme, such as color value, brightness level, change speed, etc., are converted into the specified format and arranged according to the requirements of the interface. Such encapsulation ensures the integrity and correctness of the information, constructs the corresponding message body, and enables the lamps to parse and execute these instructions correctly.
[0175] Step S4300: construct the interface name and the message body into a lighting effect play instruction, and send it to the corresponding non-planar lamp.
[0176] Combining the encapsulated message body with the interface name constructs a complete lighting effect playback instruction. The lighting effect playback instruction is a specific guide for the lamp to execute the lighting effect. It tells the lamp in what order and with what parameters to display the lighting effect. This instruction is sent to the corresponding non-planar lamp through a wireless communication network, such as Wi-Fi or Bluetooth. After receiving the instruction, the non-planar lamp will execute the corresponding lighting effect according to the data in the lighting effect playback instruction, thereby rendering the expected lighting effect atmosphere in the user's environment.
[0177] In different embodiments, the interface call information and encapsulation format specifications may vary. For example, some lamps may support RESTful APIs, in which case the instructions may need to be sent in the form of HTTP requests, including a specific URL and HTTP method (such as GET or POST). Other lamps may use the MQTT protocol for communication, in which case the encapsulation and sending of instructions need to follow the MQTT specification. Regardless of the specific communication protocol, the core goal is to ensure that the lighting effect motion mode and color scheme can be correctly understood and executed by the lamp to achieve precise lighting effect control.
[0178] This embodiment achieves the transmission of highly customized lighting effect motion modes and color schemes by accurately docking the interface call information and packaging format specifications of non-planar lamps, ensuring seamless communication with lamps and accurate execution of instructions. Compared with other embodiments, the unique technical advantage of this embodiment lies in its strong adaptability and compatibility. It can cope with the interface differences of lamps of different brands and models. Through flexible packaging and instruction construction mechanisms, the same lighting effect configuration method can be widely used in a variety of lamps, greatly expanding the scope of application. In addition, this embodiment improves the accuracy and reliability of lighting effect control by ensuring the integrity and correctness of information, reduces the risk of lighting effect configuration failure due to communication errors or instruction misunderstandings, and thus provides users with a more stable and efficient intelligent lighting solution.
[0179] See also Figure 3, a joint control lighting effect configuration device provided to meet one of the purposes of the present application is a functional embodiment of the joint control lighting effect configuration method of the present application, the device includes a semantic representation module 5100, a mode determination module 5200, a color matching determination module 5300, and a lighting effect application module 5400, wherein the semantic representation module 5100 is configured to obtain a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system, determine a derivative representation corresponding to the semantics of the reference representation, and the reference representation and the derivative representation are mutually semantic and lighting effect action semantics. The mode determination module 5200 is configured to determine the lighting effect movement mode of the non-planar lamp in the lamp joint control system according to the carrier of the lighting effect action semantics; the color determination module 5300 is configured to determine the lighting effect color scheme of the non-planar lamp according to the carrier of the lighting effect color scheme semantics; the lighting effect application module 5400 is configured to send the lighting effect movement mode and the lighting effect color scheme to the non-planar lamp, so that the non-planar lamp can apply the lighting effect movement mode and the lighting effect color scheme to play the corresponding lighting effect.
[0180] Based on any embodiment of the device of the present application, the semantic representation module 5100 can be implemented by combining any number of the following optional specific embodiments.
[0181] In one of the optional specific embodiments, the semantic representation module 5100 may be implemented in the following manner, including: a user text input module, configured to, when the lighting joint control system includes a planar lighting fixture and the user's original input material is a text data type, determine the user's original input material as a reference representation as a carrier of the lighting effect action semantics; a planar lighting effect application module 5400, configured to generate a pixelated image adapted to the frame of the planar lighting fixture based on the reference representation and the resolution information of the planar lighting fixture, and send the pixelated image to the planar lighting fixture for playback; a color matching semantics determination module, configured to extract a feature color set based on the pixelated image, and construct the derived representation based on the feature color set to serve as a carrier of the lighting effect color matching semantics.
[0182] In the second optional specific embodiment, the semantic representation module 5100 may be implemented in the following manner, including: a user image input module, configured to, when the lighting control system includes a planar lighting fixture and the user's original input material is of an image data type, pixelate the user's original input material according to the resolution information of the planar lighting fixture to obtain a pixelated image that matches the frame of the planar lighting fixture, and send the pixelated image to the planar lighting fixture for playback; a color carrier determination module, configured to extract a feature color set based on the pixelated image, and construct the reference representation according to the feature color set to serve as a carrier of the lighting effect color matching semantics; an action carrier determination module, configured to generate a content description text of the user's original input material as the derived representation, so that the derived representation becomes the carrier of the lighting effect action semantics.
[0183] The third optional specific embodiment, the semantic representation module 5100 may be implemented in the following manner, including: a semantic synthesis processing module, configured to, when the lighting joint control system does not include a planar lighting fixture and the original input material of the user is a text data type, use the original input material of the user as the reference representation, determine it as the carrier of the lighting effect action semantics, and generate a derivative representation that directly describes the feature color set in a text data type based on the reference representation as the carrier of the lighting effect color matching semantics.
[0184] In a fourth optional specific embodiment, the semantic representation module 5100 may be implemented in the following manner, including: an original image color setting module, configured to extract the characteristic color set of the user's original input material to construct the reference representation as a carrier of the lighting effect color matching semantics when the lighting control system does not include a planar lighting fixture and the user's original input material is of an image data type; an action semantic determination module, configured to generate a content description text of the user's original input material as the derived representation, so that the derived representation becomes the carrier of the lighting effect action semantics.
[0185] It can be seen from the above optional specific embodiments that any one or any multiple specific embodiments can be flexibly adopted in combination for implementation, which can further deepen and embody the creative spirit of the present application.
[0186] Based on any embodiment of the device of the present application, a characteristic color set can be directly determined based on a target image rather than a pixelated image to be used as a reference representation or a derivative representation to carry the semantics of lighting effect color matching. The target image can be an image provided by a user as the original input material, or an image generated by using text-generated image technology after the user provides text as the original input material. This image can also be converted into a pixelated image required for a planar lamp to play lighting effects. To this end, the device includes: a color clustering execution module, which is configured to perform pixel clustering on a target image to obtain a plurality of pixel clusters and a representative color of each pixel cluster, wherein the representative color is the color of a central pixel of the corresponding pixel cluster; an area ratio determination module, which is configured to determine the area ratio of the total number of pixels of each pixel cluster relative to the total number of pixels of the target image; a saliency determination module, which is configured to determine the data distance between each representative color and the average color of the target image to quantify the saliency of the representative color; a color matching bearing processing module, which is configured to select a portion of representative colors with a relatively high area ratio as the background color of the lighting effect, select a portion of representative colors with a relatively high saliency from the remaining representative colors as the embellishment color of the lighting effect, and construct the background color and the embellishment color into a characteristic color set to be determined as a carrier for carrying the color matching semantics of the lighting effect.
[0187] Based on any embodiment of the device of the present application, the color semantic determination module and / or the color carrier determination module include: a pixel total count module, configured to count the total number of pixels of each color except black in the pixelated image; a color selection construction module, configured to determine the color with the largest total number of pixels as the background color, and the remaining colors as accent colors, and construct the background color and accent colors into a feature color set.
[0188] Based on any embodiment of the device of the present application, the mode determination module 5200 includes: a mode data acquisition module, configured to obtain a lighting effect motion mode data set preset for the non-planar lamp based on the lamp identification of the non-planar lamp, the data set containing the mode identification of each lighting effect motion mode and its description information; a target pattern matching module, configured to match the carrier of the lighting effect action semantics with the description information of each lighting effect motion mode in the data set, and determine the mode identification corresponding to the matched description information to indicate the lighting effect motion mode corresponding to the non-planar lamp.
[0189] Based on any embodiment of the device of the present application, the color determination module 5300 includes: a color difference operation determination module, which is configured to determine the data distance between any two colors in the characteristic color set provided by the carrier of the lighting effect color matching semantics as the color difference between the two colors; a color arrangement candidate module, which is configured to arrange and combine the colors in the characteristic color set to obtain multiple candidate color matching sequences; a color scheme selection module, which is configured to calculate the sum of the color differences between each two adjacent colors in each candidate color matching sequence, and determine the candidate color matching sequence with the largest sum of color differences as the lighting effect color matching scheme of the non-planar lamp.
[0190] On the basis of any embodiment of the device of the present application, prior to the semantic representation module 5100, the device of the present application also includes: a communication establishment module, configured to establish a wireless communication connection to each lamp in the lamp joint control system, and obtain the lamp identification and lamp type of each lamp, wherein the lamp type includes a planar lamp type and a non-planar lamp type; a data pre-storage module, configured to download a corresponding lighting effect motion pattern data set according to each lamp type, and establish a mapping relationship data between each lamp identification and the corresponding lighting effect motion pattern data set through the lamp type for ready call; a data upgrade module, configured to transmit the lighting effect motion pattern data set to the lamp corresponding to its associated lamp identification for upgrade configuration.
[0191] Based on any embodiment of the device of the present application, the lighting effect application module 5400 includes: an interface information acquisition module, configured to obtain interface call information of the non-planar lamp, and the interface call information includes an interface name and its corresponding packaging format specification; a lighting effect message construction module, configured to encapsulate the lighting effect motion mode and the lighting effect color scheme according to the packaging format specification to form a corresponding message body; a play instruction sending module, configured to construct the interface name and the message body into a lighting effect play instruction, and send it to the corresponding non-planar lamp.
[0192] In order to solve the above technical problems, the present application also provides a computer device. Figure 4As shown, a schematic diagram of the internal structure of a computer device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. Among them, the computer-readable storage medium of the computer device stores an operating system, a database, and computer-readable instructions. The database may store a control information sequence. When the computer-readable instructions are executed by the processor, the processor can implement a method for configuring a joint-controlled lighting effect. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can execute the method for configuring the joint-controlled lighting effect of the present application. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0193] In this embodiment, the processor is used to execute Figure 3 The memory stores the program code and various data required to execute the above modules or submodules. The network interface is used to transmit data between user terminals or servers. The memory in this embodiment stores the program code and data required to execute all modules / submodules in the joint control lighting effect configuration device of this application, and the server can call the program code and data of the server to execute the functions of all submodules.
[0194] The present application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the joint control lighting effect configuration method of any embodiment of the present application.
[0195] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments of the present application can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a computer-readable storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0196] It will be understood by those skilled in the art that the various operations, methods, steps, measures, and schemes in the processes discussed in this application may be alternated, changed, combined, or deleted. Furthermore, other steps, measures, and schemes in the various operations, methods, and processes discussed in this application may also be alternated, changed, rearranged, decomposed, combined, or deleted. Furthermore, the steps, measures, and schemes in the various operations, methods, and processes in the prior art that are open source and in this application may also be alternated, changed, rearranged, decomposed, combined, or deleted.
[0197] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for configuring joint control lighting effects, characterized in that: include: Acquire a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system, and determine a derived representation corresponding to the semantics of the reference representation, wherein the reference representation and the derived representation are carriers of the lighting effect action semantics and the lighting effect color matching semantics; Determining the lighting effect motion mode of the non-planar lighting fixture in the lighting fixture joint control system according to the carrier of the lighting effect action semantics, the carrier being a text data modality; According to the carrier of the lighting effect color matching semantics, the carrier is an image data modality and provides a characteristic color set, and the lighting effect color matching scheme of the non-planar lamp is determined according to the characteristic color set; The lighting effect motion mode and the lighting effect color scheme are sent to the non-planar lamp, so that the non-planar lamp applies the lighting effect motion mode and the lighting effect color scheme to play the corresponding lighting effect.
2. The method for configuring joint control lighting effects according to claim 1, characterized in that: The obtaining of a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system and determining a derivative representation corresponding to the semantics of the reference representation include: When the lighting joint control system includes planar lighting fixtures, and the original user input material is of text data type, determining the original user input material as a reference representation of the carrier of the lighting effect action semantics; Generate a pixelated image adapted to the frame of the planar lamp according to the reference representation and the resolution information of the planar lamp, and send the pixelated image to the planar lamp for playback; A characteristic color set is extracted based on the pixelated image, and the derived representation is constructed according to the characteristic color set to serve as a carrier of the lighting effect color matching semantics.
3. The method for configuring joint control lighting effects according to claim 1, characterized in that: The obtaining of a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system and determining a derivative representation corresponding to the semantics of the reference representation include: When the lighting joint control system includes a planar lighting fixture, and the original user input material is of an image data type, pixelation processing is performed on the original user input material according to the resolution information of the planar lighting fixture to obtain a pixelated image adapted to the frame of the planar lighting fixture, and the pixelated image is sent to the planar lighting fixture for playback; Extracting a characteristic color set based on the pixelated image, and constructing the reference representation according to the characteristic color set to serve as a carrier of the lighting effect color matching semantics; A content description text is generated according to the original user input material as the derived representation, so that the derived representation becomes a carrier of the lighting effect action semantics.
4. The method for configuring joint control lighting effects according to claim 1, characterized in that: The obtaining of a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system and determining a derivative representation corresponding to the semantics of the reference representation include: When the lighting joint control system does not include planar lighting and the user's original input material is a text data type, the user's original input material is used as the benchmark representation and determined as the carrier of the lighting effect action semantics. Based on the benchmark representation, a derivative representation that directly describes the feature color set in a text data type is generated as the carrier of the lighting effect color matching semantics.
5. The method for configuring joint control lighting effects according to claim 1, characterized in that: The obtaining of a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system and determining a derivative representation corresponding to the semantics of the reference representation include: When the lamp joint control system does not include planar lamps, and the original input material of the user is of image data type, extracting a characteristic color set of the original input material of the user to construct the reference representation as a carrier of the lighting effect color matching semantics; A content description text is generated according to the original user input material as the derived representation, so that the derived representation becomes a carrier of the lighting effect action semantics.
6. The method for configuring joint control lighting effects according to claim 1, characterized in that: Determining the lighting effect motion mode of the non-planar lighting fixture in the lighting fixture joint control system according to the carrier of the lighting effect action semantics includes: Acquire a preset lighting effect motion mode data set of the non-planar lamp based on the lamp identifier of the non-planar lamp, wherein the data set includes a mode identifier of each lighting effect motion mode and description information thereof; The carrier of the lighting effect action semantics is matched with the description information of each lighting effect motion mode in the data set, and the mode identifier corresponding to the matched description information is determined to indicate the lighting effect motion mode corresponding to the non-planar lamp.
7. The method for configuring joint control lighting effects according to claim 1, characterized in that: According to the carrier of the lighting effect color matching semantics, the carrier is an image data modality and provides a characteristic color set, and according to the characteristic color set, the lighting effect color matching scheme of the non-planar lamp is determined, including: Determine the data distance between two colors in the characteristic color set provided by the carrier of the lighting effect color matching semantics as the color difference between the two colors; Arrange and combine the colors in the characteristic color set to obtain multiple candidate color matching sequences; The sum of the color differences between each two adjacent colors in each candidate color matching sequence is calculated, and the candidate color matching sequence with the largest sum of the color differences is determined as the lighting effect color matching scheme of the non-planar lamp.
8. The method for configuring joint control lighting effects according to claim 2 or 3, characterized in that: Extracting a characteristic color set based on the pixelated image includes: Counting the total number of pixels of each color except black in the pixelated image; The color with the largest total pixel amount is determined as the background color, and the remaining colors are determined as decorative colors. The background color and decorative colors are constructed into a characteristic color set.
9. The method for configuring joint control lighting effects according to claim 8, characterized in that: Determine the color with the largest total pixel count as the background color, and the remaining colors as decorative colors, including: Select the first three representative colors with the largest total pixel amount as the background color; The first five representative colors having the largest data distance from the average color of the pixelated image are selected as the embellishment colors.
10. The method for configuring joint control lighting effects according to any one of claims 1 to 7, characterized in that: Before obtaining the benchmark representation used to define the overall lighting atmosphere rendered by the lighting control system, include: Establishing a wireless communication connection to each lamp in the lamp joint control system, and obtaining a lamp identification and a lamp type of each lamp, wherein the lamp type includes a planar lamp type and a non-planar lamp type; Download the corresponding lighting effect motion mode data set according to each lamp type, and establish the mapping relationship data between each lamp identification and the corresponding lighting effect motion mode data set through the lamp type for ready call; The lighting effect motion mode data set is transmitted to the lamp corresponding to its associated lamp identification for upgrade configuration.
11. The method for configuring joint control lighting effects according to any one of claims 1 to 7, characterized in that: Sending the lighting effect motion mode and the lighting effect color scheme to the non-planar lamp includes: Acquire interface call information of the non-planar lamp, wherein the interface call information includes an interface name and a corresponding encapsulation format specification; Encapsulate the lighting effect motion mode and lighting effect color scheme according to the encapsulation format specification to form a corresponding message body; The interface name and the message body are constructed into a lighting effect playing instruction, and sent to the corresponding non-planar lamp.
12. A joint control lighting effect configuration device, characterized in that: include: A semantic representation module is configured to obtain a reference representation for defining the overall lighting effect atmosphere rendered by the lighting joint control system, and determine a derived representation corresponding to the semantics of the reference representation, wherein the reference representation and the derived representation are mutually carriers of the lighting effect action semantics and the lighting effect color matching semantics; A mode determination module, configured to determine the light effect motion mode of the non-planar light in the light joint control system according to the carrier of the light effect motion semantics, the carrier being a text data mode; A color matching determination module is configured as a carrier according to the lighting effect color matching semantics, the carrier is an image data modality and provides a characteristic color set, and the lighting effect color matching scheme of the non-planar lamp is determined according to the characteristic color set; The lighting effect application module is configured to send the lighting effect motion mode and the lighting effect color scheme to the non-planar lamp, so that the non-planar lamp applies the lighting effect motion mode and the lighting effect color scheme to play the corresponding lighting effect.
13. A joint control lighting effect configuration device, comprising a controller, wherein the controller is communicatively connected to a non-planar lamp, characterized in that: The controller is used to execute the steps of the joint control lighting effect configuration method as described in any one of claims 1 to 11 to control the non-planar lamps to display lighting effects.
14. A computer-readable storage medium, characterized in that: It stores a computer program implemented according to the method described in any one of claims 1 to 11 in the form of computer-readable instructions, and when the computer program is called and executed by a computer, the steps included in the corresponding method are executed.
Citation Information
Patent Citations
LED light interaction control system
CN117082700A