CN111767618A - Method and device for customizing gram number of keys of keyboard - Google Patents

Method and device for customizing gram number of keys of keyboard Download PDF

Info

Publication number
CN111767618A
CN111767618A CN202010638268.3A CN202010638268A CN111767618A CN 111767618 A CN111767618 A CN 111767618A CN 202010638268 A CN202010638268 A CN 202010638268A CN 111767618 A CN111767618 A CN 111767618A
Authority
CN
China
Prior art keywords
key
pressing
gram
keyboard
standard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010638268.3A
Other languages
Chinese (zh)
Inventor
王晟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Handmusic Technology Co ltd
Original Assignee
Beijing Handmusic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Handmusic Technology Co ltd filed Critical Beijing Handmusic Technology Co ltd
Priority to CN202010638268.3A priority Critical patent/CN111767618A/en
Publication of CN111767618A publication Critical patent/CN111767618A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The present disclosure provides a method and a device for customizing gram numbers of keys of a keyboard, wherein the method comprises the steps of obtaining a pressing frequency value, a pressing force degree mean value and a pressing position mean value corresponding to each key according to the pressing times of each key of one or more keys in a keyboard within a preset time length, the pressing force degree of each pressing and the pressing times of each pressing position; inquiring a standard key gram number guide table according to the pressing frequency value, the pressing force average value and the pressing position average value corresponding to each key to obtain a key standard gram number value corresponding to each key; comparing the key standard gram value of each key with the original key pressure gram value corresponding to the key standard gram value to determine whether to replace the key gram value of the key; if the replacement is determined, a replacement message is sent.

Description

Method and device for customizing gram number of keys of keyboard
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for customizing gram numbers of keys of a keyboard.
Background
At present, most of common mechanical keyboards adopt a fixed key gram structure, and different users use the keyboards with the fixed key gram structure under some environments due to different use environments and different finger characteristics, so that the fingers of the users can be tired or even damaged.
Disclosure of Invention
The present disclosure provides a method and an apparatus for customizing gram numbers of keys of a keyboard, so as to solve the problem that the gram numbers of the keys of the keyboard are fixed and cause fatigue and even damage to fingers of a user in the prior art.
According to a first aspect of the present disclosure, there is provided a method for customizing gram numbers of keys of a keyboard, applied to an external processing device, comprising the steps of:
s11: obtaining a pressing frequency value, a pressing force degree mean value and a pressing position mean value corresponding to each key according to the pressing times of each key of one or more keys in a keyboard within a preset time length, the pressing force degree of each pressing and the pressing times of each pressing position;
s12: inquiring a standard key gram number guide table according to the pressing frequency value, the pressing force average value and the pressing position average value corresponding to each key to obtain a key standard gram number value corresponding to each key;
s13: comparing the key standard gram value of each key with the original key pressure gram value corresponding to the key standard gram value to determine whether to replace the key gram value of the key; if the replacement is determined, a replacement message is sent.
According to a second aspect of the present disclosure, there is provided a method for customizing gram numbers of keys of a keyboard, applied to the keyboard, comprising:
counting the pressing times of each key of one or more keys, the pressing force of each pressing and the pressing times of each pressing position within a preset time length;
sending the pressing times of each key, the pressing force of each pressing and the pressing times of each pressing position to external processing equipment, determining whether to replace the gram number of the keys according to the pressing times of each key, the pressing force of each pressing and the pressing times of each pressing position by the external processing equipment, and sending replacement information if the replacement is determined;
and 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.
According to a third aspect of the present disclosure, there is provided an apparatus for customizing gram numbers of keys of a keyboard, applied to an external processing device, comprising:
the parameter processing module is configured to obtain a pressing frequency value, a pressing force degree mean value and a pressing position mean value corresponding to each key according to the pressing times of each key of one or more keys in the keyboard within a preset time length, the pressing force degree of each pressing and the pressing times of each pressing position;
the data query module is configured to query a standard key gram number guide table according to the pressing frequency value, the pressing force average value and the pressing position average value corresponding to each key to obtain a key standard gram number value corresponding to each key;
the replacement determining module is configured to compare the key standard gram value of each key with the original key pressure gram value corresponding to the key standard gram value and determine whether to replace the key gram value of the key; if the replacement is determined, a replacement message is sent.
According to a fourth aspect of the present disclosure, there is provided an apparatus for customizing gram numbers of keys of a keyboard, applied to the keyboard, comprising:
the counting module is configured to count the pressing times of each key of the one or more keys, the pressing force of each pressing and the pressing times of each pressing position within a preset time length;
the sending module is configured to send the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position to the external processing equipment, the external processing equipment determines whether to replace the gram number of the keys according to the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position, and if replacement is determined, replacement information is sent;
and a feedback module configured to determine whether the replacement is completed according to the replacement information received from the external processing apparatus, and if the replacement is completed, to feed back the replacement completion information to the external processing apparatus.
According to the disclosure, a standard key gram value corresponding to each key is determined according to the pressing times of each key of one or more keys in a keyboard within a preset time length, the pressing force of each pressing and the pressing times of each pressing position, and whether the key gram of the key is changed or not is determined by comparing the standard key gram value of each key with an original key pressure gram value corresponding to the standard key gram value.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a system for customizing the number of grams of keys of a keyboard according to an embodiment of the present disclosure;
FIG. 2 is a method for customizing key pad grams for an external processing device according to an embodiment of the present disclosure;
FIG. 3 is a method for customizing the number of grams of keys of a keyboard according to an embodiment of the present disclosure;
FIG. 4 is a block diagram illustrating an apparatus for customizing key pad grams for an external processing device according to an embodiment of the present disclosure;
fig. 5 is a device for customizing the number of grams of keys of a keyboard according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In order to solve the problem that the gram number of the keys of the mechanical keyboard is fixed, the gram number of the keys of the mechanical keyboard cannot be adjusted independently according to the use habit and the finger characteristics of a user, and the fingers of the user are fatigued or even damaged, the method and the device for customizing the gram number of the keys of the keyboard are provided.
The present disclosure may be applied to a system for customizing the key pad gram, as shown in fig. 1, comprising a keyboard 101, an external processing device 102, and a standard key pad gram guide server 103. The keyboard 101 is used for acquiring user use data and sending the user use data to the external processing device 102; the external processing device 102 is configured to query a standard key pad number of keys matched with the user usage data in the standard key pad number of keys guidance table according to the user usage data, and send the queried standard key pad number of keys to the keyboard 101 for replacement of the keyboard 101, and when the key pad number of keys of the keyboard 101 does not need to be replaced, the external processing device 102 may send the user usage data or related data thereof to the standard key pad number of keys guidance server 103; the cri-metric key guidance server 103 is configured to continuously train the machine learning model according to the user usage data or the related data thereof to adjust the cri-metric key guidance table in real time, and send the updated cri-metric key guidance table to the external processing device 102.
The user usage data may include, among other things, the number of presses per key, the degree of presses per press, and the number of presses at various press locations of one or more keys in the keyboard 101. One or more of the keys in the keyboard 101 may be a key that needs to be customized in terms of gram, and may also be all keys in the keyboard 101, where the keys include a keycap and a key axis, and each pressing position of the key is each pressing position of the keycap.
The data related to the user usage data may include a pressing frequency value, a pressing force degree average value, and a pressing position average value corresponding to each key, which are obtained according to the number of presses of each key, the pressing force degree of each press, and the number of presses of each pressing position of one or more keys in the keyboard 101.
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.
The counting module of the keyboard 101 is configured to count the number of times of pressing each key of the one or more keys, the pressing strength of each pressing, and the number of times of pressing each pressing position within a preset time period.
The sending module of the keyboard 101 is configured to send the number of times of pressing each key, the pressing strength of each pressing, and the number of times of pressing each pressing position to the external processing device 102, and the external processing device 102 determines whether to replace the number of grams of the key according to the number of times of pressing each key, the pressing strength of each pressing, and the number of times of pressing each pressing position, and if it is determined to replace the key, sends replacement information. The gram number of the replaced key can be a key shaft of the replaced key, and different key shafts correspond to different gram numbers of the key.
The feedback module of the keyboard 101 is configured to determine whether replacement is completed according to the replacement information received from the external processing apparatus 102, and if replacement is completed, feed back the replacement completion information to the external processing apparatus 102.
Specifically, a button or a switch for turning on the gram number of the customized keyboard 101 may be provided on the keyboard 101, and the user may turn on the gram number of the customized keyboard 101 by triggering the button or the switch for turning on the gram number of the customized keyboard 101. The function of the customized keyboard 101 for the number of grams of keys may also be enabled by other devices connected to the keyboard 101, and specifically, whether to enable the virtual button of the customized keyboard 101 for the number of grams of keys may be displayed on a display communicatively connected to the keyboard 101, and the user may select to enable the function of the customized keyboard 101 for the number of grams of keys through the display.
The preset duration may be a duration set by the user, a duration selected by the user from durations recommended by the customized keyboard 101 key count system, or a duration preset by the customized keyboard 101 key count system. The preset time period may be set by any one of the keyboard 101, the external processing device 102, and the standard key gram guide server 103. In a specific embodiment of the present disclosure, the preset time period may be 1 hour, or may be one month, and is not limited specifically.
If the user only performs key gram customization on one key in the keyboard 101, only the pressing times of the one key, the pressing force degree of each pressing and the pressing times of each pressing position may be counted within the preset time period, and then the pressing times of the one key, the pressing force degree of each pressing and the pressing times of each pressing position are sent to the external processing device 102.
If the user needs to customize the gram number of the keys in the keyboard 101, the number of times of pressing each of the keys, the pressing force of each pressing and the number of times of pressing at each pressing position may be counted respectively within a preset time period, and the number of times of pressing the keys, the pressing force of each pressing and the number of times of pressing at each pressing position may be sent to the external processing device 102. Therefore, the gram number of the plurality of keys can be simultaneously customized within a preset time length, and the gram number customization time of the keys is reduced.
In another embodiment of the present disclosure, if the user desires key gram customization of one or more keys in the keypad 101, the keypad 101 may count the number of times of pressing each of all the keys, the pressing force of each pressing and the pressing force of each pressing position respectively within a preset time period, and sending the statistical data of all keys to the external processing device 102, the external processing device 102 may send a key standard gram value corresponding to a key whose gram number needs to be changed among one or more keys selected by the user and needed to be customized to the keyboard 101, the external processing device 102 may also send a key standard gram value corresponding to a key whose gram number needs to be changed among all keys to the keyboard 101, and the user selects a key which the user wants to change among the keys whose gram number needs to be changed among all keys sent by the external processing device 102.
The keyboard 101 may periodically transmit the number of times of pressing the key, the degree of pressing force per pressing, and the number of times of pressing at each pressed position to the external processing device 102 after the completion of the statistics, or may immediately transmit the number of times of pressing the key, the degree of pressing force per pressing, and the number of times of pressing at each pressed position to the external processing device 102 after the completion of the statistics.
The keyboard 101 may transmit the number of times of pressing of the key, the degree of pressing per press, and the number of times of pressing at each pressed position to the external processing apparatus 102 in a wired or wireless manner. Specifically, the wired mode may be a USB mode, and the wireless mode may be a bluetooth mode or a Radio Frequency (RF) mode, which is not specifically limited in this specific embodiment of the disclosure.
When the external processing device 102 cannot receive data, the number of times of pressing a key, the pressing strength of each pressing, and the number of times of pressing at each pressing position may be temporarily stored in the storage module of the keyboard 101. When detecting that the external processing device 102 can receive the data, the pressing times of the keys, the pressing force of each pressing and the pressing times of 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 can be ensured not to be missed.
The parameter processing module of the external processing device 102 is configured to obtain a pressing frequency value, a pressing force degree average value, and a pressing position average value corresponding to each key according to the pressing times of each key of one or more keys in the keyboard 101 within a preset time period, the pressing force degree of each pressing, and the pressing times of each pressing position.
The data query module 202 of the external processing device 102 is configured to query the standard key gram guide table according to the pressing frequency value, the pressing force average value, and the pressing position average value corresponding to each key, so as to obtain a key standard gram value corresponding to each key.
The replacement determining module of the external processing device 102 is configured to compare the standard key button gram value of each key button with the original key button pressure gram value corresponding to the standard key button gram value, and determine whether to replace the key button gram value; if the replacement is determined, a replacement message is sent.
The obtaining a pressing frequency value corresponding to each key according to the pressing frequency of each key of the one or more keys in the keyboard 101 within a preset time includes: according to the pressing times and the preset time length of each key of one or more keys in the keyboard 101 within the preset time length, a pressing frequency value corresponding to each key is obtained. Specifically, a ratio of the pressing frequency of each key of the one or more keys in the keyboard 101 within the preset time period to the preset time period is used as a pressing frequency value corresponding to each key.
Obtaining a pressing force degree average value corresponding to each key according to a pressing force degree of each key of one or more keys in the keyboard 101 during each pressing within a preset time period, including: and obtaining a pressing force degree mean value corresponding to each key according to the pressing times of each key in the preset time and the pressing force degree of each pressing. Specifically, the total pressing force of each key within a preset time period is counted, and the ratio of the total pressing force to the pressing times is used as the mean pressing force corresponding to each key.
A key may include a plurality of pressed 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 a key cap.
Obtaining a mean value of pressing positions corresponding to each key according to the pressing times of each key of one or more keys in the keyboard 101 at each pressing position within a preset time period, including: obtaining the pressing frequency corresponding to each pressing position of each key according to the pressing times of each pressing position of each key in the preset time and the preset time; and taking the pressing position with the highest pressing frequency of each key as the mean value of the corresponding pressing positions.
According to the key standard gram value determining method and device, the key standard gram value corresponding to the key is determined through various parameter values, and the key gram value customizing accuracy can be improved.
The standard key gram guide table may be stored in the external processing device 102, and the standard key gram guide table may store a key standard gram value corresponding to each key at different pressing frequency values, pressing force average values, and pressing position average values. Specifically, the standard key gram guide table may store a key standard gram value corresponding to each key in different pressing frequency ranges, pressing force average ranges, and pressing position average ranges. In another embodiment of the present disclosure, the standard gram value of the key corresponding to each key may be queried in the standard key gram guide table according to a weighted summation result by performing weighted summation on the pressing frequency value, the pressing force average value, and the pressing position average value of each key. In another embodiment of the present disclosure, a hash value corresponding to the pressing frequency value, the pressing intensity mean value, and the pressing position mean value of each key may be calculated through a hash function, and a key standard gram value corresponding to the key may be queried in the standard key gram guide table according to the hash value.
The original key pressure gram value corresponding to each key may also be stored in the external processing device 102, and the external processing device 102 may 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 guide table with the original key pressure gram value corresponding to the key. When the inquired key standard gram value of the key is not consistent with the original key pressure gram value corresponding to the key, the gram number of the key is determined to be replaced, meanwhile, the external processing equipment 102 can send replacement information, and when the inquired key standard gram value of the key is consistent with the original key pressure gram value corresponding to the key, the gram number of the key is not required to be replaced.
The replacement information may include the name of the key to be replaced and its corresponding key standard grammage value. The replacement information may be a replacement prompt, may be prompted by the external processing device 102, may be a voice prompt, or may be prompted by a display connected to the external processing device 102.
The initial standard key gram guide table and the original key pressure gram value stored in the external processing device 102 may be obtained from a network query, may be obtained from the standard key gram guide server 103 corresponding to the external processing device 102, and may also be obtained from the keyboard 101.
Specifically, when the original key pressure gram value of the keyboard 101 is obtained through network query, the external processing device 102 may directly query the standard key gram guide table corresponding to the keyboard 101, and for the original key pressure gram value of the keyboard 101, the external processing device 102 may 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.
When the standard key gram instruction list is obtained by the standard key gram instruction server 103 corresponding to the external processing device 102, the external processing device 102 may directly request to obtain the standard key gram instruction list corresponding to the keyboard 101 from the standard key gram instruction server 103 corresponding to the external processing device 102, or the standard key gram instruction server 103 may periodically push the standard key gram instruction list to the external processing device 102. For the original key pressure gram value of the keyboard 101, the external processing device 102 may also obtain the model of the keyboard 101, and actively request to query the standard key gram directing server 103 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.
When the standard key gram number is obtained through the keyboard 101, the standard key gram number guide 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, and when the external processing device 102 is connected with the keyboard 101, the standard key gram number guide table and the original key pressure gram value corresponding to the external processing device can be directly obtained from the keyboard 101.
The initial standard key gram guide table of the keyboard 101 and the corresponding original key pressure gram value thereof may be obtained in the same manner or in different manners. Preferably, the initial standard key grammage guide table of the keyboard 101 and its corresponding original key pressure grammage value are obtained from the standard key grammage guide server 103.
After the external processing device 102 sends the replacement information, the keyboard 101 may receive the replacement information sent from the external processing device 102, where the replacement information may be a replacement prompt, a prompt may be made through the keyboard 101, a voice prompt, a display prompt may be made by installing a microdisplay on the keyboard 101, or a prompt may be made through a key backlight. Specifically, when the key backlight is used for prompting, when the gram number of the key needs to be changed, the backlight of the key is on, and a user can search the key standard gram number corresponding to the key with the backlight on, so that the key shaft of the key is changed, and the changed key shaft conforms to the key standard gram number of the key.
The keyboard 101 may determine whether the execution is completed by the user after receiving the replacement information. Specifically, a button or switch for confirming execution completion may be provided on the keyboard 101, and execution completion may also be determined by other devices connected to the keyboard 101.
After the replacement is confirmed, if the original key pressure gram value is stored in the keyboard 101, the original key pressure gram value of the replacement key stored in the keyboard 101 may be replaced with the standard key value of the replaced key. In another particular embodiment of the present disclosure, the updated original key press grams value may also be actively or passively sent to the external processing device 102.
After confirming the replacement completion, information of the replacement completion may also be fed back to the external processing apparatus 102. The external processing device 102 determines whether the replacement is completed, and if the replacement is completed, replaces the original key pressure gram value of the key with the corresponding key standard gram value, and continues to receive the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position of the one or more keys counted by the keyboard 101, determines whether the key gram value of the key is replaced, and if the replacement is determined, sends out replacement information until the replacement is not needed.
After the gram number of the key does not need to be changed, the external processing device 102 may send the pressing frequency value, the pressing force average value, and the pressing position average value corresponding to each key to the standard key gram number guidance server 103, and the standard key gram number guidance server 103 adjusts the standard key gram number guidance table in real time through the machine learning model according to the pressing frequency value, the pressing force average value, and the pressing position average value corresponding to each key.
Specifically, the gram number of the keys of the keyboard 101 is repeatedly adjusted until the adjustment is not needed, the external processing device 102 may send the press frequency value, the press force mean value, and the press position mean value corresponding to each key after the adjustment is completed to the standard key gram number guidance server 103, a machine learning model corresponding to the standard key gram number guidance table is stored in the standard key gram number guidance server 103, the machine learning model is input to the machine learning model for training through the press frequency value, the press force mean value, and the press position mean value corresponding to each key after the adjustment is completed, the machine learning model may be continuously improved, and thus a more accurate standard key gram number guidance table is determined.
The external processing device 102 may actively or passively obtain the updated standard key gram guide table, so that the key grams of the keyboard 101 may be more precisely customized.
Specifically, the following description will be given taking as an example that one key needs to be customized in terms of the number of grams of the key.
Firstly, a user needs to start the function of customizing the gram number of the keys of the keyboard 101 and set a preset time length.
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 degree of each press, and the number of times each pressed position is pressed, and then sends the number of times the key is pressed, the pressing force degree of each press, and the number of times each pressed position is pressed to the external processing device 102.
The external processing device 102 obtains a pressing frequency value, a pressing force average value and a pressing position average value corresponding to the key according to the statistical data of the key, queries a standard key gram guide table according to the pressing frequency value, the pressing force average value and the pressing position average value corresponding to the key, obtains a key standard gram value corresponding to the key, compares whether the key standard gram value of the key is consistent with the original key pressing gram value of the key, and sends out replacement information if the key standard gram value of the key is not consistent with the original key pressing gram value of the key.
After the keyboard 101 receives the replacement information, the user performs key gram replacement and determines whether the replacement is completed, and if the replacement is completed, the keyboard 101 feeds back the replacement completion information to the external processing apparatus 102.
The external processing device 102 replaces the original key pressure gram value of the key with the inquired key standard gram value according to the received replacement completion information fed back by the keyboard 101, continuously receives the pressing times of the key in the preset time length, the pressing force degree of each pressing and the pressing times of each pressing position counted by the keyboard 101, inquires the key standard gram value corresponding to the counted data of the key, compares whether the key standard gram value of the current time is consistent with the original key pressure gram value after the previous replacement is completed, if not, sends the replacement information, continuously replaces the original key pressure gram value after the previous replacement is completed with the key standard gram value of the current time after receiving the replacement completion information fed back by the keyboard 101, and continuously receives the pressing times of the key in the preset time length counted by the keyboard 101, The pressing force per pressing and the pressing times of each pressing position are not sent out until the replacement information is not sent out.
When the standard gram value of the key inquired at the current time is consistent with the original key pressure gram value stored at the current time, no replacement information is sent, namely that the customization of the gram value of the key is finished. At this time, the external processing device 102 may send the pressing frequency value, the pressing force average value, and the pressing position average value of each time generated by the key in the customization process to the standard key gram directing server 103, and the standard key gram directing server 103 trains the machine learning model corresponding to the standard key gram directing table stored therein according to these data to update the standard key gram directing table, and sends the updated standard key gram directing table to the external processing device 102, so that the external processing device 102 can use the standard key gram directing table in the next customization of the keyboard 101.
The external processing device 102 may also immediately send the values of the pressing frequency, the mean value of the pressing frequency, and the mean value of the pressing position of the key to the standard key gram guide server 103 each time, and the standard key gram guide server 103 trains the machine learning model corresponding to the standard key gram guide table stored therein according to the data, updates the standard key gram guide table, and sends the updated standard key gram guide table to the external processing device 102 in time, so that the external processing device 102 may be used in the current process of customizing the key gram of the keyboard 101, thereby improving the accuracy of the key gram customization of the keyboard 101.
The external processing device 102 may also periodically send the obtained pressing frequency value, the obtained pressing force mean value, and the obtained pressing position mean value to the standard key gram number guidance server 103, and the standard key gram number guidance server 103 trains the machine learning model corresponding to the standard key gram number guidance table stored therein according to the data, updates the standard key gram number guidance table, and periodically sends the updated standard key gram number guidance table to the external processing device 102.
Specifically, the following description will take the example of the key gram customization of all the keys in the keyboard 101, in which the user does not select the key to be customized.
Firstly, a user needs to start the function of customizing the gram number of the keys of the keyboard 101 and set a preset time length.
After the above steps are completed, the keyboard 101 counts the number of times of pressing each key in all the keys within a preset time period, the pressing force of each pressing and the number of times of pressing each pressing position, and then the number of times of pressing each key, the pressing force of each pressing and the number of times of pressing each pressing position are sent to the external processing device 102.
The external processing device 102 obtains a pressing frequency value, a pressing force mean value and a pressing position mean value corresponding to each key according to the statistical data of each key, queries a standard key gram guide table according to the pressing frequency value, the pressing force mean value and the pressing position mean value corresponding to each key, obtains a key standard gram value corresponding to each key, compares whether the key standard gram value of each key is consistent with an original key pressing gram value corresponding to the key standard gram value, and sends replacement information if the key standard gram value of each key is not consistent with the original key pressing gram value, wherein the replacement information comprises the key name of the key gram needing to be replaced and the key standard gram value corresponding to the key standard gram value.
After the keyboard 101 receives the replacement information, the user performs key gram replacement and determines whether the replacement is completed, and if the replacement is completed, the keyboard 101 feeds back the replacement completion information to the external processing apparatus 102.
The external processing device 102 replaces the original key pressure gram value of the replaced key with the inquired key standard gram value according to the received replacement completion information fed back by the keyboard 101, continuously receives the pressing times of each key in the preset time length, the pressing force degree of each pressing and the pressing times of each pressing position in all keys counted by the keyboard 101, inquires the key standard gram value corresponding to the counted data of each key at this time, compares whether the key standard gram value of each key at this time is consistent with the original key pressure gram value after the previous replacement is completed, if the key standard gram value of each key at this time is not consistent with the original key pressure gram value after the previous replacement is completed, sends the replacement information, continuously replaces the original key pressure gram value after the previous replacement is completed with the key standard gram value of the current time after the replacement is received, and continuously receives the pressing times of each key in the preset time length, counted by the keyboard 101, The pressing force per pressing and the pressing times of each pressing position are not sent out until the replacement information is not sent out.
When the key standard gram values of all the keys inquired at the current time are consistent with the original key pressure gram values corresponding to all the keys stored at the current time, no replacement information is sent, that is, the gram values of all the keys in the keyboard 101 are completely customized. At this time, the external processing device 102 may send the pressing frequency value, the pressing force mean value, and the pressing position mean value of each time generated in the customization process of each key in the keyboard 101 to the standard key gram directing server 103, and the standard key gram directing server 103 trains the machine learning model corresponding to the standard key gram directing table stored therein according to these data to update the standard key gram directing table, and sends the updated standard key gram directing table to the external processing device 102, so that the external processing device 102 can use when customizing the key gram of the keyboard 101 next time.
The external processing device 102 may also immediately send the values of the pressing frequency, the mean value of the pressing frequency, and the mean value of the pressing position of the key to the standard key gram guide server 103 each time, and the standard key gram guide server 103 trains the machine learning model corresponding to the standard key gram guide table stored therein according to the data, updates the standard key gram guide table, and sends the updated standard key gram guide table to the external processing device 102 in time, so that the external processing device 102 may be used in the current process of customizing the key gram of the keyboard 101, thereby improving the accuracy of the key gram customization of the keyboard 101.
The external processing device 102 may also periodically send the obtained pressing frequency value, the obtained pressing force mean value, and the obtained pressing position mean value to the standard key gram number guidance server 103, and the standard key gram number guidance server 103 trains the machine learning model corresponding to the standard key gram number guidance table stored therein according to the data, updates the standard key gram number guidance table, and periodically sends the updated standard key gram number guidance table to the external processing device 102.
In an embodiment of the present disclosure, the present disclosure provides a method for customizing the number of grams of keys of a keyboard 101, applied to an external processing device 102, as shown in fig. 2, which may include the following steps:
s11: according to the pressing times of each of one or more keys in the keyboard 101 within a preset time period, the pressing force degree of each pressing and the pressing times of each pressing position, a pressing frequency value, a pressing force degree mean value and a pressing position mean value corresponding to each key are obtained.
One or more of the keys in the keyboard 101 may be a key that needs to be customized in terms of gram number of the key, or may be all keys in the keyboard 101, where the key includes a keycap and a key axis, and each pressing position of the key is each pressing position of the keycap.
The preset duration can be a duration set by the user, a duration recommended and selected by the user through the system, and a duration preset by the system. The preset time period can be set by any one of the keyboard 101, the external processing device 102 and the standard key gram guide server 103.
Obtaining a pressing frequency value corresponding to each key according to the pressing frequency of each key of one or more keys in the keyboard 101 within a preset time period, including: according to the pressing times and the preset time length of each key of one or more keys in the keyboard 101 within the preset time length, a pressing frequency value corresponding to each key is obtained. Specifically, a ratio of the pressing frequency of each key of the one or more keys in the keyboard 101 within the preset time period to the preset time period is used as a pressing frequency value corresponding to each key.
Obtaining a pressing force degree average value corresponding to each key according to a pressing force degree of each key of one or more keys in the keyboard 101 during each pressing within a preset time period includes: and obtaining a pressing force degree mean value corresponding to each key according to the pressing times of each key in the preset time and the pressing force degree of each pressing. Specifically, the total pressing force of each key within a preset time period is counted, and the ratio of the total pressing force to the pressing times is used as the mean pressing force corresponding to each key.
A key may include a plurality of pressed 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 a key cap.
Obtaining a mean value of pressed positions corresponding to each key according to the pressed times of each key in each pressed position of one or more keys in the keyboard 101 within a preset time period includes: obtaining the pressing frequency corresponding to each pressing position of each key according to the pressing times of each pressing position of each key in the preset time and the preset time; and taking the pressing position with the highest pressing frequency of each key as the mean value of the corresponding pressing positions.
S12: and inquiring a standard key gram number guide table according to the pressing frequency value, the pressing force mean value and the pressing position mean value corresponding to each key to obtain a key standard gram number value corresponding to each key.
The standard key gram guide table may be stored in the external processing device 102, and the standard key gram guide table may store a key standard gram value corresponding to each key at different pressing frequency values, pressing force average values, and pressing position average values. Specifically, the standard key gram guide table may store a key standard gram value corresponding to each key in different pressing frequency ranges, pressing force average ranges, and pressing position average ranges. In another embodiment of the present disclosure, the standard gram value of the key corresponding to each key may be queried in the standard key gram guide table according to a weighted summation result by performing weighted summation on the pressing frequency value, the pressing force average value, and the pressing position average value of each key. In another embodiment of the present disclosure, a hash value corresponding to the pressing frequency value, the pressing intensity mean value, and the pressing position mean value of each key may be calculated through a hash function, and a key standard gram value corresponding to the key may be queried in the standard key gram guide table according to the hash value.
The original key pressure gram value corresponding to each key may also be stored in the external processing device 102, and the external processing device 102 may 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 guide table with the original key pressure gram value corresponding to the key. When the inquired key standard gram value of the key is not consistent with the original key pressure gram value corresponding to the key, the gram number of the key is determined to be replaced, meanwhile, the external processing equipment 102 can send replacement information, and when the inquired key standard gram value of the key is consistent with the original key pressure gram value corresponding to the key, the gram number of the key is not required to be replaced.
The initial standard key gram guide table and the original key pressure gram value stored in the external processing device 102 may be obtained from a network query, may be obtained from the standard key gram guide server 103 corresponding to the external processing device 102, and may also be obtained from the keyboard 101.
Preferably, the initial standard key grammage guide table of the keyboard 101 and its corresponding original key pressure grammage value are obtained from the standard key grammage guide server 103.
S13: comparing the key standard gram value of each key with the original key pressure gram value corresponding to the key standard gram value to determine whether to replace the key gram value of the key; if the replacement is determined, a replacement message is sent.
The replacement information may include the name of the key to be replaced and the corresponding key standard gram value. The replacement information may be a replacement prompt, may be prompted by the external processing device 102, may be a voice prompt, or may be prompted by a display connected to the external processing device 102.
After the step S13, the method further includes:
it is determined whether the replacement is completed, and if the replacement is completed, the original key pressure gram value of the key is replaced with the key standard gram value corresponding thereto, and the process returns to step S11.
When the gram value of the standard key of the key is inconsistent with the gram value of the original key pressure corresponding to the key, the external processing device 102 sends replacement information and needs to determine whether the replacement is completed, if so, the original key pressure gram value of the key is replaced by the corresponding standard gram value of the key, the number of pressing times of each key of one or more keys, the pressing force degree of each pressing and the pressing times of each pressing position counted by the keyboard 101 are continuously received, whether the gram value of the key is replaced is judged, and if the replacement is determined, the replacement information is sent until the replacement is not needed.
After the replacement is determined to be completed and no longer needs to be replaced, the external processing device 102 may further send the pressing frequency value, the pressing force average value, and the pressing position average value corresponding to each key to the standard key gm guidance server 103, and the standard key gm guidance server 103 adjusts the standard key gm guidance table in real time through the machine learning model according to the pressing frequency value, the pressing force average value, and the pressing position average value corresponding to each key, and sends the updated standard key gm guidance table to the external processing device 102.
The external processing device 102 may also immediately send the values of the pressing frequency, the mean value of the pressing frequency, and the mean value of the pressing position of the key to the standard key gram guide server 103 each time, and the standard key gram guide server 103 trains the machine learning model corresponding to the standard key gram guide table stored therein according to the data, updates the standard key gram guide table, and sends the updated standard key gram guide table to the external processing device 102 in time, so that the external processing device 102 may be used in the current process of customizing the key gram of the keyboard 101, thereby improving the accuracy of the key gram customization of the keyboard 101.
The external processing device 102 may also periodically send the obtained pressing frequency value, the obtained pressing force mean value, and the obtained pressing position mean value to the standard key gram number guidance server 103, and the standard key gram number guidance server 103 trains the machine learning model corresponding to the standard key gram number guidance table stored therein according to the data, updates the standard key gram number guidance table, and periodically sends the updated standard key gram number guidance table to the external processing device 102.
In another embodiment of the present disclosure, the present disclosure further provides a method for customizing the number of grams of keys of a keyboard 101, applied to the keyboard 101, as shown in fig. 3, including the following steps:
s21: and counting the pressing times of each key of the one or more keys, the pressing strength of each pressing and the pressing times of each pressing position within the preset time length.
The one or more keys may be keys that need to be customized in terms of gram, or may be all keys in the keyboard 101, where the keys include keycaps and key axes, and each pressing position of the key is each pressing position of the keycap.
Whether the function of turning on the gram number of the keys of the customized keyboard 101 is set for the keyboard 101 may be set, specifically, a button or a switch for turning on the gram number of the keys of the customized keyboard 101 may be set on the keyboard 101, and the user may turn on the function of turning on the gram number of the keys of the customized keyboard 101 by triggering the button or the switch for turning on the gram number of the keys of the customized keyboard 101. The function of the customized keyboard 101 for the number of grams of keys may also be enabled by other devices connected to the keyboard 101, and specifically, whether to enable the virtual button of the customized keyboard 101 for the number of grams of keys may be displayed on a display communicatively connected to the keyboard 101, and the user may select to enable the function of the customized keyboard 101 for the number of grams of keys through the display.
The preset duration may be a duration set by the user, a duration selected by the user from durations recommended by the customized keyboard 101 key count system, or a duration preset by the customized keyboard 101 key count system. The preset time period can be set by any one of the keyboard 101, the external processing device 102 and the standard key gram guide server 103.
S22: sending the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position to the external processing equipment 102, determining whether to replace the gram number of the keys according to the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position by the external processing equipment 102, and sending replacement information if the replacement is determined.
The keyboard 101 may periodically transmit the number of times of pressing the key, the degree of pressing force per pressing, and the number of times of pressing at each pressed position to the external processing device 102 after the completion of the statistics, or may immediately transmit the number of times of pressing the key, the degree of pressing force per pressing, and the number of times of pressing at each pressed position to the external processing device 102 after the completion of the statistics.
The keyboard 101 may transmit the number of times of pressing of the key, the degree of pressing per press, and the number of times of pressing at each pressed position to the external processing apparatus 102 in a wired or wireless manner. Specifically, the wired mode may be a USB mode, and the wireless mode may be a bluetooth mode or a Radio Frequency (RF) mode.
When the external processing device 102 cannot receive data, the number of times of pressing of a key, the degree of pressing per press, and the number of times of pressing at each pressed position may be temporarily stored in the keyboard 101. When it is detected that the external processing device 102 can receive the data, the number of times of pressing of the key stored in the keyboard 101, the degree of pressing force per press, and the number of times of pressing of each pressed position are transmitted to the external processing device 102.
S23: whether replacement is completed is determined based on the replacement information received from the external processing apparatus 102, and if replacement is completed, the replacement completion information is fed back to the external processing apparatus 102.
After the external processing device 102 sends the replacement information, the keyboard 101 may receive the replacement information sent from the external processing device 102, where the replacement information may be a replacement prompt, a prompt may be made through the keyboard 101, a voice prompt, a display prompt may be made by installing a microdisplay on the keyboard 101, or a prompt may be made through a key backlight. Specifically, when the key backlight is used for prompting, when the gram number of the key needs to be changed, the backlight of the key is on, and a user can search the key standard gram number corresponding to the key with the backlight on, so that the key shaft of the key is changed, and the changed key shaft conforms to the key standard gram number of the key.
The keyboard 101 may determine whether the execution is completed by the user after receiving the replacement information. Specifically, a button or switch for confirming execution completion may be provided on the keyboard 101, and execution completion may also be determined by other devices connected to the keyboard 101.
After the replacement is confirmed, if the original key pressure gram value is stored in the keyboard 101, the original key pressure gram value of the replacement key stored in the keyboard 101 may be replaced with the standard key value of the replaced key. In another particular embodiment of the present disclosure, the updated original key press grams value may also be actively or passively sent to the external processing device 102.
After confirming the replacement completion, information of the replacement completion may also be fed back to the external processing apparatus 102. The external processing device 102 determines whether the replacement is completed, and if the replacement is completed, replaces the original key pressure gram value of the key with the corresponding key standard gram value, and continues to receive the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position of the one or more keys counted by the keyboard 101, determines whether the key gram value of the key is replaced, and if the replacement is determined, sends out replacement information until the replacement is not needed.
Correspondingly, the present disclosure also provides an apparatus for customizing the number of grams of keys of the keyboard 101, which is applied to the external processing device 102, and as shown in fig. 4, includes a parameter processing module 201, a data query module 202, and a replacement determination module 203.
The apparatus may further include a data receiving module configured to receive the number of presses of each of the one or more keys transmitted by the keyboard 101 within a preset time period, the pressing force degree of each press, and the pressing times of each pressing position.
The parameter processing module 201 is configured to obtain a pressing frequency value, a pressing force degree mean value and a pressing position mean value corresponding to each key according to the pressing times of each key of the one or more keys in the keyboard 101 within a preset time period, the pressing force degree of each pressing and the pressing times of each pressing position.
One or more of the keys in the keyboard 101 may be a key that needs to be customized in terms of gram, and may also be all keys in the keyboard 101, where the keys include a keycap and a key axis, and each pressing position of the key is each pressing position of the keycap.
The preset duration can be a duration set by the user, a duration recommended and selected by the user through the system, and a duration preset by the system. The preset time period can be set by any one of the keyboard 101, the external processing device 102 and the standard key gram guide server 103.
Obtaining a pressing frequency value corresponding to each key according to the pressing frequency of each key of one or more keys in the keyboard 101 within a preset time period, including: according to the pressing times and the preset time length of each key of one or more keys in the keyboard 101 within the preset time length, a pressing frequency value corresponding to each key is obtained. Specifically, a ratio of the pressing frequency of each key of the one or more keys in the keyboard 101 within the preset time period to the preset time period is used as a pressing frequency value corresponding to each key.
Obtaining a pressing force degree average value corresponding to each key according to a pressing force degree of each key of one or more keys in the keyboard 101 during each pressing within a preset time period includes: and obtaining a pressing force degree mean value corresponding to each key according to the pressing times of each key in the preset time and the pressing force degree of each pressing. Specifically, the total pressing force of each key within a preset time period is counted, and the ratio of the total pressing force to the pressing times is used as the mean pressing force corresponding to each key.
A key may include a plurality of pressed 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 a key cap.
Obtaining a mean value of pressed positions corresponding to each key according to the pressed times of each key in each pressed position of one or more keys in the keyboard 101 within a preset time period includes: obtaining the pressing frequency corresponding to each pressing position of each key according to the pressing times of each pressing position of each key in the preset time and the preset time; and taking the pressing position with the highest pressing frequency of each key as the mean value of the corresponding pressing positions.
The data query module 202 is configured to query the standard key gram guide table according to the pressing frequency value, the pressing force average value, and the pressing position average value corresponding to each key, so as to obtain a key standard gram value corresponding to each key.
The apparatus may also include a data storage module. The standard key gram guide table may store a key standard gram value corresponding to each key at different pressing frequency values, pressing force mean values, and pressing position mean values. Specifically, the standard key gram guide table may store a key standard gram value corresponding to each key in different pressing frequency ranges, pressing force average ranges, and pressing position average ranges. In another embodiment of the present disclosure, the standard gram value of the key corresponding to each key may be queried in the standard key gram guide table according to a weighted summation result by performing weighted summation on the pressing frequency value, the pressing force average value, and the pressing position average value of each key. In another embodiment of the present disclosure, a hash value corresponding to the pressing frequency value, the pressing intensity mean value, and the pressing position mean value of each key may be calculated through a hash function, and a key standard gram value corresponding to the key may be queried in the standard key gram guide table according to the hash value.
The original key pressure gram value corresponding to each key may also be stored in the data storage module, and the replacement determining module 203 may determine whether to replace the key by comparing the key standard gram value queried according to the standard key gram guide table with the original key pressure gram value corresponding to the key. When the inquired key standard gram value of the key is not corresponding to the original key pressure gram value corresponding to the key, the gram number of the key is determined to be replaced, meanwhile, the replacement determining module 203 of the external processing device 102 can send replacement information, and when the inquired key standard gram value of the key is consistent with the original key pressure gram value corresponding to the key, the gram number of the key is not required to be replaced.
The initial standard key gram guide table and the original key pressure gram value stored in the data storage module may be obtained from a network query, may also be obtained from the standard key gram guide server 103 corresponding to the external processing device 102, and may also be obtained from the keyboard 101.
Preferably, the initial standard key grammage guide table of the keyboard 101 and its corresponding original key pressure grammage value are obtained from the standard key grammage guide server 103.
A replacement determining module 203 configured to compare the key standard gram value of each key with the corresponding original key pressure gram value thereof, and determine whether to replace the key gram value of the key; if the replacement is determined, a replacement message is sent.
The replacement information may include the name of the key to be replaced and the corresponding key standard gram value. The replacement information may be a replacement prompt, may be prompted by the external processing device 102, may be a voice prompt, or may be prompted by a display connected to the external processing device 102.
The apparatus may also include a replacement module configured to determine whether the replacement is complete and, if the replacement is complete, replace the original key pressure gram value for the key with its corresponding key standard gram value.
After the replacement is completed, the data receiving module may further continue to receive the number of times each of the one or more keys is pressed within the preset time duration, the pressing strength of each press, and the number of times each press position is pressed, which are sent by the keyboard 101. The parameter processing module 201 continues to obtain a pressing frequency value, a pressing force degree average value, and a pressing position average value corresponding to each key according to the pressing times of each key of the one or more keys in the keyboard 101 within a preset time period, the pressing force degree of each pressing, and the pressing times of each pressing position. The data query module 202 continues to query the standard key gram guide table according to the pressing frequency value, the pressing force average value, and the pressing position average value corresponding to each key, so as to obtain the key standard gram value corresponding to each key. And the replacing module continuously determines whether the replacement is completed, and if so, replaces the original key pressure gram value of the key with the corresponding key standard gram value. Until the replacement determination module 203 does not issue replacement information.
When the gram value of the standard key of the key is inconsistent with the gram value of the original key pressure corresponding to the standard key, the replacement determining module 203 sends replacement information, the replacement module needs to determine whether the replacement is completed, and if the replacement is completed, the gram value of the original key pressure of the key is replaced by the corresponding gram value of the standard key pressure of the key. The external processing device 102 continues to receive the number of times of pressing each of the one or more keys, the degree of pressing each time, and the number of times of pressing each of the pressed positions counted by the keyboard 101, determines whether to replace the keys, and if replacement is determined, sends replacement information until replacement is not required.
The device may further include a sample sending module, and after it is determined that the replacement is completed and the replacement is no longer needed, the sample sending module may send the pressing frequency value, the pressing force average value, and the pressing position average value corresponding to each key to the standard key gm guidance server 103, and the standard key gm guidance server 103 adjusts the standard key gm guidance table in real time through the machine learning model according to the pressing frequency value, the pressing force average value, and the pressing position average value corresponding to each key, and sends the updated standard key gm guidance table to the external processing device 102.
The sample sending module may also send the values of the pressing frequency, the mean value of the pressing frequency, and the mean value of the pressing position of the key to the standard key gram guide server 103 each time, and the standard key gram guide server 103 trains the machine learning model corresponding to the standard key gram guide table stored therein according to the data, updates the standard key gram guide table, and sends the updated standard key gram guide table to the external processing device 102 in time, so that the external processing device 102 may be used in the process of customizing the key gram of the keyboard 101 this time, thereby improving the accuracy of customizing the key gram of the keyboard 101.
The sample sending module may also periodically send the obtained pressing frequency value, the obtained pressing force mean value, and the obtained pressing position mean value to the standard key gram number guidance server 103, and the standard key gram number guidance server 103 trains the machine learning model corresponding to the standard key gram number guidance table stored therein according to the data, updates the standard key gram number guidance table, and periodically sends the updated standard key gram number guidance table to the external processing device 102.
The present disclosure further provides a device for customizing the number of grams of keys of a keyboard 101, which is applied to the keyboard 101, and as shown in fig. 5, the device includes a statistics module 301, a sending module 302, and a feedback module 303.
The counting module 301 is configured to count the number of times of pressing each of the one or more keys in the keyboard 101, the pressing strength of each pressing, and the number of times of pressing at each pressing position within a preset time period.
The one or more keys may be keys for which the gram number of the keys needs to be customized, or may be all keys in the keyboard 101, where the keys include keycaps and key axes, and each pressing position of the key is each pressing position of the keycap.
Whether the function of turning on the gram number of the keys of the customized keyboard 101 is set for the keyboard 101 may be set, specifically, a button or a switch for turning on the gram number of the keys of the customized keyboard 101 may be set on the keyboard 101, and the user may turn on the function of turning on the gram number of the keys of the customized keyboard 101 by triggering the button or the switch for turning on the gram number of the keys of the customized keyboard 101. The function of the customized keyboard 101 for the number of grams of keys may also be enabled by other devices connected to the keyboard 101, and specifically, whether to enable the virtual button of the customized keyboard 101 for the number of grams of keys may be displayed on a display communicatively connected to the keyboard 101, and the user may select to enable the function of the customized keyboard 101 for the number of grams of keys through the display.
The preset duration may be a duration set by the user, a duration selected by the user from durations recommended by the customized keyboard 101 key count system, or a duration preset by the customized keyboard 101 key count system. The preset time period can be set by any one of the keyboard 101, the external processing device 102 and the standard key gram guide server 103.
A sending module 302 configured to send the number of presses of each key, the pressing force of each press, and the number of presses of each pressed position to the external processing device 102, determine, by the external processing device 102, whether to replace the number of grams of keys of the key according to the number of presses of each key, the pressing force of each press, and the number of presses of each pressed position, and if so, send replacement information.
After the statistical data is completed, the sending module 302 may send the number of times of pressing the key, the pressing strength of each pressing, and the number of times of pressing at each pressing position to the external processing device 102 periodically, or may send the number of times of pressing the key, the pressing strength of each pressing, and the number of times of pressing at each pressing position to the external processing device 102 immediately after the statistics is completed.
The keyboard 101 may transmit the number of times of pressing of the key, the degree of pressing per press, and the number of times of pressing at each pressed position to the external processing apparatus 102 in a wired or wireless manner. Specifically, the wired mode may be a USB mode, and the wireless mode may be a bluetooth mode or a Radio Frequency (RF) mode.
When the external processing device 102 cannot receive data, the number of times of pressing of a key, the degree of pressing per press, and the number of times of pressing at each pressed position may be temporarily stored in the keyboard 101. When it is detected that the external processing device 102 can receive the data, the number of times of pressing of the key stored in the keyboard 101, the degree of pressing force per press, and the number of times of pressing of each pressed position are transmitted to the external processing device 102.
A feedback module 303 configured to determine whether the replacement is completed according to the replacement information received from the external processing apparatus 102, and if the replacement is completed, feed back the replacement completion information to the external processing apparatus 102.
After the external processing device 102 sends the replacement information, the keyboard 101 may receive the replacement information sent from the external processing device 102, where the replacement information may be a replacement prompt, a prompt may be made through the keyboard 101, a voice prompt, a display prompt may be made by installing a microdisplay on the keyboard 101, or a prompt may be made through a key backlight. Specifically, when the key backlight is used for prompting, when the gram number of the key needs to be changed, the backlight of the key is on, and a user can search the key standard gram number corresponding to the key with the backlight on, so that the key shaft of the key is changed, and the changed key shaft conforms to the key standard gram number of the key.
The keyboard 101 may determine whether the execution is completed by the user after receiving the replacement information. Specifically, a button or switch for confirming execution completion may be provided on the keyboard 101, and execution completion may also be determined by other devices connected to the keyboard 101.
After the replacement is confirmed, if the original key pressure gram value is stored in the keyboard 101, the original key pressure gram value of the replacement key stored in the keyboard 101 may be replaced with the standard key value of the replaced key. In another particular embodiment of the present disclosure, the updated original key press grams value may also be actively or passively sent to the external processing device 102.
After confirming the replacement is completed, the feedback module 303 may feed back information of the replacement completion to the external processing device 102. The external processing device 102 determines whether the replacement is completed, and if the replacement is completed, replaces the original key pressure gram value of the key with the corresponding key standard gram value, and continues to receive the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position of the one or more keys counted by the keyboard 101, determines whether the key gram value of the key is replaced, and if the replacement is determined, sends out replacement information until the replacement is not needed.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may 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 loaded and executed on a computer, cause, in whole or in part, the processes or functions described in accordance with the present disclosure. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
It should be noted that the embodiments in the present disclosure are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the method class embodiment, since it is similar to the product class embodiment, the description is simple, and the relevant points can be referred to the partial description of the product class embodiment.
It is further noted that, in the present disclosure, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined in this disclosure may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for customizing gram numbers of keys of a keyboard is applied to external processing equipment and comprises the following steps:
s11: obtaining a pressing frequency value, a pressing force degree mean value and a pressing position mean value corresponding to each key according to the pressing times of each key of one or more keys in a keyboard within a preset time length, the pressing force degree of each pressing and the pressing times of each pressing position;
s12: inquiring a standard key gram number guide table according to the pressing frequency value, the pressing force average value and the pressing position average value corresponding to each key to obtain a key standard gram number value corresponding to each key;
s13: comparing the key standard gram value of each key with the original key pressure gram value corresponding to the key standard gram value to determine whether to replace the key gram value of the key; if the replacement is determined, a replacement message is sent.
2. The method of claim 1, wherein obtaining the pressing force degree average value corresponding to each key of the one or more keys in the keyboard according to the pressing force degree of each key pressing within a preset time period comprises:
and obtaining a pressing force degree mean value corresponding to each key according to the pressing times of each key in the preset time and the pressing force degree of each pressing.
3. The method of claim 1, wherein obtaining the mean value of the pressed positions of each of the one or more keys according to the pressed times of each of the pressed positions of each of the one or more keys in the keyboard within a preset time period comprises:
obtaining the pressing frequency corresponding to each pressing position of each key according to the pressing times of each pressing position of each key in the preset time and the preset time;
and taking the pressing position with the highest pressing frequency of each key as the mean value of the corresponding pressing positions.
4. The method of claim 1, wherein the replacement information includes a name of the key to be replaced and its corresponding key standard grammage value.
5. The method of claim 1, wherein after the step S13, further comprising:
it is determined whether the replacement is completed, and if the replacement is completed, the original key pressure gram value of the key is replaced with the key standard gram value corresponding thereto, and the process returns to step S11.
6. The method of claim 1, further comprising:
and sending the pressing frequency value, the pressing force mean value and the pressing position mean value corresponding to each key to a standard key gram number guide server, and adjusting the standard key gram number guide table in real time by the standard key gram number guide server through a machine learning model according to the pressing frequency value, the pressing force mean value and the pressing position mean value corresponding to each key.
7. A method for customizing gram numbers of keys of a keyboard is applied to the keyboard and comprises the following steps:
counting the pressing times of each key of one or more keys, the pressing force of each pressing and the pressing times of each pressing position within a preset time length;
sending the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position to external processing equipment, determining whether to replace the gram number of the keys by the external processing equipment according to the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position, and sending replacement information if the replacement is determined;
and 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.
8. The method of claim 7, wherein the number of presses of each key, the degree of press of each press, and the number of presses of each press location are temporarily stored to the keyboard when the external processing device is unable to receive data.
9. An apparatus for customizing gram numbers of keys of a keyboard, applied to an external processing device, comprises:
the parameter processing module is configured to obtain a pressing frequency value, a pressing force degree mean value and a pressing position mean value corresponding to each key according to the pressing times of each key of one or more keys in a keyboard within a preset time length, the pressing force degree of each pressing and the pressing times of each pressing position;
the data query module is configured to query a standard key gram number guide table according to the pressing frequency value, the pressing force mean value and the pressing position mean value corresponding to each key to obtain a key standard gram number value corresponding to each key;
the replacement determining module is configured to compare the key standard gram value of each key with the original key pressure gram value corresponding to the key standard gram value of each key and determine whether to replace the key gram value of each key; if the replacement is determined, a replacement message is sent.
10. An apparatus for customizing gram numbers of keys of a keyboard, applied to the keyboard, comprises:
the counting module is configured to count the pressing times of each key of the one or more keys, the pressing force of each pressing and the pressing times of each pressing position within a preset time length;
the sending module is configured to send the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position to an external processing device, the external processing device determines whether to replace the gram number of the keys according to the pressing times of each key, the pressing force degree of each pressing and the pressing times of each pressing position, and if replacement is determined, replacement information is sent;
a feedback module configured to determine whether the replacement is completed according to the replacement information received from the external processing apparatus, and if the replacement is completed, to feed back the replacement completion information to the external processing apparatus.
CN202010638268.3A 2020-07-03 2020-07-03 Method and device for customizing gram number of keys of keyboard Pending CN111767618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010638268.3A CN111767618A (en) 2020-07-03 2020-07-03 Method and device for customizing gram number of keys of keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010638268.3A CN111767618A (en) 2020-07-03 2020-07-03 Method and device for customizing gram number of keys of keyboard

Publications (1)

Publication Number Publication Date
CN111767618A true CN111767618A (en) 2020-10-13

Family

ID=72723782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010638268.3A Pending CN111767618A (en) 2020-07-03 2020-07-03 Method and device for customizing gram number of keys of keyboard

Country Status (1)

Country Link
CN (1) CN111767618A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100194682A1 (en) * 2009-01-30 2010-08-05 Research In Motion Limited Method for tap detection and for interacting with a handheld electronic device, and a handheld electronic device configured therefor
CN101957869A (en) * 2010-09-17 2011-01-26 中山大学 System and method for total calculation of loss and using situation of computer accessory device
CN107329862A (en) * 2017-06-19 2017-11-07 北京小米移动软件有限公司 Detection method, device and the terminal of keyboard
CN107957787A (en) * 2017-12-15 2018-04-24 联想(北京)有限公司 Keyboard, input method, computer and computer system
CN108664135A (en) * 2018-03-30 2018-10-16 北京汉德默兹克科技有限公司 keyboard setting method, device and keyboard
US20190384431A1 (en) * 2015-07-27 2019-12-19 Jordan A. Berger Universal keyboard
CN212623984U (en) * 2020-07-03 2021-02-26 北京汉德默兹克科技有限公司 Keyboard and system capable of adjusting key pressure gram number

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100194682A1 (en) * 2009-01-30 2010-08-05 Research In Motion Limited Method for tap detection and for interacting with a handheld electronic device, and a handheld electronic device configured therefor
CN101957869A (en) * 2010-09-17 2011-01-26 中山大学 System and method for total calculation of loss and using situation of computer accessory device
US20190384431A1 (en) * 2015-07-27 2019-12-19 Jordan A. Berger Universal keyboard
CN107329862A (en) * 2017-06-19 2017-11-07 北京小米移动软件有限公司 Detection method, device and the terminal of keyboard
CN107957787A (en) * 2017-12-15 2018-04-24 联想(北京)有限公司 Keyboard, input method, computer and computer system
CN108664135A (en) * 2018-03-30 2018-10-16 北京汉德默兹克科技有限公司 keyboard setting method, device and keyboard
CN212623984U (en) * 2020-07-03 2021-02-26 北京汉德默兹克科技有限公司 Keyboard and system capable of adjusting key pressure gram number

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘建国: "浅谈键盘故障分析与处理", 电脑知识与技术, vol. 8, no. 17, pages 4264 - 4265 *

Similar Documents

Publication Publication Date Title
US7478072B2 (en) Information terminal device, operation supporting method, and operation supporting program
CN101828380B (en) User interface with enlarged icon display of key function
US10284896B2 (en) Smart TV controlling method and smart TV thereof
US20090083663A1 (en) Apparatus and method for ranking menu list in a portable terminal
KR20120058568A (en) Input receiving device, input receiving method, recording medium, and mobile communication terminal
US20020183100A1 (en) Character selection method and character selection apparatus
US7774524B2 (en) Adaptive multitap timeout
US20170235412A1 (en) Electronic apparatus with user input switchable between button and touch types, and method of controlling the same
CN112882850A (en) Key event processing method, device, equipment and storage medium
JP2006340355A (en) Method and system for inputting data
CN110889074B (en) Page display method and device, storage medium and electronic equipment
CN111767618A (en) Method and device for customizing gram number of keys of keyboard
CN112764558A (en) Writing module, feedback method, electronic equipment and computer storage medium
CN212623984U (en) Keyboard and system capable of adjusting key pressure gram number
JP7114307B2 (en) Information processing equipment
US9983699B2 (en) Input device adaptable to use habit and adapting method therefor
KR20120082121A (en) Method and apparatus for sroring telephone number in portable terminal
US20160019779A1 (en) Command set selection in a handheld remote control
CN113364444A (en) Touch key sensitivity customization method and system and touch equipment
CN110580636A (en) Key setting method based on user behavior analysis, intelligent electric appliance and server
TWI392365B (en) Tv receiver, and associated tv system and tv control method
CN110602325B (en) Voice recommendation method and device for terminal
CN113760107A (en) Touch pen, touch electronic device and touch system
KR100425709B1 (en) Short cut setting method for mobile communication device
JP4195260B2 (en) FAQ search system, method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination