Font Size: a A A

The Realization Of T9 On Infineon Platform

Posted on:2011-09-30Degree:MasterType:Thesis
Country:ChinaCandidate:Y Y CaiFull Text:PDF
GTID:2178360305454557Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Mobile platform means the operation system of the mobile in common definition.Different mobille platform depaends different operation system.The following factors can measure a good platform: easy-used,compatible,easy-developed. Input method editor is a program that works on the mobile platform.The users can run the edition opertion, such as edit sms by the input method editor.The input mode contains Chinese input,English input and the hand-writting input.Now,as the mobile platform increasely updating, accompanying the advent of the mobile message time,a input method editor with easy operation, friendly UI are so important for a mobile user, meanwhile a input method with easy transplantation,easy development and rich library are also very indispensable for a mobile platform developer. Concerned about the current IME(Input Method Input), it generally takes 1-month to transplant the basic function to the mobile platform. If adding the time that spends on the maintenance and modification, it will take 2-3 month totally. It is intolerant for a developer or for a company that only developing the IME part,which will effect the total developing schedul badly.In my dissertation, The first part, I will introduce the realization of T9(one kind of IME)on Infineon(one kind of the mobile platform), and then make a simple encapsulation on it. It will encapsulate the all the internal detail of the IME, but stay one easy-used API (that is a function) externally for the developers to use. The developer can use this API to run the IME, to run every operation, never mind the other problems such as data exchange, etc.The whole IME will be realised on Infineon and can be transplanted to Infineon(one mobile platform). The experiment proved that the whole transplantation takes only one week to finish IME basic function besides the time of maintenance and modification, and finishing the hand-writing input only takes 2 days, It can increase the efficiency very well.In my dissertation, firstly I will introduce the development and classification of the platform. Secondly I will turn to the system and the structure of the Infineon platform which uses the message-sent mechanism. I will pay great attention to specify the IME realizatin and encapsulation. And then I will turn to the the algorithm that used for the realization of the IME and the realization of the hand-writing input. T9 which has a large capacity thesaurus is a relatively intelligent input method, we can use mobile phone's keys on the keyboard to input Chinese characters, this paper mainly specified how to achieve T9 on the Infineon platform. Mobile phone development is a long process, as a mobile phone developers, we should pay attention to the following aspects:First of all,we should select portabile,strong programming language, in this article I choose C,because it is more efficient.Second, the application should be good at being packed, so we can encapsulate the various data structures and functions appropriately. Third, the memory management should be relatively independent, it is best to have independent memory management mechanism. Fourth, the code should be noted the size of the space as much as possible to avoid global variables. Fifth, we should pay attention to save memory, try to open up little space. Sixth, choose the good the debugging method. In this article,I select VC emulator to debug the program. In addition,for the mobile phone debugging,I use the mobile phone tracking tool,so I can track every step based on the phone. Finally, using the modular design as far as possible to enhance the independence between every application module. This input method editor design is in accordance with top-down modular design.The whole of input method editor is divided into several smaller modules to achieve, thus making it much easier.The whole of the input method will be divided into the following aspects according the module design:First, input method module initialization, input method initializtion module is to initialize the input entrance.The second is to initialize input method,this part is to initialize the data structure, the structure for a particular poem to open up new space, set the word library address pointer.The third part is the input method handling the key pressed.Input method classified as "0-9" digital keys, "#" key number as well as the arrow keys. "0-9" key will be exchanged to be an ID for the computer to recognize. It is important to find out the corresponding Unicode of Chinese characters through querying the ID, and then Unicode code can be displayed. The "#" key in mobile phone input method editor is to switch input methods,and the direction key is to switch the state. This part also includes handling the soft keys, soft keys are mainly OK key and right soft keys, OK key is to display the main characters that will be selected on the screen, the right soft key is to delete.The fourth is the input method editor closure. Shutting down the space that have been allocated primarily to recover and so on. In this realization of T9 input method, T9 will also be encapsulated, only stays a external API to set aside an interface function, thus facilitating transplantation for later.Also in this article,it also has a brief introduction of principles of handwriting and handwriting's timing mechanism of the Infineon platform. Concerned about the aspect of the algorithm during designing the entire input method,mainly using the search algorithm and automatic frequency modulation algorithm. For Pinyin input method, for example, the search algorithm's first-match would be matching the input alphabet.After getting success of matching the alphabet,it will match Pinyin characters, finding the corresponding Unicode code. Since the data are unordered data,so I use the sequential search algorithm. Auto frequency modulation algorithm is that the user input the same Chinese characters many timers,it can auto-sequence,and will transfer the candidate characters in front of others to increase their priority.As the mobile phones in China, the development have been relatively rapidly.Long time ago, people like the phones that is like big bricks, and now mobile phone is almost necessities of people's lives, and it has experienced drastic changes. Until today, people have become increasingly to enhance their demand for mobile phones, light-weight,easy to used, beautiful and durable, many functions and so on. Throughout the use of cell phone crowd, games, text editors, calls, applications and other functions are essential. In today, as a developer of mobile phones we are urgently looking for various ways to write out more reasonable , space-saving code, reduce our software development time and improve software reuse rate.Now,The phone-use is so wide and phone's function is better and bettrer. For mobile phone developers,we are urgent to improve and simplify the existing basic functions, enhance its portability, enhance its ease of use, improve its function. Throughout mobile phone functionality, SMS, calls, appli- cations,those three main functions are the most basic mobile phones functions.Text messaging because of its low-cost, easy to use, communication and timely features, becomes a function that people use mostly. Therefore, how to design a more convenient and fast, easy to transplant ,comprehensive SMS editing functions,is one of the most popular research direction.In the future development of mobile phones as a mobile developer, I will work hard to research in this direction and set designing the mobile phone software with simple UI and full-featured as my goal.
Keywords/Search Tags:Input method editor, IME, T9, Infineon, hand-writing input, search algorim
PDF Full Text Request
Related items