Ambient light control method, device, equipment and storage medium

By seizing the picture image in the car game and extracting the main tone control atmosphere lights, the problem of monotonous atmosphere light control is solved, and the immersive atmosphere light effect that is linked to the game picture is realized, improving the user experience.

CN115426748BActive Publication Date: 2025-09-02XINGHE ZHILIAN AUTOMOBILE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211178401.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-26
Publication Date
2025-09-02
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

The existing ambient light control methods cannot be linked to other systems on the vehicle side, resulting in a monotonous ambient light control and cannot provide rhythmic and immersive ambient light effects.

Method used

By responding to the on-board game start command input by the user, the screen image of the central control screen of the car end is captured, the main color is extracted as the tone parameter, the atmosphere light outputs the corresponding tone light, and dynamically adjusts it with the camera to detect the user's line of sight changes.

Benefits of technology

It realizes the linkage between the ambient light and the car game screen, providing a more rhythmic and immersive lighting experience, and enhancing the user's game immersion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115426748B_ABST
    Figure CN115426748B_ABST
Patent Text Reader

Abstract

The present invention discloses an ambient light control method, device, equipment, and storage medium. In response to a user-inputted in-car game startup command, the method sequentially captures images of the current screen on the vehicle's central control screen at preset screenshot intervals. A preset number of primary tones from the captured images are extracted as tonal parameters. Based on these tonal parameters, the ambient light configured on the vehicle is controlled to output corresponding tonal light. By controlling the ambient light in conjunction with the vehicle-side game screen, the method provides users with a more dynamic and immersive ambient light experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent sensing technology, and in particular to an atmosphere light control method, device, equipment and storage medium. Background Art

[0002] As in-car gaming becomes increasingly popular in car in-cabin entertainment scenarios, cabin ambient lighting plays a crucial role in creating a dynamic and immersive gaming environment. Currently, ambient lighting adjustment requires manual adjustments by the driver or pre-set rhythmic effects by the manufacturer. Existing ambient lighting controls lack interoperability with other vehicle systems, resulting in a monotonous control method that fails to provide a more dynamic and immersive atmosphere. Summary of the Invention

[0003] In order to solve the above problems, the present invention proposes an atmosphere light control method, device, equipment and storage medium, which control the atmosphere light in a linked manner through the vehicle-side game screen to provide users with more rhythmic and immersive atmosphere lights.

[0004] An embodiment of the present invention provides an atmosphere lamp control method, the method comprising:

[0005] In response to a user input of a start command for the in-car game, the image of the current screen of the central control screen of the vehicle is captured in sequence according to a preset screenshot interval;

[0006] Extracting a preset number of main tones from the captured screen image as tone parameters;

[0007] According to the color tone parameter, the ambient light configured on the vehicle side is controlled to output light of corresponding color tone.

[0008] Preferably, the screenshot interval time Q=X / (M*N);

[0009] Among them, X is the average playing time of each in-car game started according to the operation data of the in-car game recorded by the vehicle side, M is the average number of levels played each time the in-car game is started according to the operation data of the in-car game recorded by the vehicle side, and N is the average art style type of each game level according to the operation data of the in-car game recorded by the vehicle side.

[0010] Furthermore, extracting a preset number of main tones from the captured screen image as tone parameters specifically includes:

[0011] Using a main color extraction algorithm to sequentially extract the preset number of colors with the highest to lowest number of pixels in the picture image as the main colors;

[0012] The main colors are sorted from high to low according to the number of pixels in the image as the hue parameters.

[0013] As an improvement to the above solution, the preset number is not greater than the number of colors supported by the atmosphere light.

[0014] Preferably, controlling the vehicle-side ambient light to output light of corresponding hue according to the hue parameter specifically includes:

[0015] cyclically acquiring each color in the hue parameter according to a preset atmosphere light control interval, and querying whether the preset color library of the atmosphere light has the color;

[0016] When the color is available in the color library, the color value corresponding to the color is used to control the atmosphere light to output a light of a corresponding hue;

[0017] When the color library does not have the color, a color is randomly selected from the color library, and the color value corresponding to the color is used to control the atmosphere light to output light of the corresponding hue.

[0018] As a preferred solution, the method further comprises:

[0019] When the camera configured on the vehicle side detects that the user's sight leaves the central control screen, a real-time image of the current screen of the vehicle side central control screen is captured;

[0020] The hue light output by the atmosphere lamp is updated according to the hue parameter extracted from the real-time image.

[0021] Preferably, the method further comprises:

[0022] When an exit command of the in-car game or an ambient light off command input by the user is detected, the ambient light is controlled to be off.

[0023] An embodiment of the present invention further provides an atmosphere light control device, the device comprising:

[0024] An image acquisition module is used to respond to a user input of a start command for the in-car game and sequentially capture images of the current screen of the vehicle-side central control screen according to a preset screenshot interval;

[0025] A hue extraction module is used to extract a preset number of main hues from the captured screen image as hue parameters;

[0026] The lighting control module is used to control the ambient light configured on the vehicle side to output corresponding hue light according to the hue parameter.

[0027] Preferably, the screenshot interval time Q=X / (M*N);

[0028] Among them, X is the average playing time of each in-car game started according to the operation data of the in-car game recorded by the vehicle side, M is the average number of levels played each time the in-car game is started according to the operation data of the in-car game recorded by the vehicle side, and N is the average art style type of each game level according to the operation data of the in-car game recorded by the vehicle side.

[0029] As a preferred solution, the hue extraction module is specifically used to:

[0030] Using a main color extraction algorithm to sequentially extract the preset number of colors with the highest to lowest number of pixels in the picture image as the main colors;

[0031] The colors in the main color are sorted from high to low according to the number of pixels in the image as the color parameters.

[0032] Furthermore, the preset number is not greater than the number of colors supported by the atmosphere light.

[0033] Preferably, the lighting control module is specifically used to:

[0034] cyclically acquiring each color in the hue parameter according to a preset atmosphere light control interval, and querying whether the preset color library of the atmosphere light has the color;

[0035] When the color is available in the color library, the color value corresponding to the color is used to control the atmosphere light to output the corresponding hue light;

[0036] When the color library does not have the color, a color is randomly selected from the color library, and the color value corresponding to the color is used to control the atmosphere light to output light of the corresponding hue.

[0037] Preferably, the device further comprises a passive control module, configured to:

[0038] When the camera configured on the vehicle side detects that the user's sight leaves the central control screen, a real-time image of the current screen of the vehicle side central control screen is captured;

[0039] The hue light output by the atmosphere lamp is updated according to the hue parameter extracted from the real-time image.

[0040] Preferably, the device further comprises a shutdown control module, configured to:

[0041] When an exit command of the in-car game or an ambient light off command input by the user is detected, the ambient light is controlled to be off.

[0042] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute an atmosphere light control method as described in any of the above embodiments.

[0043] The present invention provides an ambient lighting control method, device, equipment, and storage medium. In response to a user-inputted in-car game startup command, the method sequentially captures images of the current screen on the vehicle's central control screen at preset capture intervals. A preset number of primary tones from the captured images are extracted as tonal parameters. Based on these tonal parameters, the ambient lighting configured on the vehicle is controlled to output corresponding tonal light. This control is linked to the vehicle-side game screen, providing users with a more dynamic and immersive ambient lighting experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a flow chart of an atmosphere light control method provided by an embodiment of the present invention;

[0045] Figure 2 1 is a schematic structural diagram of an atmosphere light control device provided by an embodiment of the present invention;

[0046] Figure 3 It is a structural diagram of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0048] Example 1

[0049] See also Figure 1 , is a flow chart of an atmosphere light control method provided by an embodiment of the present invention, the method comprising steps S1 to S3;

[0050] S1, in response to a user input of a start command for an in-car game, sequentially capturing images of the current screen of the vehicle-side central control screen according to a preset screenshot interval;

[0051] S2, extracting a preset number of main tones from the captured screen image as tone parameters;

[0052] S3, controlling the ambient light configured on the vehicle side to output light of corresponding color tone according to the color tone parameter.

[0053] In the specific implementation of this embodiment, the ambient light configured on the vehicle side will be controlled in conjunction with the vehicle side, and the control process of the ambient light requires the user to start the in-vehicle game;

[0054] After the user starts the in-car game, the subsequent ambient light control process is carried out, and the image of the current screen of the vehicle's central control screen is captured in sequence according to the preset screenshot interval. The length of the screenshot interval can determine the amount of data of the color parameters for the subsequent ambient light control, and also affect the control process's occupation of computing power. Therefore, it is necessary to set a suitable screenshot time interval. In the scenario of in-car games, it can improve the gaming experience while reducing the significant occupation of the vehicle's computing power.

[0055] A preset number of main tones in the captured image are extracted as color parameters. The number of main tones to be extracted also needs to be designed in advance to avoid the existing image processing algorithm automatically extracting an appropriate amount of main tones during the main color extraction process, which causes the main color extraction to occupy a large amount of computing power, and also to avoid the uneven number of extracted main tones causing imbalance in the atmosphere light control.

[0056] According to the hue parameters, the atmosphere light configured on the vehicle side is controlled to output light of corresponding hue, so as to provide users with more rhythmic and immersive atmosphere light by extracting the main hue of the game screenshot image and controlling the atmosphere light according to the game hue.

[0057] Example 2

[0058] In another embodiment of the present invention, the screenshot interval Q=X / (M*N);

[0059] Among them, X is the average playing time of each in-car game started according to the operation data of the in-car game recorded by the vehicle side, M is the average number of levels played each time the in-car game is started according to the operation data of the in-car game recorded by the vehicle side, and N is the average art style type of each game level according to the operation data of the in-car game recorded by the vehicle side.

[0060] In the specific implementation of this embodiment, when the user starts the in-car game and it is running normally, the screenshot timing is determined by determining a reasonable screenshot interval to reduce the number of screenshots and the subsequent main color recognition computing power usage, specifically:

[0061] During each time the in-car game is turned on and off, the vehicle side collects statistics on the running data of the in-car game, including the running time from the start to the end of the in-car game, the number of levels played and the art style of the game levels. The art style of the game levels can be determined by the game settings, analyzed and determined by a preset algorithm, or manually entered.

[0062] According to the operation data recorded by the vehicle side, the average playing time of each car game is X seconds, the average number of levels played each time the car game is started is M, and the average number of art styles of each game level is N.

[0063] Therefore, the number of screenshots is M*N, the total duration is X, and the interval screenshot time is set to Q = X / (M*N), that is, a screenshot is automatically completed every Q seconds. Among them, X, M, and N can be set as adjustable parameters. In the initial state, X, N, and X can be set to an initial value based on experience, and then adjusted as more and more running data is collected during the operation of the in-car game; set the initial value, X = 1800 seconds, M = 3, N = 5, and calculate the initial value Q = 120 seconds.

[0064] By counting game running data and setting the screenshot interval, the atmosphere light control process can be determined according to the user's game data to achieve humanized atmosphere light control.

[0065] Example 3

[0066] In another embodiment of the present invention, extracting a preset number of main tones from the captured screen image as tone parameters specifically includes:

[0067] Using a main color extraction algorithm to sequentially extract the preset number of colors with the highest to lowest number of pixels in the picture image as the main colors;

[0068] The colors in the main color are sorted from high to low according to the number of pixels in the image as the color parameters.

[0069] In the specific implementation of this embodiment, after the screen image is extracted, it is necessary to use an image processing algorithm to extract the main color tone, specifically:

[0070] Use currently mature image processing algorithms, such as image color quantization algorithms to calculate the number of pixels of different colors in the image;

[0071] Sort the colors according to the number of pixels, and determine the preset number of colors that are ranked first as the main colors;

[0072] The colors in the main color are sorted from high to low according to the number of pixels in the image as the color parameters.

[0073] Each time a screenshot is taken, the main color tone of the new image is re-identified, the original main color tone is replaced, and the color tone parameters are updated.

[0074] A preset number of main tones are extracted as tone parameters through the main tone extraction algorithm, and the atmosphere light is controlled according to the extracted tone parameters to match the image tone of the atmosphere light and the game screen, creating an immersive atmosphere that matches the game screen.

[0075] Example 4

[0076] In another embodiment of the present invention, the preset number is not greater than the number of colors supported by the atmosphere light.

[0077] During the specific implementation of this embodiment, since the number of colors corresponding to the ambient lights installed in different cars is different, before performing ambient lighting, it is necessary to consider the number of colors supported by the ambient lights to define the number of main colors to be extracted.

[0078] For example, if the number of colors supported by the multi-color ambient light currently installed on the vehicle is X, and the preset number of extracted main colors is set to Y, then Y ≤ X must be satisfied to avoid abnormal display of the ambient light color tone when the number of extracted main colors exceeds the number of colors supported by the current ambient light.

[0079] In addition, when setting the number of main color extractions, you can also refer to the screen type of the game screen. For example, the game screen basically includes the game background, game characters, and game props; therefore, the preset number Y of main colors can be preset to 3, and Y can be dynamically adjusted as a reference configuration item; considering that Y≤X must be satisfied at the same time, if the set Y>X, the preset number of main colors needs to be reduced to equal the number of colors supported by the atmosphere light.

[0080] By limiting the number of extracted tones, we can avoid the problem of too many tones causing mismatch with the ambient light output, and also avoid the large amount of computing power occupied by extracting too many main tones.

[0081] Example 5

[0082] In another embodiment provided by the present invention, the step S3 specifically includes:

[0083] cyclically acquiring each color in the hue parameter according to a preset atmosphere light control interval, and querying whether the preset color library of the atmosphere light has the color;

[0084] When the color is available in the color library, the color value corresponding to the color is used to control the atmosphere light to output the corresponding hue light;

[0085] When the color library does not have the color, a color is randomly selected from the color library, and the color value corresponding to the color is used to control the atmosphere light to output light of the corresponding hue.

[0086] In the specific implementation of this embodiment, when controlling the ambient light according to the color tone parameters generated by the identified main color tone, it is necessary to consider whether the color tone matches the color of the ambient light;

[0087] The hue parameters include the colors of each main hue in a sequential order. Each color in the hue parameters is obtained in sequence according to a preset atmosphere light control interval. The atmosphere light control time is used to control the display time of each hue in the atmosphere light. For example, when the atmosphere light control time is set to 1s, the atmosphere light will read a color in the hue parameter every 1s and output it accordingly. The screenshot interval of each screen image is 120s. Therefore, when controlling the atmosphere light output according to the hue parameters generated for each image, it is necessary to read the color of each main hue multiple times in a sequential order.

[0088] Query whether the preset color library of the atmosphere light has the read color, that is, whether the atmosphere light supports displaying the read color;

[0089] When the color is available in the color library, the ambient light supports displaying the read color, and controls the ambient light to output light of the corresponding hue using the color value corresponding to the color;

[0090] When the color library does not have the color, the atmosphere light does not support displaying the read color, and a color is randomly selected from the color library, and the color value corresponding to the selected color is used to control the atmosphere light to output a light of a corresponding hue.

[0091] It should be noted that the atmosphere light control time and the screenshot interval in this embodiment are just examples, and in other embodiments, they may be other values.

[0092] It should be noted that the color library is the initial setting of the atmosphere light, which contains the color values ​​of all colors that the atmosphere light can display. When performing specific matching, the matching is performed based on the color values;

[0093] By analyzing whether each color in the hue parameters matches the supported colors of the ambient light, and replacing the non-matching colors with other random colors, there is no need to identify the colors based on the supported colors of the ambient light when the algorithm is focused on the main color, which would lead to a sharp increase in computing power. This can quickly and easily solve the problem of color mismatch.

[0094] Example 6

[0095] In another embodiment of the present invention, the method further includes:

[0096] When the camera configured on the vehicle side detects that the user's sight leaves the central control screen, a real-time image of the current screen of the vehicle side central control screen is captured;

[0097] The hue light output by the atmosphere lamp is updated according to the hue parameter extracted from the real-time image.

[0098] In the specific implementation of this embodiment, the solution discloses that during the normal operation of the game, screenshots are taken according to a preset screenshot interval, each screen image is analyzed, the color tone parameters are extracted, and the light tone output by the atmosphere light is controlled according to the color tone parameters;

[0099] In addition, the present invention also provides a passive screenshot strategy, which requires obtaining the user's image through a camera configured in the vehicle cabin and monitoring the user's line of sight during the game through an algorithm;

[0100] When the camera configured on the vehicle detects that the user's sight leaves the central control screen, the user is likely to see the vehicle's ambient light more intuitively, and automatically captures the real-time image of the current screen of the vehicle's central control screen;

[0101] The color tone parameters are extracted based on the captured real-time image, and the ambient light configured on the vehicle side is controlled to output corresponding color tone light based on the extracted color tone parameters.

[0102] After the user's sight leaves the central control screen and reaches the screenshot interval time, the screen image extraction and color tone lighting control during the normal game operation are entered again.

[0103] Based on the recognition of the user's line of sight, it can determine and passively complete the atmosphere light color tone control according to the user's behavior, and can adapt to the user's behavior to provide humanized atmosphere light control.

[0104] Example 7

[0105] In another embodiment of the present invention, the method further includes:

[0106] When an exit command of the in-car game or an ambient light off command input by the user is detected, the ambient light is controlled to be off.

[0107] During the specific implementation of this embodiment, after the user starts the in-car game, the user controls the ambient light by capturing the game screen, and uses the exit command of the in-car game input by the user as the command to end the ambient light control process; the ambient light can be accurately controlled to avoid interference to the user caused by the ambient light effect still being displayed when the user exits the in-car game.

[0108] In addition, when the user is using the in-car game normally, the user can also control the ambient light to turn off by directly inputting the ambient light off command, so that the user can play the in-car game alone.

[0109] Example 8

[0110] See also Figure 2 , is a structural diagram of an atmosphere light control device provided by an embodiment of the present invention, the device comprising: an image acquisition module, a hue extraction module and a light control module;

[0111] An image acquisition module is used to respond to a user input of a start command for the in-car game and sequentially capture images of the current screen of the vehicle-side central control screen according to a preset screenshot interval;

[0112] A hue extraction module is used to extract a preset number of main hues from the captured screen image as hue parameters;

[0113] The lighting control module is used to control the ambient light configured on the vehicle side to output corresponding hue light according to the hue parameter.

[0114] The atmosphere light control device provided in this embodiment can execute all the steps and functions of the atmosphere light control method provided in any of the above embodiments, and the specific functions of the device will not be described in detail here.

[0115] Embodiment 9

[0116] See also Figure 3 , is a schematic diagram of the structure of a terminal device provided by an embodiment of the present invention. The terminal device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as an atmosphere light control program. When the processor executes the computer program, the steps of each of the above-mentioned atmosphere light control method embodiments are implemented, such as Figure 1 Alternatively, the processor implements the functions of the modules in the above-mentioned device embodiments when executing the computer program.

[0117] Exemplarily, the computer program can be divided into one or more modules, and the one or more modules are stored in the memory and executed by the processor to complete the present invention. The one or more modules can be a series of computer program instruction segments that can perform specific functions, and the instruction segments are used to describe the execution process of the computer program in the atmosphere light control device. For example, the computer program can be divided into a detection module, an output power control module, and a window control module. The specific functions of each module have been described in detail in the atmosphere light control method provided in any of the above embodiments, and the specific functions of the device will not be repeated here.

[0118] The ambient light control device can be a computing device such as a desktop computer, laptop, PDA, or cloud server. The ambient light control device can include, but is not limited to, a processor and memory. Those skilled in the art will understand that the schematic diagram is merely an example of an ambient light control device and does not constitute a limitation on the ambient light control device. The ambient light control device can include more or fewer components than shown, or a combination of certain components, or different components. For example, the ambient light control device can also include input and output devices, network access devices, buses, etc.

[0119] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the atmosphere light control device, and utilizes various interfaces and lines to connect various parts of the entire atmosphere light control device.

[0120] The memory can be used to store the computer programs and / or modules. The processor implements the various functions of the ambient light control device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created based on the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the memory can include high-speed random access memory and non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0121] If the module integrated into the ambient light control device is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the process steps in the above-mentioned method embodiments by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by a processor, the computer program can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased based on the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, based on legislation and patent practice, computer-readable media does not include electric carrier signals and telecommunication signals.

[0122] It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for controlling an atmosphere light, characterized in that: The method comprises: In response to a user input of a start command for the in-car game, the image of the current screen of the central control screen of the vehicle is captured in sequence according to a preset screenshot interval; Extracting a preset number of main tones from the captured screen image as tone parameters; According to the color tone parameter, the ambient light configured on the vehicle side is controlled to output a light of corresponding color tone; The screenshot interval time Q=X / (M*N); Among them, X is the average playing time of each in-car game started according to the operation data of the in-car game recorded by the vehicle side, M is the average number of levels played each time the in-car game is started according to the operation data of the in-car game recorded by the vehicle side, and N is the average art style type of each game level according to the operation data of the in-car game recorded by the vehicle side.

2. The atmosphere light control method according to claim 1, characterized in that: The extracting of a preset number of main tones from the captured screen image as tone parameters specifically includes: Using a main color extraction algorithm to sequentially extract the preset number of colors with the highest to lowest number of pixels in the picture image as the main colors; The colors in the main color are sorted from high to low according to the number of pixels in the image as the color parameters.

3. The atmosphere light control method according to claim 2, characterized in that: The preset number is not greater than the number of colors supported by the atmosphere light.

4. The atmosphere light control method according to claim 1, characterized in that: The step of controlling the vehicle-side ambient light to output a light of corresponding hue according to the hue parameter specifically includes: cyclically acquiring each color in the hue parameter according to a preset atmosphere light control interval, and querying whether the preset color library of the atmosphere light has the color; When the color is available in the color library, the color value corresponding to the color is used to control the atmosphere light to output the corresponding hue light; When the color library does not have the color, a color is randomly selected from the color library, and the color value corresponding to the color is used to control the atmosphere light to output light of the corresponding hue.

5. The atmosphere light control method according to claim 1, characterized in that: The method further comprises: When the camera configured on the vehicle side detects that the user's sight leaves the central control screen, a real-time image of the current screen of the vehicle side central control screen is captured; The hue light output by the atmosphere lamp is updated according to the hue parameter extracted from the real-time image.

6. The atmosphere light control method according to claim 1, characterized in that: The method further comprises: When an exit command of the in-car game or an ambient light off command input by the user is detected, the ambient light is controlled to be off.

7. An atmosphere light control device, characterized in that: The device comprises: An image acquisition module is used to respond to a user input of a start command for the in-car game and sequentially capture images of the current screen of the vehicle-side central control screen according to a preset screenshot interval; A hue extraction module is used to extract a preset number of main hues from the captured screen image as hue parameters; A lighting control module, configured to control the vehicle-side ambient light to output a light of corresponding hue according to the hue parameter; The screenshot interval time Q=X / (M*N); Among them, X is the average playing time of each in-car game started according to the operation data of the in-car game recorded by the vehicle side, M is the average number of levels played each time the in-car game is started according to the operation data of the in-car game recorded by the vehicle side, and N is the average art style type of each game level according to the operation data of the in-car game recorded by the vehicle side.

8. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the atmosphere light control method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the atmosphere light control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for adjusting household lighting hue according to dominant hue of images

    CN105554975A

  • Lighting control method, device and system, electronic equipment and storage medium

    CN113677076A

  • A perception method and system based on the integration of multi-dimensional body sensing and games in the vehicle cockpit

    CN114931749A