Keyboard device and keyboard device context light emission control method

CN120704541BActive Publication Date: 2026-08-28SHENZHEN YOUCAIJIA TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202511211355.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-28
Publication Date
2026-08-28
Estimated Expiration
2045-08-28

AI Technical Summary

Technical Problem

[0006]本申请旨在克服现有技术中键盘背光控制依赖用户手动操作、无法与操作情境智能联动的问题,提供一种键盘装置及键盘装置情境发光控制方法,通过系统识别当前运行的应用程序,自动判断所属操作情境,并对相应按键区域的LED(发光二极管)光源进行点亮或关闭控制,以提升键盘发光效果的智能化程度与用户使用便利性

Benefits of technology

1、实现了键盘发光控制与当前运行的应用程序之间的自动联动,提升交互智能化;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120704541B_ABST
    Figure CN120704541B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of keyboard devices, and provides a keyboard device and a keyboard device context light-emitting control method.The keyboard device comprises an input module, a light-emitting module and a control module.The control module is used for acquiring application program information of a current operation, judging whether the application program information corresponds to a preset operation context mode, and controlling the light-emitting of LED light sources of a corresponding key area or the turning off of the LED light sources according to a judgment result.If a context mode is not recognized, all the LED light sources are turned off.The operation context mode comprises a game mode, an office mode or a user-defined mode.The application realizes the intelligent linkage of light-emitting areas and application contexts, and improves operation efficiency and interactive experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the rapid development of information technology, keyboards, as one of the most commonly used input devices in computer systems, are increasingly demanding higher standards in terms of appearance design and human-computer interaction. In recent years, to improve operating efficiency and user experience, keyboards have generally been equipped with backlight modules to help users identify key positions in low-light environments.

[0003] However, most existing keyboard backlight control mechanisms rely on manual user operation, such as switching lighting modes, adjusting brightness, or selecting illuminated areas via shortcut keys or drivers. Although some high-end keyboards have preset lighting effects, such as "gaming mode" or "office mode," these still require manual activation by the user and cannot be synchronized with actual application scenarios. Especially during multitasking or frequent switching of application scenarios, traditional manual settings are not only cumbersome but can also easily affect user concentration and reduce operational efficiency.

[0004] In addition, although some existing devices have the ability to communicate with the operating system interface, they do not perform intelligent recognition and linkage control based on the actual running application content, and lack context awareness. This results in a disconnect between the illuminated area and the user's current needs, which is not conducive to the functional and intelligent development of keyboard lighting effects.

[0005] Therefore, there is an urgent need for a lighting control method and device that can automatically identify the operating context based on the currently running application and actively control the backlight of the corresponding button area to improve user convenience and intelligence. Summary of the Invention

[0006] This application aims to overcome the problem that the keyboard backlight control in the prior art relies on manual operation by the user and cannot be intelligently linked with the operation context. It provides a keyboard device and a keyboard device context lighting control method. The system identifies the currently running application, automatically determines the operation context, and controls the LED (light-emitting diode) light source in the corresponding key area to turn on or off, so as to improve the intelligence of the keyboard lighting effect and the convenience of user use.

[0007] To achieve the above objectives, this application proposes the following technical solution: A keyboard device ambient lighting control method is applied to a keyboard device including multiple independently configurable physical keys, corresponding multiple LED light sources, and a control module. Each LED light source includes multiple light-emitting chips of different wavelengths, electrically connected to the input module and the light-emitting module. The control module is configured to implement the keyboard device ambient lighting control method, the method comprising: Obtain information about currently running applications from the operating system; Determine whether the application information corresponds to a preset operation scenario mode, which includes game mode, office mode, or user-defined mode; If so, then according to the operation scenario mode corresponding to the application information, the LED light source of the corresponding button area is activated, and the LED light source of the non-corresponding area is turned off; If not, turn off all LED lights; Specifically, the driving signal of the light-emitting chip is controlled to adjust the color and brightness of the LED light source, and the physical buttons frequently used by the user in different applications are recorded to further adjust the LED light source and automatically optimize the light-emitting area.

[0008] This application also provides a keyboard device, comprising: an input module having multiple independently configurable physical keys; a light-emitting module disposed below the input module having multiple LED light sources, each LED light source comprising multiple light-emitting chips of different wavelengths; and a control module electrically connected to the input module and the light-emitting module for executing the above-described ambient light control method.

[0009] Compared with the prior art, this application has the following beneficial effects: 1. Automatic linkage between keyboard backlight control and the currently running application has been achieved, enhancing the intelligence of interaction; 2. It can automatically adjust the light-emitting area and brightness / color parameters according to different application scenarios, improving operating efficiency and user experience; 3. Provides a control mechanism for user-defined and priority-based lighting strategies to adapt to multi-tasking needs; 4. This application achieves energy-saving control by adjusting the keyboard brightness according to user habits. In addition, this application has a status memory function, which balances performance and user convenience. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] in: Figure 1 This is a schematic diagram of the keyboard device according to an embodiment of this application; Figure 2 This is a schematic diagram of the functional units of the control module described in one embodiment of this application; Figure 3 A flowchart illustrating the execution of a context lighting control method using the keyboard device described in this application embodiment.

[0012] Explanation of main component symbols Detailed Implementation The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0013] Please refer to Figure 1 As shown, this is a schematic diagram of a keyboard device. The keyboard device 100 mainly includes: an input module 110, which has multiple independently configurable physical keys, each key corresponding to a different function; a light-emitting module 120, which is disposed below the input module 110 and has multiple LED (light-emitting diode) light sources corresponding to each key, each LED light source containing multiple light-emitting chips of different wavelengths; and a control module 130, which is electrically connected to the input module 110 and the light-emitting module 120, and is used to execute the keyboard device contextual light-emitting control method. In this embodiment, the control module 130 includes multiple functional units, including: a detection unit 131, used to obtain currently running application information 140 from the operating system, that is, information about applications currently running in the foreground or background; a context recognition unit 132, used to compare the obtained application information 140 with a set of preset correspondence tables of operating context modes, for example, recognizing "Excel.exe" as office mode and "Game 1" as game mode; and a light emission control unit 133, used to control the on / off state of the LED light source of the light emission module 120 according to the recognition result. In one embodiment, each LED light source includes at least two, preferably three, light emission chips of different wavelengths, for example: The color of an LED light source is related to its wavelength; different wavelengths produce different colors. By packaging LEDs with light-emitting chips of different wavelengths, the color adjustment can be further enriched.

[0014] In an optional embodiment, the light-emitting chips R (red), G (green), and B (blue) of different wavelengths can be integrated into the same package and electrically connected to the control module 130 via leads, thereby forming an independent addressing structure. This allows the brightness and mixing ratio of each light-emitting chip to be adjusted separately using PWM (pulse width modulation). For example: Specifically, the light-emitting module 120 is connected to the control module 130 via a multi-channel driving method. The control module 130 sends pulse-width modulation (PWM) signals to chips of different wavelengths according to a preset operating scenario mode, thereby achieving mixed control of brightness and color. By adjusting the driving duty cycle of different wavelength chips, multiple color light effects can be combined to meet the visual cues required by the input module 110 under different operating scenario modes. Furthermore, each LED light source can be connected to the control module 130 via a matrix addressing structure (e.g., scanning row and column control method), possessing independent addressing capabilities. This further enables precise control of the light effect of each button, improving recognition and operational efficiency during multi-scenario operations. Specifically, the "multi-channel driving method" refers to the control module 130 configuring an independent driving output channel for each LED light source in the light-emitting module 120. This channel can output pulse-width modulation (PWM) signals or constant current driving signals to adjust the brightness and duty cycle of each light-emitting chip in each LED light source, thereby mixing the target color and luminous intensity. Compared to traditional unified channel or regional channel lighting methods (such as multiple LEDs sharing the same driving signal), the multi-channel driving method described in this invention can perform more precise control of the light emission parameters of LED light sources under different button areas or individual buttons, resulting in higher response speed and light emission consistency. In a preferred embodiment, the control module 130 may be equipped with multiple PWM control modules, each connected to the anode or gate port of the light-emitting chip corresponding to each LED light source, forming a one-to-one or one-to-many control architecture. That is, one PWM control module corresponds to one LED light source, or one PWM control module corresponds to at least two LED light sources.

[0015] Please refer to Figure 2As shown, the control module 130 also includes a memory unit 134 and a timeout determination unit 135. The memory unit 134 has a memory function, used to record and restore the illumination state of the last operating scenario mode. The restoration function is only effective when a historical scenario mode record exists. The timeout determination unit 135 is used to monitor whether the operating system's input state has entered an idle state. If the operating system remains idle for more than a predetermined time, where the predetermined time threshold includes two determination criteria: no physical input event on the keyboard (e.g., no input for 5 minutes), or the operating system sends a sleep command, then all LED light sources are turned off to save energy. Furthermore, the control module 130 can also record frequently used physical keys in different applications and store the user usage records in the memory unit 134 to further adjust the LED light sources and automatically optimize the illumination area.

[0016] Furthermore, the control module 130 also includes a memory 150 and a processor 160. The processor 160 is electrically connected to the input module 110, the light-emitting module 120, and multiple functional units within the control module 130. The memory 150 stores program code for implementing the keyboard device ambient light control method, and the processor 160 is used to run the program code to implement the keyboard device ambient light control method.

[0017] Specifically, the processor 160 may be a microcontroller unit (MCU), an embedded processing chip, or a SoC (system-on-a-chip) with control logic. The memory 150 may include Flash, EEPROM, or other non-volatile storage devices for storing: (1) a correspondence table between operating scenario modes and application programs; (2) LED light emission parameter groups for each mode (e.g., color data, brightness levels, where color data adjustment can be achieved through RGB, HSV, or other color space models); (3) a record of the most recently run scenario state (used to remember and restore the light emission state in the last operating scenario mode); and (4) priority rules for multi-task operation. The program code can be used to implement the following functions: (1) application program identification; (2) scenario judgment and switching; (3) LED area control and parameter calling; (4) idle detection and energy-saving control; (5) state memory and restoration; and (6) priority rule processing. The so-called "priority rule" refers to the following: when two or more applications are running concurrently in the operating system, the control module 130 determines the application currently in the foreground or in a highly active state by calling a preset priority rule table. The control module selects the application with higher priority as the dominant application based on the preset contextual priority rule table, and determines the light-emitting area and parameter settings of the LED light source based on the dominant application. The priority rule table can be stored in the memory 150 and can be preset by the system or defined by the user. Each application is associated with a numerical priority parameter (e.g., a smaller value represents higher priority). During operation, the control module 130 periodically scans the currently running task list and processes them according to the following strategy: 1. If only one high-priority application is running at present, the control module 130 starts to emit light according to the operation scenario mode corresponding to the application information 140; 2. If multiple applications are running simultaneously, then: (1) Prioritize the selection of the glowing area based on the application corresponding to the current operating system's foreground window; (2) If multiple foreground windows are active at the same time (e.g., split screen, virtual desktop), the one with the highest priority is selected according to the priority rule table; 3. The control module 130 controls the corresponding LED light source to light up and turns off the LED light source in other non-corresponding areas according to the key area corresponding to the selected priority application.

[0018] The RGB color model is an industry-standard color system that uses variations in the red (R), green (G), and blue (B) color channels and their superposition to create a wide variety of colors. RGB represents the colors of the red, green, and blue channels. This standard covers almost all colors that can be perceived by human vision and is one of the most widely used color systems.

[0019] HSV generally refers to the HSV color model. HSV (Hue, Saturation, Value) is a color space created by AR Smith in 1978 based on the intuitive characteristics of color; it is also called the Hexcone Model. The HSV color model refers to a subset of visible light in the H, S, V three-dimensional color space, which contains all colors in a certain color gamut.

[0020] For example, if a user is running both an "image processing software" (priority=3) and an "instant messaging software" (priority=5) simultaneously, the shortcut key area corresponding to the image processing software will be illuminated. If the user switches the "instant messaging software" to the foreground, the LED lighting area will automatically switch to the key area corresponding to the instant messaging software, creating a responsive ambient lighting experience.

[0021] When the user starts the host system, the processor 160 will automatically run the program code stored in the memory 150, receive application information 140 from the operating system in real time, determine the operation scenario mode, and control the on / off state, color and brightness of each LED light source in the light-emitting module 120 accordingly.

[0022] Through the configuration of this hardware and software co-engineering architecture, this application can not only encapsulate the ambient lighting function as an independent keyboard module, but also facilitate the expansion of more application scenarios and custom functions through subsequent program upgrades, demonstrating good adaptability and scalability.

[0023] In one optional implementation, each LED light source can consist of two or more light-emitting chips with different wavelengths. For example, a group of RGB LED light sources can be formed by combining red (R), green (G), and blue (B) chips to present different color light emission effects. Specifically, light-emitting chips with a dominant wavelength range of 610nm~760nm can typically be selected as the red light source, light-emitting chips with a dominant wavelength range of 500nm~560nm can be selected as the green light source, and light-emitting chips with a dominant wavelength range of 435nm~480nm can be selected as the blue light source. The desired backlight or ambient light source can be adjusted by combining and harmonizing different color light sources.

[0024] The control module 130 can call a preset parameter group corresponding to the operating scenario mode of the currently running application. The parameter group includes: (1) the brightness level of different button areas (e.g., from 0% to 100%, divided into 8 levels); (2) the corresponding color data (e.g., red for game mode to enhance visual stimulation and immersion, and blue for office mode to provide a calm and clear visual environment and reduce visual fatigue from long-term use); (3) whether to enable dynamic light emission or fixed brightness, for example: rhythmically adjusting the brightness of the LED light source to match the rhythm of the currently playing music, or adjusting the LED light source from off to fully lit and then gradually off, thereby forming a dynamic light emission in the form of a breathing light.

[0025] For example, after detecting that the operating system has entered "game mode", the control module 130 controls the red LEDs of the W, A, S, D, SHIFT, CTRL keys to light up, and turns off the rest of the keys; if switching to "office mode", only the blue lights of commonly used function keys such as F1-F12, Enter, and Delete are turned on; if the current application is not in the preset operating scenario mode, the control module 130 turns off all LED lights; if switching from "game mode" to other modes, the control module 130 will automatically adjust the light-emitting areas according to the priority strategy; if the input module 110 has no keyboard input signal within a specified period of time, the timeout determination unit 135 will determine it as "idle state" and control all LED lights to turn off, so that all LED lights are in an off state; when the user operates again, the control module 130 will restore the light-emitting state of the most recent operating scenario mode.

[0026] Optionally, the above-mentioned operating scenario mode, light-emitting area and light-emitting parameter group can be predefined by the software driver and written into the memory 150 of the control module 130, or can be configured by the user through a dedicated management program.

[0027] Therefore, the keyboard device 100 described in this application not only improves interactivity and convenience during use, but also enhances visual recognition and personalized experience, making it suitable for various scenarios such as gaming, office work, and creative work, and possessing broad commercial application value.

[0028] Please refer to Figure 3 As shown, this is a specific implementation step of the keyboard device executing the ambient lighting control method, which includes the following steps: Step S1: Obtain information about the currently running application from the operating system; The application detection unit 131 in the control module 130 communicates with the host operating system interface to obtain application information 140 of the currently running application in real time from system processes, foreground windows, or task management modules. The obtained application information 140 may include parameters such as program name, execution path, or window title.

[0029] Step S2: Determine whether the application information corresponds to a preset operation scenario mode; The context recognition unit 132 within the control module 130 calls a built-in correspondence table between applications and operation context modes, comparing the acquired application information 140 with preset operation context modes. This allows the unit to determine whether the currently running application corresponds to a preset operation context mode based on the application information 140. The preset operation context mode is the one defined in the correspondence table. For example, if the program is "Game 2", it matches "Game Mode"; if it is "PowerPoint.exe", it matches "Office Mode".

[0030] In an optional embodiment, the main function of the context recognition unit 132 is to determine whether the application currently running in the system corresponds to a pre-set operation context mode in order to determine the corresponding key illumination strategy.

[0031] The context recognition unit 132 integrates a set of correspondence tables between applications and operation context modes. The correspondence table can be constructed in the following way: (1) Fixed preset: The initial version is created by the manufacturer or software developer based on common applications (e.g., office applications, games, programming applications). For example: excel.exe, word.exe, and PowerPoint.exe → Map to "Office Mode" Game 1, Game 2, Game 3 → Mapped to "Game Mode" Programming Program 1 and Programming Program 2 are mapped to "Programming Modes". (2) Custom expansion: Users can customize the mapping relationship between program name and operation scenario mode through driver or setting tool, and write it into the memory 150 of the control module 130.

[0032] (3) Fuzzy matching mechanism: To improve the flexibility of recognition, the context recognition unit 132 can perform fuzzy matching based on window title, path keywords or category tags to correspond to certain irregularly named executable files. Among them, based on the string matching method, the executable file name is compared first, and if no match is found, the window title keywords are analyzed.

[0033] When the operating system starts or switches applications, the detection unit 131 transmits information about the currently running application (i.e., application information) to the context recognition unit 132 in real time. The context recognition unit 132 then calls the corresponding relationship table for quick determination. Once the corresponding operating context mode is identified, the determination result is transmitted to the light-emitting control unit 133, and the LED light source area lighting and color adjustment operations can then be performed.

[0034] This structure not only enhances the adaptability and intelligence of the system's light emission control, but also has good scalability and user customization capabilities, making it suitable for terminal devices with various different needs and scenarios.

[0035] In this step, it will be determined whether the currently running application belongs to one of the defined operation scenario modes. If a correspondence exists, proceed to step S3; otherwise, proceed to step S4.

[0036] Step S3: Based on the operation scenario mode corresponding to the application information, activate the LED light source in the corresponding button area and turn off the LED light source in the non-corresponding area; The control module 130 calls the preset LED parameter group (e.g., button area, brightness level, color data, etc.) corresponding to the operating scenario mode of the currently running application, and activates the LED emitting area corresponding to that operating scenario mode. For example, in "game mode," only the areas where function keys such as W, A, S, D, Shift, Ctrl, and Space are located are lit, while the LEDs in non-corresponding areas are turned off. It can be understood that the LED parameter group is the same as the preset parameter group.

[0037] To achieve dynamic adjustment of various colors and brightness, each LED light source contains at least two light-emitting chips with different wavelengths, such as red (630nm), green (525nm), and blue (460nm) chips, for mixing and outputting RGB color combinations. The process by which the brightness and color of the LED light source are automatically adjusted according to the operating scenario triggered by the application running in the operating system is as follows: When the context recognition unit 132 determines that the current operating system is in "game mode", the control module 130 will call the preset parameter group A in this mode: The parameter group A is predefined with the following: (1) Luminous brightness level: set to 80% (e.g., PWM duty cycle is 204 / 255); (2) Color data: taking the RGB model as an example, set to (255, 0, 0), i.e., bright red; (3) Corresponding area: W, A, S, D, Ctrl, Shift, space bar. The control module 130 can control the output signal of the LED chip driver through PWM (pulse width modulation) so that each light-emitting chip mixes light according to the set ratio to generate a preset color.

[0038] If the system switches to "office mode", the control module 130 will automatically switch to and call preset parameter group B: The parameter group B is predefined with the following: (1) luminous intensity level is 40%; (2) color data: taking the RGB model as an example, it is set to (0, 0, 255), i.e., blue; (3) the corresponding area is the function key area (F1–F12) and the arrow keys. Among them, the parameter groups A and B can be stored in the memory 150 of the control module 130; factory settings and user-defined modifications are supported.

[0039] Because each LED light source has multiple light-emitting chips with different wavelengths, it can achieve a rich combination of colors, enabling users to obtain obvious visual recognition effects in different operating scenarios, thereby improving the interactive experience.

[0040] Step S4: Turn off all LED lights; In this step, the control module 130, connected to the input module 110 (i.e., the keyboard circuit), periodically monitors user input behavior, including key presses, shortcut key combinations, or macro command triggers. The control module 130 can also call the idle time interface provided by the host operating system (Windows' GetLastInputInfo) to determine the time interval elapsed since the last user input. Furthermore, the timeout determination unit 135 of the control module 130 can be preset with an idle time threshold, for example, 5 minutes. When the input module 110 remains in a no-input state for more than this time, it automatically enters a power-saving mode. When the power-saving mode is triggered, the control module 130 will issue a shutdown command, stopping the PWM drive signals of all LED light sources, and all key areas will enter a dark state, further saving power. When the user restarts the system or presses any key after the idle state, the control module 130 automatically reads the previously saved state record, reconstructs and restores the illumination state in the last operating scenario mode, including corresponding area illumination, color restoration, and brightness matching. For example, if the user was previously in "Game Mode" with the WASD keys highlighted in red and at 80% brightness, this setting will be restored upon restarting. If the user has set a custom area for "Office Mode" (e.g., F1-F6 keys highlighted in green at 50% brightness), this setting will be retained after restarting. The restoration process is completed within milliseconds and does not affect the user's workflow. Specifically, if the shutdown reason is idle timeout, the memory state is restored; if it's due to no matching application, the control module 130 remains off, thereby improving the overall system's energy efficiency and avoiding unnecessary backlight consumption during prolonged periods of inactivity.

[0041] Step S5: End the process.

[0042] The process enters a waiting or monitoring state, continuously listening for new application information 140 changes, and repeating the above steps.

[0043] In this embodiment, since the control module 130 may be equipped with a priority management unit, it can identify and sort multiple currently running or foreground applications by combining the operating system's task management module or window focus information, and execute a lighting control strategy based on a preset context priority rule table. For example: The context recognition unit 132 confirms that at least two or more applications are currently running actively. The control module 130 retrieves the operating context mode corresponding to each application and obtains its priority setting value. Based on preset rules, such as "only enable the highest priority" or "merge by weight," it determines the currently unique or dominant light-emitting area. Finally, it calls the key area, brightness, and color parameters of the corresponding mode to control the LED light source to emit light; the remaining areas are turned off or maintain a low-light reminder state. In one embodiment, when the keyboard device 100 is applied to a laptop computer, the control module 130 is also used to detect the current power status information of the laptop computer and adjust the LED light source of the light-emitting module 120 according to the power status information. The power status information includes: the charging status of the laptop computer, battery level, or operating system power management mode. That is, the control module 130 can use the power status information as an auxiliary judgment basis for controlling the LED light-emitting strategy. Specifically, including but not limited to the following situations: (1) Charging status judgment: When the laptop is detected to be charging, the control module allows a high brightness and rich color light-emitting mode; if it is detected to be in a non-charging state (battery powered), it can automatically reduce the LED brightness or limit the light-emitting area to reduce additional power consumption. (2) Battery power judgment: The control module can obtain the current battery power (e.g., below 20%, 50%, 80%, etc.) from the operating system interface; when the power is below the set threshold, the LED light source enters the energy-saving mode (e.g., only the basic function key area is lit) to avoid excessive power consumption. (3) Power consumption mode response: If the user sets it to "energy-saving mode" in the operating system, the control module will actively turn off all or part of the light-emitting area; if it is "high performance mode", it can enable the enhanced light-emitting mode (e.g., dynamic gradient light effect) to improve the visual experience; if it is "balanced mode", it will maintain the standard light-emitting parameters of the current context mode. Through the above mechanism, this application can not only control the light-up area based on the operating scenario mode (such as game mode / office mode / custom mode), but also further sense the system power status. While ensuring the interactive effect, it also takes into account the battery life and energy efficiency optimization of the laptop, and enhances the practicality and intelligence level of keyboard backlight control.

[0044] In summary, the keyboard device and keyboard device ambient lighting control method provided in this application can automatically identify the corresponding operating scenario mode according to the currently running application, and intelligently control the LED light source of the corresponding key area to achieve dynamic adaptation and switching of brightness, color and lighting area.

[0045] Compared with the prior art, this application has the following significant advantages and beneficial effects: 1. Intelligent recognition of scene mode: Through the scene recognition unit built into the control module, it can automatically determine the current system running status and application type, making the light control more purposeful and adaptable to the usage scenario; 2. Multi-mode backlight parameter control: Each operating scenario can be set with its own set of backlight parameters, allowing for flexible adjustment of brightness levels and color data, enhancing the keyboard's visual guidance and aesthetic experience; 3. Automatic LED shutdown when the system is idle: When the system is idle for more than a predetermined time, the control module can automatically turn off all LED light sources, effectively reducing power consumption and extending the service life of the equipment; 4. Memory and Restore Function: Supports recording and restoring the light state of the last operation scenario mode, allowing users to quickly enter a familiar usage environment when using it again, enhancing the continuity of operation; 5. Priority control under multi-tasking: When multiple applications are running in parallel, the control module can automatically select the dominant scenario mode according to the preset priority strategy to avoid conflicts between different scenario lighting rules; 6. Excellent scalability and personalization: Supports user-defined lighting areas, parameters, and context priority rules, making it suitable for various complex usage needs such as gaming, office work, programming, and design.

[0046] Through the coordinated control of the above modules, this application provides a context lighting control scheme with high intelligence, fast response speed, clear visual guidance, and good energy saving and memory characteristics, which is particularly suitable for high-performance keyboard devices in modern multi-tasking operating environments.

[0047] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for controlling ambient lighting in a keyboard device, the method being applied to a keyboard device, characterized in that, The keyboard device includes: The input module has multiple independently configurable physical buttons; The light-emitting module is located below the input module and has multiple sets of LED light sources corresponding to each button. Each LED light source contains multiple light-emitting chips with different wavelengths. A control module is electrically connected to the input module and the light-emitting module. The control module contains multiple functional units, including: a detection unit for obtaining currently running application information from the operating system; a context recognition unit for comparing the application information with a preset operation context mode correspondence table to determine whether the application information corresponds to a preset operation context mode; and a light-emitting control unit for controlling the LED light source switching state of the light-emitting module based on the recognition result. The control module also includes a memory unit and a timeout determination unit. The light-emitting chips of different wavelengths are integrated into the same package and electrically connected to the control module via leads, forming an independent addressing structure. The control module is configured to implement the context-based light-emitting control method for the keyboard device, the method including: Obtain information about currently running applications from the operating system; Determine whether the application information corresponds to a preset operation scenario mode, which includes game mode, office mode, or user-defined mode; If so, the LED light source in the corresponding button area is activated and the LED light source in the non-corresponding area is turned off according to the operation scenario mode corresponding to the application information. When the operating system starts or switches applications, the detection unit will transmit the information of the currently running application in the foreground to the scenario recognition unit in real time. The scenario recognition unit will call the corresponding relationship table to make a judgment. Once the corresponding operation scenario mode is identified, the judgment result will be transmitted to the light-emitting control unit, and the LED light source area lighting and color adjustment operations can be performed thereafter. If not, turn off all LED lights; The light-emitting modules are connected to the control module via multi-channel driving. The control module sends pulse-width modulation (PWM) signals to chips of different wavelengths according to a preset operating mode, thereby achieving mixed control of brightness and color. Each LED in the light-emitting module is configured with an independent drive output channel, which outputs a PWM signal or a constant current drive signal to adjust the brightness and duty cycle of each light-emitting chip in each LED, thus mixing the target color and luminous intensity. The control module has multiple PWM control modules, each connected to the anode or gate port of the light-emitting chip corresponding to each LED, forming a one-to-one or one-to-many control architecture. The LED light source under different button areas or individual buttons has its light emission parameters adjusted. The control module records the physical buttons frequently used by the user in different applications and stores them in the memory unit. The LED light source is further adjusted to automatically optimize the light emission area. The control module is equipped with a priority management unit. Combined with the task management module of the operating system or window focus information, it identifies and sorts multiple applications that are currently running or displayed in the foreground. During operation, it periodically scans the list of currently running tasks. If multiple foreground windows are active at the same time, including split screen or virtual desktop, the application with the highest priority is selected as the dominant application according to the preset scenario priority rule table and the light emission control strategy is executed. When the operating system is in an idle state for a predetermined time, the control module controls all LED light sources to be in an off state; when exiting the idle state, if the reason for the shutdown is idle timeout, the memory unit restores the light-emitting state in the last operating scenario mode; if the reason for the shutdown is no matching application, the shutdown state is maintained.

2. The keyboard device ambient lighting control method as described in claim 1, characterized in that, The brightness and color of the LED light source are achieved by the control module calling a preset parameter group corresponding to the operation scenario mode. The parameter group includes brightness level and color data.

3. The keyboard device ambient lighting control method as described in claim 1, characterized in that, When the keyboard device is used in a laptop computer, the control module is also used to detect the current power status information of the laptop computer and adjust the LED light source according to the power status information.

4. The keyboard device ambient lighting control method as described in claim 3, characterized in that, The power status information includes the laptop's charging status, battery level, or operating system power management mode.

5. A keyboard device, characterized in that, include: The input module has multiple independently configurable physical buttons; The light-emitting module is located below the input module and has multiple sets of LED light sources corresponding to each button. Each LED light source contains multiple light-emitting chips with different wavelengths. A control module is electrically connected to the input module and the light-emitting module. The control module contains multiple functional units, including: a detection unit for obtaining currently running application information from the operating system; a context recognition unit for comparing the application information with a preset operation context mode correspondence table to determine whether the application information corresponds to the preset operation context mode; and a light-emitting control unit for controlling the LED light source switching state of the light-emitting module based on the recognition result. The control module also includes a memory unit and a timeout determination unit. The light-emitting chips of different wavelengths are integrated into the same package and electrically connected to the control module via leads, thus forming an independent addressing structure. The control module is configured to perform the keyboard device ambient lighting control method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Keyboard backlight LED lamp color mixing system

    CN104763971A

  • Backlight control method and notebook computer

    CN112578990A

  • Concentration improving method and system based on keyboard lighting effect guidance

    CN120406752A