A method and system for verifying the working state of a wireless Bluetooth keyboard
By real-time statistics on the number and position of the wireless Bluetooth keyboard key triggers and dynamically adjusting the power supply mode, the problem of large static power consumption of traditional wireless keyboards is solved, and power supply on demand and personalized response is achieved, improving the user experience.
Patent Information
- Application Number
- CN202510525181.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-04-25
AI Technical Summary
Traditional wireless keyboards adopt global power supply strategy, resulting in large static power consumption, and the power supply strategy cannot be dynamically adjusted according to user usage habits, which cannot meet personalized needs.
By counting the number of keyboard key triggers in real time, determining the key type and position coordinates, dynamically adjusting the power supply mode, dividing the keyboard into core area, expansion area and edge area, and setting the response strategies for different areas.
It realizes power supply on demand on keys, reduces static power consumption, meets users' personalized needs, and improves the experience of the keyboard in different usage scenarios.
Smart Images

Figure CN120066874B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless Bluetooth keyboards, and specifically to a method and system for verifying the working state of a wireless Bluetooth keyboard. Background Art
[0002] Traditional wireless keyboards adopt a global power supply strategy. Whether the user uses it or not, all key circuits remain activated, resulting in a relatively large static power consumption. The power consumption of frequently used keys (such as the letter area) is the same as that of infrequently used keys (such as function keys), and it is impossible to dynamically adjust according to actual needs. However, in actual use, user habits vary greatly (for example, programmers often use symbol keys, and writers frequently use letter keys), and the prior art does not optimize the power supply strategy according to individual usage habits. Summary of the Invention
[0003] The present invention provides a method and system for verifying the working state of a wireless Bluetooth keyboard, which solves the technical problems mentioned in the above background art.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] A method for verifying the working state of a wireless Bluetooth keyboard, the method comprising:
[0006] Real-time statistics of the number of times each key on the keyboard is triggered within a monitoring interval, and determining the current working state of the keyboard according to the number of trigger times, the current working state including a high-speed operation state and a low-speed operation state;
[0007] Determining the key type of each key according to the number of trigger times, the key type including high-frequency keys, medium-frequency keys, and low-frequency keys, determining the dispersion according to the position coordinates of the high-frequency keys, and dynamically adjusting the power supply mode according to the dispersion, the power supply mode including full-area power supply and sub-area power supply;
[0008] When the power supply mode is sub-area power supply, the keyboard is divided into a core area, an extended area, and an edge area according to the key type and position coordinates, and different response strategies are set for the keys in different areas.
[0009] As a further technical solution of the present invention, the step of real-time statistics of the number of times each key on the keyboard is triggered within a monitoring interval, and determining the current working state of the keyboard according to the number of trigger times, the current working state including a high-speed operation state and a low-speed operation state includes:
[0010] Real-time statistics of the number of times each key on the keyboard is triggered within a monitoring interval, the monitoring interval being a time interval with the current moment as the end point and a preset duration as the interval length;
[0011] Statistical sum of the number of times all keys on the entire keyboard are triggered within the monitoring interval;
[0012] Determine the current working state of the keyboard according to the sum of the trigger times. When the sum of the trigger times is greater than the preset trigger times, it is determined that the current working state includes a high-speed operation state; otherwise, it is a low-speed operation state.
[0013] As a further technical solution of the present invention, the steps of determining the key type of each key according to the trigger times, where the key types include high-frequency keys, medium-frequency keys, and low-frequency keys, determining the dispersion according to the position coordinates of the high-frequency keys, and dynamically adjusting the power supply mode according to the dispersion, and the power supply mode includes full-area power supply and sub-area power supply are as follows:
[0014] Determine the key type of each key in the monitoring interval according to the trigger times of each key on the keyboard in the monitoring interval. The key types include high-frequency keys, medium-frequency keys, and low-frequency keys;
[0015] Determine the position coordinates of each key on the keyboard. The position coordinates of each key are represented by (x, y), where x is the position in the width direction of the keyboard and y is the position in the length direction of the keyboard;
[0016] Obtain the position coordinates of the high-frequency keys and determine the dispersion according to the position coordinates of the high-frequency keys;
[0017] Dynamically adjust the power supply mode according to the dispersion. When the dispersion is greater than the preset dispersion threshold, it is determined that the power supply mode is full-area power supply. When in full-area power supply, all keys on the keyboard are in a continuously activated power supply state and respond in real time; when the dispersion is not greater than the preset dispersion threshold, it is determined that the power supply mode is sub-area power supply.
[0018] As a further technical solution of the present invention, the calculation methods of the dispersion include the standard deviation method and the entropy method.
[0019] As a further technical solution of the present invention, the steps of dividing the keyboard into a core area, an extended area, and an edge area according to the key type and position coordinates and setting different response strategies for the keys in different areas when the power supply mode is sub-area power supply are as follows:
[0020] Obtain user habit data. The habit data types include work input data and game input data, and the habit data includes the user's historical high-frequency input keys and the historical core area;
[0021] Calculate the coincidence degrees of the high-frequency keys with the user's historical high-frequency input keys corresponding to the work input data and the game input data respectively, and match to obtain the target habit data type, where the coincidence degree of the user's historical high-frequency input keys in the target habit data type exceeds the preset coincidence threshold;
[0022] Obtain the historical core area corresponding to the target habit data type as the core area of the current keyboard, so that the keys in the core area are in a continuously activated power supply state and respond in real time;
[0023] Divide the keyboard into multiple sub-areas, including a letter area, a numeric key area, a function key area, and a multimedia key area. The letter area, the numeric key area, the function key area, and the multimedia key area constitute the entire keyboard area;
[0024] Count the number of high-frequency keys and medium-frequency keys in each sub-area. When the number of medium-frequency keys in a sub-area exceeds a preset number and this sub-area does not include high-frequency keys, determine this sub-area as an extended area; when the number of medium-frequency keys in a sub-area exceeds a preset number and this sub-area includes high-frequency keys, determine the other area in this sub-area except the core area as an extended area, so that the keys in the extended area are in an intermittent sleep power supply state, and determine the intermittent wake-up duration according to the current working state;
[0025] When a sub-area does not include high-frequency keys and medium-frequency keys, determine this sub-area as an edge area, so that the keys in the edge area are in a deep sleep state, such as only responding to a long press to wake up.
[0026] Another object of the present invention is to provide a verification system for the working state of a wireless Bluetooth keyboard. The system includes:
[0027] A working state determination module, which is used to count the number of trigger times of each key on the keyboard in the monitoring interval in real time, and determine the current working state of the keyboard according to the trigger times. The current working state includes a high-speed operation state and a low-speed operation state;
[0028] A power supply mode adjustment module, which is used to determine the key type of each key according to the trigger times. The key types include high-frequency keys, medium-frequency keys, and low-frequency keys. Determine the dispersion according to the position coordinates of the high-frequency keys, and dynamically adjust the power supply mode according to the dispersion. The power supply mode includes full-area power supply and sub-area power supply;
[0029] A region delineation module, which is used to divide the keyboard into a core area, an extended area, and an edge area according to the key type and position coordinates when the power supply mode is sub-area power supply, and set different response strategies for the keys in different regions.
[0030] As a further technical solution of the present invention, the power supply mode adjustment module includes:
[0031] A key type determination unit, which is used to determine the key type of each key in the monitoring interval according to the number of trigger times of each key on the keyboard in the monitoring interval. The key types include high-frequency keys, medium-frequency keys, and low-frequency keys;
[0032] A key position determination unit for determining the position coordinates of each key on the keyboard. The position coordinates of each key are represented by (x, y), where x is the position in the width direction of the keyboard and y is the position in the length direction of the keyboard;
[0033] A dispersion calculation unit for obtaining the position coordinates of high-frequency keys and determining the dispersion according to the position coordinates of the high-frequency keys;
[0034] A power supply mode determination unit for dynamically adjusting the power supply mode according to the dispersion. When the dispersion is greater than a preset dispersion threshold, the power supply mode is determined to be full-region power supply; when the dispersion is not greater than the preset dispersion threshold, the power supply mode is determined to be sub-region power supply.
[0035] As a further technical solution of the present invention, the area delimitation module includes:
[0036] A habit data acquisition unit for acquiring user habit data. The types of habit data include work input data and game input data. The habit data includes the user's historical high-frequency input keys and historical core areas. Usually, the user's historical high-frequency input keys and historical core areas corresponding to work input data and game input data are different;
[0037] A coincidence degree calculation unit for respectively calculating the coincidence degrees of the high-frequency keys with the user's historical high-frequency input keys corresponding to work input data and game input data, and matching to obtain the target habit data type, in which the coincidence degree of the user's historical high-frequency input keys exceeds a preset coincidence threshold;
[0038] A core area determination unit for obtaining the historical core area corresponding to the target habit data type as the core area of the current keyboard, so that the keys in the core area are in a continuously activated power supply state and respond in real time, such as letter keys, number keys, and some common function keys;
[0039] An area division unit for dividing the keyboard into multiple sub-areas, including a letter area, a number key area, a function key area, and a multimedia key area. The letter area, the number key area, the function key area, and the multimedia key area constitute the entire keyboard area;
[0040] An extended area determination unit for counting the number of high-frequency keys and medium-frequency keys in each sub-area. When the number of medium-frequency keys in a sub-area exceeds a preset number and this sub-area does not include high-frequency keys, this sub-area is determined to be an extended area; when the number of medium-frequency keys in a sub-area exceeds a preset number and this sub-area includes high-frequency keys, other areas in this sub-area except the core area are determined to be extended areas, so that the keys in the extended area are in an intermittent sleep power supply state, and the intermittent wake-up duration is determined according to the current working state;
[0041] An edge area determination unit is configured to determine a sub - area as an edge area when it does not include high - frequency keys and medium - frequency keys, so that the keys in the edge area are in a deep sleep state, such as only responding to a long - press wake - up.
[0042] Compared with the prior art, the beneficial effects of the present invention are as follows: The present invention provides a method and a system for verifying the working state of a wireless Bluetooth keyboard. In the present invention, the current working state of the keyboard and the key types of each key are determined according to the real - time statistics of the trigger times of each key in the keyboard within a monitoring interval. The key types include high - frequency keys, medium - frequency keys, and low - frequency keys. The dispersion degree is determined according to the position coordinates of the high - frequency keys, and the power supply mode is dynamically adjusted according to the dispersion degree. The power supply mode includes full - area power supply and sub - area power supply. When sub - area power supply is adopted, the keyboard is divided into a core area, an extended area, and an edge area according to the key type and position coordinates, and different response strategies are set for the keys in different areas. The present invention not only considers the energy - saving requirements but also ensures the user experience in different usage scenarios, realizing personalized customization. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is an overall flow block diagram of a method for verifying the working state of a wireless Bluetooth keyboard.
[0044] Figure 2 It is a flow block diagram for determining the power supply mode in a method for verifying the working state of a wireless Bluetooth keyboard.
[0045] Figure 3 It is a flow block diagram of the area - division step in a method for verifying the working state of a wireless Bluetooth keyboard.
[0046] Figure 4 It is a structural block diagram of a system for verifying the working state of a wireless Bluetooth keyboard. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0047] In order to make the technical problems, technical solutions, and beneficial effects to be solved by the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0048] As Figures 1 to 4 shown, an embodiment of the present invention provides a method for verifying the working state of a wireless Bluetooth keyboard. The method includes:
[0049] Step S100: Real - time statistics of the trigger times of each key in the keyboard within a monitoring interval, and determining the current working state of the keyboard according to the trigger times. The current working state includes a high - speed operation state and a low - speed operation state;
[0050] Step S100 specifically includes: statistically counting the number of times each key on the keyboard is triggered within the monitoring interval in real time. The monitoring interval refers to a time interval with the current moment as the end point and a preset duration as the interval length. The preset duration can be one minute, five minutes, 10 minutes, etc.; statistically counting the sum of the number of times all keys on the entire keyboard are triggered within the monitoring interval; determining the current working state of the keyboard according to the sum of the trigger times. When the sum of the trigger times is greater than the preset trigger times, it is determined that the current working state includes a high-speed operation state, otherwise it is a low-speed operation state;
[0051] Step S200, determining the key type of each key according to the trigger times. The key types include high-frequency keys, medium-frequency keys, and low-frequency keys. Determining the dispersion according to the position coordinates of the high-frequency keys, and dynamically adjusting the power supply mode according to the dispersion. The power supply mode includes full-area power supply and sub-area power supply. In the full-area power supply, all keys on the keyboard are in a continuously activated power supply state and respond in real time. In the sub-area power supply, some keys on the keyboard are in a continuously activated power supply state;
[0052] Step S300, when the power supply mode is sub-area power supply, dividing the keyboard into a core area, an extended area, and an edge area according to the key type and position coordinates, and setting different response strategies for the keys in different areas.
[0053] In the present invention, the current working state of the keyboard and the key types of each key are determined by statistically counting the number of times each key on the keyboard is triggered within the monitoring interval in real time. The key types include high-frequency keys, medium-frequency keys, and low-frequency keys. The dispersion is determined according to the position coordinates of the high-frequency keys, and the power supply mode is dynamically adjusted according to the dispersion. The power supply mode includes full-area power supply and sub-area power supply. When in sub-area power supply, the keyboard is divided into a core area, an extended area, and an edge area according to the key type and position coordinates, and different response strategies are set for the keys in different areas. The present invention not only considers the energy-saving requirements but also ensures the user experience in different usage scenarios, realizing personalized customization.
[0054] Please refer to Figure 2 As a preferred embodiment of the present invention, the step of determining the key type of each key according to the trigger times, where the key types include high-frequency keys, medium-frequency keys, and low-frequency keys, determining the dispersion according to the position coordinates of the high-frequency keys, and dynamically adjusting the power supply mode according to the dispersion, where the power supply mode includes full-area power supply and sub-area power supply, includes:
[0055] Step S201, determining the key type of each key within the monitoring interval according to the number of times each key on the keyboard is triggered within the monitoring interval. The key types include high-frequency keys (such as more than 10 times / minute), medium-frequency keys (1 - 10 times / minute), and low-frequency keys (such as less than 1 time / minute);
[0056] Step S202: Determine the position coordinates of each key on the keyboard. The position coordinates of each key are represented as (x, y), where x is the position in the width direction of the keyboard and y is the position in the length direction of the keyboard. To eliminate the influence of keyboard size and resolution, the coordinates of all keys can also be normalized to the range of 0 to 1. For example, if the width of the keyboard is W and the length is L, the normalized coordinates of the key (x, y) are (x / W, y / L).
[0057] Step S203: Obtain the position coordinates of the high-frequency keys and determine the dispersion degree according to the position coordinates of the high-frequency keys. Among them, the dispersion degree can be calculated in various ways, such as the standard deviation method and the entropy method. Standard deviation method: Calculate the standard deviation of the high-frequency key coordinates in the x direction and the y direction. The larger the standard deviation, the more dispersed the keys are distributed in the corresponding direction. The standard deviations in the x and y directions can be calculated separately, and then combined into a comprehensive index (such as the average value or weighted sum). Entropy method: Divide the keyboard into multiple small areas (letter area, numeric key area, function key area, and multimedia key area), count the number of high-frequency keys in each small area, calculate the proportion of the number of high-frequency keys in each small area to the total number of high-frequency keys, and calculate the entropy value according to the entropy formula. The larger the entropy, the more uniform the key distribution is, that is, the higher the dispersion degree.
[0058] Step S204: Dynamically adjust the power supply mode according to the dispersion degree. When the dispersion degree is greater than the preset dispersion threshold, it is determined that the power supply mode is full-area power supply. When in full-area power supply, all keys on the keyboard are in a continuously activated power supply state and respond in real time. When the dispersion degree is not greater than the preset dispersion threshold, it is determined that the power supply mode is area-by-area power supply.
[0059] Please refer to Figure 3 , as a preferred embodiment of the present invention, the step of dividing the keyboard into a core area, an extended area, and an edge area according to the key type and position coordinates and setting different response strategies for the keys in different areas when the power supply mode is area-by-area power supply includes:
[0060] Step S301: Obtain user habit data. The types of habit data include work input data and game input data. The habit data includes the user's historical high-frequency input keys and historical core areas. Usually, the user's historical high-frequency input keys and historical core areas corresponding to work input data and game input data are different.
[0061] Step S302: Calculate the coincidence degree between the high-frequency keys and the user's historical high-frequency input keys corresponding to the working input data and the game input data respectively. The coincidence degree = the sum of the number of coincident keys / the sum of the number of the user's historical high-frequency input keys, and match to obtain the target habit data type, where the coincidence degree of the user's historical high-frequency input keys in the target habit data type exceeds the preset coincidence threshold.
[0062] Step S303: Obtain the historical core area corresponding to the target habit data type as the core area of the current keyboard, so that the keys in the core area are in a continuously activated power supply state and respond in real time, such as letter keys, number keys, and some common function keys.
[0063] Step S304: Divide the keyboard into multiple sub-areas, including the letter area, the number key area, the function key area, and the multimedia key area. The letter area, the number key area, the function key area, and the multimedia key area constitute the entire keyboard area.
[0064] Step S305: Count the number of high-frequency keys and medium-frequency keys in each sub-area. When the number of medium-frequency keys in the sub-area exceeds the preset number and this sub-area does not include high-frequency keys, determine this sub-area as the expansion area; when the number of medium-frequency keys in the sub-area exceeds the preset number and this sub-area includes high-frequency keys, determine the other areas in this sub-area except the core area as the expansion area, so that the keys in the expansion area are in an intermittent sleep power supply state, and determine the intermittent wake-up duration according to the current working state. When the current working state is a high-speed operation state, the intermittent duration is shorter; when it is a low-speed operation state, the intermittent wake-up duration is longer. The "predicted wake-up" mechanism can also be adopted to dynamically shorten the wake-up interval according to the input rhythm (that is, the sum of the keyboard trigger times within the current unit time, and the current unit time can be 1 second or other shorter preset durations).
[0065] Step S306: When the sub-area does not include high-frequency keys and medium-frequency keys, determine this sub-area as the edge area, so that the keys in the edge area are in a deep sleep state, such as only responding to long-press wake-up. In actual use, the expansion area can be removed, and the keyboard can be directly divided into the core area and the edge area.
[0066] When the target habit data type is not matched; divide the keyboard into multiple sub-areas, including the letter area, the number key area, the function key area, and the multimedia key area; form the core area according to the positions of the high-frequency keys; then determine the expansion area and the edge area using the same principle as when there is a target habit data type above; the keyboard is powered on for the entire area when it starts to be used. When the keyboard of the present invention is in use, a display lamp is set at each key. The keys in the core area can continuously light up, the keys in the expansion area can intermittently light up, and the keys in the edge area do not light up.
[0067] Please refer to Figure 4, Another object of the present invention is to provide a verification system for the working state of a wireless Bluetooth keyboard, and the system includes:
[0068] A working state determination module 100, configured to count in real time the number of times each key on the keyboard is triggered within a monitoring interval, and determine the current working state of the keyboard according to the number of trigger times. The current working state includes a high-speed operation state and a low-speed operation state;
[0069] A power supply mode adjustment module 200, configured to determine the key type of each key according to the number of trigger times. The key types include high-frequency keys, medium-frequency keys, and low-frequency keys. Determine the dispersion according to the position coordinates of the high-frequency keys, and dynamically adjust the power supply mode according to the dispersion. The power supply mode includes full-area power supply and sub-area power supply;
[0070] A region delineation module 300, configured to divide the keyboard into a core area, an extended area, and an edge area according to the key type and position coordinates when the power supply mode is sub-area power supply, and set different response strategies for the keys in different regions.
[0071] As a preferred embodiment of the present invention, the power supply mode adjustment module 200 includes:
[0072] A key type determination unit, configured to determine the key type of each key in the monitoring interval according to the number of times each key on the keyboard is triggered within the monitoring interval. The key types include high-frequency keys, medium-frequency keys, and low-frequency keys;
[0073] A key position determination unit, configured to determine the position coordinates of each key on the keyboard. The position coordinates of each key are represented by (x, y), where x is the position in the width direction of the keyboard and y is the position in the length direction of the keyboard;
[0074] A dispersion calculation unit, configured to obtain the position coordinates of the high-frequency keys and determine the dispersion according to the position coordinates of the high-frequency keys;
[0075] A power supply mode determination unit, configured to dynamically adjust the power supply mode according to the dispersion. When the dispersion is greater than a preset dispersion threshold, it is determined that the power supply mode is full-area power supply; when the dispersion is not greater than the preset dispersion threshold, it is determined that the power supply mode is sub-area power supply.
[0076] As a preferred embodiment of the present invention, the region delineation module 300 includes:
[0077] A habit data acquisition unit, configured to acquire user habit data. The habit data types include work input data and game input data. The habit data includes the user's historical high-frequency input keys and historical core areas. Usually, the user's historical high-frequency input keys and historical core areas corresponding to work input data and game input data are different;
[0078] A coincidence degree calculation unit, which is used to calculate the coincidence degrees of high-frequency keys with the user's historical high-frequency input keys corresponding to the work input data and the game input data respectively. The coincidence degree = the sum of the numbers of coincident keys / the sum of the numbers of the user's historical high-frequency input keys, and the target habit data type is obtained by matching, and the coincidence degree of the user's historical high-frequency input keys in the target habit data type exceeds a preset coincidence threshold;
[0079] A core area determination unit, which is used to obtain the historical core area corresponding to the target habit data type as the core area of the current keyboard, so that the keys in the core area are in a continuously activated power supply state and respond in real time, such as letter keys, number keys, and some common function keys;
[0080] A region division unit, which is used to divide the keyboard into multiple sub-regions, including a letter region, a number key region, a function key region, and a multimedia key region. The letter region, the number key region, the function key region, and the multimedia key region constitute the entire keyboard region;
[0081] An extended area determination unit, which is used to count the numbers of high-frequency keys and medium-frequency keys in each sub-region. When the number of medium-frequency keys in a sub-region exceeds a preset number and this sub-region does not include high-frequency keys, it is determined that this sub-region is an extended area; when the number of medium-frequency keys in a sub-region exceeds a preset number and this sub-region includes high-frequency keys, it is determined that other regions in this sub-region except the core area are extended areas, so that the keys in the extended area are in an intermittent sleep power supply state, and the intermittent wake-up duration is determined according to the current working state. When the current working state is a high-speed operation state, the intermittent duration is shorter, and when it is a low-speed operation state, the intermittent wake-up duration is longer; The "predicted wake-up" mechanism can also be adopted to dynamically shorten the wake-up interval according to the input rhythm (that is, the sum of the keyboard trigger times within the current unit time, and the current unit time can be 1 second or other shorter preset durations);
[0082] An edge area determination unit, which is used to determine that this sub-region is an edge area when the sub-region does not include high-frequency keys and medium-frequency keys, so that the keys in the edge area are in a deep sleep state, such as only responding to a long press to wake up. In actual use, the extended area can be removed, and the keyboard can be directly divided into a core area and an edge area;
[0083] When the target habit data type is not obtained by matching; the keyboard is divided into multiple sub-regions, including a letter region, a number key region, a function key region, and a multimedia key region; the core area is formed according to the positions of the high-frequency keys; then the extended area and the edge area are determined by the same principle as when there is a target habit data type above; The keyboard is powered on for the entire area when it starts to be used.
[0084] It should be noted that in this text, the term "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements not only includes those elements but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or device that includes such element.
[0085] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A method for verifying the working state of a wireless Bluetooth keyboard, characterized in that, The method includes: Statistically counting the number of times each key on the keyboard is triggered within a monitoring interval in real time, and determining the current working state of the keyboard according to the number of trigger times. The current working state includes a high-speed operation state and a low-speed operation state; Determining the key type of each key according to the number of trigger times. The key types include high-frequency keys, medium-frequency keys, and low-frequency keys. Determining the dispersion according to the position coordinates of the high-frequency keys, and dynamically adjusting the power supply mode according to the dispersion. The power supply mode includes full-region power supply and sub-region power supply; When the power supply mode is sub-region power supply, dividing the keyboard into a core area, an extended area, and an edge area according to the key type and position coordinates, and setting different response strategies for the keys in different areas; The step of dividing the keyboard into a core area, an extended area, and an edge area according to the key type and position coordinates, and setting different response strategies for the keys in different areas when the power supply mode is sub-region power supply includes: Obtaining user habit data. The habit data types include work input data and game input data. The habit data includes the user's historical high-frequency input keys and the historical core area; Calculating the coincidence degree between the high-frequency keys and the user's historical high-frequency input keys corresponding to the work input data and the game input data respectively, and matching to obtain the target habit data type; Obtaining the historical core area corresponding to the target habit data type as the current core area of the keyboard, so that the keys in the core area are in a continuously activated power supply state and respond in real time; Dividing the keyboard into multiple sub-areas, including a letter area, a numeric key area, a function key area, and a multimedia key area. The letter area, the numeric key area, the function key area, and the multimedia key area constitute the entire keyboard area; Statistically counting the number of high-frequency keys and medium-frequency keys in each sub-area. When the number of medium-frequency keys in a sub-area exceeds a preset number and this sub-area does not include high-frequency keys, determining this sub-area as the extended area; when the number of medium-frequency keys in a sub-area exceeds a preset number and this sub-area includes high-frequency keys, determining the other areas except the core area in this sub-area as the extended area, so that the keys in the extended area are in an intermittent sleep power supply state, and determining the intermittent wake-up duration according to the current working state; When a sub-area does not include high-frequency keys and medium-frequency keys, determining this sub-area as the edge area, so that the keys in the edge area are in a deep sleep state.
2. The verification method for the working state of a wireless Bluetooth keyboard according to claim 1, characterized in that The step of statistically counting the number of times each key on the keyboard is triggered within a monitoring interval in real time, and determining the current working state of the keyboard according to the number of trigger times. The current working state includes a high-speed operation state and a low-speed operation state includes: Statistically counting the number of times each key on the keyboard is triggered within a monitoring interval in real time. The monitoring interval refers to a time interval with the current moment as the end point and a preset duration as the interval length; Statistically counting the sum of the number of times all keys on the entire keyboard are triggered within the monitoring interval; Determining the current working state of the keyboard according to the sum of the number of trigger times. When the sum of the number of trigger times is greater than a preset number of trigger times, determining that the current working state includes a high-speed operation state, otherwise it is a low-speed operation state.
3. A method for verifying the working state of a wireless Bluetooth keyboard according to claim 1, characterized in that, Determining the key type of each key according to the number of trigger times, where the key types include high-frequency keys, medium-frequency keys, and low-frequency keys, determining the dispersion according to the position coordinates of the high-frequency keys, and dynamically adjusting the power supply mode according to the dispersion, where the power supply mode includes full-region power supply and sub-region power supply, the steps include: Determining the key type of each key in the keyboard within the monitoring interval according to the number of trigger times of each key in the monitoring interval, where the key types include high-frequency keys, medium-frequency keys, and low-frequency keys; Determining the position coordinates of each key in the keyboard, where the position coordinates of each key are represented by (x, y), where x is the position in the width direction of the keyboard and y is the position in the length direction of the keyboard; Obtaining the position coordinates of the high-frequency keys and determining the dispersion according to the position coordinates of the high-frequency keys; Dynamically adjusting the power supply mode according to the dispersion. When the dispersion is greater than the preset dispersion threshold, it is determined that the power supply mode is full-region power supply; when the dispersion is not greater than the preset dispersion threshold, it is determined that the power supply mode is sub-region power supply.
4. The verification method for the working state of a wireless Bluetooth keyboard according to claim 3, wherein The calculation method of the dispersion includes the standard deviation method and the entropy method.
5. A verification system for the working state of a wireless Bluetooth keyboard, characterized in that, The system includes: A working state determination module, configured to count in real time the number of trigger times of each key in the keyboard within the monitoring interval, and determine the current working state of the keyboard according to the number of trigger times, where the current working state includes a high-speed operation state and a low-speed operation state; A power supply mode adjustment module, configured to determine the key type of each key according to the number of trigger times, where the key types include high-frequency keys, medium-frequency keys, and low-frequency keys, determine the dispersion according to the position coordinates of the high-frequency keys, and dynamically adjust the power supply mode according to the dispersion, where the power supply mode includes full-region power supply and sub-region power supply; A region delineation module, configured to, when the power supply mode is sub-region power supply, divide the keyboard into a core region, an extended region, and a peripheral region according to the key type and the position coordinates, and set different response strategies for the keys in different regions; The region delineation module includes: A habit data acquisition unit, configured to acquire user habit data, where the habit data types include work input data and game input data, and the habit data includes the user's historical high-frequency input keys and the historical core region; A coincidence degree calculation unit, configured to calculate the coincidence degree between the high-frequency keys and the user's historical high-frequency input keys corresponding to the work input data and the game input data respectively, and match to obtain the target habit data type; A core region determination unit, configured to obtain the historical core region corresponding to the target habit data type as the current core region of the keyboard, so that the keys in the core region are in a continuously activated power supply state and respond in real time; A region division unit, configured to divide the keyboard into multiple sub-regions, including a letter region, a numeric key region, a function key region, and a multimedia key region, where the letter region, the numeric key region, the function key region, and the multimedia key region constitute the entire keyboard region; An extended area determination unit, configured to count the number of high-frequency keys and medium-frequency keys in each sub-region. When the number of medium-frequency keys in a sub-region exceeds a preset number and this sub-region does not include high-frequency keys, determine this sub-region as an extended area; when the number of medium-frequency keys in a sub-region exceeds a preset number and this sub-region includes high-frequency keys, determine other regions in this sub-region except the core area as an extended area, so that the keys in the extended area are in an intermittent sleep power supply state, and determine the intermittent wake-up duration according to the current working state; An edge area determination unit, configured to determine this sub-region as an edge area when the sub-region does not include high-frequency keys and medium-frequency keys, so that the keys in the edge area are in a deep sleep state.
6. The verification system for the working state of a wireless Bluetooth keyboard according to claim 5, characterized in that The power supply mode adjustment module includes: A key type determination unit, configured to determine the key type of each key in the monitoring interval according to the number of trigger times of each key in the keyboard during the monitoring interval. The key types include high-frequency keys, medium-frequency keys, and low-frequency keys; A key position determination unit, configured to determine the position coordinates of each key in the keyboard. The position coordinates of each key are represented by (x, y), where x is the position in the width direction of the keyboard and y is the position in the length direction of the keyboard; A dispersion calculation unit, configured to obtain the position coordinates of the high-frequency keys and determine the dispersion according to the position coordinates of the high-frequency keys; A power supply mode determination unit, configured to dynamically adjust the power supply mode according to the dispersion. When the dispersion is greater than a preset dispersion threshold, determine the power supply mode as full-region power supply; when the dispersion is not greater than the preset dispersion threshold, determine the power supply mode as sub-region power supply.
Citation Information
Patent Citations
Touch screen low-power-consumption mode switching method, device and equipment
CN119376520A
Cited By
A multi-function key counting method based on microcontroller
CN122387778A