Abstract: A control method is provided for a lamp. The lamp includes a plurality of light-emitting units, and the method includes: receiving target RGB data from a client terminal; and when the target RGB data exists in a correspondence relationship between RGB data and color temperature values, determining a target color temperature value corresponding to the target RGB data based on the correspondence relationship. The correspondence relationship between the RGB data and color temperature values is used to convert color temperature data into corresponding RGB data when an original Tuya protocol does not support color temperature data transmission. The method also includes controlling the plurality of light-emitting units to display corresponding lighting effect according to the target color temperature value.
Abstract: A lamp includes a cover plate, a housing, and a light source assembly. At least one side wall of the housing is a light-emitting surface; the cover plate and the housing are enclosed to form an accommodating space; the light source assembly is arranged in the accommodating space; and the light source assembly emits light toward the cover plate.
Abstract: A lighting control method is provided for an ambient lighting device having an ambient lamp including at least one lighting strip, which includes a plurality of lamp beads arranged into a display frame. The method includes starting the ambient lamp and a camera; reading preset frame configuration information, and dividing the display frame into a plurality of unit frames according to the frame configuration information; reading an environment reference image captured by the camera, and dividing the environment reference image into a plurality of regional images corresponding to the plurality of unit frames according to the frame configuration information; and generating a lighting color value corresponding to each lamp bead in each unit frame, based on a main color tone of the regional image corresponding to the unit frame, and controlling the corresponding lamp beads covered by the unit frame with the lighting color value to emit light.
Abstract: A lighting-effect coordinated playback method for an ambient lamp includes: obtaining a target lighting-effect including at least one sub-frame lighting-effect to be played by multiple light strips, and determining a lighting-effect coordination mode and a sub-frame duration of the target lighting-effect; determining a light strip group to which each light strip belongs according to the lighting-effect coordination mode, and determining a refresh time slot of each light strip relative to the sub-frame duration according to a total number of lighting units of the light strip contained in each light strip group; and according to the corresponding refresh time slot of each light strip, sending frame-slice control data of each frame slice of the light strip corresponding to the frame lighting-effect to the corresponding light strip at intervals, so as to control the light units of each corresponding light strip to coordinately complete playback of the sub-frame lighting-effect.
Abstract: An instruction transmission method is provided for an ambient lamp. The method includes: sequentially obtaining a playback frame from a playback frame sequence as a current playback frame; determining a target encoding scheme of the current playback frame based on a frame type of the current playback frame; determining effective data and a data type of the effective data of the current playback frame according to the target encoding scheme, and encoding the effective data into playback encoded data; and encapsulating the playback encoded data of the current playback frame and the data type of the effective data into a lighting-effect playback instruction, and transmitting the lighting-effect playback instruction to a control chip of a lighting component of the ambient lamp for execution.
Abstract: A game lighting-effect control method includes: acquiring each game screen image presented in a continuous timing sequence, and performing target detection on game action icons in each game screen image to determine that a game-action icon is in a triggered state, wherein the game action icons include game skill icons, the game skill icons have frame content; identifying the frame content corresponding to the game action icon in the triggered state based on a preset game-action recognition model, the frame content representing game actions corresponding to each game character; determining a corresponding lighting effect type based on a color-change recognition result of the frame content corresponding to the game action icon; and generating a corresponding lighting-effect control instruction based on the lighting effect type, and inputting the lighting-effect control instruction to a lighting-effect control circuit to display game lighting-effect corresponding to the lighting effect type.
Abstract: A point light-source includes a housing and a light-emitting circuit packaged in the housing. The housing includes an upper housing and a lower housing, and the light-emitting circuit includes a constant-current control chip and a plurality of single-color light strings. Each single-color light string is composed of a plurality of light-emitting elements connected in series. The constant-current control chip is configured to, in response to an external serial signal, generate pulse signals transmitted to each single-color light string so as to change a luminous brightness of each single-color light string correspondingly through each of the pulse signals.