WO2017166774A1 - 一种防止误输入的方法、装置、电子设备及智能终端 - Google Patents
一种防止误输入的方法、装置、电子设备及智能终端 Download PDFInfo
- Publication number
- WO2017166774A1 WO2017166774A1 PCT/CN2016/101875 CN2016101875W WO2017166774A1 WO 2017166774 A1 WO2017166774 A1 WO 2017166774A1 CN 2016101875 W CN2016101875 W CN 2016101875W WO 2017166774 A1 WO2017166774 A1 WO 2017166774A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- button
- input
- selection range
- spelling
- letter
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
Definitions
- the present application relates to the field of human-computer interaction technologies, and in particular, to a method, an apparatus, an electronic device, and an intelligent terminal for preventing erroneous input.
- each word in the phonetic alphabet contains more than one letter, it is inevitable that there will be a mistaken input such as spelling mistakes during the input process, resulting in an error in the input pinyin text. If the Chinese character input method is used, the Chinese pinyin input method will also be used. The user cannot be able to input the correct Chinese characters because of incorrect input such as spelling mistakes, which causes many troubles for the user.
- the technical problem to be solved by the present application is to overcome the shortcomings of the prior art that the input process is prone to erroneous input such as spelling errors, thereby providing a method for preventing erroneous input that can effectively reduce the probability of occurrence of erroneous input such as spelling errors.
- devices, electronic devices and intelligent terminals are used to provide a method for preventing erroneous input that can effectively reduce the probability of occurrence of erroneous input such as spelling errors.
- the embodiment of the present application provides a method for preventing erroneous input, which is used in a smart terminal, and includes the following steps:
- the step of determining the selection range of the next input letter according to the entered letter and pinyin spelling rules includes:
- the selection range of the next input letter under the condition that the spelling rules of the phonetic alphabet are matched is determined according to the entered letter.
- the embodiment of the present application further provides a device for preventing erroneous input, which is used for a smart terminal, and includes:
- a selection range determining unit configured to determine a selection range of a next input letter according to the entered alphabetic and pinyin text spelling rules
- An effective button determining unit configured to determine an effective button according to the selection range
- a locking unit for locking other keys than the effective button is
- the selection range determining unit includes:
- the input method acquires a subunit for acquiring an input method currently used by the smart terminal
- a spelling rule selection subunit for selecting a pinyin text spelling rule that matches the input method
- the range determining subunit is configured to determine, according to the entered letter, a selection range of the next input letter under the condition that the spelling rule of the pinyin character is met.
- the locking unit regards the button information generated by the user clicking a button other than the effective button as invalid button information.
- the embodiment of the present application further provides an intelligent terminal, including the foregoing device for preventing erroneous input.
- An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor The instruction is executed by the at least one processor, The at least one processor is configured to: determine a selection range of a next input letter according to the entered letter and pinyin spelling rules; determine an effective button according to the selection range; and lock a button other than the effective button.
- the determining, according to the entered alphabetic and pinyin spelling rules, the selection range of the next input letter comprises: obtaining an input method currently used by the smart terminal; and selecting a pinyin text matching the input method Spelling rules; determine the range of choices for the next input letter in accordance with the spelling rules of the phonetic alphabet based on the entered letters.
- the locking of the button other than the effective button includes the button information generated by the user clicking a button other than the effective button as the invalid button information.
- the embodiment of the present application further provides a non-transitory computer readable storage medium, the storage medium storing the computer executable instructions of the computer executable instructions, when executed by the electronic device, enabling the electronic device to: according to The entered letter and pinyin spelling rules determine the selection range of the next input letter; the effective button is determined according to the selection range; and the keys other than the effective button are locked.
- the determining the selection range of the next input letter according to the input letter and the pinyin spelling rule comprises: acquiring an input method currently used by the smart terminal; and selecting a pinyin text matching the input method. Spelling rules; determine the range of choices for the next input letter in accordance with the spelling rules of the phonetic alphabet based on the entered letters.
- the locking of the keys other than the effective button includes: determining that the button information generated by the user clicking other buttons than the effective button is Key button information.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instruction is used by a computer When executed, the computer is caused to perform the aforementioned method.
- the embodiment of the present application provides a method, a device, and an electronic device for preventing erroneous input, determining a selection range of a next input letter according to an input letter and a spelling rule of a pinyin text, and determining an effective button according to the selection range, and locking the key Other buttons other than the active button. Even if the user accidentally clicks on a button other than the effective button, no valid input is generated, thereby ensuring that the next input letter conforms to the spelling rules of the pinyin text, and can effectively reduce the probability of occurrence of an erroneous input such as a spelling error.
- Embodiment 1 is a flow chart of a specific example of a method for preventing erroneous input in Embodiment 1 of the present application;
- Embodiment 2 is a selection of the next input letter in the method for preventing erroneous input according to Embodiment 1 of the present application; a flow chart of a specific example of a range;
- FIG. 3 is a schematic block diagram of a specific example of an apparatus for preventing erroneous input in Embodiment 2 of the present application;
- FIG. 4 is a schematic structural diagram of hardware of an electronic device according to Embodiment 4 of the present application.
- installation In the description of the present application, it should be noted that the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be a fixed connection, for example, unless otherwise specifically defined and defined. It can also be a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or can be indirectly connected through an intermediate medium, or can be internal communication between two components, and can be a wireless connection. It can also be a wired connection.
- the specific meanings of the above terms in the present application can be understood in the specific circumstances for those skilled in the art.
- This embodiment provides a method for preventing erroneous input, which is used in an intelligent terminal, where the smart terminal includes, but is not limited to, a smart phone, a pad, a notebook computer, a desktop computer, and the like.
- the method for preventing erroneous input in this embodiment, as shown in FIG. 1, includes the following steps:
- S1 Determine the selection range of the next input letter according to the entered letter and pinyin spelling rules. Specifically, taking the pinyin text spelling rule corresponding to Chinese Pinyin as an example, if the user has entered “bia”, the selection range of the next input letter can only be “n” or “o”.
- the selection range of the next input letter is determined according to the input letter and the spelling rule of the pinyin text
- the effective button is determined according to the selection range, and the keys other than the effective button are locked. Even if the user accidentally clicks on a button other than the effective button, no valid input is generated, thereby ensuring that the next input letter conforms to the spelling rules of the pinyin text, and can effectively reduce the probability of occurrence of an erroneous input such as a spelling error.
- step S1 includes:
- the smart terminal has an input item selection method, and by reading the relevant code set by the input method, the input method currently used by the smart terminal can be obtained. For example, if the user selects the English input method, the English translation method corresponding to the input method is the English pinyin spelling rule, and the Chinese pinyin input method is selected, and the input method matches the pinyin spelling corresponding to the Chinese pinyin. rule.
- step S3 the button information generated by the user clicking a button other than the effective button is regarded as invalid button information.
- the embodiment provides a device for preventing erroneous input, which is used for a smart terminal, wherein the smart terminal includes, but is not limited to, a smart phone, a pad, a notebook computer, a desktop computer, and the like.
- the device for preventing erroneous input in this embodiment includes:
- the selection range determining unit 1 is configured to determine a selection range of the next input letter according to the entered letter and the pinyin text spelling rule.
- the effective button determining unit 2 is configured to determine an effective button according to the selection range.
- the locking unit 3 is used to lock other keys than the effective button.
- the device for preventing erroneous input determines the selection range of the next input letter according to the input letter and the spelling rule of the pinyin text, and then determines the effective button according to the selection range, and locks the buttons other than the effective button. Even if the user accidentally clicks on a button other than the effective button, no valid input is generated, thereby ensuring that the next input letter conforms to the spelling rules of the pinyin text, and can effectively reduce the probability of occurrence of an erroneous input such as a spelling error.
- the selection range determining unit 1 comprises:
- the input method acquisition sub-unit 11 is configured to obtain an input method currently used by the smart terminal.
- the spelling rule selection sub-unit 12 is configured to select a pinyin text spelling rule that matches the input method.
- the range determining sub-unit 13 is configured to determine, according to the entered letters, a selection range of the next input letter under the condition that the spelling rule of the phonetic alphabet is met.
- the locking unit 3 regards the button information generated by the user clicking a button other than the effective button as the invalid button information.
- This embodiment provides an intelligent terminal, where the smart terminal includes but is not limited to a smart phone, a pad, a notebook computer, a desktop computer, and the like.
- the smart terminal in this embodiment includes the device for preventing erroneous input in Embodiment 2.
- the intelligent terminal according to the device for preventing erroneous input, according to the entered letters and The spelling rules of the pinyin text determine the selection range of the next input letter, and then determine the effective button according to the selection range, and lock the keys other than the effective button. Even if the user accidentally clicks on a button other than the effective button, no valid input is generated, thereby ensuring that the next input letter conforms to the spelling rules of the pinyin text, and can effectively reduce the probability of occurrence of an erroneous input such as a spelling error.
- an embodiment of the present application further provides an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810; wherein the memory 800 is stored
- An instruction executed by the at least one processor 810 the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to: determine a next bit based on entered letters and pinyin spelling rules Enter a selection range of letters; determine an effective button according to the selection range; lock other keys than the effective button.
- the electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
- the determining, according to the entered letter and pinyin spelling rules, the selection range of the next input letter comprises: acquiring an input method currently used by the smart terminal; and selecting the input method Matching pinyin text spelling rules; determining the range of choices for the next input letter in accordance with the spelling rules of the phonetic alphabet based on the entered letters.
- the locking of the button other than the effective button includes a button letter generated by the user clicking a button other than the effective button.
- the information is treated as invalid key information.
- the embodiment of the present application further provides a non-volatile computer storage medium storing the computer-executable instructions of the computer-executable instructions, when executed by the electronic device, enabling the electronic device to: according to the input
- the letter and pinyin spelling rules determine the selection range of the next input letter; the effective button is determined according to the selection range; and the keys other than the effective button are locked.
- the determining, according to the entered alphabetic and pinyin spelling rules, the selection range of the next input letter comprises: obtaining an input method currently used by the smart terminal; and selecting the input method Matching pinyin text spelling rules; determining the range of choices for the next input letter in accordance with the spelling rules of the phonetic alphabet based on the entered letters.
- the locking of the button other than the effective button includes the button information generated by the user clicking a button other than the effective button as the invalid button information.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instruction is used by a computer When executed, the computer is caused to perform the method described in the previous embodiments.
- embodiments of the present application can be provided as a method, system, or computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
- the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.
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)
- Document Processing Apparatus (AREA)
Abstract
一种防止误输入的方法、装置、电子设备及智能终端,涉及人机交互技术领域。其中防止误输入的方法根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围(S1),再根据选择范围确定生效按键(S2),并锁定除生效按键以外的其它按键(S3)。即使用户误点击了生效按键以外的其它按键,也不会产生有效输入,从而确保了下一位输入字母是符合拼音文字拼写规则的,能够有效降低拼写错误等误输入情况发生的概率。
Description
交叉引用
本申请要求在2016年4月1日提交中国专利局、申请号为201610203663.2、发明名称为“一种防止误输入的方法、装置及智能终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及人机交互技术领域,具体涉及一种防止误输入的方法、装置、电子设备及智能终端。
现在世界各国所用的文字多数是拼音文字,如英文、法文、德文等,我国的汉语拼音、藏文、蒙古文、维吾尔文等也都是拼音文字。虽然五笔输入法能够提高汉字的输入效率,但因为需要熟记五笔字根,因此人们大都采用易于掌握的汉语拼音输入法进行汉字的输入。可见无论是汉字还是拼音文字,大都为拼写输入方式。
因为拼音文字中的每个词语大多包含多个字母,输入过程中难免会出现拼写错误等误输入的情况,导致输入的拼音文字出现错误,如果输入汉字时采用的是汉语拼音输入法,也会因为拼写错误等误输入的情况导致无法输入正确的汉字,给用户带来诸多困扰。
发明内容
因此,本申请要解决的技术问题在于克服现有技术中输入过程易出现拼写错误等误输入的情况的缺陷,从而提供一种能够有效降低拼写错误等误输入情况发生概率的防止误输入的方法、装置、电子设备及智能终端。
为此,本申请提供了如下技术方案:
本申请实施例提供了一种防止误输入的方法,用于智能终端,包括如下步骤:
根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围;
根据所述选择范围确定生效按键;
锁定除所述生效按键以外的其它按键。
本申请实施例所述的方法,所述根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围的步骤包括:
获取智能终端当前采用的输入法;
选取与所述输入法相匹配的拼音文字拼写规则;
根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
本申请实施例所述的方法,所述锁定除所述生效按键以外的其它按键的步骤中,将用户点击除所述生效按键以外的其它按键所产生的按键信息
视为无效按键信息。
本申请实施例还提供了一种防止误输入的装置,用于智能终端,包括:
选择范围确定单元,用于根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围;
生效按键确定单元,用于根据所述选择范围确定生效按键;
锁定单元,用于锁定除所述生效按键以外的其它按键。
本申请实施例所述的装置,所述选择范围确定单元包括:
输入法获取子单元,用于获取智能终端当前采用的输入法;
拼写规则选取子单元,用于选取与所述输入法相匹配的拼音文字拼写规则;
范围确定子单元,用于根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
本申请实施例所述的装置,所述锁定单元,将用户点击除所述生效按键以外的其它按键所产生的按键信息视为无效按键信息。
本申请实施例还提供了一种智能终端,包括上述防止误输入的装置。
本申请实施例还提供了一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,
以使所述至少一个处理器能够:根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围;根据所述选择范围确定生效按键;锁定除所述生效按键以外的其它按键。
上述的电子设备,优选地,所述根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围包括:获取智能终端当前采用的输入法;选取与所述输入法相匹配的拼音文字拼写规则;根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
上述的电子设备,优选地,所述锁定除所述生效按键以外的其它按键包括将用户点击除所述生效按键以外的其它按键所产生的按键信息视为无效按键信息。
本申请实施例还提供了一种非易失性计算机可读存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围;根据所述选择范围确定生效按键;锁定除所述生效按键以外的其它按键。
上述的存储介质,优选地,所述根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围包括:获取智能终端当前采用的输入法;选取与所述输入法相匹配的拼音文字拼写规则;根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
上述的存储介质,优选地,所述锁定除所述生效按键以外的其它按键包括将用户点击除所述生效按键以外的其它按键所产生的按键信息视为无
效按键信息。
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行前述方法。
本申请技术方案,具有如下优点:
本申请实施例提供了一种防止误输入的方法、装置及电子设备,根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围,再根据选择范围确定生效按键,并锁定除生效按键以外的其它按键。即使用户误点击了生效按键以外的其它按键,也不会产生有效输入,从而确保了下一位输入字母是符合拼音文字拼写规则的,能够有效降低拼写错误等误输入情况发生的概率。
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例1中防止误输入的方法的一个具体实例的流程图;
图2为本申请实施例1防止误输入的方法中确定下一位输入字母的选
择范围的一个具体实例的流程图;
图3为本申请实施例2中防止误输入的装置的一个具体实例的原理框图;
图4为本申请实施例4中电子设备的硬件结构示意图。
附图标记:
1-选择范围确定单元;2-生效按键确定单元;3-锁定单元;11-输入法获取子单元;12-拼写规则选取子单元;13-范围确定子单元;800-存储器;810-处理器;830-输入装置;840-输出装置。
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,
也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。
此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
实施例1
本实施例提供了一种防止误输入的方法,用于智能终端,其中智能终端包括但不限定于智能手机、Pad、笔记本电脑、台式电脑等。本实施例中的防止误输入的方法,如图1所示,包括如下步骤:
S1.根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围。具体地,以汉语拼音对应的拼音文字拼写规则为例,如果用户已经输入了“bia”,则下一位输入字母的选择范围只能是“n”或者“o”。
S2.根据选择范围确定生效按键。
S3.锁定除生效按键以外的其它按键。
本实施例中的防止误输入的方法,根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围,再根据选择范围确定生效按键,并锁定除生效按键以外的其它按键。即使用户误点击了生效按键以外的其它按键,也不会产生有效输入,从而确保了下一位输入字母是符合拼音文字拼写规则的,能够有效降低拼写错误等误输入情况发生的概率。
优选地,如图2所示,步骤S1包括:
S11.获取智能终端当前采用的输入法。
S12.选取与输入法相匹配的拼音文字拼写规则。
S13.根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
具体地,智能终端中都有输入法的选取项,通过读取输入法设置的相关代码,就可以获取智能终端当前采用的输入法了。比如用户选用的为英文输入法,则与该输入法相匹配的即为英文对应的拼音文字拼写规则,选用的为汉语拼音输入法,则与该输入法相匹配的即为汉语拼音对应的拼音文字拼写规则。
优选地,步骤S3中,将用户点击除生效按键以外的其它按键所产生的按键信息视为无效按键信息。
实施例2
本实施例提供了一种防止误输入的装置,用于智能终端,其中智能终端包括但不限定于智能手机、Pad、笔记本电脑、台式电脑等。本实施例中的防止误输入的装置,如图3所示,包括:
选择范围确定单元1,用于根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围。
生效按键确定单元2,用于根据选择范围确定生效按键。
锁定单元3,用于锁定除生效按键以外的其它按键。
本实施例中的防止误输入的装置,根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围,再根据选择范围确定生效按键,并锁定除生效按键以外的其它按键。即使用户误点击了生效按键以外的其它按键,也不会产生有效输入,从而确保了下一位输入字母是符合拼音文字拼写规则的,能够有效降低拼写错误等误输入情况发生的概率。
优选地,选择范围确定单元1包括:
输入法获取子单元11,用于获取智能终端当前采用的输入法。
拼写规则选取子单元12,用于选取与输入法相匹配的拼音文字拼写规则。
范围确定子单元13,用于根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
优选地,锁定单元3,将用户点击除生效按键以外的其它按键所产生的按键信息视为无效按键信息。
实施例3
本实施例提供了一种智能终端,其中智能终端包括但不限定于智能手机、Pad、笔记本电脑、台式电脑等。本实施例中的智能终端,包括实施例2中的防止误输入的装置。
本实施例中智能终端,通过防止误输入的装置,根据已输入的字母和
拼音文字拼写规则确定下一位输入字母的选择范围,再根据选择范围确定生效按键,并锁定除生效按键以外的其它按键。即使用户误点击了生效按键以外的其它按键,也不会产生有效输入,从而确保了下一位输入字母是符合拼音文字拼写规则的,能够有效降低拼写错误等误输入情况发生的概率。
实施例4
如图4所示,本申请实施例还提供了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围;根据所述选择范围确定生效按键;锁定除所述生效按键以外的其它按键。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。
本实施例的所述电子设备,优选地,所述根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围包括:获取智能终端当前采用的输入法;选取与所述输入法相匹配的拼音文字拼写规则;根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
本实施例的所述电子设备,优选地,所述锁定除所述生效按键以外的其它按键包括将用户点击除所述生效按键以外的其它按键所产生的按键信
息视为无效按键信息。
实施例5
本申请实施例还提供了一种非易失性计算机存储介质,所述存储介质存储有计算机可执行指令的所述计算机可执行指令,当由电子设备执行时使得电子设备能够:根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围;根据所述选择范围确定生效按键;锁定除所述生效按键以外的其它按键。
本实施例的所述存储介质,优选地,所述根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围包括:获取智能终端当前采用的输入法;选取与所述输入法相匹配的拼音文字拼写规则;根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
本实施例的所述存储介质,优选地,所述锁定除所述生效按键以外的其它按键包括将用户点击除所述生效按键以外的其它按键所产生的按键信息视为无效按键信息。
实施例6
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行前述实施例所述的方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现
在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本申请的保护范围之中。
Claims (14)
- 一种防止误输入的方法,用于智能终端,其特征在于,包括如下步骤:根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围;根据所述选择范围确定生效按键;锁定除所述生效按键以外的其它按键。
- 根据权利要求1所述的方法,其特征在于,所述根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围的步骤包括:获取智能终端当前采用的输入法;选取与所述输入法相匹配的拼音文字拼写规则;根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
- 根据权利要求1或2所述的方法,其特征在于,所述锁定除所述生效按键以外的其它按键的步骤中,将用户点击除所述生效按键以外的其它按键所产生的按键信息视为无效按键信息。
- 一种防止误输入的装置,用于智能终端,其特征在于,包括:选择范围确定单元(1),用于根据已输入的字母和拼音文字拼写规则 确定下一位输入字母的选择范围;生效按键确定单元(2),用于根据所述选择范围确定生效按键;锁定单元(3),用于锁定除所述生效按键以外的其它按键。
- 根据权利要求4所述的装置,其特征在于,所述选择范围确定单元(1)包括:输入法获取子单元(11),用于获取智能终端当前采用的输入法;拼写规则选取子单元(12),用于选取与所述输入法相匹配的拼音文字拼写规则;范围确定子单元(13),用于根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
- 根据权利要求4或5所述的装置,其特征在于,所述锁定单元(3),将用户点击除所述生效按键以外的其它按键所产生的按键信息视为无效按键信息。
- 一种智能终端,其特征在于,包括权利要求4-6任一项所述的防止误输入的装置。
- 一种电子设备,其特征在于,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:根据已输入的字母和拼音文字拼写规则确定下一 位输入字母的选择范围;根据所述选择范围确定生效按键;锁定除所述生效按键以外的其它按键。
- 根据权利要求8所述的电子设备,其特征在于,所述根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围包括:获取智能终端当前采用的输入法;选取与所述输入法相匹配的拼音文字拼写规则;根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
- 根据权利要求8或9所述的电子设备,其特征在于,所述锁定除所述生效按键以外的其它按键包括将用户点击除所述生效按键以外的其它按键所产生的按键信息视为无效按键信息。
- 一种非易失性计算机存储介质,其特征在于,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围;根据所述选择范围确定生效按键;锁定除所述生效按键以外的其它按键。
- 根据权利要求11所述的存储介质,其特征在于,所述根据已输入的字母和拼音文字拼写规则确定下一位输入字母的选择范围包括:获取智能终端当前采用的输入法;选取与所述输入法相匹配的拼音文字拼写规则;根据已输入的字母确定下一位输入字母在符合该拼音文字拼写规则的条件下的选择范围。
- 根据权利要求11或12所述的存储介质,其特征在于,所述锁定 除所述生效按键以外的其它按键包括将用户点击除所述生效按键以外的其它按键所产生的按键信息视为无效按键信息。
- 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-3中任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610203663.2A CN105867650A (zh) | 2016-04-01 | 2016-04-01 | 一种防止误输入的方法、装置及智能终端 |
| CN201610203663.2 | 2016-04-01 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017166774A1 true WO2017166774A1 (zh) | 2017-10-05 |
Family
ID=56627922
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/101875 Ceased WO2017166774A1 (zh) | 2016-04-01 | 2016-10-12 | 一种防止误输入的方法、装置、电子设备及智能终端 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105867650A (zh) |
| WO (1) | WO2017166774A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111090341A (zh) * | 2019-12-24 | 2020-05-01 | 科大讯飞股份有限公司 | 输入法候选结果展示方法、相关设备及可读存储介质 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105867650A (zh) * | 2016-04-01 | 2016-08-17 | 乐视控股(北京)有限公司 | 一种防止误输入的方法、装置及智能终端 |
| CN106484137A (zh) * | 2016-09-26 | 2017-03-08 | 宇龙计算机通信科技(深圳)有限公司 | 输入方法及其移动终端 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1952860A (zh) * | 2006-11-15 | 2007-04-25 | 康佳集团股份有限公司 | 一种移动电话中实现双拼的中文输入方法 |
| CN101581994A (zh) * | 2009-03-24 | 2009-11-18 | 杨彬 | 用于在终端的触摸屏上输入汉字的装置和方法 |
| US20100253636A1 (en) * | 2007-10-24 | 2010-10-07 | Stephen Chen | Method for correcting typing errors according to character layout positions on a keyboard |
| CN102436346A (zh) * | 2011-11-10 | 2012-05-02 | 广东欧珀移动通信有限公司 | 一种提高虚拟键盘拼音输入法效率的方法 |
| CN102707811A (zh) * | 2012-05-14 | 2012-10-03 | 华为终端有限公司 | 一种汉字输入的方法和系统 |
| CN104066012A (zh) * | 2014-06-24 | 2014-09-24 | 青岛海信电器股份有限公司 | 一种智能电视输入汉字的方法及装置 |
| CN105867650A (zh) * | 2016-04-01 | 2016-08-17 | 乐视控股(北京)有限公司 | 一种防止误输入的方法、装置及智能终端 |
-
2016
- 2016-04-01 CN CN201610203663.2A patent/CN105867650A/zh active Pending
- 2016-10-12 WO PCT/CN2016/101875 patent/WO2017166774A1/zh not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1952860A (zh) * | 2006-11-15 | 2007-04-25 | 康佳集团股份有限公司 | 一种移动电话中实现双拼的中文输入方法 |
| US20100253636A1 (en) * | 2007-10-24 | 2010-10-07 | Stephen Chen | Method for correcting typing errors according to character layout positions on a keyboard |
| CN101581994A (zh) * | 2009-03-24 | 2009-11-18 | 杨彬 | 用于在终端的触摸屏上输入汉字的装置和方法 |
| CN102436346A (zh) * | 2011-11-10 | 2012-05-02 | 广东欧珀移动通信有限公司 | 一种提高虚拟键盘拼音输入法效率的方法 |
| CN102707811A (zh) * | 2012-05-14 | 2012-10-03 | 华为终端有限公司 | 一种汉字输入的方法和系统 |
| CN104066012A (zh) * | 2014-06-24 | 2014-09-24 | 青岛海信电器股份有限公司 | 一种智能电视输入汉字的方法及装置 |
| CN105867650A (zh) * | 2016-04-01 | 2016-08-17 | 乐视控股(北京)有限公司 | 一种防止误输入的方法、装置及智能终端 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111090341A (zh) * | 2019-12-24 | 2020-05-01 | 科大讯飞股份有限公司 | 输入法候选结果展示方法、相关设备及可读存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105867650A (zh) | 2016-08-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10698604B2 (en) | Typing assistance for editing | |
| US10789078B2 (en) | Method and system for inputting information | |
| US9977779B2 (en) | Automatic supplementation of word correction dictionaries | |
| EP2713255B1 (en) | Method and electronic device for prompting character input | |
| US8798250B1 (en) | Autocorrect for phone numbers | |
| US20150309984A1 (en) | Learning language models from scratch based on crowd-sourced user text input | |
| CN101436110A (zh) | 执行表意文字和表音文字输入的方法和装置 | |
| JP2003162687A (ja) | 手書き文字入力装置、手書き文字認識プログラム | |
| US9910931B2 (en) | Suggestive input systems, methods and applications for data rule creation | |
| WO2014190795A1 (en) | Method and device for searching for contact object, and storage medium | |
| CN105446636A (zh) | 动态解锁方法及电子装置 | |
| CN106095751A (zh) | 一种文字输入的识错处理方法及移动终端 | |
| JP2008544385A (ja) | 電子デバイスにおける手書き文字認識 | |
| WO2017166774A1 (zh) | 一种防止误输入的方法、装置、电子设备及智能终端 | |
| JP2013206141A (ja) | 文字入力装置、文字入力方法、及び文字入力プログラム | |
| WO2019144392A1 (zh) | 终端控制方法、装置、存储介质及电子设备 | |
| CN102780802B (zh) | 一种快速拨号的方法及终端 | |
| US20150067575A1 (en) | Computer implemented user interface for inputting indian language alphabets | |
| WO2018000669A1 (zh) | 一种查找联系人的方法和装置 | |
| CN102375655A (zh) | 一种字母输入的处理方法及系统 | |
| WO2022233275A1 (zh) | 输入矫正方法和装置 | |
| CN104504142B (zh) | 一种用于移动终端的文本查找方法和装置 | |
| US20220318239A1 (en) | Search query modification | |
| CN112462953B (zh) | 一种动态输入方法及装置 | |
| CN110658923A (zh) | 快速输入拼音、汉字的方法以及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16896544 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16896544 Country of ref document: EP Kind code of ref document: A1 |