CN114340102B - Lamp strip control method, device, display equipment, system and storage medium - Google Patents

Lamp strip control method, device, display equipment, system and storage medium Download PDF

Info

Publication number
CN114340102B
CN114340102B CN202111681425.XA CN202111681425A CN114340102B CN 114340102 B CN114340102 B CN 114340102B CN 202111681425 A CN202111681425 A CN 202111681425A CN 114340102 B CN114340102 B CN 114340102B
Authority
CN
China
Prior art keywords
lamp
light
strip
beads
sub
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
CN202111681425.XA
Other languages
Chinese (zh)
Other versions
CN114340102A (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 Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202111681425.XA priority Critical patent/CN114340102B/en
Publication of CN114340102A publication Critical patent/CN114340102A/en
Priority to PCT/CN2022/102938 priority patent/WO2023109091A1/en
Application granted granted Critical
Publication of CN114340102B publication Critical patent/CN114340102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a lamp strip control method, which is used for display equipment, wherein the display equipment is connected with a lamp strip, the lamp strip comprises a plurality of sections of sub-lamp strips, and each section of sub-lamp strip corresponds to a plurality of lamp beads; the method comprises the following steps: acquiring target program information played by display equipment and a target light control strategy corresponding to the target program information; determining light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp bands and the lamp beads corresponding to each section of sub-lamp band; and sending the light driving data to the light strip so that the light strip can display and control the light beads according to the light driving data. The invention also discloses a lamp strip control device, a display device, a system and a storage medium. By using the method of the invention, the display device automatically obtains a plurality of light driving data corresponding to a plurality of lamp beads in the lamp band according to the target program information, the shape of the lamp band and the number of the lamp beads, thereby realizing the interactive control of the display device and the lamp band.

Description

Lamp strip control method, device, display equipment, system and storage medium
Technical Field
The present invention relates to the field of light control technologies, and in particular, to a method and apparatus for controlling a light band, a display device, a system, and a storage medium.
Background
The display device goes deep into thousands of households, plays an important role in enriching amateur cultural life, spreading culture, knowledge, news messages and the like of people, and becomes a feasible mode for installing atmosphere lamps (also called lamp bands) for the display device along with the increasing requirements of people on listening experience of the display device.
Currently, in the prior art, a display device is connected with a light strip, the display device provides power for the light strip, and the light strip performs display control of the light strip according to a preset display strategy.
However, the display control of the light strip is independent of the display device, so that the interaction between the display device and the light strip is lacking, and the effect of the light strip on improving the user listening experience is poor. Therefore, how to improve the connection and interaction between the light belt and the display device and improve the listening experience of the user is a technical problem that needs to be solved.
Disclosure of Invention
The invention mainly aims to provide a lamp strip control method, a device, display equipment, a system and a storage medium, which aim to solve the technical problem of how to improve the connection and interaction between a lamp strip and the display equipment in the prior art.
In order to achieve the above object, the present invention provides a light strip control method for a display device, where the display device is connected with a light strip, the light strip includes a plurality of segments of sub-light strips, and each segment of sub-light strip corresponds to a plurality of light beads; the method comprises the following steps:
Acquiring target program information played by the display equipment and a target light control strategy corresponding to the target program information;
Determining light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub lamp band;
and sending the light driving data to the light strip, so that the light strip can display and control the light beads according to the light driving data.
Optionally, the target program information includes image information; the step of determining a plurality of lamplight driving data corresponding to the lamp beads according to the target program information, the target lamplight control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub-lamp band comprises the following steps:
performing screen capturing operation on a display interface corresponding to the image information according to a target light control strategy corresponding to the image information to obtain screen capturing image information;
Determining an analysis area in the screen capturing image information according to the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip;
And obtaining light driving data corresponding to the lamp beads according to the pixel values of the analysis area.
Optionally, the obtaining light driving data corresponding to the lamp beads according to the pixel value of the analysis area specifically includes:
dividing the analysis area into a plurality of sub-areas;
acquiring an average value of all pixel values in the subarea;
And taking the average value as light driving data of the lamp beads corresponding to the subareas.
Optionally, before performing a screen capturing operation on the display interface corresponding to the image information according to the target light control policy corresponding to the image information to obtain screen capturing image information, the method further includes:
determining a maximum color duty cycle of the image information;
and executing the screen capturing operation on the display interface corresponding to the image information according to the target light control strategy corresponding to the image information when the maximum color ratio does not exceed the preset threshold value, and obtaining the screen capturing image information.
Optionally, the step of determining the maximum color ratio of the image information includes:
Acquiring histogram data corresponding to the image information;
Obtaining color data according to the histogram data;
And obtaining the maximum color duty ratio according to the color data.
Optionally, after the step of determining the maximum color ratio of the image information, the method further includes:
And when the maximum color duty ratio exceeds the preset threshold value, using the color data corresponding to the maximum color duty ratio as light driving data corresponding to a plurality of lamp beads.
Optionally, the target program information includes sound information; the step of determining a plurality of light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub-lamp band comprises the following steps:
Slicing the sound information to obtain a plurality of sound fragments;
Inputting the sound fragment into a sound lamp association model to obtain light change data corresponding to the sound fragment;
according to the lamplight change data, sound lamplight data are obtained;
and obtaining a plurality of lamplight driving data corresponding to the lamp beads according to the sound lamplight data, the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip.
Optionally, before the step of obtaining the target program information played by the display device and the target light control policy corresponding to the target program information, the method further includes:
Determining application scene information of the target program information;
And determining a target light control strategy corresponding to the application scene information according to a light control strategy set, wherein the light control strategy set comprises light control strategies corresponding to different application scene information.
Optionally, before the step of determining the light driving data corresponding to the plurality of light beads according to the target program information, the target light control strategy, the shape of the light band and the light beads corresponding to each segment of the sub light band, the method further includes:
receiving a selection instruction for the shape of the lamp strip;
determining the shape of the lamp strip according to the lamp strip shape selection instruction;
receiving a lamp bead number selection instruction;
And selecting instructions according to the shapes of the lamp bands and the number of the lamp beads to obtain a plurality of sections of sub lamp bands and the number of the lamp beads corresponding to each section of sub lamp bands.
In addition, in order to achieve the above purpose, the invention also provides a lamp strip control device, which is used for display equipment, wherein the display equipment is connected with a lamp strip, the lamp strip comprises a plurality of sections of sub-lamp strips, and each section of sub-lamp strip corresponds to a plurality of lamp beads; the device comprises:
the acquisition module is used for acquiring target program information played by the display equipment and a target light control strategy corresponding to the target program information;
The obtaining module is used for determining light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub lamp band;
And the sending module is used for sending the light driving data to the light strip so that the light strip can display and control the light beads according to the light driving data.
In addition, in order to achieve the above object, the present invention also proposes a display device including: a memory, a processor and a lamp strip control program stored on the memory and running on the processor, which when executed by the processor, implements the steps of the lamp strip control method as set forth in any one of the preceding claims.
In addition, in order to achieve the above objective, the present invention further provides a light control system, which includes a display device and a light strip, wherein the light strip includes a plurality of sub-light strips, each of the sub-light strips corresponds to a plurality of light beads, the display device stores a light strip control program, and the light strip control program when executed by the display device implements the steps of the light strip control method according to any one of the above claims.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a lamp band control program which, when executed by a processor, implements the steps of the lamp band control method as set forth in any one of the above.
The technical scheme of the invention provides a lamp strip control method which is used for display equipment, wherein the display equipment is connected with a lamp strip, the lamp strip comprises a plurality of sections of sub-lamp strips, and each section of sub-lamp strip corresponds to a plurality of lamp beads; the method comprises the following steps: acquiring target program information played by display equipment and a target light control strategy corresponding to the target program information; determining light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp bands and the lamp beads corresponding to each section of sub-lamp band; and sending the light driving data to the light strip so that the light strip can display and control the light beads according to the light driving data.
By using the method of the invention, the display device automatically obtains the light driving data corresponding to a plurality of light beads in the light band according to the target program information, the shape of the light band and the light beads corresponding to each section of sub-light band, so that the light band can display and control a plurality of light beads by using the light driving data, and the interactive control of the display device and the light band is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a display device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a lamp strip control method according to the present invention;
FIG. 3 is a schematic view of a first embodiment of a light strip installation location;
FIG. 4 is a schematic view of a second embodiment of a light strip installation location;
FIG. 5 is a block diagram of a first embodiment of a lamp strip control device according to the present invention;
fig. 6 is a block diagram of a first embodiment of a light control system according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a display device of a hardware running environment according to an embodiment of the present invention.
In general, a display device includes: at least one processor 301, a memory 302 and a light strip control program stored on said memory and executable on said processor, said light strip control program being configured to implement the steps of the light strip control method as described above.
Processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 301 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field-Programmable gate array), PLA (Programmable Logic Array ). Processor 301 may also include a main processor, which is a processor for processing data in an awake state, also referred to as a CPU (Central ProcessingUnit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 301 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. The processor 301 may also include an AI (ARTIFICIAL INTELLIGENCE ) processor for processing the relevant light strip control method operations so that the light strip control method model may be trained and learned autonomously, improving efficiency and accuracy.
Memory 302 may include one or more storage media, which may be non-transitory. Memory 302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the light strip control method provided by the method embodiments of the present application.
In some embodiments, the terminal may further optionally include: a communication interface 303, and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. The respective peripheral devices may be connected to the communication interface 303 through a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power supply 306.
The communication interface 303 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 301, the memory 302, and the communication interface 303 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 304 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 304 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 304 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (WIRELESS FIDELITY ) networks. In some embodiments, the radio frequency circuit 304 may further include NFC (NEAR FIELD Communication) related circuits, which is not limited by the present application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 305 is a touch screen, the display 305 also has the ability to collect touch signals at or above the surface of the display 305. The touch signal may be input as a control signal to the processor 301 for processing. At this point, the display 305 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display screen 305 may be one, the front panel of the display device; in other embodiments, the display screen 305 may be at least two, respectively disposed on different surfaces of the display device or in a folded design; in still other embodiments, the display 305 may be a flexible display disposed on a curved surface or a folded surface of the display device. Even more, the display screen 305 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 305 may be made of LCD (LiquidCrystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The power supply 306 is used to power the various components in the display device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 is not limiting of the display device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
In addition, the embodiment of the application also provides a storage medium, wherein the storage medium stores a lamp strip control program, and the lamp strip control program realizes the steps of the lamp strip control method when being executed by a processor. Therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the storage medium according to the present application, please refer to the description of the method embodiments of the present application. As an example, the program instructions may be deployed to be executed on one display device or on multiple display devices at one site or distributed across multiple sites and interconnected by a communication network.
Those skilled in the art will appreciate that all or part of the above-described methods may be implemented by a computer program for instructing relevant hardware, and the above-described program may be stored in a storage medium, and the program may include the steps of the above-described embodiments of the methods when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random access Memory (Random AccessMemory, RAM), or the like.
Embodiment one:
referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a light strip control method according to the present invention, the method includes the following steps:
Step S11: and acquiring target program information played by the display equipment and a target light control strategy corresponding to the target program information.
The execution subject of the present invention is a display device, and the display device is provided with a light strip control program, and when the display device executes the light strip control program, the steps of the light strip control method of the present invention are realized. The target program information generally refers to program information being output by the display device, and may be image information (especially, video frame information in video, application interface information where an image in non-video is determined to be later), sound information, or the like.
In the invention, the display device is connected with a lamp strip, and the lamp strip comprises a plurality of lamp beads. The lamp strip may be any type of atmosphere lamp, the invention is not limited, and in general, one lamp bead corresponds to an R unit (red unit), a G unit (green unit) and a B unit (blue unit), and by outputting different R values, G values and B values, the lamp bead presents different colors. The lamp strip includes a plurality of sections, and every section is a sub-lamp strip, and every sub-lamp strip can correspond a plurality of lamp pearls.
Referring to fig. 3-4, fig. 3 is a schematic view of a first embodiment of a light strip installation location, and fig. 4 is a schematic view of a second embodiment of a light strip installation location. In fig. 3, the light strip 1 is disposed above the display device 2, the light strip 1 is in a shape of a letter, and corresponds to one segment of sub-light strip at this time, and in fig. 4, the light strip 1 is disposed at the periphery of the display device 2, and is in an inverted U shape, and corresponds to three segments of sub-light strips at this time. In other embodiments, the user may set other positional relationships based on the requirement, and the present invention is not limited thereto, and the in-line shape and the inverted U shape are merely examples of the present invention, for example, the light strip surrounds four sides of the display device, and the like.
In some embodiments, the light strip may be in direct contact with the display device or the light strip may be disposed on a support structure adjacent the motor. Generally, the lamp strip has a plurality of lamp beads and a Microprocessor (MCU) for controlling the plurality of lamp beads, which may be LED lamp beads, through the microprocessor controlling the plurality of lamp beads.
The lamp strip can be provided with a Bluetooth module, and the lamp strip is connected with the Bluetooth module of the display device through the Bluetooth module, so that the communication between the lamp strip and the display device is realized.
After the light strip is connected to the display device when the light strip is installed, the light strip control program of the display device may output a setting interface on which a user may complete the setting of the light strip. The actual shape of the strip setting (e.g., the strip shape and inverted U shape described above) is entered into the strip control program, e.g., the strip is placed in a straight shape, the strip shape needs to be selected, and for example, the strip is placed in a straight shape, the strip shape needs to be selected in an inverted U shape, and the number of beads on each side is determined.
In some embodiments, the length of the light strip may be greater, and after the light strip is set by the user, the light strip usable and unusable light beads may be set, and the usable light beads may be unusable light beads entered in the light strip control program. The usable lamp beads are lamp beads which need to be controlled, the unusable lamp beads are lamp beads which do not need to be controlled, and the unusable lamp beads are possibly hidden in certain areas due to the fact that the lamp bands are too long.
The plurality of beads in step S11 are available beads, and the above-mentioned unavailable beads are not included.
Step S12: and determining a plurality of lamplight driving data corresponding to the lamp beads according to the target program information, the target lamplight control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub-lamp band.
Step S13: and sending the light driving data to the light strip, so that the light strip can display and control the light beads according to the light driving data.
And determining initial driving data corresponding to the lamp bands according to the target program information, wherein the initial driving data can comprise initial driving data of each lamp bead, and then adaptively adjusting the initial driving data of each lamp bead according to the shape of the lamp bands and the lamp beads corresponding to each section of the sub-lamp bands to obtain the lamp light driving data of each lamp bead.
It should be noted that, initial driving data corresponding to different target program information is different, so that a plurality of light driving data corresponding to a plurality of light beads are different; for the same initial driving data corresponding to the same program information, when the shapes of the lamp bands are different, the lamp driving data corresponding to the lamp beads are also different; for the same initial driving data corresponding to the same program information, when the shapes of the lamp bands are the same, and the number of the lamp beads corresponding to the sub lamp bands is different, a plurality of lamp light driving data corresponding to the corresponding lamp beads is also different.
For a plurality of lamp beads (available lamp beads) in the lamp strip, corresponding lamp bead numbers are provided, and when the display equipment obtains a plurality of lamp light driving data corresponding to the lamp beads according to initial driving data, the shape of the lamp strip and the lamp beads corresponding to the sub lamp strip, the lamp light driving data and the lamp bead numbers of the lamp beads are corresponding. After the lamp strip obtains a plurality of light driving data, the light driving data of each lamp bead are determined according to the lamp bead numbers in the plurality of light driving data so as to display and control the plurality of lamp beads.
The technical scheme of the invention provides a lamp strip control method which is used for display equipment, wherein the display equipment is connected with a lamp strip, the lamp strip comprises a plurality of sections of sub-lamp strips, and each section of sub-lamp strip corresponds to a plurality of lamp beads; the method comprises the following steps: acquiring target program information played by display equipment and a target light control strategy corresponding to the target program information; determining light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp bands and the lamp beads corresponding to each section of sub-lamp band; and sending the light driving data to the light strip so that the light strip can display and control the light beads according to the light driving data.
By using the method of the invention, the display device automatically obtains the light driving data corresponding to a plurality of light beads in the light band according to the target program information, the shape of the light band and the light beads corresponding to each section of sub-light band, so that the light band can display and control a plurality of light beads by using the light driving data, and the interactive control of the display device and the light band is realized.
Embodiment two:
Further, before determining the light driving data corresponding to the plurality of light beads according to the target program information, the target light control strategy, the shape of the light band and the light beads corresponding to each section of the sub light band, the method further includes: receiving a selection instruction for the shape of the lamp strip; determining the shape of the lamp strip according to the lamp strip shape selection instruction; receiving a lamp bead number selection instruction; and selecting instructions according to the shapes of the lamp bands and the number of the lamp beads to obtain a plurality of sections of sub lamp bands and the number of the lamp beads corresponding to each section of sub lamp bands.
After the light strip is connected to the display device when the light strip is installed, the light strip control program of the display device may output a setting interface on which a user may complete the setting of the light strip. Receiving a shape selection instruction, and recording the actual shape of the lamp strip (such as the straight shape and the inverted U shape of the lamp strip) into the lamp strip control program, for example, the lamp strip is placed in a straight shape, the shape of the lamp strip needs to be selected to be in a straight shape, and for example, the lamp strip is placed in a straight shape, and the shape of the lamp strip needs to be selected to be in an inverted U shape.
For different lamp strip shapes, the corresponding sub lamp strip sections are different, and according to the shape selection instruction, the set lamp strip shape continues to send the lamp bead number selection instruction to each section of sub lamp strip so as to determine the lamp bead number of each sub lamp strip.
For example, if the shape of the lamp strip is determined to be a straight line, the number of the lamp beads of the straight line lamp strip can be determined by only sending a lamp bead number selection instruction for the straight line lamp strip; if the shape of the light band is two sides or more (for example, the inverted U-shape is three sides, each side is a segment of sub-light band), the length of each side needs to be determined according to the light band shape selection instruction, and the number of light beads used for display on each side needs to be determined according to the light bead number selection instruction on each side, that is, one side corresponds to one sub-light band, and one sub-light band corresponds to one light bead number selection instruction.
Further, before the step of obtaining the target program information played by the display device and the target light control policy corresponding to the target program information, the method further includes: determining application scene information of the target program information; and determining a target light control strategy corresponding to the application scene information according to a light control strategy set, wherein the light control strategy set comprises light control strategies corresponding to different application scene information.
In the invention, the application scene information comprises a sound scene, an image scene, an atmosphere lamp scene and the like, wherein in the atmosphere lamp scene, the change of the program information of the display equipment cannot influence the change of the light driving data of the lamp beads, the light driving data of the lamp beads have a fixed atmosphere lamp strategy, and the fixed atmosphere lamp strategy can be obtained based on the setting of a user; the target program information of the display device may include music information or other sound information in a sound scene, and the target program information of the display device may include image information (particularly, video frame information in video information) in an image scene. And the display equipment automatically determines application scene information according to the target program information. In some embodiments, the user may further manually select the application scenario information, and the display device directly performs the step of determining the target light control policy corresponding to the application scenario information according to the light control policy set.
In general, for an application interface without sound (image information, but not in video), the light control policy may be determined as an atmosphere light control policy (the above-described fixed atmosphere light policy) corresponding to an atmosphere light scene.
And then, the display equipment determines a corresponding lamplight control strategy, namely a target lamplight control strategy, in the lamplight control strategy set according to the application scene information. The light control policy set generally includes a sound control policy, an image control policy, and an atmosphere lamp control policy, and determines a corresponding target light control policy according to application scene information (any one of an atmosphere lamp scene, a sound scene, and an image scene).
And then, determining a plurality of lamplight driving data corresponding to the lamp beads according to the target program information, the target lamplight control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub-lamp band.
Further, the target program information includes sound information; the step of determining a plurality of light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub-lamp band comprises the following steps: slicing the sound information to obtain a plurality of sound fragments; inputting the sound fragment into a sound lamp association model to obtain light change data corresponding to the sound fragment; according to the lamplight change data, sound lamplight data are obtained; and obtaining a plurality of lamplight driving data corresponding to the lamp beads according to the sound lamplight data, the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip.
The sound control strategy is the strategy for obtaining a plurality of light driving data through sound information. The sound lamp association model may be any form of model, such as a neural network model.
And acquiring training sound information and training light change data corresponding to the training sound information, and training the initial model by utilizing the training sound information and the training light change data to obtain a sound lamp association model.
For each sound clip corresponding to one light change data, the playing time length corresponding to one sound clip should not be excessively large, so as to avoid that the sound clip input into the sound light association model is excessively large, so that the analysis speed of the obtained light change data is slow, and the analysis accuracy is low.
Each sound clip corresponds to a sound playing time length, and the corresponding light change data is the change of the corresponding light color (including the colors of the three units of RGB) in the sound playing time length. And connecting the light change data of each sound fragment according to the connection mode of a plurality of sound fragments to obtain sound light data.
For each lamp bead, one piece of sound light data can be corresponding, and a plurality of lamp beads correspond to the respective sound light data.
And then, moderately adjusting the sound light data of each lamp bead according to the shape of the lamp strip and the number of the lamp beads, so as to obtain adjusted sound light data-light driving data.
For example, for an inverted U-shaped lamp strip, the lamp beads on the two sides are added with values of lamplight driving data (specific values of RGB) and the like, and the lamp beads on the top are not adjusted; and for the straight-line type lamp belt, the whole is not adjusted.
When the sound light data are the same, the number of the lamp beads is different, and the light driving data may be different. For another example, for the inverted U-shaped light band, when the number of the light beads at two sides is smaller than the first preset number, the value (specific value of RGB) of the light driving data of the light beads at two sides is increased, and when the number of the light beads at two sides is not smaller than the first preset number, the light beads at two sides are not adjusted, and the like.
It will be appreciated that the foregoing examples are merely illustrative, and the user may set a specific first preset number and a specific second preset number based on the requirement, or may determine a change relationship between the number of light beads and the light driving data based on the requirement, which is not limited by the present invention.
In some embodiments, the display device creates a recording thread, instantiating AudioRecord to continuously record sound information from a sound path internal to the display device chip. The universal interface is used for recording, so that the sound information is sampled at 48KHz, the sound data with high precision is not needed in consideration of the sound effect of the Bluetooth lamp band, and meanwhile, the problem of Bluetooth bandwidth is solved, and the sound information sampled at 48KHz is required to be sampled again at 8 KHz. The resampled data is stored in a ring buffer (the ring buffer is used for circularly storing 8KHz sampled audio data, the buffer is assumed to be N bytes in size, the storage is started from 0 to N bytes at first, and after the buffer is full, the storage is started from 0);
The display equipment creates another thread, the thread is a sound information sending thread, sound information is periodically taken out from the ring buffer and packaged according to protocol requirements, data is sent to the lamp band through the Bluetooth interface, and the lamp band performs display control based on the sound information;
In the two threads, ring buffer is a public resource, so that a thread lock is needed to be added when data is read and written so as to ensure the data security. Meanwhile, in the read and write actions of the ring buffer, the variable of the stored voice information byte number is maintained, the stored voice information byte number is correspondingly increased when data is written, and the byte number is correspondingly reduced after reading.
Further, the target program information includes image information; the step of determining a plurality of lamplight driving data corresponding to the lamp beads according to the target program information, the target lamplight control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub-lamp band comprises the following steps: performing screen capturing operation on a display interface corresponding to the image information according to a target light control strategy corresponding to the image information to obtain screen capturing image information; determining an analysis area in the screen capturing image information according to the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip; and obtaining light driving data corresponding to the lamp beads according to the pixel values of the analysis area.
The method for obtaining the lamplight driving data corresponding to the lamp beads according to the pixel values of the analysis area specifically comprises the following steps: dividing the analysis area into a plurality of sub-areas; acquiring an average value of all pixel values in the subarea; and taking the average value as light driving data of the lamp beads corresponding to the subareas.
Specifically, when the light band is in a straight shape (including a segment of sub-light band), contents 200 pixels high at the top of the screen are converted into RGB data to be supplied to the light band. The following are provided:
The screenshot image information is obtained by performing screenshot operation on a playing interface of the target program information, in this example, the screenshot image information may be a first picture (for example, a picture pic1 of 1920x 1080) with a preset size, the first picture is in an ARGB (A is an alpha value, RGB is an RGB color of a pixel point), the alpha value can be ignored during processing, the RGB value can be directly processed, all pixel points with 200 pixels high edges on pic1 are taken out, and a picture pic 2-intermediate image with a resolution of 1920x200 is obtained;
According to the number num1 of the lamp beads, pic2 is horizontally divided into num1 sub-areas, and each sub-area is 1920/num1 in width and 200 in height. And respectively accumulating the R/G/B values of all the pixel points of each sub-area to obtain sum1, dividing the accumulated sum1 by the total pixel points (1920 x 200/num 1) of the sub-area to obtain an R/G/B average value avgN (N is 1 to num 1) of the sub-area, wherein the R/G/B average value of one sub-area is the lamp driving data of the lamp bead corresponding to the sub-area.
When the light band is inverted U-shaped (including three sub-light bands, left side one segment, top one segment and right side one segment), contents of 200 pixels wide on the left side, 200 pixels high on the top and 200 pixels wide on the right side of the screen are converted into RGB data to be supplied to the light band, which comprises the steps of:
The screenshot image information is obtained by performing screenshot operation on a playing interface of the target program information, in this example, the screenshot image information may be a second picture (for example, 1920x1080 picture pic 3) with a preset size, the second picture is in an ARGB (A is an alpha value, RGB is the RGB color of a pixel point), and the alpha value can be ignored during processing, so that the RGB value is directly processed;
Rotating pic3 clockwise by 90 degrees to obtain pic4, and taking out 200 pixels of high content at the upper edge of pic4 to obtain a picture pic 5-intermediate image with 1080x200 resolution; according to the quantity numLeft of the left lamp beads in the inverted U-shaped mode, pic5 is horizontally divided into numLeft subareas, and the width of each subarea is 1080/numLeft and the height is 200;
Taking out 200 pixels of high content on the upper edge of pic3 to obtain a picture pic 6-intermediate image with the resolution of 1920x200, and horizontally dividing pic6 into numTop subregions according to the number numTop of the lamp beads in a straight mode, wherein the width of each subregion is 1920/numTop, and the height of each subregion is 200;
Rotating pic3 anticlockwise by 90 degrees to obtain pic7, taking out 200 pixels of high content at the upper edge of pic7 to obtain a picture pic 8-intermediate image with 1080x200 resolution, and horizontally dividing pic8 into numRight subareas according to the number numRight of right lamp beads in the inverted U-shaped mode, wherein the width of each subarea is 1080/numRight, and the height of each subarea is 200;
And respectively accumulating the R/G/B values of all the pixel points of each sub-area divided in the steps to obtain sum, dividing the accumulated sum by the total pixel point number of the sub-area, and calculating to obtain an R/G/B average value avgN of the sub-area, wherein the R/G/B average value of one sub-area is the lamp driving data of the lamp bead corresponding to the sub-area.
The total pixel points of the left edge image subareas are as follows: 1080 x 200/numLeft, the total pixel points of the top edge image sub-areas are: 1020 x 200/numTop. The total pixel points of the right edge image subregion are: 1080 x 200/numRight.
Based on the above description, each segment of sub-light band may correspond to a plurality of sub-areas, and the light driving data of the light beads corresponding to each sub-area are the same. Typically, each bead corresponds to a sub-region.
Further, before performing a screen capturing operation on a display interface corresponding to the image information according to the target light control strategy corresponding to the image information to obtain screen capturing image information, the method further includes: determining a maximum color duty cycle of the image information; and executing the screen capturing operation on the display interface corresponding to the image information according to the target light control strategy corresponding to the image information when the maximum color ratio does not exceed the preset threshold value, and obtaining the screen capturing image information.
Wherein the step of determining the maximum color ratio of the image information includes: acquiring histogram data corresponding to the image information; obtaining color data according to the histogram data; and obtaining the maximum color duty ratio according to the color data.
In this embodiment, the image information particularly refers to video frame information corresponding to video, that is, in this embodiment, the display device outputs video. Histogram data, i.e., an HSI histogram (H-tone histogram, S-saturation histogram, and I-luminance histogram) is acquired from the driving of the display device.
The definition of HSI is as follows: hue H (Hue): depending on the frequency of the light waves, it represents the perception of the human sense of different colors, such as red, green, blue, etc., it may also represent a range of colors, such as warm, cool, etc. Saturation S (Saturation): indicating the purity of the color, the pure spectral color is fully saturated and the addition of white light dilutes the saturation. The greater the saturation, the more vivid the color will look and vice versa. Brightness I (Intensity): the brightness of the color corresponds to the imaging brightness and the image gray scale.
The display device chip may directly provide the histogram information of the HSI. In the HSI histogram obtained from the chip driver, the tone histogram is an array of 32 steps (different chips, possibly different tone steps), and different colors are represented on different steps on the tone histogram. For example, for a pure red (255, 0) screen, the data on the array of hue histograms hueHist are: 255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0. In the hueHist array, hueHist [0] is the maximum value 255, and all other values are 0, and the color tone indicating the color with the largest current picture occupation ratio is on the 0 th order. The 32-order hue histogram divides the color disk (360 °) cut out under a certain luminance plane in the HSI color scheme into 32 angular spaces on average, and the 0 th order represents from 0 ° to 11.25 °.
In the HSI color space diagram: 0 ° Red, 60 ° Yellow, 120 ° Green, 180 ° Cyan, 240 ° Blue, 300 ° Magenta, and the like, the color being excessive, for example, from 0 ° to 60 °, and gradually changing from Red to Yellow. So hueHist [0] has the greatest value, indicating that the most occupied color in the current picture is red.
The histogram of saturation (S) is also a 32-order array (different chips, possibly of different orders), and the saturation of different colors is represented on the different orders on the saturation histogram. For example, for a pure red (255, 0) picture, the data on the array of saturation histograms satHist are: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255. In the satHist array, satHist [31] is the maximum value 255, and the other components are all 0, and the saturation components of the color with the largest proportion in all current pictures are all on the 31 st order. A saturation histogram of order 32 divides the average of 0% to 100% saturation into 32 levels, with order 0 representing the saturation component from 0 to 3.125%. The largest value of the first order indicates that the saturation of the most occupied color in the picture is in this order, so satHist [31] is the maximum value 255, indicating that the color saturation of the current picture is between 96.876% and 100%.
The histogram of luminance (I) is also an array of 32 orders (different chips, possibly of different orders), and different luminances are represented on different orders on the luminance histogram. For example, for a pure red (255, 0) picture, the data on the luminance histogram intHist array is: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.in the intHist array, intHist [6] is the maximum value 255, and all other values are 0, and the luminance component of the color having the largest proportion in the current screen is on the 6 th order. A luminance histogram of 32 steps, dividing 0% to 100% luminance into 32 levels on average, and 0 th step representing a luminance component from 0 to 3.125%. The largest value of that order indicates that the brightness of the most occupied color in the picture is at that order, so intHist [15] is the maximum value 255, indicating that the brightness of the most occupied color of the current picture is between 46.875 and 50%.
Specifically, the acquisition of color data (color data including red data R, blue data B, and green data G) is performed using the following steps:
For the tone histogram, the data sum hueSum in the tone histogram is calculated, then the maximum value hueMax in the tone histogram and the sequence number hueIndex corresponding to the tone histogram array are found, the duty ratio (hueMax/hueSum) of hueMax in hueSum is calculated, and whether the calculated result is larger than a judgment threshold value (for example, 60%) is judged. If the color value is larger than the threshold value, a target chromaticity value (hue angle) corresponding to hueMax needs to be calculated, and the method comprises the following steps: h1 =360 °/32 x hueindex;
For the saturation histogram, the data sum satSum in the saturation histogram is calculated, the maximum value satMax in the saturation histogram and the corresponding sequence number satIndex in the saturation histogram array are found, the duty ratio (satMax/satSum) of satMax in satSum is calculated, and whether the calculation result is larger than the judgment threshold (for example, 60%) is judged. If the saturation value is larger than the threshold value, a target saturation value corresponding to satMax needs to be calculated, and the method comprises the following steps: s1=1.0/32 x satindex;
For the luminance histogram data, the sum of the data intSum in the luminance histogram is calculated, the maximum value intMax in the luminance histogram and the number intIndex corresponding to the number in the luminance histogram array are found, the duty ratio (intMax/intSum) of intMax in intSum is calculated, and whether the calculation result is larger than the judgment threshold (for example, 60%) is judged. If the brightness value is larger than the threshold value, a target brightness value corresponding to intMax needs to be calculated, and the method comprises the following steps: i1=1.0/32 x intindex;
The preset database comprises a plurality of tone intervals, each tone interval corresponds to one calculation strategy, and in the invention, the plurality of tone intervals comprise: [0 °,120 °), [120 °,2400 °) and [240 °,360 °), the corresponding calculation strategies are as follows:
for the hue interval [0 °,120 °), the calculation strategy refers to formula one, which is as follows:
g=1-r-b
Where r is red data in the color data, g is green data in the color data, and b is blue data in the color data.
For the hue interval [120 °,240 °), the calculation strategy refers to formula two, which is as follows:
H2=H1-120°
g=1-r-b
for the hue interval [240 °,360 °), the calculation strategy refers to formula three, which is as follows:
H3=H1-240°
g=1-r-b
And determining the interval including the target tone value from the three tone intervals as a selected tone interval, wherein the corresponding calculation strategy is the selected calculation strategy (one of three formulas).
The color data obtained in the above manner is a floating point number normalized to a range of 0 to 1, and r, g, and b need to be multiplied by 255 to obtain corresponding color data, and the color data after multiplication by 255 is used for obtaining a plurality of light driving data corresponding to a plurality of the lamp beads, that is, the color data described below refers to the color data obtained after multiplication of 255 by rgb data obtained according to the above three formulas.
The color data includes color data corresponding to each pixel point in the image information, so that each pixel point corresponds to one color data (including red data, blue data and green data of the pixel point) for the target image; and counting the number of the same-color pixels of the pixels with the same color data, determining the color data with the largest number of the same-color pixels as the maximum color, and determining the ratio of the pixel with the maximum color to all the pixels of the image information as the maximum color ratio.
When the maximum color ratio exceeds a preset threshold (for example, 60 percent), the user sets the color data corresponding to the maximum color ratio as the light driving data corresponding to a plurality of lamp beads. And then, carrying out color adjustment on each lamp bead based on the maximum color by utilizing the shape of the lamp bead and the number of the lamp beads of each section of sub-lamp bead, and obtaining the adjusted maximum color corresponding to each lamp bead, wherein the maximum color (the form of color data) after each lamp bead is the lamp light driving data of the lamp bead.
And when the maximum color ratio exceeds a preset threshold value, obtaining corresponding light driving data according to the mode.
According to the invention, different light control strategies are provided for different application scene information, meanwhile, the display equipment can obtain light driving data which is more matched with the target program information of the display equipment by utilizing the different light control strategies, so that the display effect of the lamp beads of the lamp belt is more matched with the target program information of the display equipment, the interaction effect of the lamp belt and the display equipment is improved, and the user experience is improved.
Meanwhile, for image information, the invention provides the two light driving data obtaining modes (the maximum color ratio is larger than the preset threshold value and smaller than the preset threshold value), and the light driving data of the lamp beads can be more matched with the image information, so that the user experience is further improved.
Embodiment III:
Referring to fig. 5, fig. 5 is a block diagram showing a first embodiment of a lamp strip control apparatus according to the present invention, the apparatus being used for a display device connected to a lamp strip, the lamp strip including a plurality of lamp beads; based on the same inventive concept as the previous embodiments, the device comprises:
An obtaining module 10, configured to obtain target program information played by the display device and a target light control policy corresponding to the target program information;
The obtaining module 20 is configured to determine light driving data corresponding to a plurality of light beads according to the target program information, the target light control policy, the shape of the light band, and the light beads corresponding to each segment of the sub-light band;
And the sending module 30 is configured to send the light driving data to the light strip, so that the light strip performs display control on the light beads according to the light driving data.
Further, the target program information includes image information; the obtaining module 20 is specifically configured to perform a screen capturing operation on a display interface corresponding to the image information according to a target light control policy corresponding to the image information, so as to obtain screen capturing image information; determining an analysis area in the screen capturing image information according to the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip; and obtaining light driving data corresponding to the lamp beads according to the pixel values of the analysis area.
Further, an obtaining module 20 is specifically configured to divide the analysis area into a plurality of sub-areas; acquiring an average value of all pixel values in the subarea; and taking the average value as light driving data of the lamp beads corresponding to the subareas.
Further, the obtaining module 20 is further configured to determine a maximum color ratio of the image information; and executing the screen capturing operation on the display interface corresponding to the image information according to the target light control strategy corresponding to the image information when the maximum color ratio does not exceed the preset threshold value, and obtaining the screen capturing image information.
Further, the obtaining module 20 is further configured to obtain histogram data corresponding to the image information; obtaining color data according to the histogram data; and obtaining the maximum color duty ratio according to the color data.
Further, the apparatus further comprises:
And the driving data obtaining module is used for taking the color data corresponding to the maximum color duty ratio as light driving data corresponding to a plurality of lamp beads when the maximum color duty ratio exceeds the preset threshold value.
Further, the target program information includes sound information; an obtaining module 20, specifically configured to slice the sound information to obtain a plurality of sound clips; inputting the sound fragment into a sound lamp association model to obtain light change data corresponding to the sound fragment; according to the lamplight change data, sound lamplight data are obtained; and obtaining a plurality of lamplight driving data corresponding to the lamp beads according to the sound lamplight data, the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip.
Further, the apparatus further comprises:
The strategy determining module is used for determining application scene information of the target program information; and determining a target light control strategy corresponding to the application scene information according to a light control strategy set, wherein the light control strategy set comprises light control strategies corresponding to different application scene information.
Further, the apparatus further comprises:
The lamp band selection module is used for receiving a lamp band shape selection instruction; determining the shape of the lamp strip according to the lamp strip shape selection instruction; receiving a lamp bead number selection instruction; and selecting instructions according to the shapes of the lamp bands and the number of the lamp beads to obtain a plurality of sections of sub lamp bands and the number of the lamp beads corresponding to each section of sub lamp bands.
It should be noted that, since the steps executed by the apparatus of this embodiment are the same as those of the foregoing method embodiment, specific implementation manners and technical effects that can be achieved of the apparatus of this embodiment may refer to the foregoing embodiment, and will not be repeated herein.
By using the method of the invention, the display device automatically obtains the light driving data corresponding to a plurality of light beads in the light band according to the target program information, the shape of the light band and the light beads corresponding to each section of sub-light band, so that the light band can display and control a plurality of light beads by using the light driving data, and the interactive control of the display device and the light band is realized.
In addition, the invention has different light control strategies for different application scene information, and simultaneously, the display equipment can obtain the light driving data which is more matched with the target program information of the display equipment by utilizing the different light control strategies, so that the display effect of the lamp beads of the lamp belt is more matched with the target program information of the display equipment, the interaction effect of the lamp belt and the display equipment is improved, and the user experience is improved.
Meanwhile, for image information, the invention provides the two light driving data obtaining modes (the maximum color ratio is larger than the preset threshold value and smaller than the preset threshold value), and the light driving data of the lamp beads can be more matched with the image information, so that the user experience is further improved.
Embodiment four:
Referring to fig. 6, fig. 6 is a block diagram of a first embodiment of a light control system according to the present invention, the system includes a display device 1 and a light strip 2, the light strip 2 includes a plurality of segments of sub-light strips, each segment of sub-light strip corresponds to a plurality of light beads; the display device 1 stores a light strip control program which, when executed by the display device, implements the steps of the light strip control method as described above.
It should be noted that, since the steps executed by the system of the present embodiment are the same as those of the foregoing method embodiment, the specific implementation manner and the technical effects that can be achieved of the system of the present embodiment may refer to the foregoing embodiment, and will not be repeated herein.
The foregoing description is only of the optional embodiments of the present invention, and is not intended to limit the scope of the invention, and all the equivalent structural changes made by the description of the present invention and the accompanying drawings or the direct/indirect application in other related technical fields are included in the scope of the invention.

Claims (12)

1. The lamp strip control method is characterized by being used for display equipment, wherein the display equipment is connected with a lamp strip, the lamp strip comprises a plurality of sections of sub-lamp strips, and each section of sub-lamp strip corresponds to a plurality of lamp beads;
the method comprises the following steps:
Acquiring target program information played by the display equipment and a target light control strategy corresponding to the target program information;
Determining light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub lamp band;
Transmitting the light driving data to the light belt so that the light belt can display and control the light beads according to the light driving data;
The target program information includes image information; the step of determining a plurality of lamplight driving data corresponding to the lamp beads according to the target program information, the target lamplight control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub-lamp band comprises the following steps:
performing screen capturing operation on a display interface corresponding to the image information according to a target light control strategy corresponding to the image information to obtain screen capturing image information;
determining an analysis area in the screen capturing image information according to the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip; wherein the shape of the analysis region is the same as the shape of the light strip, and the analysis region and the light strip are disposed adjacent to each other;
And obtaining light driving data corresponding to the lamp beads according to the pixel values of the analysis area.
2. The method of claim 1, wherein the obtaining the light driving data corresponding to the lamp beads according to the pixel values of the analysis area specifically comprises:
dividing the analysis area into a plurality of sub-areas;
acquiring an average value of all pixel values in the subarea;
And taking the average value as light driving data of the lamp beads corresponding to the subareas.
3. The method of claim 1, wherein prior to performing a screen capture operation on a display interface corresponding to the image information according to a target lighting control strategy corresponding to the image information, obtaining screen capture image information, the method further comprises:
determining a maximum color duty cycle of the image information;
and executing the screen capturing operation on the display interface corresponding to the image information according to the target light control strategy corresponding to the image information when the maximum color ratio does not exceed the preset threshold value, and obtaining the screen capturing image information.
4. A method as claimed in claim 3, wherein the step of determining the maximum color duty cycle of the image information comprises:
Acquiring histogram data corresponding to the image information;
Obtaining color data according to the histogram data;
And obtaining the maximum color duty ratio according to the color data.
5. A method according to claim 3, wherein after the step of determining the maximum color ratio of the image information, the method further comprises:
And when the maximum color duty ratio exceeds the preset threshold value, using the color data corresponding to the maximum color duty ratio as light driving data corresponding to a plurality of lamp beads.
6. The method of claim 1, wherein the target program information comprises sound information; the step of determining a plurality of light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub-lamp band comprises the following steps:
Slicing the sound information to obtain a plurality of sound fragments;
Inputting the sound fragment into a sound lamp association model to obtain light change data corresponding to the sound fragment;
according to the lamplight change data, sound lamplight data are obtained;
and obtaining a plurality of lamplight driving data corresponding to the lamp beads according to the sound lamplight data, the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip.
7. The method of claim 1, wherein prior to the step of obtaining target program information for playback by the display device and a target light control strategy corresponding to the target program information, the method further comprises:
Determining application scene information of the target program information;
And determining a target light control strategy corresponding to the application scene information according to a light control strategy set, wherein the light control strategy set comprises light control strategies corresponding to different application scene information.
8. The method of any of claims 1-7, wherein prior to the step of determining a number of light driving data corresponding to the beads based on the target program information, the target light control strategy, the shape of the lamp strip, and the beads corresponding to each segment of the sub-lamp strip, the method further comprises:
receiving a selection instruction for the shape of the lamp strip;
determining the shape of the lamp strip according to the lamp strip shape selection instruction;
receiving a lamp bead number selection instruction;
And selecting instructions according to the shapes of the lamp bands and the number of the lamp beads to obtain a plurality of sections of sub lamp bands and the number of the lamp beads corresponding to each section of sub lamp bands.
9. The lamp strip control device is characterized by being used for display equipment, wherein the display equipment is connected with a lamp strip, the lamp strip comprises a plurality of sections of sub-lamp strips, and each section of sub-lamp strip corresponds to a plurality of lamp beads; the device comprises:
The acquisition module is used for acquiring target program information played by the display equipment and a target light control strategy corresponding to the target program information; the target program information includes image information;
The obtaining module is used for determining light driving data corresponding to a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp band and the lamp beads corresponding to each section of the sub lamp band;
the sending module is used for sending the light driving data to the light belt so that the light belt can display and control the light beads according to the light driving data;
The acquisition module is specifically used for performing screen capturing operation on a display interface corresponding to the image information according to a target light control strategy corresponding to the image information to acquire screen capturing image information; determining an analysis area in the screen capturing image information according to the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip; wherein the shape of the analysis region is the same as the shape of the light strip, and the analysis region and the light strip are disposed adjacent to each other; and obtaining light driving data corresponding to the lamp beads according to the pixel values of the analysis area.
10. A display device, the display device comprising: a memory, a processor and a lamp strip control program stored on the memory and running on the processor, which when executed by the processor, implements the steps of the lamp strip control method of any one of claims 1 to 8.
11. A light control system, characterized by comprising a display device and a light strip, the light strip comprising a plurality of sub-light strips, each of the sub-light strips corresponding to a plurality of light beads, the display device storing a light strip control program, the light strip control program when executed by the display device implementing the steps of the light strip control method according to any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that the storage medium has stored thereon a lamp strip control program which, when executed by a processor, implements the steps of the lamp strip control method according to any one of claims 1 to 8.
CN202111681425.XA 2021-12-17 2021-12-31 Lamp strip control method, device, display equipment, system and storage medium Active CN114340102B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111681425.XA CN114340102B (en) 2021-12-31 2021-12-31 Lamp strip control method, device, display equipment, system and storage medium
PCT/CN2022/102938 WO2023109091A1 (en) 2021-12-17 2022-06-30 Lamp strip control method, lamp strip system, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111681425.XA CN114340102B (en) 2021-12-31 2021-12-31 Lamp strip control method, device, display equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN114340102A CN114340102A (en) 2022-04-12
CN114340102B true CN114340102B (en) 2024-05-07

Family

ID=81022379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111681425.XA Active CN114340102B (en) 2021-12-17 2021-12-31 Lamp strip control method, device, display equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN114340102B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023109091A1 (en) * 2021-12-17 2023-06-22 深圳创维-Rgb电子有限公司 Lamp strip control method, lamp strip system, electronic device, and storage medium
CN117202459A (en) * 2023-11-02 2023-12-08 深圳市千岩科技有限公司 Atmosphere lamp, controller thereof and lamp effect coordinated playing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093240A (en) * 2014-06-30 2014-10-08 广东九联科技股份有限公司 System for intelligently adjusting environment light
CN111479371A (en) * 2020-04-07 2020-07-31 深圳创维-Rgb电子有限公司 Light control method, television and storage medium
CN112417659A (en) * 2020-11-12 2021-02-26 北京爱笔科技有限公司 Lamplight display control method, device and system, computer equipment and storage medium
CN112423438A (en) * 2020-10-20 2021-02-26 深圳Tcl新技术有限公司 Control method, device and equipment of intelligent lamp and computer readable storage medium
CN113573113A (en) * 2021-07-26 2021-10-29 深圳创维-Rgb电子有限公司 Projection lamp control method, smart television and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6364054B2 (en) * 2016-10-31 2018-07-25 シャープ株式会社 Light output system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093240A (en) * 2014-06-30 2014-10-08 广东九联科技股份有限公司 System for intelligently adjusting environment light
CN111479371A (en) * 2020-04-07 2020-07-31 深圳创维-Rgb电子有限公司 Light control method, television and storage medium
CN112423438A (en) * 2020-10-20 2021-02-26 深圳Tcl新技术有限公司 Control method, device and equipment of intelligent lamp and computer readable storage medium
CN112417659A (en) * 2020-11-12 2021-02-26 北京爱笔科技有限公司 Lamplight display control method, device and system, computer equipment and storage medium
CN113573113A (en) * 2021-07-26 2021-10-29 深圳创维-Rgb电子有限公司 Projection lamp control method, smart television and computer readable storage medium

Also Published As

Publication number Publication date
CN114340102A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN114340102B (en) Lamp strip control method, device, display equipment, system and storage medium
WO2023109091A1 (en) Lamp strip control method, lamp strip system, electronic device, and storage medium
CN117197261B (en) Atmosphere lamp equipment, color taking method thereof, corresponding device and medium
EP3996046A1 (en) Image-text fusion method and apparatus, and electronic device
CN104820537B (en) A kind of method and device for adjusting display effect of terminal
CN113299245B (en) Method and device for adjusting local backlight of display equipment, display equipment and storage medium
CN114040249A (en) Atmosphere lamp adjusting method and device based on picture, intelligent terminal and storage medium
CN110111279A (en) A kind of image processing method, device and terminal device
CN104240674A (en) Method for adjusting display unit and electronic equipment
US20070024538A1 (en) Display Apparatus and Display Control Method
CN117202451B (en) Atmosphere lamp equipment, and light-emitting control method, device and medium thereof
CN110996477B (en) Air conditioner lamp control method, computer device and computer readable storage medium
CN108765352B (en) Image processing method and electronic device
CN113597061A (en) Method, apparatus and computer readable storage medium for controlling a magic color light strip
CN113099233A (en) Video encoding method, video encoding device, video encoding apparatus, and storage medium
KR102070322B1 (en) Display apparatus and display panel driving method thereof
US9907143B2 (en) Lighting control device, lighting system, and program
CN116321627A (en) Screen atmosphere lamp synchronous control method, system and control equipment based on image pickup
US9462172B2 (en) Method, apparatus and computer program product for facilitating color communication
CN111028772B (en) Lamplight display method, lamplight display device, controller and storage medium
CN112669769A (en) Display screen box body parameter correction method and device, equipment and storage medium
CN117935712A (en) Pixel contrast control system and method
CN115223509A (en) Backlight control method, backlight control device, display equipment and computer readable storage medium
CN115767844A (en) Lamp effect control method and related equipment thereof
CN115880193A (en) Image processing method, image processing device, electronic equipment and storage medium

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