节点文献

基于Windows Mobile下的智能手机输入法研究与实现

Research and Implementation of Intelligent Input Method for Mobile Phone Based on Windows Mobile

【作者】 郝元礼

【导师】 陈钦梧;

【作者基本信息】 汕头大学 , 计算机软件与理论, 2008, 硕士

【摘要】 随着移动设备的广泛普及,对中文输入的需求越来越多。特别是智能手机的普及,在智能手机上进行大量文本输入的需求在不断增加。已经有很多word文件处理和Email收发等PC设备上的文件处理移植到了智能手机上。因此对智能手机上的汉字输入法的需求也越来越迫切。本文研究的重点正是基于Windows Mobile系统下的智能手机输入法。该输入法打破了传统汉字输入法只能输入汉字不能输入词组的尴尬局面,完全实现了字词合一的输入方式。该输入法采用金数码编码方案,编码规则简单,易学易记易用。同时,针对Windows Mobile系统特性,进行了丰富的输入法UI设计,使得输入更加直观。另外,高频词的自动调整,方便的自造词,还有一些智能化的设计,大大提高了输入效率。本文首先介绍了金数码笔画编码方案和金数码音形编码方案,并详细分析了这两种编码方案的重码率和按键分布情况。接着介绍了Windows Mobile系统的特点,详细介绍了该平台下输入法的工作原理。讨论了在该平台下输入法的组成结构和系统实现流程,并对涉及到的关键技术,如IME内核、按键处理和用户界面等进行了详细的分析,给出了具体的设计方案。对最终实现时的一些关键设计和实现过程中遇到的问题进行了细致的介绍。本文的另一个重点是对跨平台汉字编码转换引擎的分析设计。汉字编码转换引擎是一个输入法的核心,它一定程度上决定了输入法的输入方式和输入效率。该设计是在总结μC/OS-II平台和Windows平台输入法设计经验的基础上,提取出基本相同的部分,抽象成汉字编码转换引擎的五个部分。这五个部分继承了μC/OS-II平台和Windows平台输入法设计的优点,独特的编码存放方式和搜索算法比同类设计效率高的多。然后对这五个部分分别进行跨平台设计,并尽量减少它们之间的耦合性,对平台相关的部分提供统一的接口,提高可扩展性。后面讨论了笔画输入和音形输入无缝结合,这是对汉字编码转换引擎的改进。从这可以看出该引擎的设计具有良好的可扩展性。文章最后讨论了对μC/OS-II平台和Windows平台输入法的改进。由于原来的设计没有统一的引擎,对于维护和升级非常不方便,扩展一个功能需要在不同的平台重新设计。把最新的跨平台汉字编码转换引擎移植到μC/OS-II平台和Windows平台输入法上,更改部分接口的实现即可完成对输入法的升级。从这可以看出,跨平台汉字编码转换引擎的可移植性非常好,对于以后移植到Symbian、Linux、Palm等智能手机平台奠定了基础。

【Abstract】 With the extensive popularity of mobile equipment, the demand for Chinese input is greater and greater. Meanwhile, as intelligent mobile telephone has begun to be popular, a rich text input support is also an increasing demand. There are already many file processing software for PC, such as Word, E-mail , etc., which have been ported onto intelligent mobile telephone. Therefore, the demand of the input method for intelligent mobile telephone is also urgent. This paper focuses on intelligent mobile telephone input technology based on Windows Mobile OS. The proposed input method solves the problem that traditional strokes input method can only input Chinese character and can not input words. It has completely realized the combination of Chinese character input and words input. The input method adopts Golden Numeric coding method. The rule is simple. And it is easier to learn, to remember and is more efficient. At the same time, according to the systematic property of Windows Mobile, much UI design of input method has carried out in order that it is more visual. Additionally, the automatic adjustment of the word of high frequency, convenience of definition word, in addition some intelligent designs have raised input efficiency greatly.The Golden Numeric strokes coding method and Golden Numeric shape coding method are introduced first, and the distribution of key and the identical coding rate of this two coding methods are analyzed in detail. Then, the features of Windows Mobile OS and the working principle of input method are introduced in detail. The system organization structure and realization flow of mobile input method based on this OS are discussed. The crucial technology of input method under this platform, such as IME kernel, key handling and user interface etc., is discussed. And specific design method is given. Finally, important design and realization problems during the implementation are analyzed in detail.Another focus of this paper is the analysis and design for Cross-Platform Conversion engine of Chinese character coding. The Conversion engine of Chinese character coding is the kernel of input method and decides the efficiency of input on certain level. This design is concluded on the basis of input method design experience onμC/OS-II platform and Windows platform, extracted from the same basic part, and abstract the five parts of conversion engine of Chinese character coding. The five parts have inherited the advantage of input method design on the Windows platform andμC/OS-II platform, unique coding stocking method and search algorithm are higher and more than efficiency of similar design. Then, the five parts is designed to support cross-platform and reduce couple between them. It offers a unified interface to the platform-dependant parts, which raises extensibility. The Combination of strokes input and shape input is discussed later. It is the improvement for the conversion engine of Chinese character coding. It’s apparent that the design of this engine has a good scalability.The last part of this paper discusses the improvement of the Windows platform input method andμC/OS-II platform. As original design has not unified engine, it is very inconvenient for maintenance and upgrading, and to develop a new function needs to be redesigned on different platform. The new cross-platform Chinese character coding conversion engine transplanted to the input method onμC / OS-II platform and Windows platforms. Just change the realization of interface to complete the upgrade of the input method. We can find out that the engine has a good portability. It has laid a good foundation for transplanting to smart phone platform such as Symbian, Linux and Palm, etc. in the future.

  • 【网络出版投稿人】 汕头大学
  • 【网络出版年期】2009年 03期
  • 【分类号】TN929.53;TP391.14
  • 【被引频次】8
  • 【下载频次】497
  • 攻读期成果
节点文献中: