Electronic device with dynamic light source device and related control method thereof

By introducing a lighting effect format conversion interface and image data conversion technology, the problem of rigid lighting effects of peripheral devices has been solved, and the dynamic light source device can be automatically adjusted according to the user's operating situation, thus improving the user experience.

CN120957285APending Publication Date: 2025-11-14ACER INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410596370.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

In existing technologies, the lighting effects settings of peripheral devices are rigid and cannot be automatically adjusted according to the user's operating situation, resulting in a poor user experience.

Method used

By introducing a lighting effect format conversion interface and utilizing the Microsoft HID LampArray interface, combined with image data conversion technology, the lighting effect settings of the dynamic light source device are dynamically adjusted to achieve synchronous changes in lighting effects and user operating scenarios.

Benefits of technology

It enhances the user experience, provides more flexible and personalized lighting effect control, and meets the needs of different application software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120957285A_ABST
    Figure CN120957285A_ABST
Patent Text Reader

Abstract

The invention relates to an electronic device comprising a dynamic light source device and a control method and a computer program product related to the electronic device. The electronic device comprises K dynamic light source devices and a control circuit. The Zth dynamic light source device in the K dynamic light source devices comprises a plurality of light-emitting elements. The control circuit executes the light effect format conversion interface. The light effect format conversion interface transmits the device attribute request instruction to the Zth dynamic light source device and receives a device attribute parameter representing the configuration of the light-emitting element from the Zth dynamic light source device. After the light effect format conversion interface converts the input image data into a device light effect setting gear corresponding to the Zth dynamic light source device, the color parameter setting matrix transmitted to the Zth dynamic light source device is updated with the light effect maintaining period as the interval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to an electronic device with a dynamic light source, a related control method, and a computer program product, and more particularly to an electronic device, a related control method, and a computer program product that can dynamically respond to input image data to produce lighting effects from the dynamic light source. Background Technology

[0002] To enhance the user's immersive experience when operating a computer, manufacturers of peripherals such as keyboards, mice, and mouse pads now offer dynamic lighting effects on these devices. These peripherals with lighting effects will be referred to as light source devices. The lighting effects provided by conventional light source devices are based on a few pre-set settings provided by the peripheral manufacturer during production. However, these manufacturer-provided lighting settings are relatively limited in variety and the ways in which the effects change, and may not necessarily match the context in which the computer is running application software. Consequently, conventional lighting control software can only combine these pre-set lighting effects, failing to provide more flexible or diverse lighting effects. Summary of the Invention

[0003] This invention relates to an electronic device with a dynamic light source, a related control method, and a computer program product. The electronic device allows users to intuitively set the lighting effects of the dynamic light source, and then converts these settings into an application programming interface (API) that conforms to the Microsoft Human Interface Device (HID) LampArray interface and can be directly used to control the dynamic light source.

[0004] According to a first aspect of the present invention, an electronic device is provided. The electronic device comprises: K dynamic light source devices and a control circuit. The Zth dynamic light source device among the K dynamic light source devices includes a plurality of light-emitting elements. The control circuit is electrically connected to the K dynamic light source devices and executes a lighting effect format conversion interface. The lighting effect format conversion interface transmits a device attribute request command to the Zth dynamic light source device, and after receiving device attribute parameters representing the configuration of the light-emitting elements from the Zth dynamic light source device, establishes a color parameter setting matrix based on the device attribute parameters. The lighting effect format conversion interface converts input image data into a device lighting effect setting file corresponding to the Zth dynamic light source device, and updates the color parameter setting matrix transmitted to the Zth dynamic light source device at intervals equal to the lighting effect duration. The device lighting effect setting file includes the lighting effect duration and the color parameter setting matrix. The Zth dynamic light source device sets the light-emitting attributes of the light-emitting elements according to the color parameter setting matrix. K and Z are positive integers, and Z is less than or equal to K.

[0005] According to a second aspect of the present invention, a control method for an electronic device comprising K dynamic light source devices is provided. The control method includes the following steps: transmitting a device attribute request command to the Zth dynamic light source device among the K dynamic light source devices. The Zth dynamic light source device comprises a plurality of light-emitting elements. After receiving device attribute parameters representing the configuration of the light-emitting elements from the Zth dynamic light source device, a color parameter setting matrix is ​​established based on the device attribute parameters. Input image data is converted into a device lighting effect setting file corresponding to the Zth dynamic light source device. The color parameter setting matrix transmitted to the Zth dynamic light source device is updated at intervals equal to a lighting effect duration, and the Zth dynamic light source device sets the light emission attributes of the light-emitting elements according to the color parameter setting matrix. The device lighting effect setting file includes a lighting effect duration and a color parameter setting matrix. K and Z are positive integers, and Z is less than or equal to K.

[0006] According to a third aspect of the present invention, a computer program product is provided. The computer program product stores a software program, and when the software program is executed, it performs the aforementioned control method on an electronic device comprising K dynamic light source devices.

[0007] To provide a better understanding of the above and other aspects of the present invention, specific embodiments are described below in conjunction with the accompanying drawings: Attached Figure Description

[0008] Figure 1 , is a block diagram of an electronic device with K dynamic light source devices lgtDEV[1]~lgtDEV[K].

[0009] Figure 2 It is a schematic diagram of the light-emitting elements cp(Z,1,1)~cp(Z,30,6) of the dynamic light source device lgtDEV[Z] arranged as the total number of columns of light-emitting elements hcpNum[Z]=30 rows and the total number of columns of light-emitting elements vcpNum[Z]=6 columns.

[0010] Figure 3 This is a schematic diagram of the composition of the light-emitting element cp(Z, hcpID, vcpID).

[0011] Figure 4 This is a schematic diagram illustrating the interface for converting lighting effect formats within the software stacking architecture of electronic devices.

[0012] Figure 5 This is a status diagram of the lighting effect format setting interface.

[0013] Figure 6The process is as follows: when the lighting effect format conversion interface is in the start state, the lighting effect format setting interface generates a flowchart of the color parameter setting matrix clrMTX[Z] corresponding to the light-emitting elements cp(Z, 1, 1) ~ cp(Z, hcpNum[Z], vcpNum[Z]).

[0014] Figure 7 This is a diagram illustrating the format conversion process performed by the lighting effect format conversion interface when the input image data inDAT is a preset lighting effect bitmap file psbmF.

[0015] Figure 8A It is a schematic diagram of an image presented by a preset lighting effect bitmap file psbmF.

[0016] Figure 8B Its basis is Figure 8A A schematic diagram of the preset lighting effect dot matrix data array psBM(psbmID, Z) generated by the preset lighting effect dot matrix file psbmF and corresponding to the dynamic light source device lgtDEV[Z].

[0017] Figure 8C This is a schematic diagram of the device lighting effect setting file devPRF (Z, psbmID) of the dynamic light source device lgtDEV[Z], generated by the lighting effect format setting interface based on the preset lighting effect dot matrix data array psBM(psbmID, Z) corresponding to the dynamic light source device lgtDEV[Z].

[0018] Figure 9 This is a schematic diagram showing that when the number of preset lighting effect bitmaps is psbmNum = 5, the lighting effect format setting interface uses the preset lighting effect bitmap data arrays psBM(1,Z) to psBM(5,Z) in sequence as device lighting effect setting files devPRF(Z,1) to devPRF(Z,5) during the lighting effect maintenance period.

[0019] Figure 10 The flowchart shows how the lighting effect format setting interface sets the lighting effect of the dynamic light source device lgtDEV[Z] using the device lighting effect setting files devPRF(Z,1)~devPRF(Z,psbmNum) during the lighting effect maintenance period.

[0020] Figure 11 This is a diagram illustrating how the image capturing circuit simultaneously captures images of the user while the user is operating the electronic device, creating a real-time video (rtVID).

[0021] Figure 12This is a diagram of a real-time video rtVID lasting rtVID_dur seconds.

[0022] Figure 13 This is a schematic diagram illustrating the generation time and generation order of the real-time images rtIMG(rt_t, 1)~rtIMG(rt_t, 30), the images to be converted and captured captIMG(rt_t, 1)~captIMG(rt_t, 15), and the real-time lighting effect bitmap data array rtBM(rt_t, 1, Z)~rtBM(rt_t, 15, Z) during the rt_t second period.

[0023] Figure 14 This is a schematic diagram of the image to be converted and captured, captIMG(rt_t, captID), which is obtained from the real-time video rtVID and contains the user's image.

[0024] Figure 15 This is a diagram illustrating the format conversion process of the lighting effect format conversion interface when the input image data inDAT is real-time video rtVID.

[0025] Figure 16 Its system will Figure 14 A schematic diagram showing that the image to be converted, captIMG(rt_t, captID), is divided into 5 regions captZONE(1,1) to captZONE(5,1) from hzoneNum*vzoneNum=5*1=5 regions to be converted.

[0026] Figure 17 This is a schematic diagram showing how the real-time lighting effect dot matrix data array rtBM(rt_t, Z) contains hpxlNum_rtBM*vpxlNum_rtBM pixels of real-time lighting effect dot matrix, rtbmPXL(hpxlID_rtBM, vpxlID_rtBM, Z), which are divided into 5 real-time lighting effect dot matrix regions rtbmZONE(1,1)~rtbmZONE(hzoneNum, vzoneNum).

[0027] Figure 18A This is a schematic diagram showing how the light-emitting elements cp(Z,1,1)~cp(Z,30,6) on the dynamic light source device lgtDEV[Z] are divided into hzoneNum*vzoneNum=5*1 lighting effect control areas lgtZONE(Z,1,1)~lgtZONE(Z,5,1).

[0028] Figure 18B Its basis Figure 2 and Figure 17The example illustrates a schematic diagram of the light-emitting elements cp(Z, (hzoneID-1)*6+1, (vzoneID-1)*6+1) to cp(Z, hzoneID*6, vzoneID*6) contained in the lighting effect control area lgtZONE(Z, hzoneID, vzoneID) (hzoneID=1~5, vzoneID=1) on the dynamic light source device lgtDEV[Z].

[0029] Figure 19 This is a schematic diagram of detecting target features tgtFT in the image to be converted and captured, captIMG(rt_t, captID).

[0030] Figure 20A This is a schematic diagram of how the dynamic detection interface defines the image region captZONE(3,1) where the target position tgtPOS is located in the image to be converted and captured, captIMG(rt_t, captID), as the core image region corecaptZONE(rt_t, captID).

[0031] Figure 20B This is a schematic diagram of the region-pixel mapping interface generating a real-time lighting effect dot map data array rtBM(rt_t, captID, Z) based on the image regions to be converted and captured output by the image segmentation interface, captZONE(1,1)~captZONE(hzoneNum, vzoneNum), and the core captured image region core_captZONE(rt_t, captID) selected by the dynamic detection interface.

[0032] Figure 20C Its basis is Figure 20B A schematic diagram of generating an effective configuration file devPRF(Z, rt_t, captID) from the real-time lighting effect dot matrix data array rtBM(rt_t, captID, Z).

[0033] Figure 21A Its bitmap generation interface will Figure 19 , Figure 20A A schematic diagram showing how the colors of the real-time lighting effect bitmap regions rtbmZONE(1, 1, Z) to rtbmZONE(5, 1, Z) are set in a gradient manner when the captured image captIMG(rt_t, captID) is converted into a real-time lighting effect bitmap data array rtBM(rt_t, captID, Z).

[0034] Figure 21B Its system is against Figure 21AThe real-time lighting effect dot matrix data array rtBM(rt_t, captID, Z) is converted to generate a schematic diagram of the lighting effect setting file devPRF(Z, rt_t, captID) corresponding to the dynamic light source device lgtDEV[Z].

[0035] Figure 22A , Figure 22B It is a schematic diagram of the lighting effects of the light-emitting elements belonging to the 5*1 real-time lighting effect dot matrix pixels rtbmPXL(hpxlID_rtBM, vpxlID_rtBM, Z) of hzoneNum*vzoneNum=5*1 lighting effect control areas lgtZONE(Z,1,1)~lgtZONE(Z,5,1).

[0036] Figures 23A to 23D This is a schematic diagram showing how the lighting effects of the dynamic light source device lgtDEV[Z] are dynamically adjusted by the lighting effect format conversion interface as the user's position or posture changes in front of the screen.

[0037] Figure 24 The flowchart describes how the lighting effect format setting interface continuously generates a real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) and a lighting effect setting file devPRF(Z, rt_t, captID) during the rt_t second period, with the image capture time interval captINTVL as the interval, and sets the lighting effect of the dynamic light source device lgtDEV[Z] accordingly.

[0038] Figure 25 This is a diagram illustrating the format conversion process of the lighting effect format conversion interface when the input image data inDAT is an external video extVID.

[0039] Figure 26A This is a schematic diagram of a captIMG(ext_t, 1) image to be converted and captured, generated by the image capture interface based on the external video extVID.

[0040] Figure 26B Its system will Figure 26A The diagram shows the image to be converted, captIMG(ext_t, 1), divided into hzoneNum*vzoneNum regions captZONE(1, 1)~ZONE_capt(hzoneNum, vzoneNum).

[0041] Figure 27This is a schematic diagram showing that the image region to be converted and captured, captZONE(hzoneID, vzoneID), contains (pxlNum_perhZONE*pxlNum_pervZONE) captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG).

[0042] Figure 28A It is indicated by the box marked extFM1. Figure 26B A schematic diagram of the captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG) that are not white in the captured image captIMG(ext_t, 1) to be converted.

[0043] Figure 28B Its pixel reduction interface will Figure 28A The diagram illustrates the conversion of the high-resolution captured image captIMG(ext_t, 1) into the low-resolution external lighting effect bitmap extBM(ext_t, 1, Z).

[0044] Figure 28C Its basis is Figure 28B A schematic diagram of the device lighting effect configuration file devPRF(Z, ext_t, 1)(captID=1) used to set the dynamic light source device lgtDEV[Z].

[0045] Figure 29A This is a schematic diagram of another image to be converted and captured, captIMG(ext_t, 2), generated by the image capture interface based on the external video extVID.

[0046] Figure 29B Its pixel reduction interface will Figure 29A The diagram illustrates the conversion of the high-resolution captured image captIMG(ext_t, 2) into the low-resolution external lighting effect bitmap extBM(ext_t, 2, Z).

[0047] Figure 29C Its relationship with Figure 29B A schematic diagram of the corresponding device lighting effect configuration file devPRF(Z, ext_t, 2)(captID=2); and

[0048] Figure 30 This is a flowchart of a control method for controlling the lighting effect of electronic devices with dynamic light source devices lgtDEV[1] to lgtDEV[K], based on the concept disclosed herein, in response to different types of input image data inDAT.

[0049] in:

[0050] 10: Electronic devices;

[0051] 11: Input device;

[0052] 13: Image capturing circuit;

[0053] 15: Screen;

[0054] 16: Communication interface;

[0055] 17: Control circuit;

[0056] 18: Storage circuit;

[0057] 19, lgtDEV[1], lgtDEV[K], lgtDEV[Z], 251: Dynamic light source device;

[0058] cp(Z, 1, 1), cp(Z, 30, 6), cp(Z, hcpID, vcpID), cp(Z, (hzoneID-1)*cpNum_perhZONE+1, (vzoneID-1)*cpNum_pervZONE+1), cp(Z, hzoneID*cpNum_perhZONE, vzoneID*cpNum_pervZONE): Light-emitting element;

[0059] hcpNum[Z]: Total number of columns of light-emitting elements;

[0060] vcpNum[Z]: Total number of rows of light-emitting elements;

[0061] untR(Z, hcpID, vcpID): Red light-emitting unit;

[0062] untG(Z, hcpID, vcpID): Green light-emitting unit;

[0063] untB(Z, hcpID, vcpID): Blue emitting unit;

[0064] inDAT: Input image data;

[0065] psbmF: Preset lighting effect bitmap file;

[0066] rtVID: Real-time video;

[0067] extVID: External video;

[0068] 23, 23b, 23c: Lighting effect format conversion interface;

[0069] 233, 233b, 233c: Image conversion interface;

[0070] 231, 231a, 231b, 231c: Lighting effect format setting interface;

[0071] 2313: Bitmap loading interface;

[0072] 2311: Component color value setting interface;

[0073] 253: Driver;

[0074] clrMTX[Z]: Color parameter setting matrix;

[0075] devATTR[Z]: Device attribute parameter;

[0076] devATTR_reqCMD[Z]: Device attribute request command;

[0077] 25: HID LampArray interface;

[0078] ST1: Standby mode;

[0079] ST2: Enabled;

[0080] ST3A, ST3B, ST3C: Lighting effect settings;

[0081] AR1, AR2, AR3a, AR3b, AR3c, AR4a, AR4b, AR5a, AR5b, AR6A, AR6b: Dashed arrows;

[0082] S11,S13,S15,S151,S153,S155,S157,S301,S303,S305,S307,S309,S311,S313,S315,S317,S319,S501,S503,S505,S507,S509,S511,S513,S515,S517,S701,S703,S705,S706,S707,S709,S711: Steps;

[0083] psBM(1,Z), psBM(psbmNum,Z), psBM(psbmID,Z): Preset lighting effect dot matrix data array;

[0084] devPRF(Z,psbmID),devPRF(Z,1),devPRF(Z,2),devPRF(Z,3),devPRF(Z,4),devPRF(Z,6),devPRF(Z,rt_t,captID),devPRF(Z,rt_t,1),devP RF(Z,rt_t,2),devPRF(Z,rt_t,15),devPRF(Z,rt_t,captID),devPRF(Z,ext_t,captID),devPRF(Z,ext_t,1),devPRF(Z,ext_t,2): device lighting effect profile;

[0085] psbmPXL(1,1,Z),psbmPXL(30,6,Z),psbmPXL(pxlID_psBM,vpxlID_psBM,Z): Preset light effect bitmap pixels;

[0086] hpxlNum_psBM: The total number of rows of pixels in the preset lighting effect bitmap;

[0087] vpxlNum_psBM: The total number of columns of pixels in the preset lighting effect bitmap;

[0088] t1, t2, t3, t4, t5, t6, (rt_t-1): time points;

[0089] rt_t,rtID,captID,hzoneID,vzoneID,pxlNum_perhZONE,pxlNum_pervZONE,hpxlID_extBM,vpxlID_extB M: variable;

[0090] rtVID_dur: period;

[0091] prfDUR(Z,1),prfDUR(Z,2),prfDUR(Z,3),prfDUR(Z,4),prfDUR(Z,5): Duration of light effect maintenance;

[0092] 13a: Camera;

[0093] 10a: Notebook computer;

[0094] rtIMG(rt_t,rtID),rtIMG(1,1),rtIMG(rt_t-1,rtFPS),rtIMG(rt_t,1),rtIMG(rt_t,2),rtIMG(rt_t+1,1),rtIMG(rt_t,rtFPS),rtIMG(rtVID_ dur,rtFPS),rtIMG(rt_t,rtID),rtIMG(rt_t,1),rtIMG(rt_t,2),rtIMG(rt_t,29),rtIMG(rt_t,30),rtIMG(rt_t,1),rtIMG(rt_t,rtFPS): real-time image;

[0095] lgtZONE(Z,1,1),lgtZONE(Z,2,1),lgtZONE(Z,3,1),lgtZONE(Z,4,1),lgtZONE(Z,5,1),lgtZONE(Z,hzoneID,vzoneID): Lighting control area;

[0096] rtINTVL: Real-time video time interval;

[0097] captIMG(rt_t,captID),captIMG(rt_t,1),captIMG(rt_t,2),captIMG(rt_t,15),captIMG(ext_t,captID),captIMG(ext_t,1),captIMG(ext_t,2): Images to be captured and converted.

[0098] rtBM(rt_t,captID,Z),rtBM(rt_t,1,Z),rtBM(rt_t,2,Z),rtBM(rt_t,15,Z): Real-time lighting effect dot matrix data array;

[0099] extBM(ext_t,captID,Z),extBM(ext_t,2,Z): External lighting effect dot matrix data array;

[0100] captINTVL: Capture image time interval;

[0101] hpxlNum_captIMG: The total number of rows of pixels captured in the image;

[0102] vpxlNum_captIMG: The total number of columns of image pixels to capture;

[0103] captPXL(hpxlID_captIMG,vpxlID_captIMG),captPXL((hpxlID_captIMG-1)*pxlNum_perhZONE+1,(vpxlID_captIMG-1)*pxlNum_perhZONE+1),captPXL(hpxlID_captIMG*pxlNum_perhZONE,vpxlID_captIMG*pxlNum_pervZONE): Captures image pixels;

[0104] 235b, 235c: Image capture interface;

[0105] 2351: Image generation interface;

[0106] 2353: Image rate reduction interface;

[0107] captZONE(1,1), captZONE(hzoneNum,vzoneNum), captZONE(hzoneID,vzoneID), captZONE(1,1), captZONE(2,1), captZONE(3,1), captZONE(4,1), captZONE(5,1), captZONE(9,3), captZONE(23,2), captZONE(30,2), captZONE(30,6), captZONE(hzoneID,vzoneID): Image regions to be converted and captured;

[0108] 237b, 237c: Bitmap generation interface;

[0109] 2371: Dynamic detection interface;

[0110] 2373: Region-Pixel Mapping Interface;

[0111] 2374: Image segmentation interface;

[0112] hzoneNum: Number of horizontal zones;

[0113] vzoneNum: Number of vertical segments;

[0114] hpxlNum_rtBM: Total number of rows of pixels in the real-time lighting effect bitmap;

[0115] vpxlNum_rtBM: Total number of columns of pixels in the real-time lighting effect bitmap;

[0116] core_captZONE(rt_t,captID): Core captured image region;

[0117] rtbmPXL(hpxlID_rtBM,vpxlID_rtBM,Z),rtbmPXL(1,1,Z),rtbmPXL(2,1,Z),rtbmPXL(3,1,Z),rtbmPXL(4,1,Z),rtbmPXL(5,1,Z): Real-time lighting effect bitmap pixels.

[0118] rtbmZONE(5,1,Z),rtbmZONE(5,2,Z),rtbmZONE(5,3,Z),rtbmZONE(5,4,Z),rtbmZONE(5,5,Z),rtbmZONE(hzoneID,vzoneID,Z),rtbmZONE(1,1,Z),rtbmZONE(2,1,Z),rtbmZONE(3,1,Z),rtbmZONE(4,1,Z),rtbmZONE(5,1,Z): Real-time lighting effect dot matrix area;

[0119] tgtFT: Target features;

[0120] tgtPOS: Target location;

[0121] core_rtbmZONE(rt_t,captID,Z): Core dot matrix region;

[0122] core_lgtZONE(rt_t,captID,Z): Core lighting control area;

[0123] rtFM1,rtFM2,rtFM3,rtFM4,rtFM5,extFM1,extFM1',extFM2,extFM3a,extFM3b,extFM4a,extFM4b: Selected area;

[0124] extIMG(ext_t,1),extIMG(ext_t,extFPS): External imagery;

[0125] 2375: Pixel reduction interface;

[0126] pxlNum_perhZONE: The number of captured image pixels contained in the horizontal (column) direction of the captured image region to be converted;

[0127] pxlNum_pervZONE: The number of captured image pixels contained in the vertical (row) direction of the captured image region to be converted;

[0128] hpxlNum_extBM: The total number of rows of pixels in the external lighting effect bitmap;

[0129] vpxlNum_extBM: The total number of columns of pixels in the external lighting effect bitmap;

[0130] extbmPXL(9,3,Z),extbmPXL(23,2,Z),extbmPZL(30,2,Z),extbmPXL(30,6,Z),extbmPZL(hpxlID_extBM,vpxlID_extBM,Z),extbmPXL(2,4,Z),expbmPXL(6,6,Z),extbmPXL(hpxlID_extBM,vpxlID_extBM,Z): External lighting effect bitmap pixels. Detailed Implementation

[0131] The lighting effects provided by peripheral device manufacturers are often too basic and offer limited improvement to the user experience. To address this, Microsoft defined a dynamic lighting interface specification to enable peripheral device manufacturers to provide compatible lighting. Within this dynamic lighting interface, Microsoft certifies manufacturers of peripheral devices that control HID (Human Interface Devices) lamp arrays. This article refers to such devices that support HID lamp arrays as dynamic lighting devices.

[0132] Currently, Microsoft's HID LampArray interface allows users to decide whether to enable dynamic lighting and to select which application software should be used with the dynamic lighting device. However, manually configuring the dynamic lighting device is too cumbersome for the average user and does not provide the ability to automatically adjust the lighting effects according to the user's operating context. Therefore, this invention provides a control method that can automatically and adaptively adjust the lighting effects according to the user's operating context of the electronic device, thereby improving the user experience.

[0133] Please see Figure 1This is a block diagram of an electronic device with a dynamic light source. The type of electronic device 10 is not limited; for example, electronic device 10 can be a computer, mobile phone, or tablet. Electronic device 10 includes: an input device 11, an image capturing circuit 13, a screen 15, a control circuit 17, a communication interface 16, a storage circuit 18, and K dynamic light source devices (lgtDEV[1] to lgtDEV[K]) 19 supporting HID LampArray interface. The storage circuit 18 includes non-volatile memory and volatile memory. The control circuit 13 is electrically connected to the input device 11, the image capturing circuit 13, the screen 15, the communication interface 16, the storage circuit 18, and the dynamic light source devices (lgtDEV[1] to lgtDEV[K]) 17.

[0134] Input device 11 can be a touch screen, mouse, or keyboard. Control circuit 17 includes multiple timers, a central processing unit (CPU), and a platform controller hub (PCH). The platform controller can be used with an inter-integrated circuit (I2C) interface, allowing the chipset to communicate with the driver of the dynamic light source device (lgtDEV[1]~lgtDEV[K]) 19. The dynamic light source device (lgtDEV[1]~lgtDEV[K]) 19 can be a standalone light source device. Alternatively, the dynamic light source device (lgtDEV[1]~lgtDEV[K]) 19 can be combined with other devices to form a peripheral device with light-emitting function. For example, a keyboard, case, mouse, touchpad, etc. with RGB light source.

[0135] First, this paper assumes that the electronic device 10 has K peripheral devices supporting the HID LampArray interface. For ease of explanation, these peripheral devices supporting the HID LampArray interface are referred to as dynamic light source devices lgtDEV[Z] (Z = 1 to K) 19. Since the control circuit 17 controls the lighting effect of the dynamic light source devices (lgtDEV[1] to lgtDEV[K]) 19 in a similar way, the following description will directly use the dynamic light source device lgtDEV[Z] as an example. In addition, in order to explain more specifically how the concept of this invention is applied to the dynamic light source device lgtDEV[Z], the following embodiments will assume that the light-emitting elements cp on the dynamic light source device lgtDEV[Z] are arranged in rows hcpNum[Z] and columns vcpNum[Z]. Z, K, hcpNum[Z], and vcpNum[Z] are positive integers, and Z ≤ K.

[0136] In practical applications, the number and arrangement order of the light-emitting elements cp on the dynamic light source device lgtDEV[Z] are not necessarily in a matrix format. In such cases, the data mapping relationship when the control circuit 17 controls the dynamic light source device lgtDEV[Z] needs slight adjustment. Those skilled in the art to which this invention pertains can modify the application of this concept based on parameters such as the actual number and arrangement of the light-emitting elements cp on the dynamic light source device lgtDEV[Z]. Such application variations will not be detailed herein.

[0137] For simplicity, this paper assumes that the light-emitting elements cp on the dynamic light source device lgtDEV[Z] are arranged in rows hcpNum[Z] and columns vcpNum[Z] (cp(Z,1,1)~cp(Z,hcpNum[Z],vcpNum[Z])). Furthermore, this paper assumes that the horizontal direction is the column direction and the vertical direction is the row direction.

[0138] Please see Figure 2 This is a schematic diagram assuming that the light-emitting elements cp(Z,1,1)~cp(Z,30,6) of the dynamic light source device lgtDEV[Z] are arranged with a total number of rows hcpNum[Z] = 30 rows and a total number of columns vcpNum[Z] = 6 columns. Figure 2 In this example, assume the total number of rows of light-emitting elements, hcpNum[Z], is 30, and the total number of columns, vcpNum[Z], is 6. Therefore, the dynamic light source device lgtDEV[Z] contains: hcpNum[Z] * vcpNum[Z] = 30 * 6 = 180 light-emitting elements cp(Z,1,1) to cp(Z,30,6). The actual values ​​of hcpNum[Z] and vcpNum[Z] may vary depending on the value of Z (for the dynamic light source device lgtDEV[Z], Z = 1 to K).

[0139] The individual lighting effects of the light-emitting elements cp(Z,1,1) to cp(Z,hcpNum[Z],vcpNum[Z]) can be set separately, and the lighting effects of the light-emitting elements cp(Z,1,1) to cp(Z,hcpNum[Z],vcpNum[Z]) after being set separately will be combined to form the overall lighting effect of the dynamic light source device lgtDEV[Z]. In practical applications, the number (K) of dynamic light source devices used with the electronic device 10 is unlimited, and the number, physical position and arrangement of the light-emitting elements cp(Z,1,1) to cp(Z,hcpNum[Z],vcpNum[Z]) on the dynamic light source device lgtDEV[Z] are unlimited.

[0140] Please see Figure 3This is a schematic diagram illustrating the composition of the light-emitting element cp(Z, hcpID, vcpID). The light-emitting element cp(Z, hcpID, vcpID) represents the light-emitting element located in the hcpID-th row and vcpID-th column. The total number of rows of light-emitting elements (hcpNum[Z]), the total number of columns of light-emitting elements (vcpNum[Z]), and the row numbers hcpID and vcpID are all positive integers, and 1 ≤ hcpID ≤ hcpNum[Z] and 1 ≤ vcpID ≤ vcpNum[Z]. If this continues... Figure 2 For example, 1≤hcpID≤30 and 1≤vcpID≤6.

[0141] The light-emitting element cp(Z,hcpID,vcpID) comprises: a red light-emitting unit untR(Z,hcpID,vcpID), a green light-emitting unit untG(Z,hcpID,vcpID), and a blue light-emitting unit untB(Z,hcpID,vcpID). For example, the light-emitting element cp(Z,hcpID,vcpID) comprises a red light-emitting unit untR(Z,hcpID,vcpID), a green light-emitting unit untG(Z,hcpID,vcpID), and a blue light-emitting unit untB(Z,hcpID,vcpID), and so on. The brightness of the red light-emitting unit untR(Z,hcpID,vcpID), the green light-emitting unit untG(Z,hcpID,vcpID), and the blue light-emitting unit untB(Z,hcpID,vcpID) is determined by the settings in the color parameter setting matrix clrMTX[Z]. The details of how the luminous properties (e.g., color values ​​and / or brightness values) of the light-emitting element cp(Z,hcpID,vcpID) are changed according to the settings in the color parameter setting matrix clrMTX[Z] will not be elaborated in this article.

[0142] According to the concept disclosed herein, the source of the color parameter setting matrix clrMTX[Z] is quite flexible and can be changed according to the user's operation of the electronic device 10. By dynamically updating the color parameter setting matrix clrMTX[Z], the lighting effect of the dynamic light source device lgtDEV[Z] can be made more dynamic and matched to the user's operation of the electronic device 10.

[0143] Please see Figure 4This is a schematic diagram of the interface for converting lighting effect formats in the software stacking architecture of electronic devices. The dynamic light source device (lgtDEV[1]~lgtDEV[K])251 supports the HID LampArray interface 25. The control circuit 17 executes the Microsoft Windows operating system, and the control circuit 17 can use the HID LampArray interface 25 in conjunction with the driver 253 of the dynamic light source device (lgtDEV[1]~lgtDEV[K])251 to control the lighting effects of multiple (total number of rows of light-emitting elements hcpNum[Z] * total number of columns of light-emitting elements vcpNum[Z]) light-emitting elements cp(Z, 1, 1)~cp(Z, hcpNum[Z], vcpNum[Z]) set on the dynamic light source device (lgtDEV[1]~lgtDEV[K])251. The HID LampArray interface 25 is equivalent to a translation interface between the lighting effect format setting interface 231 and the driver 253 of the dynamic light source device lgtDEV[Z].

[0144] The lighting effect format conversion interface 23 disclosed herein is a set of middleware executed by the control circuit 13, which can be run in conjunction with a Windows operating system. The lighting effect format conversion interface 23 includes a lighting effect format setting interface 231 and an image conversion interface 233. According to the concept disclosed herein, the image conversion interface 233 can accept different types of image / video formats as input image data inDAT. Subsequently, the lighting effect format setting interface 231 dynamically adjusts the setting method of the color parameter setting matrix clrMTX[Z] according to the format and source of the input image data inDAT.

[0145] The input image data inDAT used in the embodiments described herein includes the following types: preset lighting effect bitmap data arrays psBM(1, Z) to psBM(psbmNum, Z), real-time lighting effect bitmap data arrays rtBM(rt_t, captID), and external lighting effect bitmap data arrays extBM(ext_t, captID, Z). Here, the variable rt_t represents the real-time video rtVID during the rt_t second; the variable ext_t represents the external video extVID during the ext_t second; and the variable captID represents the captID-th image to be converted and captured within a certain second (the rt_t second / the ext_t second). In practical applications, the image / video format of the input image data inDAT used as the lighting effect format conversion interface 23 is not limited to the embodiments described herein.

[0146] Please see Figure 5This is a state diagram of the lighting effect format setting interface. This section only briefly explains the various operating states of the lighting effect format conversion interface 23, and when the interface needs to switch operating states. Details regarding the actual operating states of the lighting effect format conversion interface 23 will be explained with accompanying diagrams later. Please also refer to... Figure 4 , Figure 5 .

[0147] First, when the dynamic light source device lgtDEV[Z] is not yet installed on the electronic device 10, or is not yet enabled, the lighting effect format conversion interface 23 remains in standby state ST1. When the dynamic light source device lgtDEV[Z] is enabled, the lighting effect format conversion interface 23 switches to the enabled state ST2 (as shown by the dashed arrow AR2). Conversely, if the dynamic light source device lgtDEV[Z] is not enabled, the lighting effect format conversion interface 23 will remain in standby state ST1 (as shown by the dashed arrow AR1).

[0148] In the enabled state ST2, the lighting effect format conversion interface 23 pre-establishes a color parameter setting matrix clrMTX[Z] corresponding to the dynamic light source device lgtDEV[Z], based on the number and arrangement of the light-emitting elements configured in the dynamic light source device lgtDEV[Z]. Subsequently, according to the actual format of the input image data inDAT, the lighting effect format conversion interface 23 enters the lighting effect setting states ST3A, ST3B, and ST3C (as shown by the dashed arrows AR3a, AR3b, and AR3c). In the lighting effect setting states ST3A, ST3B, and ST3C, the lighting effect format conversion interface 23 sets the color values ​​of the color parameter setting matrix clrMTX[Z] according to the content and format of the input image data inDAT, thereby forming the lighting effect of the dynamic light source device lgtDEV[Z].

[0149] When the input image data inDAT is a preset bitmap file (psbmF), the lighting effect format conversion interface 23 is in the lighting effect setting state ST3A. If the lighting effect format conversion interface 23 continues to receive the preset bitmap file (psbmF), it remains in the lighting effect setting state ST3A (as shown by the dashed arrow AR4a); if the lighting effect format conversion interface 23 stops receiving the preset bitmap file (psbmF), it returns to the standby state ST1 (as shown by the dashed arrow AR4b). For details on how the lighting effect format conversion interface 23 converts the preset bitmap file (psbmF) into a device lighting-effect profile (devPRF) (Z, psbmID) used to control the lighting effects of the dynamic light source device lgtDEV[Z] in the lighting effect setting state ST3A, please refer to [link to documentation]. Figures 7-11 Explanation.

[0150] When the input image data inDAT is real-time video rtVID, the lighting effect format conversion interface 23 is in the lighting effect setting state ST3B. If the lighting effect format conversion interface 23 continues to receive real-time video rtVID, it remains in the lighting effect setting state ST3B (as shown by the dashed arrow AR5a); if the lighting effect format conversion interface 23 stops receiving real-time video rtVID, it returns to the standby state ST1 (as shown by the dashed arrow ARSb). For details on how the lighting effect format conversion interface 23 converts the real-time video rtVID into the device lighting effect configuration file devPRF(Z, rt_t, captID) used to control the lighting effect of the dynamic light source device lgtDEV[Z] in the lighting effect setting state ST3B, please refer to [link to documentation]. Figures 12-24 Explanation.

[0151] When the input image data inDAT is an external video extVID, the lighting effect format conversion interface 23 is in the lighting effect setting state ST3C. If the lighting effect format conversion interface 23 continues to receive external video extVIDs, it remains in the lighting effect setting state ST3C (as shown by the dashed arrow AR6a); if the lighting effect format conversion interface 23 stops receiving external video extVIDs, it returns to the standby state ST1 (as shown by the dashed arrow AR6b). For details on how the lighting effect format conversion interface 23 converts the external video extVID into the device lighting effect configuration file devPRF(Z, ext_t, captID) used to control the lighting effect of the dynamic light source device lgtDEV[Z] in the lighting effect setting state ST3C, please refer to [link to documentation]. Figures 25-30 Explanation.

[0152] Please see Figure 6 This refers to the process where the lighting effect format conversion interface is in the active state, and the lighting effect format setting interface generates a flowchart of the color parameter setting matrix clrMTX[Z] corresponding to the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]). Please also refer to... Figure 4 , Figure 6 .

[0153] First, the operating system running on the control circuit 13 will determine whether to enable the dynamic light source device lgtDEV[Z] (step S11). If the result of step S11 is negative, the lighting effect format conversion interface 23 will remain in standby mode, and the operating system will wait for a period of time (step S13) before executing step S11 again.

[0154] If the judgment result of step S11 is positive, the lighting effect format conversion interface 23 enters the enabled state ST2, and establishes the color parameter setting matrix clrMTX[Z] corresponding to the dynamic light source device lgtDEV[Z] through the HIDLampArray interface 25 (step S15). Step S15 further includes the following steps: the component color value setting interface 2311 sends a device attribute request command devATTR_reqCMD[Z] to the dynamic light source device lgtDEV[Z] through the HID LampArray interface 25 (step S151). Moreover, after receiving the device attribute request command devATTR_reqCMD[Z], the driver 253 of the dynamic light source device lgtDEV[Z] generates and returns the device attribute parameter devATTR[Z] conforming to the specification of the HID LampArray interface 25 to the component color value setting interface 2311 (step S153).

[0155] Subsequently, the component color value setting interface 2311 and the image conversion interface 233 obtain the total number of rows of light-emitting elements hcpNum[Z] and the total number of columns of light-emitting elements vcpNum[Z] from the device attribute parameter devATTR[Z] (step S155). Furthermore, the lighting effect format setting interface 231 establishes a color parameter setting matrix clrMTX[Z] corresponding to the hcpNum[Z]*vcpNum[Z] light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) on the dynamic light source device lgtDEV[Z] (step S157) based on the total number of rows of light-emitting elements hcpNum[Z] and the total number of columns of light-emitting elements vcpNum[Z].

[0156] Figure 6 The process involves the lighting effect format setting interface 231 obtaining the configuration of the light-emitting elements on the dynamic light source device lgtDEV[Z], and then establishing a color parameter setting matrix clrMTX[Z] that matches the number and size of the light-emitting elements cp(Z, 1, 1) ~ cp(Z, hcpNum[Z], vcpNum[Z]). Because... Figure 6 The process is equivalent to a preprocessing process that performs data format conversion on the input image data inDAT before the actual setting of the color values ​​and / or brightness values ​​of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) in the lighting effect setting interface 231. Figure 6 The process does not vary depending on the format of the input image.

[0157] The following disclosures are specifically for... Figure 5The inDAT format of the several types of input image data mentioned explains how the lighting effect format conversion interface 23, according to the concept of this disclosure, controls the electronic device 10 to produce corresponding lighting effects. Figures 7-10 Implementation examples (corresponding to) Figure 5 The description of the lighting effect setting status ST3A) states that when the input image data inDAT is in the format of the preset lighting effect bitmap file psbm, the lighting effect format conversion interface 23 generates the device lighting effect setting file devPRF(Z, psbmID) for controlling the lighting effect of the dynamic light source device lgtDEV[Z]. Figures 11-24 Implementation examples (corresponding to) Figure 5 The lighting effect setting status ST3B) explains how, when the input image data inDAT is in the format of real-time video rtVID, the lighting effect format conversion interface 23 converts the image content of real-time video rtVID into the device lighting effect setting file devPRF(Z, rt_t, captID) that controls the lighting effect of the dynamic light source device lgtDEV[Z]. Figures 25-29C Implementation examples (corresponding to) Figure 5 The lighting effect setting status ST3C) explains how, when the input image data inDAT is in the format of an external video extVID, the lighting effect format conversion interface 23 converts the image content of the external video extVID into a device lighting effect setting file devPRF(Z, ext_t, captID) that controls the lighting effect of the dynamic light source device lgtDEV[Z].

[0158] This disclosure utilizes Figures 7-10 This embodiment illustrates how the lighting effect format conversion interface 23 generates the color parameter setting matrix clrMTX[Z] when the input data is a pre-stored bitmap file psbmF. First, assume that the manufacturer of the electronic device 10 provides a preset number of pre-defined bitmap files psbmNum (psbmNum is a positive integer). The number of pre-defined bitmap files psbmF can be one or more. After powering on, the electronic device 10 can read psbmNum pre-defined bitmap files psbmF when the dynamic light source device lgtDEV[Z] needs to be enabled, to load the psbmNum pre-defined bitmap data arrays psBM(1,Z) to psBM(psbmNum,Z).

[0159] In practical applications, the preset lighting effect bitmap file psbmF can be provided by the manufacturer of the electronic device 10. For simplicity, the embodiments disclosed herein assume that the resolution of the preset lighting effect bitmap data array psBM(1,Z)~psBM(psbmNum,Z), the number of preset lighting effect bitmap pixels psbmPXL(1,1,Z)~psbmPXL(hpxlNum_psBM, vpxlNum_psBM,Z) (hpxlNum_psBM*vpxlNum_psBM), the format and arrangement (hpxlNum_psBM rows, vpxlNum_psBM columns), etc., are all designed directly to correspond to the dynamic light source device lgtDEV[Z] (Z=1~K). The total number of rows hpxlNum_psBM and the total number of columns vpxlNum_psBM of the preset lighting effect bitmap pixels are positive integers.

[0160] Please see Figure 7 This diagram illustrates the format conversion process performed by the lighting effect format conversion interface when the input image data inDAT is a preset lighting effect bitmap file psbmF. When the input image data inDAT is a preset lighting effect bitmap file psbmF, the lighting effect format conversion interface 23 uses the lighting effect setting interface 231 to convert the image data format of the preset lighting effect bitmap file psbmF. The lighting effect setting interface 231 includes: a bitmap loading interface 2313 and a component color value setting interface 2311.

[0161] In practical applications, a preset lighting effect bitmap file psbmF can contain one or more bitmap format files. For ease of explanation, the following embodiments assume the use of psbmNum preset lighting effect bitmap files psbmF, corresponding to psbmNum preset lighting effect bitmap data arrays psBM(1,Z) to psBM(psbmNum,Z). Furthermore, this disclosure assumes that the resolution (hpxlNum_psBM*vpxlNum_psBM) of the pixel data in the preset lighting effect bitmap data arrays psBM(1,Z) to psBM(psbmNum,Z) is consistent with the number (hcpNum[Z]*vcpNum[Z]) and arrangement of the light-emitting elements cp(Z,l,1) to cp(Z,hcpNum[Z],vcpNum[Z]) of the dynamic light source device lgtDEV[Z]. That is, the total number of rows of the preset lighting effect dot matrix pixel is hpxlNum_psBM = hcpNum[Z], and the total number of columns of the preset lighting effect dot matrix pixel is vpxlNum_psBM = vcpNum[Z].

[0162] When the input image data inDAT is a preset lighting effect bitmap file psbmF, the preset lighting effect bitmap data arrays psBM(1,Z)~psBM(psbmNum,Z) are pre-loaded into the volatile memory, which serves as a frame buffer, and then read by the bitmap loading interface 2313. Subsequently, the component color value setting interface 2311 converts the color and lighting effect duration prfDUR(Z,psbmID) of the preset lighting effect bitmap data arrays psBM(1,Z)~psBM(psbmNum,Z) into a device lighting effect setting file devPRF(Z,psbmID) used to set the lighting effect of the dynamic light source device lgtDEV[Z].

[0163] The preset lighting effect bitmap data arrays psBM(1, Z) to psBM(psbmNum, Z) record the corresponding colors for each preset lighting effect bitmap pixel psbmPXL(1, 1, Z) to psbmPXL(hpxlNum_psBM, vpxlNum_psBM, Z). The device lighting effect configuration file devPRF(Z, psbmID) includes: the color parameter setting matrix clrMTX[Z] corresponding to the dynamic light source device lgtDEV[Z], and the time attributes related to the setting of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]). When this disclosure mentions the device lighting effect configuration file devPRF(Z, psbmID), it mainly focuses on how to set the color parameter setting matrix clrMTX[Z] based on the input image data inDAT.

[0164] If the number of pixels, arrangement, number of rows, and number of columns in the preset lighting effect bitmap file psbmF obtained by the bitmap loading interface 2313 from the viewport buffer are not equal to the number, arrangement, number of rows, and number of columns of light-emitting elements on the dynamic light source device lgtDEV[Z], an additional resolution adjustment interface can be set between the bitmap loading interface 2313 and the element color value setting interface 2311. The resolution adjustment interface is used to modify the resolution and attribute parameters of the bitmap actually used to set the HID LampArray interface 25. The situation where a resolution adjustment interface is needed during the format conversion process because the resolution and the number and arrangement of light-emitting elements in the preset lighting effect bitmap file psbmF are inconsistent will not be detailed in this article.

[0165] There is no limit to the number of preset lighting effect bitmap files (psbmF). For example, a preset lighting effect bitmap file (psbmF) can be a file that can be divided into multiple parts. Furthermore, each part of this file is used as the data source for a preset lighting effect bitmap data array (psBM(1, Z) ~ psBM(psbmNum, Z). For simplicity, the following example assumes that the input image data (inDAT) consists of psbmNum preset lighting effect bitmap files (psbmF), and each preset lighting effect bitmap file (psbmF) corresponds to a preset lighting effect bitmap data array (psBM(psbmID, Z)).

[0166] Please see Figure 8A This is a schematic diagram of an image presented by a preset lighting effect bitmap file psbmF. The preset lighting effect bitmap file psbmF can be stored in the storage circuit 18 before the electronic device 10 leaves the factory. Alternatively, it can be downloaded by the user from a server provided by the manufacturer of the electronic device 10 and stored in the storage circuit 18. Alternatively, the manufacturer of the electronic device 10 can provide an image format conversion function, allowing the user to select one or more image files of personal preference and pre-convert the image format to generate one or more preset lighting effect bitmap files psbmF with a resolution of hpxlNum_psBM*vpxlNum_psBM. The format of the lighting effect bitmap file psbmF can be generated based on the arrangement and configuration of the light-emitting elements cp(Z,1,1)~cp(Z,hcpNum[Z],vcpNum[Z]) on the dynamic light source device lgtDEV[Z].

[0167] Please see Figure 8B Its basis is Figure 8A A schematic diagram of the preset lighting effect bitmap data array psBM(psbmID, Z) corresponding to the dynamic light source device lgtDEV[Z], generated by the preset lighting effect bitmap file psbmF. The preset lighting effect bitmap data array psBM(psbmID, Z) corresponding to the dynamic light source device lgtDEV[Z] includes the colors of the preset lighting effect bitmap pixels psbmPXL(1,1,Z) to psbmPXL(hpxlNum_psBM, vpxlNum_psBM, Z) arranged in rows hpxlNum_psBM and columns vpxlNum_psBM. As mentioned above, this disclosure assumes that hpxlNum_psBM = hcpNum[Z] and vpxlNum_psBM = vcpNum[Z].

[0168] Therefore, continuation Figure 2 For example, the premise that hcpNum[Z] = 30 and vcpNum[Z] = 6 is... Figure 8BThe preset lighting effect bitmap data array psBM(psbmID, Z) contains the colors of hpxlNum_psBM*vpxlNum_psBM=30*6=180 preset lighting effect bitmap pixels psbmPXL(1,1,Z)~psbmPXL(30,6,Z).

[0169] Because there is a one-to-one correspondence between the colors of the preset lighting effect dot matrix pixels psbmPXL(1,1,Z)~psbmPXL(30,6,Z) in the preset lighting effect dot matrix data array psBM(psbmID,Z) corresponding to the dynamic light source device lgtDEV[Z] and the light-emitting elements cp(Z,1,1)~cp(Z,30,6), the colors of the preset lighting effect dot matrix pixels psbmPXL(hpxlID_psBM,vpxlID_psBM,Z) in the preset lighting effect dot matrix data array psBM(psbmID,Z) corresponding to the dynamic light source device lgtDEV[Z] can be directly used to set the color value and / or brightness value of the light-emitting elements cp(Z,hcpID,vcpID) of the dynamic light source device lgtDEV[Z]. Wherein, 1≤hpxlID_psBM=hcpID≤30, and 1≤vpxlID_psBM=vcpID≤6.

[0170] Please see Figure 8C This is a schematic diagram of the device lighting effect setting file devPRF(Z, psbmID), generated by the lighting effect format setting interface based on the preset lighting effect bitmap data array psBM(psbmID, Z) corresponding to the dynamic light source device lgtDEV[Z]. According to the concept disclosed herein, each preset lighting effect bitmap data array psBM(psbmID, Z) corresponding to the dynamic light source device lgtDEV[Z] is used to generate a corresponding device lighting effect setting file devPRF(Z, psbmID). Furthermore, this device lighting effect setting file devPRF(Z, psbmID) is used to control the lighting effect of the dynamic light source device lgtDEV[Z] for a period of time (called the lighting effect maintenance duration prfDUR(Z, psbmID)). The length of the lighting effect maintenance duration prfDUR(Z, psbmID) may also be different when the preset lighting effect bitmap data array psBM(psbmID, Z) is different.

[0171] Please also see Figure 8B The preset lighting effect bitmap data array psBM(psbmID, Z) and Figure 8CThe device lighting effect configuration file devPRF(Z, psbmID). On the dynamic light source device lgtDEV[Z], the light-emitting element cp(Z, hcpID, vcpID) located in the hcpID row and vcpID column is set according to the color of the preset lighting effect bitmap pixel psbmPXL(hpxlID_psBM, vpxlID_psBM, Z) located in the hpxlID_psBM row and vpxlID_psBM column on the preset lighting effect bitmap array psBM(psbmID, Z). Where hcpID = hpxlID_psBM, and vcpID = vpxlID_psBM. The details of how to set the color value and brightness value of the individual light-emitting element cp(Z, hcpID, vcpID) according to the color of the individual bitmap pixel psbmPXL(hpxlID_psBM, vpxlID_psBM, Z) are not described in detail in this article.

[0172] then, Figure 9 Taking psbmNum=5 as an example, this section explains how to set the device lighting effect settings devPRF(Z,1) to devPRF(Z,5) of the dynamic light source device lgtDEV[Z] based on the preset lighting effect dot matrix data arrays psBM(1,Z)~psBM(5,Z) for the lighting effect maintenance periods prfDUR(Z,1)~prfDUR(Z,5). In practical applications, the lengths of the lighting effect maintenance periods prfDUR(Z,1)~prfDUR(Z,psbmNum) corresponding to the preset lighting effect dot matrix data arrays psBM(1,Z)~psBM(psbmNum,Z) may be equal or unequal. This variation in application will not be discussed in detail here.

[0173] The component color value setting interface 2311 can utilize the callback function mechanism provided by the HID LampArray interface 25 to set the setting function of the color parameter setting matrix clrMTX[Z] to be called again after the interval lighting effect maintenance period prfDUR(Z, 1) to prfDUR(Z, 5). Furthermore, when the HID LampArray interface 25 executes the callback function, the component color value setting interface 2311 sequentially uses the color parameter setting matrix clrMTX[Z] in the device lighting effect setting files devPRF(Z, 1) to devPRF(Z, 5) to set the lighting effect of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]). In this way, the lighting effect of the dynamic light source device lgtDEV[Z] can dynamically change over time.

[0174] Please see Figure 9This is a schematic diagram of the device lighting effect format setting interface using the contents of the preset lighting effect dot matrix data arrays psBM(1,Z) to psBM(5,Z) in sequence during the lighting effect maintenance period, assuming that the preset number of lighting effect dot matrix diagrams is psbmNum=5. The lighting effect format setting interface 231a uses the device lighting effect setting file devPRF(Z,1) to control the lighting effect of the light-emitting elements cp(Z,1,1) to cp(Z,30,6) during time points t1 to t2 (the lighting effect maintenance period prfDUR(Z,1)); the lighting effect format setting interface 231a uses the device lighting effect setting file devPRF(Z,2) to control the lighting effect of the light-emitting elements cp(Z,1,1) to cp(Z,30,6) during time points t2 to t3 (the lighting effect maintenance period prfDUR(Z,2)); the lighting effect format setting interface 231a uses the device lighting effect setting file devPRF(Z,2) to control the lighting effect of the light-emitting elements cp(Z,1,1) to cp(Z,30,6) during time points t3 to t4 (the lighting effect maintenance period prfDUR(Z,3)). The effect setting profile devPRF(Z,3) controls the lighting effect of the light-emitting elements cp(Z,1,1) to cp(Z,30,6); the lighting effect format setting interface 231a uses the device lighting effect setting profile devPRF(Z,4) to control the lighting effect of the light-emitting elements cp(Z,1,1) to cp(Z,30,6) during time point t4 to t5 (during the lighting effect maintenance period prfDUR(Z,4)); and the lighting effect format setting interface 231a uses the device lighting effect setting profile devPRF(Z,5) to control the lighting effect of the light-emitting elements cp(Z,1,1) to cp(Z,30,6) during time point t5 to t6 (during the lighting effect maintenance period prfDUR(Z,5)).

[0175] Starting from time point t6, the lighting effect format setting interface 231a can be followed again. Figure 9 The lighting sequence is from bottom to top, with the device lighting effect settings devPRF(Z,1) to devPRF(Z,5) controlling the lighting effects of the light-emitting elements cp(Z,1,1) to cp(Z,30,6) in turn. Alternatively, the lighting effect format setting interface 231a can reverse the setting order, allowing the lighting effects of the light-emitting elements cp(Z,1,1) to cp(Z,30,6) to be controlled in turn according to the device lighting effect settings devPRF(Z,5) to devPRF(Z,1). The application variations in this part will not be detailed here.

[0176] Please see Figure 10This is a flowchart illustrating how the lighting effect format setting interface sets the lighting effect of the dynamic light source device lgtDEV[Z] using the device lighting effect setting files devPRF(Z,1) to devPRF(Z,psbmNum) during the lighting effect maintenance period. The lighting effect maintenance periods prfDUR(Z,1) to prfDUR(Z,psbmNum) can be pre-designed by the manufacturer of the electronic device 10 when providing the device lighting effect setting files devPRF(Z,1) to devPRF(Z,5), along with the individually matched color parameter setting matrix clrMTX[Z].

[0177] After initializing the lighting effect duration timer tmr_prfDUR and the preset lighting effect bitmap number counter cnt_psBM (setting tmr_prfDUR=0, cnt_psBM=1), the lighting effect duration timer tmr_prfDUR and the preset lighting effect bitmap number counter cnt_psBM are enabled (step S301). The bitmap loading interface 2313 transmits the preset lighting effect bitmap data array psBM(cnt_psBM, Z) to the component color value setting interface 2311 (step S303). Then, the component color value setting interface 2311 sets the color parameter matrix clrMTX[Z] of the preset lighting effect bitmap pixels psbmPXL(1,1,Z) to psbmPXL(hpxlNum_psBM, vpxlNum_psBM, Z) of the preset lighting effect bitmap data array psBM(cnt_psBM, Z) (step S305).

[0178] Subsequently, the component color value setting interface 2311 transmits the color parameter setting matrix clrMTX[Z] to the dynamic light source device lgtDEV[Z] through the HIDLampArray interface 25 (step S307). The light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) on the dynamic light source device lgtDEV[Z] then emit light according to the setting of the color parameter setting matrix clrMTX[Z] (step S309).

[0179] The lighting effect setting interface 231 further determines whether the timing result of the lighting effect maintenance period timer tmr_prfDUR is equal to the lighting effect maintenance period prfDUR(Z, cnt_psBM) of the preset lighting effect dot matrix data array psBM(cnt_psBM, Z) corresponding to the preset lighting effect dot matrix number counter cnt_psBM (step S311).

[0180] If the judgment result of step S311 is negative, the lighting effect setting interface 231 will not operate for the time being and will wait. While the lighting effect setting interface 231 is waiting, the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) will maintain the same device lighting effect setting devPRF(Z, cnt_psBM) to generate lighting effects.

[0181] On the other hand, if the judgment result of step S311 is positive, the lighting effect setting interface 231 further confirms whether all the preset lighting effect dot matrix data arrays psBM(1, Z) to psBM(psbmNum, Z) have been used to set the lighting effect. That is, it determines whether the preset lighting effect dot matrix number counter cnt_psBM is equal to the preset lighting effect dot matrix number psbmNum (cnt_psBM = psbmNum?) (step S315). If the judgment result of step S315 is positive, the lighting effect setting interface 231 ends the process. If the judgment result of step S315 is negative, after accumulating the preset lighting effect dot matrix number counter cnt_psBM (cnt_psBM++) (step S317) and setting the lighting effect maintenance period timer tmr_prfDUR to 0 again (tmr_pffDUR = 0) (step S319), step S303 is repeated.

[0182] Figure 10 The process can be repeated. That is, in a cyclic control manner, the color value and / or brightness value of the hcpNum[Z]*vcpNum[Z] light-emitting elements cp(Z,1,1)~cp(Z,hcpNum[Z],vcpNum[Z]) on the dynamic light source device lgtDEV[Z] are set in turn according to the preset light effect dot matrix data arrays psbmNum.

[0183] Please also note that, in Figure 10 In the component color value setting interface 2311, based on the different count values ​​of the preset lighting effect dot matrix number counter cnt_psBM, it individually determines whether the duration of the lighting effect set using the color parameter setting matrix clrMTX[Z] has reached the lighting effect maintenance period prfDUR(Z, cnt_psBM) for different preset lighting effect dot matrix pBM[cnt_psBM]. This determination step indicates that the lighting effect maintenance period prfDUR(Z, 1) to prfDUR(Z, psbmNum) is not necessarily a constant value. To simplify the design, in practical applications, it can be assumed that the lighting effect maintenance period prfDUR(Z, psbmID) is a constant value.

[0184] Figures 11 to 22BIn one embodiment, the lighting effect format conversion interface 23 receives the real-time video rtVID and converts it into lighting effects to control the dynamic light source device lgtDEV[Z]. The real-time video rtVID originates from the video generated by the electronic device 10 in real-time shooting.

[0185] Please see Figure 11 This is a schematic diagram of an image capturing circuit that simultaneously captures images of the user while the user operates the electronic device, creating a real-time video (rtVID). This embodiment assumes the electronic device 10 is a laptop computer 10a. While the user 1 sits in front of the screen 13 and operates the laptop computer 10a, the camera 13a simultaneously captures images of the user.

[0186] During the recording process of camera 13a, real-time video rtIMG(rt_t,rtID) will be continuously generated. The variable rtID represents any second of the real-time video rtVID. The real-time video rtIMG(rt_t,rtID) can be displayed on screen 15, and the image format conversion is performed synchronously. Alternatively, the real-time video rtIMG(rt_t,rtID) may only undergo image format conversion in the background without actually being displayed on screen 15. Here, it is assumed that the dynamic light source device lgtDEV[Z] is the keyboard on the laptop 10a, and it is assumed that the keyboard is divided into 5 lighting effect control areas lgtZONE(Z,1,1)~lgtZONE(Z,hzoneNum,vzoneNum).

[0187] The control circuit 17 performs image format conversion on the real-time image rtIMG(rt_t,rtID), and determines how to set the lighting effects corresponding to the lighting effect control areas lgtZONE(Z,1,1)~lgtZONE(Z,5,1) based on the result of the image format conversion. Figure 11 In the above, assuming that after image format conversion, control circuit 17 determines that the light-emitting elements cp(Z,13,1)~cp(Z,18,6) located in the lighting effect control area lgtZONE(Z,3,1) should be set to light-emitting (indicated by a halftone dot), and the light-emitting elements cp(Z,1,1)~cp(Z,12,6) and cp(Z,73,1)~cp(Z,30,6) located in the lighting effect control areas lgtZONE(Z,1,1), lgtZONE(Z,2,1), lgtZONE(Z,4,1) and the lighting effect control area lgtZONE(Z,5,1) should be set to off (without a halftone dot). The method by which control circuit 17 determines how to set the lighting effects of the lighting effect control areas lgtZONE(Z,1,1)~lgtZONE(Z,5,1) based on the actual image content of the real-time image rtIMG(rt_t,rtID) will be explained in the following section. Figures 12-23D illustrate.

[0188] Please see Figure 12 This is a diagram of a real-time video rtVID lasting rtVID_dur seconds. Figure 12 In this diagram, time is represented from left to right. This disclosure assumes that the length of the real-time video rtVID is rtVID_dur seconds. The variable rt_t represents any second within the rtVID_dur period. That is, 1 ≤ rt_t ≤ rtVID_dur. The real-time video rtVID contains rtFPS of real-time images per second, ranging from rtIMG(1,1) to rtIMG(rtVID_dur,rtFPS). The real-time image frame rate rtFPS is a positive integer. For example, during a one-second period between (rt_t-1) and rt_t seconds, rtFPS of real-time images are contained.

[0189] Furthermore, the real-time time interval rtINTVL between real-time images rtIMG and consecutive real-time images rtIMG is the reciprocal of the real-time frame rate rtFPS (rtINTVL = 1 / rtFPS). For example, there is a real-time time interval rtINTVL = 1 / rtFPS between real-time images rtIMG(rt_t-1, rtFPS) and rtIMG(rt_t, 1). Similarly, there is a real-time time interval rtINTVL = 1 / rtFPS between real-time images rtIMG(rt_t, 1) and rtIMG(rt_t, 2).

[0190] Please see Figure 13This diagram illustrates, using the rt_t second period as an example, the generation times and order of the real-time images rtIMG(rt_t,1)~rtIMG(rt_t,30), the images to be converted captIMG(rt_t,1)~captIMG(rt_t,15), and the real-time lighting effect bitmap data array rtBM(rt_t,1,Z)~rtBM(rt_t,15,Z). Due to speed considerations, the speed at which the control circuit 17 generates the images to be converted captIMG(rt_t,1)~captIMG(rt_t,15) may be slightly slower than the speed at which the real-time images rtIMG(rt_t,1)~rtIMG(rt_t,30) are generated. This paper also assumes that the image frame rate for image format conversion by the control circuit 17 is captFPS. Wherein, the captured image frame rate captFPS is a positive integer, and the captured image frame rate catFPS is less than or equal to the real-time image frame rate rtFPS (captFPS≤rtFPS). In other words, when the real-time image frame rate rtFPS is greater than the captured image frame rate captFPS (rtFPS>captFPS), the real-time images rtIMG(rt_t,2), rtIMG(rt_t,4)...rtIMG(rt_t,30) representing a portion will be discarded by the control circuit 17 and will not be used to generate the captured images captIMG(rt_t,1)~captIMG(rt_t,15) to be converted.

[0191] This assumes that the real-time video rtVID contains 30 real-time images rtIMG per second (real-time image frame rate rtFPS = 30). Also, assume that the control circuit 17 generates the images to be converted, captIMG(rt_t,1) to captIMG(rt_t,15), at a rate of 15 frames per second (captIMG frame rate captFPS = 15). For example, during the rt_t second period, the images to be converted, captIMG(rt_t,1) to captIMG(rt_t,15), are generated based on the real-time images rtIMG(rt_t,1) to rtIMG(rt_t,30). Furthermore, each image to be converted, captIMG(rt_t,1) to captIMG(rt_t,15), is used to convert and generate a real-time lighting effect bitmap data array rtBM(rt_t,1,Z) to captIMG(rt_t,15,Z).

[0192] Furthermore, during the rt_t second period, the captFPS = 15 real-time lighting effect bitmap data arrays rtBM(rt_t,1,Z)~rtBM(rt_t,15,Z) are used to generate a device lighting effect profile devPRF(Z,rt_t,1)~devPRF(Z,rt_t,15) respectively. During the rt_t second period, a total of captFPS = 15 device lighting effect profiles devPRF(Z,rt_t,1)~devPRF(Z,rt_t,15) are generated. Since the lighting effect of the dynamic light source device lgtDEV[Z] depends on the device lighting effect profiles devPRF(Z,rt_t,1)~devPRF(Z,rt_t,15), the lighting effect of the dynamic light source device lgtDEV[Z] will change at intervals of captINTVL = 1 / 15 seconds.

[0193] Please see Figure 14 This is a schematic diagram of the captIMG(rt_t,captID) image to be converted, which contains the user's image and is obtained from the real-time video rtVID. In this paper, captIMG(rt_t,captID) represents the captID-th image to be converted from the rtFPS real-time images rtIMG(rt_t,1) to rtIMG(rt_t,rtFPS) captured by camera 13a during the rt_t second period. Where 1 ≤ captID ≤ captFPS, and captFPS ≤ rtFPS.

[0194] Since the image to be converted, captIMG(rt_t,captID), originates from the real-time images rtIMG(rt_t,1) to rtIMG(rt_t,rtFPS), the resolution of the image to be converted, captIMG(rt_t,captID), is equal to the resolution of the real-time images rtIMG(rt_t,1) to rtIMG(rt_t,rtFPS). The actual format of the image to be converted, captIMG(rt_t,captID), is not limited. For example, the image to be converted, captIMG(rt_t,captID), can be stored as a file in image formats such as JPG, BMP, or PNG. Alternatively, the data of the image to be converted, captIMG(rt_t,captID), can be temporarily stored in storage circuit 18 in bitstream form.

[0195] The captured image `captIMG(rt_t, captID)` to be converted contains: `hpxlNum_captIMG * vpxlNum_captIMG` captured image pixels `captPXL(hpxlID_captIMG, vpxlID_captIMG)`. The variables `hpxlID_captIMG`, the total number of rows of captured image pixels `hpxlNum_captIMG`, `vpxlID_captIMG`, and the total number of columns of captured image pixels `vpxlNum_captIMG` are all positive integers. The values ​​of the total number of rows of captured image pixels `hpxlNum_captIMG` and the total number of columns of captured image pixels `vpxlNum_captIMG` depend on the resolution of the captured image `captIMG(rt_t, captID)` to be converted. For example, if the resolution of the image to be converted and captured, extIMG(rt_t,captID), is 4K, the total number of rows of the captured image pixels, hpxlNum_captIMG, is 3840, and the total number of columns of the captured image pixels, vpxlNum_captIMG, is 2160; or, the total number of rows of the captured image pixels, hpxlNum_captIMG, is 4096, and the total number of columns of the captured image pixels, vpxlNum_captIMG, is 2160.

[0196] The image to be converted, captIMG(rt_t,captID), contains vpxlNum_captIMG captured image pixels captPXL(hpxlID_captIMG, 1 to vpxlNum_captIMG) in the hpxlID_captIMG row; and the image to be converted, captIMG(rt_t,captID), contains hpxlNum_captIMG captured image pixels captPXL(1 to hpxlNum_captIMG, vpxlID_captIMG) in the vpxlID_captIMG column. Wherein, 1 ≤ hpxlID_captIMG ≤ hpxlNum_captIMG and 1 ≤ vpxlID_captIMG ≤ vpxlNum_captIMG.

[0197] Please see Figure 15This is a schematic diagram illustrating the format conversion of the lighting effect format conversion interface when the input image data inDAT is real-time video rtVID. The lighting effect format conversion interface 23b is used to convert the real-time video rtVID into a lighting effect configuration file devPRF(Z, rt_t, captID) for setting the dynamic light source device lgtDEV[Z], and then transmits it to the driver 253 of the dynamic light source device lgtDEV[Z] in conjunction with the HIDLampArray interface 25. Subsequently, the driver 253 of the dynamic light source device lgtDEV[Z] sets the color values ​​and / or brightness values ​​of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) according to the color parameter setting matrix clrMTX[Z] in the lighting effect configuration file devPRF(Z, rt_t, captID).

[0198] The lighting effect format conversion interface 23b includes an image conversion interface 233b and a lighting effect setting interface 231b. When the input image data inDAT is real-time video rtVID, the image conversion interface 233b first converts the real-time video rtVID into real-time lighting effect bitmap data arrays rtBM(rt_t, 1, Z)~rtBM(rt_t, captFPS, Z). The real-time lighting effect bitmap data arrays rtBM(rt_t, 1, Z)~rtBM(rt_t, captFPS, Z) generated by the image conversion interface 233b are temporarily stored in the viewport buffer. Then, the image capture interface 235b in the lighting effect setting interface 231b loads the real-time lighting effect bitmap data arrays rtBM(rt_t, 1, Z)~rtBM(rt_t, captFPS, Z) from the viewport buffer, and the element color value setting interface 2311 generates the lighting effect setting file devPRF(Z, rt_t, captID).

[0199] The image conversion interface 23b includes an image capture interface 235b and a bitmap generation interface 237b. The image capture interface 235b further includes an image generation interface 2351 and an image rate reduction interface 2353. The image generation interface 2351 converts real-time video rtVID into real-time images rtIMG(rt_t, 1) to rtIMG(rt_t, rtFPS). Then, the image rate reduction interface 2353 converts the real-time images rtIMG(rt_t, 1) to rtIMG(rt_t, rtFPS) into the captured images to be converted, captIMG(rt_t, 1) to captIMG(rt_t, captFPS). Conceptually, the image capture interface 235b can be viewed as performing data reduction on the time axis. The operation of the image generation interface 2351 and the image rate reduction interface 2353 can be found in [reference needed]. Figure 12 , Figure 13 The description.

[0200] Next, the bitmap generation interface 237b receives the images to be converted, captIMG(rt_t, 1) to captIMG(rt_t, FPS), from the image acquisition interface 235b. Furthermore, the bitmap generation interface 237b sequentially uses one of the images to be converted, captIMG(rt_t, 1) to captIMG(rt_t, FPS), as the image to be converted, captIMG(rt_t, captID). Therefore, the operations performed by the bitmap generation interface 237b and the lighting effect setting interface 231b below are described for each individual image to be converted, captIMG(rt_t, captID).

[0201] Next, the process by which the bitmap generation interface 237b converts the captured image captIMG(rt_t, captID) into a real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) is briefly described. The bitmap generation interface 237b further includes: a motion detection interface 2371, a region-pixel mapping interface 2373, and an image segmentation interface 2374.

[0202] The image segmentation interface 2374 receives the number of horizontal segments (hzoneNum) and the number of vertical segments (vzoneNum) from the storage circuit 18; and receives the image to be converted (captIMG(rt_t, captID)) from the image rate downconversion interface 2353. The number of horizontal segments (hzoneNum) and the number of vertical segments (vzoneNum) can be preset values ​​from the electronic device 10 or set by the user. Where 1 ≤ hzoneNum <hcpNum[Z]、1<vzoneNum≤vcpNum[Z]。

[0203] The image segmentation interface 2374 divides the image to be converted, captIMG(rt_t, captID), into hzoneNum*vzoneNum regions captZONE(1,1) to captZONE(hzoneNum, vzoneNum) based on the number of horizontal segments hzoneNum and the number of vertical segments vzoneNum. Then, the image segmentation interface 2374 transmits the image regions captZONE(1,1) to captZONE(hzoneNum, vzoneNum) to the motion detection interface 2371 and the region-pixel mapping interface 2373.

[0204] The dynamic detection interface 2371 sequentially receives the to-be-converted captured images captIMG(rt_t, 1) to captIMG(rt_t, captFPS) from the image rate down-conversion interface 2353 as the to-be-converted captured images captIMG(rt_t, captID) (captID = 1 to captFPS); and receives the to-be-converted captured image regions captZONE(1, 1) to captZONE(hzoneNum, vzoneNum) corresponding to the to-be-converted captured images captIMG(rt_t, captID) from the image segmentation interface 2374. The dynamic detection interface 2371 detects the user's dynamics from the to-be-converted captured image captIMG(rt_t, captID), and selects one from the to-be-converted captured image regions captZONE(1, 1) to captZONE(hzoneNum, vzoneNum) as the core captured image region core_captZONE(rt_t, captID) in response to the user's dynamics. After that, the dynamic detection interface 2371 transmits the core captured image region core_captZONE(rt_t, captID) to the region-pixel mapping interface 2373. For the relevant description of the dynamic detection by the dynamic detection interface 2371 and the generation of the core captured image region core_captZONE(rt_t, captID), please refer to Figure 19 , Figure 20A .

[0205] Subsequently, the region-pixel mapping interface 2373 receives the core captured image region core_captZONE(rt_t, captID) corresponding to the to-be-converted captured image captIMG(rt_t, captID) (1 ≤ captID ≤ captFPS) from the dynamic detection interface 2371, and receives the number of horizontal sections hzoneNum, the number of vertical sections vzoneNum, the total number of pixel rows hpxlNum_rtBM of the instant light effect bitmap, and the total number of pixel columns vpxlNum_rtBM of the instant light effect bitmap from the storage circuit 18. Among them, both the total number of pixel rows hpxlNum_rtBM and the total number of pixel columns vpxlNum_rtBM of the instant light effect bitmap are positive integers, hpxlNum_rtBM < hpxlNum_captIMG, and vpxlNum_rtBM < vpxlNum_captIMG.

[0206] The region-pixel mapping interface 2373 first generates a real-time lighting effect bitmap data array rtBM(rt_t, capt, Z) containing vzoneNum*hpxlNum_rtBM pixels rtbmPXL(1, 1, Z) to rtbmPXL(hpxlNum_rtBM, vpxlNum_rtBM, Z) based on the total number of rows of pixels in the real-time lighting effect bitmap and the total number of columns of pixels in the real-time lighting effect bitmap. Initially, the region-pixel mapping interface 2373 only establishes the real-time lighting effect bitmap data array rtBM(rt_t, capt, Z), and the colors of the real-time lighting effect bitmap pixels rtbmPXL(1, 1, Z) to rtbmPXL(hpxlNum_rtBM, vpxlNum_rtBM, Z) are not yet set.

[0207] Additionally, the region-pixel mapping interface 2373 divides the real-time lighting effect bitmap data array rtBM(rt_t, capt, Z) into hzoneNum*vzoneNum real-time lighting effect bitmap regions rtbmZONE(1,1)~rtbmZONE(hzoneNum, vzoneNum) according to the number of horizontal segments hzoneNum and the number of vertical segments vzoneNum. Each real-time lighting effect bitmap region rtbmZONE(1,1)~rtbmZONE(hzoneNum, vzoneNum) contains (hpxlNum_rtBM / hzoneNum)*(vpxlNum_rtBM / vzoneNum) real-time lighting effect bitmap pixels rtbmPXL. For example, each of the real-time lighting effect bitmap regions rtbmZONE(1,1)~rtbmZONE(5,1) contains (30 / 5)*(6 / 1) = 36 real-time lighting effect bitmap pixels rtbmPXL.

[0208] Next, the region-pixel mapping interface 2373 maps the image regions to be converted and captured, captZONE(1,1) to captZONE(hzoneNum, vzoneNum), in a one-to-one mapping relationship. These correspond to the real-time lighting effect bitmap regions rtbmZONE(1,1) to rtbmZONE(hzoneNum, vzoneNum). The color of the real-time lighting effect bitmap pixel rtbmPXL(hpxlID_rtBM, vpxlID_rtBM, Z) will vary depending on its corresponding real-time lighting effect bitmap region rtbmZONE(1,1) to rtbmZONE(hzoneNum, vzoneNum). Furthermore, the colors of the real-time lighting effect bitmap pixels rtbmPXL(1,1,Z)~rtbmPXL(hpxlNum_rtBM, vpxlNum_rtBM,Z) depend on the region-pixel mapping conversion method between the image region to be converted, captZONE(1,1)~captZONE(hzoneNum, vzoneNum), and the real-time lighting effect bitmap region, rtbmZONE(1,1)~rtbmZONE(hzoneNum, vzoneNum). For details on how the region-pixel mapping interface 2373 performs the mapping and, based on the mapping result, determines the colors of the real-time lighting effect bitmap pixels rtbmPXL(1,1,Z)~rtbmPXL(hpxlNum_rtBM, vpxlNum_rtBM,Z) in the real-time lighting effect bitmap data array rtBM(rt_t, capt,Z), please refer to [link to relevant documentation]. Figure 19 , Figure 20A , Figure 20B Explanation.

[0209] The real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) generated by the region-pixel mapping interface 2373 will be converted into a lighting effect configuration file devPRF(Z, rt_t, captID) via the lighting effect configuration interface 231b. For details on how the lighting effect configuration file devPRF(Z, rt_t, captID) is generated, please refer to [link to documentation]. Figure 20C , Figure 21B Explanation.

[0210] Please also see Figure 7 , Figure 15 .exist Figure 7 , Figure 15The internal architecture of the lighting effect setting interfaces 231a and 231b is the same, and they are both used to receive data in bitmap data array format. The difference between the two lighting effect setting interfaces 231a and 231b is that the data sources of the preset lighting effect bitmap data arrays psBM(1, Z)~psBM(psbmNum, Z) and the real-time lighting effect bitmap data arrays rtBM(rt_t, 1, Z)~rtBM(rt_t, captFPS, Z) are different. After receiving the preset lighting effect bitmap data arrays psBM(1, Z)~psBM(psbmNum, Z) from the preset lighting effect bitmap file psbmF, the lighting effect setting interface 231a generates psbmNum lighting effect setting files devPRF(Z, 1)~devPRF(Z, psbmNum). On the other hand, the lighting effect setting interface 231b receives the real-time lighting effect bitmap data array rtBM(rt_t, 1, Z) ~ rtBM(rt_t, captFPS, Z) generated by the real-time video rtVID converted by the image conversion interface 233b, and then generates captFPS*rtVID_dur lighting effect setting files devPRF(Z, 1, 1) ~ devPRF(Z, rtVID_dur, captID). Since the architectures of the lighting effect setting interfaces 231a and 231b are similar, the internal components of the lighting effect setting interface 231b will not be described again here.

[0211] Please see Figure 16 Its system will Figure 14 The diagram illustrates the division of the image to be converted, captIMG(rt_t,captID), into five regions, captZONE(1,1) to captZONE(5,1), where hzoneNum*vzoneNum = 5*1. The image to be converted, captIMG(rt_t,captID), is divided into hzoneNum horizontal segments in the column direction and vzoneNum vertical segments in the row direction. Therefore, the image to be converted, captIMG(rt_t,captID), contains a total of hzoneNum*vzoneNum regions, captZONE(1,1) to captZONE(hzoneNum,vzoneNum).

[0212] For ease of explanation, it is assumed here that the number of captured image pixels captPXL(hpxlID_captIMG,vpxlID_captIMG) contained in the column direction of the captured image captIMG(rt_t,captID) to be converted (i.e., the total number of rows of captured image pixels hpxlNum_captIMG) is an integer multiple of the number of captured image regions captZONE(hzoneID,vzoneID) to be converted in the horizontal (column) direction; and that the number of captured image pixels captPXL(hpxlID_captIMG,vpxlID_captIMG) contained in the row direction of the captured image captIMG(rt_t,captID) to be converted (i.e., the total number of columns of captured image pixels vpxlNum_captIMG) is an integer multiple of the number of captured image regions captZONE(hzoneID,vzoneID) to be converted in the vertical (row) direction. Accordingly, the image region to be converted, captZONE(hzoneID, vzoneID), contains (hpxlNum_captIMG / hzoneNum) captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG) in the column direction. Furthermore, the image region to be converted, captZONE(hzoneID, vzoneID), contains (vpxlNum_captIMG / vzoneNum) captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG) in the row direction. The variable hzoneID represents any one of the hzoneNum horizontal segments; and the variable vzoneID represents any one of the vzoneNum vertical segments. The variables hzoneID and vzoneID are positive integers, hzoneID ≤ hzoneNum, and vzoneID ≤ vzoneNum.

[0213] exist Figure 16In this example, it is assumed that the horizontal direction contains 5 horizontal segments (hzoneNum = 5) of the image to be converted, and the vertical direction contains 1 vertical segment (vzoneNum = 1) of the image to be converted, captZONE(hzoneID, vzoneID). That is, the image to be converted, captIMG(rt_t, captID), is divided into: hzoneNum * vzoneNum = 5 * 1 = 5 image regions to be converted, captZONE(1,1) to captZONE(hzoneNum, vzoneNum). Among these, the image region captZONE(hzoneID, vzoneID) contains, in the column direction: hpxlNum_captIMG / 5 captured image pixels, captPXL(hpxlID_captIMG, vpxlID_captIMG). Furthermore, the image region to be converted and captured, captZONE(hzoneID,vzoneID), contains, in the row direction: vpxlNum_captIMG / 1 captured image pixel, captPXL(hpxlID_captIMG,vpxlID_captIMG).

[0214] The captured image pixels captPXL(hpxlID_captIMG,vpxlID_captIMG) within the image region to be converted and captured, can be represented as: captPXL(hpxlID_captIMG,vpxlID_captIMG)=captPXL(captPXL((hzoneID-1)*hpxlNum_captIMG / 5+1,1)~captPXL(captPXL(hzoneID*hpxlNum_captIMG / 5,6).

[0215] Please see Figure 17 This diagram illustrates how the real-time lighting effect bitmap data array rtBM(rt_t,Z) contains hpxlNum_rtBM*vpxlNum_rtBM pixels, rtbmPXL(hpxlID_rtBM,vpxlID_rtBM,Z), which are divided into 5 real-time lighting effect bitmap regions rtbmZONE(1,1,Z)~rtbmZONE(hzoneNum,vzoneNum,Z). Please also refer to... Figure 16 , Figure 17 .

[0216] Figure 16The image regions to be converted and captured, captZONE(1,1) to captZONE(5,1), correspond to respectively, Figure 17 The real-time lighting effect bitmap regions are rtbmZONE(1,1,Z)~rtbmZONE(5,1,Z). Each real-time lighting effect bitmap region rtbmZONE(hzoneID,vzoneID,Z) (hzoneID=1~5, and vzoneID=1) contains: 6*6 real-time lighting effect bitmap pixels rtbmPXL(hpxlID_rtBM,vpxlID_rtBM,Z), as listed in Table 1.

[0217] Table 1

[0218]

[0219] Please see Figure 18A This is a schematic diagram showing how the light-emitting elements cp(Z,1,1)~cp(Z,30,6) on the dynamic light source device lgtDEV[Z] are divided into hzoneNum*vzoneNum=5*1 lighting effect control areas lgtZONE(Z,1,1)~lgtZONE(Z,5,1). For example... Figure 11 As stated above, it is assumed here that the light-emitting elements cp(Z,1,1)~cp(Z,30,6) on the dynamic light source device lgtDEV[Z] are divided into hzoneNum*vzoneNum=5*1 lighting effect control areas lgtZONE(Z,1,1)~lgtZONE(Z,5,1).

[0220] Table 2

[0221]

[0222] Please see Figure 18B Its basis Figure 2 , Figure 17 The example illustrates a schematic diagram of the light-emitting elements cp(Z, (hZoneID-1)*6+1, (vzoneID-1)*6+1) to cp(Z, hzoneID*6, vzoneID*6) contained in the lighting effect control area lgtZONE(Z, hzoneID, vzoneID) (hzoneID=1~5, vzoneID=1) of the dynamic light source device lgtDEV[Z]. Please also refer to... Figure 2 , Figure 18A , Figure 18B For the sake of simplicity, this paper assumes that the number of light-emitting elements contained in the lighting effect control areas lgtZONE(Z,1,1) to lgtZONE(Z,5,1) are all equal (6*6 light-emitting elements each).

[0223] Table 3 summarizes the correspondence between light-emitting elements cp(Z,(hzoneID-1)*6+1,(vzoneID-1)*6+1) and cp(Z,hzoneID*6) in the lighting effect control area lgtZONE(Z,hzoneID,vzoneID) under the assumptions that the total number of columns of light-emitting elements hcpNum[Z] = 30, the total number of rows of light-emitting elements vcpNum[Z] = 6, the number of horizontal segments hzoneNum = 5, and the number of vertical segments vzoneNum = 1. Wherein, 1≤hzoneID≤hzoneNum=5, and 1≤vzoneID≤vzoneNum=1.

[0224] Table 3

[0225]

[0226] In practical applications, the number of light-emitting elements corresponding to each lighting effect control zone lgtZONE(Z,1,1)~lgtZONE(Z,hzoneNum,vzoneNum) can also be set to be unequal. This part regarding application variations will not be discussed in detail in this article.

[0227] Figure 16 , Figure 17 , Figure 18A , Figure 18B Explain the correspondence between the image regions captZONE(1,1)~captZONE(hzoneNum,vzoneNum) in the image to be converted and captured in captIMG(rt_t,captID), the real-time lighting effect dot map regions rtbmZONE(1,1,Z)~rtbmZONE(hzoneNum,vzoneNum,Z) in the real-time lighting effect dot map data array rtBM(rt_ID,captID,Z), and the lighting effect control regions lgtZONE(Z,1,1)~lgtZONE(Z,hzoneNum,vzoneNum) in the dynamic light source device lgtDEV[Z]. The following will explain how to set the lighting effects of the lighting control area lgtZONE(Z,hzoneID,vzoneID) (1≤hzoneID≤hzoneNum, and 1≤vzoneID≤vzoneNum) based on the correspondence between the image format data described here and the actual image content of the captured image captIMG(rt_t,captID).

[0228] Please see Figure 19 This is a schematic diagram illustrating the detection of target features tgtFT in the captIMG(rt_t, captID) image to be converted and captured. Figure 19In this context, we assume that the dynamic detection interface 2371 pairs... Figure 14 The captured image captIMG(rt_t, captID) is used for user motion detection. In practical applications, the selection / definition of the target feature tgtFT does not need to be limited.

[0229] For example, it is assumed here that the motion detection interface 2371 uses the user's forehead position as the target feature tgtFT, and defines the position of the target feature tgtFT as the target position tgtPOS. Furthermore, the lighting effect format conversion interface 23b can be used with image recognition software and artificial intelligence (AI) tools to dynamically and in real-time detect the position of the target feature tgtFT in the image captIMG(rt_t, captID) to be converted. Here, the use of image recognition and motion detection functions by the lighting effect format conversion interface 23b is quite flexible, and the selection of which body part is used as the target feature tgtFT is not limited.

[0230] Please see Figure 20A This is a schematic diagram illustrating how the dynamic detection interface defines the image region captZONE(3,1) containing the target location tgtPOS in the image to be converted and captured, within the captIMG(rt_t, captID), as the core image region core_captZONE(rt_t, captID). For example... Figure 19 The dynamic detection interface 2371 obtains the positions (hpxlID_captIMG, vpxlID_captIMG) of the captured image pixels captPXL (hpxlID_captIMG, vpxlID_captIMG) used for displaying target feature tgtFT within the captured image captIMG (rt_t, captID) to be converted, and can then be used in conjunction with... Figure 16 The described method of dividing the image regions to be converted from captZONE(1,1) to captZONE(5,1) determines that the captured image pixel captPXL(hpxlID_captIMG, vpxlID_captIMG) at the location of the target feature tgtFT belongs to the image region to be converted from captZONE(3,1).

[0231] exist Figure 20A In the diagram, rtFM1 marks the image region to be converted, captZONE(3,1), which encompasses the target location tgtPOS. This disclosure defines the image region to be converted, captZONE(3,1), containing the target location tgtPOS, as the core image region core_captZONE(rt_t, captID). See also... Figure 15 , Figure 20A The dynamic detection interface 2371 further transmits the judgment result that the image region to be converted and captured, captZONE(3,1), is selected as the core image region core_captZONE(rt_t, captID) to the region-pixel mapping interface 2373.

[0232] Please see Figure 20B This is a schematic diagram of how the region-pixel mapping interface generates a real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) based on the image regions to be converted, captZONE(1,1)~captZONE(hzoneNum, vzoneNum), output by the image segmentation interface, and the core captured image region core_captZONE(rt_t, captID) selected by the motion detection interface. In short, the region-pixel mapping interface 2373 converts the image to be converted, captIMG(rt_t, captID), to generate the real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) by converting the core captured image region core_captZONE(rt_t, captID) = captZONE(3,1) in the image to be converted, core_rtbmZONE(rt_t, captID, Z = rtbmZO. The colors of the real-time lighting effect bitmap pixels rtbmPXL(13,1,Z)~rtbmPXL(18,1,Z) within NE(3,1,Z) are set to be different from the colors of the real-time lighting effect bitmap pixels rtbmPXL(1,1,Z)~rtbmPXL(12,6,Z) and rtbmPXL(19,1,Z)~rtbmPXL(30,6,Z) within other real-time lighting effect bitmap areas rtbmZONE(1,1,Z), rtbmZONE(2,1,Z), rtbmZONE(4,1,Z), and rtbmZONE(5,1,Z).

[0233] like Figure 20BAs shown, when the region-pixel mapping interface 2373 generates the real-time lighting effect bitmap data array rtBM(rt_t, captID, Z), it sets the color of the real-time lighting effect bitmap pixels rtbmPXL(13, 1, Z) to rtbmPXL(18, 1, Z) in the core bitmap region core_rtbmZONE(rt_t, captID, Z) = rtbmZONE(3, 1, Z) to be the same as the color of the other pixels located in the real-time lighting effect bitmap regions rtbmZONE(1, 1, Z) and rtbmZONE(1, 1, Z). When the colors of the real-time lighting effect bitmap pixels rtbmPXL(1,1,Z)~rtbmPXL(12,6,Z) and rtbmPXL(19,1,Z)~rtbmPXL(30,6,Z) in E(2,1,Z), rtbmZONE(4,1,Z), and rtbmZONE(5,1,Z) are different, the core bitmap area core_rtbmZONE(rt_t,captID,Z) can be highlighted in the real-time lighting effect bitmap data array rtBM(rt_t,captID,Z).

[0234] According to the concept disclosed herein, the real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) is a transitional data format, which is generated for the purpose of converting the lighting effect configuration file devPRF(Z, rt_t, captID) of the dynamic light source device lgtDEV[Z]. Figure 20C This will explain how the region-pixel mapping interface 2373 uses the real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) to convert the lighting effect profile devPRF(Z, rt_t, captID).

[0235] Please see Figure 20C Its basis is Figure 20B This diagram illustrates how the real-time lighting effect dot matrix data array rtBM(rt_t,captID,Z) generates the lighting effect configuration file devPRF(Z,rt_t,captID). Please also refer to... Figure 18A , Figure 20C .like Figure 18A As shown, the light-emitting elements cp(Z,1,1)~cp(Z,30,6) on the dynamic light source device lgtDEV[Z] are divided into lgtZONE(Z,1,1)~lgtZONE(Z,5,1) with hzoneNum*vzoneNum=5*1.

[0236] Next, please see also Figure 20B , Figure 20C . Figure 20BThe real-time lighting effect dot matrix regions rtbmZONE(1,1,Z)~rtbmZONE(5,1,Z) correspond to respectively Figure 20C The lighting effect control area is lgtZONE(Z,1,1)~lgtZONE(Z,5,1). For example... Figure 20B The pixel color within the core bitmap region core_rtbmZONE(rt_t,captID,Z) = rtbmZONE(3,1,Z) of the real-time lighting effect bitmap data array rtBM(rt_t,captID,Z) will be different from the pixel color within other real-time lighting effect bitmap regions rtbmZONE(1,1,Z) to rtbmZONE(5,1,Z). Consequently, in Figure 20C In the real-time lighting effect dot map data array rtBM(rt_t,captID,Z), the lighting effects of the light-emitting elements cp(Z,13,1)~cp(Z,18,6) in the lighting effect control area lgtZONE(Z,3,1) corresponding to the core dot map area core_rtbmZONE(rt_t,captID,Z) in the real-time lighting effect dot map data array rtBM(rt_t,captID,Z) will also be set to be different from the lighting effects of the light-emitting elements cp(Z,1,1)~cp(Z,12,6) and cp(Z,19,1)~cp(Z,30,6) in other lighting effect control areas lgtZONE(Z,1,1), lgtZONE(Z,2,1), lgtZONE(Z,4,1), and lgtZONE(Z,5,1).

[0237] Accordingly, when the light-emitting elements cp(Z,1,1)~cp(Z,hcpNum[Z],vcpNum[Z]) of the dynamic light source device lgtDEV[Z] generate a lighting effect according to the setting of the lighting effect configuration file devPRF(Z,rt_t,captID), the color value and / or brightness value of the light-emitting elements cp(Z,13,1)~cp(Z,18,6) in the core lighting effect control area core_lgtZONE(rt_t,captID,Z)=lgtZONE(Z,3,1) corresponding to the target position tgtPOS will be different from those in other lighting effect control areas. The color and / or brightness values ​​of the light-emitting elements cp(Z,1,1)~cp(Z,12,6) and cp(Z,19,1)~cp(Z,30,6) of gtZONE(Z,1,1), lgtZONE(Z,2,1), lgtZONE(Z,4,1), and lgtZONE(Z,5,1) are different, so as to highlight the lighting effect of the light-emitting elements cp(Z,13,1)~cp(Z,18,6) of the core lighting effect control area core_lgtZONE(rt_t,captID,Z) (i.e., the lighting effect control area lgtZONE(Z,3,1)).

[0238] Please also see Figure 11 , Figure 20A , Figure 20B , Figure 20C .like Figures 15-19 While displaying the real-time video rtVID on screen 15, the lighting effect format conversion interface 23b dynamically sets the color values ​​and / or brightness values ​​of the light-emitting elements cp(Z,13,1)~cp(Z,18,6) in the core lighting effect control area core_lgtZONE(rt_t,captID,Z) (i.e., the lighting effect control area lgtZONE(Z,3,1)) to be different from the color values ​​and / or brightness values ​​of the light-emitting elements cp(Z,1,1)~cp(Z,12,1), cp(Z,19,1)~cp(Z,30,6) in other lighting effect control areas lgtZONE(Z,1,1), lgtZONE(Z,2,1), lgtZONE(Z,4,1), and lgtZONE(Z,5,1) that are not the core lighting effect control area core_lgtZONE(rt_t,captID,Z).

[0239] In practical applications, the region-pixel mapping interface 2373 generates a real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) based on the detection results of the target position tgtPOS by the dynamic detection interface 2371 and the image content of the image to be converted and captured, captIMG(rt_t, captID). During this process, the color selection method for the real-time lighting effect bitmap pixels rtbmPXL(hpxlID_rtBM, vpxlID_rtBM, Z) located in the real-time lighting effect bitmap regions rtbmZONE(1, 1, Z) to rtbmZONE(hzoneNum, vzoneNum, Z) is quite flexible. Consequently, when the region-pixel mapping interface 2373 further converts the real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) into a lighting effect profile devPRF(Z, rt_t, captID), the overall lighting effect presented by the dynamic light source device lgtDEV[Z] is also more flexible.

[0240] Please see Figure 21A Its bitmap generation interface will Figure 19 , Figure 20AA schematic diagram showing how the colors of the real-time lighting effect bitmap regions rtbmZONE(1, 1, Z) to rtbmZONE(5, 1, Z) are set in a gradient manner when the captured image captIMG(rt_t, captID) is converted into a real-time lighting effect bitmap data array rtBM(rt_t, captID, Z). In this embodiment, it is assumed that the region-pixel mapping interface 2373 sets the brightness of the real-time lighting effect bitmap pixels rtbmPXL(13,1,Z) to rtbmPXL(18,6,Z) located in the core bitmap region core_rtbmZONE(rt_t,captID,Z) (i.e., rtbmZONE(3,1,Z)) in the real-time lighting effect bitmap data array rtBM(rt_t,captID,Z) to the highest level; and sets the brightness of the real-time lighting effect bitmap regions rtbmZONE(2,1,Z) and rtbmZ adjacent to the core bitmap region core_rtbmZONE(rt_t,captID,Z) to the highest level. The brightness of the real-time lighting effect bitmap pixels rtbmPXL(7,1,Z)~rtbmPXL(12,6,Z) and rtbmPXL(19,1,Z)~rtbmPXL(24,6,Z) in ONE(4,1,Z) is set to the second brightest; and the brightness of the real-time lighting effect bitmap pixels rtbmPXL(1,1,Z)~rtbmPXL(6,6,Z) and rtbmPXL(25,1,Z)~rtbmPXL(30,6,Z) in rtbmZONE, which is located one real-time lighting effect bitmap region rtbmZONE away from the core bitmap region core_rtbmZONE(rt_t,captID,Z), is set to the darkest.

[0241] exist Figure 21A In this design, different mesh densities represent different colors and / or brightness levels. For example, the pixels rtbmPXL(13,1,Z) to rtbmPXL(18,6,Z) in the real-time lighting effect bitmap area rtbmZONE(3,1,Z) are set to the brightest color, red; the pixels rtbmPXL(7,1,Z) to rtbmPXL(12,6,Z) in the real-time lighting effect bitmap areas rtbmZONE(2,1,Z) and rtbmZONE(4,1,Z) are set to red. The colors of cp(19,1,Z) to cp(24,6,Z) are set to the second brightest red; and the colors of the real-time lighting effect bitmap pixels rtbmPXL(1,1,Z) to rtbmPXL(6,6,Z) and rtbmPXL(25,1,Z) to rtbmPXL(30,6,Z) located in the real-time lighting effect bitmap area rtbmZONE(1,1,Z) and rtbmZONE(5,1,Z) are set to the darkest red.

[0242] Please see Figure 21B Its system is against Figure 21A The real-time lighting effect dot matrix data array rtBM(rt_t,captID,Z) is converted to generate a schematic diagram of the lighting effect configuration file devPRF(Z,rt_t,captID) corresponding to the dynamic light source device lgtDEV[Z]. Regarding how to obtain... Figure 21A The real-time lighting effect dot matrix data array rtBM(rt_t,captID,Z) is converted to Figure 21B The lighting effect configuration file devPRF(Z,rt_t,captID) can be found here. Figure 20A , Figure 20B The explanation will not be repeated here.

[0243] continue Figure 21A The drawing method, in Figure 21B In this system, different mesh densities represent different lighting effects (color values ​​and / or brightness). For example, based on the real-time lighting effect dot map pixels rtbmPXL(13,1,Z)~rtbmPXL(18,6,Z), the lighting effect of the light-emitting elements cp(Z,13,1)~cp(Z,18,6) located in the lighting effect control area lgtZONE(Z,3,1) is set to the brightest red; based on the real-time lighting effect dot map pixels rtbmPXL(7,1,Z)~rtbmPXL(12,6,Z) and rtbmPXL(19,1,Z)~rtbmPXL(24,6,Z), the lighting effect of the light-emitting elements c located in the lighting effect control areas lgtZONE(Z,2,1) and lgtZONE(Z,4,1) is set to the highest brightness red; The lighting effects of p(Z,7,1)~cp(Z,12,6) and cp(Z,19,1)~cp(Z,24,6) are set to the second brightest red; and, based on the real-time lighting effect dot matrix pixels rtbmPXL(1,1,Z)~rtbmPXL(6,6,Z) and rtbmPXL(25,1,Z)~rtbmPXL(30,6,Z), the lighting effects of the light-emitting elements cp(Z,1,1)~cp(Z,6,6) and cp(Z,25,1)~cp(Z,30,6) located in the lighting effect control areas lgtZONE(Z,1,1) and lgtZONE(Z,5,1) are set to the darkest red.

[0244] Please see Figure 22A , Figure 22B It is a schematic diagram of the lighting effects of the light-emitting elements belonging to the 5*1 real-time lighting effect dot matrix pixels rtbmPXL(hpxlID_rtBM,vpxlID_rtBM,Z) of the lighting effect control area lgtZONE(Z,1,1)~lgtZONE(Z,5,1). Figure 22A , Figure 22B This is equivalent to assuming that each of the real-time lighting effect bitmap regions rtbmZONE(1,1,Z)~rtbmZONE(5,1,Z) contains only one real-time lighting effect bitmap pixel rtbmPXL(1,1,Z)~rtbmPXL(5,1,Z).

[0245] Figure 22A , Figure 22B Can be used for replacement Figure 20B , Figure 21A The real-time lighting effect dot matrix data array rtBM(rt_t,captID,Z). Because... Figure 22A , Figure 22B Instead, a single real-time lighting effect bitmap pixel rtbmPXL(1,1,Z)~rtbmPXL(5,1,Z) represents a lighting effect control area lgtZONE(Z,1,1)~lgtZONE(Z,5,1) in the lighting effect configuration file devPRF(Z,rt_t,captID). Figure 22A , Figure 22B This approach can reduce the amount of data in the real-time lighting effect dot matrix data array rtBM(rt_t,captID,Z).

[0246] according to Figures 16-2 As explained in section 2, this disclosure demonstrates that the methods for converting the captured image captIMG(rt_t,captID) into a real-time lighting effect bitmap data array rtBM(rt_t,captID,Z) and converting the real-time lighting effect bitmap data array rtBM(rt_t,captID,Z) into a lighting effect configuration file devPRF(Z,rt_t,captID) are quite flexible.

[0247] Please see Figures 23A to 23D This is a schematic diagram illustrating how the lighting effects of the dynamic light source device lgtDEV[Z] are dynamically adjusted by the lighting effect format conversion interface as the user's position or posture changes in front of the screen. (About...) Figures 23A to 23D The method used in the lighting effect format conversion interface 23b to determine the target feature tgtFT and target position tgtPOS based on the real-time image rtIMG(rt_t, rtID), and then generate the lighting effect configuration file devPRF(Z, rt_t, captID), can be deduced by analogy. Figures 17-19 as well as Figures 20A to 20C The explanation will not be repeated here. Figures 22A-22B Details.

[0248] Table 4 Summary Figures 23A to 23D Graph-related operations. In Figures 23A to 23DIn this example, it is assumed that the light-emitting elements located in the core lighting effect control area core_lgtZONE(rt_t,captID,Z) are set to light up, while the light-emitting elements located in other lighting effect control areas lgtZONE(Z,1,1)~lgtZONE(Z,5,1) are set to be off.

[0249] Table 4

[0250]

[0251] Please see Figure 24 This is a flowchart illustrating how the lighting effect format setting interface continuously generates a real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) and a lighting effect setting file devPRF(Z, rt_t, captID) during the rt_t second period, with the image capture time interval captINTVL as the interval, and sets the lighting effect of the dynamic light source device lgtDEV[Z] accordingly. After the lighting effect setting interface 231b initializes the real-time lighting effect bitmap number counter cnt_rtBM (sets the real-time lighting effect bitmap number counter cnt_rtBM = 1), it enables the lighting effect maintenance period timer tmr_prfDUR = 0 and the real-time lighting effect bitmap number counter cnt_rtBM (step S501). The bitmap loading interface 2313 transmits the real-time lighting effect bitmap data array rtBM(rt_t, cnt_psBM, Z) to the component color value setting interface 2311 (step S503).

[0252] The component color value setting interface 2311 converts the colors of the real-time lighting effect dot map pixels rtbmPXL(1,1,Z)~rtbmPXL(hpxlNum_rtBM,vpxlNum_rtBM,Z) of the real-time lighting effect dot map data array rtBM(rt_t, cnt_psBM,Z) into the color values ​​and / or brightness values ​​corresponding to the light-emitting elements cp(Z,1,1)~cp(Z, hcpNum[Z], vcpNum[Z]) in the lighting effect setting file devPRF(Z,rt_t,captID) (step S505). The lighting effect configuration file devPRF(Z, rt_t, captID) contains: the color parameter setting matrix clrMTX[Z] for setting the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]), and the time control information for setting the light-emitting period of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]).

[0253] Next, the component color value setting interface 2311 transmits the color parameter setting matrix clrMTX[Z] to the driver 253 of the dynamic light source device lgtDEV[Z] via the HIDLampArray interface 25 (step S507). After receiving the color parameter setting matrix clrMTX[Z], the driver 253 of the dynamic light source device lgtDEV[Z] controls the emission color and brightness of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) according to the setting values ​​in the color parameter setting matrix clrMTX[Z] (step S509). The component color value setting interface 2311 determines whether the lighting effect maintenance period timer tmr_prfDUR is equal to the image capture time interval captINTVL (tmr_prfDUR = captINTVL?) (step S511). If the judgment result of step S511 is negative, the component color value setting interface 2311 continues to wait (step S513) until the component color value setting interface 2311 confirms that the image capture time interval captINTVL has ended, and then executes step S515.

[0254] If the judgment result of step S511 is affirmative, the component color value setting interface 2311 further determines whether the count result of the real-time lighting effect bitmap count counter cnt_rtBM is equal to the captured image frame rate captFPS (cnt_rtBM = captFPS?) (step S515). If the judgment result of step S515 is affirmative, the process ends. Subsequently, if the camera 13a continues to shoot and generate real-time video rtVID, the process is repeated. Figure 24 The entire process. Figure 24 The process will be repeated until the real-time lighting effect dot matrix data array rtBM(rtVID_dur, captFPS) is reached at the second rtVID_dur.

[0255] If the judgment result of step S515 is negative, then after accumulating the real-time lighting effect bitmap number counter cnt_rtBM(cnt_rtBM++) (step S517), step S503 is executed again. That is, the lighting effect format conversion interface 23c converts the real-time lighting effect bitmap data array rtBM(rt_t, captID) generated based on the next captured image to be converted, into the lighting effect configuration file devPRF(Z, rt_t, captID).

[0256] As mentioned above, execution Figure 24During the process, the component color value setting interface 2311 can set the setting function of the color parameter setting matrix clrMTX[Z] to be called again after the period of the image capture time interval captINTVL. Furthermore, when the HIDLampArray interface 25 executes the call-back function, the component color value setting interface 2311 sequentially uses the color parameter setting matrix clrMTX[Z] in the device lighting effect setting files devPRF(Z, rt_t, 1) to devPRF(Z, rt_t, captFPS) to set the lighting effects of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]). In this way, the lighting effect of the dynamic light source device lgtDEV[Z] can be dynamically changed over time.

[0257] Please also see Figure 10 , Figure 24 The main difference between the two is... Figure 10 The number of preset lighting effect bitmaps, psbmNum, is known and fixed, but Figure 24 The real-time video rtIMG is dynamically generated (its quantity is captFPS*rtVID_dur). Therefore, Figure 24 The process involves processing the real-time lighting effect dot matrix data array rtBM generated per second. Figure 10 The process is to execute on a preset lighting effect bitmap data array psBM(1,Z)~psBM(psbmNum,Z) with a known number (preset number of lighting effect bitmaps psbmNum).

[0258] Additionally, since the preset lighting effect dot matrix data arrays psBM(1,Z)~psBM(psbmNum,Z) are pre-generated, Figure 10 The duration of the lighting effect, prfDUR(Z,cnt_psBM), can be preset with individualized settings. On the other hand, Figure 24 The real-time lighting effect dot matrix data array rtBM is dynamically generated. Based on the consideration of simplifying the design, the generation speed of the real-time lighting effect dot matrix data array rtBM can be set to a fixed value (captDUR=1 / captFPS).

[0259] Next, with Figures 25-29C This describes the process by which the lighting effect format conversion interface 23c receives an external video extVID and converts it into an external lighting effect bitmap data array extBM(ext_t, captID, Z) to control the lighting effects of the dynamic light source device lgtDEV[Z]. The format and source of the external video extVID are not limited; for example, the external video extVID can be a pre-stored MP4, MOV, AVI, or other video file in the storage circuit 18, or a video bitstream received via the network.

[0260] Please see Figure 25 This is a diagram illustrating the format conversion process of the lighting effect format conversion interface when the input image data inDAT is an external video extVID. Figure 15 , Figure 25 The software stacks have some similarities, as shown in Table 5. Figure 15 , Figure 25 The similarities and differences.

[0261] Table 5

[0262]

[0263] Please also see Figure 15 , Figure 25 Compared with Table 8. Figure 15 , Figure 25 In this configuration, image conversion interfaces 233b and 233c include image capture interfaces 235b and 235c and raster image generation interfaces 237b and 237c. Each of the image capture interfaces 235b and 235c includes an image generation interface 2351 and an image rate reduction interface 2353. Although the input image data inDAT received by image capture interfaces 235b and 235c contains real-time video rtVID and external video extVID, respectively. However, the image generation interface 2351 and image rate reduction interface 2353 of the image capture interfaces 235b and 235c are similar in that they capture images (real-time video rtVID, external video extVID) multiple times from continuous video content (real-time video rtIMG, external video extIMG) to generate the captured images captIMG(rt_t, 1)~captIMG(rt_t, captFPS) and captIMG(ext_t, 1)~captIMG(ext_t, captFPS).

[0264] Following on, Figure 12 , Figure 13The description can also be applied, with slight modifications, to the application where the input video data inDAT is an external video extVID. For example, assume that the length of the external video extVID is extVID_dur seconds, and a variable ext_t represents any second within the period of extVID_dur seconds. Among them, 1 ≤ ext_t ≤ extVID_dur. The external video extVID contains extFPS external images extIMG(ext_t,1) to extIMG(ext_t,extFPS) per second, where extFPS is the frame rate of the external image (frame rate of external image). extFPS is a positive integer, and there is an external image time interval extINTVL between each external image extIMG(ext_t,1) to extIMG(ext_t,extFPS) and the adjacent external images. The external image time interval extINTVL is the reciprocal of the frame rate of the external image extFPS (extINTVL = 1 / extFPS).

[0265] Similarly, considering the processing speed, the speed at which the control circuit 17 performs format conversion on the captured image captIMG(ext_t,captID) to be converted may be slightly slower than the speed at which the external images extIMG(ext_t,1) to extIMG(ext_t,extFPS) are generated. Therefore, the captured image to be converted captIMG(ext_t,1) to captIMG(ext_t,captFPS) must be generated at the frame rate of the captured image captFPS. In actual applications, the format of the captured image to be converted captIMG(ext_t,1) to captIMG(ext_t,captFPS) is not limited. For example, the captured image to be converted captIMG(ext_t,1) to captIMG(ext_t,captFPS) can be in image formats such as JPEG, PNG, GIF, etc.

[0266] Incidentally, if the overall speed of the control circuit 17 in executing the light effect format conversion interfaces 23b and 23c is sufficient to match the generation speed of the real-time image rtIMG / external image extIMG, the image capture interfaces 235b and 235c may not use the image rate down-conversion interface 2353. That is, captFPS = rtFPS, captFPS = extFPS. On the contrary, if the overall speed of the control circuit 17 in executing the light effect format conversion interfaces 23b and 23c is slower than the generation speed of the real-time image rtIMG / external image extIMG, then it needs to be used in conjunction with the image rate down-conversion interface 2353. That is, captFPS < rtFPS, captFPS < extFPS. Based on Figure 15 , Figure 25Similarities, about Figure 25 The operation of the image capture interface 235 and the lighting effect setting interface 231c can be deduced from the above description and will not be described in detail again.

[0267] On the other hand, the composition of the bitmap generation interfaces 237b and 237c is slightly different. Figure 15 In the process, the bitmap generation interface 237b uses the dynamic detection interface 2371 and the region-pixel mapping interface 2373 to sequentially convert the captured image captIMG(rt_t, 1) to captIMG(rt_t, captFPS) into a real-time lighting effect bitmap data array rtBM(rt_t, captID, Z) (captID = 1 to captFPS). Figure 25 In the process, the bitmap generation interface 237 uses the pixel reduction interface 2375 to perform pixel reduction mapping on the captured image captIMG(ext_t, captID) (cpatID = 1 ~ captFPS) to generate the external lighting effect bitmap data array extBM(ext_t, captID, Z).

[0268] The captured image to be converted, captIMG(ext_t, captID) (cpatID = 1 ~ captFPS), contains: hpxlNum_captIMG*vpxlNum_captIMG captured image pixels captPXL(1, 1, Z) ~ captPXL(hpxlNum_captIMG, vpxlNum_captIMG, Z), arranged in rows of hpxlNum_captIMG and columns of vpxlNum_captIMG. The external lighting effect bitmap data array, extBM(ext_t, captID, Z), contains: hpxlNum_extBM*vpxlNum_extBM external lighting effect bitmap pixels extbmPXL(1, 1, Z) ~ extbmPXL(hpxlNum_extBM, vpxlNum_extBM, Z), arranged in rows of hpxlNum_extBM and columns of vpxlNum_extBM.

[0269] In this context, the total number of rows (hpxlNum_extBM) and the total number of columns (vpxlNum_extBM) of the external lighting effect bitmap pixels are both positive integers. The pixel reduction interface 2375 is used to convert the high-resolution captured image captIMG(ext_t, captID) (cpatID = 1 ~ captFPS) into a lower-resolution external lighting effect bitmap data array extBM(ext_t, captID, Z). Therefore, hpxlNum_captIMG > hpxlNum_extBM, and vpxlNum_captIMG > vpxlNum_extBM. For simplified calculation purposes, it can be assumed that the total number of rows (hpxlNum_captIMG) of the captured image pixels is a multiple of the total number of rows (hpxlNum_extBM) of the external lighting effect bitmap pixels, and that the total number of columns (vpxlNum_captIMG) of the captured image pixels is a multiple of the total number of columns (vpxlNum_extBM) of the external lighting effect bitmap pixels. For details on how the bitmap generation interface 237 converts the captured image captIMG(ext_t, captID) (cpatID = 1 ~ captFPS) into the external lighting effect bitmap data array extBM(ext_t, captID, Z), please refer to [link to relevant documentation]. Figures 26A-28C Explanation.

[0270] Please see Figure 26A This is a schematic diagram of a capture image (captIMG(ext_t, 1)) generated by the image capture interface based on the external video extVID. Please also refer to... Figure 25 , Figure 26A The image generation interface 2351 in the image capture interface 235c first converts the external video extVID during the ext_t second period into external images extIMG(ext_t, 1) to extIMG(ext_t, extFPS). Then, the image rate reduction interface 2353 converts the external images extIMG(ext_t, 1) to extIMG(ext_t, extFPS) into the images to be captured, captIMG(ext_t, 1) to captIMG(ext_t, captFPS).

[0271] The image to be converted, captIMG(ext_t, 1), is the first image to be converted generated by the image rate reduction interface 2353 during the ext_t second. The image to be converted, captIMG(ext_t, 1), contains hpxlNum_captIMG captured image pixels captPXL(1~hpxlNum_captIMG, vpxlID_captIMG) in the vpxlID_captIMG column; and contains vpxlNum_extIMG captured image pixels captPXL(hpxlID_captIMG, 1~vpxlNum_captIMG) in the hpxlID_captIMG row. Where vpxlID_captIMG, the total number of columns of captured image pixels vpxlNum_captIMG, hpxlID_captIMG, and the total number of rows of captured image pixels hpxlNum_captIMG are all positive integers, the total number of columns of captured image pixels vpxlID_captIMG = 1 to vpxlNum_captIMG, and hpxlID_captIMG = 1 to hpxlNum_captIMG.

[0272] Please see Figure 26B Its system will Figure 26A The diagram shows the captured image captIMG(ext_t, 1) to be converted, divided into hzoneNum*vzoneNum regions captZONE(1, 1) to captZONE(hzoneNum, vzoneNum). It is assumed that the captured image captIMG(ext_t, 1) contains a house and a tree, and that the rest of the image is white. Therefore, only the captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG) used to display the house and tree have color.

[0273] First, the pixel reduction interface 2375 divides the image to be converted, captIMG(ext_t, 1), into hzoneNum*vzoneNum regions to be converted, captZONE(1, 1)~ZONE_capt(hzoneNum, vzoneNum). Based on the simplification considerations of the subsequent conversion process, it can be further assumed that the number of horizontal segments (hzoneNum) of the image to be converted and captured, captIMG(ext_t, captID), is equal to the number of external lighting effect dot map pixels extbmPXL (1~hpxlNum_extBM, vpxlID_extBM, Z) contained in any column (vpxlID_extBM column, where 1≤vpxlID_extBM≤vpxlNum_extBM) of the external lighting effect dot map data array extBM(ext_t, captID, Z) in the external lighting effect dot map pixels of column vpxlNum_extBM (hpxlNum_extBM), and also equal to the number of light-emitting elements contained in any column of the dynamic light source device lgtDEV[Z] in column hcpNum[Z] (hcpNum[Z]). That is, hzoneNum=hpxlNum_extBM=hcpNum[Z]).

[0274] Furthermore, it is assumed that the number of segments (vzoneNum) in the vertical direction of the image to be converted and captured, captIMG(ext_t, captID), is equal to the number of external lighting effect bitmap pixels extbmPXL(hpxlID_extBM, 1~vpxlNum_extBM, Z) contained in any row of external lighting effect bitmap pixels in the hpxlNum_extBM row (the hpxlID_extBM row, where 1≤hpxlID_extBM≤hpxlNum_extBM) (vpxlNum_extBM pixels), and is also equal to the number of light-emitting elements contained in any row of the dynamic light source device lgtDEV[Z] (vcpNum[Z] elements). That is, vzoneNum=vpxlNum_extBM=vcpNum[Z]). In this way, the converted external lighting effect dot matrix data array extBM(ext_t, captID, Z) can be directly used to generate the color parameter setting matrix clrMTX[Z] for setting the color values ​​and / or brightness values ​​of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]). The variables hpxlID_extBM, vpxlID_extBM, the total number of rows hpxlNum_extBM of the external lighting effect dot matrix pixels, and the total number of columns vpxlNum_extBM of the external lighting effect dot matrix pixels are all positive integers. hpxlID_extBM ≤ hpxlNum_extBM, and vpxlID_extBM ≤ vpxlNum_extBM.

[0275] Please see Figure 27This is a schematic diagram showing that the image region to be converted and captured, captZONE(hzoneID, vzoneID), contains (pxlNum_perhZONE*pxlNum_pervZONE) captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG). Any one of the image regions to be converted from captZONE(1,1) to ZONE_capt(hzoneNum,vzoneNum) contains (pxlNum_perhZONE*pxlNum_pervZONE) captured image pixels captPXL((hpxlID_captIMG-1)*pxlNum_perhZONE+1, (vpxlID_captIMG-1)*pxlNum_perhZONE+1) to captPXL(hpxlID_captIMG*pxlNum_perhZONE, vpxlID_captIMG*pxlNum_pervZONE). Wherein, the variable pxlNum_perhZONE represents the number of captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG) contained in the horizontal (column) direction within any captured image region captZONE(hzoneID, vzoneID), and the variable pxlNum_pervZONE represents the number of captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG) contained in the vertical (row) direction within any captured image region captZONE(hzoneID, vzoneID). Both variables pxlNum_perhZONE and pxlNum_pervZONE are positive integers. The variable pxlNum_perhZONE = (hpxlNum_captIMG / hzoneNum), and the variable pxlNum_pervZONE = (vpxlNum_captIMG / vzoneNum).

[0276] Please see Figure 28A It is indicated by the box marked extFM1. Figure 26BThis diagram illustrates the captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG) that are not white within the captured image captIMG(ext_t, 1) to be converted. Within the selected area extFM1, the captured image region captZONE contains at least one pixel that is not white.

[0277] According to the concept disclosed herein, each image region captZONE(1,1) to captZONE(hzoneID, vzoneID) within the image to be converted and captured, captIMG(ext_t,1), corresponds to an external lighting effect bitmap pixel extbmPXL(hpxlID_extBM, vpxlID_extBM,Z) of the external lighting effect bitmap extBM(ext_t,1,Z). Where hzoneID = hpxlID_extBM, and vzoneID = vpxlID_extBM.

[0278] Please see Figure 28B Its pixel reduction interface will Figure 28A The diagram illustrates the conversion of the high-resolution captured image captIMG(ext_t, 1) into the low-resolution external lighting effect bitmap extBM(ext_t, 1, Z). Figure 28A Each image region to be converted and captured corresponds to captZONE(hzoneID, vzoneID) Figure 28B Each external lighting effect bitmap pixel is extbmPXL(hpxlID_extBM, vpxlID_extBM, Z). Where hzoneID = hpxlID_extBM and vzoneID = vpxlID_extBM. In practical applications, the pixel reduction interface 2375 is used to convert the captured image region captZONE(hzoneID, vzoneID) into the external lighting effect bitmap pixel extbmPXL(hpxlID_extBM, vpxlID_extBM) using a region-pixel mapping conversion method that does not need to be limited.

[0280] For example, one method for converting the captured image region captZONE(hzoneID,vzoneID) into external lighting effect bitmap pixels extbmPXL(hpxlID_extBM,vpxlID_extBM,Z) involves obtaining the red color values ​​of the pxlNum_perhZONE*pxlNum_pervZONE external lighting effect bitmap pixels extbmPXL(hpxlID_extBM,vpxlID_extBM,Z) within the captured image region captZONE(hzoneID,vzoneID), and then calculating the average value of a red color value, avgR_captPXL(hzoneID,vzoneID). Similarly, the average value of green color values, avgG_captPXL(hzoneID,vzoneID), and the average value of blue color values, avgB_captPXL(hzoneID,vzoneID), are calculated. Next, the average values ​​of red (avgR_captPXL(hzoneID,vzoneID), green (avgG_captPXL(hzoneID,vzoneID)), and blue (avgB_captPXL(hzoneID,vzoneID)) are combined to form the color of the external lighting effect pixel extbmPXL(hpxlID_extBM,vpxlID_extBM,Z).

[0281] Another method for converting the captured image region captZONE(hzoneID,vzoneID) into external lighting effect bitmap pixels extbmPXL(hpxlID_extBM,vpxlID_extBM,Z) involves individually calculating pxlNum_perhZONE*pxlNum_pervZONE captured image pixels captPXL((hpxlID_captIMG-1)*pxlNum_perhZONE+1,(vpxlID_captIMG-1)*pxlNum_perhZONE+1) to captPXL(hpxlID_captIMG*pxlNum_perhZONE,Z) within the captured image region captZONE(hzoneID,vzoneID).

[0282] The sum of the red, green, and blue color values ​​of `vpxlID_captIMG*pxlNum_pervZONE` generates the sum of the captured pixel color values ​​corresponding to the captured image pixel `captPXL(hpxlID_captIMG,vpxlID_captIMG)`, which is then used to generate the sum of the captured pixel color values ​​of `clrSUM_captPXL(hpxlID_captIMG,vpxlID_captIMG)`. Based on this, from the image region to be converted, `captZONE(hzoneID,vzoneID)`, `captPXL((hpxlID_captIMG-1)*pxlNum_perhZONE+1,(vpxlID_captIMG-1)*pxlNum_perhZONE+1)` to `captPXL(hpxlID_captIMG*pxlNum_perhZONE)`, a total of `captPXL(hpxlID_captIMG*pxlNum_perhZONE)`, can be generated for each captured image pixel `captPXL(hpxlID_captIMG*pxlNum_perhZONE)`.

[0283] vpxlID_captIMG*pxlNum_pervZONE) respectively captures the total sum of pixel color values ​​of clrSUM_captPXL((hpxlID_captIMG-1)*pxlNum_perhZONE+1,(vpxlID_captIMG-1)*pxlNum_perhZONE+1)~clrSUM_captPXL(hpxlID_captIMG*pxlNum_perhZONE,vpxlID_captIMG*pxlNum_pervZONE).

[0284] Subsequently, the pixel reduction interface 2375 further targets the captured image pixels pxlNum_perhZONE*pxlNum_pervZONE in the same captured image region captZONE(hzoneID, vzoneID) to captPXL((hpxlID_captIMG-1)*pxlNum_perhZONE+1, (vpxlID_captIMG-1)*pxlNum_pervZONE+1)~captPXL(hpxlID_captIMG*pxlNum_perhZONE, vzoneID) within the same captured image region captZONE(hzoneID, vzoneID). The sum of the individual captured pixel color values ​​of xlID_captIMG*pxlNum_pervZONE is compared with the size of clrSUM_captPXL((hpxlID_captIMG-1)*pxlNum_perhZONE+1, (vpxlID_captIMG-1)*pxlNum_pervZONE+1)~clrSUM_captPXL(hpxlID_captIMG*pxlNum_perhZONE, vpxlID_captIMG*pxlNum_pervZONE). Furthermore, the pixel reduction interface 2375 takes the maximum value among the sums of pixel color values ​​captured by clrSUM_captPXL((hpxlID_captIMG-1)*pxlNum_perhZONE+1, (vpxlID_captIMG-1)*pxlNum_pervZONE+1)~clrSUM_captPXL(hpxlID_captIMG*pxlNum_perhZONE, vpxlID_captIMG*pxlNum_pervZONE) (Max{clrSUM_captPXL((hzoneID-1)*pxlNum_perhZONE, vpxlID_captIMG*pxlNum_pervZONE). The captured image pixels captPXL(hpxlID_captIMG, vpxlID_captIMG) corresponding to the captured image region captZONE(hzoneID, vzoneID) are used as the representative pixels of the captured image region to be converted, captPXL_RP(hpxlRP, vpxlRP), for the captured image region captZONE(hzoneID, vzoneID).Wherein, the variables hpxlRP and vpxlRP are positive integers, and ((hzoneID-1)*pxlNum_perhZONE+1≤hpxlRP≤captPXL_G(hzoneID*pxlNum_perhZONE, and (vzoneID-1)*pxlNum_pervZONE+1)≤vpxlRP≤vzoneID*pxlNum_pervZONE. Next, the pixel reduction interface 2375 uses the combination of the red, green and blue color values ​​of the pixel captPXL_RP(hpxlRP, vpxlRP) representing the image area to be converted as the color of the external lighting effect bitmap pixel extbmPXL(hpxlID_extBM, vpxlID_extBM, Z) corresponding to the image area captZONE(hzoneID, vzoneID) to be converted in the external lighting effect bitmap extBM(ext_t, captID, Z).

[0285] Please see Figure 28C Its basis is Figure 28B A schematic diagram of the device lighting effect setting file devPRF(Z, ext_t, 1)(captID=1) used to set the dynamic light source device lgtDEV[Z] is provided. According to the concept disclosed herein, the resolution of the external lighting effect dot matrix extBM(ext_t, 1, Z) can be set in accordance with the number of light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) included in the dynamic light source device lgtDEV[Z]. Accordingly, Figure 28B Each external lighting effect pixel extbmPXL(hpxlID_extBM, vpxlID_extBM, Z) corresponds to a color that Figure 28C The color value and / or brightness value of each light-emitting element cp(Z, hcpID, vcpID) in the formula. Wherein, 1≤hpxlID_extBM≤hpxlNum_extBM, 1≤vpxlID_extBM≤vpxlNum_extBM, 1≤hcpID≤hcpNum[Z], 1≤vcpID≤vcpNum[Z], hcpNum[Z]=hpxlNum_extBM, vcpNum[Z]=vpxlNum_extBM, hpxlID_extBM=hcpID, and vpxlID_extBM=vcpID.

[0286] exist Figure 28CIn the selected area extFM2, the color values ​​and / or brightness values ​​of the light-emitting elements cp(Z, 23, 2)~cp(Z, 30, 2) and cp(Z, 9, 3)~cp(Z, 30, 6) correspond to the following: Figure 28B In the selection area extFM1', the colors of the external lighting effect pixel array extbmPXL(23, 2, Z) ~ extbmPXL(30, 2, Z) and extbmPXL(9, 3, Z) ~ extbmPXL(30, 6, Z) are defined. The remaining light-emitting elements located outside the selection area extFM2 are defined according to... Figure 28B The white-colored external light effect dot matrix pixels extbmPXL(1,1,Z)~extbmPXL(30,1,Z), extbmPXL(1,2,Z)~extbmPXL(22,2,Z), extbmPXL(1,3,Z)~extbmPXL(8,6,Z) do not emit light.

[0287] Please see Figure 29A This is a schematic diagram of another image to be converted and captured, captIMG(ext_t, 2), generated by the image capture interface based on the external video extVID. Please also refer to... Figure 26A , Figure 29A . Figure 29A The generation method of the captured image captIMG(ext_t, 2) to be converted is the same as Figure 26A The captured image to be converted is similar to captIMG(ext_t, 1). Therefore, Figure 26A , Figure 29A The captured images captIMG(ext_t, 1) and captIMG(ext_t, 2) to be converted have the same resolution. That is, the captured images captIMG(ext_t, 1) and captIMG(ext_t, 2) to be converted each contain hpxlNum_captIMG*vpxlNum_captIMG captured image pixels captPXL(1, 1) to captPXL(hpxlNum_captIMG, vpxlNum_captIMG).

[0288] Figure 26A , Figure 29A The main difference is the time of their creation. Figure 26A The image to be converted, captIMG(ext_t, 1), is the first image to be converted generated by the image capture interface 235c from the external video extVID during the ext_t second. Figure 29AThe image to be converted, captIMG(ext_t, 2), is the second image to be converted generated by the image capture interface 235c from the external video extVID during the ext_t second.

[0289] The external image extIMG from the external video extVID will display images that change according to the content of the external video extVID. Consequently, the content of the image to be converted, captIMG(ext_t, captID), selected from the external video extIMG, will also change depending on the time of its creation. For example, with... Figure 26A Compared to the captured image captIMG(ext_t, 1), Figure 29A A person walking appears on the left side of the image to be converted, captIMG(ext_t, 2).

[0290] Please see Figure 29B Its pixel reduction interface will Figure 29A The diagram illustrates the conversion of the high-resolution captured image captIMG(ext_t, 2) into a lower-resolution external lighting effect bitmap extBM(ext_t, 2, Z). As mentioned earlier, the resolution of the captured images captIMG(ext_t, 1) and captIMG(ext_t, 2) and the number of captured image pixels contained therein (hpxlNum_captIMG*vpxlNum_captIMG) are the same.

[0291] Therefore, the method by which the pixel reduction interface 2375 converts the format of the captured image captIMG(ext_t, 2) to generate the external lighting effect bitmap extBM(ext_t, 2, Z) is similar to the method by which the pixel reduction interface 2375 converts the format of the captured image captIMG(ext_t, 1) to generate the external lighting effect bitmap extBM(ext_t, 1, Z). The details of how the pixel reduction interface 2375 converts the captured image captIMG(ext_t, 1) to generate the external lighting effect bitmap extBM(ext_t, 1, Z) will not be elaborated here. Figure 29A The captured image to be converted is captIMG(ext_t, 2) converted to Figure 29B The process of generating the external lighting effect dot matrix extBM(ext_t, 2, Z).

[0293] Please also see Figure 28B , Figure 29B .Compare Figure 28B , Figure 29B It can be seen that, Figure 28B The selected area extFM1' contains the external lighting effect bitmap pixels extbmPXL(hpxlID_extBM,vpxlID_extBM,Z) and Figure 29B The external lighting effect bitmap pixel extbmPXL(hpxlID_extBM,vpxlID_extBM,Z) selected by extFM3a is the same, and the mesh background style of the external lighting effect bitmap pixel extbmPXL(hpxlID_extBM,vpxlID_extBM,Z) within the selected area extFM1' is the same as the mesh background style of the external lighting effect bitmap pixel extbmPXL(hpxlID_extBM,vpxlID_extBM,Z) within the selected area extFM3a. Figure 28B , Figure 29B The differences are, Figure 29B The selected area of ​​extFM3b, specifically the external lighting effect bitmap pixel extbmPXL(hpxlID_extBM,vpxlID_extBM,Z), also has a halftone pattern, but... Figure 28B The pixels extbmPXL(hpxlID_extBM,vpxlID_extBM,Z) of the external lighting effect dot matrix on the lower left side are all white.

[0294] Figure 28B , Figure 29B The difference between the external lighting effect bitmaps extBM(ext_t,1,Z) and extBM(ext_t,2,Z) at the selected area of ​​extFM3b originates from... Figure 28A , Figure 29A The image content to be converted and captured in captIMG(ext_t,1) and captIMG(ext_t,2). Because Figure 29A The captured image to be converted, captIMG(ext_t,2), is located in the lower left corner of the image. Figure 28A The captured image captIMG(ext_t,1) to be converted now includes a walking person. The captured image pixel captPXL(hpxlID_captIMG,vpxlID_captIMG) used to display this walking person will cause the external lighting effect bitmap pixels extbmPXL(2,4,Z) to extbmPXL(6,6,Z) in the external lighting effect bitmap extBM(ext_t,2,Z) to no longer be white.

[0295] Please see Figure 29C Its relationship with Figure 29BThe diagram shows the corresponding device lighting effect configuration file devPRF(Z,ext_t,2)(captID=2). The color and / or brightness values ​​of the hcpNum[Z]*vcpNum[Z] light-emitting elements cp(Z,1,1)~cp(Z,hcpNum[Z],vcpNum[Z]) of the dynamic light source device lgtDEV[Z] are set according to the device lighting effect configuration file devPRF(Z,ext_t,2). Please also refer to... Figure 29B , Figure 29C .

[0296] exist Figure 29C In the selected area, the color values ​​and / or brightness values ​​of the light-emitting elements cp(Z,23,2)~cp(Z,30,2) and cp(Z,9,3)~cp(Z,30,6) located in extFM4a are based on... Figure 29B In the text, the colors of the external lighting effect bitmap pixels extbmtPXL(23,2,Z)~extbmtPXL(30,2,Z) and extbmPXL(9,3,Z)~extbmPXL(30,6,Z) within the selected area extFM3a are set. Furthermore, in... Figure 29C In the selected area, the color values ​​and / or brightness values ​​of the light-emitting elements cp(Z,2,4) to cp(Z,6,6) of extFM4b are based on... Figure 29B In the selection area extFM3a, the color of the external lighting effect bitmap pixels extbmPXL(2,4,Z) to extbmPXL(6,6,Z) are set.

[0297] exist Figure 29C In the selected area extFM2, the light-emitting elements cp(Z,1,1)~cp(Z,30,1), cp(Z,1,2)~cp(Z,22,2), cp(Z,1,3)~cp(Z,8,3), cp(Z,1,4)~cp(Z,1,6), and cp(Z,7,4)~cp(Z,8,6) correspond to... Figure 28BThe white-colored external light effect pixel array consists of pixels extbmPXL(1,1,Z)~extbmPXL(30,1,Z), extbmPXL(1,2,Z)~extbmPXL(22,2,Z), extbmPXL(1,3,Z)~extbmPXL(8,3,Z), extbmPXL(1,4,Z)~extbmPXL(1,6,Z), and extbmPXL(7,4,Z)~extbmPXL(8,6,Z). Therefore, the light-emitting elements cp(Z,1,1)~cp(Z,30,1), cp(Z,1,2)~cp(Z,22,2), cp(Z,1,3)~cp(Z,8,3), cp(Z,1,4)~cp(Z,1,6), and cp(Z,7,4)~cp(Z,8,6) do not emit light.

[0298] Please also see Figure 28C , Figure 29C . Figure 28C The selected area extFM2 corresponds to Figure 29C The selected area is extFM4a. However, compared to... Figure 28C In comparison, Figure 29C In the image, the light-emitting elements cp(Z,2,4)~cp(Z,6,6) located within the selected area extFM4b are also marked with a background. Figure 28C , Figure 29C The main reason for this difference is that Figure 29A In the image to be converted and captured, captIMG(ext_t, 2), the image is relatively... Figure 28A In the image to be converted and captured, captIMG(ext_t, 1), an additional image of a pedestrian has appeared. When Figure 29A When additional pedestrian images appear in the captured image captIMG(ext_t, 2) to be converted, Figure 29C In this context, the light-emitting elements cp(Z, 2, 4) to cp(Z, 6, 6) at the positions corresponding to the pedestrian's image will therefore emit light. This confirms that the lighting effect format conversion interface 23c disclosed herein can indeed allow the dynamic light source device lgtDEV[Z] to dynamically produce different lighting effects in response to the content of the external video extVID.

[0299] As can be seen from the description of the foregoing embodiments, the lighting effect format conversion interface 23 provided in this disclosure can receive different types of input image data inDAT, thereby enabling the lighting effect of the dynamic light source device lgtDEV[Z] to change according to the user's preferences or dynamics. The lighting effect format conversion interface 23 can perform corresponding image format conversion according to the type of input image data inDAT (e.g., preset lighting effect bitmap file psbmF, real-time video rtVID, external video extVID).

[0300] Please see Figure 30 This is a flowchart of a control method for controlling the lighting effects of electronic devices with dynamic light source devices lgtDEV[1] to lgtDEV[K], based on the concept disclosed herein, in response to different types of input image data inDAT. This flowchart is an example of the lighting effect control of the dynamic light source device lgtDEV[Z]. In practical applications, Figure 30 The flowchart can be applied to any of the dynamic light source devices lgtDEV[1] to lgtDEV[K].

[0301] First, when the dynamic light source device lgtDEV[Z] is connected to (installed on) the electronic device 10, the lighting effect format conversion interface 23 transmits the device attribute request command devATTR_reqCMD[Z] to the dynamic light source device lgtDEV[Z] via the HID LampArray interface 25 (step S701). Next, the lighting effect format conversion interface 23 receives the device attribute parameter devATTR[Z] from the dynamic light source device lgtDEV[Z] via the HID LampArray interface 25 (step S703). Through step S703, the lighting effect format conversion interface 23 can know the configuration (e.g., quantity, position, etc.) of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) in the dynamic light source device lgtDEV[Z]. Next, the lighting effect format conversion interface 23 establishes a color parameter setting matrix clrMTX[Z] corresponding to the configuration (e.g., quantity, position, etc.) of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) based on the device attribute parameter devATTR[Z] (step S705).

[0302] When a user wants to use the personalized lighting effect control function of the electronic device 10, the lighting effect format conversion interface 23 can receive different types of input image data inDAT (step S706). The lighting effect format conversion interface 23 first converts the input image data inDAT into a device lighting effect setting file devPRF corresponding to the dynamic light source device lgtDEV[Z] (step S707), and then updates the color parameter setting matrix clrMTX[Z] controlling the dynamic light source device lgtDEV[Z] at intervals of prfDUR during the lighting effect maintenance period (step S709).

[0303] In step S707, the format of the device lighting effect configuration file devPRF is not limited. For example, depending on the format of the input image data inDAT, the format of the device lighting effect configuration file devPRF can be devPRF(Z, psbmID) generated based on the preset lighting effect bitmap file psbmF, devPRF(Z, rt_t, captID) generated based on the real-time video rtVID, or devPRF(Z, ext_t, captID) generated based on the external video extVID.

[0304] In step S709, when the input image data inDAT is a preset lighting effect bitmap file psbmF, the lighting effect duration prfDUR can be the lighting effect duration prfDUR(Z, psbmID) corresponding to each individual preset lighting effect bitmap data array psBM(1, Z) ~ psBM(psbmNum, Z). Alternatively, when the input image data inDAT is a real-time video rtVID or an external video extVID, the lighting effect duration prfDUR can be a fixed image capture time interval captINTVL.

[0305] The color parameter setting matrix clrMTX[Z] is transmitted to the driver 253 of the dynamic light source device lgtDEV[Z] via the HID LampArray interface 25. After receiving the color parameter setting matrix clrMTX[Z] via the HID LampArray interface 25, the driver 253 of the dynamic light source device lgtDEV[Z] sets the color value and / or brightness value of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) according to the color parameter setting matrix clrMTX[Z] (step S711).

[0306] For simplicity, this paper assumes that the number, arrangement, number of rows, and number of columns of the bitmap pixels contained in the various (any source) bitmap data arrays received by the bitmap loading interface 2313 (e.g., preset lighting effect bitmap data array psBM(psbmID, Z), real-time lighting effect bitmap data array rtBM(rt_t, captID, Z), external lighting effect bitmap data array extBM(ext_t, captID, Z), etc.) are all equal to the number, arrangement, number of rows, and number of columns of the light-emitting elements on the dynamic light source device lgtDEV[Z]. Therefore, the operation of the bitmap loading interface 2313 does not differ depending on the type of the input image data inDAT.

[0307] In practical applications, if the number, arrangement, number of rows, and number of columns of the bitmap data array (e.g., the preset lighting effect bitmap data array psBM(psbmID, Z), the real-time lighting effect bitmap data array rtBM(rt_t, captID, Z), the external lighting effect bitmap data array extBM(ext_t, captID, Z) etc.) obtained by the bitmap loading interface 2313 from the view frame buffer are not equal to the number, arrangement, number of rows, and number of columns of the light-emitting elements cp(Z, 1, 1) to cp(Z, hcpNum[Z], vcpNum[Z]) on the dynamic light source device lgtDEV[Z], the devPRF can be adjusted again through the additional resolution adjustment interface so that the format of devPRF mapped to clrMTX can directly conform to the number and configuration of the light-emitting elements of lgtDEV[Z].

[0308] The control method for the dynamic light source device disclosed herein can be executed using a software program stored in a computer program product or computer-readable medium. In practical applications, the control method for the dynamic light source device disclosed herein can be applied to electronic devices such as mobile phones, tablets, desktop computers, and laptops. Furthermore, although the foregoing embodiments use light-emitting elements arranged in a matrix format as examples, in practical applications, the number and arrangement of light-emitting elements included in the dynamic light source device lgtDEV[Z] are not limited. By slightly modifying the format mapping details in the embodiments, it can be applied to light-emitting elements arranged in other ways.

[0309] In summary, although the present invention has been disclosed above with reference to embodiments, it is not intended to limit the invention. Those skilled in the art to which this invention pertains can make various modifications and refinements without departing from the spirit and scope of the invention. Therefore, the scope of protection of this invention shall be determined by the claims.

Claims

1. An electronic device comprising: K dynamic light source devices, wherein a Z-th dynamic light source device among the K dynamic light source devices comprises a plurality of light-emitting elements; and A control circuit, electrically connected to the K dynamic light source devices, executes a lighting effect format conversion interface. This interface transmits a device attribute request command to the Zth dynamic light source device and receives device attribute parameters representing the configuration of the light-emitting elements from the Zth dynamic light source device. The lighting effect format conversion interface then establishes a color parameter setting matrix based on these device attribute parameters. The lighting effect format conversion interface converts an input image data into a device lighting effect setting file corresponding to the Zth dynamic light source device, and then updates the color parameter setting matrix transmitted to the Zth dynamic light source device at intervals based on the duration of a lighting effect. The device lighting effect setting file includes the lighting effect duration and the color parameter setting matrix, and the Zth dynamic light source device sets a light emission attribute of each light-emitting element according to the color parameter setting matrix, where K and Z are positive integers, and Z is less than or equal to K.

2. The electronic device as claimed in claim 1, characterized in that, Also includes: A storage circuit, electrically connected to the control circuit, stores at least one preset lighting effect bitmap file as input image data, wherein the lighting effect format conversion interface loads a plurality of preset lighting effect bitmap data arrays from the at least one preset lighting effect bitmap file, and each preset lighting effect bitmap data array contains a plurality of preset lighting effect bitmap pixels, wherein the number of such preset lighting effect bitmap pixels is equal to the number of such light-emitting elements.

3. The electronic device as claimed in claim 1, characterized in that, Also includes: An image capturing circuit, electrically connected to the control circuit, continuously captures images of a user operating the electronic device, generating a real-time video as input image data. The lighting effect format conversion interface analyzes a captured image to be converted from the real-time video, thereby obtaining the position of a target feature in the captured image to be converted. Based on the position of the target feature in the captured image to be converted, the lighting effect format conversion interface converts the captured image to be converted into a real-time lighting effect bitmap data array. Then, based on the color of the hpxlNum_rtBM*vpxlNum_rtBM real-time lighting effect bitmap pixels contained in the real-time lighting effect bitmap data array, the color parameter setting matrix is ​​set.

4. The electronic device as claimed in claim 3, characterized in that, The image to be converted contains hzoneNum*vzoneNum image regions to be converted, and the real-time lighting effect bitmap data array contains hzoneNum*vzoneNum real-time lighting effect bitmap regions, wherein each of the hzoneNum*vzoneNum image regions to be converted corresponds to each of the hzoneNum*vzoneNum real-time lighting effect bitmap regions, and hzoneNum and vzoneNum are both positive integers.

5. The electronic device as claimed in claim 3, characterized in that, Within the hzoneNum*vzoneNum image regions to be converted and captured, the region containing the target feature is defined as a core captured image region. Furthermore, within the hzoneNum*vzoneNum real-time lighting effect bitmap regions, the region corresponding to the core captured image region is defined as a core bitmap region. Each of the hzoneNum*vzoneNum real-time lighting effect bitmap regions contains at least one real-time lighting effect bitmap pixel from the hpxlNum_rtBM*vpxlNum_rtBM real-time lighting effect bitmap pixels, and the lighting effect format conversion interface sets the at least one real-time lighting effect bitmap pixel contained in the core bitmap region to a first color, and sets the color of the at least one real-time lighting effect bitmap pixel contained in the remaining real-time lighting effect bitmap regions to be different from the first color.

6. The electronic device as claimed in claim 5, characterized in that, The light-emitting elements are divided into hzoneNum*vzoneNum lighting effect control areas, and each hzoneNum*vzoneNum lighting effect control area corresponds to each hzoneNum*vzoneNum real-time lighting effect dot matrix area. The light-emitting attribute of at least one light-emitting element belonging to each hzoneNum*vzoneNum lighting effect control area is set according to the color of the at least one real-time lighting effect dot matrix pixel contained in each hzoneNum*vzoneNum real-time lighting effect dot matrix area.

7. The electronic device as claimed in claim 3, characterized in that, The length of the live video is rtVID_dur seconds, and the live video contains rtFPS live images per second. The lighting effect format conversion interface obtains captFPS captured images from the rtFPS live images, and the lighting effect format conversion interface sequentially selects each captFPS captured image as the captured image to be converted. Here, rtVID_dur, rtFPS, and captFPS are positive integers, and captFPS is less than or equal to rtFPS.

8. The electronic device as claimed in claim 1, characterized in that, The lighting effect format conversion interface uses an external video feed as input image data and captures a captured image to be converted, containing hpxlNum_captIMG*vpxlNum_captIMG captured image pixels from the external video feed. The interface converts this captured image into an external lighting effect bitmap data array containing hpxlNum_extBM*vpxlNum_extBM external lighting effect bitmap pixels. Furthermore, the interface sets the color parameter setting matrix based on the colors of these hpxlNum_extBM*vpxlNum_extBM external lighting effect bitmap pixels. Where hpxlNum_captIMG, vpxlNum_captIMG, hpxlNum_extBM, and vpxlNum_extBM are positive integers, hpxlNum_captIMG is greater than hpxlNum_extBM, and vpxlNum_captIMG is greater than vpxlNum_extBM.

9. The electronic device as claimed in claim 8, characterized in that, The lighting effect format conversion interface divides the captured image to be converted into a plurality of captured image regions, and then converts each captured image region to the color of one of the plurality of external lighting effect bitmap pixels contained in the external lighting effect bitmap data array.

10. The electronic device as claimed in claim 9, characterized in that, The image regions awaiting conversion are arranged in rows of hzoneNum and columns of vzoneNum, and the external lighting effect pixel arrays are arranged in rows of hpxlNum_extBM and columns of vpxlNum_extBM, where hzoneNum, vzoneNum, hpxlNum_extBM and vpxlNum_extBM are all positive integers, and hzoneNum equals hpxlNum_extBM and vzoneNum equals vpxlNum_extBM.

11. The electronic device as claimed in claim 8, characterized in that, hpxlNum_captIMG is a multiple of hpxlNum_extBM, and vpxlNum_captIMG is a multiple of vpxlNum_extBM.

12. The electronic device as claimed in claim 8, characterized in that, These light-emitting elements are arranged in rows hcpNum[Z] and columns vcpNum[Z]. Where hcpNum[Z] and vcpNum[Z] are positive integers, hcpNum[Z] is equal to hpxlNum_extBM, and vcpNum[Z] is equal to vpxlNum_extBM.

13. The electronic device as claimed in claim 8, characterized in that, The length of the external video is extVID_dur seconds, and the external video contains extFPS external images per second. The lighting effect format conversion interface obtains captFPS captured images from the extFPS external images, and the lighting effect format conversion interface sequentially uses each of the captFPS captured images as the captured image to be converted. Here, extFPS and captFPS are positive integers, and captFPS is less than or equal to extFPS.

14. A control method applied to an electronic device comprising K dynamic light source devices, the control method comprising the following steps: A device attribute request instruction is transmitted to the Zth dynamic light source device among the K dynamic light source devices, wherein the Zth dynamic light source device comprises a plurality of light-emitting elements; After the Zth dynamic light source device receives a device attribute parameter representing the configuration of the light-emitting elements, a color parameter setting matrix is ​​established based on the device attribute parameter. Convert an input image data into a device lighting effect setting file corresponding to the Zth dynamic light source device; The color parameter setting matrix transmitted to the Zth dynamic light source device is updated at intervals equal to the duration of a light effect. as well as The Zth dynamic light source device sets the light-emitting attribute of each light-emitting element according to the color parameter setting matrix; The device's lighting effect setting file includes the lighting effect duration and the color parameter setting matrix, where K and Z are positive integers, and Z is less than or equal to K.

15. A computer program product having a software program stored thereon, wherein when the software program is executed, a method for controlling an electronic device comprising K dynamic light source devices is provided, the control method comprising the following steps: A device attribute request instruction is transmitted to the Zth dynamic light source device among the K dynamic light source devices, wherein the Zth dynamic light source device comprises a plurality of light-emitting elements; After the Zth dynamic light source device receives a device attribute parameter representing the configuration of the light-emitting elements, a color parameter setting matrix is ​​established based on the device attribute parameter. Convert an input image data into a device lighting effect setting file corresponding to the Zth dynamic light source device; The color parameter setting matrix transmitted to the Zth dynamic light source device is updated at intervals equal to the duration of a light effect. as well as The Zth dynamic light source device sets the light-emitting attribute of each light-emitting element according to the color parameter setting matrix; The device's lighting effect setting file includes the lighting effect duration and the color parameter setting matrix, where K and Z are positive integers, and Z is less than or equal to K.