[go: up one dir, main page]

CN115480691A - Sudoku keyboard input method and device, electronic equipment and storage medium - Google Patents

Sudoku keyboard input method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115480691A
CN115480691A CN202211282730.6A CN202211282730A CN115480691A CN 115480691 A CN115480691 A CN 115480691A CN 202211282730 A CN202211282730 A CN 202211282730A CN 115480691 A CN115480691 A CN 115480691A
Authority
CN
China
Prior art keywords
target
user
letter
key
vibration
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
CN202211282730.6A
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.)
Shenzhen Liandi Information Accessibility Co ltd
Original Assignee
Shenzhen Liandi Information Accessibility Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Liandi Information Accessibility Co ltd filed Critical Shenzhen Liandi Information Accessibility Co ltd
Priority to CN202211282730.6A priority Critical patent/CN115480691A/en
Publication of CN115480691A publication Critical patent/CN115480691A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0202Constructional details or processes of manufacture of the input device
    • G06F3/0219Special purpose keyboards
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The embodiment of the application relates to the field of electronic equipment, and discloses a nine-grid keyboard input method and device, electronic equipment and a storage medium. The method comprises the following steps: determining a target number key according to a first stay time of a user in the number keys; controlling the linear motor to vibrate according to a preset vibration rule based on a second stay time of the user on the target digital key; determining a corresponding target letter on the target number key according to the vibration times of the linear motor; and generating a pinyin string according to the touch selection of the user on the target letters, and outputting characters corresponding to the pinyin string. This application can feed back to the visual barrier user through linear motor's vibrations with the tactile feedback mode of differentiation for the visual barrier user can use the squared figure input mode of touching software, can be like the ordinary user accurate, the accurate pinyin syllable of efficient typing, reduces the scope and the degree of difficulty of candidate word.

Description

一种九宫格键盘输入的方法、装置、电子设备及存储介质A method, device, electronic device and storage medium for Jiugongge keyboard input

技术领域technical field

本申请实施例涉及电子设备技术领域,尤其涉及一种九宫格键盘输入的方法、装置、电子设备及存储介质。The embodiments of the present application relate to the technical field of electronic equipment, and in particular, to a method, device, electronic equipment, and storage medium for Jiugongge keyboard input.

背景技术Background technique

当前,触屏交互已经成为了人与数字技术互动的主要手段,其中信息键入是人与数字互联网互动的最主要流程。任何人在使用以触屏为载体的信息数字化设备时均需要一款好用的、完整输入软体。At present, touch screen interaction has become the main means of interaction between people and digital technology, and information input is the most important process of interaction between people and digital Internet. Anyone who uses a touch-screen-based information digitization device needs an easy-to-use and complete input software.

本申请发明人在实现本申请实施例的过程中,发现:视障人群由于缺乏视觉感官,现有的流行输入软体在九宫格交互方面十分不友好,具体表现为拼音音节键入后,存在候选词不精准、寻找正确的所需候选字词效率低,滚动屏幕容易误触等严峻挑战。并且,使用全拼键盘又存在找字母慢,容易误触的问题。In the process of realizing the embodiment of the application, the inventors of the present application found that the existing popular input software is not very friendly in Jiugongge interaction due to the lack of visual senses of the visually impaired. Accurate, low efficiency in finding the correct required candidate words, easy to accidentally touch the scrolling screen and other severe challenges. Moreover, the use of the Quanpin keyboard has the problem of being slow to find letters and easy to touch by mistake.

发明内容Contents of the invention

本申请实施例的目的是提供一种九宫格键盘输入的方法、电子设备及存储介质,给用户提供差异化的触觉反馈,使得视障用户通过触屏软体的九宫格输入模式,也能像普通用户那样精准、高效的键入准确拼音音节,降低候选词的范围与难度。The purpose of the embodiment of the present application is to provide a Jiugongge keyboard input method, electronic equipment and storage medium, to provide users with differentiated tactile feedback, so that visually impaired users can also use the Jiugongge input mode of the touch screen software like ordinary users. Accurate and efficient typing of accurate pinyin syllables reduces the scope and difficulty of candidate words.

为解决上述技术问题,本申请实施例采用以下技术方案:In order to solve the above technical problems, the embodiment of the present application adopts the following technical solutions:

第一方面,本申请实施例中提供给了一种九宫格键盘输入的方法,应用于电子设备,所述电子设备的文本编辑界面设有九宫格输入法键盘,所述九宫格输入法键盘上设有1-9的数字按键,且数字按键2-9上分别设有多个对应的字母,多个对应的字母组成26个字母表;所述方法包括:In the first aspect, an embodiment of the present application provides a method for inputting a Jiugongge keyboard, which is applied to an electronic device. The text editing interface of the electronic device is provided with a Jiugongge input method keyboard, and the Jiugongge input method keyboard is provided with 1 -9 number keys, and the number keys 2-9 are respectively provided with a plurality of corresponding letters, and the plurality of corresponding letters form 26 alphabets; the method includes:

在多个所述数字按键中,根据用户在所述数字按键的第一停留时长确定目标数字按键;Among the plurality of numeric keys, determining a target numeric key according to the first dwell time of the user on the numeric keys;

基于用户在所述目标数字按键上的第二停留时长,按照预设震动规则控制线性马达震动;controlling the vibration of the linear motor according to a preset vibration rule based on the second dwell time of the user on the target number key;

根据所述线性马达的震动次数确定所述目标数字按键上对应的一个目标字母;determining a corresponding target letter on the target number key according to the vibration times of the linear motor;

根据用户对多个所述目标字母的触控选择,生成拼音串,并输出与所述拼音串对应的文字。According to the user's touch selection of multiple target letters, a pinyin string is generated, and text corresponding to the pinyin string is output.

在一些实施例中,所述第二停留时长及所述震动次数按照所述目标数字按键上的字母排列顺序对应增加。In some embodiments, the second dwell time and the number of vibrations increase correspondingly according to the alphabetical sequence on the target number keys.

在一些实施例中,所述根据所述线性马达的震动次数确定所述目标数字按键上对应的一个目标字母,包括:In some embodiments, the determining a target letter corresponding to the target number key according to the vibration times of the linear motor includes:

计算所述震动次数;calculating the number of vibrations;

在所述字母排列顺序中确定与所述震动次数对应的目标字母。A target letter corresponding to the number of vibrations is determined in the alphabetical sequence.

在一些实施例中,所述在多个所述数字按键中,根据用户在所述数字按键的第一停留时长确定目标数字按键,包括:In some embodiments, among the plurality of numeric buttons, determining the target numeric button according to the first dwell time of the user on the numeric button includes:

在多个所述数字按键中,如果用户在当前数字按键的第一停留时长大于预设时长,则将所述当前数字按键确定为目标数字按键。Among the plurality of number keys, if the user stays on the current number key for a first duration longer than a preset time period, then determine the current number key as a target number key.

在一些实施例中,所述方法还包括:In some embodiments, the method also includes:

在检测到用户对所述数字按键的触控指令时,对所述数字按键进行语音播报。When a user's touch instruction on the number keys is detected, a voice broadcast is performed on the number keys.

在一些实施例中,在所述根据用户对多个所述目标字母的触控选择,生成拼音串,并输出与所述拼音串对应的文字之后,所述方法还包括:In some embodiments, after generating a 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:

对所述拼音串及所述拼音串对应的文字进行语音播报。Voice broadcast is performed on the pinyin string and the text corresponding to the pinyin string.

在一些实施例中,所述文本编辑界面还设有菜单栏,所述菜单栏上的各个菜单选项与所述线性马达的震动频率和/或震动强度对应。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.

第二方面,本申请还提供一种电子设备,所述电子设备包括:In a second aspect, the present application also provides an electronic device, the electronic device comprising:

至少一个处理器,以及at least one processor, and

存储器,所述存储器与所述处理器通信连接,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以实现如上第一方面所述的九宫格键盘输入的方法的步骤。A memory, the memory is connected in communication with the processor, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so as to implement the above first aspect The steps of the method for inputting the Jiugongge keyboard.

第四方面,本申请还提供一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被电子设备执行时,以实现如上第一方面所述的九宫格键盘输入的方法的步骤。In a fourth aspect, the present application also provides a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by an electronic device, to achieve the above The steps of the method for Jiugongge keyboard input described in the first aspect.

本申请实施例的有益效果:区别于现有技术的情况,本申请实施例提供的九宫格键盘输入的方法、装置、电子设备及存储介质,电子设备的文本编辑界面设有九宫格输入法键盘,便于用户对拼音音节的键入,以拼写汉字,九宫格输入模式具有舒适大方的拇指按键,分别为1-9的数字按键,且数字按键2-9上分别设有多个对应的字母,多个对应的字母组成26个字母表。针对视障用户,用户在打字的时候,在九宫格输入法键盘上,在多个数字按键中,根据用户在数字按键的第一停留时长确定目标数字按键,从而确定用户想要选择的字母范围;基于用户在所述目标数字按键上的第二停留时长,按照预设震动规则控制线性马达震动,使得用户能够感知到不同数字按键上不同字母的区别;根据所述线性马达的震动次数确定所述目标数字按键上对应的一个目标字母,获得用户希望键入的目标字母;根据用户对多个所述目标字母的触控选择,生成拼音串,并输出与所述拼音串对应的文字。通过线性马达的震动,能够以差异化的触觉反馈方式反馈给视障用户,使得视障用户可以使用触碰软体的九宫格输入模式,能够像普通用户一样精准、高效的键入准确拼音音节,降低候选词的范围和难度。Beneficial effects of the embodiment of the present application: different from the situation of the prior art, the method, device, electronic equipment and storage medium of the Jiugongge keyboard input provided by the embodiment of the present application, the text editing interface of the electronic equipment is provided with the Jiugongge input method keyboard, which is convenient The user types the pinyin syllables to spell Chinese characters. The Jiugongge input mode has comfortable and generous thumb buttons, which are respectively 1-9 number buttons, and the number buttons 2-9 are respectively equipped with multiple corresponding letters and multiple corresponding The letters make up the 26 alphabet. For visually impaired users, when the user is typing, on the Jiugongge input method keyboard, among the multiple number keys, the target number key is determined according to the first stay time of the user on the number key, so as to determine the range of letters that the user wants to select; Based on the second dwell time of the user on the target number keys, the vibration of the linear motor is controlled according to a preset vibration rule, so that the user can perceive the difference between different letters on different number keys; A target letter corresponding to the target number key is obtained to obtain the target letter that the user wishes to input; 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 fed back to visually impaired users in a differentiated tactile feedback mode, so that visually impaired users can use the Jiugongge input mode of the touch software, and can input accurate pinyin syllables as accurately and efficiently as ordinary users, reducing candidates Word range and difficulty.

附图说明Description of drawings

一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute a limitation to the embodiments. Elements with the same reference numerals in the drawings represent similar elements. Unless otherwise stated, the drawings in the drawings are not limited to scale.

图1是本申请电子设备的文本编辑界面的示意图;Fig. 1 is a schematic diagram of the text editing interface of the electronic device of the present application;

图2是本申请九宫格键盘输入的方法的一个实施例的流程示意图;Fig. 2 is the schematic flow chart of an embodiment of the method for inputting the Jiugongge keyboard of the present application;

图3是本申请九宫格键盘输入的装置的一个实施例的结构示意图;Fig. 3 is the structural representation of an embodiment of the device of the present application Jiugongge keyboard input;

图4是本申请电子设备的一个实施例中控制器的硬件结构示意图。Fig. 4 is a schematic diagram of a hardware structure of a controller in an embodiment of the electronic device of the present application.

具体实施方式detailed description

下面结合具体实施例对本申请进行详细说明。以下实施例将有助于本领域的技术人员进一步理解本申请,但不以任何形式限制本申请。应当指出的是,对本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进。这些都属于本申请的保护范围。The present application will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present application, but do not limit the present application in any form. 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 belong to the protection scope of this application.

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

需要说明的是,如果不冲突,本申请实施例中的各个特征可以相互结合,均在本申请的保护范围之内。另外,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。此外,本文所采用的“第一”、“第二”、“第三”等字样并不对数据和执行次序进行限定,仅是对功能和作用基本相同的相同项或相似项进行区分。It should be noted that, if there is no conflict, various features in the embodiments of the present application may be combined with each other, and all of them are within the protection scope of the present application. In addition, although the functional modules are divided in the schematic diagram of the device, and the logical order is shown in the flowchart, in some cases, the division of modules in the device or the sequence shown in the flowchart can be performed in different ways. or the steps described. In addition, words such as "first", "second", and "third" used in this article do not limit the data and execution order, but only distinguish the same or similar items with basically the same function and effect.

除非另有定义,本说明书所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本说明书中在本申请的说明书中所使用的术语只是为了描述具体的实施方式的目的,不是用于限制本申请。本说明书所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。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 technical field of this application. The terminology used in the description of the present application is only for the purpose of describing a specific embodiment, and is not used to limit the present application. The term "and/or" used in this specification includes any and all combinations of one or more of the associated listed items.

此外,下面所描述的本申请各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In addition, the technical features involved in the various embodiments of the present application described below may be combined with each other as long as they do not constitute a conflict with each other.

本申请实施例提供的九宫格键盘输入的方法和装置可以应用于电子设备,本申请的电子设备可以是智能手机、平板等带有触摸屏的设备,用户可以在电子设备的屏幕上打字,打字的时候,可以调出电子设备的文本编辑界面,文本编辑界面在调出九宫格输入法键盘后如图1所示,包括九宫格输入法键盘、菜单栏等。The Jiugongge keyboard input method and device provided in the embodiment of the present application can be applied to electronic equipment. The electronic equipment of the present application can be a device with a touch screen such as a smart phone or a tablet. The user can type on the screen of the electronic device. , the text editing interface of the electronic device can be called out, and the text editing interface is shown in Figure 1 after calling out the Jiugongge input method keyboard, including the Jiugongge input method keyboard, a menu bar, and the like.

如图1所示,九宫格输入法键盘上设有1-9的数字按键,并且,数字按键2-9上分别设有多个对应的字母,多个对应的字母组成26个字母表。具体地,数字按键1对应分词符号,数字按键2对应字母ABC,数字按键3对应字母DEF,数字按键4对应字母GHI,数字按键5对应字母JKL,数字按键6对应字母MNO,数字按键7对应字母PQRS,数字按键8对应字母TUV,数字按键9对应字母WXYZ,从而涵盖了汉语拼音A-Z的26个字母表。As shown in FIG. 1 , the Jiugongge input method keyboard is provided with number keys 1-9, and the number keys 2-9 are respectively provided with a plurality of corresponding letters, and the plurality of corresponding letters form 26 alphabets. Specifically, the number button 1 corresponds to the participle symbol, the number button 2 corresponds to the letter ABC, the number button 3 corresponds to the letter DEF, the number button 4 corresponds to the letter GHI, the number button 5 corresponds to the letter JKL, the number button 6 corresponds to the letter MNO, and the number button 7 corresponds to the letter PQRS, the number key 8 corresponds to the letter TUV, and the number key 9 corresponds to the letter WXYZ, thus covering the 26 alphabets of Chinese Pinyin A-Z.

由于现有的智能手机基本都采用触摸屏形式,没有以往按键手机的实体按键,即没有实体的1-9的数字按键,从而不能保留实体按键上的便于视障用户分辨的凸起表面。并且,如果视障用户在使用拼音26键键盘时,由于键盘上的字母按键过多,导致字母与字母之间的间隔过小,视障用户寻找字母较慢,容易误触,不便于视障用户操作。因此,九宫格输入法键盘仅有9个数字按键及数字按键对应的字母,操作界面友好,便于视障用户触摸对应的数字按键,以选择想要的字母。Since the existing smart phones basically adopt the touch screen form, there is no physical button of the previous button mobile phone, that is, there is no physical number button 1-9, so the raised surface on the physical button that is convenient for visually impaired users to distinguish cannot be retained. Moreover, if a visually impaired user is using a pinyin 26-key keyboard, because there are too many letter keys on the keyboard, the interval between letters is too small, and the visually impaired user is slow to find a letter, and it is easy to touch it by mistake, which is not convenient for the visually impaired user action. Therefore, the Jiugongge input method keyboard has only 9 number keys and letters corresponding to the number keys, and has a friendly operation interface, which is convenient for visually impaired users to touch the corresponding number keys to select desired letters.

为了让视障用户在数字按键上找到想要的字母,电子设备中内置有线性马达,设置数字按键上不同的字母对应不同的震动次数,从而让视障用户感知到不同字母的区别。并且,电子设备安装有屏幕阅读器应用程序,视障用户在电子设备中开启屏幕阅读器应用程序后,利用屏幕阅读器对电子设备的显示屏显示的信息进行浏览及操作。In order to allow visually impaired users to find the letters they want on the number keys, a linear motor is built into the electronic device, and different letters on the number keys are set to correspond to different vibration times, so that visually impaired users can perceive the difference between different letters. Moreover, the electronic device is installed with a screen reader application program, and after the visually impaired user starts the screen reader application program in the electronic device, he uses the screen reader to browse and operate the information displayed on the display screen of the electronic device.

请参见图2,图2为应用于本申请的九宫格键盘输入的方法的实施例的流程示意图,所述方法可以由电子设备100中的控制器执行,该方法包括步骤S201-步骤S204。Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of an embodiment of a method for inputting a Jiugongge keyboard applied to the present application. The method can be executed by the controller in the electronic device 100 , and the method includes steps S201 - S204 .

S201:在多个所述数字按键中,根据用户在所述数字按键的第一停留时长确定目标数字按键。S201: Among the plurality of number keys, determine a target number key according to a first dwell time of the user on the number keys.

视障用户在使用九宫格输入法键盘的时候,首先在电子设备中开启屏幕阅读器应用程序。当用户将九宫格输入法键盘调出时,屏幕阅读器进行语音播报,提示用户当前输入法为九宫格输入法。并且,电子设备在检测到用户对所述数字按键的触控指令时,对所述数字按键进行语音播报,从而使得用户得知自己触碰了哪个数字按键,用户可以根据不同的数字按键,得到对应不同的数字按键对应的字母,比如,触碰到数字按键9,则用户获得数字按键9对应的字母为WXYZ。When visually impaired users use the Jiugongge input method keyboard, they first start the screen reader application in the electronic device. When the user calls out the Jiugongge input method keyboard, the screen reader will make a voice broadcast, prompting the user that the current input method is the Jiugongge input method. In addition, when the electronic device detects the user's touch command to the number key, it performs voice broadcast on the number key, so that the user can know which number key he has touched, and the user can obtain according to different number keys. Corresponding to letters corresponding to different number buttons, for example, when the number button 9 is touched, the user obtains the letter corresponding to number button 9 as WXYZ.

视障用户在九宫格输入法键盘上进行操作,在多个数字按键中,电子设备根据用户在所述数字按键的第一停留时长确定目标数字按键,可以包括:The visually impaired user operates on the Jiugongge input method keyboard. Among the multiple number keys, the electronic device determines the target number keys according to the first dwell time of the user on the number keys, which may include:

在多个所述数字按键中,如果用户在当前数字按键的第一停留时长大于预设时长,则将所述当前数字按键确定为目标数字按键。Among the plurality of number keys, if the user stays on the current number key for a first duration longer than a preset time period, then determine the current number key as a target number key.

具体地,在多个数字按键中,如果电子设备检测到用户在某个数字按键的第一停留时长大于预设时长,则电子设备认为用户想要选择该数字按键上的字母。预设时长可以为0.5s,比如,用户的手指在数字按键2上的第一停留时长大于0.5s,则确定用户想要选择数字按键2上的字母。Specifically, among multiple number keys, if the electronic device detects that the user stays on a certain number key for a first duration longer than a preset time period, the electronic device considers that the user wants to select a letter on the number key. The preset duration may be 0.5s. For example, if the user's finger stays on the number button 2 for a first time longer than 0.5s, it is determined that the user wants to select a letter on the number button 2 .

在一些实施例中,为了让视障用户知道自己的手指处于数字按键上,在用户触控到数字按键的时候,屏幕阅读器对数字按键进行语音播报,读出数字按键对应的数字,如用户手指处于数字按键2时,屏幕阅读器播放数字按键2。In some embodiments, in order to let the visually impaired user know that his finger is on the number key, when the user touches the number key, the screen reader performs voice broadcast on the number key and reads out the number corresponding to the number key, such as the user When the finger is on the number key 2, the screen reader plays the number key 2.

用户在得知自己的手指处于某个数字按键上时,可以做一些扫动的手势,移动到下个数字按键,每触碰到一个数字按键时,屏幕阅读器进行语音播报。When the user knows that his finger is on a number key, he can make some swipe gestures to move to the next number key, and the screen reader will make a voice announcement every time a number key is touched.

在用户想要在文本编辑界面打出某个汉字或词组的时候,用户需要确定该汉字或词组的拼音,例如,用户希望打出“你”,那么,对应的拼音为“ni”。此时,用户需要找到数字按键6,且用户在听到屏幕阅读器语音播报数字按键6的时候,手指在数字按键6上停留一段时间,为第一停留时长,如果第一停留时长大于预设时长0.5s时,电子设备认为用户想要键入数字按键6的字母,以组成自己想要的拼音串,此时,电子设备将数字按键6确定为目标数字按键。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 wants to type "you", then the corresponding pinyin is "ni". At this time, the user needs to find the number button 6, and when the user hears the voice broadcast of the number button 6 by the screen reader, the user stays on the number button 6 for a period of time, which is the first stay time. If the first stay time is longer than the preset When the duration is 0.5s, the electronic device thinks that the user wants to key in the letter of the number key 6 to form the desired pinyin string. At this time, the electronic device determines the number key 6 as the target number key.

在用户想要使用九宫格输入法键盘输入汉字时,通过在数字按键中根据用户在数字按键的第一停留时长确定目标数字按键,使得电子设备可以初步确定用户想要选择的字母范围。When the user wants to use the Jiugongge input method keyboard to input Chinese characters, the electronic device can preliminarily determine the range of letters that the user wants to select by determining the target number key according to the first dwell time of the user on the number key.

S202:基于用户在所述目标数字按键上的第二停留时长,按照预设震动规则控制线性马达震动。S202: Control the vibration of the linear motor according to a preset vibration rule based on the second dwell time of the user on the target number key.

S203:根据所述线性马达的震动次数确定所述目标数字按键上对应的一个目标字母。S203: Determine a target letter corresponding to the target number key according to the vibration times of the linear motor.

电子设备在确定目标数字按键后,继续计算用户在目标数字按键上的第二停留时长,并且,按照预设震动规则控制线性马达震动。After the electronic device determines the target number key, it continues to calculate the second dwell time of the user on the target number key, and controls the vibration of the linear motor according to the preset vibration rule.

具体地,预设震动规则为:第二停留时长越长,震动次数越多,对应的目标数字按键上字母会越靠后,即,第二停留时长及所述震动次数按照所述目标数字按键上的字母排列顺序对应增加。Specifically, the preset vibration rule is: the longer the second dwell time, the more the number of vibrations, the further the letter on the corresponding target number key will be, that is, the second dwell time and the number of vibrations are set according to the number of vibrations on the target number key. The alphabetical order above corresponds to increasing.

在一些实施方式中,所述根据所述线性马达的震动次数确定所述目标数字按键上对应的一个目标字母,包括:In some embodiments, the determining a corresponding target letter on the target number key according to the vibration times of the linear motor includes:

计算所述震动次数;calculating the number of vibrations;

在所述字母排列顺序中确定与所述震动次数对应的目标字母。A target letter corresponding to the number of vibrations is determined in the alphabetical sequence.

具体地,电子设备可以计算震动次数,然后在字母排列顺序中确定与震动次数对应的目标字母。Specifically, the electronic device may count the number of vibrations, and then determine the target letter corresponding to the number of vibrations in the alphabetical sequence.

如果目标数字按键是2/3/4/5/6/8中的任一个数字按键,由于上述数字按键分别只有三个不同的字母,则对应的震动次数可以为1次、2次、3次,且震动间隔时间为0.5s;如果目标数字按键是7/9中的任一个数字按键,由于该数字按键有4个不同的字母,则对应的震动次数可以为1次、2次、3次、4次。If the target number key is any one of 2/3/4/5/6/8, since the above number keys have only three different letters, the corresponding number of vibrations can be 1 time, 2 times, or 3 times , and the vibration interval is 0.5s; if the target number key is any number key in 7/9, since the number key has 4 different letters, the corresponding vibration times can be 1 time, 2 times, or 3 times , 4 times.

例如,数字按键2对应的字母排列顺序为A→B→C,用户在目标数字按键2的第二停留时长增加,如果用户手指不松开,则会在目标数字按键2上震动三次,每次间隔时间为0.5s,且第一次震动时,对应的目标字母为A,第二次震动时,对应的目标字母为B,第三次震动时,对应的目标字母为C,用户可以在心里默数震动次数,当用户希望选择某一个目标字母时,如,希望选择字母A,那么在目标数字按键2上,感应到第一次震动的时候松手,此时,可以确定目标字母为A。For example, the sequence of letters corresponding to the number button 2 is A→B→C, and the user's second stay time on the target number button 2 increases. If the user does not release his finger, the target number button 2 will vibrate three times. The interval time is 0.5s, and the first vibration, the corresponding target letter is A, the second vibration, the corresponding target letter is B, the third vibration, the corresponding target letter is C, the user can Count the number of vibrations silently. When the user wants to select a target letter, such as the letter A, then let go when the first vibration is sensed on the target number key 2. At this time, the target letter can be determined to be A.

对应地,在确定目标字母A时,屏幕阅读器进行语音播放,读出字母A,让视障用户得知自己选择了字母A。Correspondingly, when the target letter A is determined, the screen reader plays the voice and reads the letter A, letting the visually impaired user know that he has selected the letter A.

由于线性马达的震动次数与不同的字母对应,使得视障用户能够感知到不同数字按键上不同字母的区别,以便于用户选择自己想要拼写的字母。Since the number of vibrations of the linear motor corresponds to different letters, the visually impaired user can perceive the difference between different letters on different number keys, so that the user can choose the letter he wants to spell.

S204:根据用户对多个所述目标字母的触控选择,生成拼音串,并输出与所述拼音串对应的文字。S204: Generate a pinyin string according to the user's touch selection of a plurality of target letters, and output a text corresponding to the pinyin string.

比如,用户希望打出的拼音串为“cu”,那么,为了打出第一个目标字母“c”,用户先找到数字按键2,当用户的手指在九宫格输入法键盘上扫动时,屏幕阅读器读出手指触碰的数字按键,在用户手指触摸到数字按键2时,屏幕阅读器读出数字按键2,用户得知此时手指落在数字按键2上,此时,用户让手指在数字按键2上停留,达到第一停留时长,电子设备将数字按键2确定为目标数字按键,然后,用户的手指继续保持停留在数字按键2的目标数字按键上,电子设备继续计算用户在数字按键2上的第二停留时长,且按照预设震动规则控制线性马达震动,当第二停留时长为0.5s时,线性马达第一次震动,那么此时对应的字母为A,用户在心里默数震动次数为一次,而字母A不是用户的目标字母,因此,第二停留时长会增加,增加至1s时,线性马达第二次震动,此时对应字母为B,用户在心里默数震动次数为两次,同样地,字母B不是用户的目标字母,因此,第二停留时长继续增加,增加至1.5s时,线性马达第三次震动,此时对应字母为C,用户在心里默数震动次数为三次,而字母C是用户的目标字母,此时,用户松手,从而确定了目标字母为字母C,完成对第一个目标字母的触控选择,并且,屏幕阅读器会语音播报“C”。For example, the pinyin string that the user wants to type is "cu", then, in order to type the first target letter "c", the user first finds the number key 2, and when the user's finger swipes on the Jiugongge input method keyboard, the screen reader Read out the number button touched by the finger. When the user's finger touches the number button 2, the screen reader reads out the number button 2. The user knows that the finger is on the number button 2 at this time. 2, when the first stay time is reached, the electronic device determines the number key 2 as the target number key, and then, the user's finger continues to stay on the target number key of the number key 2, and the electronic device continues to calculate the user's number on the number key 2. The second dwell time, and the vibration of the linear motor is controlled according to the preset vibration rules. When the second dwell time is 0.5s, the linear motor vibrates for the first time, then the corresponding letter at this time is A, and the user silently counts the number of vibrations One time, but the letter A is not the user's target letter, so the second stay time will increase. When it increases to 1s, the linear motor vibrates for the second time. At this time, the corresponding letter is B, and the user silently counts the number of vibrations twice. , similarly, the letter B is not the user's target letter, therefore, the second dwell time continues to increase, and when it reaches 1.5s, the linear motor vibrates for the third time, and the corresponding letter is C at this time, and the user silently counts the number of vibrations as three times , and the letter C is the user's target letter. At this time, the user lets go, thereby confirming that the target letter is the letter C, completing the touch selection of the first target letter, and the screen reader will announce "C" by voice.

同理,用户打出“U”,电子设备将多个目标字母“C”和“U”组合,生成拼音串“cu”,并且,输出与拼音串对应的文字。Similarly, when the user types "U", the electronic device combines multiple target letters "C" and "U" to generate a pinyin string "cu", and outputs the text corresponding to the pinyin string.

在其中一些实施方式中,在所述根据用户对多个所述目标字母的触控选择,生成拼音串,并输出与所述拼音串对应的文字之后,所述方法还包括:In some implementations, after generating a 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:

对所述拼音串及所述拼音串对应的文字进行语音播报。Voice broadcast is performed on the pinyin string and the text corresponding to the pinyin string.

具体地,为了让视障用户知道电子设备获得的拼音串,通过屏幕阅读器对所述拼音串及所述拼音串对应的文字进行语音播报,例如,对拼音串“cu”以及对应的文字“粗”、“醋”、“簇”等依次播报,用户可以选择自己想要的文字。Specifically, in order to let the visually impaired user know the pinyin string obtained by the electronic device, the screen reader is used to broadcast the pinyin string and the text corresponding to the pinyin string, for example, the pinyin string "cu" and the corresponding text " "Coarse", "Vinegar", "Cluster" and so on are broadcast in sequence, and users can choose the text they want.

本申请的实施例,电子设备的文本编辑界面设有九宫格输入法键盘,便于用户对拼音音节的键入,以拼写汉字,九宫格输入模式具有舒适大方的拇指按键,分别为1-9的数字按键,且数字按键2-9上分别设有多个对应的字母,多个对应的字母组成26个字母表。针对视障用户,用户在打字的时候,在九宫格输入法键盘上,在多个数字按键中,根据用户在数字按键的第一停留时长确定目标数字按键,从而确定用户想要选择的字母范围;基于用户在所述目标数字按键上的第二停留时长,按照预设震动规则控制线性马达震动,使得用户能够感知到不同数字按键上不同字母的区别;根据所述线性马达的震动次数确定所述目标数字按键上对应的一个目标字母,获得用户希望键入的目标字母;根据用户对多个所述目标字母的触控选择,生成拼音串,并输出与所述拼音串对应的文字。通过线性马达的震动,能够以差异化的触觉反馈方式反馈给视障用户,使得视障用户可以使用触碰软体的九宫格输入模式,能够像普通用户一样精准、高效的键入准确拼音音节,降低候选词的范围和难度。In the embodiment of the present application, the text editing interface of the electronic device is equipped with a Jiugongge input method keyboard, which is convenient for users to type in pinyin syllables to spell Chinese characters. The Jiugongge input mode has comfortable and generous thumb buttons, which are respectively 1-9 number buttons, And the number keys 2-9 are respectively provided with a plurality of corresponding letters, and the plurality of corresponding letters form 26 alphabets. For visually impaired users, when the user is typing, on the Jiugongge input method keyboard, among the multiple number keys, the target number key is determined according to the first stay time of the user on the number key, so as to determine the range of letters that the user wants to select; Based on the second dwell time of the user on the target number keys, the vibration of the linear motor is controlled according to a preset vibration rule, so that the user can perceive the difference between different letters on different number keys; A target letter corresponding to the target number key is obtained to obtain the target letter that the user wishes to input; 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 fed back to visually impaired users in a differentiated tactile feedback mode, so that visually impaired users can use the Jiugongge input mode of the touch software, and can input accurate pinyin syllables as accurately and efficiently as ordinary users, reducing candidates Word range and difficulty.

在其中一些实施方式中,所述文本编辑界面还设有菜单栏,所述菜单栏上的各个菜单选项与所述线性马达的震动频率和/或震动强度对应。In some implementations, 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.

如图1所示,电子设备的文本边界框界面还设有菜单栏,菜单栏上设有多个菜单选项,比如,表情包选项、搜索选项等等,不同的菜单选项可以与线性马达的震动频率和/或震动强度对应,例如,用户手指触碰到表情包选项时,线性马达高强度且高频率震动,用户手指触碰到搜索选项时,线性马达低强度且低频率震动,以便于让用户区分菜单栏上的各个菜单选项,且用户在触碰到各个菜单选项时,还可以通过屏幕阅读器对菜单选项进行语音播报。通过线性马达的震动,给用户触觉反馈,以实现屏幕阅读器以外的更及时的信息反馈方式。As shown in Figure 1, the text bounding box interface of the electronic device is also equipped with a menu bar, and there are multiple menu options on the menu bar, such as emoticon package options, search options, etc. Different menu options can be combined with the vibration of the linear motor Frequency and/or vibration intensity correspondence, for example, when the user's finger touches the emoticon package option, the linear motor vibrates with high intensity and high frequency, and when the user's finger touches the search option, the linear motor vibrates with low intensity and low frequency, so as to allow The user distinguishes each menu option on the menu bar, and when the user touches each menu option, the menu option can also be spoken through a screen reader. Through the vibration of the linear motor, tactile feedback is given to the user, so as to realize a more timely information feedback method other than the screen reader.

本申请实施例还提供了一种九宫格键盘输入的装置,请参阅图3,其示出了本申请实施例提供的一种九宫格键盘输入的装置的结构,该九宫格键盘输入的装置300包括:The embodiment of the present application also provides a nine-square keyboard input device, please refer to Figure 3, which shows the structure of a nine-square keyboard input device provided by the embodiment of the present application, the nine-square keyboard input device 300 includes:

目标数字按键确定模块301,用于在多个所述数字按键中,根据用户在所述数字按键的第一停留时长确定目标数字按键;A target number key determining module 301, configured to determine the target number key according to the first dwell time of the user on the number key among the plurality of number keys;

震动模块302,用于基于用户在所述目标数字按键上的第二停留时长,按照预设震动规则控制线性马达震动;A vibration module 302, configured to control the vibration of the linear motor according to a preset vibration rule based on the second dwell time of the user on the target number key;

目标字母确定模块303,用于根据所述线性马达的震动次数确定所述目标数字按键上对应的一个目标字母;A target letter determination module 303, configured to determine a corresponding target letter on the target number key according to the number of vibrations of the linear motor;

拼音串生成模块304,用于根据用户对多个所述目标字母的触控选择,生成拼音串,并输出与所述拼音串对应的文字。The pinyin string generating module 304 is configured to generate a pinyin string according to the user's touch selection of a plurality of the target letters, and output the text corresponding to the pinyin string.

本申请的实施例,用户在数字按键的第一停留时长确定目标数字按键,从而确定用户想要选择的字母范围;基于用户在所述目标数字按键上的第二停留时长,按照预设震动规则控制线性马达震动,使得用户能够感知到不同数字按键上不同字母的区别;根据所述线性马达的震动次数确定所述目标数字按键上对应的一个目标字母,获得用户希望键入的目标字母;根据用户对多个所述目标字母的触控选择,生成拼音串,并输出与所述拼音串对应的文字。通过线性马达的震动,能够以差异化的触觉反馈方式反馈给视障用户,使得视障用户可以使用触碰软体的九宫格输入模式,能够像普通用户一样精准、高效的键入准确拼音音节,降低候选词的范围和难度。In the embodiment of the present application, the user determines the target number key during the first stay on the number key, thereby determining the letter range that the user wants to select; based on the second stay time of the user on the target number key, according to the preset vibration rule Control the vibration of the linear motor so that the user can perceive the difference between different letters on different number keys; determine a corresponding target letter on the target number key according to the number of vibrations of the linear motor, and obtain the target letter that the user wants to type; A pinyin string is generated by touching and selecting a plurality of target letters, and a text corresponding to the pinyin string is output. Through the vibration of the linear motor, it can be fed back to visually impaired users in a differentiated tactile feedback mode, so that visually impaired users can use the Jiugongge input mode of the touch software, and can input accurate pinyin syllables as accurately and efficiently as ordinary users, reducing candidates Word range and difficulty.

在一些实施例中,所述第二停留时长及所述震动次数按照所述目标数字按键上的字母排列顺序对应增加。In some embodiments, the second dwell time and the number of vibrations increase correspondingly according to the alphabetical sequence on the target number keys.

在一些实施例中,目标字母确定模块303,用于:In some embodiments, the target letter determination module 303 is used for:

计算所述震动次数;calculating the number of vibrations;

在所述字母排列顺序中确定与所述震动次数对应的目标字母。A target letter corresponding to the number of vibrations is determined in the alphabetical sequence.

在一些实施例中,目标数字按键确定模块301,还用于:In some embodiments, the target number key determining module 301 is also used for:

在多个所述数字按键中,如果用户在当前数字按键的第一停留时长大于预设时长,则将所述当前数字按键确定为目标数字按键。Among the plurality of number keys, if the user stays on the current number key for a first duration longer than a preset time period, then determine the current number key as a target number key.

在一些实施例中,装置300还包括第一播报模块305,用于:In some embodiments, the device 300 further includes a first broadcast module 305, configured to:

在检测到用户对所述数字按键的触控指令时,对所述数字按键进行语音播报。When a user's touch instruction on the number keys is detected, a voice broadcast is performed on the number keys.

在一些实施例中,装置300还包括第二播报模块306,用于:In some embodiments, the device 300 further includes a second broadcast module 306, configured to:

对所述拼音串及所述拼音串对应的文字进行语音播报。Voice broadcast is performed on the pinyin string and the text corresponding to the pinyin string.

在一些实施例中,所述文本编辑界面还设有菜单栏,所述菜单栏上的各个菜单选项与所述线性马达的震动频率和/或震动强度对应。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.

需要说明的是,上述装置可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在装置实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。It should be noted that the above-mentioned device can execute the method provided by the embodiment of the present application, and has corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the device embodiments, refer to the methods provided in the embodiments of the present application.

图4为电子设备的一个实施例中电子设备100的控制器的硬件结构示意图,如图4所示,控制器包括:FIG. 4 is a schematic diagram of the hardware structure of the controller of the electronic device 100 in an embodiment of the electronic device. As shown in FIG. 4, the controller includes:

一个或多个处理器111、存储器112。图4中以一个处理器111、一个存储器112为例。One or more processors 111 , memory 112 . In FIG. 4 , one processor 111 and one memory 112 are taken as an example.

处理器111、存储器112可以通过总线或者其他方式连接,图4中以通过总线连接为例。The processor 111 and the memory 112 may be connected through a bus or in other ways, and connection through a bus is taken as an example in FIG. 4 .

存储器112作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的九宫格键盘输入的方法对应的程序指令/模块(例如,附图3所示的目标数字按键确定模块301、震动模块302、目标字母确定模块303、拼音串生成模块304、第一播报模块305、第二播报模块306)。处理器111通过运行存储在存储器112中的非易失性软件程序、指令以及模块,从而执行控制器的各种功能应用以及数据处理,即实现上述方法实施例的九宫格键盘输入的方法。The 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 method corresponding to the Jiugongge keyboard input method in the embodiment of the present application Program instructions/modules (for example, the target numeral button determination module 301 shown in accompanying drawing 3, vibration module 302, target letter determination module 303, pinyin string generation module 304, the first broadcast module 305, the second broadcast module 306). The processor 111 executes various functional applications and data processing of the controller by running the non-volatile software programs, instructions and modules stored in the memory 112, that is, realizes the nine-square-grid keyboard input method in the above method embodiment.

存储器112可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据人员进出检测装置的使用所创建的数据等。此外,存储器112可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器112可选包括相对于处理器111远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 112 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required by a function; the data storage area may store data created according to the use of the personnel entry and exit detection device, and the like. In addition, the memory 112 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 112 may optionally include a memory that is remotely located relative to the processor 111, and these remote memories may be connected to the electronic device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

所述一个或者多个模块存储在所述存储器112中,当被所述一个或者多个处理器111执行时,执行上述任意方法实施例中的九宫格键盘输入的方法,例如,执行以上描述的图2中的方法步骤S201至步骤S204;实现图3中的模块301-306的功能。The one or more modules are stored in the memory 112, and when executed by the one or more processors 111, execute the method for inputting the Jiugongge keyboard in any of the above method embodiments, for example, execute the above-described diagram Step S201 to step S204 of the method in 2; realize the functions of modules 301-306 in FIG. 3 .

上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above-mentioned products can execute the method provided by the embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in this embodiment, refer to the method provided in the embodiment of this application.

本申请实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图4中的一个处理器111,可使得上述一个或多个处理器可执行上述任意方法实施例中的九宫格键盘输入的方法,例如,执行以上描述的图2中的方法步骤S201至步骤S204;实现图3中的模块301-306的功能。An embodiment of the present application provides a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, for example, in FIG. 4 A processor 111 can make the above-mentioned one or more processors can execute the method of Jiugongge keyboard input in any of the above-mentioned method embodiments, for example, execute the method step S201 to step S204 in Fig. 2 described above; realize Fig. 3 The functions of the modules 301-306 in.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

通过以上的实施例的描述,本领域普通技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course also by hardware. Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing related hardware through computer programs, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; under the idea of the present invention, the technical features in the above embodiments or different embodiments can also be combined, The steps may be performed in any order, and there are many other variations of the different aspects of the invention as described above, which have not been presented in detail for the sake of brevity; although the invention has been described in detail with reference to the preceding examples, those of ordinary skill in the art The skilled person should understand that it is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the various implementations of the present invention. The scope of technical solutions.

Claims (10)

1. A Sudoku keyboard input method is characterized by being applied to electronic equipment, wherein a text editing interface of the electronic equipment is provided with a Sudoku input method keyboard, the Sudoku input method keyboard is provided with 1-9 digital keys, the digital keys 2-9 are respectively provided with a plurality of corresponding letters, and the plurality of corresponding letters form a 26-letter table; the method comprises the following steps:
determining a target number key according to a first stay time of a user in the number keys;
controlling the linear motor to vibrate according to a preset vibration rule based on a second stay time of the user on the target digital key;
determining a corresponding target letter on the target number key according to the vibration times of the linear motor;
and generating a pinyin string according to the touch selection of the user on the target letters, and outputting characters corresponding to the pinyin string.
2. The method of claim 1, wherein the second dwell time and the number of shocks are increased in correspondence with the alphabetical order of the target numeric key.
3. The method of claim 2, wherein said determining a corresponding target letter on said target numeric key based on a number of vibrations of said linear motor comprises:
calculating the vibration times;
and determining a target letter corresponding to the vibration times in the letter arrangement sequence.
4. The method of claim 1, wherein determining a target number key among the number keys based on a first dwell time of a user at the number key comprises:
and in the plurality of the number keys, if the first stay time of the user at the current number key is longer than the preset time, determining the current number key as a target number key.
5. The method of claim 1, further comprising:
and when a touch instruction of a user to the digital key is detected, voice broadcasting is carried out on the digital key.
6. The method of claim 1, wherein after generating a pinyin string and outputting text corresponding to the pinyin string in accordance with a user touch selection of a plurality of the target letters, the method further comprises:
and carrying out voice broadcast on the pinyin string and the characters corresponding to the pinyin string.
7. The method of claim 1, wherein the text editing interface is further provided with a menu bar, and each menu option on the menu bar corresponds to a vibration frequency and/or a vibration intensity of the linear motor.
8. A Sudoku keyboard input device is characterized by being applied to electronic equipment, wherein a text editing interface of the electronic equipment is provided with a Sudoku input method keyboard, the Sudoku input method keyboard is provided with 1-9 numeric keys, and 2-9 numeric keys are respectively provided with a plurality of corresponding letters, and the plurality of corresponding letters form a 26-letter table; the device comprises:
the target digital key determining module is used for determining a target digital key according to the first stay time of a user in the digital keys in the plurality of digital keys;
the vibration module is used for controlling the linear motor to vibrate according to a preset vibration rule based on a second stay time of the user on the target digital key;
the target letter determining module is used for determining a corresponding target letter on the target number key according to the vibration times of the linear motor;
and the pinyin string generating module is used for generating a pinyin string according to the touch selection of the user on the target letters and outputting characters corresponding to the pinyin string.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor, and
a memory communicatively connected to the processor, the memory storing instructions executable by the at least one processor to perform the steps of the method of any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions for performing the steps of the method of any one of claims 1 to 7 when executed by an electronic device.
CN202211282730.6A 2022-10-19 2022-10-19 Sudoku keyboard input method and device, electronic equipment and storage medium Pending CN115480691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211282730.6A CN115480691A (en) 2022-10-19 2022-10-19 Sudoku keyboard input method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211282730.6A CN115480691A (en) 2022-10-19 2022-10-19 Sudoku keyboard input method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115480691A true CN115480691A (en) 2022-12-16

Family

ID=84395128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211282730.6A Pending CN115480691A (en) 2022-10-19 2022-10-19 Sudoku keyboard input method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115480691A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231553A (en) * 2001-11-01 2008-07-30 伊梅森公司 Method and apparatus for providing tactile feedback sensations
CN106843695A (en) * 2017-02-14 2017-06-13 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN112000273A (en) * 2020-08-26 2020-11-27 深圳前海微众银行股份有限公司 Input method, device, equipment and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231553A (en) * 2001-11-01 2008-07-30 伊梅森公司 Method and apparatus for providing tactile feedback sensations
CN106843695A (en) * 2017-02-14 2017-06-13 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN112000273A (en) * 2020-08-26 2020-11-27 深圳前海微众银行股份有限公司 Input method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US9134810B2 (en) Next letter prediction for virtual keyboard
US9201510B2 (en) Method and device having touchscreen keyboard with visual cues
Komninos et al. Text input on a smart watch
US20130271385A1 (en) Method of Changing Input States
US20130285927A1 (en) Touchscreen keyboard with correction of previously input text
US9703418B2 (en) Mobile terminal and display control method
CA2812457C (en) Method and device having touchscreen keyboard with visual cues
EP2653955B1 (en) Method and device having touchscreen keyboard with visual cues
EP2660699A1 (en) Touchscreen keyboard with correction of previously input text
US20110296347A1 (en) Text entry techniques
CN1890949B (en) Apparatus and method for inputting characters and numbers to display of mobile communication terminal
WO2013163718A1 (en) Touchscreen keyboard with correction of previously input text
EP2529287B1 (en) Method and device for facilitating text editing and related computer program product and computer readable medium
WO2010089918A1 (en) Electronic device and electronic device program
CN103455165B (en) Touchscreen keyboard with corrective word prediction
US20160092104A1 (en) Methods, systems and devices for interacting with a computing device
KR101454523B1 (en) Method and device for character entry
KR20110003130A (en) Character input method of mobile communication terminal
KR20140139702A (en) Method and apparatus for correcting text
CN115480691A (en) Sudoku keyboard input method and device, electronic equipment and storage medium
CN103123572A (en) Character input method and electronic device
CN106886297A (en) Input method optimization method, device and mobile terminal
JP7036862B2 (en) Electronics, control methods, and programs
JP6925789B2 (en) Electronics, control methods, and programs
KR102199974B1 (en) Method and Apparatus for Inputting Korean Characters

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