CN113515226A - 一种基于集成输入法的软键盘 - Google Patents

一种基于集成输入法的软键盘 Download PDF

Info

Publication number
CN113515226A
CN113515226A CN202110514479.0A CN202110514479A CN113515226A CN 113515226 A CN113515226 A CN 113515226A CN 202110514479 A CN202110514479 A CN 202110514479A CN 113515226 A CN113515226 A CN 113515226A
Authority
CN
China
Prior art keywords
input
keyboard
chinese
characters
area
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
CN202110514479.0A
Other languages
English (en)
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.)
Nanjing Zhiying Artificial Intelligence Research Institute Co ltd
Nanjing Xuanying Network Technology Co ltd
Original Assignee
Nanjing Zhiying Artificial Intelligence Research Institute Co ltd
Nanjing Xuanying Network Technology 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 Nanjing Zhiying Artificial Intelligence Research Institute Co ltd, Nanjing Xuanying Network Technology Co ltd filed Critical Nanjing Zhiying Artificial Intelligence Research Institute Co ltd
Priority to CN202110514479.0A priority Critical patent/CN113515226A/zh
Publication of CN113515226A publication Critical patent/CN113515226A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

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)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种基于集成输入法的软键盘,包括文字显示区域、中/英键盘输入区域、键盘选择区域、数据键盘区域及手写区域,文字显示区域用于显示键盘中英文或者手写中英文匹配的字符;中/英键盘输入区域用于切换中英文输入并调用输入法输入对应的汉字或者字母;键盘选择区域用于选择键盘的输入方式;数据键盘区域用于输入数字;手写区域用于利用手写输入法实现手写识别功能。有益效果:产品终端部署完成后,键盘即可使用,部署简单快捷,减少了对第三方输入法软件的依赖,同时能自我定制键盘的界面以及要实现的功能,可适用于不同环境以及设备,有效地解决了终端在使用时无法安装第三方输入法以及第三方输入法无法满足的使用需求。

Description

一种基于集成输入法的软键盘
技术领域
本发明涉及软键盘技术领域,具体来说,涉及一种基于集成输入法的软键盘。
背景技术
计算设备持续进化为不同的配置,诸如笔记本计算机、个人数字助理(PDA)、蜂窝电话/智能电话等等。这些设备中的许多正在受到市场的压力而变得尽可能的小。除了尺寸的压力之外,设备的图形用户界面(GUI)继续是设备的中心关注点,用户趋向于希望GUI变得尽可能的大。朝着该目标,许多设备采用了触敏屏幕,其可进行执行输入和输出功能。这些配置可使用软键盘(即表示在触敏屏幕上的虚拟键盘,以替换或扩充传统键盘)。
因此,诸如键盘之类的传统输入设备在尺寸上已经被减小,或被去除,以将空间用于触敏屏幕。虽然软键盘提供了多种优点,但是传统的软键盘在使用时均需要下载输入法才能实现输入和输出功能,目前,常用的输入法有搜狗,百度等,这些输入法都需要下载安装,步骤比较繁琐、小广告很多。同时此类的输入法无法定制化界面,不支持跨平台,在linux下无法很好的使用。
针对相关技术中的问题,目前尚未提出有效的解决方案。
发明内容
针对相关技术中的问题,本发明提出一种基于集成输入法的软键盘,以克服现有相关技术所存在的上述技术问题。
为此,本发明采用的具体技术方案如下:
一种基于集成输入法的软键盘,该软键盘包括文字显示区域、中/英键盘输入区域、键盘选择区域、数据键盘区域及手写区域;
其中,所述文字显示区域用于显示键盘中英文或者手写中英文匹配的字符;
所述中/英键盘输入区域用于切换中英文输入并调用输入法输入对应的汉字或者字母;
所述键盘选择区域用于选择键盘的输入方式,该输入方式包括键盘输入或者手写输入;
所述数据键盘区域用于输入数字;
所述手写区域用于利用手写输入法实现手写识别功能。
进一步的,所述文字显示区域每行显示8个字符或者词组,上一页以及下一页可以显示额外的匹配结果。
进一步的,所述中/英键盘输入区域为26键输入,所述数据键盘区域为12宫格小键盘并列存在。
进一步的,所述中/英键盘输入区域包括中文输入和英文输入的两种输入方式。
进一步的,所述英文输入方式采用以下步骤实现:
当输入英文或者字符时,调用系统的键盘驱动,并将点击的字符映射到当前活动窗口的编辑区域,实现点击英文或字符输入框中就显示该英文或字符。
进一步的,所述中文输入方式的拼音输入调用预设字体库,运用意图算法实现显示对应输入的中文字符。
进一步的,所述拼音输入调用预设字体库,运用意图算法实现显示对应输入的中文字符具体包括以下步骤:
整理一份以预设字体库为原型的字体库,建立字符以及字符组合的汉字映射关系;
接收用户输入的字符,分析用户可能想要的汉字意图,并配出可能存在的预设个数的汉字或者词组;
文字显示区域拿取字符列表中前8个汉字或者词组进行显示,其他汉字或者词组通过上一页和下一页进行显示;
用户选取所需的汉字或者词组,程序调用系统的键盘驱动,将点击的字符映射到当前活动窗口的编辑区域,实现点击汉字或者词组输入框中就显示该汉字或者词组。
进一步的,所述预设个数的汉字或者词组为前100个与用于输入字符相对应的汉字或者词组,若匹配的汉字或词组不足100个则全部存储为可能的汉字或词组。
进一步的,所述其他汉字或者词组通过上一页和下一页进行显示包括以下步骤:
所述文字显示区域记录当前位置,然后通过下一页、上一页进行显示字符列表中固定位置的8个汉字或者词组,末页不够8个的则显示剩下的汉字或者词组。
进一步的,所述手写输入法集成windows Ime手写识别引擎,实现手写识别功能,其中,所述手写输入法采用以下步骤实现:
提取用户手写输入的单字特征,落笔顺序,笔画、形状、轮廓、偏旁,建立手写模板库和单字特征数据库,对用户的字进行模板匹配,不能确定则给出类似字,用户选择后,将点击的字符映射到当前活动窗口的编辑区域。
本发明的有益效果为:本发明的产品终端部署完成后,键盘即可使用,部署简单快捷,减少了对第三方输入法软件的依赖,同时能自我定制键盘的界面以及要实现的功能,可适用于不同环境以及设备,有效地解决了终端在使用时无法安装第三方输入法以及第三方输入法无法满足的使用需求。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是根据本发明实施例的一种基于集成输入法的软键盘的结构示意图之一;
图2是根据本发明实施例的一种基于集成输入法的软键盘的结构示意图之二。
具体实施方式
为进一步说明各实施例,本发明提供有附图,这些附图为本发明揭露内容的一部分,其主要用以说明实施例,并可配合说明书的相关描述来解释实施例的运作原理,配合参考这些内容,本领域普通技术人员应能理解其他可能的实施方式以及本发明的优点,图中的组件并未按比例绘制,而类似的组件符号通常用来表示类似的组件。
根据本发明的实施例,提供了一种基于集成输入法的软键盘。
现结合附图和具体实施方式对本发明进一步说明,如图1-2所示,根据本发明实施例的一种基于集成输入法的软键盘,该软键盘的整体界面使用纯Qt绘制而成,支持跨平台功能,该软键盘包括文字显示区域1、中/英键盘输入区域2、键盘选择区域3、数据键盘区域4及手写区域5;
其中,所述文字显示区域1用于显示键盘中英文或者手写中英文匹配的字符;
所述中/英键盘输入区域2用于切换中英文输入并调用输入法输入对应的汉字或者字母;
所述键盘选择区域3用于选择键盘的输入方式,该输入方式包括键盘输入或者手写输入;
所述数据键盘区域4用于输入数字;
所述手写区域5用于利用手写输入法实现手写识别功能。
在一个实施例中,所述文字显示区域1每行显示8个字符或者词组,上一页以及下一页可以显示额外的匹配结果。
在一个实施例中,为了习惯用户使用键盘的习惯,键盘样式设与市面上所存在的实体物理键盘大致相同,部分与产品的特定做了优化和修改,所述中/英键盘输入区域2为26键输入,所述数据键盘区域4为12宫格小键盘并列存在。
在一个实施例中,所述中/英键盘输入区域2包括中文输入和英文输入的两种输入方式。
在一个实施例中,所述英文输入方式采用以下步骤实现:
当输入英文或者字符时,调用系统的键盘驱动,并将点击的字符映射到当前活动窗口的编辑区域,实现点击什么英文或字符输入框中就显示该英文或字符。
在一个实施例中,所述中文输入方式的拼音输入调用谷歌底层字体库,运用意图算法实现显示对应输入的中文字符。
在一个实施例中,所述拼音输入调用预设字体库,运用意图算法实现显示对应输入的中文字符具体包括以下步骤:
整理一份以谷歌底层字体库为原型的字体库,建立字符以及字符组合的汉字映射关系(比如字体库中记载字符a对应 啊 阿 锕....锕);
接收用户输入的字符,分析用户可能想要的汉字意图,并配出可能存在的预设个数的汉字或者词组;
文字显示区域1拿取字符列表中前8个汉字或者词组进行显示,其他汉字或者词组通过上一页和下一页进行显示;
用户选取所需的汉字或者词组,程序调用系统的键盘驱动,将点击的字符映射到当前活动窗口的编辑区域,实现点击汉字或者词组输入框中就显示该汉字或者词组。
在一个实施例中,所述预设个数的汉字或者词组为前100个与用于输入字符相对应的汉字或者词组,若匹配的汉字或词组不足100个则全部存储为可能的汉字或词组。
具体的,比如从用户那边接受了一个字符组合输入,xy,我们将穷举xv全拼的所有可能性,比如xy可能是xv,yao,xv,yi等等,然后将每种可能性的词组循环。存入代码中定义的一个字符列表里面,字符列表最多存储100个汉字或者词组,这个就是意图算法的实现原因。
在一个实施例中,所述其他汉字或者词组通过上一页和下一页进行显示包括以下步骤:
所述文字显示区域1记录当前位置,然后通过下一页、上一页进行显示字符列表中固定位置的8个汉字或者词组,末页不够8个的则显示剩下的汉字或者词组。
为了更好地理解上述技术方案,以下对中文输入法的实现的整个过程进行举例说明,具体如下:
步骤一:用户在键盘中切换为输入中文并键入了xy两个字符(接收用户操作);
步骤二:意图算法根据xy两个字符匹配字体库有关xy的所有组成项,穷举xy全拼的所有分析可能的全拼,xy可能是xvyao、xieyi、xianyou、xiangying等等,意图算法根据字体库中的映射关系根据第一可能性轮询记录,加入的一个空的字体列表里面去(第一可能性轮询记录的意思是比如xy的全拼可能是xvyao,xieyi这两种,xvyao的中文词组有需要、须要、徐瑶等等,xieyi的词组有协议、谢意、写意等等。那么意图算法就会将需要、协议、须要、写意、徐瑶、谢意依次加入到字体列表里面去);
步骤三:文字显示区域获取字体列表的记录的汉字或者词组,根据存放的顺序依次展现汉字或者词组,不足8个的后面为空,超过8个的通过上一页和下一页记录字符列表的index值,依序读取;
步骤四:用户点击文字显示区域的汉字或者词组,集成输入法的软键盘程序调用系统的键盘驱动,,将点击的字符映射到当前活动窗口的编辑区域,形成点什么输入框中就显示什么的效果。
在一个实施例中,所述手写输入法集成windows Ime手写识别引擎,实现手写识别功能,其中,所述手写输入法采用以下步骤实现:
提取用户手写输入的单字特征,落笔顺序,笔画、形状、轮廓、偏旁,建立手写模板库和单字特征数据库,对用户的字进行模板匹配,不能确定则给出类似字,用户选择后,将点击的字符映射到当前活动窗口的编辑区域,此外,本实施例中当用户选择后,还可以利用单词库和语句库进行联想提示, 以增加用户输入速度。
此外,本实施例中基于集成输入法的软键盘的使用流程如下:
步骤一:无需安装输入法,直接启动键盘,选择键盘或者手写功能,选择键盘中英文输入方式;
步骤二:手写出汉字/英文或者通过键盘输入汉字/英文。文字显示区域自动显示匹配项;
步骤三:点击文字区域中的选项,选项中的内容会自动出现在鼠标焦点编辑区域。
本发明的输入法是由C++纯原生实现,轻量级,减少依赖库;
本发明可定制化开发,适用不同环境以及设备;
本发明可移植性强,适用windows,Linux以及嵌入式。
为了更好地理解本发明的上述技术方案,本实施例中中文输入法实现的核心代码如下:
void SearchCN(const QString &gemfield)
{
HanziModel.clear();
if (gemfield == "")
{
emit pinyinTextChanged("");
return;
}
im_reset_search();
int num = im_search(gemfield.toLatin1().data(), gemfield.size());
const uint16 *pos;
int size = im_get_spl_start_pos(pos);
QString py = gemfield;
for (int i = size-1; i > 0; i--)
{
py.insert(pos[i], "'");
}
py.replace("''", "'");
emit pinyinTextChanged(py);
if (num > 100)
{
num = 100;
}
char16 buf[32]={0};
for (int i = 0; i < num; i++)
{
im_get_candidate(i, buf, 32);
HanziModel << QString::fromUtf16(buf);
}
}
其中,手写输入法的实现过程(调用底层windows Ime手写识别库)源码如下:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using Microsoft.Ink; 引用:Micosoft Tablet PC
//using Microsoft.Ink.Analysis;//Windows Vista
namespace XPTabletPC
{
/// <summary>
/// 手写识别
/// </summary>
public partial class Form2 : Form
{
InkCollector ic;
RecognizerContext rct;
// Recognizer rc;
string FullCACText;
/// <summary>
///
/// </summary>
public Form2()
{
InitializeComponent();
}
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Form2_Load( object sender, EventArgs e)
{
//this.rct.RecognitionWithAlternates += new RecognizerContextRecognitionWithAlternatesEventHandler(rct_RecognitionWithAlternates);
ic = new InkCollector(PictureboxInk.Handle);
this .ic.Stroke += new InkCollectorStrokeEventHandler(ic_Stroke);
ic.Enabled = true ;
ink_();
// this.ic.Stroke += newInkCollectorStrokeEventHandler(ic_Stroke);
this .rct.RecognitionWithAlternates += newRecognizerContextRecognitionWithAlternatesEventHandler(rct_RecognitionWithAlternates);
rct.Strokes = ic.Ink.Strokes;
}
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void rct_RecognitionWithAlternates( object sender, RecognizerContextRecognitionWithAlternatesEventArgs e)
{
string ResultString = "" ;
RecognitionAlternates alts;
if (e.RecognitionStatus == RecognitionStatus.NoError)
{
alts = e.Result.GetAlternatesFromSelection();
foreach (RecognitionAlternate alt in alts)
{
ResultString = ResultString + alt.ToString() + "" ;
}
}
FullCACText = ResultString.Trim();
Control.CheckForIllegalCrossThreadCalls = false ;
textBox1.Text = FullCACText;
returnString(FullCACText);
Control.CheckForIllegalCrossThreadCalls = true ;
}
/// <summary>
///
/// </summary>
/// <param name="str"></param>
private void returnString( string str)
{
string [] str_temp = str.Split( ' ' );
string str_temp1 = "shibie_" ;
string str_temp2 = "" ;
if (str_temp.Length > 0)
{
for ( int i = 0; i < str_temp.Length; i++)
{
str_temp2 = str_temp1 + i.ToString();
Control[] con_temp = Controls.Find(str_temp2,true );
if (con_temp.Length > 0)
{
((Button)(con_temp[0])).Text = str_temp[i];
}
}
}
}
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void ic_Stroke( object sender, InkCollectorStrokeEventArgse)
{
rct.StopBackgroundRecognition();
rct.Strokes.Add(e.Stroke);
rct.CharacterAutoCompletion = RecognizerCharacterAutoCompletionMode.Full;
rct.BackgroundRecognizeWithAlternates(0);
}
/// <summary>
///
/// </summary>
private void ink_()
{
Recognizers recos = new Recognizers();
Recognizer chineseReco = recos.GetDefaultRecognizer();
rct = chineseReco.CreateRecognizerContext();
}
/// <summary>
///
/// </summary>
private void ic_Stroke()
{
}
/// <summary>
/// 获取字
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button1_Click( object sender, EventArgs e)
{
this .textBox1.Text = "" ;
textBox1.SelectedText = ic.Ink.Strokes.ToString();
/* if (0 == rc.Count)
{
MessageBox.Show("There are no handwritingrecognizers installed. You need to have at least one in order to recognizeink.");
}
else
{
// Note that the Strokes' ToString() method is a
// shortcut for retrieving the best match usingthe
// default recognizer. The same result can alsobe
// obtained using the RecognizerContext. For an
// example, uncomment the following lines of code:
//
RecognizerContext myRecoContext = newRecognizerContext();
myRecoContext.CharacterAutoCompletion = RecognizerCharacterAutoCompletionMode.Full;
RecognitionStatus status;
RecognitionResult recoResult;
//
myRecoContext.Strokes = ic.Ink.Strokes;
recoResult = myRecoContext.Recognize(out status);
textBox1.SelectedText = recoResult.TopString;
//
// textBox1.SelectedText = ic.Ink.Strokes.ToString();
}*/
}
/// <summary>
/// 清除
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button2_Click( object sender, EventArgs e)
{
if (!ic.CollectingInk)
{
Strokes strokesToDelete = ic.Ink.Strokes;
rct.StopBackgroundRecognition();
ic.Ink.DeleteStrokes(strokesToDelete);
rct.Strokes = ic.Ink.Strokes;
ic.Ink.DeleteStrokes(); //清除手写区域笔画;
PictureboxInk.Refresh(); //刷新手写区域
}
}
/// <summary>
/// 选择颜色
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button3_Click( object sender, EventArgs e)
{
colorDialog1.FullOpen = true ;
colorDialog1.ShowDialog();
ic.DefaultDrawingAttributes.Color = colorDialog1.Color;
综上所述,借助于本发明的上述技术方案,本发明的产品终端部署完成后,键盘即可使用,部署简单快捷,减少了对第三方输入法软件的依赖,同时能自我定制键盘的界面以及要实现的功能,可适用于不同环境以及设备,有效地解决了终端在使用时无法安装第三方输入法以及第三方输入法无法满足的使用需求。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (10)

1.一种基于集成输入法的软键盘,其特征在于,该软键盘包括文字显示区域(1)、中/英键盘输入区域(2)、键盘选择区域(3)、数据键盘区域(4)及手写区域(5);
其中,所述文字显示区域(1)用于显示键盘中英文或者手写中英文匹配的字符;
所述中/英键盘输入区域(2)用于切换中英文输入并调用输入法输入对应的汉字或者字母;
所述键盘选择区域(3)用于选择键盘的输入方式,该输入方式包括键盘输入或者手写输入;
所述数据键盘区域(4)用于输入数字;
所述手写区域(5)用于利用手写输入法实现手写识别功能。
2.根据权利要求1所述的一种基于集成输入法的软键盘,其特征在于,所述文字显示区域(1)每行显示8个字符或者词组,上一页以及下一页可以显示额外的匹配结果。
3.根据权利要求1所述的一种基于集成输入法的软键盘,其特征在于,所述中/英键盘输入区域(2)为26键输入,所述数据键盘区域(4)为12宫格小键盘并列存在。
4.根据权利要求3所述的一种基于集成输入法的软键盘,其特征在于,所述中/英键盘输入区域(2)包括中文输入和英文输入的两种输入方式。
5.根据权利要求4所述的一种基于集成输入法的软键盘,其特征在于,所述英文输入方式采用以下步骤实现:
当输入英文或者字符时,调用系统的键盘驱动,并将点击的字符映射到当前活动窗口的编辑区域,实现点击英文或字符输入框中就显示该英文或字符。
6.根据权利要求4所述的一种基于集成输入法的软键盘,其特征在于,所述中文输入方式的拼音输入调用预设字体库,运用意图算法实现显示对应输入的中文字符。
7.根据权利要求6所述的一种基于集成输入法的软键盘,其特征在于,所述拼音输入调用预设字体库,运用意图算法实现显示对应输入的中文字符具体包括以下步骤:
整理一份以预设字体库为原型的字体库,建立字符以及字符组合的汉字映射关系;
接收用户输入的字符,分析用户可能想要的汉字意图,并配出可能存在的预设个数的汉字或者词组;
文字显示区域(1)拿取字符列表中前8个汉字或者词组进行显示,其他汉字或者词组通过上一页和下一页进行显示;
用户选取所需的汉字或者词组,程序调用系统的键盘驱动,将点击的字符映射到当前活动窗口的编辑区域,实现点击汉字或者词组输入框中就显示该汉字或者词组。
8.根据权利要求7所述的一种基于集成输入法的软键盘,其特征在于,所述预设个数的汉字或者词组为前100个与用于输入字符相对应的汉字或者词组,若匹配的汉字或词组不足100个则全部存储为可能的汉字或词组。
9.根据权利要求7所述的一种基于集成输入法的软键盘,其特征在于,所述其他汉字或者词组通过上一页和下一页进行显示包括以下步骤:
所述文字显示区域(1)记录当前位置,然后通过下一页、上一页进行显示字符列表中固定位置的8个汉字或者词组,末页不够8个的则显示剩下的汉字或者词组。
10.根据权利要求1所述的一种基于集成输入法的软键盘,其特征在于,所述手写输入法集成windows Ime手写识别引擎,实现手写识别功能,其中,所述手写输入法采用以下步骤实现:
提取用户手写输入的单字特征,落笔顺序,笔画、形状、轮廓、偏旁,建立手写模板库和单字特征数据库,对用户的字进行模板匹配,不能确定则给出类似字,用户选择后,将点击的字符映射到当前活动窗口的编辑区域。
CN202110514479.0A 2021-05-12 2021-05-12 一种基于集成输入法的软键盘 Pending CN113515226A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110514479.0A CN113515226A (zh) 2021-05-12 2021-05-12 一种基于集成输入法的软键盘

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110514479.0A CN113515226A (zh) 2021-05-12 2021-05-12 一种基于集成输入法的软键盘

Publications (1)

Publication Number Publication Date
CN113515226A true CN113515226A (zh) 2021-10-19

Family

ID=78064389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110514479.0A Pending CN113515226A (zh) 2021-05-12 2021-05-12 一种基于集成输入法的软键盘

Country Status (1)

Country Link
CN (1) CN113515226A (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1648836A (zh) * 2004-01-19 2005-08-03 徐新意 用于触摸屏输入的软键盘
CN102981767A (zh) * 2012-11-28 2013-03-20 中国地质大学(武汉) 一种单个汉字手写识别方法及系统
CN104536590A (zh) * 2014-12-24 2015-04-22 同济大学 基于西夏文声韵字根输入法的嵌入式软键盘系统
CN105468256A (zh) * 2015-11-20 2016-04-06 北京奇虎科技有限公司 一种输入法键盘的切换方法和装置
CN107219996A (zh) * 2017-05-04 2017-09-29 惠州Tcl移动通信有限公司 自动切换键盘的方法、存储设备及移动终端
CN107608533A (zh) * 2017-08-24 2018-01-19 广东雅达电子股份有限公司 一种轻量型的嵌入式输入法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1648836A (zh) * 2004-01-19 2005-08-03 徐新意 用于触摸屏输入的软键盘
CN102981767A (zh) * 2012-11-28 2013-03-20 中国地质大学(武汉) 一种单个汉字手写识别方法及系统
CN104536590A (zh) * 2014-12-24 2015-04-22 同济大学 基于西夏文声韵字根输入法的嵌入式软键盘系统
CN105468256A (zh) * 2015-11-20 2016-04-06 北京奇虎科技有限公司 一种输入法键盘的切换方法和装置
CN107219996A (zh) * 2017-05-04 2017-09-29 惠州Tcl移动通信有限公司 自动切换键盘的方法、存储设备及移动终端
CN107608533A (zh) * 2017-08-24 2018-01-19 广东雅达电子股份有限公司 一种轻量型的嵌入式输入法

Similar Documents

Publication Publication Date Title
US9104244B2 (en) All-in-one Chinese character input method
US7088861B2 (en) System and method for chinese input using a joystick
US10191940B2 (en) Gesture-based searching
US20200278952A1 (en) Process and Apparatus for Selecting an Item From a Database
US7158678B2 (en) Text input method for personal digital assistants and the like
KR100704093B1 (ko) 콤포넌트 기반의, 적응성 스트로크 명령 시스템
US8077974B2 (en) Compact stylus-based input technique for indic scripts
US20080294982A1 (en) Providing relevant text auto-completions
JP4413868B2 (ja) 文字入力装置、該文字入力装置を備えた複写機、文字入力方法、制御プログラム、および、記録媒体
US20080150910A1 (en) Handwritten charater input device
US20150234938A1 (en) Method and electronic terminal for searching for contact in directory
US10664658B2 (en) Abbreviated handwritten entry translation
WO2007121673A1 (fr) Procédé et dispositif d&#39;amélioration de la vitesse de saisie de caractères chinois
US8823713B2 (en) Information processing apparatus
US20110022956A1 (en) Chinese Character Input Device and Method Thereof
KR100651396B1 (ko) 문자 인식 장치 및 방법
CN113515226A (zh) 一种基于集成输入法的软键盘
RU2525748C2 (ru) Ввод текста с использованием двух алфавитов и функция выделения клавиш
KR20060093264A (ko) 한자 입출력 장치
JPH09146934A (ja) 仮名漢字変換装置
KR100916816B1 (ko) 일본어 앨리어스 데이터베이스를 이용하여 장음 및 촉음에대한 오류를 줄이고 일본어 입력기 사용 시 단자 찾기기능을 제공하는 방법 및 시스템
KR20010108878A (ko) 문자인식 기술을 이용한 핫키 사용 방법
WO2015109468A1 (en) Functionality to reduce the amount of time it takes a device to receive and process input
JPH11305899A (ja) 手書き文字入力装置付きキーボードと日本語かな漢字変換プログラムを搭載した日本語入力システム

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination