CN1979456A - Keyboard input-value examination method - Google Patents

Keyboard input-value examination method Download PDF

Info

Publication number
CN1979456A
CN1979456A CN 200510111114 CN200510111114A CN1979456A CN 1979456 A CN1979456 A CN 1979456A CN 200510111114 CN200510111114 CN 200510111114 CN 200510111114 A CN200510111114 A CN 200510111114A CN 1979456 A CN1979456 A CN 1979456A
Authority
CN
China
Prior art keywords
keyboard
value
keyboard input
mentioned
input
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
Application number
CN 200510111114
Other languages
Chinese (zh)
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.)
Shanghai LG Electronics Co Ltd
Original Assignee
Shanghai LG Electronics Co Ltd
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 Shanghai LG Electronics Co Ltd filed Critical Shanghai LG Electronics Co Ltd
Priority to CN 200510111114 priority Critical patent/CN1979456A/en
Publication of CN1979456A publication Critical patent/CN1979456A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a keyboard input value checking method, comprising the three stages of: main thread receives keyboard input value from keyboard scanner or Jog Dial; interrupting with receiving the keyboard input value and then generating interrupt processor event; interrupt processor receives the interrupt from IRL and IRQ, reads the keyboard input value and sets mark, and then transmits keyboard ON and OFF information to a main module bearing main processing task. On the condition that there is no keyboard value input, it can still periodically check the main thread, thus processing the wasted resources at interrupt occurrence and able to reduce resource waste, and by simultaneous operating of multiple threads, able to reduce waste of CPU and memory, thus increasing speeds of the other modules and improving their performances.

Description

Keyboard input-value examination method
Technical field
The present invention relates to keyboard input-value examination method, the particularly keyboard input-value check system that is disposed for the mounted remote information handling system only just receives interruption and to its keyboard input-value examination method of handling when keyboard import.
Background technology
Recently, vehicle interior all is equipped with teleprocessing system, be used to provide the vehicle position information service, vehicle is stolen and accident perception, remote vehicle detection, urgent rescue and traffic-information service, and the mobile office and the E-mail service that utilize wireless network.Teleprocessing (telematics) is the general designation of communication (telecommunication) and information science, and it means combining of automobile and computer, mobile communication technology.
What be widely known by the people most in telematic function is the self-navigation technology, i.e. global position system (GPS:Global Positioning System).
Telematic another one function is that the automobile that the automobile service center is aligned under steam carries out remote fault detect.
In addition, teleprocessing system can provide wireless Internet access, detect vehicle, urgent rescue at a distance and support the function of various contents such as transport information, life information.
At present, import in the above-mentioned teleprocessing system display frame option and provisioning information in the shown menu, employing be touch-sensitive display.
Therefore, because existing remote information processing terminal provides the function of direct input characters separately for the motorist, so input mode with application program in service (application) defined, the display frame of text lines such as can importing Korean, English, numeral, special character is provided, but supports the keypad function of input characters with this.
Fig. 1 is the keyboard picture view on the existing remote information processing terminal.
With reference to Fig. 1, what the literal input mode of existing remote information processing terminal adopted is touch-sensitive display, and a whole set of Korean has been included in the arrangement of Korean PC keyboard.
At this, the monogram at first/middle sound/end of Korean is carried out according to Korean KSC-5601, though illustrate, English still according to the QWERTY series arrangement, the literal and the special character of input number keyboard vowel form.
Above-mentioned keyboard picture is the common module of using of application program that contains retrieval, registering functional, and it has the reset function that is used to pass on application information and makes the text (Query) of related application after above-mentioned keyboard is breathed out.
Importing the required data structure of above-mentioned literal (data structure) is KSC-5601 finishing type Korean form, the form that is used to receive code table (code table), English, numeral, special character input is being kept in the Korean input, and this code table comprises all finishing type literal that are used for realizing by keyboard combination the KSC-5601 finishing type.
In addition, when carrying out the keyboard input, because along with its input value of the difference of pushing the keyboard time also there are differences by above-mentioned keyboard.Promptly be divided into the input of short key (short key) and long key (long key), import mutually different keyboard value thereupon.
Fig. 2 is existing keyboard input-value check system and using method calcspar thereof.
With reference to Fig. 2, import transmission information in order to distinguish long key with short key at present, main thread (mainthread) 100 and keypad processor (keypad handler) thread is a unit period inspection keyboard input-value with 20ms simultaneously.
That is, for the unit inspection has the input of on-keyboard value, when new keyboard value input, the keypad processor can be stored in it in impact damper 130 with 20ms for above-mentioned keypad processor 120.
At this moment, above-mentioned main thread 100 generates the keypad processor thread, checks impact damper 130 then, stored keyboard value in the keypad processor thread read buffers, and to the primary module of bearing main Processing tasks (not shown) transmission information.
But the shortcoming that this existing system and method exist is: under the situation that does not have the input of keyboard value, often generate the keypad handling procedure, whether the main thread periodic test exists the keyboard value to change, and the resource of having wasted CPU thus greatly reduces processing speed.
And, often generate the keypad handling procedure, wasted the resource (CPU, storer etc.) that should give other modules, cause inefficiency.
In addition, above-mentioned teleprocessing system requires turning point logical input to carry out Interrupt Process when transferring the logical input mode of turning point to from key-area inputting ways.
Summary of the invention
This invention purpose is to provide keyboard input-value examination method, that is: in order more effectively to utilize inner limited resources such as remote information processing terminal, only when needs are checked keyboard input-value, just be used to generate/interrupt mode of active thread, and only taking place under the situation of interrupting, just generate and processing threads, thereby when not having the input of keyboard value, can impel other modules (CDMA, sound signal, mainly, GUI module etc.) processing threads carries out the keyboard input-value examination method of reaction treatment quickly.
To achieve these goals, the keyboard input-value examination method of this invention comprises following three phases: main thread receives the stage of keyboard input-value from keyboard scanner or turning point logical (Jog-Dial); Receive above-mentioned keyboard input-value and (interrupt), the stage that interrupt handler incident (event) takes place then occur interrupting; Interrupt handler utilizes IRL, IRQ to receive above-mentioned interruption, reads above-mentioned keyboard input-value and mark (flag) is set, and transmits the stage of keyboard unlatching and keyboard closing information then to the primary module of bearing main Processing tasks.
In addition, above-mentioned main thread generates the thread that is used to receive the thread of keyboard scan value and is used to receive the logical input value of turning point, and when taking place to interrupt, the exhalation interrupt handler reads above-mentioned keyboard input-value, and transmits information to above-mentioned primary module.
In addition, above-mentioned interrupt handler is to handling from the interruption of keyboard scanner generation with from the logical interrupting information that produces of turning point, promptly, if under interrupt latency (interrupt wait) state, utilize IRL, IRQ to confirm to interrupt taking place, then read keyboard input-value and mark is set, when keyboard is pressed and unclamp, upwards state primary module respectively and transmit information.
This invention effect is: still thread is periodically checked under the keyboard value input condition not having, thereby only a situation arises handles wasted resource down interrupting, so just, reduced the waste of resource, and by moving many threads simultaneously, can reduce the waste of CPU and memory resource, improve the performance and the speed of other modules.
Description of drawings
Fig. 1 is the keyboard picture view that shows on existing remote information processing terminal.
Fig. 2 is existing keyboard input-value check system and using method calcspar thereof.
Fig. 3 is the outside formation of the remote information processing terminal synoptic diagram that is suitable for keyboard input-value check system of the present invention.
Fig. 4 is keyboard input-value check system of the present invention and using method calcspar.
Accompanying drawing major part symbol description
300: main thread 320: interrupt handler
322:IRL 324:IRQ
Embodiment
Below with reference to accompanying drawings embodiments of the invention are elaborated.
Fig. 3 is the outside pie graph that is suitable for remote information processing terminal of the present invention.
The device that is suitable for keyboard input-value check system of the present invention is not limited to above-mentioned remote information processing terminal.
As shown in Figure 3, remote information processing terminal 200 comprises: a plurality of switches 220 of color LCD display 210, aforementioned display device both sides, the rotary switch 230 by the input of the keyboard picture in aforementioned display device provisioning information.
Here, above-mentioned rotary switch 230 is being brought into play the effect of turning point logical (jog dial) or thumb wheel (jogstick).
In addition, above-mentioned rotary switch 230 is not located in the remote information processing terminal 200, can be located at the position that does not hinder driving according to operation.
Promptly, above-mentioned remote information processing terminal is different with existing remote information processing terminal, not only can utilize the keyboard on the picture to come input characters etc., the logical or thumb wheel function of turning point that can also be by rotary switch 230 is imported the desirable literal of user, numeral etc.
Therefore, above-mentioned teleprocessing system can be from keyboard scanner or the logical keyboard input-value that obtains regulation of turning point.
The present invention is for more effectively utilizing the limited resources (CPU of above-mentioned remote information processing terminal inside, storer etc.), only when being necessary keyboard input-value checked, just be used to generate/interrupt mode of active thread, and only taking place under the interruption situation, just generate and processing threads.
Fig. 4 is the keyboard input-value check system of this invention and the operational block figure of using method thereof.
As shown in Figure 4, if main thread 300 then occurs interrupting from keyboard scanner or the logical keyboard input-value that receives of turning point, produce the interrupt handler incident.If interrupt handler 320 utilizes IRL322, IRQ324 to receive interrupting information, then read keyboard input-value and mark is set, transmit the information that keyboard is opened or keyboard is closed to the primary module of bearing main Processing tasks.
That is, above-mentioned main thread 300 generates the thread that is used to receive the thread of keyboard scan value and is used to receive the logical input value of turning point, and when central broken hair was given birth to, exhalation interrupt handler 320 read keyboard input-value and transmits information to above-mentioned primary module.
In addition, the interruption that 320 pairs of above-mentioned interrupt handlers produce from keyboard scanner and handle from the logical interruption that produces of turning point, if under the interrupt latency state, confirm to interrupt taking place from IRL322, IRQ324, then read keyboard input-value and set mark, when keyboard is pressed or unclamp, transmit information to above-mentioned primary module.
At this moment, IRQ324 is that the abbreviation of (Interrupt Request) is interrupted in requirement, all will be to the item of processor requirement necessity when the information of carrying out between any device and system is transmitted.That is, if want to use some device, system all can require to open IRQ, if want to use two devices with same IRQ, system then will can not work or two devices in a device can not work.

Claims (3)

1, a kind of keyboard input-value examination method is characterized in that, comprises following three phases:
Main thread connects the stage of receiving keyboard input-value from keyboard scanner or turning point;
Occur interrupting along with receiving above-mentioned keyboard input-value, produce the interrupt handler incident stage then;
Interrupt handler utilizes IRL, IRQ to receive above-mentioned interrupting information, reads above-mentioned keyboard input-value and mark is set, and transmits the stage of keyboard unlatching and keyboard closing information then to the primary module of bearing main Processing tasks.
2, keyboard input-value examination method according to claim 1, it is characterized in that, above-mentioned main thread generates the thread that is used to receive the thread of keyboard scan value and is used to receive the logical input value of turning point, exhalation interrupt handler when central broken hair is given birth to, read keyboard input-value, and transmit information to above-mentioned primary module.
3, keyboard input-value examination method according to claim 1, it is characterized in that, above-mentioned interrupt handler is to handling from the interruption of keyboard scanner generation with from the logical interruption that produces of turning point, if under the interrupt latency state, confirm to interrupt producing from IRL, IRQ, then read keyboard input-value and mark is set, when keyboard is pressed and unclamp, upwards state primary module respectively and transmit information.
CN 200510111114 2005-12-02 2005-12-02 Keyboard input-value examination method Pending CN1979456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510111114 CN1979456A (en) 2005-12-02 2005-12-02 Keyboard input-value examination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510111114 CN1979456A (en) 2005-12-02 2005-12-02 Keyboard input-value examination method

Publications (1)

Publication Number Publication Date
CN1979456A true CN1979456A (en) 2007-06-13

Family

ID=38130630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510111114 Pending CN1979456A (en) 2005-12-02 2005-12-02 Keyboard input-value examination method

Country Status (1)

Country Link
CN (1) CN1979456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976206A (en) * 2010-10-28 2011-02-16 北京中星微电子有限公司 Interrupt handling method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976206A (en) * 2010-10-28 2011-02-16 北京中星微电子有限公司 Interrupt handling method and device
CN101976206B (en) * 2010-10-28 2016-04-20 北京中星微电子有限公司 A kind of interruption processing method and device

Similar Documents

Publication Publication Date Title
US7912706B2 (en) On-line predictive text dictionary
US20050041011A1 (en) Method and user interface for entering text
CN103180849B (en) Multi-data source is searched for using mobile computing device
US8462123B1 (en) Constrained keyboard organization
EP1405164A1 (en) Text entry method and device therefor
US7715191B2 (en) Handheld electronic communication device transitionable between compact and expanded configurations
US6554191B2 (en) Data entry method for portable communications device
US20040044422A1 (en) System and method for intelligent text input
US8154520B2 (en) Handheld electronic communication device transitionable between compact and expanded configurations
JP5168709B2 (en) Mobile terminal device, character input conversion method, program
KR100361621B1 (en) System and method for receiving and displaying Korean
CN1979456A (en) Keyboard input-value examination method
RU2359312C2 (en) Data input method
EP1540452B1 (en) System and method for intelligent text input in a mobile device
JP3600844B2 (en) Input character restriction method, network system, and mobile information terminal
US8134488B2 (en) Remote controller for portable mobile network device
KR20060065271A (en) Check method of key input value
JP5493376B2 (en) Portable terminal, character input method thereof, program, and recording medium
JP3780907B2 (en) Arithmetic processing device and program
US20090160775A1 (en) Trackball input for handheld electronic device
JP5723874B2 (en) Dual script text input and key highlight function
Mulhall et al. Prescriptive care? Guidelines and protocols.
CN104268131A (en) Method For Speeding Up Candidates Selection In Chinese Input
EP2107764A1 (en) Handheld electronic communication device transitionable between compact and expanded configurations
JP2010198231A (en) Processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication