Abstract:
The present invention discloses a method for implementing control of keys of a virtual keyboard on a touch screen with two thumbs including conventional technical processes of arranging keys on a preset virtual keyboard according to a key layout and setting, and displaying the preset virtual keyboard and the keys on the touch screen according to the key arrangement of the preset virtual keyboard and corresponding setting and parameters. In this way, without changing the key layout of the preset virtual keyboard, the key position setting, and the current width of the virtual keyboard determined according to the current screen width, when the preset virtual keyboard is displayed and runs on the wide touch screen, the keys are at positions touchable by both thumbs of an operator.

Description:
CROSS REFERENCE TO RELATED APPLICATIONS 
       [0001]    The present application is a Continuation-in-part Application of U.S. patent application Ser. No. 14/857,841 filed on Sep. 18, 2015, and the U.S. patent application Ser. No. 14/857,841 is a Continuation Application of PCT application No. PCT/CN2014/085912 filed on Sep. 4, 2014, which claims the benefits of Chinese Patent Application No. 201310466838.5 filed on Sep. 29, 2013 and Chinese Patent Application No. 201310565660.X filed on Nov. 14, 2013; the contents of which are hereby incorporated by reference. 
     
    
     TECHNICAL FIELD 
       [0002]    The present invention relates to a method for producing a virtual keyboard on a touch screen of a mobile phone or a tablet computer having a wide touch screen, and a computer program product using the method, particularly relates to a method for implementing control of keys of a virtual keyboard on a wide touch screen with two thumbs and a computer program product using the method, and particularly relates to a method for implementing operation of keys of a wide keyboard with two thumbs and a hand-held wide keyboard product using the method. 
       BACKGROUND 
       [0003]    Generally speaking, a virtual keyboard is as wide as a touch screen. If the touch screen/virtual keyboard is too wide and a large number of keys are arranged on the same row, an operator cannot touch or control the keys with both thumbs (the left/right thumb cannot touch or control the keys at the middle of the virtual keyboard). In view of the problem that the touch screen/virtual keyboard is too wide and the operator cannot control the keys for inputting with both thumbs, the existing technical solution is to split the virtual keyboard and the keys thereon into two independent keyboards (i.e. half of keyboard on the left and half of the keyboard on the right) and display the two keyboards on the left and right sides of the touch screen. Although this can satisfy the requirement of the operator of controlling the keys with both thumbs, negative issues caused by splitting the keyboard apparently exist. For example, two keyboards are required for input, and the man-machine interface is poor. Also, the change of the original key layout and the relative positions of the keys would affect the operability of the keyboard. 
       SUMMARY 
       [0004]    The purpose of the present invention is to overcome the defects of the prior art and provide a method capable of respectively locating keys at touchable positions of left and right thumbs of an operator when a computer program displays and operates a preset virtual keyboard on a wide touch screen, on the premise of not changing the key layout, the key position setting of the preset virtual keyboard, and the width of the current virtual keyboard determined according to the current screen width. 
         [0005]    The technical problem in the present invention is solved by the following technical solutions. This method for implementing control of keys of a virtual keyboard on a wide touch screen with two thumbs includes conventional technical processes of arranging keys on a preset virtual keyboard with at least three rows of keys, each row having more than five keys according to a conventional key layout and a corresponding setting; and displaying the preset virtual keyboard and keys thereon on a touch screen by a computer program according to the key layout, the corresponding setting and a parameter of the preset virtual keyboard. The conventional technical processes include a common technical process of determining a width of the preset virtual keyboard on a current touch screen, namely a width of the current virtual keyboard according to a current screen width, and further include a common technical process of calculating preset widths of corresponding keys and preset widths of blank areas on the current virtual keyboard according to the width of the current virtual keyboard and the percentages of the preset widths of the keys thereon and the preset widths of the blank areas in the virtual keyboard width. 
         [0006]    The method for implementing control of keys of a virtual keyboard on a wide touch screen with two thumbs is characterized in that: 
         [0007]    on the premise of not changing the key layout, a key position setting of the preset virtual keyboard, and the width of the current virtual keyboard determined according to the current screen width, when the preset virtual keyboard is displayed and runs on a wide touch screen, the keys thereon can be respectively located at positions touchable by the left and right thumbs of an operator, namely: 
         [0008]    1. keys arranged on a center line of the current virtual keyboard are set to increase their key widths according to a width value marked by a specific parameter based on the preset widths thereof, and keys arranged on the left and right sides of the center line of the current virtual keyboard are set to increase their key widths according to half of the width value marked by the specific parameter based on the preset widths thereof, or 
         [0009]    the keys arranged on the center line of the current virtual keyboard are set to increase their key widths according to twice of the width value marked by the specific parameter based on the preset widths thereof, and the keys arranged on the left and right sides of the center line of the current virtual keyboard are set to increase their key widths according to the width value marked by the specific parameter based on the preset widths thereof; 
         [0010]    the specific parameter is a width parameter value which can be used for directly or indirectly marking an identical width measuring unit of the virtual keyboard, or the specific parameter is modified by the operator, an initial value of the specific parameter can be set as a minimum value “0”, the width value marked by the minimum value “0” of the specific parameter is “0”, and a maximum width value marked by a maximum value of the specific parameter can be a width value obtained by subtracting a virtual keyboard width at least necessary for displaying the keys thereon from an actual width of the current virtual keyboard; 
         [0011]    the keys arranged on the left and right sides of the center line of the virtual keyboard refer to a key closest to the left side of the center line of the virtual keyboard and a key closest to the right side of the center line of the virtual keyboard in the same row of keys; 
         [0012]    2. when the computer program calculates the preset widths of corresponding keys and the preset widths of the blank areas in the current virtual keyboard according to the width of the current virtual keyboard and the percentages of the preset widths of the keys thereon and the preset widths of the blank areas in the virtual keyboard width, the adopted width value of the current virtual keyboard is set to subtract the width value to be added on a single key among the keys arranged on the center line of the virtual keyboard, or is set to subtract twice the width value to be added on the single key among the keys arranged on the left and right sides of the center line of the virtual keyboard, namely 
         [0013]    when the computer program calculates the preset widths of corresponding keys and the preset widths of the blank areas in the current virtual keyboard according to the width of the current virtual keyboard and the percentages of the preset widths of the keys therein and the preset widths of the blank areas in the virtual keyboard width, the adopted width value of the virtual keyboard is a width value obtained by subtracting the width value to be added on the single key among the keys arranged on the center line of the virtual keyboard from the width value of the current virtual keyboard, or a width value obtained by subtracting twice of the width value to be added on the single key among the keys arranged on the left and right sides of the center line of the virtual keyboard from the width value of the current virtual keyboard; 
         [0014]    3. the arranging of the keys according to the conventional key layout and the corresponding setting includes: 
         [0015]    the distance from the left end sidelines of the keys arranged on the center line of the virtual keyboard to the center line of the virtual keyboard is basically equal to the distance from the right end sidelines of the keys to the center line of the virtual keyboard; 
         [0016]    the distance from the left end sidelines of the keys arranged on the left side of the center line of the virtual keyboard to the center line of the virtual keyboard is basically equal to the distance from the right end sidelines of the keys arranged on the right side of the center line of the virtual keyboard in the same row of keys to the center line of the virtual keyboard. 
         [0017]    The technical problem in the present invention is solved by the following further technical solutions. If the current virtual keyboard displayed on the touch screen is too wide and both thumbs cannot touch the keys, the operator can modify the specific parameter by touching a corresponding key to respectively locate the keys in the current virtual keyboard at positions touchable by the left and right thumbs of the operator. 
         [0018]    Compared with the prior art, the present invention has the advantages and effects that, on the premise of not changing the key layout, the key position setting of the preset virtual keyboard, and the width of the current virtual keyboard determined according to the current screen width, when the preset virtual keyboard is displayed and runs on the wide touch screen, the keys therein can be respectively located at touchable positions of left and right thumbs of the operator. No matter how wide the current touch screen is, the operator can modify the specific parameter by touching the corresponding key to touch all keys in the virtual keyboard by both thumbs. The present invention can be widely applied to wide touch screens of mobile phones and tablet computers. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0019]      FIG. 1  is a diagram of a virtual keyboard displayed on a touch screen according to specific embodiment  1  when “specific parameter” is “0”. 
           [0020]      FIG. 2  is a diagram of a virtual keyboard displayed on a touch screen according to specific embodiment  1  when “specific parameter” is “200”. 
           [0021]      FIG. 3  is a diagram of a virtual keyboard displayed on a touch screen according to specific embodiment  2  when “specific parameter” is “0”. 
           [0022]      FIG. 4  is a diagram of a virtual keyboard displayed on a touch screen according to specific embodiment  2  when “specific parameter” is “100”. 
       
    
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS 
       [0023]    A further illustration of the present invention will be given below in combination with specific embodiments. 
       Embodiment 1 
       [0024]    The specific embodiment is based on a preset virtual keyboard as shown in  FIG. 1 , which is provided with 26 letter keys and 2 function keys, wherein the percentage of a preset width of each letter key in the virtual keyboard width is set at 10%, the percentage of the a preset width of each function key in the virtual keyboard width is set at 15%, and the percentage of a preset width of a blank area on the left side of the letter A key and the percentage of a preset width of a blank area on the right side of the letter L key in the virtual keyboard width are set at 5%. 
         [0025]    The letter T key and the letter Y key on the first row of the keys are keys arranged on the left and right sides of the center line of the virtual keyboard, and the distance from the left end sideline of the letter T key to the center line of the virtual keyboard is basically equal to the distance from the right end sideline of the letter Y key to the center line of the virtual keyboard. 
         [0026]    The letter G key on the second row of the keys is a key arranged on the center line of the virtual keyboard, and the distance from the left end sideline of the letter G key to the center line of the virtual keyboard is basically equal to the distance from the right end sideline thereof to the center line of the virtual keyboard. 
         [0027]    The letter V key on the third row of the keys is a key arranged on the center line of the virtual keyboard, and the distance from the left end sideline of the letter V key to the center line of the virtual keyboard is basically equal to the distance from the right end sideline thereof to the center line of the virtual keyboard. 
         [0028]    In the specific embodiment, the virtual keyboard width at least necessary for displaying the keys is set at “400” points. The keys arranged on the center line of the current virtual keyboard are set to increase their key widths according to a width value marked by a specific parameter based on the preset widths thereof, and the keys arranged on the left and right sides of the center line of the current virtual keyboard are set to increase their key widths according to half of the width value marked by the specific parameter based on the preset widths thereof. 
         [0029]    For example, the current screen width/virtual keyboard width is “720” points, the initial value/minimum value of the specific parameter is “0”, and the width value marked by the specific parameter is “0” point. Then, the letter G key and the letter V key arranged on the center line of the current virtual keyboard are added with the width of “0” point based on the preset widths thereof; and the letter T key and the letter Y key arranged on the left and right sides of the center line of the virtual keyboard are added with the width of “0” point based on the preset widths thereof. 
         [0030]    When calculating the preset widths of corresponding keys and blank areas in the current virtual keyboard according to the width of the current virtual keyboard and the percentages of the preset widths of the keys and the blank areas thereon in the virtual keyboard width, the width value “0” to be added on a single key among the keys arranged on the center line of the virtual keyboard is subtracted from the adopted actual width value “720” of the current virtual keyboard, or twice of the width value “0” to be added on the single key among the keys arranged on the left and right sides of the center line of the virtual keyboard is subtracted. 
         [0031]    That means the computer program calculates the preset widths of each key and each blank area in the current virtual keyboard according to the actual width value, namely “720” points, of the current virtual keyboard and the percentages of the preset widths of each key and each blank area in the virtual keyboard width. The result is that in the width of the current virtual keyboard, the preset width of each letter key is “72” points, the preset width of each function key is “108” points, and the preset width of the blank area on the left side of the letter A key and the preset width of the blank area on the right side of the letter L key are “36” points. 
         [0032]    Based on the preset widths of the keys, after the width of “0” point is respectively added to the letter G key and the letter V key arranged on the center line of the current virtual keyboard, the widths thereof are still “72” points; and after the width of “0” point is respectively added to the letter T key and the letter Y key arranged on the left and right sides of the center line of the virtual keyboard, the widths thereof are still “72” points. 
         [0033]    As described above, the current virtual keyboard displayed on the touch screen is as shown in  FIG. 1 . Apparently, the operator cannot touch or control the keys arranged at the middle of the virtual keyboard when using both thumbs to touch the keys. The operator modifies the specific parameter by touching a corresponding key to respectively locate the keys in the current virtual keyboard at touchable positions of left and right thumbs. 
         [0034]    For example, the current screen width/virtual keyboard width is “720” points. The operator modifies the specific parameter to “200” points, and then the width value marked by the specific parameter is “200” points, namely, the operator thinks it is suitable for touching all the keys on the virtual keyboard by two thumbs of the operator when the specific parameter is modified to “200” points. That is to say the letter G key and the letter V key arranged on the center line of the current virtual keyboard are added with the width of “200” points based on the preset widths thereof; and the letter T key and the letter Y key arranged on the left and right sides of the center line of the virtual keyboard are added with the width of “100” points based on the preset widths thereof. 
         [0035]    When calculating the preset widths of corresponding keys and blank areas on the current virtual keyboard according to the width of the current virtual keyboard and the percentages of the preset widths of the keys and the blank areas therein in the virtual keyboard width, the width value “200” to be added on a single key among the keys arranged on the center line of the virtual keyboard is subtracted from the adopted actual width value “720” of the current virtual keyboard, or twice of the width value “100” to be added on the single key among the keys arranged on the left and right sides of the center line of the virtual keyboard is subtracted. 
         [0036]    That means the computer program calculates the preset widths of each key and each blank area in the current virtual keyboard according to the width value, namely “520” points, of a specific current virtual keyboard and the percentages of the preset width of each key and each blank area in the virtual keyboard width. The result is that in the width of the current virtual keyboard, the preset width of each of the 26 letter keys is “52” points, the preset width of each function key is “78” points, and the preset width of the blank area on the left side of the letter A key and the present width of the blank area on the right side of the letter L key are “26” points. 
         [0037]    Based on the preset widths of the keys, after the width of “200” points is respectively added to the letter G key and the letter V key arranged on the center line of the current virtual keyboard, the widths thereof are changed to “252” points; and after the width of “100” points is respectively added to the letter T key and the letter Y key arranged on the left and right sides of the center line of the virtual keyboard, the widths thereof are respectively changed to “152” points. 
         [0038]    As described above, the current virtual keyboard displayed on the touch screen is as shown in  FIG. 2 . Apparently, the operator can control the keys arranged at the middle of the virtual keyboard when using both thumbs to touch the keys. 
       Embodiment 2 
       [0039]    The specific embodiment is based on a preset virtual keyboard as shown in  FIG. 3 , which is provided with 26 letter keys and 2 function keys, wherein the percentage of a preset width of each letter key in the virtual keyboard width is set at 10%, the percentage of the preset width of the first function key on the left side of the third row in the virtual keyboard width is set at 10%, the percentage of the preset width of the last function key in the third row in the virtual keyboard width is set at 20%, and the percentage of the preset width of a blank area on the left side of the letter A key and the percentage of the preset width of the blank area on the right side of the letter L key in the virtual keyboard width are set at 5%. 
         [0040]    The letter T key and the letter Y key on the first row of the keys are keys respectively arranged on the left and right sides of the center line of the virtual keyboard, and the distance from the left end sideline of the letter T key to the center line of the virtual keyboard is basically equal to the distance from the right end sideline of the letter Y key to the center line of the virtual keyboard. 
         [0041]    The letter G key on the second row of the keys is a key arranged on the center line of the virtual keyboard, and the distance from the left end sideline of the letter G key to the center line of the virtual keyboard is basically equal to the distance from the right end sideline thereof to the center line of the virtual keyboard. 
         [0042]    The letter V key and the letter B key on the third row of the keys are keys arranged on the left and right sides of the center line of the virtual keyboard, and the distance from the left end sideline of the letter V key to the center line of the virtual keyboard is basically equal to the distance from the right end sideline of the letter B key to the center line of the virtual keyboard. 
         [0043]    In the specific embodiment, the virtual keyboard width at least necessary for displaying the keys is set at “400” points. The keys arranged on the center line of the current virtual keyboard are set to increase their key widths according to twice of a width value marked by a specific parameter based on the preset widths thereof, and the keys which are respectively arranged on the left and right sides of the center line of the current virtual keyboard are set to increase their key widths according to the width value marked by the specific parameter based on the preset widths thereof. 
         [0044]    For example, the current screen width/virtual keyboard width is “720” points, the initial value/minimum value of the specific parameter is “0”, and the width value marked by the specific parameter is “0” point. Then, the letter G key arranged on the center line of the current virtual keyboard is added with the width of “0” point based on the preset width thereof; the letter T, Y keys and the letter V, B keys arranged on the left and right sides of the center line of the virtual keyboard are added with the width of “0” point based on the preset widths thereof. 
         [0045]    When calculating the preset widths of corresponding keys and blank areas in the current virtual keyboard according to the width of the current virtual keyboard and the percentages of the preset widths of the keys and the blank areas therein in the virtual keyboard width, the width value “0” to be added on a single key among the keys arranged on the center line of the virtual keyboard is subtracted from the adopted actual width value “720” of the current virtual keyboard, or twice of the width value “0” to be added on the single key among the keys arranged on the left and right sides of the center line of the virtual keyboard is subtracted. 
         [0046]    That is to say the computer program calculates the preset widths of each key and each blank area in the current virtual keyboard according to the actual width value, namely “720” points, of the current virtual keyboard and the percentages of the preset widths of each key and each blank area in the virtual keyboard width. The result is that in the width of the current virtual keyboard, the preset width of each letter key is “72” points, the preset width of the first function key on the left side of the third row is “72” points, the preset width of the last function key on the right side of the third row is “144” points, and the preset width of the blank area on the left side of the letter A key and the preset width of the blank area on the right side of the letter L key are “36” points. 
         [0047]    Based on the preset widths of the keys, after the width of “0” point is added to the letter G key arranged on the center line of the current virtual keyboard, the width thereof is still “72” points; and after the width of “0” point is respectively added to the letter T, Y keys and letter V, B keys arranged on the left and right sides of the center line of the virtual keyboard, the widths thereof are still “72” points. 
         [0048]    As described above, the current virtual keyboard displayed on the touch screen is as shown in  FIG. 3 . Apparently, the operator cannot control the keys arranged at the middle of the virtual keyboard when using both thumbs to touch the keys. The operator modifies the specific parameter by touching a corresponding key to respectively locate the keys in the current virtual keyboard at touchable positions of left and right thumbs. 
         [0049]    For example, the current screen width/virtual keyboard width is “720” points. The operator modifies the specific parameter into “100” points, and then the width value marked by the specific parameter is “100” points, namely, the operator thinks it is suitable for touching all the keys on the virtual keyboard by two thumbs of the operator when the specific parameter is modified to “100” points. That is to say the letter G key arranged on the center line of the current virtual keyboard is added with the width of “200” points based on the preset width thereof; and the letter T, Y keys and the letter V, B keys arranged on the left and right sides of the center line of the virtual keyboard are added with the width of “100” points based on the preset widths thereof. 
         [0050]    When calculating the preset widths of corresponding keys and blank areas on the current virtual keyboard according to the width of the current virtual keyboard and the percentages of the preset widths of the keys and the blank areas therein in the virtual keyboard width, the width value “200” to be added on a single key among the keys arranged on the center line of the virtual keyboard is subtracted from the adopted actual width value “720” of the current virtual keyboard, or twice of the width value “100” to be added on the single key among the keys arranged on the left and right sides of the center line of the virtual keyboard is subtracted. 
         [0051]    That means the computer program calculates the preset widths of each key and each blank area in the current virtual keyboard according to the width value, namely “520” points, of a specific current virtual keyboard and the percentage of the preset width of each key and each blank area in the virtual keyboard width. The result is that in the width of the current virtual keyboard, the preset widths of the 26 letter keys are “52” points, the preset width of the first function key on the left side of the third row is “52” points, the preset width of the last function key on the right side of the third row is “104” points, and the preset width of the blank area on the left side of the letter A key and the preset width of the blank area on the right side of the letter L key are “26” points. 
         [0052]    Based on the preset widths of the keys, after the width of “200” points is added to the letter G key arranged on the center line of the current virtual keyboard, the width thereof is changed to “252” points. After the width of “100” points is respectively added to the letter T, Y keys and the letter V, B keys arranged on the left and right sides of the center line of the virtual keyboard, the widths thereof are changed to “152” points. 
         [0053]    As described above, the current virtual keyboard displayed on the touch screen is as shown in  FIG. 4 . Apparently, the operator can control the keys arranged at the middle of the virtual keyboard when using both thumbs to touch the keys. 
         [0054]    The above contents are further detailed description of the present invention in combination with the specific embodiments. However, it cannot be held that the specific embodiments of the present invention are only limited to the description. Those of ordinary skill in the art to which the present invention pertains can still make a variety of simple modifications or substitutions on the premise of not deviating from the conception of the present invention, and these modification or substitutions should be deemed to be within the scope of patent protection determined by the proposed claims of the present invention.