Method and system for checking working state of wireless Bluetooth keyboard
By real-time statistics on the number of triggers and position coordinates of each key of the wireless Bluetooth keyboard, and dynamically adjusting the power supply mode and response strategy, the problem of large static power consumption and inability to personalize the customization of traditional wireless keyboards is solved, achieving efficient energy saving and personalized experience.
Patent Information
- Application Number
- CN202510525181.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2045-04-25
AI Technical Summary
Traditional wireless keyboards adopt global power supply strategy, resulting in large static power consumption and the inability to dynamically adjust the power supply strategy according to the user's individual usage habits.
By counting the number of triggers of each key in real time, determining the current working status and key type of the keyboard, determining the dispersion according to the position coordinates of high-frequency keys, dynamically adjusting the power supply mode, including full-area power supply and sub-area power supply, and dividing the core area, expansion area and edge area according to the key type and position, setting different response strategies.
It realizes the power supply mode of the wireless Bluetooth keyboard dynamically adjusts the user's personal usage habits, which not only takes into account the energy saving needs, but also ensures the user's experience in different usage scenarios, and realizes personalized customization.
Smart Images

Figure CN120066874A_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 to solve the technical problems mentioned in the above background art.
[0004] To achieve the above object, the present invention provides the following technical solutions: A method for verifying the working state of a wireless Bluetooth keyboard, the method comprising: Real-time statistics of the trigger times of each key on the keyboard within a monitoring interval, and determining the current working state of the keyboard according to the trigger times, the current working state including a high-speed operation state and a low-speed operation state; Determining the key type of each key according to the 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; 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.
[0005] As a further technical solution of the present invention, the step of real-time statistics of the trigger times of each key on the keyboard within a monitoring interval, and determining the current working state of the keyboard according to the trigger times, the current working state including a high-speed operation state and a low-speed operation state includes: Real-time statistics of the trigger times of each key on the keyboard 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; Statistical sum of the trigger times of all keys on the entire keyboard 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 a preset trigger time, it is determined that the current working state includes a high-speed operation state, otherwise it is a low-speed operation state.
[0006] As a further technical solution of the present invention, the steps of 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-area power supply and sub-area power supply, are as follows: 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, where the key types include high-frequency keys, medium-frequency keys, and low-frequency keys; Determine the position coordinates of each key on the keyboard, and 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; Obtain the position coordinates of the high-frequency keys, and determine the dispersion according to the position coordinates of the high-frequency keys; 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. 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.
[0007] As a further technical solution of the present invention, the calculation methods of the dispersion include the standard deviation method and the entropy method.
[0008] 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: Obtain 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 area; 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; Obtain 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; Divide the keyboard into multiple sub-areas, including the letter area, the numeric key area, the function key area, and the multimedia key area, and the letter area, the numeric key area, the function key area, and the multimedia key area constitute the entire keyboard area; Count the number of high-frequency buttons and medium-frequency buttons in each sub-region. When the number of medium-frequency buttons in a sub-region exceeds a preset number and this sub-region does not include high-frequency buttons, determine this sub-region as an extended area; when the number of medium-frequency buttons in a sub-region exceeds a preset number and this sub-region includes high-frequency buttons, determine the other areas in this sub-region except the core area as an extended area, so that the buttons 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; When a sub-region does not include high-frequency buttons and medium-frequency buttons, determine this sub-region as an edge area, so that the buttons in the edge area are in a deep sleep state, such as only responding to a long press to wake up.
[0009] 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: A working state determination module, configured to count the number of triggers of each button in the keyboard within a monitoring interval in real time, and determine the current working state of the keyboard according to the number of triggers, 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 button type of each button according to the number of triggers, the button types include high-frequency buttons, medium-frequency buttons and low-frequency buttons, determine the dispersion according to the position coordinates of the high-frequency buttons, and dynamically adjust the power supply mode according to the dispersion, and the power supply mode includes full-region power supply and sub-region power supply; A region delineation module, configured to divide the keyboard into a core area, an extended area and an edge area according to the button type and position coordinates when the power supply mode is sub-region power supply, and set different response strategies for the buttons in different regions.
[0010] As a further technical solution of the present invention, the power supply mode adjustment module includes: A button type determination unit, configured to determine the button type of each button in the monitoring interval according to the number of triggers of each button in the keyboard within the monitoring interval, and the button types include high-frequency buttons, medium-frequency buttons and low-frequency buttons; A button position determination unit, configured to determine the position coordinates of each button in the keyboard, and the position coordinates of each button 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 buttons and determine the dispersion according to the position coordinates of the high-frequency buttons; 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.
[0011] As a further technical solution of the present invention, the area delimitation module includes: 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. A coincidence degree calculation unit for respectively calculating the coincidence degree between the high-frequency keys and 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 in the target habit data type exceeds a preset coincidence threshold. 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. 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. 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, it is determined that this sub-area is 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, it is determined that the other areas in this sub-area 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. An edge area determination unit for determining that this sub-area is an edge area when the sub-area 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.
[0012] Compared with the prior art, the beneficial effects of the present invention are: The present invention provides a method and 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 on the keyboard within the 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 used, 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. Description of the Drawings
[0013] Figure 1 It is an overall flowchart of a method for verifying the working state of a wireless Bluetooth keyboard.
[0014] Figure 2 It is a flowchart of determining the power supply mode in a method for verifying the working state of a wireless Bluetooth keyboard.
[0015] Figure 3 It is a flowchart of the area division step in a method for verifying the working state of a wireless Bluetooth keyboard.
[0016] 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 Invention
[0017] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the 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.
[0018] 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, and the method includes: Step S100, statistically count the number of times each key on the keyboard is triggered within a monitoring interval in real time, 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; Step S100 specifically includes: statistically count 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. Among them, the preset duration can be one minute, five minutes or 10 minutes, etc.; count the sum of the number of times all keys on the entire keyboard are triggered within the monitoring interval; determine 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, it is determined that the current working state includes a high-speed operation state, otherwise it is a low-speed operation state; Step S200, determine the key type of each key according to the number of trigger times. The key type includes 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. 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 in sub-area power supply, some keys on the keyboard are in a continuously activated power supply state; Step S300: When the power supply mode is zonal power supply, divide the keyboard into a core area, an extended area, and an edge area according to the key type and position coordinates, and set different response strategies for the keys in different areas.
[0019] In the present invention, the current working state of the keyboard and the key types of each key are determined according to the number of trigger times of each key on the keyboard 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 zonal power supply. When zonal 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.
[0020] Please refer to Figure 2 , as a preferred embodiment 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, where the power supply mode includes full-area power supply and zonal power supply, include: Step S201: Determine the key type of each key within the monitoring interval according to the number of trigger times of each key on the keyboard within the monitoring interval. The key types include high-frequency keys (such as more than 10 times per minute), medium-frequency keys (1 - 10 times per minute), and low-frequency keys (such as less than 1 time per minute); Step S202: 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; To eliminate the influence of the 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); 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 y-direction. The larger the standard deviation, the more dispersed the distribution of the keys 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 distribution of the keys, that is, the higher the dispersion degree; 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 the 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 sub-area power supply.
[0021] 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 sub-area power supply includes: 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; Step S302: 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 game input data respectively. Coincidence degree = sum of the number of coincident keys / sum of the number of user's historical high-frequency input keys, and match to obtain the target habit data type, in which the coincidence degree of the user's historical high-frequency input keys in the target habit data type exceeds the preset coincidence threshold; Step S303: Obtain 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, such as letter keys, numeric keys, and some common function keys; Step S304: Divide the keyboard into multiple sub-areas, including the letter area, numeric key area, function key area, and multimedia key area. The letter area, numeric key area, function key area, and multimedia key area constitute the entire keyboard area; Step S305: 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 the other areas 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. 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). Step S306: When a sub-region does not include high-frequency keys and medium-frequency keys, determine this sub-region 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. In actual use, the extended area can be removed, and the keyboard can be directly divided into a core area and an edge area. When the target habit data type is not matched; divide the keyboard into multiple sub-regions, including a letter area, a numeric key area, a function key area, and a multimedia key area; form a core area according to the positions of the high-frequency keys; then use the same principle as when there is a target habit data type to determine the extended area and the edge area; 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 extended area can intermittently light up, and the keys in the edge area do not light up.
[0022] 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. The system includes: A working state determination module 100, which is used to count the trigger times of each key in the keyboard within 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; A power supply mode adjustment module 200, 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 modes include full-area power supply and sub-area power supply; A region delineation module 300, 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.
[0023] As a preferred embodiment of the present invention, the power supply mode adjustment module 200 includes: A key type determination unit, configured to determine the key type of each key on the keyboard according to the number of trigger times of each key on the keyboard within 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 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; 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, 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.
[0024] As a preferred embodiment of the present invention, the area delineation module 300 includes: A habit data acquisition unit, configured to acquire 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 the historical core area. Usually, the user's historical high-frequency input keys and the historical core area corresponding to the work input data and the game input data are different; 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. 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 the target habit data type, in which the coincidence degree of the user's historical high-frequency input keys in the target habit data type exceeds a preset coincidence threshold; A core area determination unit, configured to obtain 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, such as letter keys, number keys, and some common function keys; An area division unit, configured to divide 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; An extended area determination unit is 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, this sub-region is determined as an extended area; when the number of medium-frequency keys in a sub-region exceeds the preset number and this sub-region includes high-frequency keys, other areas in this sub-region except the core area are determined as the extended area, so that the keys in the extended area are in an intermittent sleep power supply state. 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; when it is a low-speed operation state, the intermittent wake-up duration is longer. A "predicted wake-up" mechanism can also be adopted to dynamically shorten the wake-up interval according to the input rhythm (i.e., 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). An edge area determination unit is 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, 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. When the target habit data type is not matched; the keyboard is divided into multiple sub-regions, including a letter area, a numeric key area, a function key area, and a multimedia key area; the core area is formed according to the positions of the high-frequency keys; then the extended area and the edge area are determined 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.
[0025] It should be noted that in this article, the term "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Without more limitations, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or device including that element.
[0026] 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 status of a wireless Bluetooth keyboard, characterized in that: The method comprises: Real-time statistics are made on the triggering times of each key in the keyboard within the monitoring interval, and the current working state of the keyboard is determined according to the triggering times, wherein the current working state includes a high-speed operation state and a low-speed operation state; 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; When the power supply mode is regional 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 keys in different areas.
2. A method for verifying the working status of a wireless Bluetooth keyboard according to claim 1, characterized in that: The step of real-time counting the number of triggering times of each key in the keyboard within the monitoring interval, and determining the current working state of the keyboard according to the number of triggering times, wherein the current working state includes a high-speed operation state and a low-speed operation state, comprises: Real-time statistics of the number of times each key on the keyboard is triggered within a monitoring interval, where the monitoring interval refers to a time interval with the current time as the end point and a preset duration as the interval length; Count the total number of times all keys on the entire keyboard are triggered within the monitoring interval; The current working state of the keyboard is determined 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.
3. The method for verifying the working status of a wireless Bluetooth keyboard according to claim 1, characterized in that: The step of determining the key type of each key according to the trigger times, the key types 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, wherein the power supply mode includes full-area power supply and sub-area power supply, comprises: According to the triggering times of each key in the keyboard in the monitoring interval, the key type of each key in the monitoring interval is determined, and the key types include high-frequency keys, medium-frequency keys and low-frequency keys; Determine the position coordinates of each key on 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; Obtain the position coordinates of the high-frequency keys, and determine the dispersion according to the position coordinates of the high-frequency keys; The power supply mode is dynamically adjusted according to the dispersion degree. When the dispersion degree is greater than a preset dispersion threshold, the power supply mode is determined to be full-area power supply; when the dispersion degree is not greater than the preset dispersion threshold, the power supply mode is determined to be sub-area power supply.
4. A method for verifying the working status of a wireless Bluetooth keyboard according to claim 3, characterized in that: The calculation method of the dispersion degree includes a standard deviation method and an entropy method.
5. The method for verifying the working status of a wireless Bluetooth keyboard according to claim 1, characterized in that: When the power supply mode is regional power supply, the steps of dividing the keyboard into a core area, an extended area, and an edge area according to key types and position coordinates, and setting different response strategies for keys in different areas include: Acquire user habit data, where the habit data type includes work input data and game input data, and the habit data includes the user's historical high-frequency input keys and historical core areas; Calculate the overlap of the high-frequency keys and the user's historical high-frequency input keys corresponding to the work input data and the game input data, and match them to obtain the target habit data type; Acquire 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; Dividing the keyboard into a plurality of sub-areas, including a letter area, a numeric key area, a function key area and a multimedia key area, wherein the letter area, the numeric key area, the function key area and the multimedia key area constitute the entire keyboard area; Count the number of high-frequency keys and medium-frequency keys in each sub-area, and when the number of medium-frequency keys in a sub-area exceeds a preset number and the sub-area does not include a high-frequency key, determine that the sub-area is an extended area; when the number of medium-frequency keys in a sub-area exceeds a preset number and the sub-area includes a high-frequency key, determine that other areas in the sub-area except the core area are extended areas, 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; When the sub-region does not include high-frequency keys and medium-frequency keys, the sub-region is determined to be an edge region, so that the keys in the edge region are in a deep sleep state.
6. A system for checking the working status of a wireless Bluetooth keyboard, characterized in that: The system comprises: A working state determination module is used to count the number of times each key in the keyboard is triggered within a monitoring interval in real time, and determine the current working state of the keyboard according to the number of times the key is triggered, wherein the current working state includes a high-speed operation state and a low-speed operation state; A power supply mode adjustment module, 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; The area demarcation module 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 regional power supply, and to set different response strategies for keys in different areas.
7. A wireless Bluetooth keyboard working status verification system according to claim 6, characterized in that: The power supply mode adjustment module includes: A key type determination unit, used to determine the key type of each key in the monitoring interval according to the number of triggering times of each key in the keyboard in the monitoring interval, the key types including high-frequency keys, medium-frequency keys and low-frequency keys; A key position determination unit, used 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, used to obtain the position coordinates of the high-frequency keys and determine the dispersion according to the position coordinates of the high-frequency keys; The power supply mode determination unit is used to dynamically adjust the power supply mode according to the dispersion degree. When the dispersion degree is greater than a preset dispersion threshold, the power supply mode is determined to be full-area power supply; when the dispersion degree is not greater than the preset dispersion threshold, the power supply mode is determined to be sub-area power supply.
8. A wireless Bluetooth keyboard working status verification system according to claim 6, characterized in that: The area demarcation module includes: A habit data acquisition unit, used to acquire user habit data, the habit data type includes work input data and game input data, and the habit data includes the user's historical high-frequency input keys and historical core areas; The coincidence calculation unit is used to calculate the coincidence of 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 them to obtain the target habit data type; A core area determination unit, used to obtain a historical core area corresponding to a target habit data type as a 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; An area division unit, used to divide the keyboard into a plurality of sub-areas, including a letter area, a numeric key area, a function key area and a multimedia key area, wherein the letter area, the numeric key area, the function key area and the multimedia key area constitute the entire keyboard area; The extended area determination unit is used to count the number of high-frequency keys and medium-frequency keys in each sub-area, and when the number of medium-frequency keys in a sub-area exceeds a preset number and the sub-area does not include high-frequency keys, the 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 the sub-area includes high-frequency keys, the other areas in the 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; The edge area determination unit is used to determine that the sub-area is an edge area when the sub-area does not include high-frequency keys and medium-frequency keys, so that the keys in the edge area are in a deep sleep state.
Citation Information
Patent Citations
A control method for a wireless keyboard
CN109002188A
Method and system for checking working state of wireless Bluetooth keyboard
CN118363802A
Touch screen low-power-consumption mode switching method, device and equipment
CN119376520A
Keycap position and state intelligent identification method
CN119852113A
Virtual keyboard implementation method, storage device, and mobile terminal
US20200097098A1