CN111083825B - Lamp effect control method and device, electronic equipment and storage medium - Google Patents

Lamp effect control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111083825B
CN111083825B CN201911309852.8A CN201911309852A CN111083825B CN 111083825 B CN111083825 B CN 111083825B CN 201911309852 A CN201911309852 A CN 201911309852A CN 111083825 B CN111083825 B CN 111083825B
Authority
CN
China
Prior art keywords
light effect
effect mode
basic
lamp
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911309852.8A
Other languages
Chinese (zh)
Other versions
CN111083825A (en
Inventor
张峰
张斌
乐亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Zimi Electronic Technology Co Ltd
Original Assignee
Jiangsu Zimi Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Zimi Electronic Technology Co Ltd filed Critical Jiangsu Zimi Electronic Technology Co Ltd
Priority to CN201911309852.8A priority Critical patent/CN111083825B/en
Publication of CN111083825A publication Critical patent/CN111083825A/en
Application granted granted Critical
Publication of CN111083825B publication Critical patent/CN111083825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a lamp effect control method, a lamp effect control device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a light effect control request, wherein the light effect control request carries light effect mode combination information and parameter updating information; determining at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information; updating the light effect parameters of the at least one basic light effect mode according to the parameter updating information; and controlling the Led display device to display according to the updated at least one basic light effect mode. The embodiment of the invention can rapidly control the LED display device to display the complex lamp effect according to the requirements of the current specific application scene, thereby reducing the maintenance and development cost of the complex lamp effect control scheme.

Description

Lamp effect control method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a light effect control method, a light effect control device, electronic equipment and a storage medium.
Background
Led lamps are widely used in electronic devices, typically for the display of status. In some electronic devices that create ambiance and effects from lighting, multiple Led lamps are also used to achieve some complex illusive effects. For example, a dot-matrix picture, a dynamic fluctuation of the rhythm of the music, and the like are displayed.
In the prior art, a lamp efficiency control scheme matched with an application scene is specially designed according to the special requirements of the application scene. The context and application associations are too close. When the electronic equipment needs to define new requirements of application scenes, a lamp efficiency control scheme needs to be redesigned, the original accumulation cannot be effectively utilized, the development and maintenance workload is huge according to the adjustment of business requirements, and the maintenance and development cost is high.
Disclosure of Invention
Embodiments of the present invention provide a lamp effect control method, a device, an electronic device, and a storage medium, so as to optimize an existing lamp effect control scheme and quickly control a lamp effect according to a service requirement.
In a first aspect, an embodiment of the present invention provides a lamp efficiency control method, including:
acquiring a light effect control request, wherein the light effect control request carries light effect mode combination information and parameter updating information;
determining at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information;
updating the lamp effect parameters of at least one basic lamp effect mode according to the parameter updating information;
and controlling the Led display device to display according to the updated at least one basic light effect mode.
In a second aspect, an embodiment of the present invention further provides a lamp efficiency control device, including:
the request acquisition module is used for acquiring a light effect control request, and the light effect control request carries light effect mode combination information and parameter updating information;
the mode determining module is used for determining at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information;
the parameter updating module is used for updating the light effect parameters of at least one basic light effect mode according to the parameter updating information;
and the light effect display module is used for controlling the Led display device to display according to the updated at least one basic light effect mode.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the light effect control method according to the embodiment of the present invention.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the lamp efficiency control method according to the embodiment of the present invention.
The technical proposal of the embodiment of the invention determines at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information carried by the light effect control request, then updates the information according to the parameters carried by the light effect control request, the light effect parameters of at least one basic light effect mode are updated, and the Led display device is controlled to display according to the updated at least one basic light effect mode, and the basic light effect modes can be combined, dynamically adjusting the lamp effect parameters of the basic lamp effect mode to complete the creation of the composite lamp effect mode, can control the Led display device to display the corresponding lamp effect according to each basic lamp effect mode in the composite lamp effect mode, therefore, the LED display device can be controlled to display the complex lamp effect quickly according to the requirements of the current specific application scene, and the maintenance and development cost of the complex lamp effect control scheme is reduced.
Drawings
Fig. 1 is a flowchart of a lamp efficiency control method according to an embodiment of the present invention;
fig. 2 is a flowchart of a lamp efficiency control method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a lamp effect control device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a lamp efficiency control method according to an embodiment of the present invention. The present embodiment is applicable to the case of controlling the display effect of the Led display device, and the method may be executed by the lamp effect control device provided in the embodiment of the present invention, and the device may be implemented in a software and/or hardware manner, and may be generally integrated in an electronic device. As shown in fig. 1, the method of this embodiment specifically includes:
step 101, a light effect control request is obtained, wherein the light effect control request carries light effect mode combination information and parameter updating information.
Optionally, a light effect control request is generated according to the service requirement, and the request controls the display light effect of the Led display device in the electronic device. The light effect control request carries light effect mode combination information and parameter update information. The Led display device includes at least one Led lamp.
Optionally, generating a light effect control request according to a service requirement may include: and combining the basic light effect modes corresponding to the Led display device according to the service requirements to obtain a composite light effect mode, and generating light effect mode combination information matched with the composite light effect mode. The lamp effect mode combination information is combination information of each basic lamp effect mode in the composite lamp effect mode.
Optionally, after the basic light effect modes corresponding to the Led display device are combined according to the service requirement to obtain the composite light effect mode, the method may further include: and resetting the lamp effect parameters of each basic lamp effect mode in the composite lamp effect mode according to the requirements of the current specific application scene, and generating parameter updating information matched with the composite lamp effect mode. The parameter updating information is the light effect parameters of each basic light effect mode in the composite light effect mode which is reset according to the requirements of the current specific application scene.
Optionally, before acquiring the light effect control request, the method may further include: establishing at least one basic light effect mode corresponding to the Led display device; and setting lamp effect parameters corresponding to the basic lamp effect modes.
Optionally, at least one basic light effect mode corresponding to the Led display device is established according to the position information, color information, brightness information, and the like of each Led lamp in the Led display device, and light effect parameters corresponding to each basic light effect mode are set. Each of the basic light effect modes corresponds to a basic light effect.
Illustratively, the base light effect mode corresponding to the Led display device includes: a low light effect mode, a high light effect mode, and a light effect off mode. The basic light effect corresponding to the bass light effect mode is a diagonal sector folding and unfolding effect. The basic light effect corresponding to the high pitch light effect mode is a full circle breathing effect. The basic light effect corresponding to the light-out effect mode is a light-out effect.
Optionally, the lamp efficiency control method further includes: acquiring a light effect mode increasing request; establishing at least one new basic light effect mode corresponding to the Led display device according to the light effect mode increasing request; and setting lamp effect parameters corresponding to the new basic lamp effect modes.
The light effect mode increasing request can be generated according to the service requirement, and at least one new basic light effect mode corresponding to the Led display device is requested to be established. Therefore, the basic light effect mode corresponding to the Led display device can be continuously increased and optimized, and therefore richer light effects are achieved.
And step 102, determining at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information.
Optionally, the light effect mode combination information includes: at least one base light effect pattern, and a display order matched to the at least one base light effect pattern.
And determining each basic light effect mode in the composite light effect mode matched with the light effect control request and a display sequence matched with each basic light effect mode according to the light effect mode combination information.
In one embodiment, the lamp effect mode combination information includes: the display sequence of the low sound light effect mode, the high sound light effect mode and the light-out effect mode is 1, 2 and 3. Determining 3 basic light effect modes in the composite light effect modes matched with the light effect control request according to the light effect mode combination information: bass light effect mode, treble light effect mode, extinction light effect mode, and display sequence matching 3 base light effect modes.
And 103, updating the light effect parameters of at least one basic light effect mode according to the parameter updating information.
Optionally, the light effect parameters of each basic light effect mode in the composite light effect mode matched with the light effect control request are updated according to the parameter update information, and the light effect parameters of each basic light effect mode are updated to the light effect parameters of each basic light effect mode in the composite light effect mode which are reset according to the requirements of the current specific application scene. Therefore, the lamp effect parameters of each basic lamp effect mode in the composite lamp effect mode can be dynamically adjusted according to the requirements of the current specific application scene.
Optionally, the lamp efficiency parameters may include: a color parameter, a brightness parameter, and a refresh time parameter.
Optionally, updating the light efficiency parameter of at least one basic light efficiency mode according to the parameter update information may include: updating the color parameters of at least one basic light effect mode according to the color parameter updating information; updating the brightness parameters of at least one basic lamp effect mode according to the brightness parameter updating information; and updating the refresh time parameter of at least one basic light effect mode according to the refresh time parameter update information.
Optionally, the color parameters include: dominant color parameters and primary color parameters. The luminance parameters include: a main luminance parameter and a base luminance parameter. The refresh time parameters include: a main interval time parameter, an additional interval time parameter, an effect duration parameter, and an effect transition duration parameter. Updating the lamp efficiency parameters of at least one basic lamp efficiency mode according to the parameter updating information, comprising: updating the dominant color parameter and the primary color parameter of at least one basic light effect mode according to the color parameter updating information; updating the main brightness parameter and the basic brightness parameter of at least one basic lamp effect mode according to the brightness parameter updating information; and updating the main interval time parameter, the additional interval time parameter, the effect duration parameter and the effect transition duration parameter of at least one basic light effect mode according to the updating information of the refreshing time parameter.
In one embodiment, 3 basic light effect patterns in the composite light effect pattern matching the light effect control request are determined according to the light effect pattern combination information: bass light effect mode, treble light effect mode, and light effect extinguishing mode. And updating the light effect parameters of the bass light effect mode, the treble light effect mode and the light effect extinguishing mode according to the parameter updating information, and updating the light effect parameters of each basic light effect mode into the light effect parameters of each basic light effect mode in the composite light effect mode which are reset according to the requirements of the current specific application scene.
And 104, controlling an Led display device to display according to the updated at least one basic light effect mode.
Optionally, controlling the Led display device to display according to the updated at least one basic light effect mode may include: acquiring a basic light effect mode from at least one updated basic light effect mode as a current light effect mode according to the display sequence; controlling an Led display device to display according to the current lamp effect mode; and returning to execute the operation of acquiring one basic light effect mode from the updated at least one basic light effect mode as the current light effect mode according to the display sequence until the display of all basic light effect modes in the updated at least one basic light effect mode is completed.
In one embodiment, the composite light effect pattern matched to the light effect control request includes 3 base light effect patterns: bass light effect mode, treble light effect mode, and light effect extinguishing mode. The display order matching the low-pitched light effect pattern is 1, the display order matching the high-pitched light effect pattern is 2, and the display order matching the light-off effect pattern is 3. The method comprises the steps of updating light effect parameters of a low-pitch light effect mode, a high-pitch light effect mode and a light-out light effect mode according to parameter updating information, updating the light effect parameters of each basic light effect mode into light effect parameters of each basic light effect mode in a composite light effect mode which is reset according to the requirements of a current specific application scene, acquiring the low-pitch light effect mode with a display sequence of 1 as a current light effect mode, operating the low-pitch light effect mode, and controlling an Led display device to display according to the low-pitch light effect mode. And after the LED display device finishes the current display, acquiring a high-pitch light effect mode with the display sequence of 2 as the current light effect mode, operating the high-pitch light effect mode, and controlling the LED display device to display according to the high-pitch light effect mode. And after the LED display device finishes the current display, acquiring a light-off mode with the display sequence of 3 as the current light-off mode, operating the light-off mode, and controlling the LED display device to display according to the light-off mode.
Therefore, according to the display sequence, each basic light effect mode in the composite light effect mode is operated in sequence, and the Led display device is controlled to display the corresponding light effect. And establishing a basic light effect mode corresponding to the Led display device through abstraction of the basic light effect, finishing creation of a composite light effect mode through the basic light effect mode, and forming a dynamic melody through combination of notes similar to basic notes of music.
In the prior art, a product for realizing a complex light effect design based on an Led display device is usually designed to a light effect control scheme matched with an application scene according to special requirements of the application scene. The context and application associations are too close. When the electronic device needs to define a new requirement of an application scene, a lamp efficiency control scheme needs to be redesigned, the original accumulation cannot be effectively utilized, and an independent packaging and multiplexing mode for the lamp efficiency is not provided. Resulting in a huge development and maintenance effort to adjust to product requirements. According to the embodiment of the invention, the basic light effect modes are combined to obtain the composite light effect mode, and the light effect parameters of each basic light effect mode in the composite light effect mode are dynamically adjusted according to the requirements of the current specific application scene, so that the development work of complex light effects can be rapidly completed according to the requirements of the current specific application scene, and the aim of flexibly realizing the complex light effects can be achieved by dynamically adjusting the light effect parameters. Compared with the prior art, the lamp effect control method provided by the embodiment of the invention can greatly reduce the development cycle of the products and can meet the design requirement of complex effect.
The embodiment of the invention provides a light effect control method, which determines at least one basic light effect mode matched with a light effect control request according to light effect mode combination information carried by the light effect control request, then updates the information according to parameters carried by the light effect control request, the light effect parameters of at least one basic light effect mode are updated, and the Led display device is controlled to display according to the updated at least one basic light effect mode, and the basic light effect modes can be combined, dynamically adjusting the lamp effect parameters of the basic lamp effect mode to complete the creation of the composite lamp effect mode, can control the Led display device to display the corresponding lamp effect according to each basic lamp effect mode in the composite lamp effect mode, therefore, the LED display device can be controlled to display the complex lamp effect quickly according to the requirements of the current specific application scene, and the maintenance and development cost of the complex lamp effect control scheme is reduced.
Example two
Fig. 2 is a flowchart of a lamp efficiency control method according to a second embodiment of the present invention. This embodiment may be combined with each optional solution in one or more of the above embodiments, and in this embodiment, before acquiring the light effect control request, the method may further include: the parameter update information may include: color parameter update information, luminance parameter update information, and refresh time parameter update information.
And updating the lamp efficiency parameters of at least one basic lamp efficiency mode according to the parameter updating information, which may include: updating the color parameters of at least one basic light effect mode according to the color parameter updating information; updating the brightness parameters of at least one basic lamp effect mode according to the brightness parameter updating information; and updating the refresh time parameter of at least one basic light effect mode according to the refresh time parameter update information.
As shown in fig. 2, the method of this embodiment specifically includes:
step 201, a light effect control request is obtained, and the light effect control request carries light effect mode combination information and parameter updating information.
Step 202, determining at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information.
And step 203, updating the color parameters of at least one basic light effect mode according to the color parameter updating information.
Optionally, the color parameters include: dominant color parameters and primary color parameters. And updating the dominant color parameter and the primary color parameter of at least one basic light effect mode according to the color parameter updating information.
And step 204, updating the brightness parameters of at least one basic lamp effect mode according to the brightness parameter updating information.
Optionally, the brightness parameters include: a main luminance parameter and a base luminance parameter. And updating the main brightness parameter and the basic brightness parameter of at least one basic lamp effect mode according to the brightness parameter updating information.
And step 205, updating the refresh time parameter of at least one basic light effect mode according to the refresh time parameter update information.
Optionally, the refresh time parameter includes: a main interval time parameter, an additional interval time parameter, an effect duration parameter, and an effect transition duration parameter. And updating the main interval time parameter, the additional interval time parameter, the effect duration parameter and the effect transition duration parameter of at least one basic light effect mode according to the updating information of the refreshing time parameter.
And step 206, controlling the Led display device to display according to the updated at least one basic light effect mode.
The embodiment of the invention provides a light effect control method, which updates color parameters of at least one basic light effect mode according to color parameter update information, updates brightness parameters of at least one basic light effect mode according to brightness parameter update information, updates refresh time parameters of at least one basic light effect mode according to refresh time parameter update information, and can dynamically adjust each light effect parameter of the basic light effect mode according to parameter update information.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a lamp effect control device according to a third embodiment of the present invention. As shown in fig. 3, the apparatus may be configured with an electronic device, including: a request acquisition module 301, a mode determination module 302, a parameter update module 303, and a light effect display module 304.
The request obtaining module 301 is configured to obtain a light effect control request, where the light effect control request carries light effect mode combination information and parameter update information; a mode determining module 302, configured to determine at least one basic light effect mode matching the light effect control request according to the light effect mode combination information; a parameter updating module 303, configured to update the light effect parameters of at least one basic light effect mode according to the parameter updating information; and the light effect display module 304 is configured to control the Led display device to display according to the updated at least one basic light effect mode.
The embodiment of the invention provides a lamp effect control device, which determines at least one basic lamp effect mode matched with a lamp effect control request according to lamp effect mode combination information carried by the lamp effect control request, then updates the information according to parameters carried by the lamp effect control request, the light effect parameters of at least one basic light effect mode are updated, and the Led display device is controlled to display according to the updated at least one basic light effect mode, and the basic light effect modes can be combined, dynamically adjusting the lamp effect parameters of the basic lamp effect mode to complete the creation of the composite lamp effect mode, can control the Led display device to display the corresponding lamp effect according to each basic lamp effect mode in the composite lamp effect mode, therefore, the LED display device can be controlled to display the complex lamp effect quickly according to the requirements of the current specific application scene, and the maintenance and development cost of the complex lamp effect control scheme is reduced.
On the basis of the above embodiments, the lamp efficiency control device may further include: the mode establishing module is used for establishing at least one basic light effect mode corresponding to the Led display device; and the mode setting module is used for setting the lamp effect parameters corresponding to the basic lamp effect modes.
On the basis of the above embodiments, the lamp efficiency parameters may include: a color parameter, a brightness parameter, and a refresh time parameter.
On the basis of the foregoing embodiments, the parameter update information may include: color parameter update information, luminance parameter update information, and refresh time parameter update information; the parameter update module 303 may include: the color parameter adjusting unit is used for updating the color parameters of at least one basic light effect mode according to the color parameter updating information; the brightness parameter adjusting unit is used for updating the brightness parameters of at least one basic light effect mode according to the brightness parameter updating information; and the time parameter adjusting unit is used for updating the refresh time parameter of at least one basic light effect mode according to the refresh time parameter updating information.
On the basis of the above embodiments, the lamp effect mode combination information may include: at least one base light effect pattern, and a display order matched to the at least one base light effect pattern.
On the basis of the above embodiments, the lamp effect display module 304 may include: a current mode obtaining unit, configured to obtain a basic light effect mode from the updated at least one basic light effect mode as a current light effect mode according to the display sequence; the display control unit is used for controlling the Led display device to display according to the current light effect mode; and the operation returning unit is used for returning and executing the operation of acquiring one basic light effect mode from the updated at least one basic light effect mode as the current light effect mode according to the display sequence until the display of all basic light effect modes in the updated at least one basic light effect mode is completed.
On the basis of the above embodiments, the lamp efficiency control device may further include: the increase request acquisition module is used for acquiring a light effect mode increase request; the new mode establishing module is used for establishing at least one new basic light effect mode corresponding to the Led display device according to the light effect mode increasing request; and the new mode setting module is used for setting the lamp effect parameters corresponding to the new basic lamp effect modes.
The lamp effect control device can execute the lamp effect control method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the lamp effect control method.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in fig. 4, the electronic device 12 is represented in the form of a general-purpose electronic device. The components of electronic device 12 may include, but are not limited to: one or more processors 16, a memory 28, and a bus 18 that connects the various system components (including the memory 28 and the processors 16). The processor 16 includes, but is not limited to, an AI processor.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16 of the electronic device 12 executes various functional applications and data processing by executing programs stored in the memory 28, for example, to implement the lamp effect control method provided by the embodiment of the present invention. The method specifically comprises the following steps: acquiring a light effect control request, wherein the light effect control request carries light effect mode combination information and parameter updating information; determining at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information; updating the lamp effect parameters of at least one basic lamp effect mode according to the parameter updating information; and controlling the Led display device to display according to the updated at least one basic light effect mode.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the lamp efficiency control method provided in the fifth embodiment of the present invention. The method specifically comprises the following steps: acquiring a light effect control request, wherein the light effect control request carries light effect mode combination information and parameter updating information; determining at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information; updating the lamp effect parameters of at least one basic lamp effect mode according to the parameter updating information; and controlling the Led display device to display according to the updated at least one basic light effect mode.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, Ruby, Go, and conventional procedural programming languages, such as the "C" programming language or similar programming languages, and computer languages for AI algorithms. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A lamp efficiency control method, comprising:
acquiring a light effect control request, wherein the light effect control request carries light effect mode combination information and parameter updating information;
the lamp effect mode combination information includes: at least one base light effect mode and a display order matched with the at least one base light effect mode;
determining at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information;
updating the light effect parameters of the at least one basic light effect mode according to the parameter updating information; the lamp efficiency parameters comprise: a color parameter, a brightness parameter, and a refresh time parameter;
and controlling the Led display device to display according to the updated at least one basic light effect mode.
2. The method of claim 1, prior to obtaining the light effect control request, further comprising:
establishing at least one basic light effect mode corresponding to the Led display device;
and setting lamp effect parameters corresponding to the basic lamp effect modes.
3. The method of claim 1, wherein the parameter update information comprises: color parameter update information, luminance parameter update information, and refresh time parameter update information;
updating the light effect parameters of the at least one basic light effect mode according to the parameter updating information, comprising:
updating the color parameters of the at least one basic light effect mode according to the color parameter updating information;
updating the brightness parameters of the at least one basic light effect mode according to the brightness parameter updating information;
and updating the refresh time parameter of the at least one basic light effect mode according to the refresh time parameter update information.
4. The method of claim 1, wherein controlling the Led display device to display according to the updated at least one base light effect mode comprises:
acquiring a basic light effect mode from at least one updated basic light effect mode as a current light effect mode according to the display sequence;
controlling an Led display device to display according to the current lamp effect mode;
and returning to execute the operation of acquiring one basic light effect mode from the updated at least one basic light effect mode as the current light effect mode according to the display sequence until the display of all basic light effect modes in the updated at least one basic light effect mode is completed.
5. The method of claim 2, further comprising:
acquiring a light effect mode increasing request;
establishing at least one new basic light effect mode corresponding to the Led display device according to the light effect mode increasing request;
and setting lamp effect parameters corresponding to the new basic lamp effect modes.
6. A lamp effect control device, comprising:
the request acquisition module is used for acquiring a light effect control request, and the light effect control request carries light effect mode combination information and parameter updating information;
the lamp effect mode combination information includes: at least one base light effect mode and a display order matched with the at least one base light effect mode;
the mode determining module is used for determining at least one basic light effect mode matched with the light effect control request according to the light effect mode combination information;
the parameter updating module is used for updating the light effect parameters of the at least one basic light effect mode according to the parameter updating information; the lamp efficiency parameters comprise: a color parameter, a brightness parameter, and a refresh time parameter;
and the light effect display module is used for controlling the Led display device to display according to the updated at least one basic light effect mode.
7. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the light effect control method of any one of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the lamp effect control method according to any one of claims 1 to 5.
CN201911309852.8A 2019-12-18 2019-12-18 Lamp effect control method and device, electronic equipment and storage medium Active CN111083825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911309852.8A CN111083825B (en) 2019-12-18 2019-12-18 Lamp effect control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911309852.8A CN111083825B (en) 2019-12-18 2019-12-18 Lamp effect control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111083825A CN111083825A (en) 2020-04-28
CN111083825B true CN111083825B (en) 2021-12-21

Family

ID=70315479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911309852.8A Active CN111083825B (en) 2019-12-18 2019-12-18 Lamp effect control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111083825B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683445A (en) * 2020-07-27 2020-09-18 杭州涂鸦信息技术有限公司 Dynamic control method and system for lighting equipment and related equipment
CN114290987B (en) * 2021-12-28 2024-03-12 东风汽车有限公司东风日产乘用车公司 Automobile light efficiency control method, electronic equipment, storage medium, master-slave control method and master-slave controller

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561109A (en) * 2009-05-13 2009-10-21 华南理工大学 Method for displaying light effects based on primary function mode
CN101586755A (en) * 2009-03-27 2009-11-25 中山市强力电器科技有限公司 Inductive regulation LED desk lamp
CN107580402A (en) * 2017-09-28 2018-01-12 深圳音浮光电股份有限公司 Lamp light control method, device and system
CN108966465A (en) * 2018-08-17 2018-12-07 无锡金顺照明科技有限公司 A kind of lamp light control method and system with music
CN109005629A (en) * 2018-07-20 2018-12-14 江苏省发明协会 A kind of control method and court lighting system of court lighting system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200925491A (en) * 2007-11-06 2009-06-16 Koninkl Philips Electronics Nv Light control system and method for automatically rendering a lighting atmosphere
JP5775530B2 (en) * 2009-12-23 2015-09-09 エーエスエムエル ネザーランズ ビー.ブイ. Illumination system, lithography method, computer program, device manufacturing method, and lithography apparatus
TWI486736B (en) * 2012-12-06 2015-06-01 Yu Sheng So Method and equipment for configuring lighting
US9763306B2 (en) * 2013-12-20 2017-09-12 Sensity Systems Inc. Dynamic spatially-resolved lighting using composited lighting models
WO2017131713A1 (en) * 2016-01-28 2017-08-03 Ecosense Lighting Inc Methods for generating melatonin-response-tuned white light with high color rendering
US10290265B2 (en) * 2016-02-19 2019-05-14 Eaton Intelligent Power Limited Configurable modes for lighting systems
CN110035588B (en) * 2019-04-03 2021-07-13 广州小鹏汽车科技有限公司 Programmable lamp system, lamp effect output method and vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101586755A (en) * 2009-03-27 2009-11-25 中山市强力电器科技有限公司 Inductive regulation LED desk lamp
CN101561109A (en) * 2009-05-13 2009-10-21 华南理工大学 Method for displaying light effects based on primary function mode
CN107580402A (en) * 2017-09-28 2018-01-12 深圳音浮光电股份有限公司 Lamp light control method, device and system
CN109005629A (en) * 2018-07-20 2018-12-14 江苏省发明协会 A kind of control method and court lighting system of court lighting system
CN108966465A (en) * 2018-08-17 2018-12-07 无锡金顺照明科技有限公司 A kind of lamp light control method and system with music

Also Published As

Publication number Publication date
CN111083825A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
KR101713177B1 (en) System and method for virtual displays
EP3474273B1 (en) Electronic apparatus and method for voice recognition
CN111083825B (en) Lamp effect control method and device, electronic equipment and storage medium
US10871930B2 (en) Display method and display apparatus
JP2003015871A (en) System and method for constructing target operating system from source operating system
JP2009531825A (en) Combined ambient lighting control based on video and audio
JP2011505633A (en) Method and system for using a secondary processor in a graphics system
EP2722844A1 (en) Method and electronic device for reducing power consumption of display
KR20090008306A (en) Event based ambient lighting control
US9772863B2 (en) Methods for copying information handling system configuration settings
US9977673B1 (en) Systems and methods for providing a platform-specific porting layer for multi-level software stacks
CN111045675A (en) Page generation method, device, equipment and storage medium based on Flutter
CN112148241B (en) Light processing method, device, computing equipment and storage medium
CN113204425B (en) Method, device, electronic equipment and storage medium for process management internal thread
WO2024037148A1 (en) Lamp, lamp effect implementation method and device, and apparatus and medium
KR20210039353A (en) Virtual keyboard display method, virtual keyboard and display device
WO2023246479A1 (en) Projection method and apparatus, electronic device and storage medium
US20210225321A1 (en) Focus assist mode for user interfaces
CN112116695A (en) Virtual light control method and device, storage medium and electronic equipment
CN115269048A (en) Concurrency control method of application program, electronic device and readable storage medium
CN113966055B (en) Method for controlling light string by power carrier wave, electronic billboard and device
US20180267696A1 (en) Launching multiple universal platform application views through desktop application
CN112000738A (en) Database connection switching method, device, equipment and medium
CN109587904B (en) Intelligent control system, method, server and storage medium
US10007799B2 (en) Workflow and user credentials

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant