AI-based key adjustment method, device, equipment and storage medium
By obtaining and analyzing the user's keyboard usage information and adjusting the key position on the keyboard, the existing keyboard design is solved and the typing efficiency and user experience are improved.
Patent Information
- Application Number
- CN202411688562.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-11-25
AI Technical Summary
The existing keyboard design is not ergonomic, resulting in low typing efficiency and easy fatigue of fingers.
By obtaining the user's keyboard usage information, including the frequency and order of key usage, the preset key position prediction model is used to adjust the key position on the keyboard to more in line with the user's usage habits.
It improves the user's typing efficiency, makes the key distribution more in line with the user's usage habits, and reduces finger fatigue.
Smart Images

Figure CN119200861B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an AI-based key adjustment method, device, equipment and storage medium. Background Art
[0002] Existing keyboard designs, especially the QWERTY layout, were originally designed to solve the problems of typewriters. In the late 19th century, in order to reduce the problem of key jamming on the typewriter, Christopher Larsen Sholes deliberately disrupted the order of letters so that the commonly used letters were scattered, thereby reducing the typing speed and the risk of key jamming. Although this design solved the problem of mechanical failure at the time, it did not conform to the keyboard usage habits of modern people, causing modern people to feel uncomfortable during use. Especially when typing for a long time, fingers are prone to fatigue. Therefore, how to design a keyboard that is more in line with user habits and improve typing efficiency has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The main purpose of this application is to provide an AI-based key adjustment method, device, equipment and storage medium, aiming to solve the technical problem that the existing keyboard does not conform to the ergonomic design and has poor typing efficiency.
[0004] To achieve the above objectives, the present application proposes an AI-based key adjustment method, which includes:
[0005] Acquire the user's keyboard usage information, wherein the keyboard usage information includes usage frequency information and key sequence information of each key;
[0006] Determine the target key corresponding to each keyboard partition according to the usage frequency information;
[0007] Inputting the key sequence information into a preset key position prediction model to obtain key position prediction information;
[0008] The key position on the keyboard is adjusted based on the target key and the key position prediction information.
[0009] Optionally, the step of inputting the key sequence information into a preset key position prediction model to obtain key position prediction information includes:
[0010] Preprocessing the key sequence in the key sequence information based on the target separation key to obtain the target key sequence information;
[0011] The target key sequence information is input into a preset key position prediction model to obtain key position prediction information corresponding to each keyboard partition output by the preset key position prediction model.
[0012] Optionally, the step of inputting the target key sequence information into a preset key position prediction model to obtain key position prediction information corresponding to each keyboard partition output by the preset key position prediction model includes:
[0013] Inputting the target key sequence information into a preset key position prediction model;
[0014] Determine the continuous key frequency information in the target key sequence information according to the preset key position prediction model;
[0015] The key position prediction information corresponding to each keyboard partition is determined based on the continuous key frequency information, and the key position prediction information includes the position relationship corresponding to the continuous keys.
[0016] Optionally, the step of adjusting the key position on the keyboard based on the target key and the key position prediction information includes:
[0017] Determine the key position of the key on each keyboard partition according to the target key and the key position prediction information;
[0018] Determine a key mapping relationship according to the key positions;
[0019] The keys on the keyboard are adjusted based on the key mapping relationship, and the corresponding key names are displayed on the keys.
[0020] Optionally, after the step of adjusting the key position on the keyboard based on the target key and the key position prediction information, the method further includes:
[0021] Acquire the user's keyboard operation information, wherein the keyboard operation information includes keyboard usage duration information and usage frequency information;
[0022] The user's key pressure information is collected through the pressure sensors installed on each key;
[0023] Determine a target key strength according to the keyboard usage time information, the usage frequency information and the key strength information;
[0024] The key force of each key on the keyboard is adjusted based on the target key force.
[0025] Optionally, after the step of adjusting the key position on the keyboard based on the target key and the key position prediction information, the method further includes:
[0026] Determine usage regularity information of the delete key according to the keyboard usage information;
[0027] Determine mis-touch key information based on the usage regularity information;
[0028] Keyboard operation assistance is performed according to the mis-touched key information.
[0029] Optionally, after the step of obtaining the user's keyboard usage information, the method further includes:
[0030] determining a fixed phrase according to the keyboard usage information;
[0031] An input shortcut key is determined based on the fixed phrase.
[0032] In addition, to achieve the above purpose, the present application also proposes an AI-based key adjustment device, the AI-based key adjustment device comprising:
[0033] An acquisition module, used to acquire keyboard usage information of a user, wherein the keyboard usage information includes usage frequency information and key sequence information of each key;
[0034] A determination module, used to determine the target keys corresponding to each keyboard partition according to the usage frequency information;
[0035] A prediction module, used for inputting the key sequence information into a preset key position prediction model to obtain key position prediction information;
[0036] An adjustment module is used to adjust the key position on the keyboard based on the target key and the key position prediction information.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes an AI-based key adjustment device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the AI-based key adjustment method described above.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the AI-based key adjustment method as described above are implemented.
[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the AI-based key adjustment method as described above.
[0040] The present application obtains the user's keyboard usage information, the keyboard usage information includes the usage frequency information and key sequence information of each key; determines the target key corresponding to each keyboard partition according to the usage frequency information; inputs the key sequence information into a preset key position prediction model to obtain key position prediction information; and adjusts the key position on the keyboard based on the target key and the key position prediction information. Since the present application adjusts the key position on the keyboard according to the user's keyboard usage information. Compared with the existing keyboard layout method, the above method of the present application can make the key distribution more in line with the user's usage habits and improve the user's typing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1 A flowchart diagram of the first embodiment of the AI-based key adjustment method of the present application is provided;
[0044] Figure 2 A flowchart diagram of the second embodiment of the AI-based key adjustment method of the present application is provided;
[0045] Figure 3 This is a schematic diagram of the module structure of the AI-based key adjustment device according to an embodiment of the present application;
[0046] Figure 4 This is a schematic diagram of the device structure of the hardware operating environment involved in the AI-based key adjustment method in the embodiment of the present application.
[0047] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0049] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0050] The main solution of the embodiment of the present application is: obtain the user's keyboard usage information, the keyboard usage information includes the usage frequency information and key sequence information of each key; determine the target key corresponding to each keyboard partition according to the usage frequency information; input the key sequence information into a preset key position prediction model to obtain key position prediction information; adjust the key position on the keyboard based on the target key and the key position prediction information. Since the present application adjusts the key position on the keyboard according to the user's keyboard usage information. Compared with the existing keyboard layout method, the above method of the present application can make the key distribution more in line with the user's usage habits and improve the user's typing efficiency.
[0051] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a smart keyboard, etc. The following takes the smart keyboard as an example to illustrate this embodiment and the following embodiments.
[0052] Based on this, the embodiment of the present application provides an AI-based key adjustment method, referring to Figure 1 , Figure 1 A flowchart diagram of the first embodiment of the AI-based key adjustment method of the present application is provided.
[0053] In this embodiment, the AI-based key adjustment method includes the following steps:
[0054] Step S10, obtaining keyboard usage information of the user, wherein the keyboard usage information includes usage frequency information and key sequence information of each key;
[0055] It should be noted that the acquisition of the user's keyboard usage information may be to acquire the user's historical keyboard usage information when it is detected that the user has triggered an instruction that requires adjustment of the arrangement of the keys on the keyboard, which may include the usage frequency information and key sequence information of each key, and also include the corresponding usage program when using the keyboard. For example, when playing games, the user usually only needs to use a few specific keys. The functions of the keys have been designed with the user's usage habits in mind. Therefore, the key information used by the user during the game may not be included in the keyboard usage information. Specifically, the final keyboard usage information may also be determined based on whether the keys that need to be frequently used in each program have been set up with the user's usage habits in mind. The keyboard usage information in this embodiment mainly considers the key information of the user during typing. The key sequence information includes the order in which the keys are pressed during the user's typing process.
[0056] Step S20, determining the target keys corresponding to each keyboard partition according to the usage frequency information;
[0057] It should be noted that the keyboard partition includes: function key area: including keys such as F1 to F12, which are used to quickly access specific functions; indicator light area: displays the status of uppercase and lowercase conversion and numeric keypad conversion; numeric keypad: used to enter numbers and perform mathematical calculations; main keypad: contains keys such as letters, numbers and symbols, and is the most commonly used area when typing. The target keys corresponding to each keyboard partition determined according to the frequency of use information can be determined according to the frequency of use information. Multiple keys with higher frequency of use, i.e., target keys, in each keyboard partition can be sorted according to the frequency of use, and half or more of the keys with higher frequency of use are selected as the target keys.
[0058] Step S30, inputting the key sequence information into a preset key position prediction model to obtain key position prediction information;
[0059] It should be noted that the preset key position prediction model can be a model obtained by pre-training the neural network model, which can predict the optimal position relationship between keys according to the user's key sequence information. The principle may include: reducing the distance between consecutive keys (i.e. keys that are frequently used in succession); setting the frequently used continuous keys in the touch area corresponding to the user's index finger and middle finger, but in order to avoid finger fatigue caused by frequent finger pressing, the frequently used continuous keys are dispersedly set in the touch positions corresponding to each finger according to the user's usage habits (for example, whether they are used to using the left hand or the right hand), and the keys that are not used very frequently are set in the touch positions corresponding to the ring finger and the little finger. Specifically, the preset key position prediction model can be obtained by training the neural network model according to sample data. The sample data can be obtained by conducting simulation tests on sample users. For example, the initial key position relationship is first determined based on the sample user's keyboard usage information and the above-mentioned key adjustment principle, and the key adjustment plan proposed by the sample user based on the initial key position relationship is obtained. Then, the initial key position relationship is adjusted according to the key adjustment plan to obtain a new key position relationship. The new key position relationship is used as the initial key position relationship, and the step of obtaining the key adjustment plan proposed by the sample user based on the initial key position relationship is returned to until a key position relationship satisfactory to the sample user is obtained. More sample user keyboard usage information and corresponding key position relationships are obtained in the above manner. The neural network model is trained based on the sample user's keyboard usage information and the corresponding key position relationship to obtain a preset key position prediction model. The key position prediction information may be the key position relationship predicted by the preset key position prediction model based on the key sequence information, and the key position relationship includes information such as the distance between each key and the layout area. For example, the key distance between key W and key O is 0, that is, key W and key O can be set adjacent to each other; the key distance between key N and key I is 1, that is, key N and key I can be set 1 key apart; the distance between key L and key W is 1-3, that is, key L and key W can be set 1-3 keys apart; for keys that are not in the same row or column, the key distance is the row distance plus the column distance, such as, in the QWERTY layout keyboard, the key distance between Q and D is 2. The layout area may include the recommended layout area of the keys, for example, key W and key O can be set in the touch area corresponding to the user's left index finger, and key X and key P can be set in the touch area corresponding to the user's right pinky.
[0060] Further, in order to improve the typing efficiency of the user, the step S30 may include: pre-processing the key sequence in the key sequence information based on the target separation key to obtain the target key sequence information;
[0061] The target key sequence information is input into a preset key position prediction model to obtain key position prediction information corresponding to each keyboard partition output by the preset key position prediction model.
[0062] It should be noted that the target separation key may be a key that ends a text input such as a punctuation mark, a space key, and an enter key. The preprocessing of the key sequence in the key sequence information based on the target separation key to obtain the target key sequence information may be to segment the keys pressed in sequence in the key sequence information according to the target separation key to obtain the target key sequence information. For example, the key sequence information includes: tiaojeianjianspaceshunxuenterfangfacommatigao, then the target separation keys are space, enter, and comma, and the target key sequence information includes tiaojeianjian, shunxu, fangfa, and tigao.
[0063] The step of inputting the target key sequence information into a preset key position prediction model to obtain key position prediction information corresponding to each keyboard partition output by the preset key position prediction model includes:
[0064] Inputting the target key sequence information into a preset key position prediction model;
[0065] Determine the continuous key frequency information in the target key sequence information according to the preset key position prediction model;
[0066] The key position prediction information corresponding to each keyboard partition is determined based on the continuous key frequency information, and the key position prediction information includes the position relationship corresponding to the continuous keys.
[0067] It should be noted that the determination of the continuous key frequency information in the target key sequence information according to the preset key position prediction model may be that the preset key position prediction model determines the continuous keys according to the target key sequence information, and determines the frequencies corresponding to the continuous keys. For example, the target key sequence information includes tiaojeianjian, and the continuous keys may include: ti, ia, ao, je, jei, an, etc., wherein the key frequency of an is 2, and the key frequencies of ti, ao, ei and ji are 1. The determination of the key position prediction information corresponding to each keyboard partition based on the continuous key frequency information may be that the key distance between the continuous keys with higher key frequencies among the continuous keys is set to be smaller according to the continuous key frequency information, and for two keys that will not be pressed continuously, the key distance may not be restricted or may be set to be larger.
[0068] Step S40: adjusting the key position on the keyboard based on the target key and the key position prediction information.
[0069] It should be noted that the adjustment of the key position on the keyboard based on the target key and the key position prediction information can be to determine the target position of the target key according to the usage frequency information of the target key and the layout area information of the target key in the key position prediction information, and then determine the key positions of other keys according to the key distances between the target key and other keys in the key position prediction information, and finally, layout other keys with undetermined positions according to the remaining positions on the keyboard. Finally, the target keyboard key layout determined according to the user's usage habits is obtained. Then, the key mapping relationship is determined based on the current key layout and the target keyboard key layout, such as: the current key S, the corresponding key in the target keyboard key layout is W; the current key F, the corresponding key in the target keyboard key layout is B, etc., based on the key mapping relationship, adjust the key functions on the keyboard, and display the names of each key corresponding to the target keyboard key layout on the key.
[0070] Further, in order to improve the user's keyboard usage experience, the step S40 may include: determining the key positions of the keys on each keyboard partition according to the target key and the key position prediction information;
[0071] Determine a key mapping relationship according to the key positions;
[0072] The keys on the keyboard are adjusted based on the key mapping relationship, and the corresponding key names are displayed on the keys.
[0073] It should be noted that the key positions of the keys on each keyboard partition determined according to the target key and the key position prediction information may be determined according to the target key and the key position prediction information. The key layout on the keyboard may be determined, specifically, the target key may be set in an area that is easily accessible to the finger according to the frequency of use of the target key, and the positions of other keys may be determined according to the distance information between other keys and the target key in the key position prediction information, so as to obtain the key positions of each key on each keyboard partition. The key mapping relationship determined according to the key position may be determined according to the key position and the layout of the current keyboard, and the mapping relationship between the keys laid out on the current keyboard and the key positions may be determined. For example, the key R determined based on the target key and the key position prediction information corresponds to the key W of the current keyboard layout, and the key G determined based on the target key and the key position prediction information corresponds to the key T of the current keyboard layout, etc. The adjusting the keys on the keyboard based on the key mapping relationship and displaying the corresponding key names on the keys may be adjusting the actual functions of the keys on the keyboard based on the key mapping relationship, and displaying the key names corresponding to the actual functions on the corresponding key caps.
[0074] Furthermore, in order to improve the typing speed of the user, after step S30, the method further includes: determining the usage regularity information of the delete key according to the keyboard usage information;
[0075] Determine mis-touch key information based on the usage regularity information;
[0076] Keyboard operation assistance is performed according to the mis-touched key information.
[0077] It should be noted that the usage pattern information of the delete key includes the key information pressed before the delete key is used and the number of times the delete key is pressed. For example, when typing, the user may have a fixed phrase that is frequently used. When spelling the fixed phrase, the user may accidentally touch it, resulting in the failure of spelling the entire fixed phrase. The user needs to continuously press the delete key to delete it. At this time, the number of times the user presses the delete key and the key usage pattern before pressing the delete key can be recorded to determine the key information that the user is prone to accidentally touch, including the key and the corresponding pressing order, that is, the accidentally touched key information. The keyboard operation assistance based on the accidentally touched key information can be to detect the user's key information, and when a key pattern matching the accidentally touched key information is detected, the accidentally touched key information pressed is automatically cleared to avoid manual deletion by the user.
[0078] Furthermore, in order to improve the typing speed of the user, this embodiment further includes: determining a fixed phrase according to the keyboard usage information;
[0079] An input shortcut key is determined based on the fixed phrase.
[0080] It should be noted that the determination of the fixed phrase according to the keyboard usage information may be to determine the key combination that the user often presses according to the keyboard usage information. For example, according to the keyboard usage information of the user, it can be known that the letters that appear continuously, such as benzhouxiaojei, benzhoujihua, etc., are the key combinations that the user often presses. The fixed phrases that the user often uses can be determined according to the key combinations: "This Week's Plan" and "This Week's Summary". The determination of the input shortcut key based on the fixed phrase may be to set a corresponding shortcut key for the fixed phrase. For example, it can be set that the fixed phrase will be displayed by continuously pressing the first letter of each word in the fixed phrase, or the fixed phrase will be displayed by pressing two or more keys at the same time.
[0081] This embodiment obtains the user's keyboard usage information, which includes the usage frequency information and key sequence information of each key; determines the target key corresponding to each keyboard partition based on the usage frequency information; inputs the key sequence information into a preset key position prediction model to obtain key position prediction information; and adjusts the key position on the keyboard based on the target key and the key position prediction information. Since this embodiment adjusts the key position on the keyboard based on the user's keyboard usage information. Compared with the existing keyboard layout method, the above method of this embodiment can make the key distribution more in line with the user's usage habits and improve the user's typing efficiency.
[0082] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , Figure 2 The flowchart of the second embodiment of the AI-based key adjustment method of the present application is provided. After step S40, the following steps are also included:
[0083] Step S50: Acquire keyboard operation information of the user, wherein the keyboard operation information includes keyboard usage duration information and usage frequency information;
[0084] It should be noted that the usage frequency information may be the number of times the user presses a key on the keyboard within a periodic time, for example, the number of key presses per minute. The usage duration information may be the cumulative duration of the user using the keyboard, and the user's usage duration may be counted after the user's usage frequency reaches a preset threshold, for example, after the user's key presses reach 30 times per minute, the timing may be started to obtain the user's keyboard usage duration.
[0085] Step S60: collecting the user's key press force information through the pressure sensors installed on each key;
[0086] It should be noted that, on the smart keyboard in this embodiment, each key is equipped with a pressure sensor for obtaining the user's key press force, and pressure sensors may also be installed only on keys that are frequently used by users in each keyboard partition. The key press force information includes the change in key press force with the increase in usage time.
[0087] Step S70: determining a target key strength according to the keyboard usage time information, the usage frequency information and the key strength information;
[0088] It should be noted that the target key force determined based on the keyboard usage time information, the usage frequency information and the key force information can be that after the usage time is greater than a preset time threshold and the usage frequency is greater than a preset usage frequency threshold, if the user's key force gradually decreases, then the current key force is appropriately reduced to obtain the target key force; if the user's key force remains unchanged, then the target key force is the current key force; if the user's key force has an increasing trend, then the current key force is appropriately reduced to obtain the target key force.
[0089] Step S80: adjusting the key force of each key on the keyboard based on the target key force.
[0090] It should be noted that the adjusting the key strength of each key on the keyboard based on the target key strength may be adjusting the key strength of each key on the keyboard to the target key strength. The determining the target key strength according to the keyboard usage time information, the usage frequency information and the key strength information may be inputting the keyboard usage time information, the usage frequency information and the key strength information into a preset key strength prediction model to obtain the target key strength output by the preset key strength prediction model. The preset key strength prediction model may be a neural network model trained based on sample data that can predict the target key strength of each key according to the keyboard usage time information, the usage frequency information and the key strength information. Among them, the sample data may be data obtained through simulation tests of sample users, including user satisfaction key strength corresponding to the usage time, usage frequency and key strength change information of each keyboard. For example, let the sample user use the keyboard for a period of time with different frequencies and key strengths, then adjust the key strength, collect the user satisfaction, and collect the user satisfaction corresponding to various usage frequencies, various usage times and various adjusted key strengths in the above manner to obtain sample data.
[0091] This embodiment obtains the user's keyboard operation information, which includes keyboard usage time information and usage frequency information; collects the user's key press force information through pressure sensors installed on each key; determines the target key press force based on the keyboard usage time information, the usage frequency information and the key press force information; and adjusts the key press force of each key on the keyboard based on the target key press force. This embodiment can determine the target key press force based on the keyboard usage time information, the usage frequency information and the key press force information, and then adjust the key press force of the keys on the keyboard based on the target key press force, which can reduce the key press force when the user uses the keyboard for a long time, thereby improving the user's experience.
[0092] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the AI-based key adjustment method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0093] This application also provides an AI-based key adjustment device, please refer to Figure 3 , the AI-based key adjustment device includes:
[0094] An acquisition module 10 is used to acquire keyboard usage information of a user, wherein the keyboard usage information includes usage frequency information and key sequence information of each key;
[0095] A determination module 20, configured to determine a target key corresponding to each keyboard partition according to the usage frequency information;
[0096] A prediction module 30, used for inputting the key sequence information into a preset key position prediction model to obtain key position prediction information;
[0097] The adjustment module 40 is used to adjust the key position on the keyboard based on the target key and the key position prediction information.
[0098] This embodiment obtains the user's keyboard usage information, which includes the usage frequency information and key sequence information of each key; determines the target key corresponding to each keyboard partition based on the usage frequency information; inputs the key sequence information into a preset key position prediction model to obtain key position prediction information; and adjusts the key position on the keyboard based on the target key and the key position prediction information. Since this embodiment adjusts the key position on the keyboard based on the user's keyboard usage information. Compared with the existing keyboard layout method, the above method of this embodiment can make the key distribution more in line with the user's usage habits and improve the user's typing efficiency.
[0099] The AI-based key adjustment device provided by the present application adopts the AI-based key adjustment method in the above embodiment, which can solve the technical problem that the existing keyboard does not conform to the ergonomic design and the typing efficiency is poor. Compared with the prior art, the beneficial effects of the AI-based key adjustment device provided by the present application are the same as the beneficial effects of the AI-based key adjustment method provided by the above embodiment, and the other technical features of the AI-based key adjustment device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0100] The present application provides an AI-based key adjustment device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the AI-based key adjustment method in the above-mentioned embodiment one.
[0101] Reference below Figure 4 , which shows a schematic diagram of the structure of an AI-based key adjustment device suitable for implementing the embodiment of the present application. The AI-based key adjustment device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The AI-based key adjustment device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0102] like Figure 4As shown, the AI-based key adjustment device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the AI-based key adjustment device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the AI-based key adjustment device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows an AI-based key adjustment device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0103] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0104] The AI-based key adjustment device provided by the present application adopts the AI-based key adjustment method in the above embodiment, which can solve the technical problem that the existing keyboard does not conform to the ergonomic design and the typing efficiency is poor. Compared with the prior art, the beneficial effects of the AI-based key adjustment device provided by the present application are the same as the beneficial effects of the AI-based key adjustment method provided by the above embodiment, and the other technical features in the AI-based key adjustment device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0105] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0106] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0107] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the AI-based key adjustment method in the above-mentioned embodiment.
[0108] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0109] The computer-readable storage medium may be included in the AI-based key adjustment device; or may exist independently without being assembled into the AI-based key adjustment device.
[0110] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0111] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0112] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0113] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned AI-based key adjustment method, and can solve the technical problem that the existing keyboard does not conform to the ergonomic design and has poor typing efficiency. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the AI-based key adjustment method provided in the above-mentioned embodiment, and will not be repeated here.
[0114] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned AI-based key adjustment method when executed by a processor.
[0115] The computer program product provided by the present application can solve the technical problem that the existing keyboard does not conform to the ergonomic design and the typing efficiency is poor. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the AI-based key adjustment method provided in the above embodiment, which will not be repeated here.
[0116] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A key adjustment method based on AI, characterized in that: The AI-based key adjustment method comprises the following steps: Acquire the user's keyboard usage information, wherein the keyboard usage information includes usage frequency information and key sequence information of each key; Determine the target key corresponding to each keyboard partition according to the usage frequency information; Inputting the key sequence information into a preset key position prediction model to obtain key position prediction information; Adjusting the key position on the keyboard based on the target key and the key position prediction information; The step of adjusting the key position on the keyboard based on the target key and the key position prediction information includes: determining the target position of the target key based on the usage frequency information of the target key and the layout area information of the target key in the key position prediction information, and then determining the key positions of other keys based on the key distance between the target key and other keys in the key position prediction information, and finally, laying out other keys with undetermined positions according to the remaining positions on the keyboard.
2. The AI-based key adjustment method according to claim 1, characterized in that: The step of inputting the key sequence information into a preset key position prediction model to obtain key position prediction information includes: Preprocessing the key sequence in the key sequence information based on the target separation key to obtain the target key sequence information; The target key sequence information is input into a preset key position prediction model to obtain key position prediction information corresponding to each keyboard partition output by the preset key position prediction model.
3. The AI-based key adjustment method according to claim 2, characterized in that: The step of inputting the target key sequence information into a preset key position prediction model to obtain key position prediction information corresponding to each keyboard partition output by the preset key position prediction model includes: Inputting the target key sequence information into a preset key position prediction model; Determine the continuous key frequency information in the target key sequence information according to the preset key position prediction model; The key position prediction information corresponding to each keyboard partition is determined based on the continuous key frequency information, and the key position prediction information includes the position relationship corresponding to the continuous keys.
4. The AI-based key adjustment method according to claim 1, characterized in that: The step of adjusting the key position on the keyboard based on the target key and the key position prediction information comprises: Determine the key position of the key on each keyboard partition according to the target key and the key position prediction information; Determine a key mapping relationship according to the key positions; The keys on the keyboard are adjusted based on the key mapping relationship, and the corresponding key names are displayed on the keys.
5. The AI-based key adjustment method according to claim 1, characterized in that: After the step of adjusting the key position on the keyboard based on the target key and the key position prediction information, the method further includes: Acquire the user's keyboard operation information, wherein the keyboard operation information includes keyboard usage duration information and usage frequency information; Collecting the key press force information of the user through the pressure sensors installed on each key; Determine a target key strength according to the keyboard usage time information, the usage frequency information and the key strength information; The key force of each key on the keyboard is adjusted based on the target key force.
6. The AI-based key adjustment method according to any one of claims 1 to 5, characterized in that: After the step of adjusting the key position on the keyboard based on the target key and the key position prediction information, the method further includes: Determine usage regularity information of the delete key according to the keyboard usage information; Determine mis-touch key information based on the usage regularity information; Keyboard operation assistance is performed according to the mis-touched key information.
7. The AI-based key adjustment method according to any one of claims 1 to 5, characterized in that: After the step of obtaining the user's keyboard usage information, the method further includes: determining a fixed phrase according to the keyboard usage information; An input shortcut key is determined based on the fixed phrase.
8. A key adjustment device based on AI, characterized in that: The AI-based key adjustment device includes: An acquisition module, used to acquire keyboard usage information of a user, wherein the keyboard usage information includes usage frequency information and key sequence information of each key; A determination module, used to determine the target keys corresponding to each keyboard partition according to the usage frequency information; A prediction module, used for inputting the key sequence information into a preset key position prediction model to obtain key position prediction information; An adjustment module, configured to adjust the key position on the keyboard based on the target key and the key position prediction information; The adjustment module is also used to determine the target position of the target key based on the usage frequency information of the target key and the layout area information of the target key in the key position prediction information, and then determine the key positions of other keys based on the key distance between the target key and other keys in the key position prediction information, and finally, layout other keys with undetermined positions according to the remaining positions on the keyboard.
9. A key adjustment device based on AI, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the AI-based key adjustment method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the AI-based key adjustment method as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Keyboard area self-defining method and system based on user behavior analysis and medium
CN118916825A