CN101344849A - Method for implementing input method superposition in embedded type GUI surroundings - Google Patents
Method for implementing input method superposition in embedded type GUI surroundings Download PDFInfo
- Publication number
- CN101344849A CN101344849A CNA2008103041385A CN200810304138A CN101344849A CN 101344849 A CN101344849 A CN 101344849A CN A2008103041385 A CNA2008103041385 A CN A2008103041385A CN 200810304138 A CN200810304138 A CN 200810304138A CN 101344849 A CN101344849 A CN 101344849A
- Authority
- CN
- China
- Prior art keywords
- frame buffer
- input method
- buffer device
- gui
- layer
- 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
Links
Images
Abstract
The invention relates to an embedded system technology which solves the problem that embedded systems have no input method in the GUI environment and provides a method for realizing input method superposition in the embedded GUI environment. The technical proposal, to sum up, comprises the following steps of: first, setting an area in the memory as a virtual frame buffer device to supersede the frame buffer device physically displaying address of the original GUI layer and setting another area in the memory for the input method layer; then, after GUI drawing, judging whether the input methods are activated, and if not, only transmitting data of the virtual frame buffer device to the physical frame buffer device, otherwise, transmitting data of both the virtual frame buffer device and the input method frame buffer device to the physical frame buffer device; and finally, displaying the data with the prior art. The invention has the advantages of minimal modification, easy implementation and being applicable to the embedded system with GUI.
Description
Technical field
The present invention relates to embedded system technology, particularly the technology of input method in the embedded system.
Background technology
Embedded system generally all has graphical user interface GUI, and embedded system LCD display driver all has a FrameBuffer to be used for directly writing screen, FrameBuffer is a kind of USBDI in the middle of the linux kernel, this interface with display device abstract be frame buffer zone.Therefore should be a kind of equipment of operating figure, can be called the frame buffer device, but some GUI function be very weak, as not supporting basic control (not having edit box), do not have input method, showing on TV and refresh too fast screen or the like the problem of dodging that causes.
Summary of the invention
Technical matters to be solved by this invention, under gui environment, do not have the shortcoming of input method in order to solve above-mentioned embedded system exactly, a kind of method that can realize the input method stack under the embedded type GUI environment of extending input method under the situation of not revising former GUI is provided.
The present invention solves its technical matters, and the technical scheme of employing is that the embedded type GUI environment is realized the method for input method stack down, it is characterized in that, may further comprise the steps:
A. distribute a zone to be used for replacing former GUI to scheme the frame buffer device (being the physical frame buffer device) of layer physics explicit address as virtual frame buffer equipment in internal memory, GUI drawing result directly delivers to virtual frame buffer equipment;
B. in internal memory, distribute a zone to input method figure layer, be called input method frame buffer device;
C.GUI judges whether input method is in open mode after drawing and finishing, if not then enter the d step, if then enter the e step;
D. the virtual frame buffer device data is delivered to former GUI figure layer physics explicit address frame buffer device, entered the f step again;
E. the virtual frame buffer device data is delivered to the frame buffer device of former GUI figure layer physics explicit address and input method frame buffer device data are delivered to the frame buffer device that former GUI schemes layer physics explicit address, enter the f step again;
F. former GUI being schemed layer data of the frame buffer device of physics explicit address shows;
Further, the big or small computing formula of virtual frame buffer equipment described in the step a is:
Virtual frame buffer instrument size=screen is wide * screen height * every pixel words joint number;
Concrete, the big or small computing formula of the described input method frame of step b buffer device is:
Input method frame buffer device size=input method window is wide * input method window height * every pixel words joint number;
Further again, the Chinese and English character library of use GUI when input method realizes.
The invention has the beneficial effects as follows, can increase the input method of a band drawing engine by above step, realize showing output by scheming stacked adding with former GUI, thereby reach the purpose that increases input method, make like this and can not revise former GUI interface and just increased new input function, change for a short time, easily realize.
Description of drawings
Fig. 1 is the system flowchart of embodiment;
Embodiment
Below in conjunction with drawings and Examples, describe technical scheme of the present invention in detail.
The invention provides the method for extending input method under a kind of situation of can in embedded system, not revising former GUI, at first in internal memory, distribute a zone to be used for replacing the frame buffer device of former GUI figure layer physics explicit address as virtual frame buffer equipment, GUI drawing result directly delivers to virtual frame buffer equipment, and in internal memory, distribute a zone to input method figure layer, be called input method frame buffer device, again after GUI draws end, judge whether input method is in open mode, if not then only the virtual frame buffer device data is delivered to the frame buffer device of former GUI figure layer physics explicit address, if then the virtual frame buffer device data is delivered to the frame buffer device of former GUI figure layer physics explicit address and input method frame buffer device data is delivered to the frame buffer device that former GUI schemes layer physics explicit address, show by the data of prior art more at last to the frame buffer device of former GUI figure layer physics explicit address.
Embodiment
This example provides the method that realizes the input method stack under a kind of embedded type GUI environment, and uses the Chinese and English character library of GUI, its system flowchart such as Fig. 1 when input method realizes.
At first, the frame buffer device of former GUI figure layer physics explicit address is replaced with a memory address, this example does not directly use the frame buffer device of the physics explicit address of GUI figure layer to write screen, and in internal memory, distribute a zone, can be described as virtual frame buffer equipment, GUI drawing result directly delivers to virtual frame buffer equipment, and the big or small computing formula of this piece internal memory is:
Virtual frame buffer instrument size=screen is wide * screen height * every pixel words joint number
Input method figure layer also is to distribute in internal memory, and this piece zone can be described as input method frame buffer device, and its big or small computing formula is:
Input method frame buffer device size=input method window is wide * input method window height * every pixel words joint number;
Then after GUI draws end, judge whether input method is in open mode, if do not open then only the virtual frame buffer device data delivered to a former GUI figure layer physics explicit address frame buffer device, if input method is opened the virtual frame buffer device data is delivered to former GUI figure layer physics explicit address frame buffer device and again input method frame buffer device data are delivered to the frame buffer device that former GUI schemes layer physics explicit address, input method status can identify with a variable such as IsImeOpened, closing and open input method so only need be changed to this variable 1 or 0 just passable, implement fairly simple, and judgement is got up more convenient, shows by the data of prior art to the frame buffer device of former GUI figure layer physics explicit address at last.But input method engine and GUI drawing engine shared portion variable even function are to save memory consumption, as use the Chinese and English character library of GUI when input method realizes.
Claims (4)
1. the embedded type GUI environment is realized the method for input method stack down, it is characterized in that, may further comprise the steps:
A. distribute a zone to be used for replacing former GUI to scheme the frame buffer device of layer physics explicit address as virtual frame buffer equipment in internal memory, GUI drawing result directly delivers to virtual frame buffer equipment;
B. in internal memory, distribute a zone to input method figure layer, be called input method frame buffer device;
C.GUI judges whether input method is in open mode after drawing and finishing, if not then enter the d step, if then enter the e step;
D. the virtual frame buffer device data is delivered to the frame buffer device of former GUI figure layer physics explicit address, entered the f step again;
E. the virtual frame buffer device data is delivered to the frame buffer device of former GUI figure layer physics explicit address and input method frame buffer device data are delivered to the frame buffer device that former GUI schemes layer physics explicit address, enter the f step again;
F. the data to the physics explicit address frame buffer device of former GUI figure layer show.
2. realize the method for input method stack according to the described embedded type GUI environment of claim 1 down, it is characterized in that the big or small computing formula of the equipment of virtual frame buffer described in the step a is:
Virtual frame buffer instrument size=screen is wide * screen height * every pixel words joint number.
3. realize the method for input method stack according to the described embedded type GUI environment of claim 1 down, it is characterized in that the big or small computing formula of the described input method frame of step b buffer device is:
Input method frame buffer device size=input method window is wide * input method window height * every pixel words joint number.
4. realize the method for input method stack according to claim 1,2 or 3 described embedded type GUI environment down, it is characterized in that, when input method realizes, use the Chinese and English character library of GUI.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008103041385A CN101344849A (en) | 2008-08-22 | 2008-08-22 | Method for implementing input method superposition in embedded type GUI surroundings |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008103041385A CN101344849A (en) | 2008-08-22 | 2008-08-22 | Method for implementing input method superposition in embedded type GUI surroundings |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101344849A true CN101344849A (en) | 2009-01-14 |
Family
ID=40246860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008103041385A Pending CN101344849A (en) | 2008-08-22 | 2008-08-22 | Method for implementing input method superposition in embedded type GUI surroundings |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101344849A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073542A (en) * | 2010-12-22 | 2011-05-25 | 浙大网新科技股份有限公司 | Method for integrating Chinese input method during operation of Linux applications on Android mobile phone |
CN102129369A (en) * | 2010-12-22 | 2011-07-20 | 浙大网新科技股份有限公司 | Method for integrating TinxX pattern interface on Android mobile phone |
CN102725727A (en) * | 2009-09-14 | 2012-10-10 | 高通股份有限公司 | Method and apparatus for providing application interface portions on peripheral computing devices |
CN103530101A (en) * | 2012-07-05 | 2014-01-22 | 罗侍田 | Computer graphic kernel window caching technology |
CN103927770B (en) * | 2014-04-11 | 2017-05-17 | 西安理邦科学仪器有限公司 | Method and system for drawing waveforms under grid background |
-
2008
- 2008-08-22 CN CNA2008103041385A patent/CN101344849A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102725727A (en) * | 2009-09-14 | 2012-10-10 | 高通股份有限公司 | Method and apparatus for providing application interface portions on peripheral computing devices |
CN102725727B (en) * | 2009-09-14 | 2015-11-25 | 高通股份有限公司 | For providing the method and apparatus of application programming interfaces part on peripheral computer device |
CN102073542A (en) * | 2010-12-22 | 2011-05-25 | 浙大网新科技股份有限公司 | Method for integrating Chinese input method during operation of Linux applications on Android mobile phone |
CN102129369A (en) * | 2010-12-22 | 2011-07-20 | 浙大网新科技股份有限公司 | Method for integrating TinxX pattern interface on Android mobile phone |
CN102073542B (en) * | 2010-12-22 | 2013-04-03 | 浙大网新科技股份有限公司 | Method for integrating Chinese input method during operation of Linux applications on Android mobile phone |
CN102129369B (en) * | 2010-12-22 | 2014-05-21 | 浙大网新科技股份有限公司 | Method for integrating TinxX pattern interface on Android mobile phone |
CN103530101A (en) * | 2012-07-05 | 2014-01-22 | 罗侍田 | Computer graphic kernel window caching technology |
CN103927770B (en) * | 2014-04-11 | 2017-05-17 | 西安理邦科学仪器有限公司 | Method and system for drawing waveforms under grid background |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7681143B2 (en) | System and method for providing a window management mode | |
CN102741809B (en) | For sending the technology of order to target device | |
US20040070553A1 (en) | Image copy to a second display | |
EP3805908B1 (en) | Annotation display method, device and apparatus, and storage medium | |
US20130057572A1 (en) | Multiple Display Device Taskbars | |
US20100271313A1 (en) | Minimizing Pen Stroke Capture Latency | |
US20110099481A1 (en) | Anchoring a remote entity in a local display | |
CN103324455A (en) | Protocol extensions in a display port compatible interface | |
US10043459B1 (en) | Display timing controller with single-frame buffer memory | |
CN101344849A (en) | Method for implementing input method superposition in embedded type GUI surroundings | |
US20180039470A1 (en) | Image output control method and display device | |
CN101079247A (en) | Display apparatus data updating method and device | |
WO2023093458A1 (en) | Method for determining refresh mode of ink screen, and electronic device and storage medium | |
CN106471459B (en) | Multi-application viewing | |
Ham et al. | {LPD}: Low Power Display Mechanism for Mobile and Wearable Devices | |
US10338732B2 (en) | Displaying method of touch input device | |
CN102663989A (en) | Buffer processing method and device for display of mobile terminal | |
US8819568B1 (en) | Electronic paper display updates | |
WO2021042910A1 (en) | User interaction method and electronic device | |
CN101727305A (en) | Method for switching display | |
US20080055286A1 (en) | Method And Apparatus For Displaying Bitmap Images | |
US9489916B2 (en) | Processing method of an external-image device | |
CN103809972B (en) | A kind of information processing method and electronic equipment | |
US20090300489A1 (en) | Selective access to a frame buffer | |
US11114069B2 (en) | Private virtualized displays |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090114 |