Electronic device having dynamic lighting device and associated control method and computer program product
Patent Information
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- ACER INC
- Filing Date
- 2024-09-13
- Publication Date
- 2026-08-01
AI Technical Summary
Existing dynamic lighting devices in computer systems from different manufacturers often produce chaotic lighting effects due to differing ideas about lighting effects, leading to a lack of cohesion and personalization.
An electronic device with a dynamic light source and control method that uses a sensing function to determine user presence and preferences, enabling or disabling lighting effects progressively based on trigger conditions, and controlling multiple devices to create personalized and coordinated lighting experiences.
The solution provides a coordinated and personalized lighting experience by gradually adjusting lighting effects based on user interaction, enhancing the user's sense of ritual and cohesion across devices.
Smart Images

Figure TWG2TB001903623_001 
Figure TWG2TB001903623_002 
Figure TWG2TB001903623_003
Abstract
Description
[Technical Field]
[0001] This invention relates to an electronic device with a dynamic light source and a related control method and computer program product, and more particularly to an electronic device with a dynamic light source and a related control method and computer program product. [Previous Technology]
[0002] Please refer to Figure 1, which is a schematic diagram of a user's computer operating environment. The screen 11, keyboard 15, and mouse 17 on the gaming desk 13, as well as the computer host 19, may all be equipped with light-emitting elements and have light-emitting functions. This article refers to such peripheral devices with light-emitting functions as dynamic lighting devices.
[0003] Although existing dynamic lighting devices have the function of emitting light, the manufacturers of gaming desks 13, monitors 11, keyboards 15, mice 17, and computer hosts 19 have different ideas about the lighting effects presented by their own products. As a result, the overall lighting effect produced by all dynamic lighting devices in the computer system may appear chaotic. [Summary of the Invention]
[0004] This invention relates to an electronic device with a dynamic light source and a related control method and computer program product. The electronic device has a sensing function to determine whether the user wants to enable or disable the electronic device. Furthermore, the electronic device can enable / disable the dynamic light source in a progressive manner based on the sensing results.
[0005] According to a first aspect of the present invention, an electronic device is provided. The electronic device includes: a control circuit and a dynamic light source device. The control circuit executes a light source setting interface. The light source setting interface generates a lighting effect setting signal in response to the fulfillment of either an enable trigger condition or a disable trigger condition. The dynamic light source device is electrically connected to the control circuit. Furthermore, the dynamic light source device changes the lighting effect in response to the lighting effect setting signal. During a first-stage maintenance period in the device enable / disable period, the dynamic light source device generates a first lighting effect according to the control of the lighting effect setting signal. During a second-stage maintenance period in the device enable / disable period, the dynamic light source device generates a second lighting effect according to the control of the lighting effect setting signal. The first-stage maintenance period in the device enable / disable period is earlier than the second-stage maintenance period in the device enable / disable period.
[0006] According to a second aspect of the present invention, a control method is provided. The control method is applied to an electronic device including a dynamic light source device. The control method includes the following steps: First, generating a lighting effect setting signal in response to the fulfillment of either an enable trigger condition or a disable trigger condition. During a first-stage maintenance period in the device enable / disable period, controlling the dynamic light source device to generate a first lighting effect using the lighting effect setting signal. During a second-stage maintenance period in the device enable / disable period, controlling the dynamic light source device to generate a second lighting effect using the lighting effect setting signal. The first-stage maintenance period in the device enable / disable period is earlier than the second-stage maintenance period in the device enable / disable period.
[0007] 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 including K dynamic light source devices.
[0008] In order to better understand the above and other aspects of the present invention, specific embodiments are described below in conjunction with the accompanying drawings:
Implementation Method
[0010] Microsoft will launch Dynamic Lighting for Windows operating systems in 2023, aiming to provide a common standard that allows peripheral devices with lighting functions from different manufacturers to be controlled using the Microsoft Human Interface Devices (HID) LampArray interface.
[0011] Please refer to Figure 2, which is a schematic diagram of an electronic device according to the present disclosure. The electronic device 20 may be a desktop computer, laptop computer, tablet computer, etc., using a Windows operating system. The electronic device 20 includes a control circuit 21, a storage circuit 23, a dynamic light source device 27, and a sensor 25. The control circuit 21 is electrically connected to the storage circuit 23, the dynamic light source device 27, and the sensor 25.
[0012] The control circuit 21 can be used with the sensor 25 for human presence detection. In practical applications, the number and operating principle of the sensor 25 are not limited. For example, the sensor 25 can be an ultrasound sensor, a time-of-flight (ToF) sensor, an infrared (IR) sensor, etc.
[0013] The control circuit 21 is used to execute different software layers. For example: firmware layer 217, operating system 215, HID Lamp Array interface 213, and lighting management interface 211. Among them, firmware layer 217 is used to drive each dynamic light source device (lgtDEV[1]~lgtDEV[K]) 27. In short, through HID Lamp Array interface 213, lighting management interface 211 can identify dynamic light source device lgtDEV[Z] using product ID (PID), vendor ID (VID), and hardware ID (HID), and specifically send a lighting effect setting signal devCTRL[Z] to the dynamic light source device lgtDEV[Z] to determine the lighting effect of the dynamic light source device lgtDEV[Z].
[0014] For example, in the dynamic light source device lgtDEV[Z], the color, brightness, whether it emits light, the duration of light emission, the start point of light emission, and the end point of light emission of individual light-emitting elements cp(Z, 1)~cp(1, cpNum[Z]) are specified. The light source setting interface 211 generates a lighting effect setting signal devCTRL[Z] for the dynamic light source device lgtDEV[Z]. The lighting effect setting signal devCTRL[Z] generated by the light source setting interface 211, which controls the dynamic light source device, is then transmitted to the dynamic light source device lgtDEV[Z] through the HID Lamp Array interface 213, the operating system 215, and the firmware layer 217.
[0015] For ease of explanation, this paper assumes that the electronic device 20 includes K dynamic light source devices (lgtDEV[1]~lgtDEV[K]) 27. In the following explanation, one of the K dynamic light source devices (lgtDEV[1]~lgtDEV[K]) 27 is represented as dynamic light source device lgtDEV[Z]. Wherein, K and Z are positive integers, and Z≦K.
[0016] First, the light source setting interface 211 sends a default attribute parameter request command devATTR_reqCMD[Z] to the HID Lamp Array interface 213. The HID Lamp Array interface 213 indirectly obtains the default attribute parameter dflt_devATTR[Z] related to the dynamic light source device lgtDEV[Z] through the operating system 215 and the firmware layer 217.
[0017] The default attribute parameter dflt_devATTR[Z] obtained by the light source setting interface 211 through the HID Lamp Array interface 213 can be the number of light-emitting elements cpNum[Z] contained in the dynamic light source device lgtDEV[Z], and the size of the dynamic light source device lgtDEV[Z] (e.g., the length L[Z], width W[Z], and height H[Z] of the boundary).
[0018] According to the concept disclosed herein, after the light source setting interface 211 obtains the preset attribute parameter dflt_devATTR[Z], it can further perform parameter conversion calculations on the preset attribute parameter dflt_devATTR[Z]. After the parameter conversion calculation by the light source setting interface 211, the light source setting interface 211 will generate the converted attribute parameter trs_devATTR[Z] corresponding to the dynamic light source device lgtDEV[Z]. The type and number of converted attribute parameters trs_devATTR[Z] are not limited. In practical applications, the light source setting interface 211 can determine the parameter conversion calculation method according to different needs.
[0019] For example, the converted attribute parameter trs_devATTR[Z] can be: the area Area[Z] of the dynamic light source device lgtDEV[Z], which is calculated by multiplying the length L[Z] and width W[Z] of the dynamic light source device lgtDEV[Z]. That is, Area[Z] = L[Z] * W[Z].
[0020] For example, the converted attribute parameter trs_devATTR[Z] can be: the number of light-emitting components per area (LPA) LPA[Z) obtained by dividing the number of light-emitting components cpNum[Z] contained in the dynamic light source device lgtDEV[Z] by the area Area[Z] of the dynamic light source device lgtDEV[Z]. That is, LPA[Z] = cpNum[Z] / Area[Z].
[0021] Alternatively, the converted attribute parameter trs_devATTR[Z] can be: the number of light-emitting components per volume (LPV) obtained by dividing the number of light-emitting components cpNum[Z] contained in the dynamic light source device lgtDEV[Z] by the volume Vol[Z] of the dynamic light source device lgtDEV[Z]. That is, LPV[Z] = cpNum[Z] / Vol[Z].
[0022] As can be seen from Figure 2, the light source setting interface 211 can obtain the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] corresponding to the K dynamic light source devices lgtDEV[1]~lgtDEV[K]. Subsequently, the light source setting interface 211 performs parameter conversion calculations on these preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] to generate the converted attribute parameters trs_devATTR[1]~trs_devATTR[K].
[0023] It should also be noted that there are no particular restrictions on the type and number of the preset attribute parameters dflt_devATTR[Z] obtained for any dynamic light source device lgtDEV[Z]. That is to say, as long as the preset attribute parameters dflt_devATTR[Z] conform to the specifications of the HID Lamp Array interface 213, the light source setting interface 211 obtains and uses them through the HID Lamp Array interface 213.
[0024] For example, the preset attribute parameter dflt_devATTR[Z] can be one or more of the following parameters of the dynamic light source device lgtDEV[Z]: number of light-emitting elements cpNum[Z], length L[Z], width W[Z], and height H[Z]. Similarly, there are no particular restrictions on the type and number of the converted attribute parameter trs_devATTR[Z] generated by parameter conversion calculation for any dynamic light source device lgtDEV[Z]. For example, the converted attribute parameter trs_devATTR[Z] can be one or more of the following parameters of the dynamic light source device lgtDEV[Z]: area Area[Z], volume Vol[Z], number of light-emitting elements per unit area (element density per unit area) LPA[Z], and number of light-emitting elements per unit volume (element density per unit volume) LPV[Z].
[0025] According to the concept disclosed herein, the light source setting interface 211 will refer to the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] and the converted attribute parameters trs_devATTR[1]~trs_devATTR[K] to control the dynamic light source device lgtDEV[1]~lgtDEV[K] to enter the progressive light-emitting state STA7 and / or the progressive off state STA6. Since the electronic device 20 can dynamically execute the progressive light-emitting state and / or the progressive off state according to the user's approach, the user will feel that the electronic device 20 generates personalized lighting effects to welcome or bid farewell according to their approach, thereby creating a personalized sense of ritual.
[0026] Alternatively, the control circuit 21 can determine whether to enter the gradual illumination state based on whether the user logs into the operating system 215. Or, it can determine whether to enter the gradual de-illumination state based on whether the user logs out of the operating system 215. If the control circuit 21 determines whether to enter the gradual illumination / de-illumination state based on the user logging into / out of the operating system 215, the control circuit 21 can also switch the light color used by the dynamic light source device lgtDEV[1]~lgtDEV[K] in the gradual illumination / de-illumination state for different user accounts. This part regarding the application changes will not be detailed in this article.
[0027] The progressive light-emitting state refers to the situation where, when the user is not using the electronic device 20, if the light source setting interface 211 determines, through the sensing result of the sensor 25, that the user is moving from a distance to a position close to the electronic device 20, the light source setting interface 211 controls the dynamic light source devices lgtDEV[1]~lgtDEV[K], which were originally in an off state, to start emitting light gradually in a progressive manner.
[0028] Furthermore, when the user is not using the electronic device 20, if the sensor 25 determines that the relative distance between the user and the electronic device 20 is less than a preset distance threshold Dth, the light source setting interface 211 can regard the user's approach to the electronic device 20 as the user about to start using the electronic device 20. Accordingly, the light source setting interface 211 will control the dynamic light source devices lgtDEV[1]~lgtDEV[K] to gradually brighten from dark to bright, so that the user feels that the overall lighting effect becomes brighter and brighter as he approaches. This process of the overall lighting effect becoming brighter and brighter as the user approaches is called the progressive light emission process.
[0029] As described above, if the sensor 25 determines that the relative distance between the user and the electronic device 20 is less than a preset distance threshold Dth, the light source setting interface 211 can regard this situation as the activation trigger condition onTrig_COND for progressive light emission being met. Furthermore, the light source setting interface 211 starts controlling the dynamic light source devices lgtDEV[1]~lgtDEV[K] to perform the progressive light emission process in response to the activation trigger condition onTrig_COND for progressive light emission being met. It should also be noted that this article focuses on how to control the dynamic light source devices lgtDEV[1]~lgtDEV[K] to perform the progressive light emission process in response to the activation trigger condition onTrig_COND for progressive light emission being met.
[0030] In practical applications, the color, brightness, etc., corresponding to the lighting effect of the progressive light emission process do not need to be limited. Alternatively, the light source setting interface 211 can also provide functions that allow users to set their preferred color, etc. For example, assuming that user A prefers red and after setting it, the light source setting interface 211 can control the dynamic light source device lgtDEV[1]~lgtDEV[K] to gradually change from dark red to bright red; or, assuming that user A prefers purple and after setting it, the light source setting interface 211 can control the dynamic light source device lgtDEV[1]~lgtDEV[K] to gradually change from dark purple to bright purple. This part regarding the application changes will not be detailed in this article.
[0031] According to the concept disclosed herein, in the progressive light emission process, the light source setting interface 211 controls the dynamic light source devices lgtDEV[1]~lgtDEV[K] to gradually change from dark to bright by gradually controlling the light-emitting elements in the dynamic light source devices lgtDEV[1]~lgtDEV[K] from the off state cp_offSTS to the light-emitting state cp_onSTS according to the order listed in the device activation sequence onDEV_SEQ. More specifically, the light source setting interface 211 will gradually control the light-emitting state cp_onSTS of the light-emitting elements of the dynamic light source devices lgtDEV[1]~lgtDEV[K] according to the order listed in the device activation sequence onDEV_SEQ. The activation order listed in the device activation sequence onDEV_SEQ depends on the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] obtained by the light source setting interface 211 through query, and the converted attribute parameters trs_devATTR[1]~trs_devATTR[K] generated by the light source setting interface 211 through parameter conversion calculation. The activation order listed in the device activation sequence onDEV_SEQ will be explained below.
[0032] Compared to the gradual light-emitting process, the gradual extinguishing process refers to the process where, when a user uses the electronic device 20, if the light source setting interface 211 determines, through the sensing result of the sensor 25, that the user is moving from a position close to the electronic device 20 to a more distant position, the light source setting interface 211 controls the dynamic light source devices lgtDEV[1]~lgtDEV[K], which were originally in the light-emitting state cp_onSTS, to gradually extinguish in a gradual manner. Regarding how the light source setting interface 211 determines that the deactivation trigger condition offTrig_COND for gradual extinguishing is met, and how it controls the dynamic light source devices lgtDEV[1]~lgtDEV[K] to execute the gradual extinguishing process in response to the meeting of the deactivation trigger condition offTrig_COND for gradual extinguishing, the description related to gradual light-emitting can be deduced by analogy. Therefore, the description related to gradual extinguishing will not be detailed here.
[0033] Next, taking an electronic device 20 that includes a gaming desk (GD), a mouse pad (MP), a gaming keyboard (GK), a sound bar (SB), and a gaming mouse (GM) as an example, we will explain the preset attribute parameter dfltATTR[Z] obtained by the light source setting interface 211, and the converted attribute parameter trsATTR[Z] generated after performing parameter conversion calculation on the preset attribute parameter dfltATTR[Z].
[0034] Please refer to Figure 3, which is a comparison of the areas of five dynamic light source devices lgtDEV[1]~lgtDEV[5] included in the assumed electronic device. For ease of explanation, Figure 3 assumes that the gaming table 31 is the dynamic light source device lgtDEV[1], the soundbar 33 is the dynamic light source device lgtDEV[2], the mouse pad 35 is the dynamic light source device lgtDEV[3], the gaming keyboard 37 is the dynamic light source device lgtDEV[4], and the gaming mouse 39 is the dynamic light source device lgtDEV[5]. Table 1 summarizes the preset attribute parameter dflt_devATTR[Z] and the converted attribute parameter trs_devATTR[Z] related to the dynamic light source devices lgtDEV[1]~lgtDEV[5] in Figure 3.
[0035] The top four columns of Table 1 are the preset attribute parameters dflt_devATTR[Z] (number of light-emitting elements cpNum[Z], length L[Z], width W[Z], height H[Z]) obtained by the light source setting interface 211 through the HID Lamp Array interface 213. The bottom four columns of Table 1 are the converted attribute parameters trs_devATTR[Z] (area[Z], volume Vol[Z], element density per unit area LPA[Z], element density per unit volume LPV[Z]) generated by the light source setting interface 211 after parameter conversion calculation based on the preset attribute parameter dflt_devATTR[Z].
[0036] Table 1 Dynamic light source device lgtDEV[Z] Peripheral devices Gaming Table 31 (Desktop) 33 Bar Speakers Mousepad 35 37-inch gaming keyboard Gaming Mouse 39 Z 1 2 3 4 5 Preset attribute parameter dflt_devATTR[Z] Number of light-emitting elements cpNum[Z] 48 16 twenty four 100 4 Length (cm) L[Z] 140 50 93 44 10 Width (cm) W[Z] 60 9 45 13 6 Height (cm) H[Z] 1.5 8.4 0.1 2.8 3.5 The converted attribute parameter trs_devATTR[Z] Area (square centimeters) [Z] 8400.0 450.0 4185.0 572.0 60.0 Volume (cubic centimeters) Vol [Z] 12600.0 3780.0 418.5 1601.6 210.0 Number of light-emitting elements per unit area (element density per unit area) LPA[Z] 0.006 0.036 0.006 0.175 0.067 Number of light-emitting elements per unit volume (element density per unit volume) LPV [Z 0.004 0.004 0.057 0.062 0.019
[0037] According to the concept disclosed herein, when the light source setting interface 211 obtains the preset attribute parameter dflt_devATTR[Z] and calculates the converted attribute parameter trs_devATTR[Z], it can perform different types of sorting according to different attribute parameters. For example, the light source setting interface 211 can arrange the dynamic light source devices lgtDEV[1]~lgtDEV[5] into an element quantity attribute sequence cpNumSEQ of the dynamic light source devices, which is determined by the number of light-emitting elements cpNum[1]~cpNum[5] contained in the dynamic light source devices lgtDEV[1]~lgtDEV[5] from few to many. Similarly, the light source setting interface 211 can arrange the dynamic light source devices lgtDEV[1]~lgtDEV[5] into a sequence of area attribute parameters (areaSEQ) that is determined by the area size, based on the area Area[1]~Area[5] of the dynamic light source devices lgtDEV[1]~lgtDEV[5].
[0038] In practical applications, the light source setting interface 211 can also sort the values of the preset attribute parameter dflt_devATTR[Z] without first performing parameter conversion calculations. This part regarding application changes will not be detailed in this article.
[0039] Table 2 shows an example of the attribute sequence attrSEQ generated by the light source setting interface 211 based on the various preset attribute parameters dflt_devATTR[Z] and the converted attribute parameters trs_devATTR[Z] listed in Table 1. In practical applications, the attribute sequence attrSEQ generated by the light source setting interface 211 through parameter conversion calculation is not limited to the preferred selection order of the component quantity attribute sequence cpNumSEQ, area attribute sequence areaSEQ, volume attribute sequence volSEQ, area density attribute sequence lpaSEQ, and volume density attribute sequence lpvSEQ listed in Table 2.
[0040] Table 2 The type of attribute parameter Attribute parameters The order of attribute parameters (from smallest to largest) Preset attribute parameter dflt_devATTR[Z] Number of light-emitting elements cpNum[Z] The number of light-emitting elements (cpNum) of the gaming mouse 39 [5] < the number of light-emitting elements (cpNum) of the soundbar 33 [2] < the number of light-emitting elements (cpNum) of the mouse pad 35 [3] < the number of light-emitting elements (cpNum) of the gaming desk 31 [1] < the number of light-emitting elements (cpNum) of the gaming keyboard 37 [4] The converted attribute parameter trs_devATTR[Z] Area [Z] The area of the gaming mouse 39 (Area[5]) < the area of the soundbar 33 (Area[2]) < the area of the gaming keyboard 37 (Area[4]) < the area of the mouse pad 35 (Area[3]) < the area of the gaming desk 31 (Area[1]) Volume Vol[Z] The volume of a gaming mouse (39, Vol[5]) < the volume of a mousepad (35, Vol[3]) < the volume of a gaming keyboard (37, Vol[4]) < the volume of a soundbar (33, Vol[2]) < the volume of a gaming desk (31, Vol[1]) Component density per unit area (LPA[Z]) The component density per unit area (LPA) of mousepad 35 [3] < the component density per unit area (LPA) of gaming desk 31 [1] < the component density per unit area (LPA) of soundbar 33 [2] < the component density per unit area (LPA) of gaming mouse 39 [5] < the component density per unit area (LPA) of gaming keyboard 37 [4] Component density per unit volume (LPV[Z]) The element density per unit volume of the soundbar 33 (LPV)[2] = the element density per unit volume of the gaming desk 31 (LPV)[1] < the element density per unit volume of the gaming mouse (LPV)[5] < the element density per unit volume of the mouse pad 35 (LPV)[3] < the element density per unit volume of the gaming keyboard 37 (LPV)[4]
[0041] After the light source setting interface 211 generates the attribute sequence shown in Table 2, the light source setting interface 211 will further define a device enable sequence onDEV_SEQ={onDEV[1], onDEV[2], onDEV[3], onDEV[4], onDEV[5]} and a device disable sequence offDEV_SEQ={offDEV[1], offDEV[2], offDEV[3], offDEV[4], offDEV[5]} based on these attribute sequences. The device enable sequence onDEV_SEQ represents how to determine the order in which the dynamic light source devices lgtDEV[1]~lgtDEV[5] are enabled when the light source setting interface 211 enables the light emission function of the dynamic light source devices lgtDEV[1]~lgtDEV[5] one by one. On the other hand, the device deactivation sequence offDEV_SEQ represents how to determine the order in which the dynamic light source devices lgtDEV[1]~lgtDEV[5] are deactivated one by one when the light source setting interface 211 deactivates the light-emitting function of the dynamic light source devices lgtDEV[1]~lgtDEV[5].
[0042] The order in which the light source setting interface 211 enables the dynamic light source devices lgtDEV[1]~lgtDEV[5] one by one is the reverse of the order in which the light source setting interface 211 disables the dynamic light source devices lgtDEV[1]~lgtDEV[5]. For example, if the gaming mouse 39 is the first dynamic light source device to be enabled in the device enable sequence onDEV_SEQ, the gaming mouse 39 will also be the last dynamic light source device to be disabled in the device disable sequence offDEV_SEQ.
[0043] For ease of explanation, this paper uses onDEV[I] to represent the I-th activated dynamic light source device in the device activation sequence onDEV_SEQ. That is, onDEV_SEQ={onDEV[1], …onDEV[I], …onDEV[K]}. The I-th activated dynamic light source device onDEV[I] in the device activation sequence onDEV_SEQ can be any of the dynamic light source devices lgtDEV[1]~lgtDEV[K]. I is a positive integer, and I≤K.
[0044] Similarly, in this paper, offDEV[J] represents the Jth discontinued dynamic light source device in the device discontinuation sequence offDEV_SEQ. That is, offDEV_SEQ={offDEV[1], …offDEV[J], …offDEV[K]}. The Jth discontinued dynamic light source device offDEV[J] in the device discontinuation sequence offDEV_SEQ can be any of the dynamic light source devices lgtDEV[1]~lgtDEV[K]. J is a positive integer, and J≤K.
[0045] Continuing with this marking method, it can be seen that in the device enable sequence onDEV_SEQ, the dynamic light source device onDEV[1] which is ordered as I=1 is the same as the dynamic light source device offDEV[K] which is ordered as J=K in the device disable sequence offDEV_SEQ. And, in the device enable sequence onDEV_SEQ, the dynamic light source device onDEV[K] which is ordered as I=K is the same as the dynamic light source device offDEV[1] which is ordered as J=1 in the device disable sequence offDEV_SEQ, and vice versa.
[0046] Since the order of the device enable sequence onDEV_SEQ and the device disable sequence offDEV_SEQ defined by the light source setting interface 211 is reversed according to the order of the dynamic light source devices lgtDEV[Z], the following description will focus on how the light source setting interface 211 controls the dynamic light source devices lgtDEV[1]~lgtDEV[5] based on the device enable sequence onDEV_SEQ. Regarding how the light source setting interface 211 controls the dynamic light source devices lgtDEV[1]~lgtDEV[5] based on the order of the device disable sequence offDEV_SEQ (offDEV[J], where J=1~K), it can be deduced by analogy to the process of controlling the dynamic light source devices lgtDEV[1]~lgtDEV[5] based on the order of the device enable sequence onDEV_SEQ (onDEV[I], where I=1~K), and will not be described in detail.
[0047] According to the concept disclosed herein, before defining the device activation sequence onDEV_SEQ, the light source setting interface 211 needs to determine which attribute parameter should be the preferred selection. Then, the order of the device activation sequence onDEV_SEQ is determined according to the numerical order of the preferred attribute parameters (e.g., from smallest to largest). If, when determining the device activation sequence onDEV_SEQ according to the numerical order of the preferred attribute parameters (e.g., from smallest to largest), it is found that the values of such attribute parameters are equal, then the order of the attribute parameters with the next lower priority (e.g., from fewest to most) is used for differentiation. The following assumes that the light source setting interface 211 selects the number of light-emitting elements cpNum[Z] and the element density per unit volume LPV[Z] as preferred attribute parameters.
[0048] First, assume that the light source setting interface 211 selects the number of light-emitting elements cpNum[Z] as the preferred attribute parameter. Because the number of light-emitting elements cpNum[5] of the gaming mouse 39, the number of light-emitting elements cpNum[2] of the soundbar 33, the number of light-emitting elements cpNum[3] of the mouse pad 35, the number of light-emitting elements cpNum[1] of the gaming desk 31, and the number of light-emitting elements cpNum[4] of the gaming keyboard 37 are all different, the light source setting interface 211 can directly select the dynamic light source based on the order of the number of light-emitting elements cpNum[5] of the gaming mouse 39 < the number of light-emitting elements cpNum[2] of the soundbar 33 < the number of light-emitting elements cpNum[3] of the mouse pad 35 < the number of light-emitting elements cpNum[1] of the gaming desk 31 < the number of light-emitting elements cpNum[4] of the gaming keyboard 37. The device lgtDEV[5] (i.e., gaming mouse 39) is the first activated dynamic light source device onDEV[1], the dynamic light source device lgtDEV[2] (i.e., soundbar 33) is the first activated dynamic light source device onDEV[2], the dynamic light source device lgtDEV[3] (i.e., mouse pad 35) is the first activated dynamic light source device onDEV[3], the dynamic light source device lgtDEV[1] (i.e., gaming desk 31) is the first activated dynamic light source device onDEV[4], and the dynamic light source device lgtDEV[4] (i.e., gaming keyboard 37) is the first activated dynamic light source device onDEV[5].
[0049] Next, assume that the light source setting interface 211 selects the unit volume element density LPV[Z] as the preferred attribute parameter. As can be seen from Table 2, the order of unit volume element density LPV[1]~LPV[5] is as follows: the unit volume element density LPV[2] of the soundbar 33 = the unit volume element density LPV[1] of the gaming desk 31 < the unit volume element density LPV[5] of the gaming mouse 39 < the unit volume element density LPV[3] of the mouse pad 35 < the unit volume element density LPV[4] of the gaming keyboard 37. Because the unit volume element density LPV[2] of the soundbar 33 is equal to the unit volume element density LPV[1] of the gaming table 31, which is 0.004, the light source setting interface 211 cannot determine whether to select the soundbar 33 or the gaming table 31 as the first active dynamic light source device onDEV[1] based solely on the unit volume element density LPV[2] of the soundbar 33 and the unit volume element density LPV[1] of the gaming table 31.
[0050] When the values of the preferred attribute parameters for different dynamic light source devices are equal, the light source setting interface 211 can use the value of another attribute parameter as a reference for sorting. For example, the light source setting interface 211 can select Area[Z] as the attribute parameter with the second highest priority for sorting the soundbar 33 or the gaming table 31. Because the Area[2] of the soundbar 33 is less than the Area[1] of the gaming table 31, the light source setting interface 211 can determine that the soundbar 33 should be the first dynamic light source device to be activated (onDEV) (I=1), and the gaming table 31 should be the second dynamic light source device to be activated (onDEV) (2). A similar approach can be used to compare the values of the attribute parameters with the third highest priority when the attribute parameters with the second highest priority are equal. This variation in application will not be detailed here.
[0051] On the other hand, the light source setting interface 211 can still directly select the dynamic light source device lgtDEV[5] (i.e., the e-sports mouse 39) as the third enabled dynamic light source device onDEV[3] based on the sorting relationship of the unit volume element density LPV[5] of the e-sports mouse 39 < the unit volume element density LPV[3] of the mouse pad 35 < the unit volume element density LPV[4] of the e-sports keyboard 37.
[0052] Comparing the two examples of how to determine the sorting order based on different types of attribute parameters, it can be seen that when the light source setting interface 211 selects the number of light-emitting elements cpNum[Z] as the preferred attribute parameter, since the number of light-emitting elements cpNum[1]~cpNum[5] are not equal, the light source setting interface 211 does not need to use another attribute parameter to determine the order. However, when the light source setting interface 211 selects the element density per unit volume LPV[Z] as the preferred attribute parameter, since the element density per unit volume LPV[2] of the soundbar 33 is equal to the element density per unit volume LPV[1] of the gaming table 31, the light source setting interface 211 needs to use another attribute parameter as an auxiliary selection for sorting.
[0053] Please refer to Figure 4, which is a schematic diagram of the state transitions of the light source setting interface. For the state descriptions in Figure 4 and how the arrow directions represent the transitions between states, please refer to Table 3.
[0054] Table 3 is a brief description of each state in the state diagram of the light source setting interface 211. state Status Description Arrow direction and explanation Next state STA1: Parameter query status The light source setting interface 211, in conjunction with the HID LampArray interface, obtains the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] of the dynamic light source device lgtDEV[1]~lgtDEV[K]. Arrow direction AR1a: The light source setting interface 211 only uses the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] to determine the device enable sequence onDEV_SEQ and / or the device disable sequence offDEV_SEQ. Therefore, the light source setting interface 211 does not need to perform parameter conversion calculations. STA3: Parameter sorting status Arrow direction AR1b: The light source setting interface 211 uses the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] and the converted attribute parameters trs_devATTR[1]~trs_devATTR[K] to determine the device enable sequence onDEV_SEQ and / or the device disable sequence offDEV_SEQ. Therefore, the light source setting interface 211 needs to perform parameter conversion calculations. STA2: Parameter Conversion Calculation Status STA2: Parameter Conversion Calculation Status The light source setting interface 211 performs parameter conversion calculations on the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] obtained from the dynamic light source device lgtDEV[1]~lgtDEV[K], and obtains the converted attribute parameters trs_devATTR[1]~trs_devATTR[K]. Arrow direction AR2: No need for judgment, directly change the state. STA3: Parameter sorting status STA3: Parameter sorting status The light source setting interface 211 determines the device enable sequence onDEV_SEQ and / or the device disable sequence offDEV_SEQ (Figures 5A and 5B) based on the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] and / or the converted attribute parameters trs_devATTR[1]~trs_devATTR[K]. Arrow direction AR3a: After the electronic device 20 is powered on, the user has not yet started using the electronic device 20. STA4: Standby mode Arrow direction AR3b: After the electronic device 20 is powered on, the user begins to use the electronic device 20. STA5: Continuous Use Status STA4: Standby mode The light-emitting elements cp(1, 1)~cp(K, cpNum[K]) in the dynamic light source device lgtDEV[1]~lgtDEV[K] are all in the off state cp_offSTS Arrow direction AR4a: When the user approaches / begins to use the electronic device 20, the onTrig_COND trigger condition for enabling progressive illumination is met. STA7: Progressive light emission state Arrow direction AR4b: The user has not yet approached / started using the electronic device 20, and the onTrig_COND trigger condition for enabling progressive illumination is not met. STA4: Standby mode Arrow direction AR4c: Electronic device 20 has been switched off because the user has not used it for a long time. STA8: Power off STA5: Continuous Use Status The light-emitting elements cp(1, 1) to cp(K, cpNum[K]) in the dynamic light source device lgtDEV[1]~lgtDEV[K] are all in the light-emitting state cp_onSTS Arrow direction AR5a: The user has stopped operating the electronic device 20 and left the seat, therefore the gradual shutdown trigger condition offTrig_COND is met. STA6: Gradual shutdown state Arrow direction AR5b: The user continues to operate the electronic device 20, therefore the gradual shutdown trigger condition offTrig_COND is not met. STA5: Continuous Use Status Arrow direction AR5c: The user decides to turn off the electronic device 20 while operating it. STA8: Power off STA6: Gradual shutdown state The light source setting interface 211 controls the light-emitting elements cp(1, 1)~cp(K, cpNum[K]) in the dynamic light source device lgtDEV[1]~lgtDEV[K] to gradually change from the light-emitting state cp_onSTS to the off state cp_offSTS in a progressive manner. Arrow direction AR6: No judgment required, directly transition to the next state. STA4: Standby mode STA7: Progressive light emission state The light source setting interface 211 controls the light-emitting elements cp(1, 1)~cp(K, cpNum[K]) in the dynamic light source device lgtDEV[1]~lgtDEV[K] to gradually change from the off state cp_offSTS to the light-emitting state cp_onSTS in a progressive manner. Arrow direction AR7: No judgment required, directly transition to the next state. STA5: Continuous Use Status STA8: Power off Before powering off, the light source setting interface 211 selectively stores the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K], the converted attribute parameters trs_devATTR[1]~trs_devATTR[K], the device enable sequence onDEV_SEQ, and / or the device disable sequence offDEV_SEQ in the storage circuit 23. Arrow direction AR8: No judgment required, directly transition to the next state. STA9: Confirm existing data STA9: Confirm the status of existing data After the electronic device 20 is started, the light source setting interface 211 checks whether the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K], the converted attribute parameters trs_devATTR[1]~trs_devATTR[K], the device enable sequence onDEV_SEQ, and / or the device disable sequence offDEV_SEQ have been stored in the storage circuit 23. Depending on the amount and type of data stored in the storage circuit 23, the light source setting interface 211 may or may not need to repeat the parameter query, parameter sorting, and other processes. Arrow direction AR9a: In the storage circuit 23, no preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K], converted attribute parameters trs_devATTR[1]~trs_devATTR[K], device enable sequence onDEV_SEQ and device disable sequence offDEV_SEQ are stored. The light source setting interface 211 needs to use the HID LampArray interface 213 again to query the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] of the dynamic light source device lgtDEV[1]~lgtDEV[Z] and the parameter conversion calculation to generate the converted attribute parameters trs_devATTR[1]~trs_devATTR[K]. Then, the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] and the converted attribute parameters trs_devATTR[1]~trs_devATTR[K] are sorted again in order to generate the device enable sequence onDEV_SEQ and the device disable sequence offDEV_SEQ. STA1: Parameter query status Arrow direction AR9b: In the storage circuit 23, only the preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] and the converted attribute parameters trs_devATTR[1]~trs_devATTR[K] are stored, and the device enable sequence onDEV_SEQ and the device disable sequence offDEV_SEQ are not stored. Therefore, the light source setting interface 211 needs to reorder the existing preset attribute parameters dflt_devATTR[1]~dflt_devATTR[K] and the converted attribute parameters trs_devATTR[1]~trs_devATTR[K] in order to generate the device enable sequence onDEV_SEQ and the device disable sequence offDEV_SEQ. STA3: Parameter Sorting Arrow direction AR9c: Storage circuit 23 has stored the device enable sequence onDEV_SEQ and the device disable sequence offDEV_SEQ, and the user has started using the electronic device 20. STA5: Continuous Use Status Arrow direction AR9d: Storage circuit 23 previously stored the device enable sequence onDEV_SEQ and the device disable sequence offDEV_SEQ, and the user has not yet started using the electronic device 20. STA4: Standby mode
[0055] Please refer to Figures 5A and 5B, which are flowcharts of the progressive light emission process controlled by the light source setting interface for the dynamic light source devices lgtDEV[1]~lgtDEV[K]. First, the light source setting interface 211 initializes the counter cntOn=1 (step S501). Next, the light source setting interface 211 reads the device enable sequence onDEV_SEQ to determine which dynamic light source device onDEV[cntOn] in the device enable sequence onDEV_SEQ is performing progressive light emission control (step S503).
[0056] During the device activation period onDEV_DUR[cntOn], the light source setting interface 211 controls the dynamic light source device lgtDEV[Z] to perform a progressive light emission process (step S505). For the execution process of step S505, please refer to the description in Figures 8 to 11. In addition, during the device activation period onDEV_DUR[cntOn], the light source setting interface 211 also determines whether the dynamic light source device lgtDEV[Z'] corresponding to the (cntOn+1)th dynamic light source device onDEV[cntOn+1] that performs progressive light emission control should be activated (step S507).
[0057] If the judgment result of step S507 is negative, the light source setting interface 211 continues to execute step S505. This means that the light source setting interface 211 only needs to control the dynamic light source device lgtDEV[Z] to emit light gradually.
[0058] On the other hand, if the judgment result of step S507 is positive, the light source setting interface 211 further determines whether the progressive light emission process of the dynamic light source device lgtDEV[Z] corresponding to the dynamic light source device onDEV[cntOn] which performs progressive light emission control has ended (step S509).
[0059] If the judgment result of step S509 is positive, it means that when the progressive light emission process of another dynamic light source device lgtDEV[Z'] corresponding to the (cntOn+1)th dynamic light source device onDEV[cntOn+1] undergoing progressive light emission control is about to start, the progressive light emission process of the dynamic light source device lgtDEV[Z] corresponding to the cntOnth dynamic light source device onDEV[cntOn] undergoing progressive light emission control has ended. The timing relationship of this situation will be explained in Figure 6 later.
[0060] When the judgment result of step S509 is positive, the light source setting interface 211 will then determine whether all dynamic light source devices lgtDEV[1]~lgtDEV[K] have undergone the progressive light emission process based on the comparison of whether the counter cntON is equal to K (step S513). If the judgment result of step S513 is positive, the process ends. That is, after the progressive light emission state STA7 in Figure 4 ends, it enters the continuous use state STA5 according to the direction of the arrow AR7. If the judgment result of step S513 is negative, the light source setting interface 211 will repeat S503 after accumulating the counter cntON.
[0061] If the judgment result of step S509 is negative, it means that the progressive light emission process of the dynamic light source device lgtDEV[Z] has not yet ended. At the same time, the progressive light emission process of another dynamic light source device lgtDEV[Z'], which is corresponding to the (cntOn+1)th dynamic light source device onDEV[cntOn+1] that performs progressive light emission control, is ready to start. The timing relationship in this case can be seen in the explanation of Figure 7.
[0062] If the judgment result of step S509 is negative, the light source setting interface 211 first reads the device enable sequence onDEV_SEQ and obtains the dynamic light source device lgtDEV[Z'] corresponding to the (cntOn+1)th dynamic light source device onDEV[cntOn+1] that performs progressive light emission control (step S515).
[0063] Next, the light source setting interface 211 continues to control the dynamic light source device lgtDEV[Z] corresponding to the dynamic light source device onDEV[cntOn] that performs progressive light emission control during the remaining period of onDEV_DUR[cntOn] during the device activation period, as described in Figures 8-11 (step S517a). Simultaneously with the execution of step S517a, the light source setting interface 211 also executes step S517c. In step S517c, the light source setting interface 211 begins to control the dynamic light source device lgtDEV[Z'] to perform a progressive light emission process according to the description in Figures 8-11 during the device activation period onDEV_DUR[cntOn+1].
[0064] After steps S517a and S517c are executed synchronously, the light source setting interface 211 then determines whether onDEV_DUR[cntOn] during device activation has ended (step S519). If the determination result of step S519 is negative, the light source setting interface 211 repeats steps S517a and S517c. If the determination result of step S519 is positive, the light source setting interface 211 will determine whether all dynamic light source devices lgtDEV[1]~lgtDEV[K] have undergone the progressive light emission process based on the comparison of whether (cntON+1) is equal to K (step S521).
[0065] If the judgment result of step S521 is negative, the light source setting interface 211 repeats S505 after incrementing the counter cntON (step S523). If the judgment result of step S521 is positive, the light source setting interface 211 continues to control the dynamic light source device lgtDEV[Z'] to perform a progressive light emission process during the remaining period of onDEV_DUR[cntOn+1] during the device activation period (see Figures 8-11) (step S525).
[0066] The light source setting interface 211 will determine whether the device activation period onDEV_DUR[cntOn+1] corresponding to the dynamic light source device lgtDEV[Z'] has ended (step S527). If the determination result of step S527 is positive, the process ends. That is, after the progressive light emission state STA7 in Figure 4 ends, it enters the continuous use state STA5 according to the arrow direction AR7. If the determination result of step S527 is negative, the light source setting interface 211 will repeat step S525 until the determination result of step S527 is positive.
[0067] Next, Figures 6 and 7 will be used to illustrate the two types of temporal relationships mentioned in Figure 5. In Figures 6 and 7, the horizontal axis represents time. Among them, variables (I-1), I, and (I+1) represent the order in time. Therefore, (I-1) < I < (I+1). I is a positive integer, and I ≤ K.
[0068] On the other hand, Figures 6 and 7 use variables Z1, Z2, and Z3 to represent the numbers of a certain dynamic light source device among the dynamic light source devices lgtDEV[1] to lgtDEV[K]. That is, variable Z1 represents the dynamic light source device lgtDEV[Z1] corresponding to the (I-1)th progressively emitting dynamic light source device onDEV[I-1] during the (I-1)th device activation period onDEV_DUR[I-1]. Variable Z2 represents the dynamic light source device lgtDEV[Z2] corresponding to the Ith progressively emitting dynamic light source device onDEV[I] during the Ith device activation period onDEV_DUR[I]. Similarly, variable Z3 represents the dynamic light source device lgtDEV[Z3] corresponding to onDEV_DUR[I+1], which is the (I+1)th progressively emitting dynamic light source device, during the activation of the (I+1)th segment device. Therefore, variables Z1, Z2, and Z3 are all between 1 and K; and variables Z1, Z2, and Z3 are not equal to each other. Also note that the relative sizes of variables Z1, Z2, and Z3 are not limited.
[0069] Please refer to the schematic diagram showing that during the progressive light emission process, the light source setting interface controls the (I-1), I, and (I+1) activated dynamic light source devices onDEV[I-1], onDEV[I], and onDEV[I+1] in continuous mode according to the device activation sequence onDEV_SEQ. The following is explained from left to right according to the time sequence.
[0070] At time t1, the (I-1)th segment of device activation period onDEV_DUR[I-1] corresponding to the (I-1)th activated dynamic light source device onDEV[I-1]=lgtDEV[Z1] begins. At time t2, the (I-1)th segment of device activation period onDEV_DUR[I-1] corresponding to the (I-1)th activated dynamic light source device onDEV[I-1]=lgtDEV[Z1] ends; and the I-th segment of device activation period onDEV_DUR[I] corresponding to the I-th activated dynamic light source device onDEV[I]=lgtDEV[Z2] begins. At time t3, the first segment of device activation period, onDEV_DUR[I], corresponding to the I-th activated dynamic light source device onDEV[I]=lgtDEV[Z2], ends; and the (I+1)-th segment of device activation period, onDEV_DUR[I+1], corresponding to the (I+1)-th activated dynamic light source device onDEV[I+1]=lgtDEV[Z3], begins. At time t4, the (I+1)-th segment of device activation period, onDEV_DUR[I+1], corresponding to the (I+1)-th activated dynamic light source device onDEV[I+1]=lgtDEV[Z3], ends.
[0071] During the activation period of the (I-1)th segment, onDEV_DUR[I-1] is between time points t1 and t2; during the activation period of the I segment, onDEV_DUR[I] is between time points t2 and t3; during the activation period of the (I+1)th segment, onDEV_DUR[I+1] is between time points t3 and t4. Therefore, it can be seen that when the activation period of the (I-1)th segment ends, the activation period of the I segment begins; and when the activation period of the I segment ends, the activation period of the (I+1)th segment begins. In other words, during the activation of device segment (I-1), onDEV_DUR[I-1], during the activation of device segment I, and during the activation of device segment (I+1), onDEV_DUR[I+1] are continuous / sequential and do not overlap. This control method is referred to as continuous mode.
[0072] Table 4 summarizes the parameters shown in Figure 6 under continuous mode.
[0073] Table 4 parameter illustrate During device activation, onDEV_DUR[I-1] In the device activation sequence onDEV_SEQ, the progressive activation / deactivation period corresponding to the (I-1)th dynamic light source device onDEV[I-1]=lgtDEV[Z1] is lgtDEV_DUR[Z1]. During device activation, onDEV_DUR[I] In the device activation sequence onDEV_SEQ, the progressive activation / deactivation period corresponding to the I-th dynamic light source device onDEV[I]=lgtDEV[Z2] is lgtDEV_DUR[Z2]. During device activation, onDEV_DUR[I+1] In the device activation sequence onDEV_SEQ, the progressive activation / deactivation period corresponding to the (I+1)th dynamic light source device onDEV[I+1]=lgtDEV[Z3] is lgtDEV_DUR[Z3]. Time point t1 This corresponds to the start point stp_onDEV[I-1] during the device activation period. Time point t2 This corresponds to the end point etp_onDEV[I-1] of the device activation period onDEV_DUR[I-1], and also to the start point stp_onDEV[I] of the device activation period onDEV_DUR[I]. Time point t3 This corresponds to the end point etp_onDEV[I] of the device activation period onDEV_DUR[I], and also to the start point stp_onDEV[I+1] of the device activation period onDEV_DUR[I+1]. Time point t4 This is equivalent to the end point etp_onDEV[I+1] during the device enable period.
[0074] Please refer to Figure 7, which is a schematic diagram showing how, during the progressive light emission process, the light source setting interface controls the emission of the (I-1)th activated dynamic light source device onDEV[I-1], the I-th activated dynamic light source device onDEV[I], and the (I+1)th activated dynamic light source device onDEV[I+1] in a partially overlapping mode according to the device activation sequence onDEV_SEQ. The following description is from left to right according to the time sequence.
[0075] At time t1, the (I-1)th segment of device activation period onDEV_DUR[I-1], corresponding to the (I-1)th activated dynamic light source device onDEV[I-1]=lgtDEV[Z1], begins. At time t2, the I-th segment of device activation period onDEV_DUR[I], corresponding to the I-th activated dynamic light source device onDEV[I]=lgtDEV[Z2], begins. At time t3, the (I-1)th segment of device activation period onDEV_DUR[I-1], corresponding to the (I-1)th activated dynamic light source device onDEV[I-1]=lgtDEV[Z1], ends. At time t4, the (I+1)th segment of device activation period onDEV_DUR[I+1], corresponding to the (I+1)th activated dynamic light source device onDEV[I+1]=lgtDEV[Z3], begins. At time t5, the activation period of the I-th segment of the dynamic light source device, onDEV[I]=lgtDEV[Z2], ends. At time t6, the activation period of the (I+1)-th segment of the dynamic light source device, onDEV[I+1]=lgtDEV[Z3], ends.
[0076] During the activation period of segment (I-1), onDEV_DUR[I-1] is between time points t1 and t3; during the activation period of segment I, onDEV_DUR[I] is between time points t2 and t5; during the activation period of segment (I+1), onDEV_DUR[I+1] is between time points t4 and t6. It can be seen that the period between time points t2 and t3 corresponds to the overlapping period ovlpDUR[I-1] where the activation period of segment (I-1) has not yet ended, but the activation period of segment I, onDEV_DUR[I] has already begun. Furthermore, the period between time points t4 and t5 corresponds to the overlapping period ovlpDUR[I] where the activation period of segment I, onDEV_DUR[I], has not yet ended, but the activation period of segment (I+1), onDEV_DUR[I+1] has already begun.
[0077] In other words, during the device activation period of segment (I-1), onDEV_DUR[I-1] and during the device activation period of segment I, onDEV_DUR[I] partially overlap with each other during the overlap period, and during the device activation period of segment I, onDEV_DUR[I] and during the device activation period of segment (I+1), onDEV_DUR[I+1] partially overlap with each other during the overlap period. This paper refers to the control method in which the device activation periods of the preceding and following segments partially overlap with each other as the partially overlap mode. Table 5 summarizes the parameters in the partially overlap mode shown in section 7.
[0078] Table 5 parameter illustrate During device activation, onDEV_DUR[I-1] In the device activation sequence onDEV_SEQ, the progressive activation / deactivation period corresponding to the (I-1)th dynamic light source device onDEV[I-1]=lgtDEV[Z1] is lgtDEV_DUR[Z1]. During device activation, onDEV_DUR[I] In the device activation sequence onDEV_SEQ, the progressive activation / deactivation period corresponding to the I-th dynamic light source device onDEV[I]=lgtDEV[Z2] is lgtDEV_DUR[Z2]. During device activation, onDEV_DUR[I+1] In the device activation sequence onDEV_SEQ, the progressive activation / deactivation period corresponding to the (I+1)th dynamic light source device onDEV[I+1]=lgtDEV[Z3] is lgtDEV_DUR[Z3]. During the overlap period, ovlpDUR[I-1] The period during which device enable onDEV_DUR[I-1] and device enable onDEV_DUR[I] overlap. During the overlap period, ovlpDUR[I] The overlapping periods of device enable period onDEV_DUR[I] and device enable period onDEV_DUR[I+1]. Time point t1 This corresponds to the start point stp_onDEV[I-1] during the device activation period. Time point t2 This corresponds to the start point of stp_onDEV[I] during the device activation period. Time point t3 This corresponds to the end point etp_onDEV[I-1] during the device activation period. Time point t4 This corresponds to the start point stp_onDEV[I+1] during the device activation period. Time point t5 This corresponds to the end point of onDEV_DUR[I] during device activation, namely etp_onDEV[I]. Time point t6 This is equivalent to the end point etp_onDEV[I+1] during the device enable period.
[0079] As mentioned above, the dynamic light source device lgtDEV[Z] can be various peripheral devices (gaming keyboards, gaming mice, gaming desks, soundbars, computer hosts, etc.). Regardless of the main function or purpose of these peripheral devices, as long as they conform to the specifications of the HID LampArray interface 213, the light source setting interface 211 can control the lighting effects of these peripheral devices through the HID LampArray interface 213. In addition, the dynamic light source device lgtDEV[Z] can provide a wide variety of lighting effects depending on the light emission mode of the element, including color, brightness, and flashing frequency, which can be used in conjunction with the progressive light-on / off control process of this invention.
[0080] To facilitate the presentation of the lighting effects of the dynamic light source device lgtDEV[Z] under different element light emission modes cpMD_lgtDEV(Z, 1)~cpMD_lgtDEV(Z, cpMD_Num[Z]), it is assumed below that the dynamic light source device lgtDEV[Z] is a keyboard, and each key on the keyboard has a light emission function. Therefore, the keys on the keyboard are the light emission elements cp(Z, 1)~cp(Z, cpNum[Z]) contained in the keyboard. And, cpNum[Z] is equal to the number of keys on the keyboard.
[0081] Please refer to Figures 8A-8C, which are schematic diagrams showing that the light source setting interface provides the number of element light emission modes corresponding to the dynamic light source device lgtDEV[Z], cpMD_Num[Z]=3, based on the different brightness of the light emission elements cp(Z, 1)~cp(Z, cpNum[Z]) in the dynamic light source device lgtDEV[Z]. Assume that the light source setting interface 211 adopts three element light emission modes cpMD_lgtDEV(Z, 1)~cpMD_lgtDEV(Z, 3) corresponding to the dynamic light source device lgtDEV[Z]. In Figures 8A to 8C, the density of the dotted mesh represents the brightness of the light-emitting elements cp(Z, 1) to cp(Z, cpNum[Z]), which varies with the different light-emitting modes cpMD_lgtDEV(Z, 1) to cpMD_lgtDEV(Z, 3).
[0082] In Figure 8A, the dot matrix density of the keys on the keyboard is the lowest, indicating that the brightness of the light-emitting elements cp(Z, 1)~cp(Z, cpNum[Z]) in the element light-emitting mode cpMD_lgtDEV(Z, 1) is set to the darkest by the light source setting interface 211. In Figure 8B, the dot matrix density of the keys on the keyboard is medium, indicating that the brightness of the light-emitting elements cp(Z, 1)~cp(Z, cpNum[Z]) in the element light-emitting mode cpMD_lgtDEV(Z, 1) is set to medium by the light source setting interface 211. In Figure 8C, the dot matrix density of the keys on the keyboard is the highest, indicating that the brightness of the light-emitting elements cp(Z, 1)~cp(Z, cpNum[Z]) in the element light-emitting mode cpMD_lgtDEV(Z, 1) is set to the brightest by the light source setting interface 211.
[0083] In practical applications, cpMD_Num[Z] = 3 element light emission modes cpMD_lgtDEV(Z, 1)~cpMD_lgtDEV(Z, 3) can be used in conjunction with the device enable sequence onDEV_SEQ or the device disable sequence offDEV_SEQ.
[0084] When using the device enable sequence onDEV_SEQ with Figures 8A to 8C, it can be used with STP_Num[Z]=3 steps during the maintenance period gradSTP_DUR(Z, 1)~gradSTP_DUR(Z, 3). During the STP_ID[Z]=1 step maintenance period, gradSTP_DUR(Z, 1) sets the dynamic light source device lgtDEV[Z] to use the element emission mode cpMD_lgtDEV(Z, 1); during the STP_ID[Z]=2 step maintenance period, gradSTP_DUR(Z, 2) sets the dynamic light source device lgtDEV[Z] to use the element emission mode cpMD_lgtDEV(Z, 2); and during the STP_ID[Z]=3 step maintenance period, gradSTP_DUR(Z, 3) sets the dynamic light source device lgtDEV[Z] to use the element emission mode cpMD_lgtDEV(Z, 3).
[0085] On the other hand, when the diagrams 8A to 8C are used with the device deactivation sequence offDEV_SEQ, the steps gradSTP_DUR(Z, 1) to gradSTP_DUR(Z, 3) can be maintained during the STP_Num[Z]=3 step duration. During the STP_ID[Z]=1 step maintenance period, gradSTP_DUR(Z, 1) sets the dynamic light source device lgtDEV[Z] to use the element emission mode cpMD_lgtDEV(Z, 3); during the STP_ID[Z]=2 step maintenance period, gradSTP_DUR(Z, 2) sets the dynamic light source device lgtDEV[Z] to use the element emission mode cpMD_lgtDEV(Z, 2); and during the STP_ID[Z]=3 step maintenance period, gradSTP_DUR(Z, 3) sets the dynamic light source device lgtDEV[Z] to use the element emission mode cpMD_lgtDEV(Z, 1). Table 6 summarizes the light source setting interface. 211 How to control the dynamic light source device lgtDEV[Z] with the device enable sequence onDEV_SEQ and the device disable sequence offDEV_SEQ. Select the element light emission mode of Figures 8A to 8C: cpMD_lgtDEV(Z, 1) to cpMD_lgtDEV(Z, 3).
[0086] Table 6 Step maintenance The device enables the sequence onDEV_SEQ The device disables the sequence offDEV_SEQ. gradSTP_DUR(Z, 1) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 1) shown in Figure 8A. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 3) shown in Figure 8C. gradSTP_DUR(Z, 2) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 2) shown in Figure 8B. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 2) shown in Figure 8B. gradSTP_DUR(Z, 3) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 3) shown in Figure 8C. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 1) shown in Figure 8A.
[0087] Continuing the explanation in Figures 8A to 8C, it is assumed that the light source setting interface 211 can set the dynamic light source device lgtDEV[Z] to cpMD_Num[Z] element emission modes cpMD_lgtDEV(Z, 1) to cpMD_lgtDEV(Z, cpMD_Num[Z]). Furthermore, based on the consideration of simplifying control, it is further assumed that the number of steps STP_Num[Z] is equal to the number of element emission modes cpMD_Num[Z]. That is, STP_Num[Z] = cpMD_Num[Z]. Accordingly, the way the light source setting interface 211 controls the dynamic light source device lgtDEV[Z] during device activation via onDEV_DUR[I] is as shown in Figure 9.
[0088] Please refer to Figure 9, which is a schematic diagram showing how the light source setting interface controls the dynamic light source device lgtDEV[Z] to perform a progressive light emission process during the progressive activation / deactivation of lgtDEV[Z], using lgtDEV_DUR[Z] and STP_Num[Z] element light emission modes cpMD_lgtDEV(Z, 1)~cpMD_lgtDEV(Z, STP_Num[Z]). Figure 9 further illustrates the progressive light emission state STA7 in Figure 4.
[0089] As can be seen from the timeline in Figure 9, the progressive activation / deactivation period lgtDEV_DUR[Z] corresponding to the dynamic light source device lgtDEV[Z] includes: the step maintenance period of STP_Num[Z] segment gradSTP_DUR(Z, 1) ~ gradSTP_DUR(Z, STP_Num[Z]). For example, the period from time point t1 to t2 is the step maintenance period of the STP_ID[Z]=1 segment gradSTP_DUR(Z, 1); the period from time point t3 to t4 is the step maintenance period of the STP_ID[Z] segment gradSTP_DUR(Z, STP_ID[Z]); and the period from time point t5 to t6 is the step maintenance period of the STP_ID[Z]=STP_Num[Z] segment gradSTP_DUR(Z, STP_Num[Z]).
[0090] Both variables STP_ID[Z] and STP_Num[Z] are positive integers. STP_Num[Z] represents the number of step maintenance periods gradSTP_DUR(Z, 1) to gradSTP_DUR(Z, STP_Num[Z]) corresponding to the dynamic light source device lgtDEV[Z]. STP_ID[Z] represents one of the step maintenance periods gradSTP_DUR(Z, 1) to gradSTP_DUR(Z, STP_Num[Z]) in the STP_Num[Z] segment. Therefore, 1 ≤ STP_ID[Z] ≤ STP_Num[Z].
[0091] Referring to the descriptions of Figures 8A-8C, it can be seen that in Figure 9, during the STP_ID[Z]=1 step maintenance period, the light source setting interface 211 sets the dynamic light source device lgtDEV[Z] to the element emission mode cpMD_lgtDEV(Z, 1) of the cpMD_ID[Z]=1 type. That is, STP_ID[Z]=cpMD_ID[Z]=1.
[0092] In the STP_ID[Z] segment step maintenance period gradSTP_DUR(Z, STP_ID[Z]), the dynamic light source device lgtDEV[Z] is set to the element light emission mode cpMD_lgtDEV(Z, STP_ID[Z]) (where STP_ID[Z]=cpMD_ID[Z]). That is, STP_ID[Z]=cpMD_ID[Z].
[0093] During the step maintenance period of the first STP_ID[Z]=STP_Num[Z] segment, the light source setting interface 211 sets the dynamic light source device lgtDEV[Z] to the element light emission mode cpMD_lgtDEV(Z, STP_Num[Z]) of the first cpMD_ID[Z]=cpMD_Num[Z]. That is, STP_ID[Z]=cpMD_ID[Z]=STP_Num[Z]=cpMD_Num[Z].
[0094] For simplification, it can be assumed that the durations of the step maintenance periods gradSTP_DUR(Z, 1) to gradSTP_DUR(Z, STP_Num[Z]) corresponding to the dynamic light source device lgtDEV[Z] are all equal, and it is also assumed that the step maintenance periods gradSTP_DUR(Z, 1) to gradSTP_DUR(Z, STP_Num[Z]) are all equal to a preset step maintenance period dftSTP_DUR[Z] corresponding to the dynamic light source device lgtDEV[Z]. For example, it is assumed that the step maintenance period gradSTP_DUR(Z, STP_ID[Z]) = the preset step maintenance period dftSTP_DUR[Z] (where STP_ID[Z] = 1 to STP_Num[Z]). In practical applications, the length of the step maintenance period gradSTP_DUR(Z, STP_ID[Z]) can also be changed according to the variable STP_ID[Z]. This section will not go into detail about the changes in application.
[0095] Please also refer to Figures 6, 7, and 9. In Figures 6 and 7, because the (I-1), I, and (I+1) activated dynamic light source devices onDEV[I-1]=lgtDEV[Z1], onDEV[I]=lgtDEV[Z2], and onDEV[I+1]=lgtDEV[Z3], in Figure 9, the parameters related to the dynamic light source device lgtDEV[Z] can be replaced with the parameters related to the dynamic light source devices lgtDEV[Z1], lgtDEV[Z2], and lgtDEV[Z3], respectively.
[0096] For example, the progressive enable / disable period lgtDEV_DUR[Z1] corresponding to the dynamic light source device onDEV[I-1]=lgtDEV[Z1] includes: the step maintenance period of STP_Num[Z1] segment gradSTP_DUR(Z1, 1)~gradSTP_DUR(Z1, STP_Num[Z1]). The progressive enable / disable period lgtDEV_DUR[Z2] corresponding to the dynamic light source device onDEV[I]=lgtDEV[Z2] includes: the step maintenance period of STP_Num[Z2] segment gradSTP_DUR(Z2, 1)~gradSTP_DUR(Z2, STP_Num[Z2]). The progressive enable / disable period lgtDEV_DUR[Z3] corresponding to the dynamic light source device onDEV[I+1]=lgtDEV[Z3] includes: the STP_Num[Z3] segment step maintenance period gradSTP_DUR(Z3, 1)~gradSTP_DUR(Z1, STP_Num[Z3]).
[0097] As can be seen from the variables here, as the dynamic light source devices onDEV[I-1]=lgtDEV[Z1], onDEV[I]=lgtDEV[Z2], and onDEV[I+1]=lgtDEV[Z3] are different, the number of step maintenance periods STP_Num[Z1], STP_Num[Z2], and STP_Num[Z3] corresponding to each dynamic light source device onDEV[I-1]=lgtDEV[Z1], onDEV[I]=lgtDEV[Z2], and onDEV[I+1]=lgtDEV[Z3] may also be different. Furthermore, as the dynamic light source devices onDEV[I-1]=lgtDEV[Z1], onDEV[I]=lgtDEV[Z2], and onDEV[I+1]=lgtDEV[Z3] differ, the lengths of the step maintenance periods corresponding to each dynamic light source device onDEV[I-1]=lgtDEV[Z1], onDEV[I]=lgtDEV[Z2], and onDEV[I+1]=lgtDEV[Z3], gradSTP_DUR(Z1, STP_ID[Z1]), gradSTP_DUR(Z2, STP_ID[Z2]), and gradSTP_DUR(Z1, STP_ID[Z2]) may also differ.
[0098] As listed in Table 1, the number of light-emitting elements contained in the gaming mouse (lgtDEV[5]) 39 is cpNum[5]=4; the number of light-emitting elements contained in the gaming keyboard (lgtDEV[4]) 37 is cpNum[4]=100. Therefore, for the gaming mouse (lgtDEV[5]) 39, which has fewer light-emitting elements (cpNum[5]=4), the maximum number of step maintenance periods (STP_Num[5]) provided can only be STP_Num[5]=4. On the other hand, for the gaming keyboard (lgtDEV[4]) 37, which has more light-emitting elements (cpNum[4]=100), the number of step maintenance periods (STP_Num[4]) provided can be set to be greater than 4.
[0099] As mentioned above, the length of lgtDEV_DUR[Z] during the progressive enable / disable period, the number of step maintenance periods STP_Num[Z] included in lgtDEV_DUR[Z] during the progressive enable / disable period, and the length of the step maintenance period gradSTP_DUR(Z, STP_ID[Z]) can all be determined by referring to the preset attribute parameter dflt_devATTR[Z] and the converted attribute parameter trs_devATTR[Z] of lgtDEV[Z] for each dynamic light source device. The application variations and considerations in this section will not be detailed here.
[0100] Please refer to Figures 10A-10C, which are schematic diagrams showing that the light source setting interface provides three element light emission modes cpMD_lgtDEV(Z, 1) to cpMD_lgtDEV(Z, 3) corresponding to the dynamic light source device lgtDEV[Z], based on the different numbers of light emission elements cp(Z, 1) to cp(Z, cpNum[Z]) actually used for light emission in the dynamic light source device lgtDEV[Z]. In this disclosure, it is assumed that the light source setting interface 211 adopts three element light emission modes cpMD_lgtDEV(Z, 1) to cpMD_lgtDEV(Z, 3) corresponding to the dynamic light source device lgtDEV[Z]. In Figures 10A to 10C, the dotted mesh represents the light-emitting elements cp(Z, 1) to cp(Z, cpNum[Z]) set to the light-emitting state cp_onSTS by the light-emitting interface 211; the light-emitting elements cp(Z, 1) to cp(Z, cpNum[Z]) set to the off state cp_offSTS by the light-emitting interface 211 have no mesh.
[0101] In Figure 10A, about 1 / 3 of the buttons are marked with a dotted grid, representing that the light-emitting elements cp(Z, 1)~cp(Z, cpNum[Z] / 3) in the dynamic light source device lgtDEV[Z] are set to the light-emitting state cp_onSTS by the light source setting interface 211, and the remaining light-emitting elements cp(Z, cpNum[Z] / 3+1)~cp(Z, cpNum[Z]) are set to the off state cp_offSTS by the light source setting interface 211. In Figure 10B, approximately two-thirds of the buttons are marked with a dotted grid, representing that the light-emitting elements cp(Z, 1) to cp(Z, cpNum[Z]*2 / 3) in the dynamic light source device lgtDEV[Z] are set to the light-emitting state cp_onSTS by the light source setting interface 211, while the remaining light-emitting elements cp(Z, cpNum[Z]*2 / 3+1) to cp(Z, cpNum[Z]) are set to the off state cp_offSTS by the light source setting interface 211. In Figure 10C, all the buttons are marked with a uniform dotted grid, representing that all cpNum[Z] light-emitting elements cp(Z, 1) to cp(Z, cpNum[Z]) in the dynamic light source device lgtDEV[Z] are set to the light-emitting state cp_onSTS by the light source setting interface 211.
[0102] Similarly, the cpMD_Num[Z] shown in Figures 10A to 10C, which represents 3 element emission modes cpMD_lgtDEV(Z, 1) to cpMD_lgtDEV(Z, 3), can also be used with the device enable sequence onDEV_SEQ or the device disable sequence offDEV_SEQ. Table 7 summarizes the light source setting interface 211 How to control the dynamic light source device lgtDEV[Z] with the device enable sequence onDEV_SEQ and the device disable sequence offDEV_SEQ. Select the element emission modes cpMD_lgtDEV(Z, 1) to cpMD_lgtDEV(Z, 3) in Figures 10A to 10C.
[0103] Table 7 Step maintenance The device enables the sequence onDEV_SEQ The device disables the sequence offDEV_SEQ. gradSTP_DUR(Z, 1) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 1) shown in Figure 10A. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 3) shown in Figure 10C. gradSTP_DUR(Z, 2) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 2) shown in Figure 10B. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 2) shown in Figure 10B. gradSTP_DUR(Z, 3) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 3) shown in Figure 10C. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 1) shown in Figure 10A.
[0104] Please refer to Figures 11A to 11E, which are schematic diagrams showing how the light source setting interface provides the number of element light emission modes corresponding to the dynamic light source device lgtDEV[Z] by changing the brightness of the light emission elements cp(Z, 1) to cp(Z, cpNum[Z]) in the dynamic light source device lgtDEV[Z] and the actual number of light emission elements cp(Z, 1) to cp(Z, cpNum[Z]). The number of element light emission modes cpMD_Num[Z] = 3 is provided. In short, the control method shown in Figures 11A to 11E is equivalent to, in conjunction with, the method shown in Figures 8A to 8C, which changes the brightness of the light-emitting element according to the element's light-emitting mode cpMD_lgtDEV(Z, cpMD_ID[Z]); and the method shown in Figures 10A to 10C, which changes the number of light-emitting elements set to the light-emitting state cp_onSTS / off state cp_offSTS according to the different light-emitting modes cpMD_lgtDEV(Z, cpMD_ID[Z]).
[0105] When the dynamic light source device lgtDEV[Z] is set to the element light emission mode cpMD_lgtDEV(Z, 1) of Figure 11A by the light source setting interface 211, about 1 / 3 of the buttons on the left side are marked with a dotted mesh background with the lowest density; the remaining about 2 / 3 of the buttons do not have a mesh background. That is, the light emission elements cp(Z, 1)~cp(Z, cpNum[Z] / 3) are set to the light emission state cp_onSTS-1 with the lowest brightness by the light source setting interface 211, and the remaining light emission elements cp(Z, cpNum[Z] / 3+1)~cp(Z, cpNum[Z]) are set to the off state cp_offSTS by the light source setting interface 211.
[0106] When the dynamic light source device lgtDEV[Z] is set to the element light emission mode cpMD_lgtDEV(Z, 2) in Figure 11B by the light source setting interface 211, about 1 / 3 of the buttons on the left side are marked with a dotted mesh background of medium density, and about 1 / 3 of the buttons in the middle section are marked with a dotted mesh background of the lowest density; and about 1 / 3 of the buttons on the right side do not have a mesh background. That is, the light-emitting elements cp(Z, 1)~cp(Z, cpNum[Z] / 3) are set to a medium brightness light-emitting state cp_onSTS-2 by the light source setting interface 211; the light-emitting elements cp(Z, cpNum[Z] / 3+1)~cp(Z, cpNum[Z]*2 / 3) are set to the lowest brightness light-emitting state cp_onSTS-1; and the light-emitting elements cp(Z, cpNum[Z]*2 / 3+1)~cp(Z, cpNum[Z]) are set to an off state cp_offSTS by the light source setting interface 211.
[0107] When the dynamic light source device lgtDEV[Z] is set to the element light emission mode cpMD_lgtDEV(Z, 3) in Figure 11C by the light source setting interface 211, about 1 / 3 of the buttons on the left side are marked with the highest density dot mesh background; about 1 / 3 of the buttons in the middle section are marked with a medium density dot mesh background; and about 1 / 3 of the buttons on the right side are marked with the lowest density dot mesh background. That is, the light-emitting elements cp(Z, 1)~cp(Z, cpNum[Z] / 3) are set to the highest brightness light-emitting state cp_onSTS-3; the light-emitting elements cp(Z, cpNum[Z] / 3+1)~cp(Z, cpNum[Z]*2 / 3) are set to the medium brightness light-emitting state cp_onSTS-2 by the light source setting interface 211; and the light-emitting elements cp(Z, cpNum[Z]*2 / 3+1)~cp(Z, cpNum[Z]) are set to the lowest brightness light-emitting state cp_onSTS-1 by the light source setting interface 211.
[0108] When the dynamic light source device lgtDEV[Z] is set to the element light emission mode cpMD_lgtDEV(Z, 4) of Figure 11D by the light source setting interface 211, about 2 / 3 of the buttons on the left side are marked with the highest density dotted mesh background; and about 1 / 3 of the buttons on the right side are marked with a medium density dotted mesh background. That is, the light emission elements cp(Z, 1)~cp(Z, cpNum[Z]*2 / 3) are set to the highest brightness light emission state cp_onSTS-3 by the light source setting interface 211; and the light emission elements cp(Z, cpNum[Z]*2 / 3+1)~cp(Z, cpNum[Z]) are set to a medium brightness light emission state cp_onSTS-2 by the light source setting interface 211.
[0109] When the dynamic light source device lgtDEV[Z] is set to the element light emission mode cpMD_lgtDEV(Z, 4) in Figure 11E by the light source setting interface 211, all buttons are marked with the highest density dotted grid. That is, in the dynamic light source device lgtDEV[Z], all light emission elements cp(Z, 1)~cp(Z, cpNum[Z]) are set to the highest brightness light emission state cp_onSTS-3 by the light source setting interface 211.
[0110] As explained above, the number, type, and method of controlling the light-emitting elements cp(Z, 1) to cp(Z, STP_Num[Z]) to produce lighting effects are not limited in the device enable sequence onDEV_SEQ and device disable sequence offDEV_SEQ. Table 8 summarizes the light source setting interface 211 How to control the dynamic light source device lgtDEV[Z] in the device enable sequence onDEV_SEQ and device disable sequence offDEV_SEQ with the element light-emitting modes cpMD_lgtDEV(Z, 1) to cpMD_lgtDEV(Z, 5) in Figures 11A to 11E.
[0111] Table 8 Step maintenance Device enable sequence onDEV_SEQ Device deactivation sequence offDEV_SEQ gradSTP_DUR(Z, 1) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z], which adopts the element emission mode cpMD_lgtDEV(Z, 1) shown in Figure 11A. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z], which adopts the element emission mode cpMD_lgtDEV(Z, 5) in Figure 11E. gradSTP_DUR(Z, 2) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 2) shown in Figure 11B. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 4) of Figure 11D. gradSTP_DUR(Z, 3) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 3) shown in Figure 11C. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 3) shown in Figure 11C. gradSTP_DUR(Z, 4) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 4) of Figure 11D. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z] using the element emission mode cpMD_lgtDEV(Z, 2) shown in Figure 11B. gradSTP_DUR(Z, 5) The light source setting interface 211 controls the dynamic light source device lgtDEV[Z], which adopts the element emission mode cpMD_lgtDEV(Z, 5) in Figure 11E. The light source setting interface 211 controls the dynamic light source device lgtDEV[Z], which adopts the element emission mode cpMD_lgtDEV(Z, 1) shown in Figure 11A.
[0112] As can be seen from the foregoing description, when the electronic device 20 adopts the control method disclosed herein, the light source setting interface 211 can be used to control the dynamic light source devices lgtDEV[1]~lgtDEV[K] to produce a progressive lighting effect. If the user was originally using the electronic device 20 and is about to leave the seat, the light source setting interface 211 can control the dynamic light source devices lgtDEV[1]~lgtDEV[K] to turn off one by one in a progressive and staged manner, thereby creating a sense of silence as the user leaves the seat. If the user was not originally using the electronic device 20 and is about to sit down to start using the electronic device 20, the light source setting interface 211 can control the dynamic light source devices lgtDEV[1]~lgtDEV[K] to emit light one by one in a progressive and staged manner, thereby creating a sense of welcome as the user sits down.
[0113] According to the concept disclosed herein, the light source setting interface 211 can control the preset attribute parameters dflt_devATTR[Z] and the converted attribute parameters trs_devATTR[Z] of all dynamic light source devices lgtDEV[1]~lgtDEV[K]. Furthermore, the light source setting interface 211 can control all dynamic light source devices lgtDEV[1]~lgtDEV[K] through the HID LampArray interface 213. Therefore, in the process of controlling the dynamic light source devices lgtDEV[1]~lgtDEV[K] to emit light / extinguish in a gradual manner, the light source setting interface 211 can plan the overall control of the color and brightness of the dynamic light source devices lgtDEV[1]~lgtDEV[K] in a more consistent and holistic manner.
[0114] Please refer to Figure 12, which is a flowchart of the control of an electronic device with a dynamic light source disclosed herein. First, a lighting effect setting signal is generated in response to the fulfillment of either the enable trigger condition onTrig_COND or the disable trigger condition offTrig_COND (step S91).
[0115] Secondly, during the first device activation / deactivation period (gradual activation / deactivation period lgtDEV_DUR[1]), the first dynamic light source device lgtDEV[1] is controlled to generate a light effect using the light effect setting signal (step S93). Step S93 further includes the following steps: during the first step maintenance period gradSTP_DUR(1, 1) of the first device activation / deactivation period, the first dynamic light source device lgtDEV[1] is controlled to generate a first light effect using the light effect setting signal (step S931); and during the second step maintenance period gradSTP_DUR(1, 2) of the first device activation / deactivation period, the first dynamic light source device lgtDEV[1] is controlled to generate a second light effect using the light effect setting signal (step S933).
[0116] Next, during the second device activation / deactivation period (gradual activation / deactivation period lgtDEV_DUR[2]), the second dynamic light source device lgtDEV[2] is controlled to generate a light effect using the light effect setting signal (step S95). Step S95 further includes the following steps: during the first step maintenance period gradSTP_DUR(2, 1) of the second device activation / deactivation period, the second dynamic light source device lgtDEV[2] is controlled to generate a first second light effect using the light effect setting signal (step S951); and during the second step maintenance period gradSTP_DUR(2, 2) of the second device activation / deactivation period, the second dynamic light source device is controlled to generate a second second light effect using the light effect setting signal (step S953).
[0117] The control method for the dynamic light source device according to the present disclosure can be executed using software stored in a computer program 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. In practical applications, the number and arrangement of light-emitting elements included in the dynamic light source device lgtDEV[Z] are not limited.
[0118] In summary, although the present invention has been disclosed above by way of embodiments, it is not intended to limit the present 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 present invention. Therefore, the scope of protection of this invention shall be determined by the appended claims. [Simplified Explanation of the Diagram]
[0009] Figure 1 is a schematic diagram of a user's computer operating environment; Figure 2 is a schematic diagram of an electronic device according to the present disclosure; Figure 3 is a comparison diagram of the areas of five dynamic light source devices lgtDEV[1]~lgtDEV[5] assumed to be included in the electronic device; Figure 4 is a schematic diagram of the state transition of the light source setting interface; Figures 5A and 5B are flowcharts of the process of the light source setting interface controlling the dynamic light source devices lgtDEV[1]~lgtDEV[K] to perform progressive light emission; Figure 6 is a schematic diagram of the process of progressive light emission in which the light source setting interface controls the dynamic light source device onDEV[I-1], the dynamic light source device onDEV[I], and the dynamic light source device onDEV[I+1] in a continuous mode according to the order of the device activation sequence onDEV_SEQ. Figure 7 illustrates how, during the progressive light emission process, the light source setting interface controls the (I-1)th activated dynamic light source device onDEV[I-1], the I-th activated dynamic light source device onDEV[I], and the (I+1)th activated dynamic light source device onDEV[I+1] to emit light in a partially overlapping mode according to the device activation sequence onDEV_SEQ. Figures 8A-8C illustrate how the light source setting interface provides the number of element light emission modes corresponding to the dynamic light source device lgtDEV[Z], cpMD_Num[Z] = 3 element light emission modes, cpMD_lgtDEV(Z, 1) to cpMD_lgtDEV(Z, 3), based on the different brightness of the light emission elements cp(Z, 1) to cp(Z, cpNum[Z]) in the dynamic light source device lgtDEV[Z]. Figure 9 is a schematic diagram showing how the light source setting interface controls the dynamic light source device lgtDEV[Z] to perform a progressive light emission process during the progressive activation / deactivation of lgtDEV[Z], using lgtDEV_DUR[Z] and STP_Num[Z] element light emission modes cpMD_lgtDEV(Z, 1)~cpMD_lgtDEV(Z, STP_Num[Z]). Figures 10A~10C are schematic diagrams showing how the light source setting interface provides the number of element light emission modes corresponding to the dynamic light source device lgtDEV[Z], cpMD_Num[Z] = 3 element light emission modes cpMD_lgtDEV(Z, 1)~cpMD_lgtDEV(Z, 3), depending on the number of light emission elements cp(Z, 1)~cp(Z, cpNum[Z]) actually used for light emission in the dynamic light source device lgtDEV[Z].Figures 11A-11E are schematic diagrams illustrating how the light source setting interface provides the number of element light emission modes corresponding to the dynamic light source device lgtDEV[Z], cpMD_Num[Z] = 3 element light emission modes, cpMD_lgtDEV(Z, 1)~cpMD_lgtDEV(Z, 3), by changing the brightness of the light emission elements cp(Z, 1)~cp(Z, cpNum[Z]) in the dynamic light source device lgtDEV[Z]; and Figure 12 is a flowchart of the control of an electronic device with a dynamic light source device disclosed herein.
Claims
1. An electronic device comprising: a control circuit that executes a light source setting interface, wherein the light source setting interface generates a lighting effect setting signal in response to the fulfillment of one of an enable trigger condition and a disable trigger condition; a first dynamic light source device electrically connected to the control circuit that changes its lighting effect in response to the lighting effect setting signal, wherein during a first-step maintenance period in a first device enable / disable period, the first dynamic light source device generates a first lighting effect under the control of the lighting effect setting signal, and during a second-step maintenance period in the first device enable / disable period, the first dynamic light source device generates a second lighting effect under the control of the lighting effect setting signal; and a second dynamic light source device electrically connected to the control circuit that changes its lighting effect in response to the lighting effect setting signal, wherein during a second device enable / disable period... During a first-step maintenance period, the second dynamic light source device generates a first second light effect under the control of the light effect setting signal. During a second-step maintenance period during the second device activation / deactivation period, the second dynamic light source device generates a second second light effect under the control of the light effect setting signal. The first-step maintenance period during the first device activation / deactivation period is earlier than the second-step maintenance period during the first device activation / deactivation period, and the first-step maintenance period during the second device activation / deactivation period is earlier than the second-step maintenance period during the second device activation / deactivation period.
2. The electronic device as claimed in claim 1, wherein when the enable trigger condition is met, the brightness of the first first light effect is lower than the brightness of the second first light effect; and when the disable trigger condition is met, the brightness of the first first light effect is higher than the brightness of the second first light effect.
3. The electronic device as claimed in claim 1, wherein when a user logs into an operating system of the electronic device, the light source setting interface determines that the enable trigger condition is met; or when the user logs out of the operating system of the electronic device, the light source setting interface determines that the disable trigger condition is met.
4. The electronic device as claimed in claim 1, further comprising: a sensor electrically connected to the control circuit, which senses a relative distance between a user and the electronic device.
5. The electronic device as described in claim 4, wherein when the electronic device is in a continuous use state and the relative distance is greater than a preset distance threshold, the light source setting interface determines that the deactivation trigger condition is met; or when the electronic device is in a standby state and the relative distance is less than the preset distance threshold, the light source setting interface determines that the activation trigger condition is met.
6. The electronic device as claimed in claim 1, wherein when the enable trigger condition is met, the brightness of the first second lighting effect is lower than the brightness of the second second lighting effect; and when the disable trigger condition is met, the brightness of the first second lighting effect is higher than the brightness of the second second lighting effect.
7. The electronic device as claimed in claim 1, wherein the first dynamic light source device includes a plurality of first light-emitting elements, and the second dynamic light source device includes a plurality of second light-emitting elements, wherein the number of the first light-emitting elements is not equal to the number of the second light-emitting elements.
8. The electronic device as claimed in claim 1, wherein the control circuit executes a light array interface, wherein during the first device activation / deactivation period and before the second device activation / deactivation period, after the light source setting interface transmits a first preset attribute parameter request command to the first dynamic light source device through the light array interface, the first dynamic light source device returns at least one first preset attribute parameter to the light source setting interface through the light array interface; after the light source setting interface transmits a second preset attribute parameter request command to the second dynamic light source device through the light array interface, the second dynamic light source device returns at least one second preset attribute parameter to the light source setting interface through the light array interface; and the light source setting interface determines the order of the first dynamic light source device and the second dynamic light source device in a preset sequence based on the at least one first preset attribute parameter and the at least one second preset attribute parameter.
9. The electronic device as claimed in claim 8, wherein when the enable trigger condition is met and the at least one first preset attribute parameter is less than the at least one second preset attribute parameter, the first device enable / disable period is earlier than the second device enable / disable period; when the enable trigger condition is met and the at least one first preset attribute parameter is greater than the at least one second preset attribute parameter, the first device enable / disable period is later than the second device enable / disable period; when the disable trigger condition is met and the at least one first preset attribute parameter is less than the at least one second preset attribute parameter, the first device enable / disable period is later than the second device enable / disable period; and when the disable trigger condition is met and the at least one first preset attribute parameter is greater than the at least one second preset attribute parameter, the first device enable / disable period is earlier than the second device enable / disable period.
10. The electronic device as claimed in claim 8, wherein the light source setting interface performs a parameter conversion calculation on the at least one first preset attribute parameter to generate at least one first converted attribute parameter; the light source setting interface performs the parameter conversion calculation on the at least one second preset attribute parameter to generate at least one second converted attribute parameter; and the light source setting interface determines the order of the first dynamic light source device and the second dynamic light source device in the preset sequence based on the at least one first converted attribute parameter and the at least one second converted attribute parameter.
11. A control method applied to an electronic device including a first dynamic light source device and a second dynamic light source device, the control method comprising the steps of: generating a lighting effect setting signal in response to the fulfillment of one of an enable trigger condition and a disable trigger condition; controlling the first dynamic light source device to generate a first lighting effect using the lighting effect setting signal during a first step maintenance period of a first device enable / disable period; controlling the first dynamic light source device to generate a second lighting effect using the lighting effect setting signal during a second step maintenance period of the first device enable / disable period; controlling the second dynamic light source device to generate a first second lighting effect using the lighting effect setting signal during a first step maintenance period of a second device enable / disable period; and controlling the second dynamic light source device to generate a second second lighting effect using the lighting effect setting signal during a second step maintenance period of the second device enable / disable period. The first step maintenance period during the first device activation / deactivation period is earlier than the second step maintenance period during the first device activation / deactivation period, and the first step maintenance period during the second device activation / deactivation period is earlier than the second step maintenance period during the second device activation / deactivation period.
12. A computer program product having a software program stored thereon, the software program, when executed, performing a control method on an electronic device including a first dynamic light source device and a second dynamic light source device, the control method comprising the following steps: generating a lighting effect setting signal in response to the fulfillment of one of an enable trigger condition and a disable trigger condition; controlling the first dynamic light source device to generate a first lighting effect using the lighting effect setting signal during a first-step maintenance period of a first device enable / disable period; and controlling the first dynamic light source device to generate a second lighting effect using the lighting effect setting signal during a second-step maintenance period of the first device enable / disable period; controlling the second dynamic light source device to generate a first second lighting effect using the lighting effect setting signal during a first-step maintenance period of a second device enable / disable period; and controlling the second dynamic light source device to generate a second second lighting effect using the lighting effect setting signal during a second-step maintenance period of the second device enable / disable period. The first step maintenance period during the first device activation / deactivation period is earlier than the second step maintenance period during the first device activation / deactivation period, and the first step maintenance period during the second device activation / deactivation period is earlier than the second step maintenance period during the second device activation / deactivation period.