Light effect control method and electronic device

By establishing a lighting effect control mapping table, multiple light-emitting elements of the lighting effect device can be controlled to simultaneously present the target image, solving the matching problem between the lighting effect device and the display and improving the user experience.

CN122227476APending Publication Date: 2026-06-16ACER INC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ACER INC
Filing Date
2025-05-23
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

Existing lighting devices vary in size, location, and quantity, making it difficult to match the image content displayed on the screen. This results in the lighting effects not closely mirroring the operation of electronic devices, thus affecting the user experience.

Method used

By acquiring the configuration information of the target image and the lighting effect device, a lighting effect control mapping table is established to control multiple light-emitting elements to synchronously present the target image, thereby achieving synchronous operation of the lighting effect device and the display.

Benefits of technology

The improved lighting effects make the operation of the device more similar to that of an electronic device, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122227476A_ABST
    Figure CN122227476A_ABST
Patent Text Reader

Abstract

A light effect control method and an electronic device. The method includes: obtaining a target image; obtaining configuration information of a light effect device, wherein the configuration information reflects a physical position distribution state of a plurality of light emitting elements; establishing a light effect control mapping table corresponding to the plurality of light emitting elements according to the target image and the configuration information; and during the display presents the target image, controlling the light effect device to emit light according to the light effect control mapping table, so as to present the target image through the plurality of light emitting elements synchronously.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a lighting effect control method and electronic device. Background Technology

[0002] Some types of gaming laptops or physical keyboards support emitting a specific color of light that corresponds to the primary color scheme of the image displayed on the monitor while the computer is operating. For example, when the primary color scheme of the image displayed on the monitor is blue, the backlight strips or backlit keyboards on the computer can emit blue light synchronously. However, if you want the light emitted by the backlight strips or backlit keyboards to better match the content displayed on the monitor (e.g., to present the complete image content displayed on the monitor as a whole), it is difficult to achieve this in practice due to the varying sizes, placements, and numbers of different types of lighting devices. Summary of the Invention

[0003] The present invention provides a lighting effect control method and electronic device that can overcome the above-mentioned problems, thereby making the operation of the lighting effect device more closely resemble the current operating state of the electronic device.

[0004] This invention provides a lighting effect control method for an electronic device, wherein the electronic device includes a display and a lighting effect device, the lighting effect device including a plurality of light-emitting elements, and the lighting effect control method includes: acquiring a target image; acquiring configuration information of the lighting effect device, wherein the configuration information reflects the physical position distribution state of the plurality of light-emitting elements; establishing a lighting effect control mapping table corresponding to the plurality of light-emitting elements based on the target image and the configuration information; and controlling the lighting effect device to emit light according to the lighting effect control mapping table during the period when the display is displaying the target image, so as to synchronously display the target image through the plurality of light-emitting elements.

[0005] This invention also provides an electronic device, including a display, a lighting effect device, a lighting effect controller, and a processor. The processor is coupled to the display, the lighting effect device, and the lighting effect controller. The processor is configured to: acquire a target image; acquire configuration information of the lighting effect device, wherein the configuration information reflects the physical position distribution of the plurality of light-emitting elements; establish a lighting effect control mapping table corresponding to the plurality of light-emitting elements based on the target image and the configuration information; and, during the period when the display is displaying the target image, instruct the lighting effect controller to control the lighting effect device to emit light according to the lighting effect control mapping table, so as to synchronously display the target image through the plurality of light-emitting elements.

[0006] Based on the above, within the system architecture of an electronic device including a display and a lighting effect device, the configuration information of the target image and the lighting effect device can be obtained. Specifically, the configuration information can reflect the physical positional distribution of multiple light-emitting elements in the lighting effect device. Based on the target image and the configuration information, a lighting effect control mapping table corresponding to the multiple light-emitting elements can be established and used to control the lighting effect device's illumination. This achieves the technical effect of simultaneously presenting the target image through the multiple light-emitting elements while the display is displaying the target image. Compared to traditional methods that are limited by the varying sizes, configuration positions, and quantities of different types of lighting effect devices, making this or similar functions impossible, this invention allows the operation of the lighting effect device to more closely resemble the current operating state of the electronic device, thereby improving the user experience. Attached Figure Description

[0007] Figure 1 This is a schematic diagram of an electronic device according to an embodiment of the present invention.

[0008] Figure 2 This is a schematic diagram illustrating the establishment and use of a lighting effect control mapping table according to an embodiment of the present invention.

[0009] Figure 3 This is a schematic diagram illustrating, according to an embodiment of the present invention, the simultaneous presentation of a target image via a lighting device while the target image is being displayed on a monitor.

[0010] Figure 4 This is a schematic diagram illustrating the mapping relationship between pixel positions in the pixel value distribution table and control parameters in the lighting effect control mapping table, according to an embodiment of the present invention.

[0011] Figure 5 This is a schematic diagram illustrating the mapping relationship between pixel positions in the pixel value distribution table and control parameters in the lighting effect control mapping table, according to an embodiment of the present invention.

[0012] Figure 6 This is a flowchart illustrating a lighting effect control method according to an embodiment of the present invention.

[0013] 10,30: Electronic devices

[0014] 11,31: Monitor

[0015] 12: Lighting Effects Device

[0016] 12(1)~12(n): Light-emitting element

[0017] 13: Lighting Controller

[0018] 14: Processor

[0019] 15: Storage device

[0020] 16: Image capturing device

[0021] 21,41: Pixel value distribution table

[0022] 22: Configuration Conversion Operation

[0023] 23,42: Lighting Effect Control Mapping Table

[0024] 32: Physical Keyboard Module

[0025] 51, 52: Entity location distribution status

[0026] 51(1)~51(n), 52(1)~52(n): Position

[0027] S601~S604: Steps Detailed Implementation

[0028] Figure 1 This is a schematic diagram of an electronic device according to an embodiment of the present invention. Please refer to... Figure 1 Electronic device 10 may include smartphones, tablets, laptops, desktop computers, industrial computers, game consoles, server hosts, or computer hosts installed in a specific carrier (such as a vehicle, aircraft, or ship), and the types of electronic device 11 are not limited to these.

[0029] Electronic device 10 may include a display 11, a lighting device 12, a lighting controller 13, a processor 14, and a storage device 15. The display 11 is used to display images (e.g., output image signals). For example, the display 11 may include a plasma display, a liquid crystal display (LCD), a thin-film transistor liquid crystal display (TFT-LCD), an organic light-emitting diode (OLED), or an LED display. This invention does not limit the number or type of display 11.

[0030] The lighting device 12 includes light-emitting elements 12(1) to 12(n). n can be any integer greater than 1. The lighting device 12 can emit light through at least one of the light-emitting elements 12(1) to 12(n). For example, the light-emitting elements 12(1) to 12(n) can be light-emitting diodes (LEDs) or other types of light-emitting elements. In addition, the light-emitting element 12(i) can emit light of a single color or multiple colors of light, depending on the actual needs. The present invention does not limit the number and type of the lighting device 12 (or the light-emitting elements 12(1) to 12(n)).

[0031] The lighting effect controller 13 is coupled to the lighting effect device 12 (or the light-emitting elements 12(1) to 12(n)) and used to control the lighting effect device 12 (or the light-emitting elements 12(1) to 12(n)) to emit light. For example, the lighting effect controller 13 may include an embedded controller (EC), a microcontroller, or other types of controllers. The present invention does not limit the number or type of lighting effect controller 13.

[0032] Processor 14 is coupled to display 11, lighting device 12, lighting controller 13, and storage device 15. Processor 14 is responsible for the overall or partial operation of electronic device 10. For example, processor 14 may include a central processing unit (CPU), graphics processing unit (GPU), or other programmable general-purpose or special-purpose microprocessor, digital signal processor (DSP), programmable controller, application-specific integrated circuit (ASIC), programmable logic device (PLD), or other similar device or combination of these devices.

[0033] In one embodiment, the processor 14 may further include processors dedicated to assisting in performing neural network operations and / or image processing, such as a vision processing unit (VPU), a neural network processing unit (NPU), and / or a tensor processing unit (TPU). The present invention does not limit the number or type of processor 14.

[0034] Storage device 15 is used to store data. For example, storage device 15 may include volatile memory and non-volatile memory. Volatile memory is used to store data volatilely. For example, volatile memory may include random access memory (RAM) or similar volatile storage media. Non-volatile memory is used to store data non-volatilely. For example, non-volatile memory may include read-only memory (ROM), solid-state disk (SSD), hard disk drive (HDD), or similar non-volatile storage media. The present invention does not limit the number or type of storage device 15.

[0035] In one embodiment, the processor 14 may acquire at least one image (also referred to as a target image). After acquiring the target image, the processor 14 may instruct the display 11 to display the target image. For example, according to the instruction of the processor 14, the display 11 may display an image corresponding to the target image on the display interface of the display 11.

[0036] In one embodiment, the electronic device 10 further includes an image capturing device 16. The image capturing device 16 is coupled to the processor 14. The image capturing device 16 is used to capture external images (also known as environmental images). For example, the image capturing device 16 includes a camera module. The camera module includes at least a lens and a photosensitive element. The image capturing device 16 can capture external images through the camera module.

[0037] In one embodiment, the processor 14 can capture external images using the image capturing device 16 to obtain a video stream. The processor 14 can then obtain a target image based on this video stream. In one embodiment, the video stream includes at least one image (also referred to as a candidate image). The processor 14 can then extract at least one of the candidate images from the video stream as the target image. Alternatively, in one embodiment, the processor 14 can perform image processing operations such as image cropping, scaling, and / or rotation on at least one of the candidate images to obtain the target image.

[0038] In one embodiment, the processor 14 may perform a screen capture on the display screen 11 to obtain at least one image (also called a screenshot image). The processor 14 may then obtain a target image based on this screenshot image. In one embodiment, while the display screen 11 is displaying a specific image, the processor 14 may perform a screen capture on the currently displayed image on the display interface of the display screen 11 to obtain a screenshot image. The processor 14 may then use this screenshot image as the target image. Alternatively, in one embodiment, the processor 14 may perform image processing operations such as image cropping, scaling, and / or rotation on the screenshot image to obtain the target image.

[0039] In one embodiment, the processor 14 can acquire configuration information of the lighting device 12. Specifically, the configuration information can reflect the physical positional distribution of the light-emitting elements 12(1) to 12(n). For example, the configuration information can reflect the total number of light-emitting elements 12(1) to 12(n) and / or the distribution of the light-emitting elements 12(1) to 12(n) in a physical space. For example, the physical space can be a one-dimensional space, a two-dimensional space, or a three-dimensional space.

[0040] In one embodiment, the distribution of light-emitting elements 12(1) to 12(n) in the physical space (i.e., the physical position distribution state) can reflect the relative positional relationship between the light-emitting elements 12(1) to 12(n) in the physical space. For example, the relative positional relationship includes that in the physical space, light-emitting element 12(i) is located to the left, right, above, or below light-emitting element 12(j), and that light-emitting elements 12(i) and 12(j) are separated by a distance of several units. In one embodiment, the configuration information can also reflect the type of at least one of the light-emitting elements 12(1) to 12(n) and / or other information related to the configuration of the light-emitting elements 12(1) to 12(n).

[0041] In one embodiment, the configuration information includes coordinate information. The coordinate information reflects the coordinate distribution of the light-emitting elements 12(1) to 12(n) in the physical space. The coordinate information reflects the coordinates of each of the light-emitting elements 12(1) to 12(n) in the physical space. Based on the coordinate information, the processor 14 can obtain the distribution state of the lighting device 12 in the physical space (i.e., the physical position distribution state). For example, based on the coordinate information, the processor 14 can obtain the relative positional relationship between the light-emitting elements 12(1) to 12(n) in the physical space.

[0042] In one embodiment, when a new lighting device is added to the lighting device 12 (e.g., coupled to the electronic device 10), the processor 14 can update the configuration information to reflect the addition of the lighting device. Furthermore, when a lighting device is removed from the lighting device 12 (e.g., no longer coupled to the electronic device 10), the processor 14 can also update the configuration information to reflect the removal of the lighting device. The updated configuration information reflects the latest physical positional distribution of the light-emitting elements 12(1) to 12(n).

[0043] In one embodiment, based on the target image and the configuration information, the processor 14 can establish lighting effect control mapping information (also called a lighting effect control mapping table) corresponding to the light-emitting elements 12(1) to 12(n). Then, the processor 14 can control the lighting effect device 12 to emit light according to the lighting effect control mapping table. In this way, while the display 11 is displaying the target image, the processor 14 can synchronously display the target image through the light-emitting elements 12(1) to 12(n).

[0044] In one embodiment, the lighting effect control map includes multiple control parameters. These multiple control parameters are used to control the light-emitting elements 12(1) to 12(n) to emit light during the period when the display 11 presents the target image, thereby simulating the presentation of the target image. For example, one of the multiple control parameters (also referred to as the first control parameter) can be used to control the light-emitting element 12(i) (also referred to as the first light-emitting element) to emit light during the period when the display 11 presents the target image. For example, the parameter value of the first control parameter can be used to influence, control, and / or change the intensity and / or color of the light emitted by the light-emitting element 12(i). Similarly, different control parameters in the lighting effect control map can be used to control different light-emitting elements among the light-emitting elements 12(1) to 12(n) to emit light, thereby simulating the presentation of the target image.

[0045] In one embodiment, the processor 14 can obtain pixel value distribution information (also known as a pixel value distribution table) corresponding to the target image. For example, the processor 14 can obtain the pixel value distribution table by decoding the image data corresponding to the target image. The pixel value distribution table is used for the display 11 to display the target image. For example, according to the pixel value distribution table, the display 11 can synchronously control the parameter values ​​of each pixel position in its display interface to display the target image through the display interface of the display 11. The parameter values ​​can be used to influence, control, and / or change the intensity and / or color of the light emitted by the corresponding pixel position in the display interface of the display 11. In one embodiment, the processor 14 can perform a conversion operation (also known as a configuration conversion operation) on the pixel value distribution table according to the configuration information to obtain the lighting effect control mapping table.

[0046] Figure 2 This is a schematic diagram illustrating the establishment and use of a lighting effect control mapping table according to an embodiment of the present invention. Please refer to... Figure 2 After obtaining the pixel value distribution table 21 corresponding to the target image, the processor 14 can control the display 11 to present the target image according to the pixel value distribution table 21.

[0047] On the other hand, after obtaining the pixel value distribution table 21, the processor 14 can perform a configuration conversion operation 22 on the pixel value distribution table 21 according to the configuration information of the lighting effect device 12 to obtain the lighting effect control mapping table 23. For example, after establishing the lighting effect control mapping table 23, the processor 14 can cache the lighting effect control mapping table 23 in at least one memory (also called shared memory) for the lighting effect controller 13 to access (e.g., query). Then, during the period when the display 11 displays the target image, the processor 14 can instruct the lighting effect controller 13 to control the lighting effect device 12 (i.e., the light-emitting elements 12(1) to 12(n)) to emit light according to the lighting effect control mapping table 23 to simulate the display of the target image. In this way, during the period when the display 11 displays the target image, the lighting effect device 12 (i.e., the light-emitting elements 12(1) to 12(n)) can synchronously project the target image to provide the user with a better operating experience.

[0048] Figure 3 This is a schematic diagram illustrating, according to an embodiment of the present invention, the simultaneous presentation of a target image via a lighting device while the target image is being displayed on a monitor. Please refer to... Figure 3 In one embodiment, a laptop computer 30 is used as an example of the electronic device 10. The laptop computer 30 includes a display 31 (i.e., Figure 1 The display 11) and the physical keyboard module 32.

[0049] It should be noted that the physical keyboard module 32 includes multiple physical keys, and each physical key in the physical keyboard module 32 has an independent physical key mechanism to convey the pressing or touching signal applied by the user. For example, each physical key mechanism in the physical keyboard module 32 may be elastic, so as to sink based on the user's finger pressing and rebound to a preset position after the user's finger is removed.

[0050] In one embodiment, the lighting effect device 12 may be disposed in the physical keyboard module 32. In particular, the physical position distribution of the light-emitting elements 12(1) to 12(n) may correspond to the physical position distribution of the multiple physical keys of the physical keyboard module 32. For example, the physical position of each of the light-emitting elements 12(1) to 12(n) may be located below, above, or inside a certain physical key in the physical keyboard module 32. Then, during the display 31 displaying the target image, the lighting effect device 12 (i.e., the light-emitting elements 12(1) to 12(n)) may synchronously display the target image through the physical keyboard module 32, such as Figure 3 As shown.

[0051] In one embodiment, each of the plurality of physical buttons includes a light-transmitting housing to allow light emitted by the light-emitting elements 12(1) to 12(n) to pass through the light-transmitting housing. For example, the light-transmitting housing may be based on a transparent material or other light-transmitting material.

[0052] In one embodiment, compared to traditional laptop keyboards or external keyboards that can only roughly reflect the state of electronic devices through simple color changes, in this embodiment of the invention, by considering the configuration information of the lighting effect device 12, the physical position distribution state of multiple light-emitting elements in the lighting effect device 12 can be obtained and used in conjunction with the display 11 (or... Figure 3 The same image (i.e., the target image) is displayed synchronously on the display 32. In this way, the operation of the lighting device 12 can be more directly close to the current operating state of the electronic device 10, thereby effectively improving the user experience.

[0053] In one embodiment, after obtaining the pixel value distribution table corresponding to the target image, the processor 14 can establish a mapping relationship between multiple pixel positions (i.e., first pixel positions) in the pixel value distribution table and at least one control parameter (i.e., first control parameter) in the lighting effect control mapping table based on the configuration information. Specifically, the total number of first pixel positions mapped to the first control parameter can be greater than the total number of first control parameters. For example, M pixel positions in the pixel value distribution table can be mapped to N control parameters in the lighting effect control mapping table, where M is greater than N. For example, M and N can be "10" and "1" respectively, and the invention is not limited thereto.

[0054] In one embodiment, after establishing the mapping relationship between multiple first pixel positions in the pixel value distribution table and the first control parameter in the lighting effect control mapping table, the processor 14 can determine the parameter value of the first control parameter based on the pixel values ​​of the multiple first pixel positions. For example, the processor 14 can perform logical operations on the pixel values ​​of the multiple first pixel positions to obtain the operation result. Then, the processor 14 can determine the parameter value of the first control parameter based on this operation result.

[0055] In one embodiment, the processor 14 can obtain an average pixel value based on the pixel values ​​of the plurality of first pixel positions. This average pixel value reflects the average value of the pixel values ​​of the plurality of first pixel positions. Then, the processor 14 can determine the parameter value of the first control parameter based on this average pixel value. For example, assuming that the pixel values ​​of the plurality of first pixel positions are "110", "108" and "112" in sequence, the processor 14 can set the parameter value of the first control parameter to "110" (i.e., the average value of "110", "108" and "112").

[0056] In one embodiment, the processor 14 may also configure (e.g., adjust) the artificial intelligence model based on the configuration information of the lighting device 12. For example, the artificial intelligence model may be implemented based on neural network architectures such as deep neural networks (DNN), recurrent neural networks (RNN), and / or convolutional neural networks (CNN), or various computational architectures such as artificial neural networks (ANN), and the present invention is not limited thereto.

[0057] In one embodiment, the processor 14 can input the pixel value distribution table into the artificial intelligence model for calculation, and obtain the lighting effect control mapping table based on the output of the artificial intelligence model. In other words, in one embodiment, the processor 14 can replace the pre-defined logical operation rules with the artificial intelligence model, thereby improving work efficiency. Furthermore, the artificial intelligence model can be stored in... Figure 1 The storage device 15 can be pre-trained by the processor 14 or a third-party organization to provide sufficiently accurate computing capabilities. How to configure and train the artificial intelligence model to meet the required computing capabilities is existing technology and will not be elaborated upon here.

[0058] In one embodiment, the processor 14 can obtain a tensor format supported by the artificial intelligence model. For example, the processor 14 can query the configuration information of the artificial intelligence model to obtain the tensor format. After obtaining the tensor format, the processor 14 can convert the format of the pixel value distribution table to be consistent with the tensor format. For example, the processor 14 can convert the matrix format of the pixel value distribution table (e.g., the length, width, and color space information of the matrix) to be the same as the matrix format corresponding to the tensor format. Then, the processor 14 can input the converted pixel value distribution table into the artificial intelligence model for calculation and analysis, and then obtain the lighting effect control mapping table based on the output of the artificial intelligence model.

[0059] Figure 4 This is a schematic diagram illustrating the mapping relationship between pixel positions in the pixel value distribution table and control parameters in the lighting effect control mapping table, according to an embodiment of the present invention. Please refer to... Figure 4 Assume that pixel value distribution table 41 corresponds to the pixel value distribution table of the target image. Pixel value distribution table 41 includes two-dimensionally arranged pixel positions V(11) to V(rp). Each pixel position can carry a set of pixel values ​​(e.g., RGB pixel values ​​or pixel values ​​in other types of color spaces). Based on the configuration information, processor 14 can establish a mapping relationship between multiple pixel positions V(11) to V(rp) in pixel value distribution table 41 and multiple control parameters C(11) to C(sk) in lighting effect control mapping table 42. For example, processor 14 can map multiple pixel positions containing pixel position V(11) in pixel value distribution table 41 to control parameter C(11). In addition, processor 14 can determine or update the parameter values ​​of control parameters C(11) to C(sk) based on the pixel values ​​of pixel positions V(11) to V(rp) and the established mapping relationship.

[0060] Figure 5 This is a schematic diagram illustrating the mapping relationship between pixel positions in the pixel value distribution table and control parameters in the lighting effect control mapping table, according to an embodiment of the present invention. Please refer to... Figure 5 Assuming that the physical position distribution state of the light-emitting elements 12(1) to 12(n) is represented by physical position distribution state 51, and that the physical position distribution state is represented by physical position distribution state 52, then... Figure 3 The physical position distribution state of multiple physical keys in the physical keyboard module 32. For example, in physical position distribution state 51, positions 51(1) to 51(n) are used to represent the positions of light-emitting elements 12(1) to 12(n) in the physical space, respectively. Furthermore, in physical position distribution state 52, positions 52(1) to 52(n) are used to represent... Figure 3 The positions of multiple physical keys in the physical keyboard module 32 in the physical space.

[0061] Continuing from Figure 4In this embodiment, after determining the parameter values ​​of control parameters C(11) to C(sk), the processor 14 can control the light-emitting elements 12(1) to 12(n) to emit light according to the control parameters C(11) to C(sk) in the lighting effect control mapping table 42. For example, there is a one-to-one correspondence (or mapping relationship) between the control parameters C(11) to C(sk) and the light-emitting elements 12(1) to 12(n). For example, the processor 14 can control the light-emitting element 12(1) located at position 51(1) to emit light according to the parameter value of control parameter C(11), and control the light-emitting element 12(n) located at position 51(n) to emit light according to the parameter value of control parameter C(sk), and so on. In this way, during the period when the display 31 presents the target image, the lighting effect device 12 (i.e., the light-emitting elements 12(1) to 12(n)) can synchronously present the target image through the physical keyboard module 32, such as Figure 3 As shown.

[0062] It should be noted that, in the foregoing embodiments, although the lighting device 12 is combined with... Figure 3 The physical keyboard module 32 is described as an example, but the invention is not limited thereto. In one embodiment, the lighting effect device 12 may also include a light strip or other type of light-emitting element disposed on the surface of the electronic device 10. In one embodiment, the lighting effect device 12 may also be connected to the electronic device 10 via a connection interface (e.g., USB, Bluetooth, or Wi-Fi interface).

[0063] Furthermore, the lighting effect device 12 is not part of the display unit array within any type of display (such as an LED display or an OLED display). For example, unlike the regular array arrangement of display units within common LED displays or OLED displays, the light-emitting elements 12(1) to 12(n) in the lighting effect device 12 can be arranged irregularly, such as... Figure 5 The distribution of entity locations is shown in Figure 51.

[0064] Figure 6 This is a flowchart illustrating a lighting effect control method according to an embodiment of the present invention. Please refer to... Figure 6 In step S601, a target image is acquired. In step S602, configuration information of the lighting effect device is acquired, wherein the configuration information reflects the physical position distribution of multiple light-emitting elements in the lighting effect device. In step S603, a lighting effect control mapping table corresponding to the multiple light-emitting elements is established based on the target image and the configuration information. In step S604, during the period when the target image is displayed on the display, the lighting effect device is controlled to emit light according to the lighting effect control mapping table, so as to synchronously display the target image through the multiple light-emitting elements.

[0065] However, Figure 6Each step has been explained in detail above and will not be repeated here. It is worth noting that... Figure 6 Each step can be implemented as multiple program codes or circuits, and this invention is not limited thereto. Furthermore, Figure 6 The method can be used in conjunction with the above examples and embodiments, or it can be used alone. This invention does not impose any limitations.

[0066] In summary, the lighting effect control method and electronic device proposed in the embodiments of the present invention can, based on the configuration information of the lighting effect device, synchronously control multiple light-emitting elements in the lighting effect device to display the target image while the display is showing the target image. This allows the operation of the lighting effect device to more directly reflect the current operating state of the electronic device (e.g., directly and completely reflecting the content displayed on the screen), thereby effectively improving the user experience.

[0067] Although the present invention has been disclosed above with reference to embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some modifications and refinements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A lighting effect control method for an electronic device, wherein the electronic device includes a display and a lighting effect device, the lighting effect device including a plurality of light-emitting elements, and the lighting effect control method includes: Obtain target imagery; Obtain the configuration information of the lighting device, wherein the configuration information reflects the physical position distribution of the multiple light-emitting elements; Based on the target image and the configuration information, a lighting effect control mapping table corresponding to the multiple light-emitting elements is established; as well as During the display of the target image, the lighting device is controlled to emit light according to the lighting control map, so as to synchronously present the target image through the multiple light-emitting elements.

2. The lighting effect control method according to claim 1, characterized in that, The steps for obtaining the target image include: External images are captured using an image capturing device to obtain a video stream; and The target image was obtained based on the video stream.

3. The lighting effect control method according to claim 1, characterized in that, The steps for obtaining the target image include: Take a screenshot of the display screen to obtain a screenshot image; and Based on the screenshot, obtain the target image.

4. The lighting effect control method according to claim 1, characterized in that, The configuration information includes coordinate information, which reflects the coordinate distribution of the multiple light-emitting elements in the physical space.

5. The lighting effect control method according to claim 1, characterized in that, The lighting effect control mapping table includes multiple control parameters, which are used to control the multiple light-emitting elements to emit light during the period when the target image is displayed on the display, so as to simulate the presentation of the target image.

6. The lighting effect control method according to claim 1, characterized in that, The step of establishing the lighting effect control mapping table corresponding to the multiple light-emitting elements based on the target image and the configuration information includes: Obtain a pixel value distribution table corresponding to the target image, wherein the pixel value distribution table is used for the display to present the target image; and Based on the configuration information, a configuration transformation operation is performed on the pixel value distribution table to obtain the lighting effect control mapping table.

7. The lighting effect control method according to claim 6, characterized in that, The steps involved in performing the configuration transformation operation on the pixel value distribution table based on the configuration information to obtain the lighting effect control mapping table include: Based on the configuration information, a mapping relationship is established between multiple first pixel positions in the pixel value distribution table and first control parameters in the lighting effect control mapping table, wherein the total number of the multiple first pixel positions is greater than the total number of the first control parameters; and The parameter value of the first control parameter is determined based on the pixel values ​​at the multiple first pixel positions.

8. The lighting effect control method according to claim 7, characterized in that, The step of determining the value of the first control parameter based on the pixel value at the plurality of first pixel positions includes: Based on the pixel values ​​at the multiple first pixel positions, obtain the average pixel value; and The value of the first control parameter is determined based on the average pixel value.

9. The lighting effect control method according to claim 1, characterized in that, The lighting effect device is installed in the physical keyboard module, and the physical position distribution of the multiple light-emitting elements corresponds to the physical position distribution of the multiple physical keys of the physical keyboard module.

10. The lighting effect control method according to claim 9, characterized in that, Each of the physical buttons includes a light-transmitting housing to allow light emitted by the multiple light-emitting elements to pass through the light-transmitting housing.

11. An electronic device comprising: monitor; Lighting effects devices; Lighting effect controller; as well as The processor is coupled to the display, the lighting device, and the lighting controller. The processor is used for: Obtain target imagery; Obtain the configuration information of the lighting device, wherein the configuration information reflects the physical position distribution of the multiple light-emitting elements; Based on the target image and the configuration information, a lighting effect control mapping table corresponding to the multiple light-emitting elements is established; and During the display of the target image, the lighting controller is instructed to control the lighting device to emit light according to the lighting control map, so as to synchronously present the target image through the multiple light-emitting elements.

12. The electronic device according to claim 11, characterized in that, The operations by which the processor acquires the target image include: External images are captured using an image capturing device to obtain a video stream; and The target image was obtained based on the video stream.

13. The electronic device according to claim 11, characterized in that, The operations by which the processor acquires the target image include: Take a screenshot of the display screen to obtain a screenshot image; and Based on the screenshot, obtain the target image.

14. The electronic device according to claim 11, characterized in that, The configuration information includes coordinate information, which reflects the coordinate distribution of the multiple light-emitting elements in the physical space.

15. The electronic device according to claim 11, characterized in that, The lighting effect control mapping table includes multiple control parameters, which are used to control the multiple light-emitting elements to emit light during the period when the target image is displayed on the display, so as to simulate the presentation of the target image.

16. The electronic device according to claim 11, characterized in that, The operation of the processor in establishing the lighting effect control mapping table corresponding to the multiple light-emitting elements based on the target image and the configuration information includes: Obtain a pixel value distribution table corresponding to the target image, wherein the pixel value distribution table is used for the display to present the target image; and Based on the configuration information, a configuration transformation operation is performed on the pixel value distribution table to obtain the lighting effect control mapping table.

17. The electronic device according to claim 16, characterized in that, The processor performs the configuration transformation operation on the pixel value distribution table based on the configuration information to obtain the lighting effect control mapping table, including: Establish a mapping relationship between multiple first pixel positions in the pixel value distribution table and first control parameters in the lighting effect control mapping table, wherein the total number of the multiple first pixel positions is greater than the total number of the first control parameters; and The parameter value of the first control parameter is determined based on the pixel values ​​at the multiple first pixel positions.

18. The electronic device according to claim 17, characterized in that, The operation by which the processor determines the value of the first control parameter based on the pixel values ​​at the plurality of first pixel positions includes: Based on the pixel values ​​at the multiple first pixel positions, obtain the average pixel value; and The value of the first control parameter is determined based on the average pixel value.

19. The electronic device according to claim 11, characterized in that, The lighting effect device is installed in the physical keyboard module, and the physical position distribution of the multiple light-emitting elements corresponds to the physical position distribution of the multiple physical keys of the physical keyboard module.

20. The electronic device according to claim 19, characterized in that, Each of the physical buttons includes a light-transmitting housing to allow light emitted by the multiple light-emitting elements to pass through the light-transmitting housing.