Control method and electronic equipment

By acquiring multi-band biometric data and dynamically adjusting the luminescence parameters of electronic devices, the problem of inaccurate user status recognition in existing technologies is solved, enabling personalized anxiety and fatigue relief and improving user experience.

CN122064236APending Publication Date: 2026-05-19LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
LENOVO (BEIJING) LTD
Filing Date
2026-01-31
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing technologies, electronic devices struggle to accurately identify user states and make personalized adjustments, making it difficult to effectively improve anxiety and fatigue issues.

Method used

By acquiring multi-band biometric data, the user's physiological indicators are determined, and the luminous parameters of electronic devices, including the luminous effects of the keyboard and display screen, are dynamically adjusted based on these indicators, combined with ambient light intensity and time period weighting coefficients for precise control.

Benefits of technology

It enables real-time and precise adjustment of the user's psychological state, improving user comfort and work efficiency, reducing ambient light interference, and providing a personalized user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122064236A_ABST
    Figure CN122064236A_ABST
Patent Text Reader

Abstract

The invention provides a control method and electronic equipment, and the method comprises the steps: obtaining biological characteristic data of a user, the biological characteristic data being biological data of the same type, and the biological characteristic data comprising data of at least two different wavebands; determining at least two physiological indexes of the user based on data of at least two different wavebands in the biological characteristic data; determining a light emitting parameter of at least one component of the electronic equipment based on the at least two physiological indexes; and controlling at least one component of the electronic equipment to emit light based on the light-emitting parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic control technology, and in particular to a control method and an electronic device. Background Technology

[0002] With the widespread use of electronic devices in daily life and work, users often face problems such as anxiety, fatigue, and difficulty concentrating while using these devices. Conventional technologies typically use methods such as cameras to detect the user's state and adjust the electronic device's parameters accordingly. However, this method is affected by factors such as ambient light and user posture, and the detection results are often inaccurate. Therefore, there is an urgent need for a method that can more accurately identify the user's state and make corresponding controls based on that state. Summary of the Invention

[0003] This application provides a control method applied to an electronic device. The method includes: acquiring a user's biometric data, wherein the biometric data is of the same type and includes data from at least two different wavelengths; determining at least two physiological indicators of the user based on the data from the at least two different wavelengths in the biometric data; determining the luminescence parameters of at least one component of the electronic device based on the at least two physiological indicators; and controlling the luminescence of at least one component of the electronic device based on the luminescence parameters.

[0004] In some embodiments, determining the luminescence parameters of at least one component of an electronic device based on at least two physiological indicators includes: determining a set of weighting coefficients corresponding to the current time based on the current time and a first mapping relationship; wherein the set of weighting coefficients includes at least two weighting coefficients that correspond one-to-one with at least two physiological indicators; the weighting coefficients characterize the degree of influence of the corresponding physiological indicators on the luminescence effect of at least one component at the current time; the first mapping relationship defines a one-to-one mapping relationship between multiple time periods and multiple sets of weighting coefficients; and determining the luminescence parameters of at least one component of the electronic device based on at least two physiological indicators and at least two weighting coefficients.

[0005] In some embodiments, at least one component includes a keyboard, and the light emission parameters include red channel values, green channel values, and blue channel values; determining the light emission parameters of at least one component of an electronic device based on at least two physiological indicators and at least two weighting coefficients includes: calculating red channel values, green channel values, and blue channel values ​​based on at least two physiological indicators and at least two weighting coefficients.

[0006] In some embodiments, controlling at least one component of an electronic device to emit light based on light emission parameters includes: acquiring the ambient light intensity at the current moment; determining the light emission intensity of a keyboard adapted to the ambient light intensity based on the ambient light intensity; and controlling the keyboard to emit light based on the light emission parameters and the light emission intensity.

[0007] In some embodiments, at least one component includes a display screen. Determining the luminous emission parameters of at least one component of the electronic device based on at least two physiological indicators includes: if the color adjustment function of the display screen is enabled, determining a target indicator based on at least two physiological indicators and at least two weighting coefficients; the target indicator is used to indicate the user's anxiety and fatigue level; and determining the luminous emission parameters of the display screen based on the target indicator.

[0008] In some embodiments, determining the light emission parameters of the display screen based on a target indicator includes: if the target indicator is greater than a first value, determining the blue light adjustment parameters of the display screen based on at least two physiological indicators; if the target indicator is greater than a second value and less than or equal to the first value, determining the light emission parameters of the display screen based on at least two physiological indicators; and if the target indicator is less than or equal to the second value, determining the light emission parameters of the display screen as preset parameters.

[0009] In some embodiments, if the target indicator is greater than a second value and less than or equal to a first value, the luminous emission parameters of the display screen are determined based on at least two physiological indicators, including: if the target indicator is greater than a second value and less than or equal to a first value, the luminous emission parameters of the display screen are determined to be luminous emission parameters corresponding to the target physiological indicator; wherein, the target physiological indicator is the physiological indicator with the largest value among at least two physiological indicators; the luminous emission parameters include at least one of color temperature and blue light adjustment parameters.

[0010] In some embodiments, before determining the light emission parameters of the display screen as the light emission parameters corresponding to the target physiological indicator, the method further includes: determining the target physiological indicator among at least two physiological indicators; and determining the light emission parameters corresponding to the target physiological indicator based on a second mapping relationship; wherein the second mapping relationship defines the mapping relationship between the physiological indicator and the light emission parameters.

[0011] This application provides an electronic device, including: at least one component; a processor configured to acquire a user's biometric data, wherein the biometric data is of the same type and includes data in at least two different wavelength bands; determine at least two physiological indicators of the user based on the data in the at least two different wavelength bands; determine the luminescence parameters of at least one component based on the at least two physiological indicators; and control the at least one component to emit light based on the luminescence parameters.

[0012] In some embodiments, at least one component includes at least one of a keyboard and a display screen; the keyboard includes a keyboard controller and LED beads; controlling at least one component to emit light based on light emission parameters includes: controlling the keyboard controller to control the LED beads deployed on the keyboard to emit light based on the light emission parameters; and / or, controlling the display screen to display based on the light emission parameters. Attached Figure Description

[0013] Figure 1 This is one of the flowcharts illustrating a control method provided in an embodiment of this application; Figure 2 This is a second schematic flowchart of a control method provided in an embodiment of this application; Figure 3 This is a third schematic flowchart of a control method provided in an embodiment of this application; Figure 4 This is a fourth schematic flowchart of a control method provided in an embodiment of this application; Figure 5 This is one of the structural schematic diagrams of an electronic device provided in the embodiments of this application; Figure 6 This is a second schematic diagram of the structure of an electronic device provided in the embodiments of this application; Figure 7 This is the fifth flowchart of a control method provided in the embodiments of this application. Detailed Implementation

[0014] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0015] The above are merely embodiments of this application and are not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

[0016] For ease of understanding, the terms used in the embodiments of this application are explained.

[0017] 1) Biometric data: refers to data used to reflect the user's physiological state, such as electroencephalogram (EEG) data, which includes data from multiple different bands (such as α, β, and γ bands).

[0018] 2) Physiological indicators: Quantitative values ​​calculated based on biometric data to characterize a user's current psychological or physiological state. Common physiological indicators include, but are not limited to, anxiety level, excitement level, concentration level, and fatigue level. These indicators reflect a user's emotional or attentional level at a given moment.

[0019] 3) Light emission parameters: These are parameters used to control the light-emitting diodes (LEDs) in electronic devices, such as those in keyboards, and the display characteristics of screens. They typically include red channel values ​​(R), green channel values ​​(G), blue channel values ​​(B), brightness values ​​(L), and color temperature and blue light adjustment parameters. By adjusting these parameters, the color and intensity of the light emitted by the components can be changed, thereby affecting the user's psychological state.

[0020] 4) Time-weighted coefficient: This coefficient is set based on the changing patterns of users' physiological characteristics at different times of the day to adjust the degree of influence of each physiological indicator on the luminescence parameter during that time period. For example, fatigue may have a higher weight at night, while focus and excitement may be given higher weights during peak work hours in the daytime.

[0021] 5) Sensor-Logic-Action Algorithm (SLA): An end-to-end processing flow from perception (Sensor) to judgment (Logic) to action (Action). In this application, the SLA algorithm is used to receive physiological feature data from sensors, analyze the user's physiological state, and dynamically generate emission parameters accordingly, ultimately controlling the emission behavior of electronic devices to achieve intelligent regulation of the user's psychological state.

[0022] 6) Ambient light brightness: refers to the brightness level of natural or artificial light in the environment in which the electronic device is located.

[0023] 7) Luminous brightness: The brightness value that the light-emitting components of the device should achieve, calculated based on the ambient light brightness, to ensure that users can obtain a comfortable visual experience under different lighting conditions.

[0024] 8) Blue light adjustment parameters: These parameters control the proportion of blue light emitted from the screen. They are typically used to reduce blue light levels to alleviate user anxiety and improve sleep quality. The blue light adjustment parameters can dynamically change based on the user's current physiological state.

[0025] 9) Target Indicator: A numerical value representing the overall psychological state of a user, obtained by combining multiple physiological indicators in a specific scenario. For example, the target indicator can be used to measure a user's anxiety and fatigue levels, and as a basis for adjusting the display screen's backlight parameters.

[0026] Related technologies typically rely on cameras or simple sensors to detect user states, but this method is susceptible to environmental interference and struggles to accurately capture complex psychological states. Furthermore, existing interaction methods are difficult to personalize to meet users' actual needs, failing to effectively alleviate issues such as anxiety and fatigue.

[0027] To address the aforementioned issues, this application provides a method for controlling the illumination of electronic devices based on multi-band biometric data. This method acquires the user's biometric data, extracts multiple physiological indicators, and dynamically adjusts the illumination parameters based on these indicators, thereby achieving intelligent illumination control of components such as keyboards and displays. In this way, without affecting the user experience, it can improve the user's psychological state in real time and accurately, enhancing their work efficiency and comfort.

[0028] The following is combined with Figure 1 This application introduces a control method provided by an embodiment. Figure 1 The control method shown can be executed by an electronic device, such as a terminal device like a mobile phone, laptop, or desktop computer. The electronic device can periodically execute the control at a preset frequency. Figure 1 The control method shown. The preset frequency could be, for example, 1 hour per cycle. Alternatively, the electronic device could perform actions such as... Figure 1 The control method shown allows the preset time to be at least one of the following times: 10:00 AM, 2:00 PM, and 5:00 PM. Figure 1 As shown, the method includes: S101, Obtain the user's biometric data.

[0029] In this embodiment, the biometric data is of the same type. For example, the biometric data may be one of the following: electroencephalogram (EEG) data, facial feature data, iris feature data, electrocardiogram (ECG) feature data, pulse wave feature data, or voiceprint feature data.

[0030] In this embodiment, the biometric data includes data from at least two different frequency bands. A frequency band indicates the frequency range of the biometric data. That is, the biometric data is not data from a single frequency band, but rather includes data from at least two different frequency ranges, and these two or more different frequency bands belong to the same type of biometric, providing a more comprehensive characterization of the biometric's attributes. For example, if the biometric data is electroencephalogram (EEG) data, the EEG data includes at least two different frequency bands: alpha and beta. In some embodiments, the EEG data may also include frequency bands such as gamma and theta. Similarly, if the biometric data is electrocardiogram (ECG) data, the ECG data may include data from low-frequency bands (0.05-1Hz), mid-frequency bands (1-25Hz), and high-frequency bands (25-100Hz).

[0031] In some embodiments, the electronic device acquires the user's biometric data from a wearable device. This wearable device can be, for example, headphones, a smartwatch, a smart bracelet, smart glasses, a smart helmet, a smart headband, etc. The wearable device has a built-in sensor for collecting biometric data, which it uses to collect the user's biometric data and synchronize it to the electronic device. Taking brainwave data as an example, headphones have a built-in EEG sensor. When the headphones detect that the user is wearing the device, they collect the wearer's brainwave data through the EEG sensor and transmit the collected brainwave data to the electronic device. It should be understood that EEG sensors can be deployed not only in headphones but also in wearable devices worn on the user's earlobes and / or the sides of their head, such as in smart helmets or smart headbands.

[0032] In other embodiments, the electronic device has a built-in biometric acquisition module, through which it acquires the user's biometric data. Taking iris data as an example, the electronic device has a built-in iris acquisition module, through which it acquires the user's iris data.

[0033] After obtaining the user's biometric data, the electronic device can determine the user's physiological indicators based on the biometric data. For example, the electronic device can then execute S102.

[0034] S102, determine at least two physiological indicators of the user based on data from at least two different bands in the biometric data.

[0035] In this embodiment of the application, the electronic device can determine at least two physiological indicators of the user based on data from at least two different wavelengths included in the biometric data. These at least two physiological indicators may be, for example, at least two of the following: excitement level, anxiety level, concentration level, and fatigue level. Alternatively, these at least two physiological indicators may be, for example, at least two of the following: heart rate, blood oxygen saturation, stress level, relaxation level, sleep depth, and brain activity.

[0036] In some embodiments, the biometric data is electroencephalogram (EEG) data, and at least two physiological indicators are excitability, anxiety, concentration, and fatigue. For example, an electronic device can determine a user's excitability, anxiety, concentration, and fatigue based on data from the alpha, beta, gamma, and theta bands of the EEG data. For instance, the electronic device can calculate a user's anxiety level based on formula (1).

[0037] , formula (1).

[0038] Where A represents anxiety level; This represents the variance of the signal in the β band of the 20Hz–30Hz frequency band. This indicates the total power of the brainwave signal; This indicates the power of the alpha band in the right hemisphere of the brain; This represents the power of the alpha band in the left hemisphere of the brain. For example, electronic devices can calculate a user's level of arousal based on formula (2).

[0039] , formula (2).

[0040] Where E represents excitation level; This represents the power of the β band in the 20Hz–30Hz frequency range; This indicates the total power of the brainwave signal; This indicates the power in the α band of 8Hz-12Hz; This is the baseline power. For example, electronic devices can calculate a user's attention level based on formula (3).

[0041] , formula (3).

[0042] Where F represents focus level; This indicates the power in the α band relative to the baseline power. The change in; H represents the complexity of the β band; H represents the complexity of the EEG signal. For example, electronic devices can calculate the user's fatigue level based on formula (4).

[0043] , formula (4).

[0044] Where T is the fatigue level; This represents the power of the theta band within the 7Hz–7Hz frequency band; This represents the asynchronous power of the α band.

[0045] After obtaining at least two physiological indicators from the user, the electronic device can determine the light emission parameters of the components in the electronic device based on these at least two physiological indicators. For example, the electronic device can execute S103.

[0046] S103, Based on at least two physiological indicators, determine the luminescence parameters of at least one component of an electronic device.

[0047] In this embodiment, the electronic device includes at least one component, which may be, for example, a light-emitting component. In some embodiments, the light-emitting component may be at least one of a display screen and a keyboard. In this embodiment, the keyboard integrates an LED light-emitting assembly, and the light-emitting component may specifically be at least one of the LEDs included in the keyboard, which can be lit independently or in groups. In other embodiments, the light-emitting component may also be various independently configured indicator lights or function lights, such as power indicator lights, light strips, ambient lights, backlights, status indicator lights, etc.

[0048] In this embodiment, the electronic device determines the light-emitting parameters of at least one light-emitting component based on at least two physiological indicators of the user as determined above. For example, if at least one component is a keyboard, and the physiological indicators are excitement level, anxiety level, concentration level, and fatigue level, the electronic device determines the light-emitting parameters of the keyboard based on these indicators. Similarly, if at least one component is a display screen, and the physiological indicators are anxiety level and fatigue level, the electronic device determines the light-emitting parameters of the display screen based on these indicators. The light-emitting parameters determined by the electronic device are matched with the user's physiological indicators to adjust the light-emitting effect of the component, thereby improving user comfort. The specific methods for determining the light-emitting parameters will be described below with reference to specific embodiments, and will not be elaborated here.

[0049] After determining the light emission parameters, the electronic device can control the component to emit light based on the light emission parameters. For example, the electronic device can execute S104.

[0050] S104, based on the light emission parameters, control at least one component of the electronic device to emit light.

[0051] In this embodiment, the electronic device controls at least one component to emit light based on determined light emission parameters. Taking a keyboard as an example, after determining the keyboard's light emission parameters, the electronic device controls the keyboard to emit light based on these parameters. Specifically, the keyboard includes a keyboard controller and LED beads deployed in the keyboard. The processor of the electronic device controls the keyboard controller to control the LED beads to emit light according to the light emission parameters. For example, the processor of the electronic device synchronizes the light emission parameters to the keyboard controller, and in response, the keyboard controller controls the LED beads to emit light based on the acquired light emission parameters. Taking a display screen as an example, after determining the display screen's light emission parameters, the electronic device controls the display screen to emit light based on these parameters. Specifically, the processor of the electronic device synchronizes the light emission parameters to the display screen's driver chip through a preset interface, and in response, the display screen's driver chip drives the display screen's backlight module to emit light according to the light emission parameters.

[0052] As can be seen, the control method provided in this application can determine at least two physiological indicators of a user based on physiological characteristic data of the same type, including at least two bands, thus more comprehensively reflecting the user's physiological state and improving the accuracy of perception of the user's physiological state. Simultaneously, this application can also personalize the luminous effect of components according to the user's physiological characteristic data, thereby enhancing user comfort.

[0053] In some embodiments, since the user's physiological indicators are variable, this application introduces weighting coefficients. The luminescence parameters of at least one luminescent component are determined using these weighting coefficients and the physiological indicators. For example,... Figure 2 As shown, S103 may include S201-S202.

[0054] S201, based on the current time and the first mapping relationship, determine a set of weight coefficients corresponding to the current time.

[0055] The first mapping relationship defines a one-to-one mapping between multiple time periods and multiple sets of weight coefficients. A set of weight coefficients includes at least two weight coefficients that correspond one-to-one with at least two physiological indicators. For example, the first mapping relationship is shown in Table 1.

[0056] Table 1

[0057] Table 1 defines the one-to-one mapping relationship between 12 time periods and 12 sets of weighted coefficients. Each set of weighted coefficients includes four coefficients corresponding to excitation level, anxiety level, concentration level, and fatigue level. The weighted coefficients corresponding to physiological indicators are used to indicate the degree of influence of that physiological indicator on the luminescence effect of at least one component at the current moment. The set of weighted coefficients corresponding to the 00:00-02:00 time period is (0.2, 0.1, 0.1, 0.8), where 0.2 indicates the degree of influence of anxiety level on the luminescence effect, 0.1 indicates the degree of influence of excitation level on the luminescence effect, 0.1 indicates the degree of influence of concentration level on the luminescence effect, and 0.8 indicates the degree of influence of fatigue level on the luminescence effect. It can be seen that the higher the weighted coefficient, the greater the degree of influence of the corresponding physiological indicator on the luminescence effect.

[0058] For example, the period from 00:00 to 02:00 is normally the deep sleep stage, during which melatonin secretion peaks. Users are most fatigued during this period, so it is necessary to adjust the light emission parameters based on fatigue levels to promote sleep. For example, suppressing blue light from the display screen.

[0059] The period from 2:00 to 4:00 is the REM sleep stage, during which dreams are active. During this period, it is necessary to maintain low arousal and focus to avoid interrupting the sleep cycle. Therefore, anxiety and fatigue have a higher weighting coefficient, while arousal and focus have a lower weighting coefficient.

[0060] Between 4:00 and 6:00 AM, users' body temperature is at its lowest, and they are in a state of wakefulness and preparation. The weighting coefficient for anxiety increases accordingly, and anxiety and fatigue play a dominant role in determining luminescence parameters. During this time period, fatigue remains a core influencing indicator, while the weighting of anxiety also increases, reflecting the physiological state of early morning users who are prone to morning anxiety and residual fatigue.

[0061] Between 6:00 and 8:00 AM, users experience peak cortisol secretion, leading to an increase in the weighting of excitability and focus. These two factors play a dominant role in determining luminescence parameters, promoting user alertness. During this period, excitability has the highest weight, followed by focus, aligning with the physiological needs of users in the morning to wake up and begin their daytime work / study. Fatigue weight is significantly reduced, reflecting the state of fatigue relief after waking up.

[0062] Between 8:00 and 10:00 AM, users are in their most productive work period, with focus having the highest weighting. Focus plays a dominant role in determining the emission parameters during this time. The significantly highest focus weight during this period aligns with the core need for users to enter a highly efficient work / study state in the morning, requiring intense concentration. A moderate weighting of excitement ensures alertness, while low weightings for anxiety and fatigue reflect the energetic and emotionally stable physiological state of this time. This prioritizes enhancing focus during emission control, assisting users in efficiently completing focus-intensive tasks.

[0063] Between 10:00 and 12:00, as work continues, users are in a cognitive maintenance phase. During this time, focus has the highest weighting, followed by excitement. Moderate excitement can assist focus. The adjustment of the glow effect prioritizes improving focus and excitement.

[0064] During the period from 12:00 to 14:00, post-lunch blood glucose fluctuations were observed, and anxiety and focus played a dominant role in determining the luminescence parameters. The regulation of luminescence effects prioritized alleviating anxiety while simultaneously improving focus.

[0065] Between 2:00 PM and 4:00 PM, users are in a period of afternoon fatigue, with higher weightings for fatigue and anxiety. Fatigue and anxiety play a dominant role in determining the light emission parameters. The light emission effect will prioritize fatigue relief and anxiety reduction while maintaining focus, balancing user comfort and task progress during the afternoon.

[0066] Between 16:00 and 18:00, users are in their peak work period and need to increase their excitement and focus. The corresponding excitement and focus have relatively large weighting coefficients. By synergizing excitement and focus, task completion efficiency can be improved.

[0067] Between 6:00 PM and 8:00 PM, users are in a relaxed state, with higher weightings for anxiety and excitement. By reducing the need for focus and moderately increasing excitement, social interaction is promoted. The lighting effect is adjusted to prioritize alleviating anxiety while simultaneously increasing excitement.

[0068] Between 8:00 PM and 10:00 PM, users are in their nighttime work / entertainment phase, and their anxiety levels continuously increase, playing a dominant role in determining the emission parameters. Light effect regulation prioritizes anxiety relief while also considering the balance between excitement and focus, addressing the dual needs of evening leisure and light task completion. For example, blue light can be controlled to avoid interfering with melatonin production.

[0069] Between 10 PM and midnight, anxiety and fatigue levels carry significant weight, playing a dominant role in determining the emission parameters. Emission control prioritizes alleviating anxiety and fatigue; for example, extremely low blue light and a soft emission effect can be set to mitigate these factors.

[0070] This application embodiment sets weighting coefficients based on the physiological characteristic changes of users at different times. The influence of each physiological indicator on the luminescence parameter varies at different times, thereby achieving a more refined and scenario-based control strategy that better matches the physiological changes of users at different times and thus better matches the user's physiological state.

[0071] In some embodiments, the electronic device may determine a set of weight coefficients corresponding to at least two acquired physiological indicators based on the current time and a first mapping relationship. This set of weight coefficients includes at least two weight coefficients that correspond one-to-one with the at least two physiological indicators. For example, the electronic device may determine the time period in which the current time occurs based on the current time and the first mapping relationship, and use the set of weight coefficients corresponding to the time period in which the current time occurs as the set of weight coefficients corresponding to the at least two physiological indicators.

[0072] S202, based on at least two physiological indicators and at least two weighting coefficients, determine the luminescence parameters of at least one component of an electronic device.

[0073] In this embodiment, the light emission parameters of the component are determined based on at least two physiological indicators and corresponding weighting coefficients. By introducing a dynamic weighting mechanism of time dimension and physiological indicators, intelligent control of the light emission parameters of the electronic device is achieved, which can more accurately match the user's physiological state, thereby optimizing the generation of light emission parameters and improving the user's comfort and health.

[0074] The following section uses a keyboard and a display screen as examples to illustrate this solution.

[0075] In some embodiments, at least one component is a keyboard, and the corresponding light emission parameters include red channel values, green channel values, and blue channel values. As discussed above, the keyboard includes LED beads, which are RGB tri-color integrated LED beads. For example, the LED bead has a built-in red chip, green chip, and blue chip, and these three chips can independently adjust their output intensity to synthesize different colors through color mixing principles. The red channel value, green channel value, and blue channel value correspond to the output intensity of the red chip, green chip, and blue chip within the LED bead, respectively, and the output intensity typically ranges from [0, 255]. For example, when the red channel value is 255, the output intensity of the red chip is at its maximum, outputting the strongest red light. The lower the red channel value, the weaker the output intensity of the red chip. When the red channel value is zero, the red chip is off, and there is no red light output. When the green channel value is 255, the output intensity of the green chip is at its maximum, outputting the strongest green light. The lower the green channel value, the weaker the output intensity of the green chip. When the green channel value is zero, the green chip is off, and there is no green light output. When the blue channel value is 255, the output intensity of the blue chip is at its maximum, outputting the strongest blue light. The lower the blue channel value, the weaker the output intensity of the blue chip. When the blue channel value is zero, the blue chip is off and there is no blue light output.

[0076] For example, such as Figure 3 As shown, S202 can be replaced by S301.

[0077] S301 determines the red channel value, green channel value, and blue channel value based on at least two physiological indicators and at least two weighting coefficients.

[0078] Taking at least two physiological indicators as excitation level, anxiety level, concentration level, and fatigue level as an example, electronic devices determine the red channel value, green channel value, and blue channel value of the keyboard through excitation level, anxiety level, concentration level, and fatigue level, as well as corresponding weight coefficients. For example, electronic devices determine the red channel value of the keyboard based on formula (5).

[0079] , formula (5).

[0080] Where R is the red channel value; E is the excitement level value; F is the focus level value; and A is the anxiety level value. It is the weighting coefficient for excitement level; It is a weighting factor for focus; This is the weighting coefficient for anxiety level. Formula (5) shows that the red channel value is negatively correlated with anxiety level and positively correlated with focus and excitement level. A higher red channel value helps improve the user's alertness and attention.

[0081] Among them, the weighting coefficient , and This is used to adjust the influence of arousal, focus, and anxiety levels on the red channel value. For example, during working hours such as 8:00-10:00, 10:00-12:00, and 16:00-18:00, the weighting coefficients for focus and arousal are higher, which can stimulate the brain and thus improve concentration. During non-working hours, the weighting coefficient for anxiety is higher, which helps to alleviate anxiety.

[0082] For example, electronic devices determine the green channel value of the keyboard based on formula (6).

[0083] , formula (6).

[0084] Where G is the green channel value; T is the fatigue level value; This is the weighting coefficient for fatigue. As can be seen from formula (6), the green channel value is positively correlated with fatigue and negatively correlated with anxiety. When a user is fatigued, increasing the green channel value can alleviate visual pressure. When a user is anxious, decreasing the green channel value can reduce stimulation. For example, during rest periods, increasing the green channel value can alleviate fatigue.

[0085] Among them, the weighting coefficient and This adjustment adjusts the impact of anxiety and focus on the green channel value. For example, during the time periods 00:00-02:00, 02:00-04:00, and 04:00-06:00, fatigue has a higher weighting coefficient, while anxiety has a lower weighting coefficient, amplifying the impact of fatigue on the green channel value and weakening the impact of anxiety. During the time period 22:00-24:00, anxiety has a higher weighting coefficient, while fatigue has a lower weighting coefficient, amplifying the impact of anxiety on the green channel value and weakening the impact of fatigue.

[0086] For example, electronic devices determine the blue channel value of the keyboard based on formula (7).

[0087] , formula (7).

[0088] Where B is the blue channel value. As can be seen from formula (7), the blue channel value is negatively correlated with anxiety level and negatively correlated with excitement level. When a user is highly anxious, the blue channel value can be reduced to inhibit the sympathetic nervous system. When a user is highly excited, the blue channel value can be reduced to promote relaxation. Weighting coefficient and Used to adjust the degree to which excitement and anxiety affect the blue channel value.

[0089] In some embodiments, the weighting coefficients in formulas (5)-(7) , , and It can be replaced with , , and .in, , , and Yes , , and The result after performing a normalization operation. For example, , , , .

[0090] After determining the keyboard's backlight parameters, the electronic device can determine the keyboard's backlight brightness, or luminance. It should be understood that the keyboard's backlight parameters, such as red, green, and blue channel values, are used to determine the color of the light emitted by the keyboard, while luminance is used to determine the keyboard's overall brightness.

[0091] In some embodiments, such as Figure 3 As shown, S104 may include S302-S304.

[0092] S302, obtain the ambient light intensity at the current moment.

[0093] Ambient light intensity refers to the combined illuminance of natural and artificial light sources in the current environment, usually expressed in cd / m². Ambient light intensity affects the user's perceived comfort of keyboard lighting; excessively high ambient light intensity may cause visual fatigue, while insufficient ambient light intensity may negatively impact the user experience. To achieve adaptive operation, a built-in ambient light sensor collects ambient light intensity values ​​in real time, using these values ​​as a crucial basis for subsequent keyboard brightness adjustments. For example, an electronic device may include an ambient light sensor for collecting ambient light intensity. The electronic device can obtain the ambient light intensity value collected by the ambient light sensor at the current moment.

[0094] S303 determines the keyboard's backlight brightness to match the ambient light level based on the ambient light intensity.

[0095] The electronic device determines the luminance that matches the ambient light level based on the ambient light intensity and a preset mapping relationship. This mapping relationship indicates the mapping between the ambient light intensity and the keyboard luminance. This mapping relationship can be, for example, a mapping table or a mapping function. The mapping function can be, for example, as shown in formula (8).

[0096] , formula (8).

[0097] in, It refers to the brightness of the keyboard's backlight; It represents the ambient light level at the current moment; This is the preset upper limit of brightness. For example, it could be 150 cd / m2.

[0098] S304 controls the keyboard backlighting based on the red channel value, green channel value, blue channel value, and backlight brightness.

[0099] After determining the keyboard's backlight brightness, the electronic device can control the keyboard's illumination based on the keyboard's backlight parameters and brightness. The backlight parameters specifically control the color of the light emitted by the keyboard, and include red, green, and blue channel values. The backlight brightness specifically controls the intensity of the light emitted by the keyboard. For example, the red, green, and blue channel values ​​correspond to the output intensities of the red, green, and blue chips within the LED beads, respectively. The backlight brightness is a parameter for adjusting the overall brightness of the keyboard's illumination, used to synchronously adjust the base output amplitude of all monochrome chips. The keyboard controller receives the red, green, and blue channel values ​​and drives the corresponding monochrome chips to output according to the received channel values. Higher channel values ​​result in stronger output intensity from the corresponding chip and a higher proportion of the corresponding color. The keyboard's backlight color is determined by mixing the three channel values ​​proportionally. The keyboard controller uniformly adjusts the output intensity of the three channels based on the received backlight brightness. For example, if the ratio of the backlight brightness to the keyboard's maximum backlight brightness is 80%, then the actual output intensity of the monochrome chip is the product of this ratio (e.g., 80%) and the channel value.

[0100] This embodiment flexibly adjusts the keyboard's backlight brightness under different lighting conditions, ensuring a consistent input experience for users in different environments and reducing visual fatigue caused by unsuitable brightness.

[0101] In some embodiments, at least one component is a display screen, and the electronic device determines target indicators for indicative of the user's anxiety and fatigue levels based on at least two physiological indicators, and determines the display screen's luminous parameters based on these target indicators. For example, such as... Figure 4 As shown, S202 can be replaced by S401 and 4302.

[0102] S401, if the display's color adjustment function is enabled, determine the target index based on at least two physiological indicators and at least two weighting coefficients.

[0103] In this embodiment, if the display's color adjustment function is enabled, the electronic device adjusts the display's light emission parameters based on the user's physiological indicators. If the display's color adjustment function is disabled, the electronic device does not adjust the display's light emission parameters based on the user's physiological indicators. In some embodiments, the user can enable or disable the display's color adjustment function as needed. For example, the electronic device includes a corresponding application that provides a switch for triggering the display's color adjustment function to be enabled or disabled.

[0104] The electronic device can receive user input to the switch, enabling or disabling the display's color adjustment function. In other embodiments, the electronic device can also enable or disable the display's color adjustment function by receiving voice control commands from the user.

[0105] In other embodiments, the display's color adjustment function can be automatically triggered to turn on or off. To avoid the impact of color adjustment on the display, the electronic device turns off the display's color adjustment function when a target scene is detected, and turns it on when the target scene is exited. The target scene can be, for example, a high dynamic range (HDR) display scene. HDR display scenes can include, for example, game scenes, video scenes, live streaming scenes, and image browsing scenes. In other words, when the electronic device is running applications such as games, videos, live streaming, or image gallery applications, the electronic device can turn off the display's color adjustment function.

[0106] If the display's color adjustment function is enabled, the electronic device can determine a target indicator based on at least two physiological indicators and at least two weighted coefficients corresponding to those two physiological indicators. This target indicator is used to indicate the user's level of anxiety and fatigue.

[0107] For example, electronic devices determine target indicators based on physiological indicators such as anxiety and fatigue, and corresponding weighting coefficients, using formula (9).

[0108] , formula (9).

[0109] Where S is the target indicator; It is the weighting coefficient for anxiety level; It is the anxiety level value; It is the weighting coefficient for fatigue level; This is the fatigue level value. It can be seen that the target metric S is obtained by weighted summation of anxiety and fatigue levels. A higher target metric S value indicates a stronger overall level of anxiety and fatigue for the user; a lower target metric S value indicates a lighter physiological burden for the user.

[0110] S402, based on the target indicators, determines the light emission parameters of the display screen.

[0111] In some embodiments, the light emission parameters of the display screen include at least one of blue light adjustment parameters and color temperature.

[0112] The blue light adjustment parameters are used to adjust the output intensity of the blue channel of the display screen. These parameters can be, for example, the target output intensity of the blue channel, the blue light suppression rate, and the blue light adjustment ratio. The blue light suppression rate is the proportion of the blue channel's suppressed intensity to the baseline output intensity. A higher blue light suppression rate results in weaker blue light output. For example, a blue light suppression rate of 60% means only 40% of the blue light is output. The blue light adjustment ratio is the ratio of the actual blue light intensity output by the blue channel to the maximum blue light intensity that the blue channel can output, used to precisely control the amount of blue light output. The maximum blue light intensity can be, for example, 255. A higher blue light adjustment ratio results in stronger blue light output; a lower ratio results in weaker blue light output. For example, a blue light adjustment ratio of 100% means the blue channel outputs at its maximum blue light intensity. A blue light adjustment ratio of 30% means the blue channel outputs only 30% of its maximum blue light intensity.

[0113] Color temperature is an indicator of the warm or cool tone of light emitted by a display screen, measured in Kelvin (K). A lower value indicates a warmer light (e.g., yellowish or reddish), while a higher value indicates a cooler light (e.g., bluish or whiter). For example, 2700K-4000K is a warm color temperature with a yellowish tint, 4000K-5000K is a neutral color temperature, and 5000K-7000K is a cool color temperature. Electronic devices can adjust the color temperature by adjusting the ratio of the output intensity of the red, green, and blue channels of the display screen. For example, increasing the proportion of the red and green channels and decreasing the proportion of the blue channel achieves a warm color temperature. Increasing the proportion of the blue channel and decreasing the proportion of the red channel achieves a cool color temperature.

[0114] In some embodiments, the electronic device determines at least one of a blue light adjustment parameter and a color temperature based on a target indicator. For example, the electronic device determines at least one of the blue light adjustment parameter and a color temperature based on a mapping relationship between the device and the value of the target indicator. For instance, this mapping relationship characterizes the mapping relationship between the values ​​of different target indicators and the blue light adjustment parameter and / or color temperature.

[0115] In other embodiments, the display's luminous parameters are dynamically adjusted by varying the target index ranges, thereby responding more accurately to changes in the user's physiological state.

[0116] For example, if the target indicator is greater than a first value, the blue light adjustment parameters of the display screen are determined based on the at least two physiological indicators. A target indicator greater than the first value indicates that the user is in a state of high anxiety and high fatigue. In this case, the output intensity of the blue channel of the display screen can be adjusted, such as reducing the output intensity of the blue channel, to alleviate the user's anxiety. Taking the blue light adjustment parameter as a blue light adjustment ratio as an example, the electronic device can determine the blue light adjustment ratio based on at least two physiological indicators and adjust the blue light output intensity of the display screen based on the blue light adjustment ratio. For example, the electronic device calculates the blue light adjustment ratio based on anxiety level and excitement level using formula (10).

[0117] Bratio = Bbase × (1 0.5×A)+0.2×E, formula (10).

[0118] Where Bratio is the blue light adjustment ratio; A is the anxiety level; E is the excitement level; and Bbase is the baseline value for the blue light adjustment ratio. In some embodiments, Bbase = 50%.

[0119] For example, if the target indicator is greater than a second value and less than or equal to a first value, the luminous emission parameters of the display screen are determined based on the at least two physiological indicators. A target indicator greater than a second value and less than or equal to a first value indicates that the user's state is between normal and abnormal. When the target indicator is in the middle range, the luminous emission parameters of the display screen are determined by combining at least two physiological indicators for comprehensive judgment and further optimization of the display screen's luminous emission parameters. As one possible implementation, the electronic device determines a target physiological indicator among the at least two physiological indicators. The target physiological indicator is the physiological indicator with the largest value among the at least two physiological indicators. Taking at least two physiological indicators including anxiety, focus, fatigue, and excitement as an example, the target physiological indicator is the physiological indicator with the largest value among these four physiological indicators. Next, the electronic device determines the luminous emission parameters corresponding to the target physiological indicator based on a second mapping relationship. The second mapping relationship defines the mapping relationship between physiological indicators and luminous emission parameters. The luminous emission parameters are at least one of color temperature and blue light adjustment parameters.

[0120] Taking the emission parameters, including color temperature and blue light adjustment parameters, and the blue light adjustment parameters being the blue light adjustment ratio, as an example, the second mapping relationship can be shown in Table 2.

[0121] Table 2

[0122] For example, if the target physiological indicator is anxiety level, the electronic device can determine the corresponding emission parameters based on Table 2, such as color temperature: natural white (255, 250, 245); blue light adjustment ratio: 30%. If the target physiological indicator is excitement level, the electronic device can determine the corresponding emission parameters based on Table 2, such as color temperature: amber (255, 223, 0); blue light adjustment ratio: 20%.

[0123] Finally, the electronic device uses the light emission parameters corresponding to the target physiological indicator as the light emission parameters of the display screen. For example, if the target physiological indicator is anxiety level, the electronic device will use the light emission parameters corresponding to anxiety level determined in Table 2 as the light emission parameters of the display screen, such as color temperature: natural white (255, 250, 245); blue light adjustment ratio: 30%. As another example, if the target physiological indicator is excitement level, the electronic device will use the light emission parameters corresponding to excitement level determined in Table 2 as the light emission parameters of the display screen, such as color temperature: amber (255, 223, 0); blue light adjustment ratio: 20%.

[0124] For example, if the target indicator is less than or equal to the second value, the luminous emission parameter of the display screen is determined to be a preset parameter. A target indicator less than or equal to the second value indicates that the user's current state is relatively stable and requires no additional intervention; therefore, based on the target indicator, the luminous emission parameter of the display screen is determined to be a preset parameter. Preset parameters are typically standard values ​​set based on a large amount of user data and experimental results, capable of meeting the daily usage needs of most users while ensuring no negative impact on the user's physiological state. By determining the luminous emission parameter of the display screen as a preset parameter based on the target indicator, different adjustment strategies can be automatically switched in different scenarios, ensuring adjustment effectiveness while avoiding unnecessary resource waste. A preset parameter could be, for example, a color temperature of natural white (255, 250, 245).

[0125] In some embodiments, the first value is greater than the second value, and both the first and second values ​​are values ​​greater than zero and less than 1. For example, the first value is 0.7 and the second value is 0.4.

[0126] like Figure 4As shown, S104 can be replaced by S403. S403 controls the display screen of the electronic device to emit light based on the display screen's light emission parameters. For example, the processor in the electronic device sends the display screen's light emission parameters to the display screen, and the display screen emits light based on these parameters. For example, when the light emission parameter is a blue light adjustment ratio, the actual output intensity of the blue channel is scaled according to the blue light adjustment ratio. When the light emission parameter is color temperature, the switching between warm and cool colors is achieved by adjusting the ratio of the red, green, and blue channels. When the light emission parameters are both a blue light adjustment ratio and color temperature, the switching between warm and cool colors is first achieved by adjusting the ratio of the red, green, and blue channels, and then the blue channel output is calibrated a second time by adjusting the blue light adjustment ratio to ensure dual adaptation of light color and blue light intensity.

[0127] It should be understood that in this embodiment, when adjusting the three-channel values ​​of the display screen, the original image content remains unchanged. Only the original image is used as a basis, and a control coefficient matching the determined color temperature and / or blue light adjustment ratio is superimposed to synchronously adjust the final output values ​​of the three channels of the display screen. This achieves adaptation and optimization of the image display attributes while preserving the core content and detail integrity of the image. The three channels of the display screen can be understood as the three channels of the pixel units included in the display screen.

[0128] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, such as... Figure 5 As shown, the electronic device 500 includes at least one component 510 and a processor 520.

[0129] At least one component 510.

[0130] The processor 520 is configured to acquire a user's biometric data, the biometric data being of the same type and including data in at least two different wavelengths; determine at least two physiological indicators of the user based on the data in the at least two different wavelengths; determine the luminescence parameters of at least one component 510 of the electronic device based on the at least two physiological indicators; and control the luminescence of at least one component 510 of the electronic device based on the luminescence parameters.

[0131] The processor 520 is also configured to determine a set of weighting coefficients corresponding to the current time based on the current time and the first mapping relationship; wherein, the set of weighting coefficients includes at least two weighting coefficients that correspond one-to-one with at least two physiological indicators; the weighting coefficients characterize the degree of influence of the corresponding physiological indicators on the light emission effect of at least one component 510 at the current time; the first mapping relationship defines a one-to-one mapping relationship between multiple time periods and multiple sets of weighting coefficients; and determine the light emission parameters of at least one component 510 of the electronic device based on at least two physiological indicators and at least two weighting coefficients.

[0132] The processor 520 is also used to calculate red channel values, green channel values, and blue channel values ​​based on at least two physiological indicators and at least two weighting coefficients.

[0133] The processor 520 is also used to obtain the ambient light brightness at the current moment; determine the keyboard backlight brightness that is adapted to the ambient light brightness based on the ambient light brightness; and control the keyboard backlight based on the backlight parameters and backlight brightness.

[0134] The processor 520 is also used to determine a target indicator based on at least two physiological indicators and at least two weighting coefficients if the display's color adjustment function is enabled; the target indicator is used to indicate the user's level of anxiety and fatigue; and the display's luminous parameters are determined based on the target indicator.

[0135] The processor 520 is also used to determine the blue light adjustment parameters of the display screen based on at least two physiological indicators if the target indicator is greater than the first value; to determine the light emission parameters of the display screen based on at least two physiological indicators if the target indicator is greater than the second value and less than or equal to the first value; and to determine the light emission parameters of the display screen as preset parameters if the target indicator is less than or equal to the second value.

[0136] The processor 520 is also used to determine the light emission parameters of the display screen as light emission parameters corresponding to the target physiological indicator if the target indicator is greater than the second value and less than or equal to the first value; wherein the target physiological indicator is the physiological indicator with the largest value among at least two physiological indicators; the light emission parameters include at least one of color temperature and blue light adjustment parameters.

[0137] The processor 520 is also used to determine a target physiological indicator among at least two physiological indicators; and to determine the luminescence parameter corresponding to the target physiological indicator based on a second mapping relationship; wherein the second mapping relationship defines the mapping relationship between the physiological indicator and the luminescence parameter.

[0138] like Figure 6 As shown, at least one component 510 may be, for example, a display screen 610 and a keyboard 620. The keyboard 620 includes a keyboard controller 6201 and LED beads 6202. The processor 520 is also used to control the keyboard controller 6201 to control the LED beads 6202 deployed on the keyboard to emit light based on illumination parameters, and / or to control the display screen 610 to display based on illumination parameters.

[0139] The following uses a laptop computer as an example to introduce a control method provided by an embodiment of this application, combined with a specific application scenario.

[0140] Users face increasing pressure in their daily lives and work, encountering various problems such as anxiety, fatigue, and difficulty concentrating. However, their levels of focus, excitement, fatigue, and anxiety constantly change at different times, creating a complex scenario. Furthermore, using cameras for detection can lead to inaccurate results, and existing interaction methods are insufficient to improve users' anxiety, fatigue, and lack of concentration.

[0141] This application provides a control method with the following advantages: 1. Brain-computer interface sensors (BCIs) more accurately detect user fatigue, focus, excitement, and anxiety levels, and are unaffected by environmental factors such as lighting. 2. The SLA algorithm can achieve end-to-end functionality from perception and judgment to interaction in complex scenarios, while also considering the complex needs of users at different time periods, combining fatigue, focus, excitement, and anxiety levels. Laptop screen light and keyboard light are among the most frequently encountered light sources in users' daily lives besides solar panels. By changing the luminous parameters of these two light sources, the user's quality of life can be subtly improved.

[0142] Figure 6 This is a flowchart illustrating a control method provided in an embodiment of this application, as shown below. Figure 6 As shown, the method includes: S1, the brain-computer interface sensor collects the user's brainwave data.

[0143] EEG data includes data in the alpha, beta, gamma, and theta bands.

[0144] S2, the brain-computer interface sensor sends the user's brainwave data to the laptop.

[0145] The S3 laptop determines a user's anxiety, excitement, focus, and fatigue levels based on band data from their electroencephalogram (EEG).

[0146] The laptop computer uses formulas (1) to (4) from the previous text to calculate the user's anxiety, excitement, concentration and fatigue based on the band data in the user's EEG data.

[0147] S4, the laptop determines the weight coefficients corresponding to anxiety, excitement, focus and fatigue levels based on the first mapping relationship.

[0148] The first mapping relationship, as described above, will not be repeated. Based on the current moment and the first mapping relationship, the laptop determines the weighted data for anxiety, excitement, focus, and fatigue corresponding to the current moment.

[0149] S5, the laptop determines the keyboard's backlighting parameters.

[0150] The laptop computer calculates the red channel value, green channel value, and blue channel value of the keyboard using formulas (5) to (7), based on anxiety level, excitement level, concentration level, and fatigue level, as well as the weight coefficients corresponding to anxiety level, excitement level, concentration level, and fatigue level respectively.

[0151] S6, the laptop determines the keyboard backlight brightness.

[0152] The laptop computer calculates the keyboard's backlight brightness using formula (8) based on the ambient light intensity.

[0153] The S7 laptop controls keyboard backlighting based on the keyboard's backlight parameters and backlight brightness.

[0154] The processor in the laptop combines the luminance parameters and luminance brightness into a Status vector, which is then input into the Action algorithm module. The Action algorithm module adjusts the keyboard based on the vector via the BIOS WMI.

[0155] S8 represents the target metric S for laptop computing.

[0156] The laptop calculates the target indicator S based on anxiety and fatigue levels.

[0157] S9. If the target index S > 0.7, the blue light adjustment ratio is determined based on anxiety and excitement levels.

[0158] S10, if the target index is 0.4 < S ≤ 0.7, determine the target index among anxiety, excitement, focus and fatigue. Based on the second mapping relationship, use the light emission parameter corresponding to the target index as the light emission parameter of the display screen.

[0159] S11, if the target index S≤0.4, determine the luminous parameter of the display screen as natural light color temperature.

[0160] S12, the laptop controls the display's illumination based on the display's backlight parameters.

[0161] Set the display's backlight parameters to a Status vector and use the Action algorithm to configure the BIOS WMI.

[0162] As can be seen, this embodiment of the application determines at least two physiological indicators based on the user's electroencephalogram (EEG), and dynamically adjusts the backlighting parameters of the laptop's display screen and keyboard based on these at least two physiological indicators. The adjusted effects are shown in Table 3.

[0163] Table 3

[0164] As shown in Table 3, when the user is under high anxiety, the laptop, based on the control methods described above, controls the display color temperature to natural white, adjusts the blue light ratio to 30%, and controls the keyboard to emit a blue-green gradient light with a brightness of 100 cd / m². This suppresses high-frequency fluctuations in beta waves and promotes parasympathetic nerve activation. When the user is under low arousal and high concentration during the day, the laptop, based on the control methods described above, controls the display color temperature to warm white, adjusts the blue light ratio to 40%, and controls the keyboard to emit a creamy white light with a brightness of 150 cd / m². This improves beta wave stability and avoids color shift interference. When the user is under high fatigue, the laptop, based on the control methods described above, controls the display color temperature to natural white, adjusts the blue light ratio to 30%, and controls the keyboard to emit an ivory-colored light with a brightness of 80 cd / m². This balances color temperature contrast and reduces theta wave synchronicity. When the user is in a highly excited state at night, the laptop, based on the control methods described above, sets the display color temperature to amber white, adjusts the blue light level to 20%, and controls the keyboard to emit a dark red light with a brightness of 50 cd / m². This can suppress melatonin secretion and promote relaxation.

[0165] This application provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the methods described in any of the above embodiments.

[0166] It should be noted that the descriptions of the computer-readable storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the computer-readable storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0167] The aforementioned processor can be at least one of the following: application-specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field-programmable gate array (FPGA), central processing unit (CPU), controller, microcontroller, and microprocessor. It is understood that other electronic devices can also implement the functions of the aforementioned processor, and this application does not specifically limit the specific implementation.

[0168] The aforementioned computer-readable storage medium / memory can be a read-only memory, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD ROM), etc.

[0169] This application provides a computer program including computer-readable code. When the computer-readable code runs in an electronic device, the processor in the electronic device executes some or all of the steps in the above-described method.

[0170] This application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer-readable storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.

[0171] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0172] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0173] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0174] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0175] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0176] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0177] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0178] The above are merely embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

[0179] The above embodiments are merely preferred embodiments provided to fully illustrate this application, and the scope of protection of this application is not limited thereto. Equivalent substitutions or modifications made by those skilled in the art based on this application are all within the scope of protection of this application.

Claims

1. A control method applied to an electronic device, the method comprising: Acquire user biometric data, wherein the biometric data is of the same type and includes data from at least two different wavelengths; At least two physiological indicators of the user are determined based on data from at least two different wavelengths in the biometric data. Based on the at least two physiological indicators, determine the luminescence parameters of at least one component of the electronic device; Based on the light emission parameters, at least one component of the electronic device is controlled to emit light.

2. The method according to claim 1, wherein determining the luminescence parameters of at least one component of the electronic device based on the at least two physiological indicators comprises: Based on the current moment and the first mapping relationship, a set of weight coefficients corresponding to the current moment is determined; wherein, the set of weight coefficients includes at least two weight coefficients that correspond one-to-one with the at least two physiological indicators; the weight coefficients characterize the degree of influence of the corresponding physiological indicators on the luminescence effect of the at least one component at the current moment; the first mapping relationship defines a one-to-one mapping relationship between multiple time periods and multiple sets of weight coefficients; The luminescence parameters of at least one component of the electronic device are determined based on the at least two physiological indicators and the at least two weighting coefficients.

3. The method according to claim 2, wherein the at least one component includes a keyboard, and the light emission parameters include red channel values, green channel values, and blue channel values; Determining the luminescence parameters of at least one component of the electronic device based on the at least two physiological indicators and the at least two weighting coefficients includes: The red channel value, the green channel value, and the blue channel value are calculated based on the at least two physiological indicators and the at least two weighting coefficients.

4. The method according to claim 3, wherein controlling the light emission of at least one component of the electronic device based on the light emission parameters comprises: Get the current ambient light level; Based on the ambient light intensity, determine the keyboard's backlight intensity that is adapted to the ambient light intensity; The keyboard backlight is controlled based on the light emission parameters and the light emission brightness.

5. The method according to any one of claims 2-4, wherein the at least one component includes a display screen, and determining the luminescence parameters of the at least one component of the electronic device based on the at least two physiological indicators includes: If the color adjustment function of the display screen is enabled, the target index is determined based on the at least two physiological indicators and the at least two weighting coefficients; The target metrics are used to indicate the user's level of anxiety and fatigue; Based on the target indicators, the light emission parameters of the display screen are determined.

6. The method according to claim 5, wherein determining the light emission parameters of the display screen based on the target index comprises: If the target indicator is greater than the first value, the blue light adjustment parameters of the display screen are determined based on the at least two physiological indicators; If the target indicator is greater than the second value and less than or equal to the first value, the luminous parameters of the display screen are determined based on the at least two physiological indicators. If the target indicator is less than or equal to the second value, the light emission parameter of the display screen is determined to be a preset parameter.

7. The method according to claim 6, wherein if the target indicator is greater than the second value and less than or equal to the first value, determining the luminous parameters of the display screen based on the at least two physiological indicators includes: If the target indicator is greater than the second value and less than or equal to the first value, the light emission parameter of the display screen is determined to be the light emission parameter corresponding to the target physiological indicator; wherein, the target physiological indicator is the physiological indicator with the largest value among the at least two physiological indicators; the light emission parameter includes at least one of color temperature and blue light adjustment parameters.

8. The method according to claim 7, wherein before determining the light emission parameters of the display screen as light emission parameters corresponding to the target physiological indicator, the method further comprises: Determine the target physiological indicator among the at least two physiological indicators; Based on the second mapping relationship, determine the luminescence parameters corresponding to the target physiological indicators; The second mapping relationship defines the mapping relationship between physiological indicators and luminescence parameters.

9. An electronic device, comprising: At least one component; A processor is configured to acquire a user's biometric data, wherein the biometric data is of the same type and includes data from at least two different wavelengths; determine at least two physiological indicators of the user based on the data from the at least two different wavelengths; determine the luminescence parameters of at least one component based on the at least two physiological indicators; and control the at least one component to emit light based on the luminescence parameters.

10. The electronic device according to claim 9, wherein the at least one component includes at least one of a keyboard and a display screen; The keyboard includes a keyboard controller and LED beads; The step of controlling the light emission of at least one component based on the light emission parameters includes: The keyboard controller controls the LED beads deployed on the keyboard to emit light based on the light emission parameters; And / or, control the display screen to display based on the light emission parameters.