Method and device for customizing the weight of keyboard keys
By monitoring keyboard key data in real time and querying the standard guidance table, the gram number of mechanical keyboard keys is automatically adjusted, which solves the problem of finger fatigue caused by the fixed gram number of keyboard keys and improves the user experience and safety.
Patent Information
- Application Number
- CN202010638268.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-03
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-07-03
AI Technical Summary
The number of keys on a mechanical keyboard is fixed and cannot be adjusted independently according to the user's usage habits and finger characteristics, causing fatigue or even damage to the user's fingers.
By monitoring the number of key presses, pressing force and position in real time between the keyboard and the external processing device, querying the standard key gram guide table, and automatically adjusting the key gram to suit the user's habits and characteristics.
It effectively prevents finger fatigue and damage, improves the keyboard experience, and adapts to the needs of different users by adjusting the number of keys in real time.
Smart Images

Figure CN111767618B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and more specifically, to a method and device for customizing the grammage of keyboard keys. Background Art
[0002] Currently, most common mechanical keyboards use a fixed key weight structure. However, due to different usage environments and finger characteristics of different users, using a keyboard with a fixed key weight structure in some environments may cause user finger fatigue or even injury. Summary of the invention
[0003] The present invention provides a method and device for customizing the weight of keyboard keys, so as to solve the problem in the prior art that the weight of keyboard keys is fixed and thus causes fatigue or even injury to the user's fingers.
[0004] According to a first aspect of the present disclosure, the present disclosure provides a method for customizing the gram weight of keyboard keys, which is applied to an external processing device and includes the following steps:
[0005] S11: obtaining a pressing frequency value, a pressing force average, and a pressing position average corresponding to each key according to the number of times each key of one or more keys in the keyboard is pressed within a preset time, the pressing force of each press, and the number of times each pressing position is pressed;
[0006] S12: according to the pressing frequency value, the pressing force average value and the pressing position average value corresponding to each key, query the standard key gram weight guidance table to obtain the key standard gram weight value corresponding to each key;
[0007] S13: Compare the standard key gram value of each key and its corresponding original key pressure gram value to determine whether to change the key gram value of the key; if determined to change, send a change information.
[0008] According to a second aspect of the present disclosure, the present disclosure provides a method for customizing the gram weight of keyboard keys, which is applied to a keyboard and includes:
[0009] Within a preset time period, count the number of times each key of one or more keys is pressed, the pressing force of each press, and the number of times each pressing position is pressed;
[0010] The number of times each key is pressed, the pressing force of each key press, and the number of times each key is pressed at each pressing position are sent to an external processing device, and the external processing device determines whether to change the key weight of the key according to the number of times each key is pressed, the pressing force of each key press, and the number of times each key is pressed at each pressing position. If it is determined to be changed, a change information is sent;
[0011] According to the replacement information received from the external processing device, it is determined whether the replacement is completed. If the replacement is completed, the replacement completion information is fed back to the external processing device.
[0012] According to a third aspect of the present disclosure, the present disclosure provides a device for customizing the weight of keyboard keys, which is applied to an external processing device, comprising:
[0013] a parameter processing module configured to obtain a pressing frequency value, a pressing force average value, and a pressing position average value corresponding to each key according to the number of times each key of one or more keys in the keyboard is pressed within a preset time, the pressing force of each pressing, and the number of times each pressing position is pressed;
[0014] A data query module is configured to query a standard key gram guidance table according to a pressing frequency value, a pressing force average value, and a pressing position average value corresponding to each key, and obtain a key standard gram value corresponding to each key;
[0015] The replacement determination module is configured to compare the standard key gram value of each key and its corresponding original key pressure gram value to determine whether to replace the key gram value of the key; if replacement is determined, a replacement information is issued.
[0016] According to a fourth aspect of the present disclosure, the present disclosure provides a device for customizing the weight of keyboard keys, which is applied to a keyboard and includes:
[0017] A counting module is configured to count the number of times each key of one or more keys is pressed, the pressing force of each press, and the number of times each pressing position is pressed within a preset time period;
[0018] a sending module configured to send the number of times each key is pressed, the pressing force of each press, and the number of times each pressing position is pressed to an external processing device, and the external processing device determines whether to change the key weight of the key according to the number of times each key is pressed, the pressing force of each press, and the number of times each pressing position is pressed, and if it is determined to change, sends a change information;
[0019] The feedback module is configured to determine whether the replacement is completed according to the replacement information received from the external processing device, and if the replacement is completed, feed back the replacement completion information to the external processing device.
[0020] It can be known from the above disclosed content that the present disclosure provides a method and device for customizing the weight of keyboard keys, which determines the standard key gram value corresponding to each key according to the number of times each key of one or more keys in the keyboard is pressed within a preset time length, the pressing force of each press, and the number of presses at each pressing position, and determines whether to change the key gram value of the key by comparing the standard key gram value of each key and its corresponding original key pressure gram value. The present disclosure autonomously adjusts the key gram of the keyboard according to the user's usage habits and the user's own characteristics, so that the key gram of the keyboard meets the user's usage habits and the user's own characteristics, thereby preventing the user's finger fatigue or even injury. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0022] Figure 1 A system for customizing the gram weight of keyboard keys provided in a specific embodiment of the present disclosure;
[0023] Figure 2 A method for customizing the key weight of a keyboard applied to an external processing device provided in a specific embodiment of the present disclosure;
[0024] Figure 3 A method for customizing the gram weight of keyboard keys applied to a keyboard provided in a specific embodiment of the present disclosure;
[0025] Figure 4 A device for customizing the key weight of a keyboard applied to an external processing device provided in a specific embodiment of the present disclosure;
[0026] Figure 5 A device for customizing the grammage of keyboard keys applied to a keyboard is provided in a specific embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0028] In order to solve the problem in the prior art that the weight of mechanical keyboard keys is fixed, and the weight of keyboard keys cannot be adjusted independently according to the user's usage habits and the user's finger characteristics, which causes user finger fatigue or even injury, the present disclosure provides a method and device for customizing the weight of keyboard keys, which can independently adjust the weight of keyboard keys according to the user's usage habits and the user's own characteristics to prevent user finger fatigue or even injury.
[0029] The present disclosure can be applied to a system for customizing the gram weight of keyboard keys, such as Figure 1 As shown, the keyboard 101, the external processing device 102 and the standard key gram guidance server 103 are included. The keyboard 101 is used to obtain user usage data and send the user usage data to the external processing device 102; the external processing device 102 is used to query the standard key gram value matching the user usage data in the standard key gram guidance table according to the user usage data, and send the queried key standard gram value to the keyboard 101 for keyboard 101 replacement. When the keyboard 101 key gram does not need to be replaced, the external processing device 102 can send the user usage data or its related data to the standard key gram guidance server 103; the standard key gram guidance server 103 is used to continuously train the machine learning model according to the user usage data or its related data to adjust the standard key gram guidance table in real time, and send the updated standard key gram guidance table to the external processing device 102.
[0030] The user usage data may include the number of times each key of one or more keys in the keyboard 101 is pressed, the pressing force of each press, and the number of times each pressing position is pressed. One or more keys in the keyboard 101 may be keys that need to be customized in key weight, or may be all keys in the keyboard 101. The keys include key caps and key shafts, and each pressing position of the keys is each pressing position of the key cap.
[0031] The relevant data of user usage data may include the pressing frequency value, the average pressing force and the average pressing position corresponding to each key obtained based on the number of presses of each key of one or more keys in the keyboard 101, the pressing force of each press and the number of presses at each pressing position.
[0032] In a specific embodiment of the present disclosure, the keyboard 101 may include a statistics module, a sending module, and a feedback module, and the external processing device 102 may include a parameter processing module, a data query module, and a replacement determination module.
[0033] The statistical module of the keyboard 101 is used to count the number of times each key of one or more keys is pressed, the pressing force of each press, and the number of times each pressing position is pressed within a preset time period.
[0034] The sending module of the keyboard 101 is used to send the number of times each key is pressed, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102, and the external processing device 102 determines whether to change the key weight of the key according to the number of times each key is pressed, the pressing force of each press, and the number of presses at each pressing position, and if it is determined to change, sends a change information. The key weight of the key to be changed can be the key shaft of the key, and different key shafts correspond to different key weights.
[0035] The feedback module of the keyboard 101 is used to determine whether the replacement is completed according to the replacement information received from the external processing device 102 , and if the replacement is completed, feed back the replacement completion information to the external processing device 102 .
[0036] The function of whether to enable the customized keyboard 101 key weight can be set for the keyboard 101. Specifically, a button or switch for enabling the customized keyboard 101 key weight can be set on the keyboard 101. The user can enable the customized keyboard 101 key weight function by triggering the button or switch for enabling the customized keyboard 101 key weight. The function of enabling the customized keyboard 101 key weight can also be enabled through other devices connected to the keyboard 101. Specifically, a virtual button for enabling the customized keyboard 101 key weight can be displayed on a display connected to the keyboard 101. The user can choose to enable the customized keyboard 101 key weight function through the display.
[0037] The preset duration can be a duration set by the user, a duration selected by the user from the duration recommended by the key gram system of the customized keyboard 101, or a duration preset by the key gram system of the customized keyboard 101. The preset duration can be set by any one of the keyboard 101, the external processing device 102, and the standard key gram guidance server 103. In a specific embodiment of the present disclosure, the preset duration can be 1 hour or one month, which is not specifically limited.
[0038] If the user customizes the key weight of only one key in the keyboard 101, then within the preset time period, only the number of times this key is pressed, the pressing force of each press, and the number of presses at each pressing position can be counted, and then the number of times this key is pressed, the pressing force of each press, and the number of presses at each pressing position can be sent to the external processing device 102.
[0039] If the user needs to customize the key weights of multiple keys in the keyboard 101, the number of times each of these keys is pressed, the pressing force of each press, and the number of times each of these keys is pressed can be counted within a preset time period, and the number of times each of these keys is pressed, the pressing force of each press, and the number of times each of these keys is pressed can be sent to the external processing device 102. In this way, the key weights can be customized at the same time within a preset time period, reducing the key weight customization time.
[0040] In another embodiment of the present disclosure, if the user needs to customize the key weight of one or more keys in the keyboard 101, then within a preset time period, the keyboard 101 can count the number of times each key is pressed, the pressing force of each press, and the number of times each pressing position is pressed, and send the statistical data of all keys to the external processing device 102. The external processing device 102 can send the standard key gram values corresponding to the keys whose key weight needs to be changed among the one or more keys selected by the user to be customized to the keyboard 101. The external processing device 102 can also send the standard key gram values corresponding to the keys whose key weight needs to be changed among all keys to the keyboard 101, and the user can then select the key that the user wants to change from the keys whose key weight needs to be changed among all the keys sent by the external processing device 102.
[0041] After completing the statistical data, the keyboard 101 can periodically send the number of key presses, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102, or it can immediately send the number of key presses, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102 after each statistical data is completed.
[0042] The keyboard 101 can send the number of key presses, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102 in a wired or wireless manner. Specifically, the wired manner can be a USB manner, and the wireless manner can be a Bluetooth or radio frequency (RF) manner, which is not specifically limited in the specific embodiments of the present disclosure.
[0043] When the external processing device 102 cannot receive data, the number of key presses, the pressing force of each press, and the number of presses at each pressing position can be temporarily stored in the storage module of the keyboard 101. When it is detected that the external processing device 102 can receive data, the number of key presses, the pressing force of each press, and the number of presses at each pressing position stored in the storage module of the keyboard 101 are sent to the external processing device 102, so that the adjustment data is not missed.
[0044] The parameter processing module of the external processing device 102 is used to obtain the pressing frequency value, the average pressing force and the average pressing position corresponding to each key based on the number of times each key of one or more keys in the keyboard 101 is pressed within a preset time length, the pressing force of each press and the number of presses at each pressing position.
[0045] The data query module 202 of the external processing device 102 is used to query the standard key gram guidance table according to the pressing frequency value, pressing force average value and pressing position average value corresponding to each key, and obtain the key standard gram value corresponding to each key.
[0046] The replacement determination module of the external processing device 102 is used to compare the standard key gram value of each key and its corresponding original key pressure gram value to determine whether to replace the key gram value of the key; if replacement is determined, a replacement information is issued.
[0047] Wherein, obtaining the pressing frequency value corresponding to each key according to the number of times each of the one or more keys in the keyboard 101 is pressed within a preset time length includes: obtaining the pressing frequency value corresponding to each key according to the number of times each of the one or more keys in the keyboard 101 is pressed within a preset time length and the preset time length. Specifically, the ratio of the number of times each of the one or more keys in the keyboard 101 is pressed within a preset time length to the preset time length is used as the pressing frequency value corresponding to each key.
[0048] According to the pressing force of each key of one or more keys in the keyboard 101 during each pressing within a preset time, the pressing force average corresponding to each key is obtained, including: according to the number of times each key is pressed within the preset time and the pressing force of each pressing, the pressing force average corresponding to each key is obtained. Specifically, the total pressing force of each key within the preset time is counted, and the ratio of the total pressing force to the number of pressings is used as the pressing force average corresponding to each key.
[0049] A key may include multiple pressing positions, such as a center position of a key cap, four corner positions of a key cap, and a center position of each of four edges of the key cap.
[0050] According to the number of times each of the one or more keys in the keyboard 101 is pressed at each pressing position within a preset time length, the average pressing position corresponding to each key is obtained, including: according to the number of times each of the key is pressed at each pressing position within a preset time length and the preset time length, the pressing frequency corresponding to each pressing position of each key is obtained; and the pressing position with the highest pressing frequency of each key is taken as its corresponding average pressing position.
[0051] The present invention determines the standard gram value of a key corresponding to a key through a variety of parameter values, which can improve the accuracy of key gram customization.
[0052] The standard key gram guidance table can be stored in the external processing device 102, and the standard key gram guidance table can store the standard gram values of each key corresponding to different pressing frequency values, pressing force average values, and pressing position average values. Specifically, the standard key gram guidance table can store the standard gram values of each key corresponding to different pressing frequency ranges, pressing force average value ranges, and pressing position average value ranges. In another specific embodiment of the present disclosure, the pressing frequency value, pressing force average value, and pressing position average value of each key can be weighted and summed, and the standard gram value of the key corresponding to the key can be queried in the standard key gram guidance table according to the weighted summation result. In another specific embodiment of the present disclosure, the hash value corresponding to the pressing frequency value, pressing force average value, and pressing position average value of each key can also be calculated by a hash function, and the standard gram value of the key corresponding to the key can be queried in the standard key gram guidance table according to the hash value.
[0053] The original key pressure gram value corresponding to each key may also be stored in the external processing device 102. The external processing device 102 may determine whether to change the key gram value of the key by comparing the key standard gram value queried according to the standard key gram value guidance table and the original key pressure gram value corresponding to the key. When the key standard gram value of the queried key is inconsistent with the original key pressure gram value corresponding to the key, it is determined to change the key gram value of the key, and the external processing device 102 may issue a replacement message. When the key standard gram value of the queried key is consistent with the original key pressure gram value corresponding to the key, it is not necessary to change the key gram value of the key.
[0054] The replacement information may include the name of the key to be replaced and its corresponding standard gram value. The replacement information may be a replacement prompt, which may be provided by the external processing device 102 , may be a voice prompt, or may be provided by a display connected to the external processing device 102 .
[0055] The initial standard key gram guidance table and original key pressure gram value stored in the external processing device 102 can be obtained from a network query, from the standard key gram guidance server 103 corresponding to the external processing device 102, or from the keyboard 101.
[0056] Specifically, when obtained through network query, the external processing device 102 can directly query the standard key pressure gram guidance table corresponding to the keyboard 101. For the original key pressure gram value of the keyboard 101, the external processing device 102 can first obtain the model of the keyboard 101, and query the network information according to the model of the keyboard 101, so as to obtain the original key pressure gram value corresponding to the model of the keyboard 101.
[0057] When the standard key gram guidance server 103 corresponding to the external processing device 102 is obtained, the external processing device 102 can directly request the standard key gram guidance table corresponding to the keyboard 101 from the corresponding standard key gram guidance server 103, or the standard key gram guidance server 103 can regularly push the standard key gram guidance table to the external processing device 102. For the original key pressure gram value of the keyboard 101, the external processing device 102 can also first obtain the model of the keyboard 101, and actively request to query the standard key gram guidance server 103 according to the model of the keyboard 101, so as to obtain the original key pressure gram value corresponding to the keyboard 101 of the model.
[0058] When obtained through the keyboard 101, the standard key gram guidance table and the original key pressure gram value corresponding to the keyboard 101 can be stored in the keyboard 101 when the keyboard 101 is factory set. When the external processing device 102 is connected to the keyboard 101, the corresponding standard key gram guidance table and the original key pressure gram value can be directly obtained from the keyboard 101.
[0059] The initial standard key gram guidance table of the keyboard 101 and its corresponding original key pressure gram values can be obtained in the same way or in different ways. Preferably, the initial standard key gram guidance table of the keyboard 101 and its corresponding original key pressure gram values are obtained from the standard key gram guidance server 103.
[0060] After the external processing device 102 sends the replacement information, the keyboard 101 can receive the replacement information sent from the external processing device 102. The replacement information can be a replacement prompt, which can be given through the keyboard 101, can be a voice prompt, can be displayed by installing a micro display on the keyboard 101, or can be given through the key backlight. Specifically, when the prompt is given through the key backlight, when a key needs to be replaced, the backlight of the key is on, and the user can find the key standard gram value corresponding to the key with the backlight on, so as to replace the key shaft of the key so that the replaced key shaft meets the key standard gram value of the key.
[0061] After receiving the replacement information, the keyboard 101 can be determined by the user whether the execution is completed. Specifically, a button or switch for confirming the completion of the execution can be set on the keyboard 101, and the completion of the execution can also be determined by other devices connected to the keyboard 101.
[0062] After confirming that the replacement is completed, if the original key pressure gram value is stored in the keyboard 101, the original key pressure gram value of the replaced key stored in the keyboard 101 can be replaced with the standard gram value of the replaced key. In another specific embodiment of the present disclosure, the updated original key pressure gram value can also be actively or passively sent to the external processing device 102.
[0063] After confirming that the replacement is completed, the replacement completion information can also be fed back to the external processing device 102. The external processing device 102 determines whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key is replaced with its corresponding key standard gram value, and continues to receive the number of presses of each key of one or more keys counted by the keyboard 101, the pressing force of each press, and the number of presses at each pressing position, and determines whether to replace the key gram value of the key. If the replacement is determined, the replacement information is issued until the replacement is no longer needed.
[0064] When there is no need to change the key weight, the external processing device 102 can send the pressing frequency value, the average pressing force and the average pressing position corresponding to each key to the standard key weight guidance server 103, and the standard key weight guidance server 103 will adjust the standard key weight guidance table in real time according to the pressing frequency value, the average pressing force and the average pressing position corresponding to each key through the machine learning model.
[0065] Specifically, after repeatedly adjusting the key weight of the keyboard 101 until no adjustment is needed, the external processing device 102 can send the pressing frequency value, the average pressing force and the average pressing position corresponding to each key after the adjustment to the standard key weight guidance server 103. The standard key weight guidance server 103 stores a machine learning model corresponding to the standard key weight guidance table. By continuously inputting the pressing frequency value, the average pressing force and the average pressing position corresponding to each key after the adjustment into the machine learning model for training, the machine learning model can be continuously improved, thereby determining a more accurate standard key weight guidance table.
[0066] The external processing device 102 can actively or passively obtain the updated standard key weight guide table, so as to customize the key weight of the keyboard 101 more accurately.
[0067] Specifically, the following takes the case where a button needs to be customized in terms of its gram weight as an example for explanation.
[0068] First, the user needs to turn on the function of customizing the keyboard 101 key weight and set the preset duration.
[0069] After the above steps are completed, the keyboard 101 counts the number of times the key is pressed within a preset time period, the pressing force of each press, and the number of presses at each pressing position, and then sends the number of times the key is pressed, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102.
[0070] The external processing device 102 obtains the pressing frequency value, average pressing force and average pressing position corresponding to the key based on the statistical data of the key, and queries the standard key gram guidance table based on the pressing frequency value, average pressing force and average pressing position corresponding to the key to obtain the standard key gram value corresponding to the key, and then compares the standard key gram value of the key with the original key pressure gram value of the key to see if they are consistent. If they are inconsistent, a replacement message is issued.
[0071] After the keyboard 101 receives the replacement information, the user changes the key weight and determines whether the replacement is completed. If the replacement is completed, the keyboard 101 feeds back the replacement completion information to the external processing device 102.
[0072] The external processing device 102 replaces the original key pressure gram value of the key with the standard key gram value queried this time according to the replacement completion information fed back by the keyboard 101, and continues to receive the number of times the key is pressed within a preset time, the pressing force of each press, and the number of presses at each pressing position counted by the keyboard 101, queries the standard key gram value corresponding to the statistical data of the key this time, and compares the current standard key gram value with the original key pressure gram value after the last replacement is completed to see if they are consistent. If they are inconsistent, a replacement message is sent out. After receiving the replacement completion information fed back by the keyboard 101, the original key pressure gram value after the last replacement is completed is continued to be replaced with the standard key gram value this time, and the number of presses at each pressing position, which are counted by the keyboard 101, are continued until no replacement information is sent out.
[0073] When the standard gram value of the key queried this time is consistent with the original gram value of the key pressure stored this time, no replacement information is sent, which means that the gram customization of the key is completed. At this time, the external processing device 102 can send the pressing frequency value, the average pressing force and the average pressing position of each key generated during the customization process to the standard key gram guidance server 103. The standard key gram guidance server 103 trains the machine learning model corresponding to the standard key gram guidance table stored therein based on these data to update the standard key gram guidance table, and sends the updated standard key gram guidance table to the external processing device 102 for use by the external processing device 102 when customizing the key gram of the keyboard 101 next time.
[0074] The external processing device 102 can also immediately send the key pressing frequency value, the average pressing force value and the average pressing position value to the standard key weight guidance server 103 each time the key pressing frequency value, the average pressing force value and the average pressing position value are obtained. The standard key weight guidance server 103 trains the machine learning model corresponding to the standard key weight guidance table stored therein according to these data, updates the standard key weight guidance table, and promptly sends the updated standard key weight guidance table to the external processing device 102, so that the external processing device 102 can use it in the customization process of the key weight of the keyboard 101 this time, thereby improving the accuracy of the customization of the key weight of the keyboard 101.
[0075] The external processing device 102 can also periodically send the obtained pressing frequency value, pressing force average and pressing position average to the standard key gram guidance server 103. The standard key gram guidance server 103 trains the machine learning model corresponding to the standard key gram guidance table stored therein based on these data, updates the standard key gram guidance table, and periodically sends the updated standard key gram guidance table to the external processing device 102.
[0076] Specifically, the following describes an example in which the user does not select a key to be customized and the key weight customization of all keys in the keyboard 101 is performed.
[0077] First, the user needs to turn on the function of customizing the keyboard 101 key weight and set the preset duration.
[0078] After the above steps are completed, the keyboard 101 counts the number of times each key is pressed within a preset time period, the pressing force of each press, and the number of presses at each pressing position. Then, the number of times each key is pressed, the pressing force of each press, and the number of presses at each pressing position are sent to the external processing device 102.
[0079] The external processing device 102 obtains the pressing frequency value, the average pressing force and the average pressing position corresponding to each key based on the statistical data of each key, and queries the standard key gram guidance table based on the pressing frequency value, the average pressing force and the average pressing position corresponding to each key to obtain the standard key gram value corresponding to each key, and then compares whether the standard key gram value of each key is consistent with its corresponding original key pressure gram value. If they are inconsistent, a replacement information is issued, and the replacement information includes the name of the key whose key gram needs to be replaced and its corresponding standard key gram value.
[0080] After the keyboard 101 receives the replacement information, the user changes the key weight and determines whether the replacement is completed. If the replacement is completed, the keyboard 101 feeds back the replacement completion information to the external processing device 102.
[0081] The external processing device 102 replaces the original key pressure gram value of the replaced key with the standard key gram value queried this time according to the replacement completion information received from the keyboard 101, and continues to receive the number of times each key is pressed within a preset time, the pressing force of each press, and the number of presses at each pressing position among all the keys counted by the keyboard 101, queries the standard key gram value corresponding to the statistical data of each key this time, and compares the standard key gram value of each key this time with the original key pressure gram value after the last replacement is completed. If they are inconsistent, a replacement information is issued. After receiving the replacement completion information fed back by the keyboard 101, the original key pressure gram value after the last replacement is completed is continued to be replaced with the standard key gram value this time, and the number of presses at each pressing position among all the keys counted by the keyboard 101 is continued until no replacement information is issued.
[0082] When the standard key gram values of all keys queried this time are consistent with the original key pressure gram values corresponding to all keys stored this time, no replacement information is sent, which means that the customization of the gram values of all keys in the keyboard 101 is completed. At this time, the external processing device 102 can send the pressing frequency value, the average pressing force and the average pressing position of each key in the keyboard 101 during the customization process to the standard key gram guidance server 103. The standard key gram guidance server 103 trains the machine learning model corresponding to the standard key gram guidance table stored therein based on these data to update the standard key gram guidance table, and sends the updated standard key gram guidance table to the external processing device 102 for the external processing device 102 to use when customizing the key gram values of the keyboard 101 next time.
[0083] The external processing device 102 can also immediately send the key pressing frequency value, the average pressing force value and the average pressing position value to the standard key weight guidance server 103 each time the key pressing frequency value, the average pressing force value and the average pressing position value are obtained. The standard key weight guidance server 103 trains the machine learning model corresponding to the standard key weight guidance table stored therein according to these data, updates the standard key weight guidance table, and promptly sends the updated standard key weight guidance table to the external processing device 102, so that the external processing device 102 can use it in the customization process of the key weight of the keyboard 101 this time, thereby improving the accuracy of the customization of the key weight of the keyboard 101.
[0084] The external processing device 102 can also periodically send the obtained pressing frequency value, pressing force average and pressing position average to the standard key gram guidance server 103. The standard key gram guidance server 103 trains the machine learning model corresponding to the standard key gram guidance table stored therein based on these data, updates the standard key gram guidance table, and periodically sends the updated standard key gram guidance table to the external processing device 102.
[0085] In a specific embodiment of the present disclosure, the present disclosure provides a method for customizing the key weight of a keyboard 101, which is applied to an external processing device 102, such as Figure 2 As shown, the following steps may be included:
[0086] S11: According to the number of times each key of one or more keys in the keyboard 101 is pressed within a preset time length, the pressing force of each press, and the number of presses at each pressing position, the pressing frequency value, the average pressing force, and the average pressing position corresponding to each key are obtained.
[0087] Among them, one or more keys in the keyboard 101 can be keys that need to be customized in key weight, or can be all keys in the keyboard 101. The keys include keycaps and key shafts, and the various pressing positions of the keys are the various pressing positions of the keycaps.
[0088] The preset duration can be a duration set by the user, a duration selected by the user through system recommendation, or a duration preset by the system. The preset duration can be set by any one of the keyboard 101, the external processing device 102, and the standard keystroke weight guidance server 103.
[0089] According to the number of times each of the one or more keys in the keyboard 101 is pressed within a preset time length, obtaining a pressing frequency value corresponding to each key includes: according to the number of times each of the one or more keys in the keyboard 101 is pressed within a preset time length and the preset time length, obtaining a pressing frequency value corresponding to each key. Specifically, the ratio of the number of times each of the one or more keys in the keyboard 101 is pressed within a preset time length to the preset time length is used as the pressing frequency value corresponding to each key.
[0090] According to the pressing force of each key of one or more keys in the keyboard 101 during each pressing within a preset time, obtaining the pressing force average corresponding to each key includes: obtaining the pressing force average corresponding to each key according to the number of times each key is pressed within the preset time and the pressing force of each pressing. Specifically, the total pressing force of each key within the preset time is counted, and the ratio of the total pressing force to the number of pressings is used as the pressing force average corresponding to each key.
[0091] A key may include multiple pressing positions, such as a center position of a key cap, four corner positions of a key cap, and a center position of each of four edges of the key cap.
[0092] Based on the number of times each of the one or more keys in the keyboard 101 is pressed at each pressing position within a preset time length, obtaining the average pressing position corresponding to each key includes: obtaining the pressing frequency corresponding to each pressing position of each key based on the number of times each key is pressed at each pressing position within a preset time length and the preset time length; and taking the pressing position with the highest pressing frequency of each key as its corresponding average pressing position.
[0093] S12: According to the pressing frequency value, the pressing force average value and the pressing position average value corresponding to each key, query the standard key gram guidance table to obtain the key standard gram value corresponding to each key.
[0094] The standard key gram guidance table can be stored in the external processing device 102, and the standard key gram guidance table can store the standard gram values of each key corresponding to different pressing frequency values, pressing force average values, and pressing position average values. Specifically, the standard key gram guidance table can store the standard gram values of each key corresponding to different pressing frequency ranges, pressing force average value ranges, and pressing position average value ranges. In another specific embodiment of the present disclosure, the pressing frequency value, pressing force average value, and pressing position average value of each key can be weighted and summed, and the standard gram value of the key corresponding to the key can be queried in the standard key gram guidance table according to the weighted summation result. In another specific embodiment of the present disclosure, the hash value corresponding to the pressing frequency value, pressing force average value, and pressing position average value of each key can also be calculated by a hash function, and the standard gram value of the key corresponding to the key can be queried in the standard key gram guidance table according to the hash value.
[0095] The original key pressure gram value corresponding to each key may also be stored in the external processing device 102. The external processing device 102 may determine whether to change the key gram value of the key by comparing the key standard gram value queried according to the standard key gram value guidance table and the original key pressure gram value corresponding to the key. When the key standard gram value of the queried key is inconsistent with the original key pressure gram value corresponding to the key, it is determined to change the key gram value of the key, and the external processing device 102 may issue a replacement message. When the key standard gram value of the queried key is consistent with the original key pressure gram value corresponding to the key, it is not necessary to change the key gram value of the key.
[0096] The initial standard key gram guidance table and original key pressure gram value stored in the external processing device 102 can be obtained from a network query, from the standard key gram guidance server 103 corresponding to the external processing device 102, or from the keyboard 101.
[0097] Preferably, the initial standard key gram weight guidance table of the keyboard 101 and its corresponding original key pressure gram value are obtained from the standard key gram weight guidance server 103 .
[0098] S13: Compare the standard key gram value of each key and its corresponding original key pressure gram value to determine whether to change the key gram value of the key; if determined to change, send a change information.
[0099] The replacement information may include the name of the key to be replaced and its corresponding standard gram value. The replacement information may be a replacement prompt, which may be given by the external processing device 102, a voice prompt, or a display connected to the external processing device 102.
[0100] After step S13, the method further includes:
[0101] Determine whether the replacement is completed. If the replacement is completed, replace the original key pressure gram value of the key with its corresponding key standard gram value, and return to step S11.
[0102] When the standard key gram value of a key is inconsistent with its corresponding original key pressure gram value, the external processing device 102 sends out a replacement message and needs to determine whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key is replaced with its corresponding standard key gram value, and the keyboard 101 continues to receive the number of times each key is pressed, the pressing force of each press, and the number of presses at each pressing position of one or more keys counted by the keyboard 101, to determine whether to change the key gram value of the key. If it is determined to be replaced, the replacement message is sent until replacement is no longer needed.
[0103] After determining that the replacement is completed and no longer needs to be replaced, the external processing device 102 can also send the pressing frequency value, average pressing force and average pressing position corresponding to each key to the standard key weight guidance server 103. The standard key weight guidance server 103 adjusts the standard key weight guidance table in real time based on the pressing frequency value, average pressing force and average pressing position corresponding to each key through a machine learning model, and sends the updated standard key weight guidance table to the external processing device 102.
[0104] The external processing device 102 can also immediately send the key pressing frequency value, the average pressing force value and the average pressing position value to the standard key weight guidance server 103 each time the key pressing frequency value, the average pressing force value and the average pressing position value are obtained. The standard key weight guidance server 103 trains the machine learning model corresponding to the standard key weight guidance table stored therein according to these data, updates the standard key weight guidance table, and promptly sends the updated standard key weight guidance table to the external processing device 102, so that the external processing device 102 can use it in the customization process of the key weight of the keyboard 101 this time, thereby improving the accuracy of the customization of the key weight of the keyboard 101.
[0105] The external processing device 102 can also periodically send the obtained pressing frequency value, pressing force average and pressing position average to the standard key gram guidance server 103. The standard key gram guidance server 103 trains the machine learning model corresponding to the standard key gram guidance table stored therein based on these data, updates the standard key gram guidance table, and periodically sends the updated standard key gram guidance table to the external processing device 102.
[0106] In another specific embodiment of the present disclosure, the present disclosure also provides a method for customizing the key weight of a keyboard 101, which is applied to the keyboard 101, such as Figure 3 As shown, the following steps are included:
[0107] S21: Within a preset time period, count the number of times each of one or more keys is pressed, the pressing force of each press, and the number of times each pressing position is pressed.
[0108] Among them, one or more keys can be keys that need to be customized in key weight, or can be all keys in the keyboard 101. The keys include keycaps and key shafts, and the various pressing positions of the keys are the various pressing positions of the keycaps.
[0109] The function of whether to enable the custom weight of the keys of the keyboard 101 can be set for the keyboard 101. Specifically, a button or switch for enabling the custom weight of the keys of the keyboard 101 can be set on the keyboard 101. The user can enable the function of customizing the weight of the keys of the keyboard 101 by triggering the button or switch for enabling the custom weight of the keys of the keyboard 101. The function of customizing the weight of the keys of the keyboard 101 can also be enabled through other devices connected to the keyboard 101. Specifically, a virtual button for enabling the custom weight of the keys of the keyboard 101 can be displayed on a display connected to the keyboard 101. The user can choose to enable the function of customizing the weight of the keys of the keyboard 101 through the display.
[0110] The preset duration can be a duration set by the user, a duration selected by the user from a duration recommended by the key gage system of the customized keyboard 101, or a duration preset by the key gage system of the customized keyboard 101. The preset duration can be set by any one of the keyboard 101, the external processing device 102, and the standard key gage guidance server 103.
[0111] S22: The number of times each key is pressed, the pressing force of each press, and the number of presses at each pressing position are sent to the external processing device 102, which determines whether to change the key weight of the key based on the number of times each key is pressed, the pressing force of each press, and the number of presses at each pressing position. If it is determined to be replaced, the replacement information is issued.
[0112] After completing the statistical data, the keyboard 101 can periodically send the number of key presses, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102, or it can immediately send the number of key presses, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102 after each statistical data is completed.
[0113] The keyboard 101 can send the number of key presses, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102 via a wired or wireless method. Specifically, the wired method can be a USB method, and the wireless method can be a Bluetooth or a radio frequency (RF) method.
[0114] When the external processing device 102 cannot receive data, the number of key presses, the pressing force of each press, and the number of presses at each pressing position can be temporarily stored in the keyboard 101. When it is detected that the external processing device 102 can receive data, the number of key presses, the pressing force of each press, and the number of presses at each pressing position stored in the keyboard 101 are sent to the external processing device 102.
[0115] S23: Determine whether the replacement is completed based on the replacement information received from the external processing device 102 , and if the replacement is completed, feed back replacement completion information to the external processing device 102 .
[0116] After the external processing device 102 sends the replacement information, the keyboard 101 can receive the replacement information sent from the external processing device 102. The replacement information can be a replacement prompt, which can be given through the keyboard 101, can be a voice prompt, can be displayed by installing a micro display on the keyboard 101, or can be given through the key backlight. Specifically, when the prompt is given through the key backlight, when a key needs to be replaced, the backlight of the key is on, and the user can find the key standard gram value corresponding to the key with the backlight on, so as to replace the key shaft of the key so that the replaced key shaft meets the key standard gram value of the key.
[0117] After receiving the replacement information, the keyboard 101 can be determined by the user whether the execution is completed. Specifically, a button or switch for confirming the completion of the execution can be set on the keyboard 101, and the completion of the execution can also be determined by other devices connected to the keyboard 101.
[0118] After confirming that the replacement is completed, if the original key pressure gram value is stored in the keyboard 101, the original key pressure gram value of the replaced key stored in the keyboard 101 can be replaced with the standard gram value of the replaced key. In another specific embodiment of the present disclosure, the updated original key pressure gram value can also be actively or passively sent to the external processing device 102.
[0119] After confirming that the replacement is completed, the replacement completion information can also be fed back to the external processing device 102. The external processing device 102 determines whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key is replaced with its corresponding key standard gram value, and continues to receive the number of presses of each key of one or more keys counted by the keyboard 101, the pressing force of each press, and the number of presses at each pressing position, and determines whether to replace the key gram value of the key. If the replacement is determined, the replacement information is issued until the replacement is no longer needed.
[0120] Accordingly, the present disclosure also provides a device for customizing the key weight of a keyboard 101, which is applied to an external processing device 102, such as Figure 4 As shown, it includes a parameter processing module 201, a data query module 202 and a replacement determination module 203.
[0121] The device may also include a data receiving module configured to receive the number of times each of one or more keys sent by the keyboard 101 is pressed within a preset time period, the pressing force of each press, and the number of presses at each pressing position.
[0122] The parameter processing module 201 is configured to obtain the pressing frequency value, the average pressing force and the average pressing position corresponding to each key based on the number of times each key of one or more keys in the keyboard 101 is pressed within a preset time length, the pressing force of each press and the number of presses at each pressing position.
[0123] One or more keys in the keyboard 101 may be keys that need to be customized in key weight, or may be all keys in the keyboard 101. The keys include keycaps and key shafts, and the various pressing positions of the keys are the various pressing positions of the keycaps.
[0124] The preset duration can be a duration set by the user, a duration selected by the user through system recommendation, or a duration preset by the system. The preset duration can be set by any one of the keyboard 101, the external processing device 102, and the standard keystroke weight guidance server 103.
[0125] According to the number of times each of the one or more keys in the keyboard 101 is pressed within a preset time length, obtaining a pressing frequency value corresponding to each key includes: according to the number of times each of the one or more keys in the keyboard 101 is pressed within a preset time length and the preset time length, obtaining a pressing frequency value corresponding to each key. Specifically, the ratio of the number of times each of the one or more keys in the keyboard 101 is pressed within a preset time length to the preset time length is used as the pressing frequency value corresponding to each key.
[0126] According to the pressing force of each key of one or more keys in the keyboard 101 during each pressing within a preset time, obtaining the pressing force average corresponding to each key includes: obtaining the pressing force average corresponding to each key according to the number of times each key is pressed within the preset time and the pressing force of each pressing. Specifically, the total pressing force of each key within the preset time is counted, and the ratio of the total pressing force to the number of pressings is used as the pressing force average corresponding to each key.
[0127] A key may include multiple pressing positions, such as a center position of a key cap, four corner positions of a key cap, and a center position of each of four edges of the key cap.
[0128] Based on the number of times each of the one or more keys in the keyboard 101 is pressed at each pressing position within a preset time length, obtaining the average pressing position corresponding to each key includes: obtaining the pressing frequency corresponding to each pressing position of each key based on the number of times each key is pressed at each pressing position within a preset time length and the preset time length; and taking the pressing position with the highest pressing frequency of each key as its corresponding average pressing position.
[0129] The data query module 202 is configured to query the standard key gram guidance table according to the pressing frequency value, pressing force average value and pressing position average value corresponding to each key, and obtain the key standard gram value corresponding to each key.
[0130] The device may also include a data storage module. The standard key gram guidance table may be stored in the data storage module, and the standard key gram guidance table may store the standard gram values of keys corresponding to each key under different pressing frequency values, pressing force average values, and pressing position average values. Specifically, the standard key gram guidance table may store the standard gram values of keys corresponding to each key under different pressing frequency ranges, pressing force average value ranges, and pressing position average value ranges. In another specific embodiment of the present disclosure, the pressing frequency value, pressing force average value, and pressing position average value of each key may be weighted and summed, and the standard gram value of the key corresponding to the key may be queried in the standard key gram guidance table according to the weighted summation result. In another specific embodiment of the present disclosure, the hash value corresponding to the pressing frequency value, pressing force average value, and pressing position average value of each key may be calculated by a hash function, and the standard gram value of the key corresponding to the key may be queried in the standard key gram guidance table according to the hash value.
[0131] The original key pressure gram value corresponding to each key can also be stored in the data storage module, and the replacement determination module 203 can determine whether to replace the key gram value of the key by comparing the key standard gram value queried according to the standard key gram value guidance table and the original key pressure gram value corresponding to the key. When the key standard gram value of the queried key does not correspond to the original key pressure gram value corresponding to the key, it is determined to replace the key gram value of the key, and the replacement determination module 203 of the external processing device 102 can send a replacement message. When the key standard gram value of the queried key is consistent with the original key pressure gram value corresponding to the key, it is not necessary to replace the key gram value of the key.
[0132] The initial standard key gram guidance table and original key pressure gram value stored in the data storage module can be obtained from a network query, from the standard key gram guidance server 103 corresponding to the external processing device 102, or from the keyboard 101.
[0133] Preferably, the initial standard key gram weight guidance table of the keyboard 101 and its corresponding original key pressure gram value are obtained from the standard key gram weight guidance server 103 .
[0134] The replacement determination module 203 is configured to compare the standard key gram value of each key and its corresponding original key pressure gram value to determine whether to replace the key gram value of the key; if replacement is determined, a replacement message is issued.
[0135] The replacement information may include the name of the key to be replaced and its corresponding standard gram value. The replacement information may be a replacement prompt, which may be given by the external processing device 102, a voice prompt, or a display connected to the external processing device 102.
[0136] The device may also include a replacement module, which is configured to determine whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key is replaced with its corresponding key standard gram value.
[0137] After the replacement is completed, the data receiving module can also continue to receive the number of times each key of one or more keys is pressed within a preset time, the pressing force of each press, and the number of times each pressing position is pressed. The parameter processing module 201 continues to obtain the pressing frequency value, the average value of the pressing force, and the average value of the pressing position corresponding to each key according to the number of times each key of one or more keys in the keyboard 101 is pressed within a preset time, the pressing force of each press, and the number of times each pressing position is pressed. The data query module 202 continues to query the standard key gram guidance table according to the pressing frequency value, the average value of the pressing force, and the average value of the pressing position corresponding to each key, and obtains the key standard gram value corresponding to each key. The replacement module continues to determine whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key is replaced with its corresponding key standard gram value. Until the replacement determination module 203 does not send the replacement information.
[0138] When the standard key gram value of a key is inconsistent with its corresponding original key pressure gram value, the replacement determination module 203 sends a replacement message, and the replacement module needs to determine whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key is replaced with its corresponding standard key gram value. The external processing device 102 continues to receive the number of times each key is pressed, the pressing force of each press, and the number of presses at each pressing position of one or more keys counted by the keyboard 101, and determines whether to change the key gram value of the key. If it is determined to be replaced, the replacement message is sent until it is no longer necessary to replace.
[0139] The device may also include a sample sending module. After determining that the replacement is completed and no replacement is needed, the sample sending module may send the pressing frequency value, the average pressing force and the average pressing position corresponding to each key to the standard key gram guidance server 103. The standard key gram guidance server 103 adjusts the standard key gram guidance table in real time according to the pressing frequency value, the average pressing force and the average pressing position corresponding to each key through a machine learning model, and sends the updated standard key gram guidance table to the external processing device 102.
[0140] The sample sending module can also immediately send the key pressing frequency value, the average pressing force value and the average pressing position value to the standard key weight guidance server 103 each time the key pressing frequency value, the average pressing force value and the average pressing position value are obtained. The standard key weight guidance server 103 trains the machine learning model corresponding to the standard key weight guidance table stored therein according to these data, updates the standard key weight guidance table, and promptly sends the updated standard key weight guidance table to the external processing device 102, so that the external processing device 102 can use it in the customization process of the key weight of the keyboard 101 this time, thereby improving the accuracy of the customization of the key weight of the keyboard 101.
[0141] The sample sending module can also periodically send the obtained pressing frequency value, pressing force average and pressing position average to the standard key gram guidance server 103. The standard key gram guidance server 103 trains the machine learning model corresponding to the standard key gram guidance table stored therein based on these data, updates the standard key gram guidance table, and periodically sends the updated standard key gram guidance table to the external processing device 102.
[0142] The present disclosure also provides a device for customizing the key weight of a keyboard 101, which is applied to the keyboard 101, such as Figure 5 As shown, it includes a statistics module 301, a sending module 302 and a feedback module 303.
[0143] The statistical module 301 is configured to count the number of times each key of one or more keys in the keyboard 101 is pressed, the pressing force of each press, and the number of times each pressing position is pressed within a preset time period.
[0144] One or more keys may be keys that need to be customized in key weight, or may be all keys in the keyboard 101. The keys include key caps and key shafts, and each pressing position of the key is each pressing position of the key cap.
[0145] The function of whether to enable the custom weight of the keys of the keyboard 101 can be set for the keyboard 101. Specifically, a button or switch for enabling the custom weight of the keys of the keyboard 101 can be set on the keyboard 101. The user can enable the function of customizing the weight of the keys of the keyboard 101 by triggering the button or switch for enabling the custom weight of the keys of the keyboard 101. The function of customizing the weight of the keys of the keyboard 101 can also be enabled through other devices connected to the keyboard 101. Specifically, a virtual button for enabling the custom weight of the keys of the keyboard 101 can be displayed on a display connected to the keyboard 101. The user can choose to enable the function of customizing the weight of the keys of the keyboard 101 through the display.
[0146] The preset duration can be a duration set by the user, a duration selected by the user from a duration recommended by the key gage system of the customized keyboard 101, or a duration preset by the key gage system of the customized keyboard 101. The preset duration can be set by any one of the keyboard 101, the external processing device 102, and the standard key gage guidance server 103.
[0147] The sending module 302 is configured to send the number of times each key is pressed, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102. The external processing device 102 determines whether to change the key weight of the key based on the number of times each key is pressed, the pressing force of each press, and the number of presses at each pressing position. If it is determined to be changed, the change information is sent out.
[0148] After the keyboard 101 completes the statistical data, the sending module 302 can periodically send the number of key presses, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102, or it can immediately send the number of key presses, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102 after each statistical completion.
[0149] The keyboard 101 can send the number of key presses, the pressing force of each press, and the number of presses at each pressing position to the external processing device 102 via a wired or wireless method. Specifically, the wired method can be a USB method, and the wireless method can be a Bluetooth or a radio frequency (RF) method.
[0150] When the external processing device 102 cannot receive data, the number of key presses, the pressing force of each press, and the number of presses at each pressing position can be temporarily stored in the keyboard 101. When it is detected that the external processing device 102 can receive data, the number of key presses, the pressing force of each press, and the number of presses at each pressing position stored in the keyboard 101 are sent to the external processing device 102.
[0151] The feedback module 303 is configured to determine whether the replacement is completed according to the replacement information received from the external processing device 102 , and if the replacement is completed, feed back the replacement completion information to the external processing device 102 .
[0152] After the external processing device 102 sends the replacement information, the keyboard 101 can receive the replacement information sent from the external processing device 102. The replacement information can be a replacement prompt, which can be given through the keyboard 101, can be a voice prompt, can be displayed by installing a micro display on the keyboard 101, or can be given through the key backlight. Specifically, when the prompt is given through the key backlight, when a key needs to be replaced, the backlight of the key is on, and the user can find the key standard gram value corresponding to the key with the backlight on, so as to replace the key shaft of the key so that the replaced key shaft meets the key standard gram value of the key.
[0153] After receiving the replacement information, the keyboard 101 can be determined by the user whether the execution is completed. Specifically, a button or switch for confirming the completion of the execution can be set on the keyboard 101, and the completion of the execution can also be determined by other devices connected to the keyboard 101.
[0154] After confirming that the replacement is completed, if the original key pressure gram value is stored in the keyboard 101, the original key pressure gram value of the replaced key stored in the keyboard 101 can be replaced with the standard gram value of the replaced key. In another specific embodiment of the present disclosure, the updated original key pressure gram value can also be actively or passively sent to the external processing device 102.
[0155] After confirming that the replacement is completed, the feedback module 303 can feed back the replacement completion information to the external processing device 102. The external processing device 102 determines whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key is replaced with its corresponding key standard gram value, and continues to receive the number of presses of each key of one or more keys counted by the keyboard 101, the pressing force of each press, and the number of presses at each pressing position, and determines whether to replace the key gram value of the key. If the replacement is determined, the replacement information is issued until the replacement is no longer needed.
[0156] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0157] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.
[0158] It should be noted that each embodiment in the present disclosure is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For method embodiments, since they are similar to product embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the product embodiment.
[0159] It should also be noted that, in the present disclosure, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the statement "comprise one..." do not exclude the presence of other identical elements in the process, method, article or equipment including the elements.
[0160] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined in the present disclosure may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments shown in the present disclosure, but will conform to the widest range consistent with the principles and novel features disclosed in the present disclosure.
Claims
1. A method for customizing the weight of keyboard keys, applied to an external processing device, comprising the following steps: S11: according to the number of times each of one or more keys in the keyboard is pressed within a preset time period, the pressing force of each press, and the number of presses at each pressing position, obtaining a pressing frequency value, an average pressing force value, and an average pressing position value corresponding to each key, wherein the pressing position of the key is each pressing position of the keycap, and one key includes multiple pressing positions; S12: According to the pressing frequency value, the average pressing force and the average pressing position corresponding to each key, query the standard key gram value guidance table to obtain the key standard gram value corresponding to each key, wherein the standard key gram value guidance table stores the key standard gram value corresponding to each key under different pressing frequency values, pressing force averages and pressing position averages; S13: Compare the standard key gram value of each key and its corresponding original key pressure gram value to determine whether to change the key gram value of the key; if it is determined to change, send a change information; Determine whether the replacement is completed. If the replacement is completed, replace the original key pressure gram value of the key with its corresponding key standard gram value, and return to step S11; When the replacement is completed, the external processing device sends the pressing frequency value, average pressing force and average pressing position corresponding to each button to the standard button weight guidance server, and the standard button weight guidance server adjusts the standard button weight guidance table in real time according to the pressing frequency value, average pressing force and average pressing position corresponding to each button through a machine learning model, and sends the updated standard button weight guidance table to the external processing device.
2. The method of claim 1, wherein: According to the pressing force of each key of one or more keys in the keyboard within a preset time period, obtaining the average pressing force corresponding to each key includes: According to the number of times each key is pressed within the preset time period and the pressing force of each press, an average pressing force corresponding to each key is obtained.
3. The method of claim 1, wherein: According to the number of times each of the one or more keys in the keyboard is pressed at each pressing position within a preset time, obtaining the average value of the pressing position corresponding to each key includes: Obtaining a pressing frequency corresponding to each pressing position of each key according to the number of times each key is pressed at each pressing position within the preset time and the preset time; The pressing position of each key with the highest pressing frequency is taken as the corresponding pressing position average.
4. The method of claim 1, wherein: The replacement information includes the name of the key to be replaced and its corresponding standard gram value of the key.
5. A method for customizing the weight of keyboard keys, applied to a keyboard, comprising: Within a preset time period, count the number of times each key of one or more keys is pressed, the pressing force of each press, and the number of times each pressing position is pressed; Sending the number of times each key is pressed, the pressing force of each press, and the number of times each pressing position is pressed to an external processing device, and the external processing device determines whether to change the key weight of the key according to the number of times each key is pressed, the pressing force of each press, and the number of times each pressing position is pressed, and if it is determined to be changed, sending a change information; determining whether the replacement is completed according to the replacement information received from the external processing device, and if the replacement is completed, feeding back the replacement completion information to the external processing device; The external processing device determines whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key is replaced with its corresponding key standard gram value, and continues to receive the number of presses of each key, the pressing force of each press, and the number of presses at each pressing position of one or more keys counted by the keyboard to determine whether the key gram value of the key is replaced. If the replacement is determined, the replacement information is issued.
6. The method of claim 5, wherein: When the external processing device is unable to receive data, the number of times each key is pressed, the pressing force of each key, and the number of times each key is pressed are temporarily stored in the keyboard.
7. A device for customizing the weight of keyboard keys, applied to an external processing device, comprising: a parameter processing module configured to obtain a pressing frequency value, a pressing force average value, and a pressing position average value corresponding to each key according to the number of times each key of one or more keys in the keyboard is pressed within a preset time, the pressing force of each pressing, and the number of times each pressing position is pressed, wherein the pressing position of the key is each pressing position of the keycap, and one key includes multiple pressing positions; The data query module is configured to query a standard key gram guidance table according to the pressing frequency value, the pressing force average value and the pressing position average value corresponding to each key, and obtain the key standard gram value corresponding to each key, wherein the standard key gram guidance table stores the key standard gram value corresponding to each key under different pressing frequency values, pressing force average values and pressing position average values; A replacement determination module is configured to compare the standard key gram value of each key and its corresponding original key pressure gram value to determine whether to replace the key gram value of the key; if it is determined to replace, a replacement information is issued; A replacement module is configured to determine whether the replacement is completed, and if the replacement is completed, replace the original key pressure gram value of the key with its corresponding key standard gram value; After the replacement is completed, the data receiving module continues to receive the number of times each key of one or more keys on the keyboard is pressed within the preset time, the pressing force of each press, and the number of times each pressing position is pressed. The parameter processing module continues to obtain the pressing frequency value, the average pressing force, and the average pressing position corresponding to each key based on the number of times each key of one or more keys on the keyboard is pressed within the preset time, the pressing force of each press, and the number of presses at each pressing position. The data query module continues to query the standard key gram guidance table based on the pressing frequency value, the average pressing force, and the average pressing position corresponding to each key to obtain the standard key gram value corresponding to each key. The replacement module continues to determine whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key is replaced with its corresponding standard key gram value until the replacement determination module does not issue a replacement message.
8. A device for customizing the weight of keyboard keys, applied to a keyboard, comprising: A counting module is configured to count the number of times each key of one or more keys is pressed, the pressing force of each press, and the number of times each pressing position is pressed within a preset time period; a sending module configured to send the number of times each key is pressed, the pressing force of each press, and the number of times each pressing position is pressed to an external processing device, and the external processing device determines whether to change the key weight of the key according to the number of times each key is pressed, the pressing force of each press, and the number of times each pressing position is pressed, and if it is determined to change, sends a change information; a feedback module configured to determine whether the replacement is completed according to the replacement information received from the external processing device, and if the replacement is completed, feed back the replacement completion information to the external processing device; After confirming that the replacement is completed, the feedback module will feed back the information that the replacement is completed to the external processing device, and the external processing device will determine whether the replacement is completed. If the replacement is completed, the original key pressure gram value of the key will be replaced with its corresponding key standard gram value, and the keyboard will continue to receive the number of presses of each key, the pressing force of each press, and the number of presses at each pressing position of one or more keys counted by the keyboard to determine whether the key gram value of the key is changed. If the replacement is confirmed, the replacement information will be issued until replacement is no longer needed.
