A method, apparatus, electronic device, and storage medium for inputting data using a 9-key keyboard.

By setting up numeric keys and linear motor vibration feedback on the nine-key input method keyboard, the inconvenience of typing pinyin syllables on touch screen devices for visually impaired users has been solved, enabling accurate and efficient input for visually impaired users.

CN115480691BActive Publication Date: 2026-03-06SHENZHEN LIANDI INFORMATION ACCESSIBILITY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211282730.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-19
Publication Date
2026-03-06
Estimated Expiration
2042-10-19

AI Technical Summary

Technical Problem

When visually impaired users use the nine-grid interaction mode of touch screen devices, they encounter problems such as inaccurate candidate words, low efficiency in finding the correct words, and accidental touches, especially when typing pinyin syllables, which is inconvenient.

Method used

It adopts a nine-key input keyboard with multiple letters on the number keys 1-9. Combined with the vibration feedback of the linear motor, the target letter is determined by the user's dwell time and the number of vibrations, generating a pinyin string and outputting the text, providing voice broadcast assistance.

Benefits of technology

It improves the accuracy and efficiency of pinyin syllable input for visually impaired users on touchscreen devices, reduces the range and difficulty of candidate words, and provides differentiated tactile feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115480691B_ABST
    Figure CN115480691B_ABST
Patent Text Reader

Abstract

This application relates to the field of electronic devices, disclosing a method, apparatus, electronic device, and storage medium for nine-key keyboard input. The method includes: determining a target number key among a plurality of number keys based on a first dwell time of a user on the key; controlling a linear motor to vibrate according to a preset vibration rule based on a second dwell time of the user on the target number key; determining a target letter corresponding to the target number key based on the number of vibrations of the linear motor; generating a pinyin string based on the user's touch selection of the plurality of target letters, and outputting the text corresponding to the pinyin string. This application, through the vibration of the linear motor, can provide differentiated tactile feedback to visually impaired users, enabling them to accurately and efficiently input pinyin syllables using the nine-key input mode of touch software, just like ordinary users, reducing the range and difficulty of candidate words.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic device technology, and in particular to a method, apparatus, electronic device, and storage medium for inputting a nine-key keyboard. Background Technology

[0002] Currently, touchscreen interaction has become the primary means for people to interact with digital technology, with information input being the most important process in this interaction. Anyone using a touchscreen-based digital device needs a user-friendly and comprehensive input software.

[0003] In the process of implementing the embodiments of this application, the inventors discovered that: due to the lack of visual senses, existing popular input software is very unfriendly to nine-key grid interaction for visually impaired people. Specifically, after typing pinyin syllables, there are serious challenges such as inaccurate candidate words, low efficiency in finding the correct candidate words, and easy accidental touches when scrolling the screen. Furthermore, using a full pinyin keyboard also has the problems of slow letter searching and easy accidental touches. Summary of the Invention

[0004] The purpose of this application is to provide a method, electronic device, and storage medium for inputting using a nine-key keyboard, providing users with differentiated tactile feedback so that visually impaired users can accurately and efficiently type pinyin syllables through the nine-key input mode of touchscreen software, just like ordinary users, thereby reducing the range and difficulty of candidate words.

[0005] To solve the above-mentioned technical problems, the embodiments of this application adopt the following technical solutions:

[0006] In a first aspect, this application provides a method for inputting data using a 9-key keyboard, applied to an electronic device. The text editing interface of the electronic device is equipped with a 9-key keyboard, which has number keys 1-9, and each of the number keys 2-9 has multiple corresponding letters, forming a 26-letter alphabet. The method includes:

[0007] Among the plurality of said numeric keys, the target numeric key is determined according to the first dwell time of the user on the numeric key;

[0008] Based on the second dwell time of the user on the target numeric keypad, the linear motor is controlled to vibrate according to a preset vibration rule;

[0009] The target letter on the target number key is determined based on the number of vibrations of the linear motor.

[0010] Based on the user's touch selection of multiple target letters, a pinyin string is generated, and the text corresponding to the pinyin string is output.

[0011] In some embodiments, the second dwell time and the number of vibrations increase accordingly based on the alphabetical order of the target numeric keys.

[0012] In some embodiments, determining a target letter corresponding to the target numeric keypad based on the vibration frequency of the linear motor includes:

[0013] Calculate the number of vibrations;

[0014] The target letter corresponding to the number of vibrations is determined in the letter arrangement order.

[0015] In some embodiments, determining a target numeric key based on a first dwell time of the user on the numeric key among the plurality of numeric keypads includes:

[0016] If, among the multiple numeric keys, the user's first pause duration on the current numeric key exceeds a preset duration, then the current numeric key is identified as the target numeric key.

[0017] In some embodiments, the method further includes:

[0018] When a user touches the numeric keypad, a voice prompt is given to the numeric keypad.

[0019] In some embodiments, after generating a pinyin string based on the user's touch selection of a plurality of target letters and outputting the text corresponding to the pinyin string, the method further includes:

[0020] The pinyin string and the corresponding text are read aloud via voice.

[0021] In some embodiments, the text editing interface further includes a menu bar, and each menu option on the menu bar corresponds to the vibration frequency and / or vibration intensity of the linear motor.

[0022] Secondly, this application also provides an electronic device, the electronic device comprising:

[0023] At least one processor, and

[0024] A memory, communicatively connected to the processor, stores instructions executable by the at least one processor to implement the steps of the nine-key keyboard input method as described in the first aspect above.

[0025] Fourthly, this application also provides a non-volatile computer-readable storage medium storing computer-executable instructions that, when executed by an electronic device, implement the steps of the nine-key keyboard input method described in the first aspect above.

[0026] The beneficial effects of this application's embodiments are as follows: Unlike existing technologies, the nine-key keyboard input method, apparatus, electronic device, and storage medium provided in this application's embodiments include a nine-key input keyboard on the text editing interface of the electronic device, facilitating the input of pinyin syllables to spell Chinese characters. The nine-key input mode features comfortable and easy-to-use thumb keys, number keys 1-9, and multiple corresponding letters on each of the number keys 2-9, forming the 26-letter alphabet. For visually impaired users, when typing, the user determines the target number key based on the first dwell time on the number key, thus determining the range of letters the user wants to select. Based on the second dwell time on the target number key, a linear motor is controlled to vibrate according to a preset vibration rule, allowing the user to perceive the difference between different letters on different number keys. The number of vibrations of the linear motor determines a target letter corresponding to the target number key, obtaining the target letter the user wishes to input. Based on the user's touch selection of multiple target letters, a pinyin string is generated, and the corresponding text is output. The vibration of the linear motor provides differentiated tactile feedback to visually impaired users, enabling them to use the touch software's nine-grid input mode to accurately and efficiently type pinyin syllables, just like ordinary users, thus reducing the range and difficulty of candidate words. Attached Figure Description

[0027] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0028] Figure 1 This is a schematic diagram of the text editing interface of the electronic device of this application;

[0029] Figure 2 This is a flowchart illustrating an embodiment of the nine-key keyboard input method of this application;

[0030] Figure 3 This is a schematic diagram of the structure of one embodiment of the nine-key keyboard input device of this application;

[0031] Figure 4 This is a schematic diagram of the hardware structure of the controller in one embodiment of the electronic device of this application. Detailed Implementation

[0032] The present application will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present application, but do not limit the present application in any way. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application. These all fall within the protection scope of the present application.

[0033] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0034] It should be noted that, unless there is a conflict, the various features in the embodiments of this application can be combined with each other, all of which are within the protection scope of this application. Furthermore, although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than the module division in the device or the order in the flowchart. In addition, the terms "first," "second," and "third" used herein do not limit the data or execution order, but only distinguish identical or similar items with essentially the same function and effect.

[0035] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items.

[0036] Furthermore, the technical features involved in the various embodiments of this application described below can be combined with each other as long as they do not conflict with each other.

[0037] The method and apparatus for inputting using a nine-key keyboard provided in this application can be applied to electronic devices. These electronic devices can be smartphones, tablets, or other devices with touchscreens. Users can type on the screen of the electronic device, and while typing, a text editing interface can be brought up. The text editing interface, after bringing up the nine-key input keyboard, displays... Figure 1 As shown, it includes a nine-key input method keyboard, menu bar, etc.

[0038] like Figure 1As shown, the nine-key input method keyboard has number keys 1-9, and each of the number keys 2-9 has multiple corresponding letters, forming the 26 letters of the alphabet. Specifically, number key 1 corresponds to the word segmentation symbol, number key 2 corresponds to the letters ABC, number key 3 corresponds to the letters DEF, number key 4 corresponds to the letters GHI, number key 5 corresponds to the letters JKL, number key 6 corresponds to the letters MNO, number key 7 corresponds to the letters PQRS, number key 8 corresponds to the letters TUV, and number key 9 corresponds to the letters WXYZ, thus covering the 26 letters of the Chinese Pinyin A, B, C, and D.

[0039] Because most current smartphones use touchscreens and lack the physical buttons of traditional keypad phones (i.e., physical number keys 1-9), they cannot retain the raised surfaces that make physical keys easier for visually impaired users to distinguish. Furthermore, when visually impaired users use a 26-key Pinyin keyboard, the large number of letter keys and the small spacing between letters make it difficult to find letters, leading to accidental keystrokes and making operation inconvenient. Therefore, the 9-key input method keyboard has only 9 number keys and their corresponding letters, providing a user-friendly interface that allows visually impaired users to easily select the desired letters by touching the corresponding number keys.

[0040] To help visually impaired users locate the desired letters on the number keys, the electronic device incorporates a linear motor. Different letters on the keypad are programmed with different vibration frequencies, allowing visually impaired users to perceive the differences between the letters. Furthermore, the electronic device includes a screen reader application. Visually impaired users can use this application to browse and interact with the information displayed on the device's screen.

[0041] Please see Figure 2 , Figure 2 This is a flowchart illustrating an embodiment of a method for inputting using a 9-key keyboard applied in this application. The method can be executed by a controller in an electronic device 100 and includes steps S201-S204.

[0042] S201: Among the plurality of said number keys, the target number key is determined according to the first dwell time of the user on the number key.

[0043] When visually impaired users use the nine - grid input method keyboard, they first enable the screen reader application in the electronic device. When the nine - grid input method keyboard is brought up, the screen reader makes a voice announcement, indicating that the current input method is the nine - grid input method. Moreover, when the electronic device detects a touch command from the user on the digital button, it makes a voice announcement for the digital button, so that the user can know which digital button they have touched. The user can obtain the letters corresponding to different digital buttons according to different digital buttons. For example, when touching the digital button 9, the user obtains the letters WXYZ corresponding to the digital button 9.

[0044] When visually impaired users operate on the nine - grid input method keyboard, among multiple digital buttons, the electronic device determines the target digital button according to the first dwell time of the user on the digital button, which may include:

[0045] Among multiple digital buttons, if the first dwell time of the user on the current digital button is greater than the preset time, then the current digital button is determined as the target digital button.

[0046] Specifically, among multiple digital buttons, if the electronic device detects that the first dwell time of the user on a certain digital button is greater than the preset time, the electronic device believes that the user wants to select the letter on that digital button. The preset time can be 0.5s. For example, if the first dwell time of the user's finger on the digital button 2 is greater than 0.5s, it is determined that the user wants to select the letter on the digital button 2.

[0047] In some embodiments, in order to let visually impaired users know that their fingers are on the digital button, when the user touches the digital button, the screen reader makes a voice announcement for the digital button, reading out the number corresponding to the digital button. For example, when the user's finger is on the digital button 2, the screen reader plays the digital button 2.

[0048] When the user knows that their finger is on a certain digital button, they can make some swiping gestures to move to the next digital button. Each time a digital button is touched, the screen reader makes a voice announcement.

[0049] When the user wants to type a certain Chinese character or phrase in the text editing interface, the user needs to determine the pinyin of the Chinese character or phrase. For example, if the user hopes to type "你", then the corresponding pinyin is "ni". At this time, the user needs to find the digital button 6, and when the user hears the screen reader's voice announcement of the digital button 6, the finger stays on the digital button 6 for a period of time, which is the first dwell time. If the first dwell time is greater than the preset time of 0.5s, the electronic device believes that the user wants to type the letter on the digital button 6 to form the pinyin string they want. At this time, the electronic device determines the digital button 6 as the target digital button.

[0050] When a user wants to input Chinese characters using a nine-key input method keyboard, the target number key is determined based on the duration of the user's first pause on the number key, allowing the electronic device to initially determine the range of letters the user wants to select.

[0051] S202: Based on the second dwell time of the user on the target numeric keypad, control the linear motor to vibrate according to the preset vibration rules.

[0052] S203: Determine a target letter corresponding to the target number key based on the number of vibrations of the linear motor.

[0053] After identifying the target numeric keypad, the electronic device continues to calculate the second dwell time of the user on the target numeric keypad, and controls the linear motor to vibrate according to the preset vibration rules.

[0054] Specifically, the preset vibration rule is: the longer the second dwell time, the more vibrations, and the later the corresponding letter on the target number key will be. That is, the second dwell time and the number of vibrations increase accordingly according to the letter arrangement order on the target number key.

[0055] In some implementations, determining a target letter corresponding to the target numeric keypad based on the number of vibrations of the linear motor includes:

[0056] Calculate the number of vibrations;

[0057] The target letter corresponding to the number of vibrations is determined in the letter arrangement order.

[0058] Specifically, the electronic device can calculate the number of vibrations and then determine the target letter corresponding to the number of vibrations in the alphabetical order.

[0059] If the target number key is any one of the number keys 2 / 3 / 4 / 5 / 6 / 8, since each of these number keys has only three different letters, the corresponding number of vibrations can be 1, 2, or 3 times, with a vibration interval of 0.5 seconds; if the target number key is any one of the number keys 7 / 9, since this number key has 4 different letters, the corresponding number of vibrations can be 1, 2, 3, or 4 times.

[0060] For example, if the letter sequence corresponding to the number key 2 is A→B→C, and the user holds the target number key 2 for an extended period, the key will vibrate three times with a 0.5-second interval between each vibration. The first vibration corresponds to the target letter A, the second to B, and the third to C. The user can mentally count the vibrations. When the user wants to select a specific letter, such as A, they release their hand when the first vibration is felt on the target number key 2. At this point, the target letter is confirmed to be A.

[0061] Correspondingly, when the target letter A is selected, the screen reader plays a voice message to read out the letter A, letting the visually impaired user know that they have selected the letter A.

[0062] Because the vibration frequency of the linear motor corresponds to different letters, visually impaired users can perceive the differences between different letters on different number keys, so that they can select the letters they want to spell.

[0063] S204: Based on the user's touch selection of multiple target letters, generate a pinyin string and output the text corresponding to the pinyin string.

[0064] For example, if a user wants to type the pinyin string "cu", then to type the first target letter "c", the user first locates the number key 2. When the user's finger sweeps across the nine-key input method keyboard, the screen reader reads the number key the finger touches. When the user's finger touches number key 2, the screen reader reads number key 2, and the user knows that their finger is on number key 2. At this point, the user lets their finger stay on number key 2 for the first duration. The electronic device identifies number key 2 as the target number key. Then, if the user's finger continues to stay on the target number key 2, the electronic device continues to calculate the second duration of the user's stay on number key 2 and controls the linear motor to vibrate according to a preset vibration rule. When the second stay... When the touch duration is 0.5s, the linear motor vibrates for the first time, corresponding to the letter A. The user mentally counts the vibrations as one, but letter A is not the target letter. Therefore, the second touch duration is increased to 1s, at which point the linear motor vibrates for the second time, corresponding to the letter B. The user mentally counts the vibrations as two, again not the target letter B. Therefore, the second touch duration continues to increase to 1.5s, at which point the linear motor vibrates for the third time, corresponding to the letter C. The user mentally counts the vibrations as three, and letter C is the target letter. At this point, the user releases their touch, thus confirming the target letter as C, completing the touch selection of the first target letter. The screen reader then announces "C" via voice.

[0065] Similarly, when the user types "U", the electronic device combines multiple target letters "C" and "U" to generate the pinyin string "cu", and outputs the text corresponding to the pinyin string.

[0066] In some embodiments, after generating the pinyin string according to the user's touch selection of multiple target letters and outputting the text corresponding to the pinyin string, the method further includes:

[0067] Performing voice broadcast on the pinyin string and the text corresponding to the pinyin string.

[0068] Specifically, in order to let visually impaired users know the pinyin string obtained by the electronic device, the screen reader performs voice broadcast on the pinyin string and the text corresponding to the pinyin string. For example, the pinyin string "cu" and the corresponding texts "coarse", "vinegar", "cluster", etc. are broadcasted in sequence, and the user can select the text they want.

[0069] In an embodiment of the present application, the text editing interface of the electronic device is provided with a nine-grid input method keyboard, which is convenient for users to type pinyin syllables to spell Chinese characters. The nine-grid input mode has comfortable and generous thumb keys, which are digital keys from 1 to 9, and multiple corresponding letters are respectively provided on the digital keys 2-9. The multiple corresponding letters form the 26-letter alphabet. For visually impaired users, when typing, on the nine-grid input method keyboard, among multiple digital keys, the target digital key is determined according to the first stay duration of the user on the digital key, so as to determine the range of letters the user wants to select; based on the second stay duration of the user on the target digital key, the linear motor is controlled to vibrate according to a preset vibration rule, so that the user can perceive the difference between different letters on different digital keys; according to the number of vibrations of the linear motor, a target letter corresponding to the target digital key is determined, and the target letter that the user hopes to type is obtained; according to the user's touch selection of multiple target letters, a pinyin string is generated, and the text corresponding to the pinyin string is output. Through the vibration of the linear motor, it can be feedback to visually impaired users in a differential tactile feedback manner, so that visually impaired users can use the nine-grid input mode of the touch software, and can type accurate pinyin syllables accurately and efficiently like ordinary users, reducing the range and difficulty of candidate words.

[0070] In some embodiments, the text editing interface is further provided with a menu bar, and each menu option on the menu bar corresponds to the vibration frequency and / or vibration intensity of the linear motor.

[0071] Such as Figure 1As shown, the text bounding box interface of the electronic device also features a menu bar with multiple menu options, such as emoji options and search options. Different menu options correspond to the vibration frequency and / or intensity of the linear motor. For example, when the user touches the emoji option, the linear motor vibrates at a high intensity and frequency, while when the user touches the search option, the linear motor vibrates at a low intensity and frequency. This helps the user distinguish between the various menu options on the menu bar. Furthermore, when the user touches a menu option, the screen reader can provide voice prompts for the menu options. The vibration of the linear motor provides tactile feedback to the user, enabling a more timely information feedback method beyond the screen reader.

[0072] This application also provides a device for inputting a 9-key keyboard, please refer to [link to relevant documentation]. Figure 3 It illustrates the structure of a nine-key keyboard input device provided in an embodiment of this application. The nine-key keyboard input device 300 includes:

[0073] The target numeric keypad determination module 301 is used to determine a target numeric keypad among a plurality of numeric keypads based on the first dwell time of the user on the numeric keypad.

[0074] Vibration module 302 is used to control the vibration of a linear motor according to a preset vibration rule based on the second dwell time of the user on the target numeric keypad;

[0075] The target letter determination module 303 is used to determine a target letter corresponding to the target number key based on the number of vibrations of the linear motor.

[0076] The pinyin string generation module 304 is used to generate a pinyin string based on the user's touch selection of multiple target letters, and output the text corresponding to the pinyin string.

[0077] In an embodiment of this application, the user determines a target number key by holding it on a number key for a first duration, thereby determining the range of letters the user wants to select. Based on a second duration of the user's hold on the target number key, a linear motor is controlled to vibrate according to a preset vibration rule, allowing the user to perceive the difference between different letters on different number keys. A target letter corresponding to the target number key is determined based on the number of vibrations of the linear motor, obtaining the target letter the user wishes to type. Based on the user's touch selection of multiple target letters, a pinyin string is generated, and the corresponding text is output. Through the vibration of the linear motor, differentiated tactile feedback can be provided to visually impaired users, enabling them to use the touch software's nine-key input mode to accurately and efficiently type pinyin syllables, just like ordinary users, reducing the range and difficulty of candidate words.

[0078] In some embodiments, the second dwell time and the number of vibrations increase accordingly based on the alphabetical order of the target numeric keys.

[0079] In some embodiments, the target letter determination module 303 is configured to:

[0080] Calculate the number of vibrations;

[0081] The target letter corresponding to the number of vibrations is determined in the letter arrangement order.

[0082] In some embodiments, the target numeric keypad determination module 301 is further configured to:

[0083] If, among the multiple numeric keys, the user's first pause duration on the current numeric key exceeds a preset duration, then the current numeric key is identified as the target numeric key.

[0084] In some embodiments, the device 300 further includes a first broadcast module 305, configured to:

[0085] When a user touches the numeric keypad, a voice prompt is given to the numeric keypad.

[0086] In some embodiments, the device 300 further includes a second broadcast module 306, configured to:

[0087] The pinyin string and the corresponding text are read aloud via voice.

[0088] In some embodiments, the text editing interface further includes a menu bar, and each menu option on the menu bar corresponds to the vibration frequency and / or vibration intensity of the linear motor.

[0089] It should be noted that the above-described apparatus can execute the method provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in the apparatus embodiments can be found in the method provided in the embodiments of this application.

[0090] Figure 4 A schematic diagram of the hardware structure of the controller of electronic device 100 in one embodiment of the electronic device is shown below. Figure 4 As shown, the controller includes:

[0091] One or more processors 111 and memory 112. Figure 4 The example uses a processor 111 and a memory 112.

[0092] Processor 111 and memory 112 can be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.

[0093] Memory 112, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the nine-key keyboard input method in the embodiments of this application (e.g., attached...). Figure 3 The target numeric keypad determination module 301, vibration module 302, target letter determination module 303, pinyin string generation module 304, first broadcast module 305, and second broadcast module 306 are shown. The processor 111 executes various functional applications and data processing of the controller by running non-volatile software programs, instructions, and modules stored in the memory 112, thereby realizing the nine-key keyboard input method of the above method embodiment.

[0094] The memory 112 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the personnel access detection device. Furthermore, the memory 112 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 112 may optionally include memory remotely located relative to the processor 111, and these remote memories can be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0095] The one or more modules are stored in the memory 112. When executed by the one or more processors 111, they perform the nine-key keyboard input method in any of the above method embodiments, for example, performing the above-described... Figure 2 Method steps S201 to S204; implementation Figure 3 The functions of modules 301-306 in the document.

[0096] The above-described product can perform the methods provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects for performing the methods. Technical details not described in detail in this embodiment can be found in the methods provided in the embodiments of this application.

[0097] This application provides a non-volatile computer-readable storage medium storing computer-executable instructions that are executed by one or more processors, for example... Figure 4 One of the processors 111 can enable the one or more processors to execute the nine-key keyboard input method in any of the above method embodiments, for example, to perform the above-described... Figure 2 Method steps S201 to S204; implementation Figure 3 The functions of modules 301-306 in the document.

[0098] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0099] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software and a general-purpose hardware platform, or of course, using hardware. Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; under the concept of the present invention, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the present invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method of inputting for a nine-square keyboard, characterized by, The application is applied to an electronic device, and a text editing interface of the electronic device is provided with a nine-square input method keyboard. The nine-square input method keyboard is provided with number keys 1-9, and each of the number keys 2-9 is provided with a plurality of corresponding letters, and the plurality of corresponding letters form a 26-letter alphabet. The method comprises the following steps: In the plurality of number keys, a target number key is determined according to a first dwell time of a user on the number key; Based on a second dwell time of the user on the target number key, a linear motor is controlled to vibrate once every vibration interval time when the user's finger stays on the target number key; The number of vibrations of the linear motor when the user's finger releases the target number key is calculated. The number of vibrations corresponds to different letters in the plurality of letters on the target number key, and the number of vibrations increases according to the letter arrangement order on the target number key; A target letter corresponding to the number of vibrations is determined in the letter arrangement order; According to the touch selection of the user on the plurality of target letters, a pinyin string is generated, and a character corresponding to the pinyin string is output.

2. The method of claim 1, wherein, In the plurality of number keys, a target number key is determined according to a first dwell time of a user on the number key; If the first dwell time of the user on the current number key is greater than a preset time, the current number key is determined as the target number key.

3. The method of claim 1, wherein, The method further comprises: When a touch instruction of the user on the number key is detected, the number key is voice broadcasted.

4. The method of claim 1, wherein, After the pinyin string is generated according to the touch selection of the user on the plurality of target letters, and the character corresponding to the pinyin string is output, the method further comprises: The pinyin string and the character corresponding to the pinyin string are voice broadcasted.

5. The method of claim 1, wherein, The text editing interface is further provided with a menu bar. Each menu option on the menu bar corresponds to the vibration frequency and / or vibration intensity of the linear motor.

6. An apparatus for nine-square keyboard input, characterized by, The application is applied to an electronic device, and a text editing interface of the electronic device is provided with a nine-square input method keyboard. The nine-square input method keyboard is provided with number keys 1-9, and each of the number keys 2-9 is provided with a plurality of corresponding letters, and the plurality of corresponding letters form a 26-letter alphabet. The device comprises the following steps: A target number key determination module is configured to determine a target number key according to a first dwell time of a user on the number key in the plurality of number keys; A vibration module is configured to control a linear motor to vibrate once every vibration interval time when the user's finger stays on the target number key based on a second dwell time of the user on the target number key; A target letter determination module is configured to calculate the number of vibrations of the linear motor when the user's finger releases the target number key. The number of vibrations corresponds to different letters in the plurality of letters on the target number key, and the number of vibrations increases according to the letter arrangement order on the target number key; A pinyin string generation module is configured to generate a pinyin string according to the touch selection of the user on the plurality of target letters, and output a character corresponding to the pinyin string.

7. An electronic device, comprising: The electronic device comprises: at least one processor, and a memory connected with the processor in communication, the memory storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to implement the steps of the method according to any one of claims 1 to 5.

8. A non-transitory computer readable storage medium, comprising: The computer readable storage medium stores computer executable instructions, when the computer executable instructions are executed by an electronic device, to implement the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and apparatus for providing tactile feedback sensations

    CN101231553A

  • Mobile terminal control method and mobile terminal

    CN106843695A