CN101763216B - Hand input method for Linux operational system - Google Patents

Hand input method for Linux operational system Download PDF

Info

Publication number
CN101763216B
CN101763216B CN2009102557432A CN200910255743A CN101763216B CN 101763216 B CN101763216 B CN 101763216B CN 2009102557432 A CN2009102557432 A CN 2009102557432A CN 200910255743 A CN200910255743 A CN 200910255743A CN 101763216 B CN101763216 B CN 101763216B
Authority
CN
China
Prior art keywords
turn
screen
linux
recognition module
handwriting recognition
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.)
Expired - Fee Related
Application number
CN2009102557432A
Other languages
Chinese (zh)
Other versions
CN101763216A (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.)
Shandong University
Original Assignee
Shandong University
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 Shandong University filed Critical Shandong University
Priority to CN2009102557432A priority Critical patent/CN101763216B/en
Publication of CN101763216A publication Critical patent/CN101763216A/en
Application granted granted Critical
Publication of CN101763216B publication Critical patent/CN101763216B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Discrimination (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a hand input method for Linux operation systems, which is formed by means of Language C and classlib Qt based on C++. A user writes characters on a touch screen with a writing pen; an identification module identifies tracks and characters and sends an identification result to a Linux system; then the writing tracks and identified characters are displayed on a display terminal of the Linux system as per previous pre-set; and the user can select characters by clicking so as to complete character input. The method adopts a modularized program and is independent of hardware configuration in application environment. System software-hardware interfaces are simple and are adaptable to an embedded Linux system, thereby realizing the utilization on a mobile terminal. The method has a short development period, high practicability, low development difficulty, low cost and low workload, therefore being suitable for Linux platform in an X system and a Linux platform with frame buffering.

Description

A kind of hand-written inputting method that is used for linux operating system
Affiliated technical field
The present invention relates to a kind of hand-written inputting method that is used for (SuSE) Linux OS, belong to the input technology field of electronic information.
Background technology
Along with the continuous development of infotech, touch-screen has become popular input equipment, and by the click on touch-screen with write, the user can finish mutual with equipment.Because China is populous, horizontal personnel are uneven for each levels of culture, hand-writing input method based on touch-screen is more suitable for China's national situation, Linux is that a class UNIX kernel is the operating system of core support multi-user, multitask, multithreading, many CPU with the network, is one of the most great-hearted operating system at present.Characteristic having server OS aspect stability and the reliability is commonly used to construct various server platforms, has very high cost performance; In addition, linux system is revised cutting a little, is used in the embedded system, and very big application prospect is arranged.Linux is in the popularization of China, owing to be subjected to other commercial factors influences such as copyrighted software property right in recent years, this operating system heats up just gradually, therefore use the hand-written inputting method under the (SuSE) Linux OS, for of the use of further popularization linux system in China, homemade processor chips are promoted in saving business software spending, and set up complete industrial system and be significant.The hand input device of Cun Zaiing is mostly at windows operating system in the market, can't be applied to the (SuSE) Linux OS environment, as " microcomputer application " magazine the 27th volume in November, 2006 the 6th phase promptly belonging to these row as described in the 729th page in " based on the design and the realization of the Handwritten Digital Recognition system of the windows platform " article.And the hand input device that can be used for linux system is few, and cost an arm and a leg, the present invention has not only realized under the linux system environment conveniently input character, and it is cheap, the cost cost only be on the market the like product price 1/10th, the present invention also can be applicable under the embedded Linux system in addition.
Summary of the invention
For defective and the deficiency that overcomes prior art,, the invention provides a kind of hand-written inputting method that is used for (SuSE) Linux OS to solve on the market the few and expensive problem of handwriting input kind in the (SuSE) Linux OS.
Technical scheme of the present invention realizes in the following way.
A kind of hand-written inputting method that is adapted to linux operating system, step is as follows:
1) beginning;
2) systemic-function initialization comprises:
A) framebuffer initialization;
B) handwriting recognition module initialization;
C) character input function initialization;
3) handwriting tracks is handled;
4) candidate characters identification is handled;
5) the selected and output of character;
6) judge whether withdraw from the zone clicked, be then to turn to next step, otherwise turn to step 3);
7) finish.
Step 2 recited above) initialization of framebuffer in, concrete steps are as follows:
A1) beginning;
A2) open framebuffer;
A3) judge whether to open success? if turn to next step, otherwise turn to previous step;
A4) display buffer is mapped as virtual memory;
A5) wait for the reception idsplay order;
A6) display pixel point whether? if, turn to next step, otherwise, turn to step a5 behind the execution cls function);
A7) write Pixel Information;
A8) screen display pixel turns to step a5).
The work that the framebuffer initialization is finished is mainly used in the drafting of handwriting tracks coordinate points on the Linux display device.Framebuffer appears at a kind of pattern equipment driving program interface in the kernels of linux 2.2 back, and it comes out to become a kind of character device with video memory is abstract, allows upper level applications directly real buffer zone to be carried out read-write operation under graphic model.The frame buffering is a display buffer just, and the data that write specific format to this buffer zone just mean the output of upgrading screen.Point exists mapping relations on frame buffering and the screen, and each point on the screen all is associated with certain specific address of buffer zone.After the framebuffer initialization, construct the function that can receive coordinate parameters, the position that handwriting recognition module identification writing pencil is clicked, obtain position coordinates, pass to the function of surface construction, function is inserted the display buffer after receiving coordinate, just can draw the hand-written locus of points on the Linux display device.
Step 2 recited above) initialization of handwriting recognition module in, concrete steps are as follows:
B1) beginning;
B2) open linux system serial ports;
B3) judge whether to open success? if turn to next step, otherwise turn to step b2);
B4) write parameter to the handwriting recognition module, setting module and linux system communication baud rate;
B5) whether to receive and correctly reply instruction, does parameter write success? if turn to next step, otherwise turn to step b4);
B6) write parameter to the handwriting recognition module, set the working method of handwriting recognition module;
B7) whether to receive and correctly reply instruction, does parameter write success? if turn to next step, otherwise turn to step b6);
B8) write parameter to the handwriting recognition module, set the handwriting recognition module and lift a stand-by period;
B9) whether to receive and correctly reply instruction, does parameter write success? if turn to step b4), be in the reception parameter state, otherwise turn to step b8).
(SuSE) Linux OS and handwriting recognition module communicate by asynchronous serial communication interface, and hand-written module initialization program is at first opened serial equipment file in the linux system, builds communication link.Next step writes the parameter of setting communication baud rate by serial ports to the handwriting recognition module, and the baud rate value is size specifically, is determined voluntarily according to system situation by the user; Correctly write set the baud rate parameter after, the handwriting recognition module can be returned one to operating system and correctly reply code word, correctly replys code word if module receives, and shows that communication baud rate sets successfully, if do not resend setup parameter; Next step writes the working method that parameter is provided with the handwriting recognition module in serial ports, content of parameter comprises: 1. the calibration information 2. of pair touch-screen delimited characters by touch screen and write the number that zone and click on area 3. setting handwriting recognition modules identify candidate.After above-mentioned parameter was set and finished, the handwriting recognition module can send the code word of replying of correct setting by serial ports to linux system; Next step, write parameters is provided with lifting a stand-by period of handwriting recognition module in serial ports, lifting a stand-by period is to set a threshold value, if on the touch-screen once stroke write after lifting pen interval greater than setting threshold, thinking then that a character is write finishes, identification module can be write this time and carry out char's algorithm identification, and the possible character after will discern delivers in the linux system by serial ports, and it is definite by the parameter of setting above to send character number.
Step 2 recited above) initialization of character input function in, concrete steps are as follows:
C1) beginning;
C2) wait for the code word that receives character to be entered;
C3) do you judge that receiving code word is correct code word? if turn to next step, otherwise turn to step c2);
C4) do you judge that the cursor state is for treating input state? if, turn to next step, otherwise, turn to step c2 after the printing error message);
C5) character to be entered is printed to the screen cursor place, turn to step c2 afterwards).
The function that the character input function is finished is that the character that the user selects is printed to Linux community face cursor place, realizes the input of hand-written character.After function receives the character code word, judge at first whether code word is correct,, will judge the attribute of cursor if correct, if cursor is to treat input state, then can the calling system function, the code word corresponding characters is printed to the position of cursor, realize the character input.
Handwriting tracks is handled in the step 3) recited above, and concrete steps are as follows:
A) beginning;
B) wait for reception dot information to be shown;
C) do you judge that the acceptance point attribute is for lifting pen? if turn to step 4), otherwise turn to next step;
D) do you judge that the acceptance point attribute is for moving pen? if, turn to next step, otherwise, on screen, draw the step b) that turns to behind this point in the step 3);
E) judge this point and last between slope exist? if turn to next step, otherwise turn to the step g) in the step 3);
F) obtain slope and on screen, draw the point-to-point transmission line segment,
G) the intersegmental blank spot of polishing two dotted lines forwards the step b) in the step 3) to behind screen display.
The handwriting tracks treatment scheme mainly is that the user is shown on the Linux display device in the notes of writing on the touch-screen, and whole process is to realize by calling Linux framebuffer technology.Since identification module to the identification of one section person's handwriting after, return data only is the attribute of several spaced points coordinates and coordinate points on one section track, therefore will be by the direct blank line segment of certain algorithm polishing spaced points.At first judge the attribute of the coordinate points that is the module transmission, if start to write a little, directly this point coordinate being inserted framebuffer is shown on the Linux display device, if the attribute of identification point is for moving pen attribute, then tackle this point and more preceding direct blank line segment and do the polishing processing, if lift a point, then enter and lift a stand-by period threshold decision function.By this flow process, hand-written track can be presented on the Linux display device.
The identification of candidate characters is handled in the step 4) recited above, and concrete steps are as follows:
(a) beginning;
Is (b) judgement lifted a time greater than setting threshold? if, turn to next step, otherwise, turn to step 3);
(c) read the communication interface of 1inux system and handwriting recognition module, obtain the GB2312 code word of candidate characters;
(d) GB2312 that reads is converted to the Unicode code word;
(e) write the Qt interface program, receive the Unicode code word after changing;
(f) carry out the Qt interface program, the Unicode corresponding characters is shown to screen;
(g) turn to step 5).
This flow process major function is the candidate characters that reads after identification module is discerned, and writes Linux community's face display routine, and candidate characters is shown on the Linux display device.This flow process is at first judged lifting a stand-by period of a writing process, if greater than setting threshold, thinking that a character is write finishes, identification module will carry out character recognition, according to setup parameter, the GB2312 sign indicating number of the candidate characters after the identification is sent in the serial ports, and program reads serial ports, with the GB2312 code word storage that obtains.Use then based on the Qt class libraries of C++ and write interface display routine under the Linux, because the Qt class libraries is to the support position Unicode code word of character, therefore, the GB2312 code word of above-mentioned storage should be converted to the Unicode code word and pass to the Qt interface program, interface program is with the Unicode code word of reading, number in order, simultaneously sequence number and code word corresponding characters are shown on the Linux display device.
Selected and the output of character in the step 5) recited above, concrete steps are as follows:
A) beginning;
B) according to candidate characters order on the Qt interface, writing pencil is clicked the corresponding defined area of touch-screen;
C) read the clicked regional location of touch-screen, obtain the corresponding code word of character to be entered;
D) code word is passed to the character input function, character is outputed to the cursor place;
E) remove handwriting tracks and Qt interface program;
F) execution in step 6).
The function that the selected output of candidate flow process is mainly finished is that the character that the user selectes is input to Linux display device cursor place, realizes the character input.Delimit handwriting area during hand-written module initialization and click and select the zone, click and select the zone to set according to the user, can delimit being used for the sequence number zone that character selects, the sequence number size sends the decision of candidate number by setting module.The user finishes writing of character at handwriting area, write finish after, candidate after identification module will be discerned is called the Qt interface program in order and is shown on display device, the user is according to the DISPLAY ORDER of candidate characters, carry out sequence number in the touch-screen click on area and click selection, identification module drives clicks positional information, and sequence number is read in, call the character input function simultaneously the sequence number corresponding characters is shown to display device cursor place, realize a character input.The input back that finishes judges whether withdraw from the zone clicked, if a handwriting input finishes, if not then reenter the hand-written character input state one time.
Technical solution of the present invention is: the present invention adopts the modularized program structure, and primary control program adopts the C language compilation, adopts general cross-platform C++ class storehouse--QT for writing of customizable candidate graphical interface program.Do not rely on the hardware configuration of suitable environment, the system hardware and software interface is simple; In addition according to the difference of Linux applied environment, the candidate graphical interface program is taked different compile modes, also applicable in the embedded Linux system, be implemented in the use on the portable terminal, this method construction cycle is short, practical, comparatively clear superiority is arranged on development difficulty, workload, cost, be applicable to the Linux platform of system X and have the embedded Linux platform that frame cushions (Framebuffer).
A kind of hand input device that uses in the input method recited above comprises direct supply, writing pencil, touch-screen, handwriting recognition module, it is characterized in that touch-screen is connected with the handwriting recognition module by data line; The handwriting recognition module is connected with linux system with display terminal or embedded Linux system by the standard asynchronous serial communication interface; Direct supply is connected to and is its power supply in the whole hand input device; Writing pencil is a round bar type, and front end is coniform (as general ball lip pencil) so that the user writes on touch-screen.
Described touch-screen is four-wire resistance type or four line capacitance formula LCD divergence type pressure-sensitive touch screen.
Described writing pencil adopts the touch screen writing pencil of metal or plastic material.
The work functions of each parts is as follows in the above-mentioned hand input device:
(1) writing pencil is used for being responsible for writing of input character, and the click of candidate characters is selected;
(2) four-wire ohm/capacitive touch screen is used for the action of perception writing pencil, and action message is reflected as electrical signal transfer gives the handwriting recognition module;
(3) the handwriting recognition module is carried out data communication by serial ports and (SuSE) Linux OS, links to each other with touch-screen by four data lines.The handwriting recognition module reads the series of electrical signals of touch-screen loopback, by calculating the electric shock coordinate figure, coordinate figure is delivered in the linux system by serial ports, set according to program parameter, by the inside modules algorithm, the candidate characters that identifies is delivered in the linux system by serial ports.
(4) linux system/embedded system with display terminal receives the information that hand-written module is transmitted, and the respective coordinates of hand-written point is presented on the operating system display device, receives hand-written selected character.
Make up by above-mentioned functions, use writing pencil to write at the enterprising line character of touch-screen, the handwriting recognition module reads hand-written information, and the electrical signal conversion that touch-screen is returned becomes the coordinate figure electric signal to pass to (SuSE) Linux OS by serial ports, and linux system shows the handwriting tracks coordinate on screen; Pass through program setting, when a character write finish after, the handwriting recognition module is by inner recognizer, the candidate characters that identifies is sent to linux system by serial ports, linux system shows that at print screen the user clicks selection at touch-screen to numbering after candidate is numbered, the handwriting recognition module is delivered to linux system with numbering, and linux system will be numbered corresponding characters and is printed to cursor output place.So far a handwriting input finishes.
Hand-written inputting method of the present invention has the following advantages:
The inventive method software primary control program adopts the C language compilation, adopts general cross-platform C++ class storehouse--QT for writing of customizable candidate graphical interface program, does not rely on the hardware configuration of suitable environment; According to the Linux applied environment, take different compile modes in addition,, be implemented in the use on the portable terminal also applicable in the embedded Linux system.This method construction cycle is short, and is practical, and comparatively clear superiority is arranged on development difficulty, workload, cost, is applicable to the Linux platform of system X and the handwriting input with embedded Linux platform of frame buffering (Framebuffer).
Description of drawings
Fig. 1 is the structural representation of the input media that uses in the inventive method.
Wherein: 1 is writing pencil; 2 is touch-screen; 3 is the handwriting recognition module; 4 for having the linux system/embedded Linux system of display terminal.
Fig. 2 is the flow diagram of hand-written inputting method of the present invention, and wherein 5-11 is each step in this method.
Fig. 3 is the described step 2 of the inventive method) the middle initialized concrete steps flow diagram of framebuffer, wherein 12-19 is a wherein each step.
Fig. 4 is the described step 2 of the inventive method) in the concrete steps flow diagram of handwriting recognition module initialization, wherein 20-28 is a wherein each step.
Fig. 5 is the described step 2 of the inventive method) the middle initialized concrete steps flow diagram of character input function, wherein 29-33 is a wherein each step.
Fig. 6 is the concrete steps flow diagram that handwriting tracks is handled in the described step 3) of the inventive method, and wherein 34-40 is a wherein each step.
Fig. 7 is the concrete steps flow diagram that candidate characters identification is handled in the described step 4) of the inventive method, and wherein 41-47 is a wherein each step.
Fig. 8 is the selected concrete steps flow diagram that reaches output of character in the described step 5) of the inventive method, and wherein 48-53 is a wherein each step.
Embodiment
The present invention will be further described below in conjunction with drawings and Examples, but be not limited thereto.
Embodiment 1:
A kind of hand-written inputting method that is adapted to linux operating system, as shown in Figure 2, step is as follows:
5, program begins;
6, systemic-function initialization comprises:
6.a) the framebuffer initialization;
6.b) the handwriting recognition module initialization;
6.c) initialization of character input function;
7, handwriting tracks is handled;
8, candidate characters identification is handled;
9, the selected and output of character;
10, judge whether withdraw from the zone clicked, be then to turn to next step, otherwise turn to step 7;
11, finish.
The initialization of framebuffer in the step 6 recited above, as shown in Figure 3, concrete steps are as follows:
12, beginning;
13, open framebuffer;
14, judge whether to open success? if turn to next step, otherwise turn to previous step;
15, the display buffer is mapped as virtual memory;
16, wait for the reception idsplay order;
17, display pixel point whether? if, turn to next step, otherwise, turn to step 16 behind the execution cls function;
18, write Pixel Information;
19, the screen display pixel turns to step 16.
The initialization of handwriting recognition module in the step 6 recited above, as shown in Figure 4, concrete steps are as follows:
20, beginning;
21, open linux system serial ports;
22, judge whether to open success? if turn to next step, otherwise turn to step 21;
23, write parameter to the handwriting recognition module, setting module and linux system communication baud rate;
24, whether to receive and correctly reply instruction, does parameter write success? if turn to next step, otherwise turn to step 23;
25, write parameter to the handwriting recognition module, set the working method of handwriting recognition module;
26, whether to receive and correctly reply instruction, does parameter write success? if turn to next step, otherwise turn to step 25;
27, write parameter to the handwriting recognition module, set the handwriting recognition module and lift a stand-by period;
28, whether to receive and correctly reply instruction, does parameter write success? if, turn to step 23, be in the reception parameter state, otherwise turn to step 27.
The initialization of character input function in the step 6 recited above, as shown in Figure 5, concrete steps are as follows:
29, beginning;
30, wait for the code word that receives character to be entered;
31, do you judge that receiving code word is correct code word? if turn to next step, otherwise turn to step 30;
32, do you judge that the cursor state is for treating input state? if, turn to next step, otherwise, turn to step 30 after the printing error message;
33, character to be entered is printed to the screen cursor place, turn to step 30 afterwards.
Handwriting tracks is handled in the step 7 recited above, and as shown in Figure 6, concrete steps are as follows:
34, beginning;
35, wait for reception dot information to be shown;
36, do you judge that the acceptance point attribute is for lifting pen? if turn to the step 7 in the hand-written inputting method of the above-mentioned a kind of linux of being adapted to operating system, otherwise turn to next step;
37, do you judge that the acceptance point attribute is for moving pen? if, turn to next step, otherwise, after drawing this point on the screen, turn to step 35;
38, judge this point and last between slope exist? if turn to next step, otherwise turn to step 40;
39, obtain slope and on screen, draw the point-to-point transmission line segment,
40, the intersegmental blank spot of polishing two dotted lines forwards step 35 to behind screen display.
The identification of candidate characters is handled in the step 8 recited above, and as shown in Figure 7, concrete steps are as follows:
41, beginning;
Is 42, judgement lifted a time greater than setting threshold? if, turn to next step, otherwise, turn to the step 7 in the hand-written inputting method of the above-mentioned a kind of linux of being adapted to operating system;
43, read the communication interface of linux system and handwriting recognition module, obtain the GB2312 code word of candidate characters;
44, the GB2312 that reads is converted to the Unicode code word;
45, write the Qt interface program, receive the Unicode code word after changing;
46, carry out the Qt interface program, the Unicode corresponding characters is shown to screen;
47, turn in the step 9 in the hand-written inputting method of the above-mentioned a kind of linux of being adapted to operating system.
Selected and the output of character in the step 9 recited above, as shown in Figure 8, concrete steps are as follows:
48, beginning;
49, according to candidate characters order on the Qt interface, writing pencil is clicked the corresponding defined area of touch-screen;
50, read the clicked regional location of touch-screen, obtain the corresponding code word of character to be entered;
51, code word is passed to the character input function, character is outputed to the cursor place;
52, remove handwriting tracks and Qt interface program;
53, carry out step 10 in a kind of hand-written inputting method that is adapted to linux operating system.
Embodiment 2:
The hand input device that uses in a kind of above-mentioned input method comprises direct supply, writing pencil 1, touch-screen 2, handwriting recognition module 3, it is characterized in that touch-screen is connected with the handwriting recognition module by data line; The handwriting recognition module is connected with the linux system 4 with display terminal by the standard asynchronous serial communication interface; Direct supply is connected to and is its power supply in the whole hand input device; Writing pencil 1 is a round bar type, and front end is coniform (as general ball lip pencil) so that the user writes on touch-screen.Touch-screen 2 is a four-wire resistance type LCD divergence type pressure-sensitive touch screen.Writing pencil adopts the touch screen writing pencil of plastic material.
Embodiment 3:
Identical with embodiment 2, just handwriting recognition module 3 is connected with the embedded Linux system 4 with display terminal by the standard asynchronous serial communication interface; Touch-screen 2 is four line capacitance formula LCD divergence type pressure-sensitive touch screen; Writing pencil 1 adopts the touch screen writing pencil of aluminum.

Claims (4)

1. hand-written inputting method that is adapted to linux operating system, step is as follows:
1) beginning;
2) systemic-function initialization comprises:
A) framebuffer initialization
A1) beginning;
A2) open framebuffer;
A3) judge whether to open success, if turn to next step, otherwise turn to previous step;
A4) display buffer is mapped as virtual memory;
A5) wait for the reception idsplay order;
A6) display pixel point whether, if, turn to next step, otherwise, turn to step a5 after carrying out the cls function);
A7) write Pixel Information;
A8) screen display pixel turns to step a5);
B) handwriting recognition module initialization
B1) beginning;
B2) open linux system serial ports;
B3) judge whether to open success, if turn to next step, otherwise turn to step b2);
B4) write parameter to the handwriting recognition module, setting module and linux system communication baud rate;
B5) whether receive and correctly reply instruction that parameter writes success, if turn to next step, otherwise turn to step b4);
B6) write parameter to the handwriting recognition module, set the working method of handwriting recognition module;
B7) whether receive and correctly reply instruction that parameter writes success, if turn to next step, otherwise turn to step b6);
B8) write parameter to the handwriting recognition module, set the handwriting recognition module and lift a stand-by period;
B9) whether receive and correctly reply instruction that parameter writes success, if turn to step b4), be in the reception parameter state, otherwise turn to step b8);
C) character input function initialization
C1) beginning;
C2) wait for the code word that receives character to be entered;
C3) judge whether the reception code word is correct code word, if turn to next step, otherwise turn to step c2);
C4) judge the cursor state whether for treating input state, if, turn to next step, otherwise, turn to step c2 after printing error message);
C5) character to be entered is printed to the screen cursor place, turn to step c2 afterwards);
3) handwriting tracks is handled
A) beginning;
B) wait for reception dot information to be shown;
C) judge that whether the acceptance point attribute is for lifting pen, if turn to step 4), otherwise turn to next step;
D) judge the acceptance point attribute whether for moving pen, if, turn to next step, otherwise, on screen, draw the step b) that turns to behind this point in the step 3);
E) judge this point and last between slope whether exist, if turn to next step, otherwise turn to the step g) in the step 3);
F) obtain slope and on screen, draw the point-to-point transmission line segment,
G) the intersegmental blank spot of polishing two dotted lines forwards the step b) in the step 3) to behind screen display;
4) candidate characters identification is handled
(a) beginning;
(b) whether judgement lifts a time greater than setting threshold, if, turn to next step, otherwise, turn to step 3);
(c) read the communication interface of linux system and handwriting recognition module, obtain the GB2312 code word of candidate characters;
(d) GB2312 that reads is converted to the Unicode code word;
(e) write the Qt interface program, receive the Unicode code word after changing;
(f) carry out the Qt interface program, the Unicode corresponding characters is shown to screen;
(g) turn to step 5);
5) the selected and output of character
A) beginning;
B) according to candidate characters order on the Qt interface, writing pencil is clicked the corresponding defined area of touch-screen;
C) read the clicked regional location of touch-screen, obtain the corresponding code word of character to be entered;
D) code word is passed to the character input function, character is outputed to the cursor place;
E) remove handwriting tracks and Qt interface program;
F) execution in step 6);
6) judge whether withdraw from the zone clicked, be then to turn to next step, otherwise turn to step 3);
7) finish.
2. a kind of hand input device that uses in the input method as claimed in claim 1 comprises direct supply, writing pencil, touch-screen, handwriting recognition module, it is characterized in that touch-screen is connected with the handwriting recognition module by data line; The handwriting recognition module is connected with linux system with display terminal or embedded Linux system by the standard asynchronous serial communication interface; Direct supply is connected to and is its power supply in the whole hand input device; Writing pencil is a round bar type, and front end is coniform so that the user writes on touch-screen.
3. a kind of hand input device as claimed in claim 2 is characterized in that described touch-screen is four-wire resistance type or four line capacitance formula LCD divergence type pressure-sensitive touch screen.
4. a kind of hand input device as claimed in claim 2 is characterized in that described writing pencil adopts the touch screen writing pencil of metal or plastic material.
CN2009102557432A 2009-12-28 2009-12-28 Hand input method for Linux operational system Expired - Fee Related CN101763216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102557432A CN101763216B (en) 2009-12-28 2009-12-28 Hand input method for Linux operational system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102557432A CN101763216B (en) 2009-12-28 2009-12-28 Hand input method for Linux operational system

Publications (2)

Publication Number Publication Date
CN101763216A CN101763216A (en) 2010-06-30
CN101763216B true CN101763216B (en) 2011-06-29

Family

ID=42494401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102557432A Expired - Fee Related CN101763216B (en) 2009-12-28 2009-12-28 Hand input method for Linux operational system

Country Status (1)

Country Link
CN (1) CN101763216B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073542B (en) * 2010-12-22 2013-04-03 浙大网新科技股份有限公司 Method for integrating Chinese input method during operation of Linux applications on Android mobile phone
CN102750104A (en) * 2012-06-29 2012-10-24 鸿富锦精密工业(深圳)有限公司 Electronic device with touch input unit
CN103927770B (en) * 2014-04-11 2017-05-17 西安理邦科学仪器有限公司 Method and system for drawing waveforms under grid background
CN105677272A (en) * 2015-12-28 2016-06-15 智慧方舟科技有限公司 E-Ink screen terminal, and doodle implementation method and apparatus thereof
CN106843528B (en) * 2017-01-24 2019-05-28 南京仁谷***集成有限公司 A kind of keyword reminding method improving Qt exploitation environment
CN114090089A (en) * 2021-11-24 2022-02-25 航天欧华信息技术有限公司 Method for realizing writing acceleration based on drawing framebuffer

Also Published As

Publication number Publication date
CN101763216A (en) 2010-06-30

Similar Documents

Publication Publication Date Title
CN101763216B (en) Hand input method for Linux operational system
CN100465867C (en) Handwritten information input apparatus
CN100587660C (en) Method and device for forecasting and discriminating hand-written characters
EP2752740A1 (en) Drawing control method, apparatus and mobile terminal
CN101539822B (en) Method and system for identifying handwriting area of touch screen
CN102221971A (en) Free form mathematic calculation
CN102393795B (en) Method for inputting handwritten information into computer by touch-screen mobile phone
JP2010511260A (en) Touch screen error correction method, system, apparatus and terminal
CN103955339A (en) Terminal operation method and terminal equipment
CN100555312C (en) Utilize charcter topology information to carry out the method and apparatus of the handwriting recognition of aftertreatment
US8884930B2 (en) Graphical display with optical pen input
CN102156560A (en) Terminal and method for inputting different operations on terminal by using positive and negative ends of handwriting pen
CN103353796A (en) Panel computer protective sleeve with original handwriting recording function
EP3365835A1 (en) System and method for recognition of handwritten diagram connectors
CN101859177B (en) Method and device for calling and operating application program on intelligent electronic device
CN102736830A (en) Handwriting input method and terminal equipment
CN201018625Y (en) Mobile phone with writing pads function
CN110362217B (en) Touch interactive electronic blackboard eraser system and erasing method
CN109542278A (en) Processing method, device and the touch apparatus of touch data
CN101739212A (en) Handwriting input device suitable for Linux operating system
KR20040043454A (en) Pen input method and apparatus in pen computing system
CN105278751A (en) Method and apparatus for implementing human-computer interaction, and protective case
CN103034426B (en) A kind of terminal and contact person's searching method thereof
CN105869194A (en) Writing input method and device, and mobile device
CN113296616B (en) Pen point selection method and device and intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110629

Termination date: 20181228