CN116820253A - Keyboard layout adjustment method, device, equipment and storage medium - Google Patents

Keyboard layout adjustment method, device, equipment and storage medium Download PDF

Info

Publication number
CN116820253A
CN116820253A CN202310778861.1A CN202310778861A CN116820253A CN 116820253 A CN116820253 A CN 116820253A CN 202310778861 A CN202310778861 A CN 202310778861A CN 116820253 A CN116820253 A CN 116820253A
Authority
CN
China
Prior art keywords
key
virtual keyboard
user
layout
keyboard
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
CN202310778861.1A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310778861.1A priority Critical patent/CN116820253A/en
Publication of CN116820253A publication Critical patent/CN116820253A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The application provides a keyboard layout adjustment method, device, equipment and storage medium, which can be used in the field of virtual reality or finance. When the method is executed, firstly, responding to touch operation of a user on a virtual keyboard to acquire input habit of the user; the input habit comprises key use frequency and a key click path, and then the related input frequency of the key is determined according to the key use frequency and the key click path; the relevant input frequency of the keys is the input frequency associated with any two keys in the keys; and then determining adjustment information of the virtual keyboard according to the relevant input frequency of the keys, and finally adjusting the layout of the virtual keyboard based on the adjustment information. Therefore, the layout of the virtual keyboard is adjusted according to the input habit of the user, so that the layout of the virtual keyboard is adjusted based on the specific habit of the user, and the effect of thousands of people and thousands of faces of the keyboard is achieved. Thus, the safety of the keyboard can be improved.

Description

Keyboard layout adjustment method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for adjusting a keyboard layout.
Background
With the development of technology, various forms of keyboards for information input are also presented, and the development from a physical hard keyboard, a touch screen soft keyboard to a virtual keyboard is realized. However, the physical hard keyboard, the touch screen soft keyboard and the virtual keyboard in the related art are all arranged in a conventional keyboard arrangement, such as conventional 9 keys and conventional 26 keys.
However, for users in different application scenarios, the conventional keyboard layout has a problem of low safety factor because the layout is fixed, and in the process of inputting information, other people can obtain the input information of the user based on the input position of the user and the knowledge of the conventional keyboard layout.
Disclosure of Invention
In view of the above, the present application provides a method, apparatus, device and storage medium for adjusting a keyboard layout, which aims to improve the security of the keyboard.
In a first aspect, the present application provides a keyboard layout adjustment method, the method including:
responding to touch operation of a user on a virtual keyboard to acquire input habit of the user; the input habit comprises key use frequency and key click path;
determining relevant input frequencies of the keys according to the key use frequency and the key click path; the relevant input frequency of the key is the input frequency associated with the key in the key;
determining adjustment information of the virtual keyboard according to the relevant input frequency of the keys;
and adjusting the layout of the virtual keyboard based on the adjustment information.
Optionally, the method further comprises: acquiring configuration information of the keys in an original virtual keyboard;
the determining the adjustment information of the virtual keyboard according to the relevant input frequency of the key comprises the following steps:
and determining the adjustment information of the virtual keyboard according to the relevant input frequency of the key and the configuration information of the key in the original keyboard.
Optionally, the determining the adjustment information of the virtual keyboard according to the relevant input frequency of the key and the configuration information of the key in the original keyboard includes:
determining the configuration position of the key in the original keyboard according to the configuration information of the key in the original keyboard;
establishing a correlation action library based on the correlation input frequency of the key; the associated action library comprises all keys and associated input frequencies of the associated keys;
acquiring a key and related input frequencies of keys related to the key from the related action library respectively, comparing the related input frequencies of the keys related to the key, and determining a configuration position of a first key with highest related input frequency with the key outside a preset area and a configuration position of a second key with lowest related input frequency with the key inside a preset adjacent area in an original keyboard;
and determining the adjustment information of the virtual keyboard based on the configuration position of the first key and the configuration position of the second key.
Optionally, the layout of the virtual keyboard includes a layout of a base virtual keyboard map and a layout of an associated virtual keyboard map, and the adjusting the layout of the virtual keyboard based on the adjustment information includes:
respectively adjusting the basic virtual keyboard mapping layout and the associated virtual keyboard mapping layout of the virtual keyboard based on the adjustment information;
the associated virtual keyboard map is displayed through a preset call instruction, and the method further comprises the steps of:
and responding to a preset associated virtual keyboard map evoking instruction, and displaying the adjusted layout of the associated virtual keyboard map on the upper layer of the layout of the basic virtual keyboard map.
Optionally, the obtaining, in response to a touch operation of a user on a virtual keyboard, an input habit of the user includes:
responding to touch operation of a user on a virtual keyboard, and acquiring a use mode of the virtual keyboard;
and acquiring the input habit of the user based on the use mode of the virtual keyboard.
Optionally, after the adjusting the layout of the virtual keyboard based on the adjustment information, the method further includes:
based on the use modes of the virtual keyboard, the layout of the virtual keyboard of different use modes is adjusted according to the corresponding adjustment information of the different use modes;
and storing the layouts of the virtual keyboards with different use modes into a virtual keyboard layout library.
Optionally, before the input habit of the user is obtained in response to the touch operation of the user on the virtual keyboard, the method further includes:
responding to the starting instruction of the virtual keyboard, and detecting gesture information of a user; the gesture information comprises palm information and finger information of the user;
determining the input hand of the user according to the palm information of the user;
determining the touch area of the user according to the finger information of the user;
and adjusting the layout specification of the virtual keyboard based on the input hand of the user and the touch area of the user.
In a second aspect, the present application provides a keyboard layout adjustment apparatus, the apparatus comprising:
the acquisition module is used for responding to the touch operation of the user on the virtual keyboard to acquire the input habit of the user; the input habit comprises key use frequency and key click path;
the first determining module is used for determining relevant input frequency of the key according to the key use frequency and the key click path; the relevant input frequency of the keys is the input frequency associated with any two keys;
the second determining module is used for determining the adjustment information of the virtual keyboard according to the relevant input frequency of the key;
and the adjusting module is used for adjusting the layout of the virtual keyboard based on the adjusting information.
In a third aspect, the present application provides an apparatus comprising a memory for storing instructions or code and a processor for executing the instructions or code to cause the apparatus to perform the keyboard layout adjustment method of the first aspect.
In a fourth aspect, the present application provides a computer storage medium having code stored therein, the apparatus for executing the code implementing the keyboard layout adjustment method of the first aspect when the code is executed.
The application provides a keyboard layout adjustment method, device, equipment and storage medium, which can be used in the field of virtual reality or finance. When the method is executed, firstly, responding to touch operation of a user on a virtual keyboard to acquire input habit of the user; the input habit comprises key use frequency and a key click path, and then the related input frequency of the key is determined according to the key use frequency and the key click path; the relevant input frequency of the keys is the input frequency associated with any two keys in the keys; and then determining adjustment information of the virtual keyboard according to the relevant input frequency of the keys, and finally adjusting the layout of the virtual keyboard based on the adjustment information. Therefore, the layout of the virtual keyboard is adjusted according to the input habit of the user, so that the layout of the virtual keyboard is adjusted based on the specific habit of the user, and the effect of thousands of people and thousands of faces of the layout of the virtual keyboard is achieved. Thus, the safety of the keyboard can be improved.
Drawings
In order to more clearly illustrate this embodiment or the technical solutions of the prior art, the drawings that are required for the description of the embodiment or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a conventional keyboard layout in the related art;
FIG. 2 is a schematic diagram of a laser projection virtual keyboard architecture for implementing a keyboard layout adjustment method according to the present application;
FIG. 3 is a flowchart of a method for adjusting a keyboard layout according to an embodiment of the present application;
FIG. 4 is a schematic illustration of several possible gesture evolutions provided by embodiments of the present application;
FIG. 5 is a schematic diagram of a possible key adjustment area according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a layout of an associated virtual keyboard map according to an embodiment of the present application;
FIG. 7 is a schematic diagram of associated virtual keyboard map invoking according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a keyboard layout adjustment device according to an embodiment of the present application.
Detailed Description
As described above, the physical hard keyboard, the touch screen soft keyboard and the virtual keyboard in the related art are all arranged in a conventional keyboard arrangement, such as conventional 9-key and conventional 26-key. Fig. 1 is a schematic diagram of a conventional keyboard layout in the related art, and in combination with fig. 1, the keyboard layout in the schematic diagram is a conventional keyboard layout mode, and for users in different application scenarios, since the conventional keyboard layout is fixed, in the process of inputting information, other people can obtain input information of the user based on the input position of the user and knowledge of the conventional keyboard layout, so that the conventional keyboard layout has a problem of low safety factor.
In view of the above, the present application provides a method, apparatus, device and storage medium for adjusting a keyboard layout, which can be used in the field of virtual reality or in the field of finance. When the method is executed, firstly, responding to touch operation of a user on a virtual keyboard to acquire input habit of the user; the input habit comprises key use frequency and a key click path, and then the related input frequency of the key is determined according to the key use frequency and the key click path; the relevant input frequency of the keys is the input frequency associated with any two keys in the keys; and then determining adjustment information of the virtual keyboard according to the relevant input frequency of the keys, and finally adjusting the layout of the virtual keyboard based on the adjustment information. Therefore, the layout of the virtual keyboard is adjusted according to the input habit of the user, so that the layout of the virtual keyboard is adjusted based on the specific habit of the user, and the effect of thousands of people and thousands of faces of the keyboard is achieved. Thus, the safety of the keyboard can be improved.
It should be noted that, the embodiment of the present application is not limited to the execution body of the keyboard layout adjustment method, for example, the keyboard layout adjustment method of the embodiment of the present application may be applied to a data processing device such as a terminal device or a server. The terminal device may be a smart phone, a computer, a personal digital assistant (Personal Digital Assistant, PDA), a tablet computer, or the like. The servers may be stand alone servers, clustered servers, or cloud servers.
Fig. 2 is a schematic diagram of a laser projection virtual keyboard architecture for implementing the keyboard layout adjustment method according to the present application, as shown in the schematic diagram of the architecture in fig. 2, the architecture includes an infrared camera 10, a keyboard projection laser 20, an infrared sensor 30 and a processor 40, where the camera 10, the keyboard projection laser 20 and the infrared sensor 30 are respectively connected with the processor 40.
The infrared camera 10 is used for detecting and tracking touch operation of a user, and transmitting touch data of the user to the processor for processing according to the detected and tracked input position of the user. Specifically, the infrared camera 10 may also be used to detect gesture information of a user, and transmit the detected gesture information to the processor, so as to process virtual keyboard projection according to the gesture information.
The keyboard projection laser 20 is used for mapping the projection of the virtual keyboard on a plane so as to form a visual virtual keyboard on the plane, so that a user can perform touch operation based on the virtual keyboard to complete information input.
The infrared sensor 30 is configured to emit infrared rays, which are disposed parallel to a projection plane of the virtual keyboard, and when a user performs a touch operation on the virtual keyboard, and when the infrared rays are blocked based on the position of the touch operation, the infrared rays emitted by the infrared sensor can form diffuse reflection on a blocking object to generate a light spot, so that the infrared camera 10 detects and tracks the input position of the user through the position of the light spot and the blocked content.
The processor 40 is configured to receive user touch data sent by the infrared camera 10, obtain input habits of the user, including a key usage frequency and a key click path, and determine a relevant input frequency of a key according to the key usage frequency and the key click path; the relevant input frequency of the keys is the input frequency associated with any two keys; then determining the adjustment information of the virtual keyboard according to the relevant input frequency of the key; and adjusting the layout of the virtual keyboard based on the adjustment information. The processor 40 is further configured to store the adjusted layout of the virtual keyboard, and further control the keyboard projection laser 20 to project the adjusted virtual keyboard on a plane for use by a user.
The keyboard layout adjustment method, the device, the equipment and the storage medium provided by the application can be used in the field of virtual reality or the financial field. The foregoing is merely an example, and is not intended to limit the application field of the keyboard layout adjustment method provided by the present application.
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Fig. 3 is a flowchart of a method for adjusting a keyboard layout according to an embodiment of the present application, and in conjunction with fig. 3, the method for adjusting a keyboard layout may include:
s301: responding to touch operation of a user on a virtual keyboard to acquire input habit of the user; the input habits include key usage frequency and key click path.
In this embodiment, input habits of different users when performing touch operation using a keyboard are different, for example, in the input process, based on the habit of using the initial continuous spelling of the input content of a part of users who are currently inputting rich related words of a word stock, if the content of "phone" needs to be input, the input can be performed through a "D" key and a "X" key on the touch keyboard, but the input habit of a part of users for inputting is performed through a full spelling mode, and by sequentially touching the keys of "D", "I", "a", "N", "H", "U" and "a" on the keyboard, it is obvious that the frequency of use of the keys and the key clicking path of the two types of input by the user are different. It should be noted that, the above-mentioned key clicking path refers to, for example, according to different working properties, working positions and working contents of different users, the frequency of using each key in the keyboard is different for different users in the process of using the keyboard, for example, the input frequency of the "X" key and the "S" key corresponding to the word "student" in a banking scene is generally lower than the input frequency of the word "student" in a school scene, and the input associated word frequency corresponding to different working positions is also different in an application scene with the same property, for example, the input frequency of the "Y", "S", "Z" key corresponding to the high-frequency word "accounts receivable" in an accounting position is generally higher than other positions. That is, there are different input habits for different users for the use of virtual keyboards. Thus, in response to a touch operation of the user on the virtual keyboard, input habits of the user are obtained, wherein the input habits comprise key use frequency and key click paths.
In order to further improve the security of the virtual keyboard, the method may further include, before S301: and responding to gesture calling operation of a user, and starting the virtual keyboard according to pre-stored gesture calling information. Specifically, in this embodiment, taking a laser projection virtual keyboard as an example, before performing a touch operation of the virtual keyboard, a user needs to perform a calling operation on the virtual keyboard, and the virtual keyboard is started through a specific gesture so that the keyboard projects laser to project the virtual keyboard on a plane. Firstly, pre-storing the corresponding call gesture information of the user in a call gesture action library, and fig. 4 is a schematic diagram of several possible gesture call provided by the embodiment of the application, as shown in (a) - (g) in fig. 4, the user can scan and input the gesture call information into the system before using, that is, the user presets the corresponding call gesture, when the infrared camera detects the corresponding start gesture, that is, after the user puts the hand into the projection area, the infrared camera recognizes and compares the hand information, compares the hand information with the gesture call information pre-stored in the action library by the user, and if the comparison succeeds in starting the virtual keyboard, the projection of the virtual keyboard is mapped on the plane by the projection laser of the keyboard. And similarly, responding to gesture closing operation of a user, and closing the virtual keyboard according to pre-stored gesture closing information. When the corresponding closing gesture is detected by the infrared camera, namely after the user puts the hand into the projection area, the infrared camera recognizes and compares the hand information, compares the hand information with gesture closing information pre-stored in the action library by the user, and if the comparison is successful, sends a mapping ending instruction to the keyboard projection laser, so as to end projection mapping of the virtual keyboard. Based on the embodiment, the user starts and closes the virtual keyboard based on the specific gesture, so that the virtual keyboard is prevented from being started and used by other people, and the safety of the virtual keyboard is ensured.
In addition, the above-mentioned input habits of the users are different due to different working properties, working positions and working contents of the users, and in practical application, the same user has different input habits, such as working, playing and leisure time, due to different events corresponding to the users in the input process, so that the user can select the use modes of the virtual keyboard, such as working mode, playing mode and leisure mode, when performing touch operation. Based on this, the S301 may specifically include: responding to touch operation of a user on the virtual keyboard, and acquiring a use mode of the virtual keyboard; and acquiring the input habit of the user based on the use mode of the virtual keyboard. Specifically, by acquiring the usage pattern of the virtual keyboard, and then acquiring the input habit of the user based on the usage pattern of the virtual keyboard, for example, the usage frequency and the clicking path of the "a", "S", "D", and "F" keys are more frequent in the game mode, the usage frequency and the clicking path of the "C", "H" key corresponding to the phrase "eating" in the leisure mode are more frequent, and the usage frequency and the clicking path of the key corresponding to the phrase related to the corresponding work content in the work mode are higher. In this embodiment, by acquiring different usage modes of the virtual keyboard, so as to acquire user input habits corresponding to the different usage modes, the use efficiency of the virtual keyboard can be improved while the security of the virtual keyboard is ensured.
S302: determining relevant input frequencies of the keys according to the key use frequencies and the key click paths;
in this embodiment, the key usage frequency refers to the number of times a certain key is clicked, and the key clicking path refers to the sequence of continuous input when a plurality of keys are input, and it can be understood that the user's key clicking path can reflect the commonly used input phrase of the user. It should be noted that, for example, when a phrase is input, a comma, a period, a space, a number, etc. are utilized to select a word or sentence to be input, where the comma, the period, the space, and the number can be used as an end mark or a start mark of the click path.
S303: and determining the adjustment information of the virtual keyboard according to the relevant input frequency of the keys.
In this embodiment, the adjustment information of the virtual key can be determined by obtaining the relevant input frequency of the key, specifically, the key with the higher relevant input frequency in the key is arranged at the adjacent position according to the input habit of the user, so that the clicking path of the high-frequency input word can be shortened, and the input efficiency of the user is improved. For example, in one possible user habit, the high frequency input includes "B-ase:Sub>A-O", in the existing QWERTY keyboard layout, the B key is located in the fifth row in the third row in the alphabetic keyboard, the ase:Sub>A key is located in the first row in the alphabetic keyboard, and the O key is located in the ninth row in the alphabetic keyboard. It should be noted that the foregoing examples are merely exemplary, and in an actual application process, the system may traverse the relevant input frequencies between all the letter keys to obtain an optimal adjustment scheme of the virtual keyboard, and determine the adjustment information of the virtual keyboard according to the adjustment scheme.
In an alternative embodiment, in order to adjust the layout of the virtual keyboard, the layout of the keys in the original virtual keyboard may be acquired first, so the method further includes acquiring configuration information of the keys in the original virtual keyboard. It can be understood that the configuration information of the key in the original keyboard at least comprises the position information of the key in the original keyboard and the specification information of the key, wherein the position information of the key in the original keyboard is the position coordinate of the key in the original keyboard, and the specification information of the key is the size of the key. In this embodiment, the layout of the keyboard may be locally adjusted in the original keyboard according to the habit of the user, and fine adjustment may be performed on the basis of the original keyboard, so that the layout of the keyboard more accords with the habit of the user. By acquiring the configuration information of the key in the original virtual keyboard, the step 303 may specifically include: and determining the adjustment information of the virtual keyboard according to the relevant input frequency of the key and the configuration information of the key in the original keyboard. In this embodiment, by adjusting the key with a higher relevant frequency among the keys in the original keyboard based on the configuration information of the keys in the original keyboard through the relevant input frequencies of the keys already obtained, for example, adjusting the relevant key with a higher relevant input frequency of a certain key in the original keyboard to a position adjacent to the key in an alternative manner, it can be understood that the relevant key with a higher relevant input frequency is not located adjacent to the key in the original virtual keyboard. It should be noted that, as the data of the habit of the user is accumulated, the relevant input frequency of the key is continuously changed, so that the adjustment information can be continuously updated according to different relevant input frequencies, specifically, a time range, for example, 1 day, 3 days or 1 week, can be set, so that different adjustment schemes can be obtained according to the input habit of the user in the time dimension. In this embodiment, by adjusting the key with high relevant input frequency to the adjacent position corresponding to the relevant key based on the original virtual keyboard, the input efficiency can be improved according to the habits of different users.
In an alternative embodiment, determining the adjustment information of the virtual keyboard according to the relevant input frequency of the keys and the configuration information of the keys in the original keyboard may include: determining the configuration position of the key in the original keyboard according to the configuration information of the key in the original keyboard; establishing a correlation action library based on the correlation input frequency of the keys; the associated action library comprises all keys and associated input frequencies of the associated keys; acquiring a key and related input frequencies of keys related to the key respectively from a related action library, comparing the related input frequencies of the keys related to the key, and determining the configuration position of a first key with the highest related input frequency with the key outside a preset area and the configuration position of a second key with the lowest related input frequency with the key inside a preset adjacent area in an original keyboard; and determining the adjustment information of the virtual keyboard based on the configuration position of the first key and the configuration position of the second key. Specifically, fig. 5 is a schematic diagram of a possible key adjustment area according to an embodiment of the present application, as illustrated in fig. 5, a position of a G key in an original keyboard is determined according to configuration information of the G key in the original keyboard, for example, a fifth row of the G key in an alphabetic keyboard, so as to further obtain a position coordinate of the G key, and then an associated action library is built based on an associated input frequency of an associated key of the G key.
Ext>ext> itext>ext> shouldext>ext> beext>ext> notedext>ext> thatext>ext> theext>ext> relevantext>ext> actionext>ext> libraryext>ext> includesext>ext> relevantext>ext> inputext>ext> frequenciesext>ext> ofext>ext> allext>ext> keysext>ext> associatedext>ext> withext>ext> theext>ext> Gext>ext> keyext>ext>,ext>ext> forext>ext> exampleext>ext>,ext>ext> relevantext>ext> inputext>ext> frequenciesext>ext> ofext>ext> "ext>ext> Gext>ext> -ext>ext> aext>ext> -ext>ext> oext>ext>"ext>ext> 3.6ext>ext>%ext>ext>,ext>ext> "ext>ext> Gext>ext> -ext>ext> fext>ext>"ext>ext> 2.1ext>ext>%ext>ext>,ext>ext> "ext>ext> Gext>ext> -ext>ext> hext>ext> -ext>ext> bext>ext>"ext>ext> 0.1ext>ext>%ext>ext>,ext>ext> etc.ext>ext>,ext>ext> whereext>ext> theext>ext> relevantext>ext> inputext>ext> frequenciesext>ext> ofext>ext> "ext>ext> Gext>ext> -ext>ext> aext>ext> -ext>ext> oext>ext>"ext>ext> mayext>ext> beext>ext> obtainedext>ext> whenext>ext> aext>ext> userext>ext> inputsext>ext> "ext>ext> highext>ext>"ext>ext> throughext>ext> aext>ext> fullext>ext> spellingext>ext>,ext>ext> "ext>ext> theext>ext> relevantext>ext> inputext>ext> frequenciesext>ext> ofext>ext>"ext>ext> Gext>ext> -ext>ext> fext>ext> "ext>ext> mayext>ext> beext>ext> obtainedext>ext> whenext>ext> aext>ext> userext>ext> inputsext>ext>"ext>ext> sharesext>ext> "ext>ext> throughext>ext> aext>ext> firstext>ext> spellingext>ext>,ext>ext>"ext>ext> theext>ext> relevantext>ext> inputext>ext> frequenciesext>ext> ofext>ext> "ext>ext> Gext>ext> -ext>ext> hext>ext> -ext>ext> bext>ext>"ext>ext> mayext>ext> beext>ext> obtainedext>ext> whenext>ext> aext>ext> userext>ext> inputsext>ext> "ext>ext> highext>ext> altitudeext>ext>"ext>ext> throughext>ext> aext>ext> firstext>ext> spellingext>ext>,ext>ext> andext>ext> itext>ext> isext>ext> visibleext>ext> thatext>ext> theext>ext> relevantext>ext> inputext>ext> frequenciesext>ext> ofext>ext> theext>ext> Gext>ext> keyext>ext>,ext>ext> theext>ext> relevantext>ext> inputext>ext> frequenciesext>ext> ofext>ext> theext>ext> aext>ext> keyext>ext> andext>ext> theext>ext> oext>ext> keyext>ext> areext>ext> higherext>ext>.ext>ext>
As illustrated in fig. 5, the area a is in the preset adjacent area of the G key, the area B is outside the preset adjacent area of the G key, and the H key and the B key in the preset adjacent area of the G key and the a key and the O key with higher related input frequencies outside the preset adjacent area of the G key are replaced, so that the configuration positions of the a key and the O key outside the preset adjacent area and the configuration positions of the H key and the B key with the lowest related input frequencies inside the preset adjacent area in the original keyboard are determined, that is, the first key and the second key in the embodiment of the present application may be single keys or a key combination, and the adjustment information of the virtual keyboard is determined based on the configuration positions of the a key and the O key and the configuration positions of the H key and the B key.
In the implementation, multiple virtual keyboard adjustment schemes can be obtained through adjustment of the keys, so that more virtual keyboard layout schemes can be obtained, and more choices are provided for users.
S304: and adjusting the layout of the virtual keyboard based on the adjustment information.
In this embodiment, the layout of the virtual keyboard is adjusted according to the adjustment information determined in step 303, and specifically, the layout of the virtual keyboard may be stored in the layout library of the virtual keyboard after being adjusted, so as to be selected by the user.
In an optional embodiment, the foregoing may select the usage mode of the virtual keyboard according to the touch operation of the user, and in this embodiment, the adjusting the layout of the virtual keyboard may further be adjusted according to the usage mode of the user, so the adjusting the layout of the virtual keyboard based on the adjustment information in step 304 may specifically include: based on the use modes of the virtual keyboard, the layout of the virtual keyboard of different use modes is adjusted according to the corresponding adjustment information of the different use modes; the layouts of the virtual keyboards of different use modes are stored in a virtual keyboard layout library. In this embodiment, since the layout of the virtual keyboard is adjusted according to the adjustment information corresponding to different usage modes, a user can select different virtual keyboard layouts in different usage modes, so that the scene applicability of the virtual keyboard is enriched, better usage experience is provided for the user, and different virtual keyboard layouts are used in different usage scenes, so that the security of the virtual keyboard can be improved.
In yet another alternative implementation, the layout of the virtual keyboard may include a layout of a basic virtual keyboard map and a layout of an associated virtual keyboard map, where the layout of the basic virtual keyboard map refers to a virtual keyboard that is directly mapped on a mapping plane according to a user selection after the virtual keyboard is started, and may be mapped on the mapping plane before a user input by the user selection or system pushing; the layout of the associated virtual keyboard map refers to a keyboard that is mapped after being evoked by a specific evoked instruction in the input process of the user, and is generally mapped on the layout of the base virtual keyboard map, the form of the associated virtual keyboard map is not limited in the present application, fig. 6 is a schematic diagram of the layout of the associated virtual keyboard map provided by the embodiment of the present application, and, with reference to fig. 6, the layout of the associated virtual keyboard map may be a surrounding type fig. 6a, a vertical type fig. 6b, or a horizontal type fig. 6c, so that step S304 may specifically include respectively adjusting the layout of the base virtual keyboard map and the layout of the associated virtual keyboard map of the virtual keyboard based on adjustment information, where the associated virtual keyboard map is displayed by a preset evoked instruction, and the method further includes: and responding to a preset associated virtual keyboard map evoking instruction, and displaying the adjusted layout of the associated virtual keyboard map on the upper layer of the layout of the basic virtual keyboard map. In this embodiment, the layout of the associated virtual keyboard map is determined according to the relevant input relation frequency of the corresponding key, and the key with higher relevant input frequency can be displayed in the adjacent area of the key according to the relevant input frequency, it can be understood that each key has a corresponding associated virtual keyboard map, the layout of the associated virtual keyboard map is updated continuously along with the relevant input frequency of the corresponding key, fig. 7 is a schematic diagram of the associated virtual keyboard map evoked by the embodiment of the present application, and after clicking a certain key, a "V" is drawn around the key, and the associated virtual keyboard map of the corresponding key is evoked by a specific evoked command, so as to display the adjusted layout of the associated virtual keyboard map on the upper layer of the layout of the basic virtual keyboard map, in conjunction with fig. 7. In this embodiment, not only the layout of the basic virtual keyboard map is adjusted, but also an associated virtual keyboard map is provided, which can be displayed at the upper layer of the basic virtual keyboard map, and by adjusting the layout of the associated virtual keyboard map, the keys with higher input frequency corresponding to the keys can be displayed in the adjacent areas of the corresponding keys, so that the input efficiency is improved, and the user experience is improved.
In yet another alternative implementation, in an actual application process, a user may use one-hand input or two-hand input when performing an in-out operation, where the one-hand input may include right-hand one-hand input and left-hand one-hand input, and because the sizes of the hands of each user are different, the areas covered by the fingers are different when performing a touch operation, when the specification of a single key is smaller, a risk of false touch may occur, when the specification of a single key is larger, the layout of the entire virtual keyboard may be excessively large, resulting in a click path that may affect the input efficiency. Therefore, before the input habit of the user is obtained in response to the touch operation of the user on the virtual keyboard, the method further comprises the following steps: responding to a starting instruction of the virtual keyboard, and detecting gesture information of a user; the gesture information comprises palm information and finger information of a user; determining the input hand of the user according to palm information of the user; determining the touch area of a user according to finger information of the user; and adjusting the layout specification of the virtual keyboard based on the input hand of the user and the touch area of the user. In this embodiment, by detecting palm information and finger information of the user, an input hand and a touch area of the user are determined, and the layout specification of the virtual keyboard is adjusted based on the input hand and the touch area of the user, so that the input accuracy and the input efficiency can be improved.
In the above embodiment, the layout of the virtual keyboard is adjusted according to the input habit of the user, so that the layout of the virtual keyboard is adjusted based on the specific habit of the user, and the effect of thousands of people and thousands of faces of the layout of the virtual keyboard is achieved. Therefore, the safety of the keyboard can be improved, the input efficiency is improved, and the input experience of a user is improved.
The embodiment of the application provides some specific implementation manners of the keyboard layout adjustment method, and based on the implementation manners, the application also provides a corresponding device. The apparatus provided by the embodiment of the present application will be described in terms of functional modularization.
Referring to fig. 8, a schematic structural diagram of a keyboard layout adjustment device 800 is shown, where the device 800 includes an acquisition module 801, a first determination module 802, a second determination module 803, and an adjustment module 804.
An obtaining module 801, configured to obtain an input habit of a user in response to a touch operation of the user on a virtual keyboard; the input habit comprises key use frequency and key click path;
a first determining module 802, configured to determine a relevant input frequency of the key according to the key usage frequency and the key click path; the relevant input frequency of the keys is the input frequency associated with any two keys;
a second determining module 803, configured to determine adjustment information of the virtual keyboard according to the relevant input frequency of the key;
an adjustment module 804, configured to adjust a layout of the virtual keyboard based on the adjustment information.
The apparatus further comprises:
the configuration information acquisition module is used for acquiring the configuration information of the keys in the original virtual keyboard;
the second determining module is specifically configured to determine adjustment information of the virtual keyboard according to the relevant input frequency of the key and configuration information of the key in the original keyboard.
The second determining module specifically includes:
the first determining unit is used for determining the configuration position of the key in the original keyboard according to the configuration information of the key in the original keyboard;
the establishing unit is used for establishing a correlation action library based on the correlation input frequency of the key; the associated action library comprises all keys and associated input frequencies of the associated keys;
the first determining unit is used for respectively acquiring a key and related input frequencies of keys related to the key in the related action library, comparing the related input frequencies of the keys related to the key, and determining the configuration position of a first key with the highest related input frequency with the key outside a preset adjacent area and the configuration position of a second key with the lowest related input frequency with the key inside the preset adjacent area in the original keyboard;
and the second determining unit is used for determining the adjustment information of the virtual keyboard based on the configuration position of the first key and the configuration position of the second key.
The layout of the virtual keyboard comprises a basic virtual keyboard mapping layout and an associated virtual keyboard mapping layout, and the adjusting module specifically comprises:
the first adjusting unit is used for respectively adjusting the layout of the basic virtual keyboard map and the layout of the associated virtual keyboard map of the virtual keyboard based on the adjusting information;
the associated virtual keyboard map is displayed through a preset call instruction, and the device further comprises:
and the display unit is used for responding to a preset associated virtual keyboard map calling instruction and displaying the adjusted layout of the associated virtual keyboard map on the upper layer of the basic virtual keyboard map layout.
The acquisition module is specifically used for responding to the touch operation of a user on the virtual keyboard and acquiring the use mode of the virtual keyboard; and acquiring the input habit of the user based on the use mode of the virtual keyboard.
The adjusting module is specifically used for: based on the use modes of the virtual keyboard, the layout of the virtual keyboard of different use modes is adjusted according to the corresponding adjustment information of the different use modes.
The apparatus further comprises:
the detection module is used for responding to the starting instruction of the virtual keyboard and detecting gesture information of a user; the gesture information comprises palm information and finger information of the user;
a third determining module, configured to determine an input hand of the user according to palm information of the user;
a fourth determining module, configured to determine a touch area of the user according to finger information of the user;
and the layout specification adjusting module is used for adjusting the layout specification of the virtual keyboard based on the input hand of the user and the touch area of the user.
The embodiment of the application also provides corresponding equipment and a computer storage medium, which are used for realizing the scheme provided by the embodiment of the application.
The device comprises a memory and a processor, wherein the memory is used for storing instructions or codes, and the processor is used for executing the instructions or codes so as to enable the device to execute the keyboard layout adjustment method according to any embodiment of the application.
The computer storage medium stores codes, and when the codes are executed, the equipment for executing the codes realizes the keyboard layout adjustment method according to any embodiment of the application.
The "first" and "second" in the names of "first", "second" (where present) and the like in the embodiments of the present application are used for name identification only, and do not represent the first and second in sequence.
From the above description of embodiments, it will be apparent to those skilled in the art that all or part of the steps of the above described example methods may be implemented in software plus general hardware platforms. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a read-only memory (ROM)/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network communication device such as a router) to perform the method according to the embodiments or some parts of the embodiments of the present application.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
The foregoing description of the exemplary embodiments of the application is merely illustrative of the application and is not intended to limit the scope of the application.

Claims (10)

1. A method for keyboard layout adjustment, the method comprising:
responding to touch operation of a user on a virtual keyboard to acquire input habit of the user; the input habit comprises key use frequency and key click path;
determining relevant input frequencies of the keys according to the key use frequency and the key click path; the relevant input frequency of the key is the frequency of the relevant input of the key;
determining adjustment information of the virtual keyboard according to the relevant input frequency of the keys;
and adjusting the layout of the virtual keyboard based on the adjustment information.
2. The method according to claim 1, wherein the method further comprises: acquiring configuration information of the keys in an original virtual keyboard;
the determining the adjustment information of the virtual keyboard according to the relevant input frequency of the key comprises the following steps:
and determining the adjustment information of the virtual keyboard according to the relevant input frequency of the key and the configuration information of the key in the original keyboard.
3. The method of claim 2, wherein the determining the adjustment information of the virtual keyboard according to the level of the relevant input frequency of the key and the configuration information of the key in the original keyboard comprises:
determining the configuration position of the key in the original keyboard according to the configuration information of the key in the original keyboard;
establishing a correlation action library based on the correlation input frequency of the key; the associated action library comprises all keys and associated input frequencies of the associated keys;
acquiring a key and related input frequency of the key related to the key from the related action library respectively, comparing the related input frequency of the key related to the key, and determining the configuration position of a first key with highest related input frequency with the key outside a preset adjacent area and the configuration position of a second key with lowest related input frequency with the key inside the preset adjacent area in the original keyboard;
and determining the adjustment information of the virtual keyboard based on the configuration position of the first key and the configuration position of the second key.
4. The method of claim 1, wherein the layout of the virtual keyboard comprises a layout of a base virtual keyboard map and a layout of an associated virtual keyboard map, the adjusting the layout of the virtual keyboard based on the adjustment information comprising:
respectively adjusting the basic virtual keyboard mapping layout and the associated virtual keyboard mapping layout of the virtual keyboard based on the adjustment information;
the associated virtual keyboard map is displayed through a preset call instruction, and the method further comprises the steps of:
and responding to a preset associated virtual keyboard map evoking instruction, and displaying the adjusted layout of the associated virtual keyboard map on the upper layer of the layout of the basic virtual keyboard map.
5. The method of claim 1, wherein the obtaining the user's input habit in response to the user's touch operation on the virtual keyboard comprises:
responding to touch operation of a user on a virtual keyboard, and acquiring a use mode of the virtual keyboard;
and acquiring the input habit of the user based on the use mode of the virtual keyboard.
6. The method of claim 5, wherein the adjusting the layout of the virtual keyboard based on the adjustment information comprises:
based on the use modes of the virtual keyboard, the layout of the virtual keyboard of different use modes is adjusted according to the corresponding adjustment information of the different use modes.
7. The method of claim 1, wherein before the acquiring the input habit of the user in response to the touch operation of the virtual keyboard by the user, further comprises:
responding to the starting instruction of the virtual keyboard, and detecting gesture information of a user; the gesture information comprises palm information and finger information of the user;
determining the input hand of the user according to the palm information of the user;
determining the touch area of the user according to the finger information of the user;
and adjusting the layout specification of the virtual keyboard based on the input hand of the user and the touch area of the user.
8. A keyboard layout adjustment apparatus, the apparatus comprising:
the acquisition module is used for responding to the touch operation of the user on the virtual keyboard to acquire the input habit of the user; the input habit comprises key use frequency and key click path;
the first determining module is used for determining relevant input frequency of the key according to the key use frequency and the key click path; the relevant input frequency of the key is the frequency of the relevant input of the key;
the second determining module is used for determining the adjustment information of the virtual keyboard according to the relevant input frequency of the key;
and the adjusting module is used for adjusting the layout of the virtual keyboard based on the adjusting information.
9. An electronic device, the device comprising: a processor, memory, system bus;
the processor and the memory are connected through the system bus;
the memory is for storing one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the keyboard layout adjustment method of any of claims 1 to 7.
10. A computer readable storage medium, characterized in that instructions are stored in the computer readable storage medium, which instructions, when run on a terminal device, cause the terminal device to perform the keyboard layout adjustment method of any of claims 1 to 7.
CN202310778861.1A 2023-06-28 2023-06-28 Keyboard layout adjustment method, device, equipment and storage medium Pending CN116820253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310778861.1A CN116820253A (en) 2023-06-28 2023-06-28 Keyboard layout adjustment method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310778861.1A CN116820253A (en) 2023-06-28 2023-06-28 Keyboard layout adjustment method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116820253A true CN116820253A (en) 2023-09-29

Family

ID=88123652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310778861.1A Pending CN116820253A (en) 2023-06-28 2023-06-28 Keyboard layout adjustment method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116820253A (en)

Similar Documents

Publication Publication Date Title
US10698604B2 (en) Typing assistance for editing
CN105229574A (en) Reduce the error rate based on the keyboard touched
US8713464B2 (en) System and method for text input with a multi-touch screen
US8583421B2 (en) Method and apparatus for psychomotor and psycholinguistic prediction on touch based device
JP2011511370A (en) Dynamic soft keyboard
CN1761989A (en) Continuous stroke word-based text input system and method
CN106201324A (en) The dynamically on-screen keyboard of location
WO2022121790A1 (en) Split-screen display method and apparatus, electronic device, and readable storage medium
CN108459783A (en) Control method, device and the equipment of dummy keyboard, readable medium
CN110362214A (en) A kind of input method, equipment and program product
CN113359999A (en) Candidate word updating method and device and electronic equipment
CN110347459A (en) Window minimization method and device, storage medium and interactive intelligent panel
CN111124222B (en) Input switching method and device, electronic equipment and storage medium
CN110647268B (en) Control method and control device for display window in game
US20150091836A1 (en) Touch control input method and system, computer storage medium
US11651058B2 (en) Method for opening application, electronic apparatus, and computer readable storage medium
EP3776161B1 (en) Method and electronic device for configuring touch screen keyboard
US20220129137A1 (en) Virtual keyboard error correction based on a dynamic spatial model
CN107340881B (en) Input method and electronic equipment
CN116820253A (en) Keyboard layout adjustment method, device, equipment and storage medium
CN104049772B (en) A kind of input method, device and system
US20040186729A1 (en) Apparatus for and method of inputting Korean vowels
CN107390998B (en) Method and system for setting keys in virtual keyboard
CN113190125B (en) Input correction method and device
CN116954387A (en) Terminal keyboard input interaction method, device, terminal and medium

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