Font Size: a A A

Research And Implementation Of Chinese Input Based On XIM Agreement

Posted on:2009-10-13Degree:MasterType:Thesis
Country:ChinaCandidate:W XiaFull Text:PDF
GTID:2178360275971869Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With embedded systems in electronics, entertainment, communications and other fields continue to develop and continuously improve the level of hardware, embedded systems must have a Chinese human-computer interface functions. X-Window has become the standard Linux graphics operating environment at present,XIM is an agreement on the multi-byte language text input method part of X-Window, to achieve international text input, but not in embedded system is widely used. Hence it has important realistic significance to implement XIM agreement which supports Chinese character input based on embedded graphic system.Chinese character input is a complex pre-editing process, so appropriate for the use of Client/Server model to achieve XIM agreement, which is an important difference between the X-Window system and the Windows. The communication process between client and server is completed by the transparent transport layer. Transport layer can support the static and dynamic event flow at the same time, it can also dispose the synchronous and asynchronous interactive process by using different strategies.The client has to achieve the standard XIM agreement of all functions and can support the front-end and back-end input method or one of them. Client will build logic Link with the input method server after the proceedings of application and choose all the X events which the input method window will handle, then capture these events in the main event cycle . Events handled by the server will be sent to the server in package and the results will be passed to the application.The Input Method server support four common style,it can capture the mouse and the keyboard event from the client in time,then filter and explain them and return the results to the client finally. Code processing module ensure that the server return relusts in the same way as prior consultation with the client. In addition, the input method server can also capture some the X events which it is interested in and handle them.
Keywords/Search Tags:embedded graphic system, chinese character input, Input Method
PDF Full Text Request
Related items