[go: up one dir, main page]

CN105607754A - Auxiliary code based input method and apparatus - Google Patents

Auxiliary code based input method and apparatus Download PDF

Info

Publication number
CN105607754A
CN105607754A CN201510958964.1A CN201510958964A CN105607754A CN 105607754 A CN105607754 A CN 105607754A CN 201510958964 A CN201510958964 A CN 201510958964A CN 105607754 A CN105607754 A CN 105607754A
Authority
CN
China
Prior art keywords
auxiliary code
candidate item
candidate
target
character string
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
CN201510958964.1A
Other languages
Chinese (zh)
Inventor
刘廷超
张小娇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510958964.1A priority Critical patent/CN105607754A/en
Publication of CN105607754A publication Critical patent/CN105607754A/en
Pending legal-status Critical Current

Links

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/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

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)
  • Machine Translation (AREA)

Abstract

本发明实施例提供了一种基于辅助码的输入方法和装置,该方法包括:当接收到第一字符串时,加载与所述第一字符串匹配的候选项;当检测到翻页键被触发时,判断是否开启翻页辅助码模式;当开启翻页辅助码模式时,将接收到的第二字符串设置为辅助码;从所述候选项中筛选与所述辅助码匹配的目标候选项;加载所述目标候选项。本发明实施例一键多用,无需再次点击其他功能按键进入辅助码模式,进入翻页辅助码模式的操作简便,提高了输入效率。

An embodiment of the present invention provides an auxiliary code-based input method and device. The method includes: when a first character string is received, loading candidates matching the first character string; When triggering, judge whether to open the page turning auxiliary code mode; when the page turning auxiliary code mode is turned on, the second character string received is set as the auxiliary code; screen the target candidates matching the auxiliary code from the candidates item; loads the target candidate. In the embodiment of the present invention, one key is multi-purpose, and there is no need to click other function keys again to enter the auxiliary code mode, and the operation of entering the page-turning auxiliary code mode is simple and convenient, which improves the input efficiency.

Description

一种基于辅助码的输入方法和装置An input method and device based on auxiliary code

技术领域technical field

本发明涉及输入法的技术领域,特别是涉及一种基于辅助码的输入方法和一种基于辅助码的输入装置。The invention relates to the technical field of input methods, in particular to an auxiliary code-based input method and an auxiliary code-based input device.

背景技术Background technique

随着信息时代的高速发展,在各种场合下,用户经常需要通过输入法应用输入信息。With the rapid development of the information age, in various occasions, users often need to input information through input method applications.

例如,在搜索引擎中输入关键词搜索网页,在即时通讯工具中输入文字与其他用户进行交流,等等。For example, enter keywords in a search engine to search webpages, enter text in instant messaging tools to communicate with other users, and so on.

由于字体众多,在输入时可能遇到相同编码的多个字,尤其是在九宫格键盘中输入拼音时,九宫格内所代表的拼音字母较多,所形成的拼音较多,加上同音字也较多,因此,所得到的候选项比较多。Due to the large number of fonts, you may encounter multiple words with the same code when inputting, especially when inputting pinyin in the Jiugongge keyboard, there are more pinyin letters represented in the Jiugongge keyboard, and there are more pinyins formed, and homophones are also more difficult. Therefore, more candidates are obtained.

若用户所需要的候选项位置比较靠多,用户需要多次进行翻页操作去寻找,若翻页太快、查看不留意,容易忽略,输入效率很低。If the position of the candidate item required by the user is relatively large, the user needs to turn the page multiple times to find it. If the page is turned too fast and the view is not noticed, it is easy to ignore, and the input efficiency is very low.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种基于辅助码的输入方法和相应的一种基于辅助码的输入装置。In view of the above problems, the present invention is proposed to provide an auxiliary code-based input method and a corresponding auxiliary code-based input device that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种基于辅助码的输入方法,包括:According to one aspect of the present invention, an auxiliary code-based input method is provided, including:

当接收到第一字符串时,加载与所述第一字符串匹配的候选项;When receiving a first character string, loading candidates matching the first character string;

当检测到翻页键被触发时,判断是否开启翻页辅助码模式;When it is detected that the page turning key is triggered, it is judged whether to enable the page turning auxiliary code mode;

当开启翻页辅助码模式时,将接收到的第二字符串设置为辅助码;When the page-turning auxiliary code mode is turned on, set the received second character string as the auxiliary code;

从所述候选项中筛选与所述辅助码匹配的目标候选项;Screening target candidates matching the auxiliary code from the candidates;

加载所述目标候选项。Load the target candidate.

可选地,所述加载与所述第一字符串匹配的候选项的步骤包括:Optionally, the step of loading candidates matching the first character string includes:

查找与所述第一字符串匹配的一组或多组候选项;finding one or more sets of candidates that match the first string;

在候选栏中加载其中一组候选项。Load one of the set of candidates in the candidate bar.

可选地,所述从所述候选项中筛选与所述辅助码匹配的目标候选项的步骤包括:Optionally, the step of screening target candidates matching the auxiliary code from the candidates includes:

将位于起始组及起始组之后的候选项设置为目标候选项集;Set the candidates located in the starting group and after the starting group as the target candidate set;

从所述目标候选项集中筛选与所述辅助码匹配的目标候选项;screening target candidates matching the auxiliary code from the set of target candidates;

其中,所述起始组为检测到第二字符串时在候选栏中加载的候选项所在的组。Wherein, the initial group is the group where the candidates loaded in the candidate column are located when the second character string is detected.

可选地,所述从所述候选项中筛选与所述辅助码匹配的目标候选项的步骤包括:Optionally, the step of screening target candidates matching the auxiliary code from the candidates includes:

查询在翻页辅助码模式中设置的目标字位置;Query the position of the target word set in the page turning auxiliary code mode;

在所述候选项中识别位于所述目标字位置的候选字;identifying a candidate word at the target word position in the candidate item;

当所述候选字与所述辅助码匹配时,确定所述候选项为目标候选项。When the candidate word matches the auxiliary code, it is determined that the candidate is a target candidate.

可选地,所述加载所述目标候选项的步骤包括:Optionally, the step of loading the target candidates includes:

将所述目标候选项划分为一组或多组;dividing the target candidates into one or more groups;

在候选栏中加载其中一组目标候选项。Load one of the set of target candidates in the candidate bar.

可选地,所述加载所述目标候选项的步骤还包括:Optionally, the step of loading the target candidates also includes:

当检测到翻页键被触发时,加载下一组目标候选项。When it is detected that the page turning key is triggered, load the next set of target candidates.

可选地,还包括:Optionally, also include:

在字符串栏中显示所述第一字符串;displaying said first string in a string column;

在所述第一字符串后显示翻页辅助码模式标识;After the first character string, the page-turning auxiliary code mode logo is displayed;

在所述翻页辅助码模式标识显示所述第二字符串。The second character string is displayed in the page-turning auxiliary code mode identifier.

可选地,还包括:Optionally, also include:

当所述目标候选项上屏时,退出翻页辅助码模式。When the target candidate item is on the screen, exit the page turning auxiliary code mode.

可选地,还包括:Optionally, also include:

当未开启到翻页辅助码模式时,在候选栏中加载下一组候选项。When the page turning auxiliary code mode is not turned on, load the next set of candidates in the candidate column.

可选地,在所述当开启翻页辅助码模式时,将接收到的第二字符串设置为辅助码的步骤之前,所述方法还包括:Optionally, before the step of setting the received second character string as the auxiliary code when the page turning auxiliary code mode is turned on, the method further includes:

当检测到翻页键再次被触发时,在候选栏中加载下一组候选项。When it is detected that the page turning key is triggered again, the next set of candidate items is loaded in the candidate column.

根据本发明的另一方面,提供了一种基于辅助码的输入装置,包括:According to another aspect of the present invention, an auxiliary code-based input device is provided, comprising:

候选项加载模块,适于在接收到第一字符串时,加载与所述第一字符串匹配的候选项;a candidate loading module, adapted to load candidates matching the first character string when the first character string is received;

翻页辅助码模式判断模块,适于在检测到翻页键被触发时,判断是否开启翻页辅助码模式;The page-turning auxiliary code mode judging module is suitable for judging whether to enable the page-turning auxiliary code mode when the page-turning key is detected to be triggered;

辅助码设置模块,适于在开启翻页辅助码模式时,将接收到的第二字符串设置为辅助码;The auxiliary code setting module is adapted to set the received second character string as the auxiliary code when the page-turning auxiliary code mode is turned on;

目标候选项筛选模块,适于从所述候选项中筛选与所述辅助码匹配的目标候选项;a target candidate screening module, adapted to screen target candidates matching the auxiliary code from the candidates;

目标候选项加载模块,适于加载所述目标候选项。A target candidate loading module adapted to load the target candidate.

可选地,所述候选项加载模块还适于:Optionally, the candidate loading module is also suitable for:

查找与所述第一字符串匹配的一组或多组候选项;finding one or more sets of candidates that match the first string;

在候选栏中加载其中一组候选项。Load one of the set of candidates in the candidate bar.

可选地,所述目标候选项筛选模块还适于:Optionally, the target candidate screening module is also suitable for:

将位于起始组及起始组之后的候选项设置为目标候选项集;Set the candidates located in the starting group and after the starting group as the target candidate set;

从所述目标候选项集中筛选与所述辅助码匹配的目标候选项;screening target candidates matching the auxiliary code from the set of target candidates;

其中,所述起始组为检测到第二字符串时在候选栏中加载的候选项所在的组。Wherein, the initial group is the group where the candidates loaded in the candidate column are located when the second character string is detected.

可选地,所述目标候选项筛选模块还适于:Optionally, the target candidate screening module is also suitable for:

查询在翻页辅助码模式中设置的目标字位置;Query the position of the target word set in the page turning auxiliary code mode;

在所述候选项中识别位于所述目标字位置的候选字;identifying a candidate word at the target word position in the candidate item;

当所述候选字与所述辅助码匹配时,确定所述候选项为目标候选项。When the candidate word matches the auxiliary code, it is determined that the candidate is a target candidate.

可选地,所述目标候选项加载模块还适于:Optionally, the target candidate loading module is also suitable for:

将所述目标候选项划分为一组或多组;dividing the target candidates into one or more groups;

在候选栏中加载其中一组目标候选项。Load one of the set of target candidates in the candidate bar.

可选地,所述目标候选项加载模块还适于:Optionally, the target candidate loading module is also suitable for:

当检测到翻页键被触发时,加载下一组目标候选项。When it is detected that the page turning key is triggered, load the next set of target candidates.

可选地,还包括:Optionally, also include:

第一字符串显示模块,适于在字符串栏中显示所述第一字符串;a first character string display module, adapted to display the first character string in a character string column;

翻页辅助码模式标识显示模块,适于在所述第一字符串后显示翻页辅助码模式标识;The page-turning auxiliary code mode identification display module is adapted to display the page-turning auxiliary code mode identification after the first character string;

第二字符串显示模块,适于在所述翻页辅助码模式标识显示所述第二字符串。The second character string display module is adapted to display the second character string in the page-turning auxiliary code mode.

可选地,还包括:Optionally, also include:

翻页辅助码模式退出模块,适于在所述目标候选项上屏时,退出翻页辅助码模式。The page-turning auxiliary code mode exit module is adapted to exit the page-turning auxiliary code mode when the target candidate is on the screen.

可选地,还包括:Optionally, also include:

第一候选项翻页加载模块,适于在未开启到翻页辅助码模式时,在候选栏中加载下一组候选项。The first candidate page-turning loading module is adapted to load the next group of candidates in the candidate column when the page-turning auxiliary code mode is not turned on.

可选地,还包括:Optionally, also include:

第二候选项翻页加载模块,适于在检测到翻页键再次被触发时,在候选栏中加载下一组候选项。The second candidate item page-turning loading module is adapted to load the next group of candidate items in the candidate column when it is detected that the page-turning key is triggered again.

本发明实施例在触发翻页键的同时,进入翻页辅助码模式,通过输入辅助码,可以快速从众多的候选项中筛选出合适的目标候选项,翻页键的操作符合用户习惯,一键多用,无需再次点击其他功能按键进入辅助码模式,进入翻页辅助码模式的操作简便,提高了输入效率。In the embodiment of the present invention, when the page-turning key is triggered, it enters the page-turning auxiliary code mode. By inputting the auxiliary code, a suitable target candidate can be quickly selected from a large number of candidates. The operation of the page-turning key conforms to the user's habits. The keys are multi-purpose, and there is no need to click other function keys again to enter the auxiliary code mode. The operation of entering the page-turning auxiliary code mode is simple, which improves the input efficiency.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1示出了根据本发明一个实施例的一种基于辅助码的输入方法实施例1的步骤流程图;Fig. 1 shows a flow chart of the steps of Embodiment 1 of an input method based on an auxiliary code according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的一种九宫格键盘的示例图;Fig. 2 shows an example diagram of a nine-grid keyboard according to an embodiment of the present invention;

图3A-图3C示出了根据本发明一个实施例的基于翻页辅助码模式进行输入的示例图;以及Fig. 3A-Fig. 3C show the example diagram of inputting based on page-turning auxiliary code mode according to one embodiment of the present invention; and

图4示出了根据本发明一个实施例的一种基于辅助码的输入装置实施例的结构框图。Fig. 4 shows a structural block diagram of an embodiment of an auxiliary code-based input device according to an embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

参照图1,示出了根据本发明一个实施例的一种基于辅助码的输入方法实施例1的步骤流程图,具体可以包括如下步骤:Referring to Fig. 1, it shows a flow chart of the steps of Embodiment 1 of an auxiliary code-based input method according to an embodiment of the present invention, which may specifically include the following steps:

步骤101,当接收到第一字符串时,加载与所述第一字符串匹配的候选项;Step 101, when a first character string is received, load candidates matching the first character string;

需要说明的是,本发明实施例可以应用于具有输入功能的移动设备或固定设备中,该移动设备可以包括手机、平板电脑、穿戴设备(如手环、手表、眼镜)等,该固定设备可以包括个人电脑、智能电视等。It should be noted that the embodiments of the present invention can be applied to mobile devices or fixed devices with input functions. The mobile devices can include mobile phones, tablet computers, wearable devices (such as bracelets, watches, glasses), etc. The fixed devices can Including PCs, Smart TVs, etc.

这些移动设备或固定设备通常可以安装Windows、Android(安卓)、IOS、WindowsPhone等操作系统,可以支持运行通过键盘进行输入的应用程序,如输入法应用等。These mobile devices or fixed devices can usually be installed with operating systems such as Windows, Android (Android), IOS, WindowsPhone, and can support running applications for inputting through keyboards, such as input method applications.

其中,该键盘可以为虚拟键盘,也可以为物理键盘,具体可以包括九宫格键盘、全键盘(如QWERT键盘)等等。Wherein, the keyboard may be a virtual keyboard or a physical keyboard, specifically including a Jiugongge keyboard, a full keyboard (such as a QWERT keyboard) and the like.

在九宫格键盘和全键盘等键盘中具有多个按键,该按键经常被复用,每个按键可以映射一个或多个字符,具体可以包括数字字符、英文字符、中文字符(包括拼音字符、笔画字符、五笔字符)、符号字符等等,以输入数字、英文、中文和符号等等。In keyboards such as Jiugongge keyboard and full keyboard, there are multiple keys, which are often reused. Each key can map one or more characters, which can specifically include numeric characters, English characters, and Chinese characters (including pinyin characters and stroke characters. , Wubi characters), symbol characters, etc., to enter numbers, English, Chinese and symbols, etc.

例如,在如图2所示的九宫格键盘中,数字字符“2”通常与英文字符“A”、“B”、“C”、“a”、“b”、“c”,拼音字符“a”(韵母)、“b”(声母)、“c”(声母),笔画字符“丨”映射到同一个按键。For example, in the Jiugongge keyboard shown in Figure 2, the numeric character "2" is usually associated with the English characters "A", "B", "C", "a", "b", "c", and the pinyin character "a". " (final), "b" (initial), "c" (initial), and the stroke character "丨" are mapped to the same button.

用户在键盘上按下一个或多个按键之后,该按键映射的字符可以组成字符串,通过该字符串,则可以在词库中查找相关的候选项。After the user presses one or more keys on the keyboard, the characters mapped to the keys can form a character string, and through the character string, related candidates can be searched in the thesaurus.

进一步而言,由拼音字符组成的字符串可以称之为拼音字符串,由英文字符组成的字符串可以称之为英文字符串,由数字字符组成的字符串可以称之为数字字符串,由拼音字符、英文字符、数字字符中至少两者组成的字符串可以称之为混合字符串,等等。Further, a character string composed of pinyin characters can be called a pinyin character string, a character string composed of English characters can be called an English character string, and a character string composed of numeric characters can be called a digital character string, by A character string composed of at least two of pinyin characters, English characters, and numeric characters may be called a mixed character string, and so on.

若接收到第一字符串,则可以在词库中查找与该第一字符串匹配的一组或多组候选项,由于显示的位置有限,因此,在候选栏中加载其中一组候选项。If the first character string is received, one or more groups of candidates matching the first character string can be searched in the thesaurus, and one group of candidates is loaded in the candidate column because the displayed position is limited.

除此之外,为了方便用户查找所输入的字符串,可以在字符串栏中显示第一字符串。In addition, in order to facilitate the user to find the input character string, the first character string may be displayed in the character string column.

例如,如图3A所示,在输入法界面中,若用户需要输入“娴”,则可以输入拼音“xian”,在由于与“xian”同音的字比较多,如“先”、“闲”、“现”等等,并且“娴”的输入频率不高,因此,在候选栏301中,输入法优先显示一组输入频率较高的候选项,并未显示“娴”,而在字符串栏303中显示第一字符串“xian”。For example, as shown in Figure 3A, in the input method interface, if the user needs to input "Xian", the pinyin "xian" can be input, because there are many words with the same pronunciation as "xian", such as "xian" and "leisure". , "now", etc., and the input frequency of "Xian" is not high, therefore, in the candidate column 301, the input method preferentially displays a group of candidates with higher input frequency, and "Xian" is not displayed, while in the character string The first character string "xian" is displayed in column 303 .

步骤102,当检测到翻页键被触发时,判断是否开启翻页辅助码模式;Step 102, when it is detected that the page turning key is triggered, judge whether to enable the page turning auxiliary code mode;

翻页键,可以用于翻页操作,即加载下一组的候选项,可以为如图3A所示的虚拟翻页键302,也可以为物理键盘中的实体翻页键,即“+”和“=”所处的键。The page-turning key can be used for page-turning operations, that is, to load the next group of candidates, which can be the virtual page-turning key 302 as shown in Figure 3A, or the physical page-turning key in the physical keyboard, namely "+" and "=" in place of the key.

当检测到该翻页键被触发时,可以检测是否开启翻页辅助码模式,该翻页辅助码模式为输入法中的一个配置选项,可以通过输入法中的配置信息检测是否开启翻页辅助码模式。When it is detected that the page-turning key is triggered, it can detect whether the page-turning auxiliary code mode is enabled. The page-turning auxiliary code mode is a configuration option in the input method. It can be detected whether the page-turning auxiliary code is enabled through the configuration information in the input method. code mode.

例如,若翻页辅助码模式的配置选项为“1”,则表示开启翻页辅助码模式,若翻页辅助码模式的配置信息为“0”,则表示不开启翻页辅助码模式。For example, if the configuration option of the page-turning auxiliary code mode is "1", it means that the page-turning auxiliary code mode is turned on, and if the configuration information of the page-turning auxiliary code mode is "0", it means that the page-turning auxiliary code mode is not turned on.

步骤103,当开启翻页辅助码模式时,将接收到的第二字符串设置为辅助码;Step 103, when the page-turning auxiliary code mode is turned on, set the received second character string as the auxiliary code;

若开启翻页码辅助模式,则不响应翻页键的翻页操作。If the page turning number auxiliary mode is turned on, the page turning operation of the page turning key will not be responded.

除此之外,为了提示用户进入可以翻页辅助码模式,可以在第一字符串后显示翻页辅助码模式标识。In addition, in order to prompt the user to enter the auxiliary code mode that can turn pages, an indicator of the auxiliary code mode for page turning may be displayed after the first character string.

例如,如图3B所示,在第一字符串“xian”后,可以显示空格键,作为翻页辅助码模式标识,空格键之后具有光标“丨”。For example, as shown in FIG. 3B, after the first character string "xian", a space bar may be displayed as a page-turning auxiliary code mode identifier, and a cursor "丨" is placed after the space bar.

在进入翻页辅助码模式之后,用户可以继续输入第二字符串,将该第二字符串设置为辅助码。After entering the page-turning auxiliary code mode, the user can continue to input a second character string to set the second character string as the auxiliary code.

辅助码,即辅助输入的字码,用于减少候选项的数量。Auxiliary codes, that is, auxiliary input character codes, are used to reduce the number of candidates.

除此之外,为了提示用户所输入的字符串,可以在翻页辅助码模式标识显示第二字符串。In addition, in order to prompt the user for the input character string, a second character string may be displayed in the page-turning auxiliary code mode.

例如,如图3B所示,若用户在翻页辅助码模式中输入第二字符串“nx”后,可以将第二字符串“nx”设置为辅助码,在空格键后显示第二字符串“nx”。For example, as shown in Figure 3B, if the user enters the second character string "nx" in the page-turning auxiliary code mode, the second character string "nx" can be set as the auxiliary code, and the second character string is displayed after the space bar "nx".

当然,当未开启到翻页辅助码模式时,可以响应翻页键的翻页操作,在候选栏中加载下一组候选项。Certainly, when the page-turning auxiliary code mode is not turned on, the next group of candidates can be loaded in the candidate column in response to the page-turning operation of the page-turning key.

需要说明的是,在接收到第二字符串之前,当检测到翻页键再次被触发时,也可以响应翻页键的翻页操作,在候选栏中加载下一组候选项。It should be noted that, before receiving the second character string, when it is detected that the page turning key is triggered again, the next group of candidates may be loaded in the candidate bar in response to the page turning operation of the page turning key.

步骤104,从所述候选项中筛选与所述辅助码匹配的目标候选项;Step 104, screening target candidates matching the auxiliary code from the candidates;

在具体实现中,该辅助码可以包括以下的一种或多种:In a specific implementation, the auxiliary code may include one or more of the following:

1、笔画辅助码,以字的笔画作为辅助输入。1. Stroke auxiliary code, using the strokes of characters as auxiliary input.

例如,h代表“横”,s代表“竖”,z代表“折”,p代表“撇”。For example, h represents "horizontal", s represents "vertical", z represents "folding", and p represents "skimming".

2、拆字辅助码:以字的拆开部分作为辅助输入。2. Auxiliary code for splitting characters: take the split part of a character as auxiliary input.

例如,“账”可拆成“贝”(bei)和“长”(chang),对应的辅助码为b和c。For example, "account" can be split into "bei" (bei) and "chang" (chang), and the corresponding auxiliary codes are b and c.

在筛选范围的选择中,为避免用户对候选项的查看产生遗漏,并且,去除已经查看的范围,可以将位于起始组及起始组之后的候选项设置为目标候选项集,从目标候选项集中筛选与所述辅助码匹配的目标候选项。In the selection of the screening range, in order to prevent the user from missing the candidates, and to remove the already viewed range, you can set the candidates located in the starting group and after the starting group as the target candidate set, and start from the target candidate The target candidates matching the auxiliary code are screened in the item set.

其中,起始组为检测到第二字符串时在候选栏中加载的候选项所在的组。Wherein, the starting group is the group where the candidates loaded in the candidate column are located when the second character string is detected.

例如,若用户在候选项中翻到第三页(即第三组候选项),输入第二字符串,则可以以第三组、及第三组以后的候选项作为筛选范围(即设置为目标候选项集)进行筛选。For example, if the user turns to the third page (that is, the third group of candidates) among the candidates and enters the second character string, the third group and the candidates after the third group can be used as the filtering range (that is, set to target candidate item set) for screening.

在筛选时,可以查询在翻页辅助码模式中设置的目标字位置,如首字、尾字、中间第N(N为正整数)字,等等。When screening, you can query the position of the target word set in the page-turning auxiliary code mode, such as the first word, the last word, the Nth (N is a positive integer) word in the middle, and so on.

在候选项中识别位于目标字位置的候选字,当候选字与辅助码匹配时,确定候选项为目标候选项。A candidate word located at the position of the target word is identified among the candidates, and when the candidate word matches the auxiliary code, the candidate is determined to be the target candidate.

以拆字辅助码为例,如图3C所示,翻页辅助码模式中设置的目标字位置为首字,若用户输入第一字符串“xian”之后,触发翻页键进入翻页辅助码模式,在翻页辅助码模式中继续输入第而二字符串“nx”,则可以从原候选项中筛选出拆字之后,拼音的首字母分别为“n”和“x”的目标候选项,由于“娴”拆字之后为“女”、“闲”,其首字母为“n”和“x”,被筛选出来。Take the character splitting auxiliary code as an example, as shown in Figure 3C, the position of the target word set in the page-turning auxiliary code mode is the first character, if the user enters the first character string "xian", trigger the page-turning key to enter the page-turning auxiliary code mode, If you continue to input the second character string "nx" in the page-turning auxiliary code mode, you can screen out the target candidates whose first letters of pinyin are "n" and "x" respectively after splitting characters from the original candidates. Xian" is separated into "female" and "leisure", and its initial letters are "n" and "x", which are selected.

步骤105,加载所述目标候选项。Step 105, loading the target candidate.

在本发明实施例中,可以将通过辅助码筛选出来目标候选项进行显示,以让用户进行选择。In the embodiment of the present invention, the target candidates filtered out by the auxiliary code may be displayed for the user to select.

例如,如图3C所示,用户在输入辅助码“nx”之后,可以在候选栏301中加载筛选出来的“嫌”、“娴”、“奾”、“姺”、“姺”。For example, as shown in FIG. 3C , after the user enters the auxiliary code "nx", the user can load the screened "san", "xian", "奾", "姺", "姺" in the candidate column 301.

由于筛选出来的目标候选也可能有多个,无法在一组中进行显示,因此,可以将目标候选项划分为一组或多组,在候选栏中加载其中一组目标候选项,如输入频率最高的一组目标候选项。Since there may be multiple target candidates screened out, they cannot be displayed in one group. Therefore, the target candidates can be divided into one or more groups, and one group of target candidates can be loaded in the candidate column, such as input frequency The highest set of target candidates.

若当前组没有所需的目标候选项,则用户可以点击翻页键,当检测到翻页键被触发时,可以响应翻页操作,加载下一组目标候选项。If the current group does not have the required target candidates, the user can click the page turning key, and when it is detected that the page turning key is triggered, the next set of target candidates can be loaded in response to the page turning operation.

当用户查找到所需的目标候选项时,可以通过点击相应的数字键、直接点击该目标候选项、按下空格键等方式触发上屏指示。When the user finds the desired target candidate, the on-screen indication can be triggered by clicking the corresponding number key, directly clicking the target candidate, or pressing the space bar.

当目标候选项上屏时,可以退出翻页辅助码模式,即接下来接收到的字符串可以用于查找相应的候选项。When the target candidate is on the screen, the page-turning auxiliary code mode can be exited, that is, the next received character string can be used to search for the corresponding candidate.

本发明实施例在触发翻页键的同时,进入翻页辅助码模式,通过输入辅助码,可以快速从众多的候选项中筛选出合适的目标候选项,翻页键的操作符合用户习惯,一键多用,无需再次点击其他功能按键进入辅助码模式,进入翻页辅助码模式的操作简便,提高了输入效率。The embodiment of the present invention enters the page-turning auxiliary code mode while triggering the page-turning key. By inputting the auxiliary code, a suitable target candidate can be quickly selected from a large number of candidates. The operation of the page-turning key conforms to the user's habits. The keys are multi-purpose, and there is no need to click other function keys again to enter the auxiliary code mode. The operation of entering the page-turning auxiliary code mode is simple, which improves the input efficiency.

对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described sequence of actions, because according to the embodiment of the present invention , certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

参照图4,示出了根据本发明一个实施例的一种基于辅助码的输入装置实施例的结构框图,具体可以包括如下模块:Referring to Fig. 4, it shows a structural block diagram of an embodiment of an auxiliary code-based input device according to an embodiment of the present invention, which may specifically include the following modules:

候选项加载模块401,适于在接收到第一字符串时,加载与所述第一字符串匹配的候选项;The candidate item loading module 401 is adapted to load a candidate item matching the first character string when receiving the first character string;

翻页辅助码模式判断模块402,适于在检测到翻页键被触发时,判断是否开启翻页辅助码模式;The page-turning auxiliary code mode judging module 402 is adapted to determine whether to enable the page-turning auxiliary code mode when it is detected that the page-turning key is triggered;

辅助码设置模块403,适于在开启翻页辅助码模式时,将接收到的第二字符串设置为辅助码;The auxiliary code setting module 403 is adapted to set the received second character string as the auxiliary code when the page turning auxiliary code mode is turned on;

目标候选项筛选模块404,适于从所述候选项中筛选与所述辅助码匹配的目标候选项;A target candidate screening module 404, adapted to screen the target candidates matching the auxiliary code from the candidates;

目标候选项加载模块405,适于加载所述目标候选项。A target candidate loading module 405, adapted to load the target candidate.

在本发明的一种可选实施例中,所述候选项加载模块401还可以适于:In an optional embodiment of the present invention, the candidate item loading module 401 may also be adapted to:

查找与所述第一字符串匹配的一组或多组候选项;finding one or more sets of candidates that match the first string;

在候选栏中加载其中一组候选项。Load one of the set of candidates in the candidate bar.

在本发明的一种可选实施例中,所述目标候选项筛选模块405还可以适于:In an optional embodiment of the present invention, the target candidate screening module 405 may also be adapted to:

将位于起始组及起始组之后的候选项设置为目标候选项集;Set the candidates located in the starting group and after the starting group as the target candidate set;

从所述目标候选项集中筛选与所述辅助码匹配的目标候选项;screening target candidates matching the auxiliary code from the set of target candidates;

其中,所述起始组为检测到第二字符串时在候选栏中加载的候选项所在的组。Wherein, the initial group is the group where the candidates loaded in the candidate column are located when the second character string is detected.

在本发明的一种可选实施例中,所述目标候选项筛选模块404还可以适于:In an optional embodiment of the present invention, the target candidate screening module 404 may also be adapted to:

查询在翻页辅助码模式中设置的目标字位置;Query the position of the target word set in the page turning auxiliary code mode;

在所述候选项中识别位于所述目标字位置的候选字;identifying a candidate word at the target word position in the candidate item;

当所述候选字与所述辅助码匹配时,确定所述候选项为目标候选项。When the candidate word matches the auxiliary code, it is determined that the candidate is a target candidate.

在本发明的一种可选实施例中,所述目标候选项加载模块405还可以适于:In an optional embodiment of the present invention, the target candidate loading module 405 may also be adapted to:

将所述目标候选项划分为一组或多组;dividing the target candidates into one or more groups;

在候选栏中加载其中一组目标候选项。Load one of the set of target candidates in the candidate bar.

在本发明的一种可选实施例中,所述目标候选项加载模块405还可以适于:In an optional embodiment of the present invention, the target candidate loading module 405 may also be adapted to:

当检测到翻页键被触发时,加载下一组目标候选项。When it is detected that the page turning key is triggered, load the next set of target candidates.

在本发明的一种可选实施例中,该装置还可以包括如下模块:In an optional embodiment of the present invention, the device may also include the following modules:

第一字符串显示模块,适于在字符串栏中显示所述第一字符串;a first character string display module, adapted to display the first character string in a character string column;

翻页辅助码模式标识显示模块,适于在所述第一字符串后显示翻页辅助码模式标识;The page-turning auxiliary code mode identification display module is adapted to display the page-turning auxiliary code mode identification after the first character string;

第二字符串显示模块,适于在所述翻页辅助码模式标识显示所述第二字符串。The second character string display module is adapted to display the second character string in the page-turning auxiliary code mode.

在本发明的一种可选实施例中,该装置还可以包括如下模块:In an optional embodiment of the present invention, the device may also include the following modules:

翻页辅助码模式退出模块,适于在所述目标候选项上屏时,退出翻页辅助码模式。The page-turning auxiliary code mode exit module is adapted to exit the page-turning auxiliary code mode when the target candidate is on the screen.

在本发明的一种可选实施例中,该装置还可以包括如下模块:In an optional embodiment of the present invention, the device may also include the following modules:

第一候选项翻页加载模块,适于在未开启到翻页辅助码模式时,在候选栏中加载下一组候选项。The first candidate page-turning loading module is adapted to load the next group of candidates in the candidate column when the page-turning auxiliary code mode is not turned on.

在本发明的一种可选实施例中,该装置还可以包括如下模块:In an optional embodiment of the present invention, the device may also include the following modules:

第二候选项翻页加载模块,适于在检测到翻页键再次被触发时,在候选栏中加载下一组候选项。The second candidate item page-turning loading module is adapted to load the next group of candidate items in the candidate column when it is detected that the page-turning key is triggered again.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的基于辅助码的输入设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the auxiliary code-based input device according to the embodiment of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

本发明实施例公开了A1、一种基于辅助码的输入方法,包括:The embodiment of the present invention discloses A1, an input method based on auxiliary codes, including:

当接收到第一字符串时,加载与所述第一字符串匹配的候选项;When receiving a first character string, loading candidates matching the first character string;

当检测到翻页键被触发时,判断是否开启翻页辅助码模式;When it is detected that the page turning key is triggered, it is judged whether to enable the page turning auxiliary code mode;

当开启翻页辅助码模式时,将接收到的第二字符串设置为辅助码;When the page-turning auxiliary code mode is turned on, set the received second character string as the auxiliary code;

从所述候选项中筛选与所述辅助码匹配的目标候选项;Screening target candidates matching the auxiliary code from the candidates;

加载所述目标候选项。Load the target candidate.

A2、如A1所述的方法,所述加载与所述第一字符串匹配的候选项的步骤包括:A2, the method as described in A1, the step of loading the candidates matching the first character string includes:

查找与所述第一字符串匹配的一组或多组候选项;finding one or more sets of candidates that match the first string;

在候选栏中加载其中一组候选项。Load one of the set of candidates in the candidate bar.

A3、如A2所述的方法,所述从所述候选项中筛选与所述辅助码匹配的目标候选项的步骤包括:A3, the method as described in A2, the step of screening the target candidates matching the auxiliary code from the candidates includes:

将位于起始组及起始组之后的候选项设置为目标候选项集;Set the candidates located in the starting group and after the starting group as the target candidate set;

从所述目标候选项集中筛选与所述辅助码匹配的目标候选项;screening target candidates matching the auxiliary code from the set of target candidates;

其中,所述起始组为检测到第二字符串时在候选栏中加载的候选项所在的组。Wherein, the initial group is the group where the candidates loaded in the candidate column are located when the second character string is detected.

A4、如A1或A2或A3所述的方法,所述从所述候选项中筛选与所述辅助码匹配的目标候选项的步骤包括:A4. The method as described in A1 or A2 or A3, the step of screening the target candidates matching the auxiliary code from the candidates includes:

查询在翻页辅助码模式中设置的目标字位置;Query the position of the target word set in the page turning auxiliary code mode;

在所述候选项中识别位于所述目标字位置的候选字;identifying a candidate word at the target word position in the candidate item;

当所述候选字与所述辅助码匹配时,确定所述候选项为目标候选项。When the candidate word matches the auxiliary code, it is determined that the candidate is a target candidate.

A5、如A1或A2或A3所述的方法,所述加载所述目标候选项的步骤包括:A5. The method described in A1 or A2 or A3, the step of loading the target candidate includes:

将所述目标候选项划分为一组或多组;dividing the target candidates into one or more groups;

在候选栏中加载其中一组目标候选项。Load one of the set of target candidates in the candidate bar.

A6、如A5所述的方法,所述加载所述目标候选项的步骤还包括:A6, the method as described in A5, the step of loading the target candidate also includes:

当检测到翻页键被触发时,加载下一组目标候选项。When it is detected that the page turning key is triggered, load the next set of target candidates.

A7、如A1或A2或A3或A6所述的方法,还包括:A7. The method as described in A1 or A2 or A3 or A6, further comprising:

在字符串栏中显示所述第一字符串;displaying said first string in a string column;

在所述第一字符串后显示翻页辅助码模式标识;After the first character string, the page-turning auxiliary code mode logo is displayed;

在所述翻页辅助码模式标识显示所述第二字符串。The second character string is displayed in the page-turning auxiliary code mode identifier.

A8、如A1或A2或A3或A6所述的方法,还包括:A8. The method as described in A1 or A2 or A3 or A6, further comprising:

当所述目标候选项上屏时,退出翻页辅助码模式。When the target candidate item is on the screen, exit the page turning auxiliary code mode.

A9、如A2或A3或A6所述的方法,还包括:A9. The method as described in A2 or A3 or A6, further comprising:

当未开启到翻页辅助码模式时,在候选栏中加载下一组候选项。When the page turning auxiliary code mode is not turned on, load the next set of candidates in the candidate column.

A10、如A2或A3或A6所述的方法,在所述当开启翻页辅助码模式时,将接收到的第二字符串设置为辅助码的步骤之前,所述方法还包括:A10, the method as described in A2 or A3 or A6, before the step of setting the received second character string as the auxiliary code when the page turning auxiliary code mode is turned on, the method also includes:

当检测到翻页键再次被触发时,在候选栏中加载下一组候选项。When it is detected that the page turning key is triggered again, the next set of candidate items is loaded in the candidate bar.

本发明实施例还公开了B11、一种基于辅助码的输入装置,包括:The embodiment of the present invention also discloses B11, an auxiliary code-based input device, including:

候选项加载模块,适于在接收到第一字符串时,加载与所述第一字符串匹配的候选项;a candidate loading module, adapted to load candidates matching the first character string when the first character string is received;

翻页辅助码模式判断模块,适于在检测到翻页键被触发时,判断是否开启翻页辅助码模式;The page-turning auxiliary code mode judging module is suitable for judging whether to enable the page-turning auxiliary code mode when the page-turning key is detected to be triggered;

辅助码设置模块,适于在开启翻页辅助码模式时,将接收到的第二字符串设置为辅助码;The auxiliary code setting module is adapted to set the received second character string as the auxiliary code when the page-turning auxiliary code mode is turned on;

目标候选项筛选模块,适于从所述候选项中筛选与所述辅助码匹配的目标候选项;a target candidate screening module, adapted to screen target candidates matching the auxiliary code from the candidates;

目标候选项加载模块,适于加载所述目标候选项。A target candidate loading module adapted to load the target candidate.

B12、如B11所述的装置,所述候选项加载模块还适于:B12, the device as described in B11, the candidate item loading module is also suitable for:

查找与所述第一字符串匹配的一组或多组候选项;finding one or more sets of candidates that match the first string;

在候选栏中加载其中一组候选项。Load one of the set of candidates in the candidate bar.

B13、如B12所述的装置,所述目标候选项筛选模块还适于:B13, the device as described in B12, the target candidate screening module is also suitable for:

将位于起始组及起始组之后的候选项设置为目标候选项集;Set the candidates located in the starting group and after the starting group as the target candidate set;

从所述目标候选项集中筛选与所述辅助码匹配的目标候选项;screening target candidates matching the auxiliary code from the set of target candidates;

其中,所述起始组为检测到第二字符串时在候选栏中加载的候选项所在的组。Wherein, the initial group is the group where the candidates loaded in the candidate column are located when the second character string is detected.

B14、如B11或B12或B13所述的装置,所述目标候选项筛选模块还适于:B14. The device as described in B11 or B12 or B13, the target candidate screening module is also suitable for:

查询在翻页辅助码模式中设置的目标字位置;Query the position of the target word set in the page turning auxiliary code mode;

在所述候选项中识别位于所述目标字位置的候选字;identifying a candidate word at the target word position in the candidate item;

当所述候选字与所述辅助码匹配时,确定所述候选项为目标候选项。When the candidate word matches the auxiliary code, it is determined that the candidate is a target candidate.

B15、如B11或B12或B13所述的装置,所述目标候选项加载模块还适于:B15. The device as described in B11 or B12 or B13, the target candidate loading module is also suitable for:

将所述目标候选项划分为一组或多组;dividing the target candidates into one or more groups;

在候选栏中加载其中一组目标候选项。Load one of the set of target candidates in the candidate bar.

B16、如B15所述的装置,所述目标候选项加载模块还适于:B16, the device as described in B15, the target candidate loading module is also suitable for:

当检测到翻页键被触发时,加载下一组目标候选项。When it is detected that the page turning key is triggered, load the next set of target candidates.

B17、如B11或B12或B13或B16所述的装置,还包括:B17. The device as described in B11 or B12 or B13 or B16, further comprising:

第一字符串显示模块,适于在字符串栏中显示所述第一字符串;a first character string display module, adapted to display the first character string in a character string column;

翻页辅助码模式标识显示模块,适于在所述第一字符串后显示翻页辅助码模式标识;The page-turning auxiliary code mode identification display module is adapted to display the page-turning auxiliary code mode identification after the first character string;

第二字符串显示模块,适于在所述翻页辅助码模式标识显示所述第二字符串。The second character string display module is adapted to display the second character string in the page-turning auxiliary code mode.

B18、如B11或B12或B13或B16所述的装置,还包括:B18. The device as described in B11 or B12 or B13 or B16, further comprising:

翻页辅助码模式退出模块,适于在所述目标候选项上屏时,退出翻页辅助码模式。The page-turning auxiliary code mode exit module is adapted to exit the page-turning auxiliary code mode when the target candidate is on the screen.

B19、如B12或B13或B16所述的装置,还包括:B19. The device as described in B12 or B13 or B16, further comprising:

第一候选项翻页加载模块,适于在未开启到翻页辅助码模式时,在候选栏中加载下一组候选项。The first candidate page-turning loading module is adapted to load the next group of candidates in the candidate column when the page-turning auxiliary code mode is not turned on.

B20、如B12或B13或B16所述的装置,还包括:B20. The device as described in B12 or B13 or B16, further comprising:

第二候选项翻页加载模块,适于在检测到翻页键再次被触发时,在候选栏中加载下一组候选项。The second candidate item page-turning loading module is adapted to load the next group of candidate items in the candidate column when it is detected that the page-turning key is triggered again.

Claims (10)

1. the input method based on auxiliary code, comprising:
In the time receiving the first character string, load the candidate item with described the first string matching;
In the time detecting that page turning key is triggered, judge whether to open page turning auxiliary code pattern;
In the time opening page turning auxiliary code pattern, the second character string receiving is set to auxiliary code;
The target candidate item that screening is mated with described auxiliary code from described candidate item;
Load described target candidate item.
2. the method for claim 1, is characterized in that, described loading and described the first characterThe step of the candidate item of string coupling comprises:
Search one or more groups candidate item with described the first string matching;
In candidate bar, load wherein one group of candidate item.
3. method as claimed in claim 2, is characterized in that, describedly from described candidate item, screensThe step of the target candidate item mating with described auxiliary code comprises:
Be positioned at initial set and initial set candidate item afterwards and be set to target candidate item collection;
The target candidate item of concentrating screening to mate with described auxiliary code from described target candidate item;
Wherein, described initial set is the candidate item place loading in candidate bar when the second character string detectedGroup.
4. the method as described in claim 1 or 2 or 3, is characterized in that, described from described candidateThe step of the target candidate item that in, screening is mated with described auxiliary code comprises:
The target word position that inquiry arranges in page turning auxiliary code pattern;
In described candidate item, identification is positioned at the candidate word of described target word position;
In the time that described candidate word mates with described auxiliary code, determine that described candidate item is target candidate item.
5. the method as described in claim 1 or 2 or 3, is characterized in that, the described order of described loadingThe step of mark candidate item comprises:
Described target candidate item is divided into one or more groups;
In candidate bar, load wherein one group of target candidate item.
6. method as claimed in claim 5, is characterized in that, the described target candidate item of described loadingStep also comprise:
In the time detecting that page turning key is triggered, load next group target candidate item.
7. the method as described in claim 1 or 2 or 3 or 6, is characterized in that, also comprises:
In character string hurdle, show described the first character string;
After described the first character string, show page turning auxiliary code pattern identification;
Show described the second character string at described page turning auxiliary code pattern identification.
8. the method as described in claim 1 or 2 or 3 or 6, is characterized in that, also comprises:
In the time of described target candidate Xiang Shangping, exit page turning auxiliary code pattern.
9. the method as described in claim 2 or 3 or 6, is characterized in that, also comprises:
In the time not being opened to page turning auxiliary code pattern, in candidate bar, load next group candidate item.
10. the input unit based on auxiliary code, comprising:
Candidate item load-on module, is suitable in the time receiving the first character string, loads and described the first character stringThe candidate item of coupling;
Page turning auxiliary code mode decision module, is suitable for, in the time detecting that page turning key is triggered, judging whether outOpen page turning auxiliary code pattern;
Auxiliary code arranges module, is suitable in the time opening page turning auxiliary code pattern, by the second character receivingString is set to auxiliary code;
Target candidate item screening module, is suitable for the order that screening is mated with described auxiliary code from described candidate itemMark candidate item;
Target candidate item load-on module, is suitable for loading described target candidate item.
CN201510958964.1A 2015-12-17 2015-12-17 Auxiliary code based input method and apparatus Pending CN105607754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510958964.1A CN105607754A (en) 2015-12-17 2015-12-17 Auxiliary code based input method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510958964.1A CN105607754A (en) 2015-12-17 2015-12-17 Auxiliary code based input method and apparatus

Publications (1)

Publication Number Publication Date
CN105607754A true CN105607754A (en) 2016-05-25

Family

ID=55987738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510958964.1A Pending CN105607754A (en) 2015-12-17 2015-12-17 Auxiliary code based input method and apparatus

Country Status (1)

Country Link
CN (1) CN105607754A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450742A (en) * 2016-06-01 2017-12-08 中国移动通信有限公司研究院 A kind of information processing method, device and terminal
CN109144290A (en) * 2018-08-17 2019-01-04 科大讯飞股份有限公司 A kind of candidate entry method of adjustment, device, equipment and readable storage medium storing program for executing
CN113495656A (en) * 2020-04-08 2021-10-12 北京搜狗科技发展有限公司 Input method, input device and input device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889018A (en) * 2005-06-29 2007-01-03 英华达(上海)电子有限公司 Method for realizing fast inputting on cell phone
CN102081464A (en) * 2009-11-28 2011-06-01 段起阳 Input method for selecting candidate words by using word choosing mode
CN102478969A (en) * 2010-11-25 2012-05-30 腾讯科技(深圳)有限公司 Method and device for screening candidate Chinese characters
CN102810013A (en) * 2012-06-21 2012-12-05 周志农 Pinyin auxiliary coding and inputting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889018A (en) * 2005-06-29 2007-01-03 英华达(上海)电子有限公司 Method for realizing fast inputting on cell phone
CN102081464A (en) * 2009-11-28 2011-06-01 段起阳 Input method for selecting candidate words by using word choosing mode
CN102478969A (en) * 2010-11-25 2012-05-30 腾讯科技(深圳)有限公司 Method and device for screening candidate Chinese characters
CN102810013A (en) * 2012-06-21 2012-12-05 周志农 Pinyin auxiliary coding and inputting method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450742A (en) * 2016-06-01 2017-12-08 中国移动通信有限公司研究院 A kind of information processing method, device and terminal
CN109144290A (en) * 2018-08-17 2019-01-04 科大讯飞股份有限公司 A kind of candidate entry method of adjustment, device, equipment and readable storage medium storing program for executing
CN113495656A (en) * 2020-04-08 2021-10-12 北京搜狗科技发展有限公司 Input method, input device and input device

Similar Documents

Publication Publication Date Title
CN102449579B (en) All-in-one chinese character input method
US8370393B2 (en) Process and apparatus for selecting an item from a database
WO2016107344A1 (en) Method and device for screening on-screen candidate items of input method
CN104679278A (en) Character input method and device
US20150234938A1 (en) Method and electronic terminal for searching for contact in directory
CN105468256A (en) Input method keyboard switching method and device
CN104808903B (en) Text selection method and device
CN105528338B (en) Input method and system for intelligent prediction
CN106528603A (en) Application program searching method and mobile terminal
CN104142991A (en) A search method, search client, and electronic device
CN102508558A (en) Input system, terminal and input method
CN104598507A (en) Information searching method and device
CN103995601A (en) Method and device for achieving input method
CN106897016A (en) A kind of searching method based on touch screen terminal, device and touch screen terminal
CN105607754A (en) Auxiliary code based input method and apparatus
WO2016034066A1 (en) Chinese character recognition method and device, and terminal
CN104615268B (en) A kind of loading method and device of candidate's text based on input
CN112698734A (en) Candidate word display method and device and electronic equipment
CN104503679A (en) Searching method and searching device based on terminal interface touch operation
WO2008038993A1 (en) Database system and its handling method for ideogram
CN104571584B (en) Character input method and device
WO2012015021A1 (en) Stroke and structure input method and system
JP6002328B2 (en) Search system, search program, and search condition input method
US20150347004A1 (en) Indic language keyboard interface
TW201312375A (en) Method and system for inputting Chinese character with unknown pronunciation using pinyin input method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525