Lamp control method, system and device, electronic equipment and storage medium
Through the collaborative work of the client and server, the visual interface is used to configure and drive car lamps, and the drive controllers of different lamps are integrated, which solves the problems of long development time and high cost in the existing technology, and realizes flexible lighting effect design and high efficiency debugging process.
Patent Information
- Application Number
- CN202310769985.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-12-27
AI Technical Summary
The development time of existing automotive lamps is long, costly, and the post-maintenance cost is high, making it difficult to achieve flexible lighting effect adjustment.
Through the collaborative work of the client and the server, the visual interface is used to configure the lighting display effect, generate data packets and drive physical lighting display, and integrate the driving controllers of different lighting fixtures to achieve flexible lighting effect design and debugging.
Simplifies the lamp configuration process, reduces development complexity and cost, improves development efficiency and reliability of debugging results, and supports personalized and customized lighting effects.
Smart Images

Figure CN119212147A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a control method, system and device for a lamp, an electronic device and a storage medium. Background Art
[0002] Since LED (Light-Emitting Diode) was used as the light source for the interior and exterior lighting system of automobiles, the components of automobile lighting systems have gradually shifted from an electrical product to an electronic product. Automobile lamps have evolved from functional parts that only provide lighting and driving instructions to intelligent ones, deriving projection lamps and display interactive lamps, and have transformed from fixed-function products to customizable and customizable products (for example, digital skin, personalized light language, etc.).
[0003] However, in the related technology, the design and display of the lighting effect of a lamp generally includes: first designing the hardware schematic diagram of the PCB (Printed Circuit Board) board of the lamp, and then making the PCB board; after the PCB board is made, the PCB board and the lighting effect file (for example, video) are given to the supplier responsible for the production of the lamp sample; the supplier will conduct a series of processes such as technical solution evaluation, quotation, bidding, and then develop dedicated control software and dedicated hardware to complete the production of the entire lamp sample. If there is any change in the effect of the subsequent lamp, the corresponding software and hardware need to be redeveloped and debugged. In this way, there are problems such as long development time, high price cost, and high later maintenance cost. Summary of the invention
[0004] One of the purposes of the present application is to provide a method for controlling a lamp, so as to solve the problems of long development time, high price cost, and high subsequent maintenance cost in the prior art for producing a lamp; the second purpose is to provide a control system for a lamp; the third purpose is to provide a control device for a lamp; the fourth purpose is to provide an electronic device; and the fifth purpose is to provide a computer-readable storage medium.
[0005] In order to achieve the above purpose, the present application provides a control method for a lamp, which is applied in a client and adopts the following technical solutions:
[0006] In response to a configuration operation performed on a target lamp in a solution editing interface, target configuration information of the configured target lamp is acquired; wherein the solution editing interface includes at least one lamp in the target solution;
[0007] Based on the target configuration information, generating a data packet;
[0008] The data packet is sent to a server so that the server determines a target drive controller that matches the drive type in the data packet from at least one drive controller, and uses the target drive controller to drive and control the display of a physical lamp corresponding to the target lamp according to the display effect in the data packet.
[0009] According to the above technical means, firstly, the client configures the display effects of various lamps through a visual interface, which not only simplifies the configuration process but also improves the configuration efficiency; secondly, by integrating the driving controllers of different lamps in the server, the server can be compatible with different types of lamps, which not only broadens the usage scenarios but also reduces the cost; finally, the client sends the data packet to the server so that the server controls and drives the corresponding physical lamps through the data packet, so that the design display effects of the lamps can be more intuitively and conveniently debugged and developed on the physical lamps. Compared with a series of development processes such as hardware design, hardware production, lighting effect design, and supporting special software and hardware development, it not only reduces the complexity of the development process and saves manpower, time and other costs, but also improves the reliability and accuracy of the development results.
[0010] Further, in response to the configuration operation performed on the target lamp in the solution editing interface, the target configuration information of the configured target lamp is obtained, including: in response to the selection operation of the target lamp in the solution editing interface, a configuration option set of the target lamp is displayed; wherein the configuration option set includes at least one of the following: a name option, a drive type option, and a display effect option; in response to the configuration operation performed on the configuration option set, the target configuration information of the configured target lamp is obtained.
[0011] According to the above technical means, the driving type and display effect of the lamp are selected through a visual interface, which realizes visual editing and achieves a what-you-see-is-what-you-get effect, so that operators can design, edit, optimize, etc. the lamps, thereby improving development efficiency.
[0012] Furthermore, the configuration option set also includes a three-dimensional lamp model import control; the method also includes: in response to a trigger operation on the three-dimensional lamp model import control, obtaining a target three-dimensional lamp model file, and displaying the corresponding three-dimensional lamp model in the display area of the solution editing interface.
[0013] According to the above technical means, the three-dimensional lamp model corresponding to the lamp is displayed in real time through a visual interface, so that designers can edit and design the lighting effects in the three-dimensional lamp model, thereby improving development efficiency.
[0014] Furthermore, the solution editing interface also includes a preview area, and the preview area includes at least one preview control. The method also includes: in response to a triggering operation on a target preview control, displaying a preview effect corresponding to the target lamp.
[0015] According to the above technical means, a preview of the display effect of the lamp is provided through a visual interface, and online simulation and verification of the light is realized, so that designers can optimize the display effect of the lamp, thereby improving development efficiency.
[0016] Furthermore, the scheme editing interface also includes an export control, and the method further includes: in response to a triggering operation on the export control, generating a corresponding configuration file based on the configuration information of each lamp in the target scheme, and saving the configuration file.
[0017] According to the above technical means, the configuration information of the lamp is exported through the export control to facilitate mass production. At the same time, since the driver type and lamp hardware in the configuration file are solidified, and the display effect can be edited, the user can personalize and customize the display effect of the lamp.
[0018] Furthermore, the method further includes: in response to a triggering operation on a management control of a target solution in a solution management interface, displaying a solution editing interface corresponding to the target solution.
[0019] According to the above technical means, each plan is managed through a visual interface. Compared with manual management, it not only simplifies the operation steps and improves the accuracy of the plan, but also improves the efficiency of management.
[0020] A method for controlling a lamp, applied to a server, comprises:
[0021] Receive a data packet sent by a client; wherein the data packet is generated by the configuration operation performed by the client on the target lamp in the solution editing interface, and the data packet at least includes a driving type and a display effect;
[0022] Determine a target drive controller matching the drive type from at least one drive controller;
[0023] The target driving controller is used to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect.
[0024] Furthermore, the display effect includes the display effect of at least one lamp bead in the target lamp; and the use of the target drive controller to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect includes: determining the target physical lamp bead corresponding to each of the lamp beads from at least one physical lamp bead; and using the target drive controller to drive and control the display of the corresponding target physical lamp bead according to the display effect of each lamp bead.
[0025] According to the above technical means, on the one hand, the display effect of a single lamp can be edited to achieve a what-you-see-is-what-you-get effect, broadening the usage scenarios; on the other hand, the lamp is separated from the controller, and the same set of controllers can be compatible with lamps of multiple projects, reducing costs.
[0026] A control system for lamps, the system comprising a client and a server, the server comprising a control part and a physical part connected to the control part, the physical part comprising at least one physical lamp, wherein:
[0027] The client is used to: in response to the configuration operation performed on the target lamp in the scheme editing interface, obtain the target configuration information of the configured target lamp; wherein the scheme editing interface includes at least one lamp in the target scheme; generate a data packet based on the target configuration information; and send the data packet to the control part;
[0028] The control part is used to receive the data packet; determine a target drive controller that matches the drive type in the data packet from at least one drive controller; and use the target drive controller to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect in the data packet.
[0029] A control device for a lamp, applied in a client, comprising:
[0030] An acquisition module, configured to acquire target configuration information of the configured target lamp in response to a configuration operation performed on the target lamp in the scheme editing interface; wherein the scheme editing interface includes at least one lamp in the target scheme;
[0031] A generating module, used for generating a data packet based on the target configuration information;
[0032] A sending module is used to send the data packet to a server, so that the server determines a target drive controller that matches the drive type in the data packet from at least one drive controller, and uses the target drive controller to drive and control the display of a physical lamp corresponding to the target lamp according to the display effect in the data packet.
[0033] A control device for a lamp, applied to a server, comprising:
[0034] A receiving module, configured to receive a data packet sent by a client; wherein the data packet is generated by the client in response to a configuration operation performed on a target lamp in a solution editing interface, and the data packet includes at least a driving type and a display effect;
[0035] A determination module, configured to determine a target drive controller matching the drive type from at least one drive controller;
[0036] The control module is used to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect by using the target drive controller.
[0037] An electronic device comprises a processor and a memory, wherein the memory stores a computer program executable on the processor, and wherein the processor implements any one of the above methods when executing the computer program.
[0038] A computer-readable storage medium stores a computer program, which implements any of the above methods when executed by a processor.
[0039] Beneficial effects of this application:
[0040] (1) Compared with manual management, each plan can be managed through a visual interface, which not only improves the accuracy of the data and reduces the possibility of data inaccuracy caused by human factors, but also makes plan changes faster and more reliable.
[0041] (2) Configuring the display effects of various lamps through a visual interface not only simplifies the configuration process but also improves configuration efficiency.
[0042] (3) By integrating the driver controllers of different lamps in the server, the server can be compatible with different types of lamps, which not only broadens the usage scenarios but also reduces costs.
[0043] (4) The server controls and drives the corresponding physical lamps through the client's data packets, so that the design display effects of the lamps can be more intuitive and conveniently debugged and developed on the physical lamps. Compared with a series of development processes such as hardware design, hardware production, lighting effect design, and supporting special software and hardware development, it not only reduces the complexity of the development process and saves manpower, time and other costs, but also improves the reliability and accuracy of the debugging results.
[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0046] Figure 1A A schematic diagram of an implementation flow of a lamp control method provided in an embodiment of the present application;
[0047] Figure 1B A schematic diagram of a solution editing interface provided in an embodiment of the present application;
[0048] Figure 2 A schematic diagram of an implementation flow of a lamp control method provided in an embodiment of the present application;
[0049] Figure 3A A schematic diagram of the structure of a control system for a lamp provided in an embodiment of the present application;
[0050] Figure 3B A schematic diagram of the structure of a control system for a lamp provided in an embodiment of the present application;
[0051] Figure 3C A schematic diagram of an implementation flow of a lamp control method provided in an embodiment of the present application;
[0052] Figure 3D A schematic diagram of an implementation flow of a lamp control method provided in an embodiment of the present application;
[0053] Figure 3E A schematic diagram of the structure of a universal controller provided in an embodiment of the present application;
[0054] Figure 4 A schematic diagram of the structure of a control device for a lamp provided in an embodiment of the present application;
[0055] Figure 5 A schematic diagram of the structure of a control device for a lamp provided in an embodiment of the present application;
[0056] Figure 6 A schematic diagram of a hardware entity provided for an embodiment of the present application. DETAILED DESCRIPTION
[0057] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.
[0058] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0059] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0060] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0062] The method provided in the embodiment of the present application can be executed by an electronic device, and the electronic device can be various types of terminals such as a laptop computer, a tablet computer, a desktop computer, a set-top box, a mobile device (for example, a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device), etc., and can also be implemented as a server. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0063] Below, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the drawings in the embodiments of the present application.
[0064] Figure 1A A schematic diagram of the implementation flow of a lamp control method provided in an embodiment of the present application is applied in a client, such as Figure 1A As shown, the method includes steps S11 to S13, wherein:
[0065] Step S11 : in response to a configuration operation performed on a target lamp in a solution editing interface, obtaining target configuration information of the configured target lamp.
[0066] Here, the client can be any suitable electronic device. In implementation, the client (Client) or user end refers to an application corresponding to the server end that provides local services to customers. Different services can be provided to users through different applications. For example, the client can be a PC (Personal Computer).
[0067] The scheme editing interface includes at least one lamp in the target scheme, such as the headlights and taillights of the vehicle. The target scheme is a scheme selected from multiple schemes. Each scheme includes the display effects of multiple lamps of the vehicle.
[0068] The solution editing interface is an interactive interface for configuring and displaying information on at least one lamp in the target solution. The solution editing interface may include, but is not limited to, an area where configuration operations can be performed, operation controls, etc. Among them, the area where configuration operations can be performed may include, but is not limited to, at least one of an area for adding new lamps, an area for querying or editing existing lamps, and an area for editing lighting effects.
[0069] The area for newly added lamps is mainly used to configure the relevant properties of newly added lamps. The relevant properties of lamps may include but are not limited to lamp name, driver type, lamp bead type, display effect, material, lamp bead hardware identification information, etc. Among them, the driver type may include but is not limited to ISELED (Intelligent Smart Embedded LED), DLP (Digital Light Processing), MICRO LED (Micro Light Emitting Diode Display), dot matrix driver, etc. The lamp bead type may include but is not limited to RGB (Red Green Blue), RGBW (Red Green Blue White), W (White), R (Red), Y (Yellow), etc. During implementation, when the driver type is ISELED driver, the lamp bead type needs to be configured. The material is used to configure the color of the lamp mask, and the color of the mask can be any suitable color, for example, white, red, smoke gray, etc. The display effect may include but is not limited to color, brightness, duration, display mode, etc., wherein the display mode may include but is not limited to dynamic display, static display, etc. In some embodiments, the display effect includes the display effect of at least one lamp bead in the lamp. The lamp bead hardware identification information can be imported into existing identification information or newly created.
[0070] The operation of querying existing lamps may include but is not limited to at least one of searching for a lamp according to a keyword, directly viewing a lamp, etc. The operation of editing existing lamps may include but is not limited to at least one of editing a lamp, deleting a lamp, editing the related properties of a lamp, etc.
[0071] During implementation, those skilled in the art may determine the number of areas in the solution editing interface where configuration operations can be performed, and the specific layout of each area in the solution editing interface where configuration operations can be performed, based on actual conditions, and the embodiments of the present application are not limited thereto.
[0072] The operation control may be any suitable operable control. For example, a new control (e.g., a new lamp, a new material, etc.), a keyword input control, a query control, a filter control, a delete control, a preview control, an export control, etc. During implementation, those skilled in the art may determine the number of operation controls and the position of each operation control in the solution editing interface according to actual conditions, and the embodiments of the present application do not limit this.
[0073] The scheme editing interface can be displayed on any suitable electronic device with an interface interaction function, for example, the scheme editing interface can be displayed on a laptop computer, a mobile phone, a tablet computer, a PDA, a personal digital assistant, a digital television or a desktop computer. During implementation, the electronic device that displays the scheme editing interface and the electronic device that executes the control method of the lamp can be the same or different, and this is not limited here. For example, the electronic device that executes the control method of the lamp can be a laptop computer, and the electronic device that displays the scheme editing interface can also be the laptop computer. The scheme editing interface can be an interactive interface of a client running on the laptop computer, or a web page displayed in a browser running on the laptop computer. For another example, the electronic device that executes the control method of the lamp can be a server, and the electronic device that displays the scheme editing interface can also be a laptop computer. The scheme editing interface can be an interactive interface of a client running on the laptop computer, or a web page displayed in a browser running on the laptop computer. The laptop computer can access the server through the client or the browser.
[0074] In some embodiments, the step S11 includes steps S111 to S112, wherein:
[0075] Step S111 : in response to a selection operation on the target lamp in the solution editing interface, displaying a configuration option set of the target lamp.
[0076] Here, the selection operation may be any appropriate operation, such as a gesture, voice, etc. For example, by clicking on a certain lamp in the solution editing interface, the lamp is selected as the target lamp.
[0077] The configuration option set may include but is not limited to at least one of the following: name option, drive type option, display effect option, 3D lamp model import option, lamp bead hardware identification information option, etc. In implementation, for each lamp in the scheme editing interface, a corresponding configuration option set may be set for each lamp, so that when a lamp is selected, the configuration option set and configuration information corresponding to the lamp are displayed. It may also be set to the same configuration option set, so that when a lamp is selected, the configuration information of the corresponding lamp is displayed in the configuration option set.
[0078] Step S112: In response to the configuration operation performed on the configuration option set, obtaining target configuration information of the configured target lamp.
[0079] Here, you can set the configuration control of the corresponding configuration option set in the solution editing interface, and obtain the configuration information of the corresponding target lamp through the configuration control of the configuration option set. In this way, the drive type and display effect of the lamp are selected through the visual interface, and visual editing is realized to achieve the effect of what you see is what you get, so that operators can design, edit, optimize, etc. the lamp, thereby improving development efficiency.
[0080] In some implementations, the configuration option set further includes a 3D lamp model import option; the method further includes step S113, wherein:
[0081] Step S113 : in response to the triggering operation of the 3D lamp model import option, obtaining the target 3D lamp model file, and displaying the corresponding 3D lamp model in the display area of the solution editing interface.
[0082] Here, the trigger operation can be any suitable operation. For example, click on the 3D lamp model import option, or long press the 3D lamp model import option. During implementation, the target 3D lamp model file can be imported through the 3D lamp model import option. The model file may include but is not limited to the position information, arrangement information, etc. of each lamp bead in the lamp, but the model file does not contain the connection information between the lamp beads. In some embodiments, when the new lamp hardware identification information is selected, the electronic device parses the model file to obtain the position information and arrangement information of each lamp bead, and generates a two-dimensional lighting layout diagram based on the position information and arrangement information of each lamp bead, and automatically generates the identification information of each lamp bead. In this way, the user can set the connection order of multiple lamp beads in the two-dimensional lighting layout diagram to complete the display order design of multiple lamp beads.
[0083] The 3D lamp model is a 3D model of the target lamp. During implementation, the 3D lamp model can be rotated, enlarged, reduced, etc. through preset operations (for example, clicking a button, shortcut key, gesture, etc. in the display area) for easy observation and inspection.
[0084] In this way, the three-dimensional lamp model corresponding to the lamp is displayed in real time through the visual interface, so that designers can edit and design the lighting effects in the three-dimensional lamp model, thereby improving development efficiency.
[0085] Figure 1B A schematic diagram of a scheme editing interface provided in an embodiment of the present application, such as Figure 1BAs shown, the scheme editing interface 110 includes a newly added lamp control 111, a configuration area 112 for configuring the relevant properties of the lamp, a display area 113, and an effect editing area 114. In implementation, the configuration area 112 may include, but is not limited to, a configuration area for the lamp name, a configuration area for the drive type, a configuration area for the lamp bead type, a configuration area for the display effect, a configuration area for the material, a configuration area for the three-dimensional lamp model, etc. The display area 113 is used to display the three-dimensional lamp model. The effect editing area 114 is used to manually edit and adjust the display effect of the lamp, for example, display color, brightness, duration, etc.
[0086] The configuration operation may be any suitable operation. For example, gestures, commands, voice, etc. For example, in the solution editing interface, click the drive type selection control, and select the drive type through the selection control, wherein the selection control may be a radio button, a drop-down box, a filter box, etc. that can realize the selection function. The target configuration information at least includes the relevant attribute information of the target lamp. For example, the target configuration information includes the drive type, display effect, identification information of each lamp bead in the target lamp, etc.
[0087] Step S12: Generate a data packet based on the target configuration information.
[0088] Here, the data packet may include but is not limited to target configuration information, other information, etc. In some embodiments, the data packet may include display effects and identification information of each lamp bead in the target lamp, and the driving type is used as label information of the data packet.
[0089] Step S13, sending the data packet to the server, so that the server determines a target drive controller that matches the drive type in the data packet from at least one drive controller, and uses the target drive controller to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect in the data packet.
[0090] Here, the data packet can be sent manually, automatically, etc. For example, the client sends the data packet to the server at a fixed time. For another example, after the user clicks a certain control, the data packet is sent to the server.
[0091] The server includes a target drive controller corresponding to each drive type. The drive controller is any module that can realize the drive function. For example, ISELED control module, dot matrix drive control module, DLP control module, MICROLED control module.
[0092] In some embodiments, communication between the client and the server is established through a preset connection method, wherein the connection method may include but is not limited to a wired connection, a wireless connection, TCP / UDP, etc. For example, the client sends a data packet to the server through a wireless network WIFI.
[0093] During implementation, the server parses the data packet to obtain the driver type, and uses the target driver controller and display effect that matches the driver type to drive and control the display of the corresponding physical lamp according to the corresponding protocol. For example, for ISELED driver, according to the ISE protocol, the corresponding physical lamp is driven to display as flowing water / breathing effects, information display, dynamic atmosphere lamp, etc.; for dot matrix driver, using the HDMI (High Definition Multimedia Interface) interface, the corresponding physical lamp is driven to display as MINILED lamp, information display, etc.; for DLP driver, according to the HDMI protocol, the corresponding physical lamp is driven to display as a megapixel projection lamp; for MICRO LED driver, according to the CAN (Controller Area Network) protocol, the corresponding physical lamp is driven to display as a ten-thousand-pixel projection lamp.
[0094] In the present application, in response to a configuration operation performed on a target lamp in a scheme editing interface, target configuration information of the configured target lamp is obtained; a data packet is generated based on the target configuration information; the data packet is sent to a server, so that the server determines a target drive controller that matches the drive type in the data packet from at least one drive controller, and uses the target drive controller to drive and control the display of a physical lamp corresponding to the target lamp according to the display effect in the data packet. In this way, firstly, the client configures the display effects of various lamps through a visual interface, which not only simplifies the configuration process but also improves the configuration efficiency; secondly, by integrating the driver controllers of different lamps in the server, the server can be compatible with different types of lamps, which not only broadens the usage scenarios but also reduces the cost; finally, the client sends the data packet to the server, so that the server controls and drives the corresponding physical lamps through the data packet, so that the design display effects of the lamps can be more intuitively and conveniently debugged on the physical lamps. Compared with a series of development processes such as hardware design, hardware production, lighting effect design, and supporting special software and hardware development, it not only reduces the complexity of the development process, saves manpower, time and other costs, but also improves the reliability and accuracy of the debugging results.
[0095] In some implementations, the solution editing interface further includes a preview area, and the preview area includes at least one preview control. The method further includes step S14, wherein:
[0096] Step S14: in response to the triggering operation of the target preview control, display the preview effect corresponding to the target lamp.
[0097] Here, the preview control may be any suitable control, such as a button, a selection box, etc. The preview control may include but is not limited to animation preview, stand fixture preview, stand overall preview, etc. Animation preview is used to preview the dynamic effect of the target fixture. Stand fixture preview is used to preview the display effect of the target fixture. Stand overall preview is used to preview the display effect of each fixture in the entire target solution.
[0098] The triggering operation may be any suitable operation. For example, voice, gesture, etc. For example, click on the animation preview. In some embodiments, when the "stand lamp preview" is triggered, the color, dynamic effect, and identification information of each lamp bead are sent as a data packet, and the drive type is used as a tag of the data packet, and sent to the server via WIFI to restore the display effect on the physical lamp.
[0099] In some embodiments, the corresponding preview effect can be closed through a preset operation to release the corresponding resources. For example, a preset closing operation, gesture, etc. is performed on the preview control to close the preview effect corresponding to the preview control. For example, double-clicking the animation preview closes the dynamic effect of the target lamp. In some embodiments, a corresponding closing control can also be set in the preview area. When a certain closing control is clicked, the corresponding preview effect is closed.
[0100] In this way, a preview of the display effect of the lamp is provided through a visual interface, and online simulation and verification of the light is realized, so that designers can optimize the display effect of the lamp and improve development efficiency.
[0101] In some implementations, the protocol editing interface further includes an export control, and the method further includes step S15, wherein:
[0102] Step S15: In response to the triggering operation of the export control, a corresponding configuration file is generated based on the configuration information of each lamp in the target solution, and the configuration file is saved.
[0103] Here, the trigger operation can be any appropriate operation, such as gesture, voice, command, etc. For example, click the export control. The configuration file includes the solidified drive type, solidified lamp hardware, editable display effects, etc. In this way, when the configuration file is written into the car system, the user can customize the color and dynamic effects of the lamp beads through the interface or software.
[0104] In this way, the configuration information of the lamp is exported through the export control to facilitate mass production. At the same time, since the driver type and lamp hardware in the configuration file are solidified, and the display effect can be edited, the user can personalize and customize the display effect of the lamp.
[0105] In some embodiments, the method further comprises step S16, wherein:
[0106] Step S16: In response to a triggering operation on a management control of a target solution in the solution management interface, a solution editing interface corresponding to the target solution is displayed.
[0107] Here, the solution management interface is an interactive interface for configuring the solution and displaying information. The solution management interface may include but is not limited to areas where configuration operations can be performed, operation controls, etc. Among them, the area where configuration operations can be performed may include but is not limited to at least one of an area for adding a new solution, an area for querying or editing existing solutions, etc. The area for adding a new solution is mainly used to configure the relevant attributes of the new solution. The relevant attributes of the solution may include but are not limited to the name of the solution, storage address, target vehicle model, modification time, version, etc. The operation of querying an existing solution may include but is not limited to at least one of searching for a solution based on keywords, directly viewing a solution, etc. Editing an existing solution includes but is not limited to at least one of editing a solution, deleting a solution, and editing the relevant attributes of a solution. During implementation, those skilled in the art can determine the number of areas where configuration operations can be performed in the solution management interface, and the specific layout of each area where configuration operations can be performed in the solution management interface according to actual conditions, and the embodiments of this application are not limited thereto.
[0108] The operation control can be any suitable control that can be operated. For example, a new control (for example, a new solution, etc.), a keyword input control, a query control, a filter control, a delete control, a list, etc. During implementation, those skilled in the art can determine the number of operation controls and the position of each operation control in the solution management interface according to actual conditions, and the embodiments of the present application are not limited thereto. The list includes at least one row and at least one column, each row is used to represent a created solution, and each column represents a certain configuration information of the created solution. In some embodiments, the last column in the list is used to display controls for viewing, editing, deleting, etc., the solution. In some embodiments, the list also includes a page turning control and a scrolling control, the page turning control is used to turn pages of the list, and the scrolling control is used to scroll the contents of the list.
[0109] The trigger operation may be any appropriate operation, such as voice, gesture, etc. For example, when a solution in the list is clicked, the solution is used as the target solution, and the solution editing interface corresponding to the target solution is displayed, that is, each lamp in the target solution is displayed in the solution editing interface.
[0110] In this way, managing each plan through a visual interface not only simplifies the operation steps and improves the accuracy of the plan, but also improves the efficiency of management compared to manual management.
[0111] The present application also provides a method for controlling a lamp, which is applied to a server. Figure 2 A schematic diagram of the implementation flow of a lamp control method provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method includes steps S21 to S23, wherein:
[0112] Step S21, receiving a data packet sent by a client; wherein the data packet is generated by the configuration operation performed by the client on the target lamp in the solution editing interface, and the data packet at least includes a driving type and a display effect.
[0113] Here, the server can be any suitable electronic device. The method of generating the data packet can refer to the specific implementation of the aforementioned steps S11 to S12. The drive type can include but is not limited to ISELED, DLP, MICRO LED, dot matrix drive, etc. The display effect can include but is not limited to color, brightness, duration, display mode, etc.
[0114] Step S22: Determine a target drive controller that matches the drive type from at least one drive controller.
[0115] Here, the server includes multiple drive controllers, and different drive types correspond to different drive controllers.
[0116] Step S23: using the target driving controller to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect.
[0117] In some embodiments, the display effect includes the display effect of at least one lamp bead in the target lamp; the step S23 includes steps S231 to S232, wherein:
[0118] Step S231, determining the target physical lamp bead corresponding to each of the lamp beads from at least one physical lamp bead.
[0119] Here, the data packet also includes identification information of each lamp bead in the target lamp. The identification information may include but is not limited to number, name, etc. During implementation, the server determines the target physical lamp bead corresponding to each lamp bead from multiple physical lamp beads based on the identification information of each lamp bead, and numbers each target physical lamp bead.
[0120] Step S232: using the target drive controller to drive and control the display of the corresponding target physical lamp bead according to the display effect of each lamp bead.
[0121] Here, according to the display effect of each lamp bead, the display of the corresponding target physical lamp bead is driven and controlled. For example, the driving mode in the data packet is ISELED, and the display effect includes the dynamic effect of the first frame and the dynamic effect of the second frame, wherein the dynamic effect of the first frame includes the cardinal lights in the 1st to 40th lamp beads being green, the even lights being red, and the duration being 1 second (Second, S), and the dynamic effect of the second frame is the even lights in the 1st to 40th lamp beads being off, the cardinal lights being yellow, and the duration being 2S, then the server determines the ISELED controller as the target drive controller according to the data packet, and determines the target physical lamp beads corresponding to the 1st to 40th lamp beads respectively, and according to the display effect, first drives the 1st to 40th target physical lamp beads to light up for 1S (the cardinal lights are green, the even lights are red), and then drives the cardinal lights in the 1st to 40th target physical lamp beads to light up for 2S.
[0122] In the present application, a data packet sent by a client is received; wherein the data packet is generated by the configuration operation performed by the client on the target lamp in the scheme editing interface, and the data packet includes at least a drive type and a display effect; a target drive controller matching the drive type is determined from at least one drive controller; and the display of the physical lamp corresponding to the target lamp is driven and controlled by the target drive controller according to the display effect. In this way, firstly, the client configures the display effects of various lamps through a visual interface, which not only simplifies the configuration process, but also improves the configuration efficiency; secondly, by integrating drive controllers of different lamps in the server, the server can be compatible with different types of lamps, which not only broadens the use scenarios, but also reduces the cost; finally, the server receives the data packet sent by the client, and controls and drives the corresponding physical lamp, so that the design display effect of the lamp can be more intuitively and conveniently debugged on the physical lamp, compared with a series of development processes such as hardware design, hardware production, lighting effect design, and supporting special software and hardware development, it not only reduces the complexity of the development process, saves manpower, time and other costs, but also improves the reliability and accuracy of the debugging results.
[0123] The present application also provides a control system for a lamp. Figure 3AA schematic diagram of the structure of a control system for a lamp provided in an embodiment of the present application is shown in FIG. Figure 3A As shown, the system 30 includes a client 31 and a server 32, wherein the server 32 includes a control part 321 and a physical part 322 connected to the control part 321, wherein the physical part 322 includes at least one physical lamp, wherein:
[0124] The client 31 is used to: in response to the configuration operation performed on the target lamp in the scheme editing interface, obtain the target configuration information of the configured target lamp; wherein the scheme editing interface includes at least one lamp in the target scheme; generate a data packet based on the target configuration information; and send the data packet to the control part;
[0125] The control part 321 is used to receive the data packet; determine a target drive controller that matches the drive type in the data packet from at least one drive controller; and use the target drive controller to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect in the data packet.
[0126] Here, the client can be any suitable electronic device. In implementation, the process of the client generating and sending a data packet can refer to the specific implementation of the aforementioned steps S11 to S13.
[0127] The control part 321 includes at least a drive controller corresponding to each drive type. In implementation, the control part is a universal controller. In some embodiments, the control part also includes a communication module, a power module, etc. Among them, the communication module is used to communicate with the client, and the power module is used to provide power for other simulations in the control part.
[0128] Figure 3B A schematic diagram of the structure of a control system for a lamp provided in an embodiment of the present application is shown in FIG. Figure 3BAs shown, the system includes a client 31, a control part 321, and a physical part 322. The control part 321 includes a wireless module (corresponding to the aforementioned communication module), a power module, at least one ISE LED control module, a dot matrix drive control module, a DLP control module, and a MICRO LED control module. The wireless module is used to receive data packets sent by the client 31. The physical part 322 includes an ISE LED driver light, a DLP driver light, a MICRO LED light, a dot matrix scanning driver light, etc. During implementation, the ISE protocol is used to establish a connection between the ISE LED control module and the ISE LED driver light; the connection between the dot matrix drive control module and the dot matrix scanning driver light, and the connection between the DLP control module and the DLP driver light are established through the HDMI interface; the connection between the MICRO LED control module and the MICRO LED light is established using the CAN protocol.
[0129] Figure 3C A schematic diagram of the implementation flow of a lamp control method provided in an embodiment of the present application is applied in a client, such as Figure 3C As shown, the method includes steps S301 to S309, wherein:
[0130] Step S301: When a user selects a project, a solution management interface is displayed;
[0131] Here, each project includes at least one solution. During implementation, a new project can also be created.
[0132] Step S302: Select a solution from the solution list in the solution management interface to display the solution editing interface corresponding to the solution;
[0133] Here, the plan list includes each plan of the project. During implementation, you can also create a new plan.
[0134] Step S303: Select a target lamp from at least one lamp in the solution editing interface, and display a configuration option set of the target lamp;
[0135] Here, the solution editing interface includes each lamp of the solution, such as headlights, taillights, etc. During implementation, you can also create a new lamp.
[0136] The configuration option set may include but is not limited to name options, driver type options, display effect options, 3D lamp model import options, lamp hardware identification information options, etc. The lamp hardware identification information option can import an existing file or create a new one. When choosing to create a new one, a 2D lighting layout diagram can be automatically generated based on the target 3D lamp model file imported in the 3D lamp model import option, and each lamp in the target lamp can be identified, that is, according to the position information and arrangement information of each lamp bead in the 3D lamp model file, they are restored one by one to the 2D coordinate diagram to generate a 2D lighting layout diagram.
[0137] For ISELED drivers, you need to define the lamp type. When implementing, you can define the display effect by manually editing or importing video files. For manual editing, you can Figure 1B The color, brightness, time, etc. of the lamp beads can be edited in the effect editing area 114.
[0138] For other driver types, the display effect can be defined by importing pictures, audio, video and other files. For example, if a video file is imported, the video file will be parsed frame by frame, and each pixel in each frame will be automatically matched to each LED lamp bead in the 3D lamp model. That is, the client will extract each pixel in the video and the color, brightness, duration, etc. corresponding to each pixel, and correspond to each LED lamp bead in the 3D lamp model, and automatically complete the design of the display effect.
[0139] Step S304, in response to the configuration operation performed on the configuration option set corresponding to the target lamp, obtaining the configuration information of the configured target lamp;
[0140] Here, the configuration information can be stored in a preset database for subsequent use.
[0141] Step S305: whether to continue editing other lamps, if yes, return to step S303, if no, go to any step from step S306 to step S309;
[0142] Step S306: When the animation preview control is clicked, the dynamic effect of the target lamp is displayed;
[0143] Step S307: when the stand lamp preview control is clicked, the display effect of the target lamp is displayed, and a data packet is generated based on the configuration information of the target lamp, and the data packet is sent to the server;
[0144] Step S308: When the whole vehicle preview control is clicked, the display effect of each lamp in the solution is displayed;
[0145] Step S309: When the export control is clicked, a corresponding configuration file is generated based on the configuration information of each lamp in the solution, and the configuration file is saved.
[0146] Figure 3D A schematic diagram of the implementation flow of a lamp control method provided in an embodiment of the present application is applied to a server, such as Figure 3D As shown, the method includes steps S331 to S334, wherein:
[0147] Step S331: using a routing module (corresponding to the aforementioned communication module) to receive a data packet sent by a client;
[0148] Step S332, determining a target drive control module (corresponding to the aforementioned target drive controller) matching the drive type in the data packet from at least one drive control module (corresponding to the aforementioned drive controller);
[0149] Here, the drive control module includes an LED drive control module, a dot matrix drive control module, and a DLP control module. Among them, the LED drive control module includes an ISELED control module, an ISELED extension control module, and a MICRO LED control module. The ISELED control module supports eight signals, each of which can be connected to a first number of lamp beads, and the ISELED extension control module supports one signal, which can be connected to a second number of lamp beads. Among them, the first number is greater than the second number. For example, the first number is 600 and the second number is 400. During implementation, multiple ISELED extension control modules can be inserted according to actual needs to support the display of multiple lamp beads.
[0150] Step S333, determining the target physical lamp bead corresponding to each of the target lamp beads from the at least one physical lamp bead controlled by the target drive control module;
[0151] Step S334: using the target drive control module, according to the display effect of each lamp bead, drive and control the display of the corresponding target physical lamp bead.
[0152] Figure 3E A schematic diagram of the composition structure of a general controller (corresponding to the aforementioned control part) provided in an embodiment of the present application is shown in FIG. Figure 3E As shown, the universal controller includes a routing module 341, a power module 342, an interface panel 343, an ISELED module 344, a DLP module 345, a dot matrix drive control module 346, and a MICRO LED control module 347. The interface panel 343 includes an HDMI interface, a power interface, a WIFI interface, at least one ISELED interface, and the like.
[0153] In the present application, firstly, projects, schemes, etc. are managed through the visual interface provided by the client, which not only makes project management more accurate but also makes scheme changes faster than manual management; secondly, the display effects of various lamps are configured through a visual interface, which not only simplifies the configuration process but also improves the configuration efficiency; thirdly, by integrating driver controllers of different lamps in the server, the server can be compatible with different types of lamps, which not only broadens the usage scenarios but also reduces costs; finally, through the communication between the client and the universal controller, the display effects of the lamps can be more conveniently and intuitively debugged on the physical lamps. Compared with a series of development processes such as hardware design, hardware production, lighting effect design, and supporting special software and hardware development, it not only reduces the complexity of the development process and saves manpower, time and other costs, but also improves the reliability and accuracy of the debugging results.
[0154] In some embodiments, the client 31 is further used to: in response to a selection operation on the target lamp in the solution editing interface, display a configuration option set of the target lamp; wherein the configuration option set includes at least one of the following: a name option, a drive type option, and a display effect option; in response to a configuration operation performed on the configuration option set, obtain configuration information of the configured target lamp.
[0155] In some embodiments, the configuration option set also includes a three-dimensional lamp model import control, and the client 31 is further used to: in response to a trigger operation on the three-dimensional lamp model import control, obtain a target three-dimensional lamp model file, and display the corresponding three-dimensional lamp model in the display area of the solution editing interface.
[0156] In some implementations, the solution editing interface further includes a preview area, and the preview area includes at least one preview control. The client 31 is further used to: in response to a triggering operation on a target preview control, display a preview effect corresponding to the target lamp.
[0157] In some embodiments, the scheme editing interface also includes an export control, and the client 31 is further used to: in response to a trigger operation on the export control, generate a corresponding configuration file based on the configuration information of each lamp in the target scheme, and save the configuration file.
[0158] In some implementations, the client 31 is further configured to: in response to a triggering operation on a management control of a target solution in a solution management interface, display a solution editing interface corresponding to the target solution.
[0159] In some embodiments, the display effect includes the display effect of at least one lamp bead in the target lamp; the control part 321 is also used to: determine the target physical lamp bead corresponding to each lamp bead from at least one physical lamp bead; and use the target drive controller to drive and control the display of the corresponding target physical lamp bead according to the display effect of each lamp bead.
[0160] The description of the above system embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the system embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0161] Based on the above embodiments, the present application also provides a control device for a lamp, which is applied in a client. Figure 4 A schematic diagram of the structure of a lamp control device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the device 40 includes an acquisition module 41, a generation module 42 and a sending module 43, wherein:
[0162] The acquisition module 41 is used to acquire target configuration information of the configured target lamp in response to the configuration operation performed on the target lamp in the scheme editing interface; wherein the scheme editing interface includes at least one lamp in the target scheme;
[0163] The generating module 42 is used to generate a data packet based on the target configuration information;
[0164] The sending module 43 is used to send the data packet to the server, so that the server determines a target drive controller that matches the drive type in the data packet from at least one drive controller, and uses the target drive controller to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect in the data packet.
[0165] In some embodiments, the acquisition module 41 is further used to: in response to a selection operation on the target lamp in the solution editing interface, display a configuration option set of the target lamp; wherein the configuration option set includes at least one of the following: a name option, a drive type option, and a display effect option; in response to a configuration operation performed on the configuration option set, acquire target configuration information of the configured target lamp.
[0166] In some embodiments, the configuration option set also includes a three-dimensional lamp model import control; the acquisition module 41 is further used to: in response to a trigger operation on the three-dimensional lamp model import control, acquire the target three-dimensional lamp model file, and display the corresponding three-dimensional lamp model in the display area of the solution editing interface.
[0167] In some embodiments, the scheme editing interface also includes a preview area, which includes at least one preview control. The device also includes a preview module, which is used to: respond to a trigger operation on the target preview control, display a preview effect corresponding to the target lamp.
[0168] In some embodiments, the scheme editing interface also includes an export control; the device also includes an export module, and the export module is used to: in response to a trigger operation on the export control, generate a corresponding configuration file based on the configuration information of each lamp in the target scheme, and save the configuration file.
[0169] In some embodiments, the device further includes a display module, and the display module is used to: in response to a triggering operation on a management control of a target solution in a solution management interface, display a solution editing interface corresponding to the target solution.
[0170] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0171] Based on the above embodiments, the present application also provides a control device for a lamp, which is applied to a server. Figure 5 A schematic diagram of the structure of a lamp control device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the device 50 includes a receiving module 51, a determining module 52 and a control module 53, wherein:
[0172] The receiving module 51 is used to receive a data packet sent by a client; wherein the data packet is generated by the client in response to a configuration operation performed on a target lamp in a solution editing interface, and the data packet at least includes a driving type and a display effect;
[0173] The determination module 52 is used to determine a target drive controller matching the drive type from at least one drive controller;
[0174] The control module 53 is used to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect by using the target drive controller.
[0175] In some embodiments, the display effect includes the display effect of at least one lamp bead in the target lamp; the control module 53 is also used to: determine the target physical lamp bead corresponding to each lamp bead from at least one physical lamp bead; and use the target drive controller to drive and control the display of the corresponding target physical lamp bead according to the display effect of each lamp bead.
[0176] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0177] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0178] The present application also provides a vehicle, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the above method when executing the computer program.
[0179] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented. The computer-readable storage medium may be transient or non-transient.
[0180] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In an optional embodiment, the computer program product is specifically embodied as a computer storage medium, and in another optional embodiment, the computer program product is specifically embodied as a software product, such as a software development kit (Software Development Kit, SDK) and the like.
[0181] It should be noted that Figure 6 A hardware entity diagram of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the hardware entity of the electronic device 600 includes: a processor 601, a communication interface 602 and a memory 603, wherein:
[0182] The processor 601 generally controls the overall operation of the electronic device 600 .
[0183] The communication interface 602 enables the electronic device to communicate with other terminals or servers through a network.
[0184] The memory 603 is configured to store instructions and applications executable by the processor 601, and can also cache data to be processed or processed by the processor 601 and each module in the electronic device 600 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data transmission can be performed between the processor 601, the communication interface 602, and the memory 603 through the bus 604.
[0185] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0186] The above embodiments are only preferred embodiments for fully illustrating the present application, and the protection scope of the present application is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present application is within the protection scope of the present application.
Claims
1. A method for controlling a lamp, characterized in that: Applied in a client, the method includes: In response to a configuration operation performed on a target lamp in a solution editing interface, target configuration information of the configured target lamp is acquired; wherein the solution editing interface includes at least one lamp in the target solution; Based on the target configuration information, generating a data packet; The data packet is sent to a server so that the server determines a target drive controller that matches the drive type in the data packet from at least one drive controller, and uses the target drive controller to drive and control the display of a physical lamp corresponding to the target lamp according to the display effect in the data packet.
2. The method according to claim 1, characterized in that: The step of obtaining target configuration information of the configured target lamp in response to the configuration operation performed on the target lamp in the solution editing interface includes: In response to the selection operation of the target lamp in the solution editing interface, a configuration option set of the target lamp is displayed; wherein the configuration option set includes at least one of the following: a name option, a drive type option, and a display effect option; In response to the configuration operation performed on the configuration option set, target configuration information of the configured target lamp is acquired.
3. The method according to claim 2, characterized in that The configuration option set also includes a 3D lamp model import option, and the method further includes: In response to the triggering operation of the 3D lamp model import option, the target 3D lamp model file is acquired, and the corresponding 3D lamp model is displayed in the display area of the solution editing interface.
4. The method according to claim 2, characterized in that: The solution editing interface also includes a preview area, and the preview area includes at least one preview control. The method further includes: In response to a triggering operation on a target preview control, a preview effect corresponding to the target lamp is displayed.
5. The method according to claim 2, characterized in that: The scheme editing interface also includes an export control, and the method further includes: In response to the triggering operation of the export control, a corresponding configuration file is generated based on the configuration information of each lamp in the target solution, and the configuration file is saved.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: In response to a triggering operation on a management control of a target solution in a solution management interface, a solution editing interface corresponding to the target solution is displayed.
7. A method for controlling a lamp, characterized in that: Applied in the server, the method includes: Receive a data packet sent by a client; wherein the data packet is generated by the configuration operation performed by the client on the target lamp in the solution editing interface, and the data packet at least includes a driving type and a display effect; Determine a target drive controller matching the drive type from at least one drive controller; The target driving controller is used to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect.
8. The method according to claim 7, characterized in that The display effect includes the display effect of at least one lamp bead in the target lamp; The using the target driving controller to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect includes: Determine the target physical lamp bead corresponding to each of the lamp beads from at least one physical lamp bead; The target drive controller is used to drive and control the display of the corresponding target physical lamp bead according to the display effect of each lamp bead.
9. A control system for a lamp, characterized in that: The system includes a client and a server, wherein the server includes a control part and a physical part connected to the control part, wherein the physical part includes at least one physical lamp, wherein: The client is used to: in response to the configuration operation performed on the target lamp in the scheme editing interface, obtain the target configuration information of the configured target lamp; wherein the scheme editing interface includes at least one lamp in the target scheme; generate a data packet based on the target configuration information; and send the data packet to the control part; The control part is used to receive the data packet; determine a target drive controller that matches the drive type in the data packet from at least one drive controller; and use the target drive controller to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect in the data packet.
10. A control device for a lamp, characterized in that: Applied in a client, the device comprises: An acquisition module, configured to acquire target configuration information of the configured target lamp in response to a configuration operation performed on the target lamp in the scheme editing interface; wherein the scheme editing interface includes at least one lamp in the target scheme; A generating module, used for generating a data packet based on the target configuration information; A sending module is used to send the data packet to a server, so that the server determines a target drive controller that matches the drive type in the data packet from at least one drive controller, and uses the target drive controller to drive and control the display of a physical lamp corresponding to the target lamp according to the display effect in the data packet.
11. A control device for a lamp, characterized in that: Applied in a server, the device comprises: A receiving module, configured to receive a data packet sent by a client; wherein the data packet is generated by the client in response to a configuration operation performed on a target lamp in a solution editing interface, and the data packet includes at least a driving type and a display effect; A determination module, configured to determine a target drive controller matching the drive type from at least one drive controller; The control module is used to drive and control the display of the physical lamp corresponding to the target lamp according to the display effect by using the target drive controller.
12. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program executable on the processor, and is characterized in that the processor implements the method according to any one of claims 1 to 8 when executing the computer program.
13. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method described in any one of claims 1 to 8 is implemented.