CN117794022B - Light color partition control method and device, equipment and medium thereof - Google Patents

Light color partition control method and device, equipment and medium thereof Download PDF

Info

Publication number
CN117794022B
CN117794022B CN202410217237.9A CN202410217237A CN117794022B CN 117794022 B CN117794022 B CN 117794022B CN 202410217237 A CN202410217237 A CN 202410217237A CN 117794022 B CN117794022 B CN 117794022B
Authority
CN
China
Prior art keywords
partition
lamp
color
light
target
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
CN202410217237.9A
Other languages
Chinese (zh)
Other versions
CN117794022A (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.)
Shenzhen Zhiyan Technology Co Ltd
Shenzhen Qianyan Technology Co Ltd
Original Assignee
Shenzhen Zhiyan Technology Co Ltd
Shenzhen Qianyan 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 Shenzhen Zhiyan Technology Co Ltd, Shenzhen Qianyan Technology Co Ltd filed Critical Shenzhen Zhiyan Technology Co Ltd
Priority to CN202410217237.9A priority Critical patent/CN117794022B/en
Publication of CN117794022A publication Critical patent/CN117794022A/en
Application granted granted Critical
Publication of CN117794022B publication Critical patent/CN117794022B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Illuminated Signs And Luminous Advertising (AREA)

Abstract

The application discloses a light color partition control method, a device, equipment and a medium thereof, wherein the method comprises the following steps: the regional color matching page is displayed, and the regional color matching page displays display pictures corresponding to the planar distribution of the lamp beads in the lamp body of the atmosphere lamp equipment; responding to the partition setting event, adding a partition mark in the display frame, dividing a newly added partition on the basis of the original partition by the partition mark, and determining mapping relation data between each partition and the lamp beads in the lamp bead plane distribution; determining a light color configuration of the selected partition in response to the partition color event; and responding to the light effect application event, generating light effect control information of the lamp body according to the layout sequence of each partition in the display picture and the corresponding light color configuration thereof, and sending the light effect control information to atmosphere lamp equipment. According to the application, the user can divide different light partitions in the atmosphere lamp to perform the light effect self-defining setting, the regional color matching page provides easy-to-operate man-machine interaction for the user to perform the light partition and the light effect setting, and the configuration efficiency of the user is improved.

Description

Light color partition control method and device, equipment and medium thereof
Technical Field
The application relates to the field of illumination control, in particular to a light color partition control method, and further relates to a device, equipment and a nonvolatile storage medium corresponding to the method.
Background
The atmosphere lamp device is provided with a lamp body consisting of a plurality of lamp beads, and the atmosphere lamp device controls each lamp bead in the lamp body to emit different lamplight colors through the controller so as to form various lamp effects and provide atmosphere for the environment where the atmosphere lamp device is located, but the type of the lamp effect which can be formed by most of the existing atmosphere lamp devices is generally determined by the lamp effect configuration which is preconfigured by manufacturers for the atmosphere lamp device, so that when the atmosphere lamp device is used by a user, the user can only select from the lamp effect configuration which is preconfigured by the manufacturers, and the lamp effect configuration of the atmosphere lamp device cannot be customized, so that the atmosphere lamp device is controlled to form the lamp effect which accords with the environment atmosphere.
Disclosure of Invention
The application aims to meet the requirements of users and provides a light color partition control method, and further relates to a device, equipment and a nonvolatile storage medium corresponding to the method.
In order to achieve the purpose of the application, the following technical scheme is adopted:
The method comprises the steps of displaying an area color matching page, wherein the area color matching page displays display pictures corresponding to the planar distribution of lamp beads in a lamp body of atmosphere lamp equipment, and the display pictures are in proportional relation with the planar distribution of the lamp beads;
Responding to a partition setting event, adding a partition mark in the display picture, dividing a newly added partition on the basis of an original partition by the partition mark, and determining mapping relation data between each partition and the lamp beads in the lamp bead plane distribution;
determining a light color configuration of a selected partition in the displayed frame in response to a partition color event;
And responding to the light effect application event, generating light effect control information of the lamp body according to the layout sequence of each partition in the display picture and the corresponding light color configuration thereof, and sending the light effect control information to the atmosphere lamp equipment.
According to another aspect of the present application, there is provided a lighting color zone control device, comprising:
The page display module is used for displaying an area color matching page, the area color matching page displays display pictures corresponding to the planar distribution of the lamp beads in the lamp body of the atmosphere lamp equipment, and the display pictures are in proportional relation with the planar distribution of the lamp beads;
The partition setting module is used for responding to a partition setting event, adding a partition mark in the display picture, dividing a newly added partition on the basis of an original partition by the partition mark, and determining mapping relation data between each partition and the lamp beads in the lamp bead plane distribution;
the subarea color matching module is used for responding to subarea color matching events and determining the lamplight color configuration of the selected subarea in the display picture;
and the lamp effect application module is used for responding to a lamp effect application event, generating lamp effect control information of the lamp body according to the layout sequence of each partition in the display picture and the corresponding lamp color configuration thereof, and sending the lamp effect control information to the atmosphere lamp equipment.
According to another aspect of the application, an atmosphere lamp device is provided, which comprises a controller and a lamp body with lamp beads, wherein the controller is used for receiving lamp effect control information generated by the lamp color partition control method and controlling the lamp beads of the lamp body to play the lamp effect according to the lamp effect control information.
According to another aspect of the present application there is provided a computer device comprising a central processor and a memory, said central processor being arranged to invoke execution of a computer program stored in said memory to perform the steps of said light color partition control method.
Compared with the prior art, the application has the following technical advantages:
The application constructs the function of partitioning the lamp bead lamp effect setting for the atmosphere lamp equipment, and has the functions of partitioning the lamp beads of the atmosphere lamp equipment and partitioning the lamp effect setting by the corresponding region color allocation page, the user terminal is convenient for the user to realize the lamp bead partition division and partitioning the lamp effect setting of the atmosphere lamp equipment through the visual interface, after the user terminal is connected with the atmosphere lamp equipment, the user terminal is used for forming different partitions through displaying the lamp bead partition color allocation page, the region configuration page displays the display picture corresponding to the lamp bead plane distribution of the lamp beads in the lamp body of the atmosphere lamp equipment, the lamp bead plane distribution is a plane matrix formed by a plurality of lamp beads in the lamp body, the display picture is in a proportional relation with the lamp bead plane distribution, namely, the position of each lamp bead in the lamp body is mapped in the display picture, the user can intuitively know the lamp bead number and the distribution position of each lamp bead in the lamp body of the atmosphere lamp equipment in the display picture, the user can conveniently form different partitions through displaying the picture, the lamp color allocation of each partition after the user is used for partitioning different partitions, the lamp beads of each partition can be set, the lamp bead can be set, the lamp beads of different partitions can be set, the lamp beads can be set into different partitions, the lamp beads can be set into different LED lamp beads, the lamp beads can be set into the lamp beads, the environment is different, the lamp beads can be set into the lamp beads and the lamp beads can be used for the user and the lamp bulb, the user and has different partition lamp beads can be and has different partition colors.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic hardware structure of an atmosphere lamp device in an embodiment of the present application;
FIG. 2 is a flow chart of a method for controlling light color partition according to the present application;
FIG. 3 is an interface schematic of a display frame with two partitions in a region color page according to the present application;
FIG. 4 is an interface schematic of a display frame with three partitions in a regional color page according to the present application;
FIG. 5 is an interface schematic diagram of a display frame with a partition area adjusted in a regional color page according to the present application;
FIG. 6 is an interface schematic of a regional color page for a zoned independent color scheme in accordance with the present application;
FIG. 7 is an interface schematic of a regional color page for a zoned linked color scheme in accordance with the present application;
fig. 8 is a schematic flow chart of acquiring a planar distribution of lamp beads of an atmosphere lamp device by a user terminal in the present application;
FIG. 9 is a flow chart illustrating the adjustment of the partition area of the partition in the display frame according to the present application;
FIG. 10 is a flow chart of the method for controlling the atmosphere lighting device to send out the selected indication light effect according to the present application;
FIG. 11 is a flow chart of the partition independent color scheme according to the present application;
FIG. 12 is a flow chart of the zonal coordinated color matching mode according to the present application;
FIG. 13 is a flow chart of the method for controlling the color unconfigured indicator light effect of the atmosphere light device according to the present application;
FIG. 14 is a functional block diagram of an exemplary embodiment of a light color partition control apparatus of the present application;
Fig. 15 is a basic structural block diagram of a computer device according to an embodiment of the present application.
Detailed Description
Referring to fig. 1, it can be seen from a schematic structural diagram of an atmosphere lamp device provided by an embodiment of the present application that the atmosphere lamp device includes a controller 1 and a lamp body 2, and the lamp body 2 is electrically connected with the controller 1 so as to receive the control of a computer program running in the controller 1 to cooperate with the controller to realize the playing of the lamp effect.
The controller 1 typically includes a control chip, communication components, and bus connectors, and in some embodiments, the controller 1 may also configure power adapters, control panels, display screens, etc. as desired.
The power adapter is mainly used for converting commercial power into direct current so as to supply power for the whole atmosphere lamp equipment. The control Chip may be implemented by various embedded chips, for example, various types of chips such as a bluetooth SoC (System on Chip), a WiFi SoC, an MCU (Micro Controller Unit, microcontroller), a DSP (DIGITAL SIGNAL Processing), and the like, and the control Chip generally includes a central processor and a memory, where the memory and the central processor are respectively used to store and execute program instructions to implement corresponding functions. The control chips of the above types can be used for communication components from the outside, and can be additionally configured according to the requirement. The communication module may be used for communicating with an external device, for example, may communicate with a personal computer or various terminal devices such as a smart phone, so that after a user issues various configuration instructions through the terminal device thereof, the control chip of the controller 1 may receive the configuration instructions through the communication module, and complete the basic configuration, so as to control the lamp body to operate. The bus connector is mainly used for connecting the lamp body 2 connected to the bus with a power supply and providing a lamp effect playing instruction, so that pins corresponding to the power bus and the signal bus are correspondingly provided, and therefore, when the lamp body 2 needs to be connected to the controller 1, the lamp body 2 is connected with the bus connector through the corresponding connector of the lamp body 2. The control panel typically provides one or more keys for performing on-off control of the controller 1, selecting various preset light effect control modes, etc. The display screen can be used for displaying various control information so as to be matched with keys in the control panel and support the realization of man-machine interaction functions. In some embodiments, the control panel and the display screen may be integrated into the same touch display screen.
The lamp body 2 in the atmosphere lamp device is implemented by using the light-emitting lamp strips, and can comprise one or more light-emitting lamp strips, and the light-emitting lamp strips have flexibility, so that the lamp body can be molded into any shape layout. Each light-emitting strip 21 includes a plurality of serially connected beads 210, each bead 210 serves as a light-emitting unit, and the number of beads 210 in each light-emitting strip 21 may be the same and arranged at equal intervals. The beads 210 in the same light-emitting lamp strip 21 are connected in parallel in terms of electrical connection between the beads 210 in the same light-emitting lamp strip 21 by the same group of cables connected to the bus to transmit working current.
When the atmosphere lamp device is to play the lamp effect according to the lamp effect description data, the controller 1 is required to provide the sequential position information of each light emitting unit in the lamp body 2 according to the corresponding lamp bead plane distribution of the lamp body 2so as to analyze the corresponding lamp effect description data into the control data of each light emitting unit, package each control data into the lamp effect control data according to the sequential position information of each light emitting unit, then send the lamp effect control data to the corresponding light emitting lamp strip, extract the corresponding control data of the controller by the control chip of each light emitting unit in the light emitting lamp strip, control each light emitting element in the controller according to the control data to emit corresponding color light, and realize the playing of the whole lamp effect under the synergistic effect of the color light emitted by each light emitting unit.
According to the product architecture and the working principle of the atmosphere lamp equipment, the lamplight color partition control method can be realized as a computer program product, runs in a user terminal where a user is located, acquires the planar distribution of the lamp beads of the lamp body in the atmosphere lamp equipment by connecting with the atmosphere lamp equipment, generates corresponding lamp effect control information by the lamplight color partition control method, pushes the lamp effect control information to the atmosphere lamp equipment, and drives a controller of the atmosphere lamp equipment to take the lamp effect control information as basic configuration information for controlling the lamp beads to play the lamp effect.
Referring to fig. 2, in one embodiment, the light color partition control method of the present application includes:
Step S11, displaying an area color matching page, wherein the area color matching page displays display pictures corresponding to the planar distribution of the lamp beads in the lamp body of the atmosphere lamp equipment, and the display pictures are in proportional relation with the planar distribution of the lamp beads;
After the user terminal is connected with the atmosphere lamp equipment in the same local area network, the graphic user interface of the user terminal displays an area color matching page acting on the atmosphere lamp equipment, wherein the area color matching page is provided with a display drawing for showing the planar distribution of the lamp beads in the lamp body of the atmosphere lamp equipment, and a user can edit a plurality of subareas in the display drawing to carry out area division on the lamp beads in the lamp body of the atmosphere lamp equipment, so that the lamp color configuration of each subarea is set.
Referring to fig. 1, the planar distribution of the beads in the lamp body of the atmosphere lamp apparatus refers to a planar matrix formed by a plurality of beads in the lamp body, as shown in fig. 1, the lamp body 2 shown in fig. 1 is formed by a plurality of beads such as the shown bead 210, and accordingly, the planar distribution of the beads in the lamp body 2 is understood to show the distribution position of each shown bead in the lamp body 2, and the planar distribution of the beads can be used as a planar coordinate system, and each shown bead in the planar distribution of the beads represents the position of each shown bead in the bead 2 in terms of planar coordinates.
Referring to fig. 1 and 3, in a lamp body 2 shown in fig. 1, each of the shown lamp beads forms a corresponding lamp bead plane distribution, and an area color distribution page displayed in a graphical user interface of a user terminal connected to an atmosphere lamp device shown in fig. 1 includes a display frame for displaying the lamp bead plane distribution of the shown lamp body 2, wherein the display frame is in a proportional relationship with the lamp bead plane distribution, so that a user edits and divides each of the lamp beads in the lamp bead plane distribution into a plurality of partitions through the display frame, and further edits light colors of each partition, such as an area color distribution page shown in fig. 3, and the user can divide each of the lamp beads in the lamp bead plane distribution in a proportional relationship with the display frame 301 through the display frame 301 shown in the area color distribution page shown, so as to form a plurality of different partitions, and the display frame 301 includes a first partition 303 and a second partition 304 shown, and the lamp beads in a different proportional relationship with the display frame 301 are divided into two different partitions by the first partition 303 and the second partition 304.
Regarding the acquisition mode of the user terminal for acquiring the planar distribution of the lamp beads of the atmosphere lamp device, the user terminal and the atmosphere lamp device can be generally connected to the same local area network to construct a data communication link between the user terminal and the atmosphere lamp device, so that the user terminal can acquire the planar distribution of the lamp beads from the atmosphere lamp device through the data communication link, or the user terminal can establish Bluetooth communication with the atmosphere lamp device to acquire the planar distribution of the lamp beads, and in addition, the user terminal can also be connected with the atmosphere lamp device through a physical interface of a data line to acquire the planar distribution of the lamp beads.
Step S12, adding a partition mark in the display picture in response to a partition setting event, dividing a newly added partition on the basis of an original partition by the partition mark, and determining mapping relation data between each partition and the lamp beads in the lamp bead plane distribution;
When the user terminal initially displays the region color matching page, the display frames in the region color matching page generally divide a preset number of partitions by default, for example, one or two partitions are divided by default in the display frames, and a user can add a new partition on the partition divided by default in the display frames.
Referring to fig. 3, each partition in the display frame has its corresponding partition identifier to characterize its sorting position in the display frame, for example, the partition identifier of the first partition 303 in the sorting position in the display frame 301 is "1" and the partition identifier of the second partition 304 in the sorting position in the display frame 301 is "2", which may, of course, also be used as the partition identifier of each partition, and a md5 feature code may be used by those skilled in the art to make a detailed data transformation for designing the partition identifier.
Referring to fig. 3, the display frame is in a proportional relationship with the planar distribution of the beads in the lamp body of the atmosphere lamp device, so that each partition divided in the display frame is in a mapping relationship with each bead in the lamp body, and therefore, the mapping relationship data between each partition and each bead in the planar distribution of the beads is determined.
For example, in the area color matching page shown in fig. 3, the illustrated partition 303 divided in the illustrated display frame 301 also has a corresponding light bead planar distribution partition in the light bead planar distribution in a relationship with the illustrated display frame 301, and each light bead located in each distribution position in the light bead planar distribution partition can be actually mapped to each light bead located in each distribution position in the light body.
Referring to fig. 3 and 4, a user may add a new partition to an initial partition in the display frame to divide each light bead in the light bead plane distribution into more partitions, such as the area color matching page shown in fig. 3, the user may click the partition number adjustment control 302 shown in the area color matching page to add a new partition in the display frame 301, when the user adds a new partition through the partition number adjustment control 302, the area color matching page shown in fig. 3 will change to the area color matching page shown in fig. 4, the display screen 401 shown in the area color matching page shown in fig. 4 adds a partition 403, from two partitions in the display frame 301 shown in fig. 3 to three partitions in the display frame 401 shown in fig. 4, and the partition number adjustment control 402 shown in fig. 4 characterizes 3 partitions, and accordingly, the user may also remove the partitions in the display frame, for example, by clicking the partition number adjustment control 402 shown in the touch, to remove the partitions 401 shown in the display frame, and generally change the display frame 401 shown in the order of the display frame 401, which is ordered by removing the partitions 401 shown in the display frame 401.
Referring to fig. 3 and 5, the partition isolation lines are used to isolate different partitions in the display frame, the user can modify the partition areas of two partitions adjacent to the partition isolation lines in the display frame by dragging the partition isolation lines in the display frame, so as to modify the number of the corresponding beads in the lamp of the two partitions, specifically, the user terminal responds to the partition isolation line selected to drag in the display frame, such as the region color-distributing page shown in fig. 3, the partition isolation line selected to drag in the display frame 301 is the partition line 305 shown, the user can modify the partition areas of the partition 303 adjacent to the partition line 305 and the partition 304 by dragging the partition isolation line 305 shown in the display frame, when the user drags the partition isolation line adjacent 305 to the partition 301 below the display frame 301 shown, the partition area of the partition 304 is increased, such as the region color-distributing page shown in fig. 5, the partition color-distributing page shown in the display frame 504 is selected to drag in the display frame, the partition area of the partition 301 shown in the display frame 501 is larger than the partition area of the partition 301 shown in the display frame 501, and the partition area of the partition 303 shown in the display frame 301 shown in the display frame 501 is more than the partition area of the partition 301 shown in the display frame 301 shown and the partition area of the partition 301 is more than the partition area of the partition area 301 shown in the display frame 301 shown is shown in the display frame 501.
In order to remind a user of adjusting the area of a partition in a display frame, when the area of the partition corresponding to the area of the partition in the atmosphere lamp device is adjusted, when the user drags partition isolation lines in the display partition, after determining two target partitions adjacent to the partition isolation lines, a user terminal pushes an area adjustment lamp effect command for controlling the light emission of the lamp beads in the two target partitions in real time to the atmosphere lamp device, so as to drive a controller of the atmosphere lamp device, in response to the area adjustment lamp effect command, controls the area adjustment lamp effect of the lamp beads contained in the two target partitions in the atmosphere lamp device, and the lamp colors emitted by the lamp beads changed by the two target partitions are different from each other, for example, the lamp colors emitted by the lamp beads positioned above the target partitions on the partition isolation lines are different from each other, and the lamp colors emitted by the lamp beads positioned below the partition isolation lines in the lamp body are blue, and the lamp colors emitted by the lamp beads in red in the lamp body are synchronously pushed to the target partitions, and the user terminal monitors the area adjustment lamp effect command of the lamp beads in real time in the partition in the display frame, when the area of the lamp device is correspondingly increased, for example, the lamp colors emitted by the lamp beads in the two target partitions on the second partition isolation lines are synchronously changed, and the lamp color is synchronously changed, for example, the lamp colors emitted by the lamp beads in the target partitions are synchronously changed in the two target partitions in the partition isolation line, and the number of the lamp beads which emit the lamp light color corresponding to the first target partition in the atmosphere lamp equipment is reduced.
Step S13, responding to the partition color matching event, and determining the light color configuration of the selected partition in the display picture;
After the user divides different partitions of the lamp beads acting on the lamp body of the atmosphere lamp device through the display picture in the regional color matching page, the lamp color configuration of each partition is set so as to adjust the luminous lamp effect of the lamp beads contained in the lamp body in the different partitions.
The partition color matching event is an event triggered when a user selects any partition setting corresponding light color configuration in a display picture in the region color matching page.
In order to facilitate the user to observe the actual corresponding position of the lamp beads in the lamp body of the atmosphere lamp device in the current partition with the light color setting, when the user selects a certain partition in the regional color matching page to set the corresponding light color configuration of the lamp body, the user terminal responds to the partition color matching event to determine the selected target partition in the display frame, determine one or more target lamp beads mapped in the lamp body of the atmosphere lamp device by the target partition, generate the selected prompt lighting instruction acting on each target lamp bead, push the prompt lighting instruction to the atmosphere lamp device, drive the atmosphere lamp device to control each target lamp bead in the lamp body to send out the selected prompt lamp effect, so that the partition with the corresponding light color configuration currently set by the user can synchronously send out the selected prompt lamp effect, and the user can conveniently determine the actual position of each lamp bead in the atmosphere lamp body of the partition with the corresponding light color configuration currently set by observing each lamp bead with the selected prompt lamp effect in the atmosphere lamp device.
The user can select to set the corresponding light color configuration for a single partition, so that different partitions have independent light effect lighting logic, the setting mode of the light color configuration is called a partition independent color matching mode, in addition, the user can also select to set a uniform light color group for each partition, so as to link each partition to construct the corresponding light color configuration based on the uniform light color group, and the setting mode of the light color configuration is called a partition linked color matching mode.
Referring to fig. 6, regarding the partition independent color matching mode, a user may set different light colors for different partitions to construct respective corresponding light color configurations of different partitions, that is, the light colors of the partitions are different, so that the corresponding light beads of the partitions in the light body of the atmosphere light device emit different light effects, in the color matching page of the display area shown in fig. 6, the control for setting the light color configuration of the partition 602 is the light color setting control 603 shown, 5 light colors are set for the partition 602 shown in the light color setting control 603, and the 5 light colors are arranged from left to right, the left to right ordering characterizes the sequential lighting order of the 5 light colors in the light beads corresponding to the illustrated partition 602, and therefore, the light color configuration generated for the illustrated partition 602 will have 5 light colors in the illustrated light color setting control 603, and the color lighting order characterizing the lighting order of the 5 light colors in the light beads corresponding to the illustrated partition 602, and the control for setting the light color configuration of the illustrated partition 604 is the illustrated light color setting control 605, where only one light color exists in the illustrated light color setting control 605, and therefore, the light color configuration generated for the illustrated partition 604 has only one light color in the illustrated light color setting control 605, and does not need to have a corresponding color lighting order.
Referring to fig. 7, regarding the partition linkage color matching mode, a user may set a set of light colors to apply the set of light colors to each partition in the display frame, the lights of each partition will be linked to emit the light colors of the set of light colors, such as 5 light colors in the illustrated linkage light color setting control 705 in the display region color matching page shown in fig. 7, which are applied to the illustrated partition 702, the illustrated partition 703 and the illustrated partition 704 in the illustrated display frame 701, and in order to make the light colors emitted by the light beads corresponding to different partitions within the same time as different as possible, so as to form a linkage lighting effect, generally, the corresponding first lighting light color will be determined for each partition from each light color according to the configuration sequence corresponding to each light color and the sequence of each partition in the display frame, and determining the lighting sequence of other lighting colors except the first lighting color in the partition, determining the first lighting color for each partition, and the other lighting colors are the subsequent lighting sequence, so as to generate lighting color configurations of each partition, for example, 5 lighting colors in the illustrated linkage lighting color setting control 705 are respectively "yellow", "orange", "pink", "purple" and "blue", the first lighting color of the illustrated partition 702 is "yellow", the corresponding lighting sequence is "orange", "pink", "purple" and "blue", the first lighting color of the illustrated partition 703 is "orange", the corresponding lighting sequence is "orange", "pink", "purple", "blue" and "yellow", the first light of the illustrated partition 704 is "pink" in color and the corresponding colors are "pink", "purple", "blue", "yellow" and "orange" in light emission order.
And step S14, responding to a lighting effect application event, generating lighting effect control information of the lamp body according to the layout sequence of each partition in the display picture and the corresponding lighting color configuration thereof, and sending the lighting effect control information to the atmosphere lamp equipment.
When a user divides different partitions in a display frame of the regional color matching page and sets the light color configuration of each partition, the user can divide each partition and the light color configuration of each partition through the regional color matching page by using the regional color matching page, which is divided by a lamp body of atmosphere lamp equipment in the display frame, so as to trigger a corresponding light effect application event, enable a user terminal to respond to the light effect application event, generate a layout sequence representing the layout of each partition in the lamp body, further generate light effect control information with the layout sequence and the light color configuration of each partition, push the light effect control information into the atmosphere lamp equipment, drive the atmosphere lamp equipment to divide each lamp bead in the lamp body into each partition based on the layout sequence, and control the light effect emitted by each lamp bead in each partition according to the light color configuration corresponding to each partition.
The layout sequence is composed of mapping relation data of each partition in the display frame and each lamp bead in the lamp bead plane distribution, and each mapping relation data in the layout sequence is ordered according to partition identifications thereof, for example, the display frame is provided with a partition A ordered first, a partition B ordered second and a partition C ordered third, therefore, the partition identifications of the partition A are generally 1, the partition identifications of the partition B are generally 2, and the partition identifications of the partition C are generally 3, and correspondingly, the mapping relation data of each lamp bead divided into the partition A in the lamp bead plane distribution is positioned at the front ordering position in the layout sequence, and the mapping relation data of each lamp bead divided into the partition B and the partition C is positioned behind each mapping relation data of the partition A in the layout sequence.
In order to prevent that a user cannot send any light effect to the corresponding light beads in the light body of the atmosphere light device and is in a light-off state due to the fact that the corresponding light color configuration is not set for a certain partition, therefore, when a user terminal responds to a light effect application event, whether a target partition which does not have the light color configuration exists in a display frame of a color distribution page of a detection area, namely, whether the target partition which does not have the light color configuration exists is detected, when the existence of the target partition is detected, a prompt window which indicates that the target partition does not have the light color configuration is displayed in a graphical user interface so as to prompt the user that the target partition does not have the corresponding light color configuration, one or more target light beads mapped by the target partition in the light body of the atmosphere light device are determined, and then a color non-configuration prompt light-emitting instruction which acts on each target light bead is pushed to the atmosphere light device is driven, the target lamp device is driven to send a color non-configuration prompt light effect to the target bead, when the existence of the target partition which does not have the light color configuration is detected, a prompt window which indicates that the target partition which does not have the light color configuration is displayed in the light body is displayed in the graphical user interface is detected, the position of the corresponding light color configuration in the light body of the light device is not corresponding to the light color configuration is set to the light configuration, and the target bead is driven to the light device is not configured to the target bead or the color non-configuration, and the color prompt light effect is generally is stopped, and the color of the target bead is not configured to the target light bead is set to the target light color, and the target bead is driven to the target light is or the light device.
After the atmosphere lamp equipment receives the lamp effect control information pushed by the user terminal, returning the layout sequence contained in the lamp effect control information and the lamp color configuration corresponding to each partition mark, driving a controller of the atmosphere lamp equipment, determining the corresponding lamp beads in the lamp body at each distribution position according to the distribution position in the mapping relation data in the layout sequence, determining the lamp color configuration corresponding to the partition mark according to the partition mark in the mapping relation data of each lamp bead, controlling each lamp bead to emit the lamp effect of the corresponding lamp color configuration by using the lamp color in the lamp color configuration corresponding to the lamp beads, and controlling the corresponding lamp beads to sequentially emit each lamp color according to the color lighting sequence when the lamp color configuration has a plurality of lamp colors and color lighting sequences, wherein the controller controls each lamp pearl in the corresponding partition to emit the lamp color to form the corresponding lamp effect when the lamp color configuration has only one color lighting sequence.
On the basis of any embodiment of the method of the present application, please refer to fig. 1 and 8, before the step of displaying the color matching page of the area, the method comprises the following specific steps:
step S09, pushing a device connection instruction to atmosphere lamp devices which are in the same local area network with the user terminal;
The user terminal can search the local area network where the user terminal is located for the atmosphere lamp equipment connected to the local area network, select the corresponding atmosphere lamp equipment to push the equipment connection instruction to the atmosphere lamp equipment, drive the atmosphere lamp equipment to respond to the equipment connection instruction, and enable the user terminal and the atmosphere lamp equipment to be in equipment connection through the local area network.
And S10, after the device connection with the atmosphere lamp device, receiving the planar distribution of the lamp beads pushed by the atmosphere lamp device, wherein the planar distribution of the lamp beads is a planar matrix formed by a plurality of lamp beads in the lamp body.
Referring to fig. 1, after a user terminal establishes a device connection with the atmosphere lamp device, the user terminal obtains a planar distribution of the lamp beads pushed by the atmosphere lamp device into a lamp body, such as a lamp body 2 shown in fig. 1, where the lamp body 2 is composed of a plurality of lamp beads, such as a lamp bead 210 shown in fig. 1, and the distribution positions of the lamp beads in the lamp body 2 construct a corresponding planar distribution of the lamp beads.
According to the embodiment, after the user terminal is connected with the atmosphere lamp equipment, the plane distribution of the lamp beads presenting the distribution positions of the lamp beads in the lamp body of the atmosphere lamp equipment can be obtained, so that the user terminal can display the display picture in the area color matching page in a proportional relation with the plane distribution of the lamp beads, and further provide the user with convenient interaction for the page to divide the partitions of the lamp beads for setting the light colors.
On the basis of any embodiment of the method of the present application, please refer to fig. 3, 5 and 9, in response to a partition setting event, a partition identifier is added to the display frame, a new added partition is divided by the partition identifier on the basis of an original partition, and the step of determining mapping relationship data between each partition and the light beads in the light bead plane distribution includes the following specific steps:
Step S121, responding to a partition area adjustment event, and determining a partition isolation line currently dragged and adjusted in the display picture;
The partition isolation lines are used for isolating different partitions in the display picture, partition area division is carried out among the partitions in the display picture by the partition isolation lines, and a user can trigger a partition area adjustment event by dragging the partition isolation lines in the display picture so as to modify the partition areas of two partitions adjacent to the partition isolation lines in the display picture, and then modify the number of lamp beads corresponding to the two partitions in the lamp.
Step S122, two target partitions adjacent to the partition isolation line in the display frame are determined;
referring to fig. 3, as shown in the area color matching page of fig. 3, the partition isolation line selected for being dragged in the display frame 301 is the partition isolation line 305, and the user drags the partition isolation line 305 to modify the partition area of each of the partition 303 and the partition 304 adjacent to the partition isolation line 305.
And step S123, correspondingly modifying the partition areas of the two target partitions in the display frame according to the dragging distance of the partition isolation lines in the display frame.
Referring to fig. 3 and 5, when the user drags the partition isolation line adjacent 305 shown in fig. 3 to the lower side of the display frame 301, the partition area of the partition 303 is increased, and the partition area of the partition 304 is reduced, as shown in the area color matching page of fig. 5, the partition isolation line adjacent 504 shown in the display frame 501 moves downward compared to the partition isolation line 305 shown in the display frame 301, and the partition 502 shown in the display frame 501 has a larger partition area compared to the partition 303 shown in the display frame 301, and the partition area of the partition 304 shown in the display frame 301 shown in the partition 503 shown in the display frame 501 is smaller.
According to the embodiment, different partitions are isolated by partition isolation lines in the display picture, a user can drag the partition isolation lines to adjust the partition areas of two adjacent partitions, and then the number of the corresponding lamp beads in the lamp is increased, so that the simple and easily understood partition area adjusting mode is convenient for the user to get on the hand, and the partition area adjusting efficiency of the user is improved.
On the basis of any embodiment of the method of the present application, please refer to fig. 10, in response to a partition color event, the step of determining the light color configuration of the selected partition in the display frame includes the following specific steps:
Step S131, determining a selected target partition in the display picture in response to a partition color matching event;
When a user selects a certain partition in the regional color matching page to set the corresponding light color configuration, a partition color matching event acting on the partition is triggered, and the user terminal responds to the partition color matching event and determines the partition as a target partition selected for the light color configuration setting in the display picture.
Step S132, determining one or more target lamp beads mapped by the target partition in a lamp body of the atmosphere lamp device, and generating a selected prompt lighting instruction acting on each target lamp bead;
After determining the target partition selected for the light color configuration setting in the display picture, determining one or more target lamp beads mapped by the target partition in the lamp body of the atmosphere lamp device, and further locating the selected prompt luminous instructions acting on the target lamp beads.
Step S133, pushing the prompt lighting instruction to the atmosphere lamp device to drive the atmosphere lamp device to control each target lamp bead in the lamp body to send out a selected prompt lamp effect.
Generating the selected prompt lighting instruction acting on each target lamp bead mapped by the selected target partition in the display picture, lifting the selected prompt lighting instruction to atmosphere lamp equipment, and controlling each target lamp bead to send out a selected prompt lamp effect by a driving controller after the atmosphere lamp equipment obtains the selected prompt lighting instruction, wherein the selected prompt lamp effect is generally a lamp effect which flashes and emits light in blue lamp light color.
According to the above embodiment, it can be seen that, in order to facilitate the user to observe the position of the lamp bead actually corresponding to the lamp bead in the lamp body of the atmosphere lamp device, the lamp bead mapped in the lamp body of the atmosphere lamp device by the selected partition will send out the selected prompting lamp effect to prompt the user of the lamp bead mapped in the partition currently provided with the lamp color configuration.
On the basis of any embodiment of the method of the present application, please refer to fig. 6 and 11, in response to the partition color event, the step of determining the light color configuration of the selected partition in the display frame includes the following specific steps:
Step S131', responding to the partition color matching event of the partition independent color matching mode, and determining a selected target partition in the display picture;
the user can choose to set the corresponding light color configuration for a single partition, so that different partitions have independent light effect lighting logic, and the setting mode of the light color configuration is called a partition independent color matching mode.
Step S132', when the number of the lamplight colors edited for the target subarea is a plurality of, acquiring a plurality of lamplight colors and color luminous sequences, and generating lamplight color configurations with the lamplight colors and the color luminous sequences;
Referring to fig. 6, in the color matching page of the display area shown in fig. 6, a control for setting a light color configuration of the shown partition 602 is a shown light color setting control 603, 5 light colors are set for the shown partition 602 in the shown light color setting control 603, and the 5 light colors are arranged from left to right, and the sequence from left to right characterizes the sequential light-emitting sequence of the light beads corresponding to the 5 light colors in the shown partition 602, so that besides the 5 light colors set for the partition 602, a color light-emitting sequence characterizing the 5 light colors from left to right in the shown light color setting control 603 is also acquired, and further a light color configuration with 5 light colors and the light-emitting sequence of the shown light colors is generated for the shown partition 602.
And step S133', when the light color edited for the target partition is single, acquiring the light color, and generating a light color configuration with the light color.
Referring to fig. 6, in the color matching page of the display area shown in fig. 6, the control for setting the light color configuration of the partition 604 is the light color setting control 605, and only one light color exists in the light color setting control 605, so that only one light color in the light color setting control 605 is included in the light color configuration generated for the partition 604, and the corresponding color lighting sequence is not required.
According to the embodiment, the user can independently set the corresponding light color configuration for each partition divided in the display picture through the partition independent color matching mode, so that the lamp beads mapped by each partition in the atmosphere lamp device can independently emit different light effects, and the atmosphere lamp device customization setting experience of the user is improved.
On the basis of any embodiment of the method of the present application, please refer to fig. 7 and 12, in response to a partition color event, the step of determining the light color configuration of the selected partition in the display frame includes the following specific steps:
Step S131, responding to the partition color matching event of the partition linkage color matching mode, and determining all the partitions in the display picture as selected target partitions;
The user can select to set a uniform light color group for each partition, so as to link each partition to construct a corresponding light color configuration based on the uniform light color group, and the light color configuration set for each partition can enable the lamp beads mapped by each partition to emit light effects by using different light colors in the light color group as much as possible in the same time, and the setting mode of the light color configuration is called a partition linked color matching mode.
Step S132', a plurality of light colors edited for each target partition are obtained, and corresponding first luminous light colors are determined from the light colors for each target partition according to the configuration sequence corresponding to each light color and the ordering of each target partition in the display frame;
Referring to fig. 7, in order to make the light colors emitted by the light beads mapped by different partitions within the same time as different as much as possible, so as to form a coordinated lighting effect, the corresponding first lighting color is determined for each partition from each light color according to the configuration sequence corresponding to each light color and the sequence of each partition in the display frame, as in the color matching page of the display area shown in fig. 7, 5 light colors in the coordinated light color setting control 705 are respectively "yellow", "orange", "pink", "purple" and "blue", 5 light colors act on the partition 702, the partition 703 and the partition 704 in the display frame 701 as light color groups, wherein the partition in the first sequencing of the display frame 701 is the partition 702, the first lighting color is "yellow", the partition 703 in the second sequencing is the partition 703, the first lighting color is "orange", and the partition 704 in the third sequencing is the partition 704, and the first lighting color is "pink".
Step S133", generating, for each target partition, a color lighting sequence in which the first lighting light color is the first lighting position, and the other lighting colors are subsequent lighting positions, so as to provide each target partition with a lighting color configuration in which each lighting color and the color lighting sequence.
Referring to fig. 7, in the color matching page of the display area shown in fig. 7, 5 light colors in the illustrated coordinated light color setting control 705 are "yellow", "orange", "pink", "purple", and "blue", the first light color of the illustrated partition 702 is "yellow", the corresponding color light emission sequence is "yellow", "orange", "pink", "purple", and "blue", the first light color of the illustrated partition 703 is "orange", the corresponding color light emission sequence is "orange", "pink", "purple", "blue", and "yellow", the first light color of the illustrated partition 704 is "pink", and the corresponding color light emission sequence is "pink", "purple", "blue", "yellow", and "orange".
According to the embodiment, the user can set a group of lamp light colors through the partition linkage color matching mode, so that each partition in the display picture generates the corresponding lamp light color configuration by using the group of lamp light colors, and the efficiency of editing the lamp light color configuration by the user is improved.
On the basis of any embodiment of the method of the present application, please refer to fig. 13, in response to a lighting effect application event, the lighting effect control information of the lighting body is generated according to the layout sequence of each partition in the display picture and the corresponding lighting color configuration, and the method comprises the following specific steps:
Step S141, responding to a lighting effect application event, and detecting whether a target partition which does not have lighting color configuration exists in the display picture;
And after the user terminal responds to the light effect application event, detecting whether a target partition which does not have the light color configuration exists in the display frame of the region color matching page, namely detecting whether the target partition which does not have the light color configuration exists.
Step S142, when the target partition exists, a prompt window indicating that the light color configuration is not set for the target partition is displayed, and one or more target lamp beads mapped by the target partition in a lamp body of atmosphere lamp equipment are determined;
when the target partition which does not have the lamplight color configuration exists in the regional color matching page, one or more target lamp beads mapped by the target partition in the lamp body of the atmosphere lamp device are determined.
Step S143, pushing a color non-configuration prompt lighting instruction acting on each target lamp bead to the atmosphere lamp equipment, and driving each target lamp bead in the atmosphere lamp equipment control lamp body to emit a color non-configuration prompt lamp effect;
Determining one or more target lamp beads mapped by a target partition in a lamp body of atmosphere lamp equipment, generating a color unconfigured prompt luminous instruction for driving each target lamp bead to send out a color unconfigured prompt lamp effect, pushing the color unconfigured prompt luminous instruction into the atmosphere lamp equipment, and controlling each target lamp bead in the lamp body to send out the color unconfigured prompt lamp effect through a controller after the atmosphere lamp equipment responds to the color unconfigured prompt luminous instruction so as to prompt the position of the corresponding target lamp bead of the target partition which is not provided with the light color configuration in the lamp body of the atmosphere lamp equipment, wherein the color unconfigured prompt lamp effect can be generally set as red or yellow light lamp effect
Step S144, responding to the partition color matching event acting on the target partition, obtaining the lamplight color configuration of the target partition, pushing the prompt lighting stopping instruction acting on each target lamp bead to the atmosphere lamp equipment, and driving each target lamp bead in the atmosphere lamp equipment control lamp body to stop sending out prompt lamp effects with unconfigured color.
After the user sets the corresponding light color configuration for the target partition, the user terminal pushes a prompt lighting stopping instruction acting on each target lamp bead to the atmosphere lamp equipment so as to drive the atmosphere lamp equipment to respond to the prompt lighting stopping instruction, and the controller controls each target lamp bead in the lamp body to stop sending out the prompt lamp effect with the unconfigured color.
According to the embodiment, the detection of the partition not provided with the light color configuration is used for driving the atmosphere lamp device to control the lamp beads of the partition to emit the color non-configured prompt lamp effect, so that the user is intuitively reminded of the existence of the partition not provided with the light configuration, and the situation that the lamp beads corresponding to the partition cannot emit any lamp effect in the lamp body of the atmosphere lamp device and are in the light-off state due to the fact that the user does not set the corresponding light color configuration for a certain partition can be prevented.
Referring to fig. 14, another embodiment of the present application further provides a light color partition control device, which includes: the page display module 11 is configured to display an area color matching page, where the area color matching page displays display frames corresponding to the planar distribution of the lamp beads in the lamp body of the atmosphere lamp device, and the display frames are in a proportional relationship with the planar distribution of the lamp beads; the partition setting module 12 is configured to respond to a partition setting event, add a partition identifier to the display frame, divide a new partition based on an original partition by the partition identifier, and determine mapping relationship data between each partition and the lamp beads in the lamp bead plane distribution; a zone color module 13 for determining a light color configuration of a selected zone in the display frame in response to a zone color event; and the light effect application module 14 is configured to respond to a light effect application event, generate light effect control information of the light body according to the layout sequence of each partition in the display picture and the corresponding light color configuration thereof, and send the light effect control information to the atmosphere light equipment.
On the basis of any embodiment of the apparatus of the present application, the partition setting module 12 includes: the dragging isolation line determining unit is used for responding to the partition area adjusting event and determining a partition isolation line currently dragged and adjusted in the display picture; an adjacent partition determination unit configured to determine two target partitions adjacent to the partition isolation line in the display frame; and the partition area adjusting unit is used for correspondingly modifying the partition areas of the two target partitions in the display picture according to the dragging distance of the partition isolation lines in the display picture.
On the basis of any embodiment of the device of the application, the zoned color matching module 13 comprises: a selected partition determining unit configured to determine a selected target partition in the display frame in response to a partition color event; a prompt instruction generating unit, configured to determine one or more target lamp beads mapped by the target partition in a lamp body of an atmosphere lamp device, and generate a selected prompt lighting instruction acting on each target lamp bead; and the prompt light effect control unit is used for pushing the prompt light-emitting instruction to the atmosphere light equipment so as to drive the atmosphere light equipment to control each target light bead in the light body to emit the selected prompt light effect.
On the basis of any embodiment of the device of the present application, the zoned color matching module 13 further includes: the target partition determining unit is used for responding to the partition color matching event of the partition independent color matching mode and determining a selected target partition in the display picture; the multicolor independent configuration unit is used for acquiring a plurality of lamplight colors and color luminous sequences when the lamplight colors edited for the target subarea are a plurality of, and generating lamplight color configuration with each lamplight color and the color luminous sequence; and the single-color independent configuration unit is used for acquiring the lamplight color when the lamplight color edited for the target partition is single and generating lamplight color configuration with the lamplight color.
On the basis of any embodiment of the device of the present application, the zoned color matching module 13 further includes: the linkage color matching response unit is used for responding to the subarea color matching event of the subarea linkage color matching mode and determining all subareas in the display picture as selected target subareas; the first light color determining unit is used for obtaining a plurality of light colors edited for each target partition, and determining corresponding first light colors from each light color for each target partition according to the configuration sequence corresponding to each light color and the ordering of each target partition in the display picture; the color configuration generating unit is used for generating a color lighting sequence with the first lighting light color as a first lighting position for each target partition, and other lighting colors as subsequent lighting positions for each target partition, so that the lighting color configuration with each lighting color and the color lighting sequence is provided for each target partition.
On the basis of any embodiment of the device of the application, the lamp effect application module 14 comprises: the target partition determining unit is used for responding to the light effect application event and detecting whether a target partition which does not have light color configuration exists in the display picture; a target lamp bead determining unit, configured to display a prompt window indicating that the target partition is not set with a lamplight color configuration when the target partition exists, and determine one or more target lamp beads mapped by the target partition in a lamp body of an atmosphere lamp device; the prompting light effect control unit is used for pushing color non-configuration prompting light-emitting instructions acting on the target light beads to the atmosphere light equipment and driving the atmosphere light equipment to control the target light beads in the light body to emit color non-configuration prompting light effects; and the prompting lighting effect stopping unit is used for responding to the partition color matching event acting on the target partition, acquiring the light color configuration of the target partition, pushing prompting lighting stopping instructions acting on the target lamp beads to the atmosphere lighting equipment, and driving the atmosphere lighting equipment to control the target lamp beads in the lamp body to stop sending out the prompting lighting effect with the unconfigured color.
On the basis of any embodiment of the present application, please refer to fig. 15, another embodiment of the present application further provides a laser projection device, which includes a central processing unit, a memory, a ranging sensing unit, a laser galvanometer and a laser lamp, which can be deployed in a computer program implemented by the computer device for running the light color partition control method, as shown in fig. 15, an internal structure diagram of the computer device is shown. The computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected by a system bus. The nonvolatile storage medium of the computer device stores an operating system, a database and computer readable instructions, the database can store a control information sequence, and when the computer readable instructions are executed by a processor, the processor can realize a lamplight color partition control method. The processor of the computer device is used to provide computing and control capabilities, supporting the operation of the entire computer device. The memory of the computer device may have stored therein computer readable instructions that, when executed by the processor, cause the processor to perform a method of controlling a lighting color partition. The network interface of the computer device is for communicating with a terminal connection. It will be appreciated by those skilled in the art that the structure shown in fig. 15 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements are applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
The processor in this embodiment is configured to execute specific functions of each module/sub-module in the light color partition control device in fig. 14, and the memory stores program codes and various types of data required for executing the above modules. The network interface is used for data transmission between the user terminal or the server. The memory in this embodiment stores program codes and data required for executing all modules/sub-modules in the light color partition control device, and the server can call the program codes and data of the server to execute the functions of all the sub-modules.
The present application also provides a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the light color partition control method according to any of the embodiments of the present application.
The application also provides a computer program product comprising computer programs/instructions which when executed by one or more processors implement the steps of the method for controlling lighting color partition according to any one of the embodiments of the application.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
The foregoing is only a partial embodiment of the present application, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present application, and such modifications and adaptations are intended to be comprehended within the scope of the present application.
In summary, the application constructs the function of setting the partition lamp bead lamp effect for the atmosphere lamp device, and has the corresponding area color matching page, so that the user can define the lamp bead partition and the partition lamp effect setting of the atmosphere lamp device through the visual interface, thereby improving the use experience of the atmosphere lamp device of the user, and improving the operation efficiency of partitioning the lamp beads and setting the lamp color configuration of the user.

Claims (8)

1. The light color partition control method is characterized by comprising the following specific steps of:
The method comprises the steps of displaying an area color matching page, wherein the area color matching page displays display pictures corresponding to the planar distribution of lamp beads in a lamp body of atmosphere lamp equipment, and the display pictures are in proportional relation with the planar distribution of the lamp beads;
Responding to a partition setting event, adding a partition mark in the display picture, dividing a newly added partition on the basis of an original partition by the partition mark, and determining mapping relation data between each partition and the lamp beads in the lamp bead plane distribution;
determining a light color configuration of a selected partition in the displayed frame in response to a partition color event;
Responding to a light effect application event, generating light effect control information of the lamp body according to the layout sequence of each partition in the display picture and the corresponding light color configuration thereof, and sending the light effect control information to the atmosphere lamp equipment;
The step of determining the light color configuration of the selected subarea in the display picture in response to the subarea color matching event comprises the following specific steps:
responding to the partition color matching event of the partition independent color matching mode, and determining a selected target partition in the display picture;
When the number of the lamplight colors edited for the target subarea is multiple, acquiring a plurality of lamplight colors and a color luminous sequence, and generating lamplight color configuration with each lamplight color and each color luminous sequence;
when the light colors edited for the target subareas are single, obtaining the light colors, and generating a light color configuration with the light colors;
The step of responding to the lighting effect application event, generating the lighting effect control information of the lamp body according to the layout sequence of each partition in the display picture and the corresponding lighting color configuration, and sending the lighting effect control information to the atmosphere lamp equipment comprises the following specific steps:
Responding to a lighting effect application event, and detecting whether a target partition which does not have lighting color configuration exists in the display picture;
When the target partition exists, displaying a prompt window for indicating that the light color configuration is not set in the target partition, and determining one or more target lamp beads mapped by the target partition in a lamp body of atmosphere lamp equipment;
pushing color non-configuration prompt lighting instructions acting on all target lamp beads to the atmosphere lamp equipment, and driving all the target lamp beads in the atmosphere lamp equipment control lamp body to emit color non-configuration prompt lamp effects;
Responding to a partition color matching event acting on the target partition, acquiring the light color configuration of the target partition, pushing a prompt lighting stopping instruction acting on each target lamp bead to the atmosphere lamp equipment, and driving the atmosphere lamp equipment to control each target lamp bead in the lamp body to stop sending out a prompt lamp effect with a non-configured color.
2. The method for controlling the partitioning of light colors according to claim 1, wherein the step of displaying the color matching page of the area is preceded by the specific steps of:
pushing a device connection instruction to atmosphere lamp devices which are in the same local area network with the user terminal;
And after the device connection with the atmosphere lamp device, receiving the planar distribution of the lamp beads pushed by the atmosphere lamp device, wherein the planar distribution of the lamp beads is a planar matrix formed by a plurality of lamp beads in the lamp body.
3. The method for controlling light color partition according to claim 1, wherein in response to a partition setting event, adding a partition identifier to the display frame, dividing a new partition by the partition identifier on the basis of an original partition, and determining mapping relationship data between each partition and a light bead in the light bead plane distribution, the method comprises the following specific steps:
Responding to a partition area adjustment event, and determining a partition isolation line currently dragged and adjusted in the display picture;
determining two target partitions adjacent to the partition isolation line in the display frame;
And correspondingly modifying the partition areas of the two target partitions in the display picture according to the dragging distance of the partition isolation lines in the display picture.
4. The method of claim 1, wherein the step of determining a light color configuration for a selected section of the displayed frame in response to a section color event comprises the steps of:
Determining a selected target partition in the display frame in response to a partition color event;
determining one or more target lamp beads mapped by the target partition in a lamp body of atmosphere lamp equipment, and generating a selected prompt luminous instruction acting on each target lamp bead;
Pushing the prompt lighting instruction to the atmosphere lamp equipment so as to drive the atmosphere lamp equipment to control each target lamp bead in the lamp body to send out a selected prompt lamp effect.
5. The method of claim 1, wherein the step of determining a light color configuration for a selected section of the displayed frame in response to a section color event comprises the steps of:
responding to a partition color matching event of a partition linkage color matching mode, and determining all partitions in the display picture as selected target partitions;
Acquiring a plurality of light colors edited for each target partition, and determining corresponding first light-emitting light colors from each light color for each target partition according to the configuration sequence corresponding to each light color and the ordering of each target partition in the display picture;
Generating a light color configuration for each target partition, wherein the light color of the first light-emitting light is used as a first light-emitting position, and the other light colors are used as color light-emitting sequences of subsequent light-emitting positions.
6. A lighting color partition control apparatus, characterized by implementing the lighting color partition control method as set forth in any one of claims 1 to 5, comprising:
The page display module is used for displaying an area color matching page, the area color matching page displays display pictures corresponding to the planar distribution of the lamp beads in the lamp body of the atmosphere lamp equipment, and the display pictures are in proportional relation with the planar distribution of the lamp beads;
The partition setting module is used for responding to a partition setting event, adding a partition mark in the display picture, dividing a newly added partition on the basis of an original partition by the partition mark, and determining mapping relation data between each partition and the lamp beads in the lamp bead plane distribution;
the subarea color matching module is used for responding to subarea color matching events and determining the lamplight color configuration of the selected subarea in the display picture;
and the lamp effect application module is used for responding to a lamp effect application event, generating lamp effect control information of the lamp body according to the layout sequence of each partition in the display picture and the corresponding lamp color configuration thereof, and sending the lamp effect control information to the atmosphere lamp equipment.
7. An atmosphere lamp device, comprising a controller and a lamp body with lamp beads, wherein the controller is used for receiving lamp effect control information generated by the method according to any one of claims 1 to 5, and controlling the lamp beads of the lamp body to play the lamp effect according to the lamp effect control information.
8. A computer device comprising a central processor and a memory, characterized in that the central processor is arranged to invoke a computer program stored in the memory for performing the steps of the method according to any of claims 1 to 5.
CN202410217237.9A 2024-02-28 2024-02-28 Light color partition control method and device, equipment and medium thereof Active CN117794022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410217237.9A CN117794022B (en) 2024-02-28 2024-02-28 Light color partition control method and device, equipment and medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410217237.9A CN117794022B (en) 2024-02-28 2024-02-28 Light color partition control method and device, equipment and medium thereof

Publications (2)

Publication Number Publication Date
CN117794022A CN117794022A (en) 2024-03-29
CN117794022B true CN117794022B (en) 2024-05-17

Family

ID=90385377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410217237.9A Active CN117794022B (en) 2024-02-28 2024-02-28 Light color partition control method and device, equipment and medium thereof

Country Status (1)

Country Link
CN (1) CN117794022B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN209824094U (en) * 2019-04-26 2019-12-20 广州景晴光电科技有限公司 Touch controller compatible with various LED lights

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9763311B2 (en) * 2015-08-11 2017-09-12 Lumic Technology Inc. Interactive lighting effect portable light illuminating devices and system thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN209824094U (en) * 2019-04-26 2019-12-20 广州景晴光电科技有限公司 Touch controller compatible with various LED lights

Also Published As

Publication number Publication date
CN117794022A (en) 2024-03-29

Similar Documents

Publication Publication Date Title
US20140132180A1 (en) Lighting Control Device, Lighting Control System and Program Product
US10356883B2 (en) Lighting system, terminal, and method for setting lighting system
JP5535207B2 (en) Method and computer-implemented apparatus for controlling lighting equipment
JP2010505227A (en) Method and device for synthesizing illumination atmosphere from abstract description, and illumination atmosphere synthesis system
CN117082683B (en) Spliced lamp effect application and playing method and device, equipment and medium
CN117082684B (en) Method, device, equipment and medium for configuring and playing lamp effect of spliced lamp
JP2020013758A (en) Lighting system
US20200100344A1 (en) Illumination system and method for setting up illumination system
CN113141690A (en) Single-point controllable light-emitting device and system
US20180092187A1 (en) Lighting setting apparatus and lighting system
CN117425255B (en) Indoor lighting lamp, lamp efficiency configuration method, device and equipment
EP2852260A1 (en) Lighting control system
CN117521179B (en) Atmosphere lamp equipment, luminous partition layout construction method and device and computer equipment
CN117794022B (en) Light color partition control method and device, equipment and medium thereof
CN113571008B (en) Bright and dark line adjusting method, device and system of spliced display screen
CN117412449B (en) Atmosphere lamp equipment, lamp effect playing control method thereof, and corresponding device and medium
CN117202459A (en) Atmosphere lamp, controller thereof and lamp effect coordinated playing method and device
US20200334018A1 (en) Software development support device, software development support method, and software development support program
CN113778299A (en) Control method and device of lighting equipment, electronic equipment and storage medium
JP2012104449A (en) Lighting control system
CN112631532A (en) Bright and dark line adjusting method, device and system and computer storage medium
CN117794029B (en) Light emitting device, light effect light emitting area editing method, light emitting device, medium and product
US9795012B2 (en) Lighting system, controller, operation terminal, and address determining method
JP7344349B2 (en) Lighting systems and lighting control devices
CN214468015U (en) Splicing lamp belt and combined lamp belt

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