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

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

Info

Publication number
CN114340102A
CN114340102A CN202111681425.XA CN202111681425A CN114340102A CN 114340102 A CN114340102 A CN 114340102A CN 202111681425 A CN202111681425 A CN 202111681425A CN 114340102 A CN114340102 A CN 114340102A
Authority
CN
China
Prior art keywords
lamp
light
strip
lamp strip
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.)
Granted
Application number
CN202111681425.XA
Other languages
Chinese (zh)
Other versions
CN114340102B (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

Images

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 lamp light control strategy, the shape of the lamp strip and the lamp bead corresponding to each segment of sub lamp strip; and sending the plurality of light driving data to the lamp strip so that the lamp strip performs display control on the plurality of lamp beads according to the plurality of light driving data. The invention also discloses a lamp strip control device, display equipment, a system and a storage medium. By using the method, the display equipment automatically obtains a plurality of light driving data corresponding to a plurality of lamp beads in the lamp strip according to the target program information, the shape of the lamp strip and the number of the lamp beads, thereby realizing the interactive control of the display equipment and the lamp strip.

Description

Lamp strip control method and device, display equipment and system and storage medium
Technical Field
The invention relates to the technical field of light control, in particular to a method, a device, display equipment, a system and a storage medium for controlling a lamp strip.
Background
Display device gos deep into everyone family, has played the important function in the aspect of richening people's amateur cultural life, propagation culture, knowledge and news message etc. along with people experience requirement to display device's audition is higher and higher, becomes a feasible mode for display device installation atmosphere lamp (also called lamp area).
At present, in the prior art, display device is connected with the lamp area, and the lamp area is provided with the power by display device, and the lamp area carries out the display control in lamp area according to the display strategy that presets.
However, the display control of the lamp strip is independent of the display device, so that the display device and the lamp strip lack interaction, and the effect of the lamp strip on improving the audition experience of the user is poor. Therefore, how to improve the contact and interaction between the lamp strip and the display device and improve the audition experience of the user is a technical problem which needs to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a lamp strip control method, a lamp strip control device, display equipment, a lamp strip control system and a storage medium, and aims to solve the technical problem of how to improve the relation and interaction between a lamp strip and the display equipment in the prior art.
In order to achieve the purpose, the invention provides a lamp strip control method which is used for a display device, wherein the display device is connected with a lamp strip, the lamp strip comprises a plurality of sections of sub lamp strips, and each section of the 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 strip and the lamp bead corresponding to each segment of the sub lamp strip;
and sending the plurality of light driving data to the lamp strip so that the lamp strip displays and controls the plurality of lamp beads according to the plurality of light driving data.
Optionally, the target program information includes image information; the step of determining the light driving data corresponding to a plurality of lamp beads according to the target program information, the target lamp light control strategy, the shape of the lamp strip and the lamp bead corresponding to each segment of the sub-lamp strip comprises the following steps:
according to a target light control strategy corresponding to the image information, performing screen capture operation on a display interface corresponding to the image information to obtain screen capture image information;
determining an analysis area in the screen capture image information according to the shape of the lamp strip and the lamp bead corresponding to each section of the sub lamp strip;
and obtaining the light driving data corresponding to the lamp beads according to the pixel values of the analysis areas.
Optionally, the obtaining of the light driving data corresponding to the lamp bead according to the pixel value of the analysis region specifically includes:
dividing the analysis region into a number of sub-regions;
acquiring an average value of all pixel values in the sub-area;
and taking the average value as the light driving data of the lamp beads corresponding to the sub-regions.
Optionally, before the performing, according to the target lighting control policy corresponding to the image information, a screen capturing operation on the display interface corresponding to the image information to obtain screen capturing image information, the method further includes:
determining a maximum color fraction of the image information;
and when the maximum color ratio does not exceed a preset threshold value, executing the step of 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.
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 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 ratio exceeds the preset threshold value, taking the color data corresponding to the maximum color ratio as the light driving data corresponding to the 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 lamp light control strategy, the shape of the lamp strip and the lamp bead corresponding to each segment of the sub-lamp strip comprises the following steps:
slicing the sound information to obtain a plurality of sound segments;
inputting the sound segments into a sound and light association model to obtain light change data corresponding to the sound segments;
obtaining sound light data according to the light change data;
and obtaining a plurality of light driving data corresponding to the lamp beads according to the sound light 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 lighting 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 a plurality of lamp beads according to the target program information, the target light control strategy, the shape of the lamp strip, and the lamp bead corresponding to each segment of the sub-lamp strip, the method further includes:
receiving a lamp strip shape selection instruction;
determining the shape of the lamp strip according to the lamp strip shape selection instruction;
receiving a lamp bead quantity selection instruction;
and selecting instructions according to the shape of the lamp strip and the number of the lamp beads to obtain the plurality of sections of the sub lamp strips and the number of the lamp beads corresponding to each section of the sub lamp strips.
In addition, in order to achieve the above purpose, the invention further provides a lamp strip control device, which is used for a display device, wherein the display device is connected with a lamp strip, the lamp strip comprises a plurality of sections of sub lamp strips, and each section of the 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 strip and the lamp bead corresponding to each segment of the sub lamp strip;
and the sending module is used for sending the plurality of light driving data to the lamp strip so that the lamp strip displays and controls the plurality of lamp beads according to the plurality of light driving data.
Further, to achieve the above object, the present invention also proposes a display apparatus comprising: the system comprises a memory, a processor and a light strip control program stored on the memory and running on the processor, wherein the light strip control program realizes the steps of the light strip control method according to any one of the above items when being executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a light control system, which includes a display device and a light band, where the light band includes a plurality of segments of sub light bands, each segment of the sub light band corresponds to a plurality of light beads, the display device stores a light band control program, and the light band control program implements the steps of the light band control method according to any one of the above embodiments when executed by the display device.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where a tape control program is stored, and when the tape control program is executed by a processor, the steps of the tape control method according to any one of the above embodiments are implemented.
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 lamp light control strategy, the shape of the lamp strip and the lamp bead corresponding to each segment of sub lamp strip; and sending the plurality of light driving data to the lamp strip so that the lamp strip performs display control on the plurality of lamp beads according to the plurality of light driving data.
By using the method, the display equipment automatically obtains the light driving data corresponding to a plurality of lamp beads in the lamp strip according to the target program information, the shape of the lamp strip and the lamp bead corresponding to each segment of the sub-lamp strip, so that the lamp strip performs display control on the plurality of lamp beads by using the light driving data, and the interactive control of the display equipment and the lamp strip 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 used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural 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 light band control method according to the present invention;
FIG. 3 is a schematic view of a first embodiment of a light strip mounting location;
FIG. 4 is a schematic view of a second embodiment of a light strip mounting location;
fig. 5 is a block diagram illustrating a structure of a first embodiment of a strip control device according to the present invention;
fig. 6 is a block diagram of a first embodiment of the lighting control system according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a display device in a hardware operating 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 previously.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 301 may further include an AI (Artificial Intelligence) processor for processing operations related to the tape control method, so that the tape control method model may be trained and learned autonomously, thereby 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 the memory 302 is used to store at least one instruction for execution by the processor 301 to implement the light strip control method provided by the method embodiments herein.
In some embodiments, the terminal may further 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. Various peripheral devices may be connected to communication interface 303 via 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 source 306.
The communication interface 303 may be used to connect at least one peripheral device related to 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, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this 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 screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the display device; in other embodiments, the display screens 305 may be at least two, each disposed on a different surface of the display device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen, disposed on a curved surface or on a folded surface of the display device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
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 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the display device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
In addition, an embodiment of the present invention further provides a storage medium, where a light strip control program is stored on the storage medium, and the light strip control program, when executed by a processor, implements the steps of the light strip control method described above. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the storage medium referred to in the present application, reference is made to the description of the embodiments of the method of the present application. It is determined that 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, as examples.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a storage medium and can include the processes of the embodiments of the methods described above when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The first embodiment is as follows:
referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the light strip control method of the present invention, and 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 executing main body of the invention is a display device, the display device is provided with a lamp band control program, and the steps of the lamp band control method of the invention are realized when the display device executes the lamp band control program. 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, and images in non-video are determined as application interface information later) or sound information.
In the invention, the display equipment is connected with a lamp strip, and the lamp strip comprises a plurality of lamp beads. The lamp strip can be any form of atmosphere lamp, the invention is not limited, generally, one lamp bead corresponds to an R unit (red unit), a G unit (green unit) and a B unit (blue unit), and the lamp bead presents different colors by outputting different R values, G values and B values. The lamp area includes a plurality of sections, and every section is a sub-lamp area, and every sub-lamp area 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 mounting location, and fig. 4 is a schematic view of a second embodiment of a light strip mounting location. In fig. 3, the lamp strip 1 is disposed above the display device 2, the lamp strip 1 is in a shape of a straight line and corresponds to a segment of sub lamp strip, and in fig. 4, the lamp strip 1 is disposed around the display device 2 and is in an inverted U shape and corresponds to three segments of sub lamp strips. In other embodiments, the user may set other position relationships based on the requirement, the present invention is not limited, and the straight shape and the inverted U shape are only examples of the present invention, for example, the light strip surrounds four sides of the display device.
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 near the motor. Generally, the lamp area has a plurality of lamp pearls and Microprocessor (MCU) that is used for controlling a plurality of lamp pearls, controls a plurality of lamp pearls through microprocessor, and the lamp pearl can be LED lamp pearl.
The lamp area can have bluetooth module for be connected with display device's bluetooth module through bluetooth module, and then realize lamp area and display device's communication.
When the installation of lamp area was accomplished, after the lamp area inserted display device, display device's lamp area control program can export the setting interface, and the user can accomplish the setting in lamp area on this interface. The actual shape of the lamp strip (for example, the straight shape of the lamp strip, the inverted U-shape, and the like) is recorded into the lamp strip control program, for example, when the lamp strip is placed in the straight shape, the shape of the lamp strip needs to be selected to be the straight shape, and when the lamp strip is placed in the straight shape, the shape of the lamp strip needs to be selected to be the inverted U-shape, and the number of the lamp beads on each side is determined.
In some embodiments, the length of the light strip may be relatively large, and after the user sets the light strip, the user may set the usable lamp beads and the unusable lamp beads of the light strip, and input the usable lamp beads or the unusable lamp beads in the light strip control program. The usable lamp beads are the lamp beads needing to be controlled, the unusable lamp beads are the lamp beads needing not to be controlled, and the unusable lamp beads are probably lamp beads which do not need to be controlled and are hidden in certain regions due to the fact that the lamp strip is too long.
The plurality of lamp beads in step S11 are usable lamp beads, and do not include unusable lamp beads in the above case.
Step S12: and 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 strip and the lamp bead corresponding to each segment of the sub lamp strip.
Step S13: and sending the plurality of light driving data to the lamp strip so that the lamp strip displays and controls the plurality of lamp beads according to the plurality of light driving data.
According to the target program information, initial driving data corresponding to the lamp strip is determined, the initial driving data can comprise respective initial driving data of the plurality of lamp beads, and then according to the shape of the lamp strip and the lamp beads corresponding to each segment of the sub-lamp strip, the initial driving data of each lamp bead is subjected to adaptive adjustment to obtain light driving data of each lamp bead.
It should be noted that the initial driving data corresponding to different target program information is different, so that the plurality of lighting driving data corresponding to the plurality of lamp beads are different; for the same initial driving data corresponding to the same program information, when the shapes of the lamp strips are different, the plurality of corresponding lamp driving data corresponding to the plurality of lamp beads are also different; for the same initial driving data corresponding to the same program information, when the shapes of the lamp belts are the same and the number of the lamp beads corresponding to the sub-lamp belts is different, the corresponding plurality of light driving data corresponding to the lamp beads are also different.
And when the display equipment obtains a plurality of light driving data corresponding to the plurality of light beads according to the initial driving data, the shape of the light strip and the light beads corresponding to the sub-light strips, the plurality of light driving data correspond to the respective light bead numbers of the plurality of light beads. After the lamp strip obtains a plurality of light drive data, the light drive data of each lamp bead is determined according to the lamp bead numbers by the light drive data so as to display and control the 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 lamp light control strategy, the shape of the lamp strip and the lamp bead corresponding to each segment of sub lamp strip; and sending the plurality of light driving data to the lamp strip so that the lamp strip performs display control on the plurality of lamp beads according to the plurality of light driving data.
By using the method, the display equipment automatically obtains the light driving data corresponding to a plurality of lamp beads in the lamp strip according to the target program information, the shape of the lamp strip and the lamp bead corresponding to each segment of the sub-lamp strip, so that the lamp strip performs display control on the plurality of lamp beads by using the light driving data, and the interactive control of the display equipment and the lamp strip is realized.
Example two:
further, before the step of determining the light driving data corresponding to a plurality of lamp beads according to the target program information, the target lamp light control strategy, the shape of the lamp strip, and the lamp bead corresponding to each segment of the sub-lamp strip, the method further includes: receiving a lamp strip shape selection instruction; determining the shape of the lamp strip according to the lamp strip shape selection instruction; receiving a lamp bead quantity selection instruction; and selecting instructions according to the shape of the lamp strip and the number of the lamp beads to obtain the plurality of sections of the sub lamp strips and the number of the lamp beads corresponding to each section of the sub lamp strips.
When the installation of lamp area was accomplished, after the lamp area inserted display device, display device's lamp area control program can export the setting interface, and the user can accomplish the setting in lamp area on this interface. Receiving a shape selection instruction, and inputting the actual shape (such as the straight shape of the lamp strip, the inverted U-shape and the like) of the lamp strip into the lamp strip control program, for example, when the lamp strip is placed in the straight shape, the shape of the lamp strip needs to be selected to be the straight shape, and when the lamp strip is placed in the straight shape, the shape of the lamp strip needs to be selected to be the inverted U-shape.
And for different lamp strip shapes, the number of the corresponding sub lamp strip sections is different, the set lamp strip shape is selected according to the shape selection instruction, and a lamp bead number selection instruction is continuously sent to each section of the sub lamp strip so as to determine the number of the lamp beads of each sub lamp strip.
For example, if the shape of the lamp strip is determined to be a straight shape, the number of the lamp beads of the straight-line-shaped lamp strip can be determined only by sending a lamp bead number selection instruction for the straight-line-shaped lamp strip; if the shape of the lamp strip is two or more (for example, the shape of the inverted U is three sides, each side is a segment of sub-lamp strip), the length of each side needs to be determined according to the lamp strip shape selection instruction, and the number of the lamp beads used for displaying on each side needs to be determined according to the lamp strip number selection instruction on each side, that is, one side corresponds to one sub-lamp strip, and one sub-lamp strip corresponds to one lamp bead number selection instruction.
Further, before the step of obtaining the target program information played by the display device and the target lighting 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; in the sound scene, the target program information of the display device may include music information or other sound information, and in the image scene, the target program information of the display device may include image information (especially, video frame information in the video information). And the display equipment automatically determines the application scene information according to the target program information. In some embodiments, the user may further manually select the application scene information, and the display device directly performs the step of determining the target lighting control policy corresponding to the application scene information according to the lighting control policy set.
In general, for an application interface without sound (although it is also image information, but not image information in a video), the light control strategy may be determined as an ambience light control strategy (the fixed ambience light strategy described above) corresponding to an ambience light scene.
And then, the display equipment determines a corresponding light control strategy, namely a target light control strategy, in the light control strategy set according to the application scene information. The light control strategy set generally comprises a sound control strategy, an image control strategy and an atmosphere control strategy, and the corresponding target light control strategy is determined according to application scene information (one of an atmosphere light scene, a sound scene and an image scene).
And then, 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 strip and the lamp bead corresponding to each segment of the sub lamp strip.
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 lamp light control strategy, the shape of the lamp strip and the lamp bead corresponding to each segment of the sub-lamp strip comprises the following steps: slicing the sound information to obtain a plurality of sound segments; inputting the sound segments into a sound and light association model to obtain light change data corresponding to the sound segments; obtaining sound light data according to the light change data; and obtaining a plurality of light driving data corresponding to the lamp beads according to the sound light data, the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip.
The voice control strategy is a strategy for obtaining a plurality of light driving data through voice information as described above. The sound and light association model can be any form of model, such as a neural network model.
And training light change data corresponding to the training sound information and the training sound information are obtained, and then the initial model is trained by utilizing the training sound information and the training light change data to obtain a sound and light correlation model.
For each sound segment corresponding to one light change data, the playing time length value corresponding to one sound segment is not too large, so that the problem that the analysis speed of the obtained light change data is low and the analysis accuracy is low due to the fact that the sound segment input into the sound and light correlation model is too large is avoided.
Each sound segment corresponds to a sound playing time length, and the corresponding light change data is the change of the corresponding light color (including the color of each of the three RGB units) in the sound playing time length. And connecting the light change data of each sound segment according to the connection mode of the sound segments, namely obtaining the sound light data.
For each lamp bead, can correspond a sound light data, a plurality of lamp beads correspond respective sound light data.
And then, according to the shape of the lamp strip and the number of the lamp beads, the sound light data of each lamp bead are properly adjusted, so that adjusted sound light data, namely light driving data, are obtained.
For example, for a lamp strip in an inverted U shape, the lamp beads on both sides increase the value of the light driving data (the specific value of RGB), and the like, and the lamp bead on the top is not adjusted; and for the straight-line-shaped lamp strip, the whole lamp strip is not adjusted.
When sound light data is the same, the quantity of the lamp beads is different, and light driving data may be different. For another example, for the lamp strip in the shape of an inverted U, when the number of the lamp beads on both sides is smaller than the first preset number, the value of the light driving data (the specific value of RGB) of the lamp beads on both sides is increased, and when the number of the lamp beads on both sides is not smaller than the first preset number, the lamp beads on both sides are not adjusted.
It can be understood that the above example is only an exemplary description, and a user may set specific first preset number and second preset number based on a requirement, or may determine a variation relationship between the number of the lamp beads and the light driving data based on a requirement, which is not limited in the present invention.
In some embodiments, the display device creates a recording thread that instantiates an AudioRecord to continuously record audio information from the audio path inside the display device chip. The time of recording is general interface, so sound information is 48KHz sampling, considers that bluetooth lamp area sound effect does not need sound data of this high accuracy, compromises the bluetooth bandwidth problem simultaneously, need press 8KHz sampling again to the sound information of 48KHz sampling. The resampled data is stored into a ring buffer (the ring buffer is used for circularly storing 8KHz sampled audio data, the buffer is supposed to be N bytes, the data is stored from 0 to N bytes at the beginning, and the data is circularly stored from 0 after the buffer is full);
the display equipment creates another thread which is a sound information sending thread, periodically takes out sound information from the ring buffer, packages the sound information according to protocol requirements, sends data to the lamp strip through the Bluetooth interface, and carries out display control on the lamp strip based on the sound information;
in the two threads, the ring buffer is a public resource, so a thread lock is added when data is read and written to ensure data security. Meanwhile, in the reading and writing actions of the ring buffer, the variable of the number of bytes of the stored sound information needs to be maintained, the number of bytes of the stored sound information needs to be correspondingly increased when data is written, and the number of bytes needs to be correspondingly decreased after the data is read.
Further, the target program information includes image information; the step of determining the light driving data corresponding to a plurality of lamp beads according to the target program information, the target lamp light control strategy, the shape of the lamp strip and the lamp bead corresponding to each segment of the sub-lamp strip comprises the following steps: according to a target light control strategy corresponding to the image information, performing screen capture operation on a display interface corresponding to the image information to obtain screen capture image information; determining an analysis area in the screen capture image information according to the shape of the lamp strip and the lamp bead corresponding to each section of the sub lamp strip; and obtaining the light driving data corresponding to the lamp beads according to the pixel values of the analysis areas.
Wherein, according to the pixel value in analysis area, obtain the light drive data that the lamp pearl corresponds specifically includes: dividing the analysis region into a number of sub-regions; acquiring an average value of all pixel values in the sub-area; and taking the average value as the light driving data of the lamp beads corresponding to the sub-regions.
Specifically, when the light strip is a straight shape (including a segment of sub-light strip), the top 200 pixels high content of the screen is converted into RGB data for the light strip. The following were used:
the screenshot image information is a screenshot obtained by performing screenshot operation on a playing interface of the target program information, and 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, and RGB is RGB colors of pixel points), the alpha value can be ignored during processing, RGB values are directly processed, all pixel points with a height of 200 pixels on the upper edge of 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, the width of each sub-area is 1920/num1, and the height is 200. The R/G/B values of all the pixels of each sub-region are respectively accumulated to obtain sum1, the accumulated sum1 is divided by the total pixels (1920 × 200/num1) of the sub-region to obtain the average value avgN (N is 1 to num1) of the R/G/B of the sub-region, and the average value of the R/G/B of the sub-region is the lamp driving data of the lamp bead corresponding to the sub-region.
When the lamp area is the type of falling U (including three sections sub-lamp areas, one section on left side, one section on top and one section on right side), will convert the content of 200 pixel width on the left of the screen, 200 pixel height on top and 200 pixel width on the right into RGB data and give the lamp area, the step is as follows:
the screenshot image information is a screenshot obtained by performing screenshot operation on a playing interface of the target program information, and in this example, the screenshot image information may be a second picture (for example, a picture pic3 of 1920 × 1080) with a preset size, the second picture is in an ARGB (a is an alpha value, and RGB is RGB colors of pixel points), and the alpha value may be ignored during processing, and the RGB values are directly processed;
rotating pic3 clockwise by 90 degrees to obtain pic4, and taking out the high content of 200 pixels at the upper edge of pic4 to obtain a picture pic 5-an intermediate image with the resolution of 1080x 200; according to the number numLeft of the left lamp beads in the 'inverted U-shaped' mode, pic5 is horizontally divided into numLeft sub-regions, the width of each sub-region is 1080/numLeft, and the height of each sub-region is 200;
taking out the high content of 200 pixels on the upper edge of pic3 to obtain picture pic 6-middle image with the resolution of 1920x200, horizontally dividing pic6 into numTop sub-regions according to the number of lamp beads numTop in a linear mode, wherein the width of each sub-region is 1920/numTop, and the height is 200;
rotating pic3 by 90 degrees counterclockwise to obtain pic7, taking out the high content of 200 pixels at the upper edge of pic7 to obtain a picture pic 8-middle image with the resolution of 1080x200, and horizontally dividing pic8 into numRight sub-regions according to the numRight bead number under the inverted U-shaped mode, wherein the width of each sub-region is 1080/numRight, and the height of each sub-region is 200;
and accumulating the R/G/B values of all the pixel points of each sub-region divided in the above step respectively to obtain sum, dividing the accumulated sum by the total number of the pixel points of the sub-region, and calculating to obtain the R/G/B average value avgN of the sub-region, wherein the R/G/B average value of one sub-region is the lamp light driving data of the lamp bead corresponding to the sub-region.
Wherein, the total pixel point of the left edge image subregion is: 1080 × 200/numLeft, the total pixel points of the top edge image subarea are: 1020 x 200/numTop. The total pixel points of the right edge image subarea are as follows: 1080 × 200/numRight.
Based on the above description, each segment of sub-light strip may correspond to a plurality of sub-regions, and the light driving data of the plurality of light beads corresponding to each sub-region is the same. Typically, each bead corresponds to one of the sub-regions.
Further, before the performing a screen capture operation on the display interface corresponding to the image information according to the target light control policy corresponding to the image information to obtain the screen capture image information, the method further includes: determining a maximum color fraction of the image information; and when the maximum color ratio does not exceed a preset threshold value, executing the step of 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.
Wherein the step of determining the maximum color ratio 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 ratio according to the color data.
In this embodiment, the image information particularly refers to video frame information corresponding to a video, that is, in this embodiment, the display device outputs the video. Histogram data, HSI histograms (H hue histogram, S saturation histogram, and I luminance histogram), is acquired from driving of the display device.
HSI is defined as follows: hue h (hue): depending on the frequency of the light wave, it represents the human sense of perception of different colors, such as red, green, blue, etc., and it may also represent a range of colors, such as warm, cool, etc. Saturation s (saturation): indicating the purity of the color, pure spectral colors are fully saturated and the addition of white light dilutes the saturation. The greater the saturation, the more vivid the color will appear and vice versa. Luminance i (intensity): the brightness of the color is determined according to the imaging brightness and the image gray scale.
The display device chip can directly provide the histogram information of the HSI. In the HSI histogram obtained from the chip driver, the hue histogram is a 32-level array (different chips may have different hue levels), and different colors may be represented on different levels of the hue histogram. For example, for a pure red (255,0,0) picture, the data on the hue histogram hue hit array is: 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 hue hist array, hue hist [0] is the maximum value 255, and the others are all 0, indicating that the hue of the color with the highest ratio in all current frames is on the 0 th order. The 32-step hue histogram, which is a color disk (360 °) cut under a certain luminance plane in the HSI color diagram, is divided into 32 angular spaces on average, and the 0 th step represents from 0 ° to 11.25 °.
In the HSI color space diagram: the intermediate color between the two angles of 0 ° Red (Red), 60 ° Yellow (Yellow), 120 ° Green (Green), 180 ° Cyan (Cyan), 240 ° Blue (Blue), 300 ° Magenta (Magenta) is a transition color, for example, from 0 ° to 60 °, which is a slow change from Red to Yellow. Therefore, the hue Hist [0] value is the largest, indicating that the color with the most proportion in the current picture is red.
The histogram of the saturation (S) is also an array of 32 orders (different chips, possibly different orders), and the saturation of different colors will be reflected on different orders on the saturation histogram. For example, for a pure red (255,0,0) picture, the data on the saturation histogram satHist array is: 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 others are all 0, indicating that the saturation components of all colors most occupied in the current picture are all on the 31 st order. The saturation histogram of 32 th order divides the average of the saturation of 0% to 100% into 32 levels, and the 0 th order represents the saturation component from 0 to 3.125%. Which step has the largest value indicates that the saturation of the most dominant color in the picture is at this step, so satHist [31] has the largest value of 255, indicating that the color saturation of the current picture is between 96.876% and 100%.
The histogram of luminance (I) is also a 32-step array (different chips, possibly different steps), and different luminances are reflected on different steps of the luminance histogram. For example, for a pure red (255,0,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 others are 0, indicating that the luminance component of the color most occupied in the current picture is on the 6 th order. The luminance histogram of 32 steps divides the luminance of 0% to 100% into 32 levels on average, and the 0 th step represents the luminance component from 0 to 3.125%. The maximum value of that order indicates that the brightness of the most heavily weighted color in the frame is at that order, so that intHist [15] is a maximum value of 255, indicating that the brightness of the most heavily weighted color in the current frame is between 46.875% and 50%.
Specifically, the following steps are employed to obtain color data (the color data includes red data R, blue data B, and green data G):
for the hue histogram, the sum hue sum in the hue histogram is calculated, then the maximum value hue max in the hue histogram and the serial number hue index corresponding to the hue histogram array are found, the ratio of the hue max in the hue histogram (hue max/hue um) is calculated, and whether the calculation result is greater than the judgment threshold value (for example, 60%) is judged. If the hue angle is larger than the threshold value, a target chroma value (hue angle) corresponding to hueMax needs to be calculated, and the method comprises the following steps: h1 ═ 360 °/32 × hue index;
for the saturation histogram, the data sum satSum in the saturation histogram is calculated in the same way, then the maximum value satMax in the saturation histogram and the serial number satIndex corresponding to the saturation histogram array are found out, the ratio of satMax to satSum (satMax/satSum) is calculated, and whether the calculation result is greater than the judgment threshold value (for example, 60%) is judged. If the saturation value is larger than the threshold value, the target saturation value corresponding to the satMax needs to be calculated, and the method comprises the following steps: s1 ═ 1.0/32 satIndex;
for the data of the brightness histogram, the data sum intSum in the brightness histogram is calculated in the same way, then the maximum value intMax in the brightness histogram and the serial number intIndex corresponding to the brightness histogram array are found out, the occupation ratio (intMax/intSum) of intMax in intSum is calculated, and whether the calculation result is larger than the judgment threshold value (for example, 60%) is judged. If the target brightness value is larger than the threshold value, the target brightness value corresponding to intMax needs to be calculated, and the method comprises the following steps: 1 ═ 1.0/32 × intIndex;
the preset database comprises a plurality of hue intervals, each hue interval corresponds to a calculation strategy, and in the invention, the plurality of hue intervals comprise: [0 °,120 °,2400 °, and [240 °,360 °), the corresponding calculation strategies are as follows:
for the hue interval [0 °,120 °), the calculation strategy refers to equation one, which is as follows:
Figure BDA0003450599070000161
Figure BDA0003450599070000162
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 equation two, which is as follows:
H2=H1-120°
Figure BDA0003450599070000163
Figure BDA0003450599070000164
g=1-r-b
for the hue interval [240 °,360 °), the calculation strategy refers to equation three, which is as follows:
H3=H1-240°
Figure BDA0003450599070000165
Figure BDA0003450599070000166
g=1-r-b
and determining the interval including the target tone value in the three tone intervals as a selected tone interval, wherein the corresponding calculation strategy is the selected calculation strategy (one of the three formulas).
The color data obtained in the above manner is a floating point number normalized to a range of 0 to 1, and it is necessary to multiply r, g, and b by 255 to obtain corresponding color data, and the color data multiplied by 255 is used for obtaining a plurality of light driving data corresponding to a plurality of lamp beads, that is, the color data described below is color data obtained by multiplying rgb data obtained according to the above three formulas by 255.
The color data comprises color data corresponding to each pixel point in the image information, so that for the target image, each pixel point corresponds to one color data (comprising red data, blue data and green data of the pixel point); counting the number of same-color pixel points of the pixel points with the same color data, determining the color data with the maximum number of the same-color pixel points as the maximum color, and determining the ratio of the pixel point with the maximum color to all the pixel points of the image information as the maximum color ratio.
And when the maximum color ratio exceeds a preset threshold (for example, 60%, the user sets the maximum color ratio based on the requirement), using the color data corresponding to the maximum color ratio as the light driving data corresponding to the 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 strip and the number of the lamp beads of each section of the sub-lamp strip to obtain the adjusted maximum color corresponding to each lamp bead, wherein the adjusted maximum color (the form of color data) of each lamp bead is the 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.
In the invention, different lighting control strategies are provided for different application scene information, and meanwhile, the display equipment can obtain lighting driving data which is more matched with the target program information of the display equipment by using different lighting control strategies, so that the lamp bead display effect of the lamp strip is more matched with the target program information of the display equipment, the interaction effect of the lamp strip and the display equipment is improved, and the user experience is improved.
Meanwhile, for image information, the invention provides two light driving data obtaining modes (the maximum color ratio is larger than a preset threshold and smaller than the preset threshold), so that the light driving data of the lamp beads are more fit with the image information, and the user experience is further improved.
Example three:
referring to fig. 5, fig. 5 is a block diagram of a first embodiment of a light strip control device according to the present invention, where the device is used for a display device, the display device is connected to a light strip, and the light strip includes a plurality of light beads; based on the same inventive concept as the previous embodiment, the apparatus includes:
an obtaining module 10, configured to obtain target program information played by the display device and a target lighting control policy corresponding to the target program information;
an obtaining module 20, configured to determine, according to the target program information, the target light control policy, the shape of the light band, and the light bead corresponding to each segment of the sub light band, light driving data corresponding to a plurality of light beads;
and the sending module 30 is used for sending the plurality of light driving data to the lamp strip so that the lamp strip displays and controls the plurality of lamp beads according to the plurality of light driving data.
Further, the target program information includes image information; the obtaining module 20 is specifically configured to perform a screen capture operation on a display interface corresponding to the image information according to a target light control strategy corresponding to the image information, so as to obtain captured image information; determining an analysis area in the screen capture image information according to the shape of the lamp strip and the lamp bead corresponding to each section of the sub lamp strip; and obtaining the light driving data corresponding to the lamp beads according to the pixel values of the analysis areas.
Further, the 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 sub-area; and taking the average value as the light driving data of the lamp beads corresponding to the sub-regions.
Further, the obtaining module 20 is further configured to determine a maximum color ratio of the image information; and when the maximum color ratio does not exceed a preset threshold value, executing the step of 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.
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 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 ratio as the light driving data corresponding to the plurality of lamp beads when the maximum color ratio exceeds the preset threshold value.
Further, the target program information includes sound information; an obtaining module 20, configured to slice the sound information to obtain a plurality of sound segments; inputting the sound segments into a sound and light association model to obtain light change data corresponding to the sound segments; obtaining sound light data according to the light change data; and obtaining a plurality of light driving data corresponding to the lamp beads according to the sound light 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 the 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 strip selection module is used for receiving a lamp strip shape selection instruction; determining the shape of the lamp strip according to the lamp strip shape selection instruction; receiving a lamp bead quantity selection instruction; and selecting instructions according to the shape of the lamp strip and the number of the lamp beads to obtain the plurality of sections of the sub lamp strips and the number of the lamp beads corresponding to each section of the sub lamp strips.
It should be noted that, since the steps executed by the apparatus of this embodiment are the same as the steps of the foregoing method embodiment, the specific implementation and the achievable technical effects thereof can refer to the foregoing embodiment, and are not described herein again.
By using the method, the display equipment automatically obtains the light driving data corresponding to a plurality of lamp beads in the lamp strip according to the target program information, the shape of the lamp strip and the lamp bead corresponding to each segment of the sub-lamp strip, so that the lamp strip performs display control on the plurality of lamp beads by using the light driving data, and the interactive control of the display equipment and the lamp strip is realized.
In addition, different lighting control strategies are provided for different application scene information, and meanwhile, the display equipment can obtain lighting driving data which is more matched with target program information of the display equipment by using different lighting control strategies, so that the lamp bead display effect of the lamp strip is more matched with the target program information of the display equipment, the interaction effect of the lamp strip and the display equipment is improved, and the user experience is improved.
Meanwhile, for image information, the invention provides two light driving data obtaining modes (the maximum color ratio is larger than a preset threshold and smaller than the preset threshold), so that the light driving data of the lamp beads are more fit with the image information, and the user experience is further improved.
Example four:
referring to fig. 6, fig. 6 is a structural block diagram of a first embodiment of the light control system of the present invention, where the system includes a display device 1 and a lamp strip 2, where the lamp strip 2 includes a plurality of segments of sub-lamp strips, and each segment of the sub-lamp strip corresponds to a plurality of lamp beads; the display device 1 stores a light strip control program, and the steps of the light strip control method described above are implemented when the light strip control program is executed by the display device.
It should be noted that, since the steps executed by the system of the present embodiment are the same as the steps of the foregoing method embodiment, the specific implementation manner and the achievable technical effect thereof can refer to the foregoing embodiment, and are not described herein again.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (13)

1. A 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 strip and the lamp bead corresponding to each segment of the sub lamp strip;
and sending the plurality of light driving data to the lamp strip so that the lamp strip displays and controls the plurality of lamp beads according to the plurality of light driving data.
2. The method of claim 1, wherein the target program information includes image information; the step of determining the light driving data corresponding to a plurality of lamp beads according to the target program information, the target lamp light control strategy, the shape of the lamp strip and the lamp bead corresponding to each segment of the sub-lamp strip comprises the following steps:
according to a target light control strategy corresponding to the image information, performing screen capture operation on a display interface corresponding to the image information to obtain screen capture image information;
determining an analysis area in the screen capture image information according to the shape of the lamp strip and the lamp bead corresponding to each section of the sub lamp strip;
and obtaining the light driving data corresponding to the lamp beads according to the pixel values of the analysis areas.
3. The method according to claim 2, wherein the obtaining of the lamp driving data corresponding to the lamp bead according to the pixel value of the analysis area specifically comprises:
dividing the analysis region into a number of sub-regions;
acquiring an average value of all pixel values in the sub-area;
and taking the average value as the light driving data of the lamp beads corresponding to the sub-regions.
4. The method of claim 2, wherein before the obtaining of the screenshot image information by performing a screenshot operation on the display interface corresponding to the image information according to the target lighting control policy corresponding to the image information, the method further comprises:
determining a maximum color fraction of the image information;
and when the maximum color ratio does not exceed a preset threshold value, executing the step of 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.
5. The method of claim 4, wherein the step of determining the maximum color ratio 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 ratio according to the color data.
6. The method of claim 4, wherein after the step of determining the maximum color ratio of the image information, the method further comprises:
and when the maximum color ratio exceeds the preset threshold value, taking the color data corresponding to the maximum color ratio as the light driving data corresponding to the plurality of lamp beads.
7. The method of claim 1, wherein 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 lamp light control strategy, the shape of the lamp strip and the lamp bead corresponding to each segment of the sub-lamp strip comprises the following steps:
slicing the sound information to obtain a plurality of sound segments;
inputting the sound segments into a sound and light association model to obtain light change data corresponding to the sound segments;
obtaining sound light data according to the light change data;
and obtaining a plurality of light driving data corresponding to the lamp beads according to the sound light data, the shape of the lamp strip and the lamp beads corresponding to each section of the sub lamp strip.
8. The method of claim 1, wherein the step of obtaining the target program information played by the display device and the target light control strategy corresponding to the target program information is preceded by the method further comprising:
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.
9. The method of any of claims 1-8, wherein prior to the step of determining light driving data corresponding to a number of said light beads based on said target program information, said target light control strategy, said shape of said light strip, and said light bead corresponding to each of said sub-light strips, said method further comprises:
receiving a lamp strip shape selection instruction;
determining the shape of the lamp strip according to the lamp strip shape selection instruction;
receiving a lamp bead quantity selection instruction;
and selecting instructions according to the shape of the lamp strip and the number of the lamp beads to obtain the plurality of sections of the sub lamp strips and the number of the lamp beads corresponding to each section of the sub lamp strips.
10. A 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 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 strip and the lamp bead corresponding to each segment of the sub lamp strip;
and the sending module is used for sending the plurality of light driving data to the lamp strip so that the lamp strip displays and controls the plurality of lamp beads according to the plurality of light driving data.
11. A display device, characterized in that the display device comprises: memory, a processor and a light strip control program stored on the memory and running on the processor, the light strip control program when executed by the processor implementing the steps of the light strip control method according to any one of claims 1 to 9.
12. A light control system, comprising a display device and a light strip, wherein the light strip comprises a plurality of segments of sub light strips, each segment of the sub light strip corresponds to a plurality of light beads, the display device stores a light strip control program, and the steps of the light strip control method according to any one of claims 1 to 9 are implemented when the light strip control program is executed by the display device.
13. A computer-readable storage medium, characterized in that the storage medium has stored thereon a tape control program which, when executed by a processor, implements the steps of a tape control method according to any one of claims 1 to 9.
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 true CN114340102A (en) 2022-04-12
CN114340102B 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)

Cited By (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 (6)

* 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
US20190199958A1 (en) * 2016-10-31 2019-06-27 Sharp Kabushiki Kaisha Light output system
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

Patent Citations (6)

* 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
US20190199958A1 (en) * 2016-10-31 2019-06-27 Sharp Kabushiki Kaisha Light output system
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

Cited By (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

Also Published As

Publication number Publication date
CN114340102B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
WO2021027649A1 (en) Dark-mode display interface processing method, electronic device, and storage medium
WO2023109091A1 (en) Lamp strip control method, lamp strip system, electronic device, and storage medium
CN113129312B (en) Image processing method, device and equipment
US20220319077A1 (en) Image-text fusion method and apparatus, and electronic device
RU2413383C2 (en) Unit of colour conversion to reduce fringe
CN114340102A (en) Lamp strip control method and device, display equipment and system and storage medium
CN117197261B (en) Atmosphere lamp equipment, color taking method thereof, corresponding device and medium
CN113299245B (en) Method and device for adjusting local backlight of display equipment, display equipment and storage medium
US20080259007A1 (en) Method for dynamically adjusting brightness of image
WO2021077878A1 (en) Image processing method and apparatus, and electronic device
CN114040249A (en) Atmosphere lamp adjusting method and device based on picture, intelligent terminal and storage medium
CN108765352B (en) Image processing method and electronic device
CN116321627A (en) Screen atmosphere lamp synchronous control method, system and control equipment based on image pickup
WO2023273844A1 (en) Display method and electronic device
CN113597061A (en) Method, apparatus and computer readable storage medium for controlling a magic color light strip
JP2023052085A (en) Pixel contrast control system and method
CN108564923B (en) High dynamic contrast image display method and device based on partition backlight
CN111901519B (en) Screen light supplement method and device and electronic equipment
CN113891008B (en) Exposure intensity adjusting method and related equipment
CN112383719B (en) Image brightness adjusting method, device and equipment and readable storage medium
CN114070916A (en) Light supplementing method for shooting and related device
CN114449231B (en) Image conversion method and device
RU2791810C2 (en) Method, equipment and device for image processing
CN117201930B (en) Photographing method and electronic equipment
CN114495859B (en) Picture display method, device, display terminal 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