KR20060065271A - Check method of key input value - Google Patents

Check method of key input value Download PDF

Info

Publication number
KR20060065271A
KR20060065271A KR1020040104083A KR20040104083A KR20060065271A KR 20060065271 A KR20060065271 A KR 20060065271A KR 1020040104083 A KR1020040104083 A KR 1020040104083A KR 20040104083 A KR20040104083 A KR 20040104083A KR 20060065271 A KR20060065271 A KR 20060065271A
Authority
KR
South Korea
Prior art keywords
key
interrupt
input value
key input
thread
Prior art date
Application number
KR1020040104083A
Other languages
Korean (ko)
Inventor
송민영
Original Assignee
엘지전자 주식회사
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 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020040104083A priority Critical patent/KR20060065271A/en
Publication of KR20060065271A publication Critical patent/KR20060065271A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/096877Systems involving transmission of navigation instructions to the vehicle where the input to the navigation device is provided by a suitable I/O arrangement

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

본 발명에 의한 키 입력값 체크 방법은, 메인 쓰레드에서 키 스캔 또는 조그 다이얼로부터 키 입력값을 받는 단계와; 상기 키 입력값을 받음에 따라 인터럽트가 발생하여 인터럽트 핸들러 이벤트를 발생시키는 단계와; 인터럽트 핸들러가 각각 IRL, IRQ로부터 상기 인터럽트를 받아 상기 키 입력값을 읽어와 플래그(flag)를 세팅하고, 키 온 또는 키 오프 메시지를 주처리 담당 모듈인 메인 모듈에 전송하는 단계가 포함되는 것을 특징으로 한다.이와 같은 본 발명에 의하면, 키값 입력이 없는 경우에도 주기적으로 쓰레드를 체크함으로써 낭비되는 자원을 인터럽트가 발생할 경우에만 처리해 줌으로써, 자원의 낭비를 줄일 수 있으며, 여러 쓰레드가 동시에 실행됨으로써 CPU 및 메모리의 낭비를 줄여 다른 모듈의 속도 향상과 성능 향상을 도모할 수 있다는 장점이 있다. The key input value checking method according to the present invention comprises the steps of: receiving a key input value from a key scan or a jog dial in a main thread; Generating an interrupt handler event by generating an interrupt upon receiving the key input value; The interrupt handler receives the interrupt from the IRL and IRQ, reads the key input value, sets a flag, and transmits a key on or key off message to the main module which is the main module in charge. According to the present invention, even when there is no key value input, by periodically checking the threads, the wasted resources can be handled only when an interrupt occurs, thereby reducing the waste of resources. The advantage of reducing memory waste is that the speed and performance of other modules can be improved.

Description

키 입력값 체크 방법{check method of key input value}Check method of key input value}

도 1은 종래의 텔레매틱스 단말기에 디스플레이되는 키패드 화면을 도시한 도면.1 is a diagram illustrating a keypad screen displayed on a conventional telematics terminal.

도 2는 종래의 키 입력값 체크 시스템 및 그 방법을 나타내는 블록도.2 is a block diagram showing a conventional key input value checking system and method thereof.

도 3은 본 발명에 의한 키 입력값 체크 시스템이 적용되는 텔레매틱스 단말기의 외부 구성을 나타내는 도면.3 is a diagram illustrating an external configuration of a telematics terminal to which a key input value checking system according to the present invention is applied.

도 4는 본 발명에 의한 키 입력값 체크 시스템 및 그 방법을 나타내는 블록도.Figure 4 is a block diagram showing a key input value check system and method according to the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

300 : 메인 쓰레드 320 : 인터럽트 핸들러300: main thread 320: interrupt handler

322 : IRL 324 : IRQ322 IRL 324 IRQ

본 발명은 키 입력값 체크 방법에 관한 것으로, 특히 자동차 내부에 설치되는 텔레매틱스에 구비된 키 입력값 체크 시스템에 있어, 키 입력이 있는 경우에만 인터럽트를 제공받아 이를 처리하는 키 입력값 체크 방법에 관한 것이다. The present invention relates to a key input value check method, and more particularly, to a key input value check system provided in a telematics installed inside an automobile, and relates to a key input value check method for receiving an interrupt only when there is a key input and processing the same. will be.                         

최근 들어 차량에는 텔레매틱스를 장착하여 차량위치정보 서비스, 차량도난 및 사고 감지, 원격 차량 진단, 긴급 구난, 교통정보 서비스와 더불어 무선인터넷을 이용한 모바일 오피스 구현, 전자 메일 서비스 등을 제공하도록 한다. 텔레매틱스(telematics)는 통신(TELEcommunication)과 정보과학(inforMATICS)을 합친 용어로 자동차와 컴퓨터, 이통통신 기술의 결합을 의미한다. Recently, vehicles are equipped with telematics to provide vehicle location information service, vehicle theft and accident detection, remote vehicle diagnosis, emergency rescue, traffic information service, mobile office implementation using wireless internet, and e-mail service. Telematics is a combination of TELEcommunication and inforMATICS, which means a combination of automotive, computer, and telecommunications technologies.

텔레매틱스의 기능 가운데 가장 널리 알려진 것은 자동 항법 기술, GPS(Global Positioning System, 위성 위치 확인시스템)이다. The most widely known features of telematics are automatic navigation technology and the Global Positioning System (GPS).

또한, 텔레매틱스의 또 다른 기능은 운행 중인 차량의 고장을 멀리 자동차 서비스 센터에서 원격 진단할 수 있도록 하는 것이다. In addition, another function of telematics is to allow remote diagnosis of a car's failure at a distance.

이 외에도 텔레매틱스에는 무선 인터넷, 차량 원격 진단과 긴급 구난 지원, 교통정보, 생활정보 등의 각종 컨텐츠 제공 기능도 있다. In addition, Telematics also provides various contents such as wireless internet, remote vehicle diagnosis, emergency rescue assistance, traffic information, and living information.

종래의 경우 상기 텔레매틱스의 디스플레이 화면 상에 표시된 메뉴 중 원하는 메뉴의 선택 또는 상기 디스플레이 화면 상에 소정의 정보를 입력하기 위하여 터치 스크린 방식을 이용하였다. In the related art, a touch screen method is used to select a desired menu from among menus displayed on the display screen of the telematics or to input predetermined information on the display screen.

따라서, 종래의 텔레매틱스 단말기는 운전자에게 독립적으로 직접 문자 입력하는 기능을 제공하지 않기 때문에 수행 중 어플리케이션(application)에 규정된 입력 방식으로 한글/ 영문/ 숫자/ 특수문자 등의 문자열 입력이 가능한 디스플레이 화면을 제공하여, 키패드 문자 입력을 가능하도록 하는 키패드 기능을 지원한다.Therefore, since the conventional telematics terminal does not provide a function of directly inputting characters independently to the driver, a display screen capable of inputting character strings such as Korean / English / numeric / special characters by an input method defined in an application during execution is provided. It provides a keypad function to enable keypad character input.

도 1은 종래의 텔레매틱스 단말기에 디스플레이되는 키패드 화면을 도시한 도면이다. 1 is a diagram illustrating a keypad screen displayed on a conventional telematics terminal.                         

도 1을 참조하면, 종래의 텔레매틱스 단말기에서의 문자 입력방식은 터치 스크린 방식으로, 한글 PC 자판 배열은 키보드의 한글 자모 세트 전체를 수용하고 있다. Referring to FIG. 1, the character input method of the conventional telematics terminal is a touch screen method, and the Hangul PC keyboard arrangement accommodates the entire Hangul alphabet set of the keyboard.

이에 한글 초성/중성/조성 자모 조합은 한글 KSC-5601을 따르며, 도시되지 않았지만 영문은 QWERTY 배열, 숫자키 모음 형식 및 특수 문자 입력이 가능하다.The Hangul initial / neutral / composite combination follows the Korean KSC-5601, and although not shown in the English, QWERTY array, numeric key collection type, and special characters can be input.

이와 같은 키패드 화면은 검색, 등록 기능을 포함하는 어플리케이션(application)에서 공통적으로 사용되는 모듈로서, 상기 키패드 화면이 호출된 후 어플리케이션에 대한 정보와 해당 어플리케이션으로 작성한 텍스트 Query를 전달하기 위한 복귀 기능을 포함하고 있다.Such a keypad screen is a module commonly used in an application including a search and registration function. The keypad screen includes a return function for delivering information about an application and a text query made to the application after the keypad screen is called. Doing.

상기 문자 입력에 필요한 데이터 구조(data structure)는 KSC-5601 완성형 한글형식이며, 한글 입력은 키 조합으로 KSC-5601 완성형을 구현하기 위한 완성형 문자 전체를 포함하는 코드 테이블(Code table)과 영문, 숫자, 특수문자 입력을 받기 위한 테이블을 유지하고 있다.The data structure required for the character input is KSC-5601 complete type Hangul format, and the Korean input is a code table including all complete characters to implement KSC-5601 complete type with key combinations, and English and numeric characters. It maintains a table for receiving special character input.

또한, 상기 키패드를 통한 키 입력의 경우 소정의 키를 누르는 시간에 따라 그 입력값이 차이가 난다. 즉, 쇼트키(short key)와 롱키(long key) 입력이 구분되어, 그에 따라 서로 다른 값이 입력되는 것이다.In addition, in the case of key input through the keypad, the input value is different according to the time when a predetermined key is pressed. That is, the short key and the long key input are distinguished, and different values are input accordingly.

도 2는 종래의 키 입력값 체크 시스템 및 그 방법을 나타내는 블록도이다. 2 is a block diagram showing a conventional key input value checking system and method thereof.

도 2를 참조하면, 종래의 경우 쇼트키 입력과 롱키 입력을 구분하여 메시지를 전송하기 위해 메인 쓰레드(main thread)(100)와 키패드 핸들러(keypad handler) 쓰레드가 동시에 20ms 단위로 주기적으로 키값 입력을 체크한다. Referring to FIG. 2, in the conventional case, a main thread 100 and a keypad handler thread periodically input a key value in 20 ms units at the same time in order to transmit a message by distinguishing between a short key input and a long key input. Check it.                         

즉, 상기 키패드 핸들러(120)는 20ms 단위로 키값 입력 유무를 체크하여 새로운 키값이 입력되었을 경우 버퍼(130)에 이를 저장하는 역할을 한다.That is, the keypad handler 120 checks whether a key value is input in units of 20 ms and stores a new key value in the buffer 130 when a new key value is input.

이 때, 상기 메인 쓰레드(100)는 키패드 핸들러 쓰레드를 생성하고, 버퍼(130)를 체크하여 키패드 핸들러 쓰레드에서 버퍼에 저장한 키값을 읽어와 주처리 담당 모듈인 메인 모듈(미도시)로 메시지를 보낸다.At this time, the main thread 100 generates a keypad handler thread, checks the buffer 130, reads the key value stored in the buffer from the keypad handler thread, and sends a message to the main module (not shown) which is the main module in charge of processing. send.

그러나, 이와 같은 종래의 시스템 및 방법은, 키값 입력이 없는 경우에도 항상 키패드 핸들러를 생성하여 주기적으로 쓰레드에서 키값이 변경되었는지 체크하므로 CPU 자원이 낭비되고 속도가 저하되는 단점이 있다.However, such a conventional system and method has a disadvantage in that even when there is no key value input, a keypad handler is always generated to check whether a key value is changed in a thread periodically, which wastes CPU resources and speeds up.

즉, 항상 키패드 핸들러가 생성되므로 다른 모듈에 할당된 자원(CPU, 메모리 등)을 낭비하게 되므로 효율성이 떨어진다.In other words, since the keypad handler is always created, the resources allocated to other modules (CPU, memory, etc.) are wasted, thus reducing efficiency.

또한, 상기 텔레매틱스가 키패드 입력방식에서 조그 다이얼 입력 방식으로 바뀌면서 조그 다이얼 입력에 대한 인터럽트 처리가 요구되고 있다. In addition, as the telematics is changed from a keypad input method to a jog dial input method, interrupt processing for jog dial input is required.

본 발명은 텔레매틱스 단말기 등의 내부에 구비된 한정된 자원(CPU, 메모리 등)을 보다 효율적으로 사용하기 위하여, 키 입력값 체크에 있어서 필요한 경우에만 쓰레드를 생성/ 실행시키기 위해 인터럽트 방식을 활용하여 인터럽트가 발생할 경우에만 쓰레드를 생성하고 처리함으로써, 키 입력이 없는 경우 다른 모듈(CDMA, 오디오, 메인, GUI 모듈 등)에서 쓰레드를 처리하도록 하여 보다 빠르게 반응처리를 할 수 있는 키 입력값 체크 방법을 제공함에 그 목적이 있다.The present invention utilizes an interrupt scheme to create and execute a thread only when necessary for key input value check in order to more efficiently use the limited resources (CPU, memory, etc.) provided in the telematics terminal. By creating and processing a thread only when it occurs, if there is no key input, another module (CDMA, audio, main, GUI module, etc.) handles the thread and provides a method for checking the key input value for faster response. The purpose is.

상기 목적을 달성하기 위하여 본 발명에 의한 키 입력값 체크 방법은, 메인 쓰레드에서 키 스캔 또는 조그 다이얼로부터 키 입력값을 받는 단계와; 상기 키 입력값을 받음에 따라 인터럽트가 발생하여 인터럽트 핸들러 이벤트를 발생시키는 단계와; 인터럽트 핸들러가 각각 IRL, IRQ로부터 상기 인터럽트를 받아 상기 키 입력값을 읽어와 플래그(flag)를 세팅하고, 키 온 또는 키 오프 메시지를 주처리 담당 모듈인 메인 모듈에 전송하는 단계가 포함되는 것을 특징으로 한다.In order to achieve the above object, a key input value checking method according to the present invention includes: receiving a key input value from a key scan or a jog dial in a main thread; Generating an interrupt handler event by generating an interrupt upon receiving the key input value; The interrupt handler receives the interrupt from the IRL and IRQ, reads the key input value, sets a flag, and transmits a key on or key off message to the main module which is the main module in charge. It is done.

또한, 상기 메인 쓰레드에서는 키 스캔값을 받기 위한 쓰레드와, 조그 다이얼 입력값을 받기 위한 쓰레드를 생성하며, 인터럽트 발생시 인터럽트 핸들러를 호출하여 키 입력값을 읽어 상기 메인 모듈에 메시지를 전송함을 특징으로 한다.In addition, the main thread generates a thread for receiving a key scan value and a thread for receiving a jog dial input value, and when an interrupt occurs, the interrupt handler is called to read a key input value and transmit a message to the main module. do.

또한, 상기 인터럽트 핸들러에서 키 스캔으로부터 발생한 인터럽트 처리와 조그 다이얼로부터 발생한 인터럽트를 처리함에 있어, 이는 인터럽트 웨이트(interrupt wait) 상태에서 IRL과 IRQ로부터 인터럽트 발생을 인지하면 키 입력값을 읽고 플래그를 세팅하여 키가 눌렸을 때와 떼었을 때 각각 메시지를 상기 메인 모듈로 전송함을 특징으로 한다. In addition, in processing the interrupt from the key scan and the interrupt from the jog dial, the interrupt handler reads the key input value and sets a flag when the interrupt handler recognizes the interrupt from the IRL and IRQ in the interrupt wait state. When a key is pressed and released, the message is transmitted to the main module, respectively.

이하, 첨부된 도면을 참조하여 본 발명의 실시예를 보다 상세히 설명하도록 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 의한 키 입력값 체크 시스템이 적용되는 텔레매틱스 단말기의 외부 구성을 나타내는 도면이다.3 is a diagram illustrating an external configuration of a telematics terminal to which a key input value checking system according to the present invention is applied.

단, 본 발명에 의한 키 입력값 체크 시스템이 적용되는 장치가 상기 텔레매틱스 단말기에 한정되는 것은 아니다. However, the apparatus to which the key input value checking system according to the present invention is applied is not limited to the telematics terminal.                     

도 3에 도시된 바와 같이, 본 발명의 실시예에 의한 텔레매틱스 단말기(200)는 컬러 LCD 디스플레이부(210)와, 상기 디스플레이부 측면에 구비된 다수의 단축 스위치(220)와, 상기 디스플레이부에 표시되는 키패드 화면을 통해 소정의 정보를 입력시키는 회전 스위치(230)가 구비되어 있다.As shown in FIG. 3, the telematics terminal 200 according to the embodiment of the present invention includes a color LCD display 210, a plurality of short-circuit switches 220 provided on the side of the display, and the display unit. The rotary switch 230 for inputting predetermined information through the keypad screen to be displayed is provided.

여기서, 상기 회전 스위치(230)는 조그 다이얼(Jog Dial) 또는 조그 스틱(Jog Stick) 역할을 수행한다.Here, the rotary switch 230 serves as a jog dial or a jog stick.

또한, 상기 회전 스위치(230)는 텔레매틱스 단말기(200) 내에 구비되지 않고, 조작에 있어 운전에 방해가 되지 않는 위치에 설치될 수 있다. In addition, the rotary switch 230 may not be provided in the telematics terminal 200 and may be installed at a position that does not interfere with operation in operation.

즉, 상기 텔레매틱스 단말기는 종래의 텔레매틱스 단말기와는 달리 화면상의 키패드를 이용하여 문자 등을 입력할 수 있을 뿐 아니라, 회전 스위치(230)의 조그 다이얼 또는 조그 스틱 기능을 통해 사용자가 원하는 문자, 숫자 등을 입력하게 된다.That is, the telematics terminal not only can input characters and the like using a keypad on the screen, but also letters and numbers desired by the user through the jog dial or jog stick function of the rotary switch 230, unlike the conventional telematics terminal. Will be entered.

이에 따라 상기 텔레매틱스는 키 스캔(key scan) 또는 조그 다이얼로부터 소정의 키 입력값을 제공받을 수 있는 것이다.Accordingly, the telematics may be provided with a predetermined key input value from a key scan or jog dial.

본 발명은 상기 텔레매틱스 단말기 내부에 구비된 한정된 자원(CPU, 메모리 등)을 보다 효율적으로 사용하기 위하여, 키 입력값 체크에 있어서 필요한 경우에만 쓰레드를 생성/ 실행시키기 위해 인터럽트 방식을 활용하여 인터럽트가 발생할 경우에만 쓰레드를 생성하고 처리함을 그 특징으로 한다. According to the present invention, in order to more efficiently use the limited resources (CPU, memory, etc.) provided in the telematics terminal, an interrupt may be generated by using an interrupt method to generate / execute a thread only when necessary for checking a key input value. It only creates and processes threads.

도 4는 본 발명에 의한 키 입력값 체크 시스템 및 그 방법을 나타내는 블록도이다. 4 is a block diagram showing a key input value checking system and method according to the present invention.                     

도 4에 도시된 바와 같이, 메인 쓰레드(300)에서 키 스캔 또는 조그 다이얼로부터 키 입력값을 받으면, 인터럽트가 발생하여 인터럽트 핸들러 이벤트를 발생시키며, 이에 인터럽트 핸들러(320)는 각각 IRL(322), IRQ(324)로부터 인터럽트를 받으면 키 입력값을 읽어와 플래그(flag)를 세팅하고, 키 온 또는 키 오프 메시지를 주처리 담당 모듈인 메인 모듈(미도시)에 보낸다.As shown in FIG. 4, when the main thread 300 receives a key input value from a key scan or a jog dial, an interrupt is generated to generate an interrupt handler event. The interrupt handler 320 generates an IRL 322, respectively. When the interrupt is received from the IRQ 324, the key input value is read, the flag is set, and the key on or key off message is sent to the main module (not shown) which is the main module in charge of processing.

즉, 상기 메인 쓰레드(300)에서는 키 스캔값을 받기 위한 쓰레드와, 조그 다이얼 입력값을 받기 위한 쓰레드를 생성하며, 인터럽트 발생시 인터럽트 핸들러(320)를 호출하여 키 입력값을 읽어 상기 메인 모듈(미도시)에 메시지를 보낸다.That is, the main thread 300 generates a thread for receiving a key scan value and a thread for receiving a jog dial input value, and calls an interrupt handler 320 to read a key input value when an interrupt occurs, thereby reading the main module (not shown). Send a message).

또한, 상기 인터럽트 핸들러(320)는 키 스캔으로부터 발생한 인터럽트 처리와 조그 다이얼로부터 발생한 인터럽트를 처리하는데, 각각은 인터럽트 웨이트(interrupt wait) 상태에서 IRL(322)과 IRQ(324)로부터 인터럽트 발생을 인지하면 키값을 읽고 플래그를 세팅하여 키가 눌렸을 때와 떼었을 때 각각 메시지를 상기 메인 모듈로 보내는 역할을 한다. In addition, the interrupt handler 320 processes interrupts generated from a key scan and interrupts generated from a jog dial. Each of the interrupt handlers 320 recognizes an interrupt generated from an IRL 322 and an IRQ 324 in an interrupt wait state. It reads the key value and sets a flag to send a message to the main module when the key is pressed and released.

이 때, IRQ(324)는 인터럽트 요구(Intereupt Request)의 약어로서, 어떤 장치와 시스템 사이에 의사소통 할 때 필요한 요구사항을 프로세서에게 요청하는 것이다. 즉, 어떤 장치를 사용하려면, 시스템은 IRQ를 열어 줄 것을 요구하며, 만약 같은 IRQ를 가지는 두 개의 장치를 사용하려고 하면 시스템이 작동하지 않거나 그 장치 중 하나는 작동하지 않게 된다.In this case, the IRQ 324 is an abbreviation of Intereupt Request, and requests the processor for requirements necessary for communicating between a device and a system. In other words, to use a device, the system requires that the IRQ be opened, and if you try to use two devices with the same IRQ, the system will not work or one of those devices will not work.

이와 같은 본 발명에 의하면, 키값 입력이 없는 경우에도 주기적으로 쓰레드를 체크함으로써 낭비되는 자원을 인터럽트가 발생할 경우에만 처리해 줌으로써, 자원의 낭비를 줄일 수 있으며, 여러 쓰레드가 동시에 실행됨으로써 CPU 및 메모리의 낭비를 줄여 다른 모듈의 속도 향상과 성능 향상을 도모할 수 있다는 장점이 있다.  According to the present invention, even if there is no key value input, by periodically checking the thread to process the wasted resources only when an interruption occurs, it is possible to reduce the waste of resources, and by running multiple threads simultaneously wastes CPU and memory It is possible to reduce the speed of other modules to improve the speed and performance.

Claims (3)

메인 쓰레드에서 키 스캔 또는 조그 다이얼로부터 키 입력값을 받는 단계와;Receiving key input from a key scan or jog dial in the main thread; 상기 키 입력값을 받음에 따라 인터럽트가 발생하여 인터럽트 핸들러 이벤트를 발생시키는 단계와;Generating an interrupt handler event by generating an interrupt upon receiving the key input value; 인터럽트 핸들러가 각각 IRL, IRQ로부터 상기 인터럽트를 받아 상기 키 입력값을 읽어와 플래그(flag)를 세팅하고, 키 온 또는 키 오프 메시지를 주처리 담당 모듈인 메인 모듈에 전송하는 단계가 포함되는 것을 특징으로 하는 키 입력값 체크 방법.The interrupt handler receives the interrupt from the IRL and IRQ, reads the key input value, sets a flag, and transmits a key on or key off message to the main module which is the main module in charge. Key input value check method. 제 1항에 있어서,The method of claim 1, 상기 메인 쓰레드에서는 키 스캔값을 받기 위한 쓰레드와, 조그 다이얼 입력값을 받기 위한 쓰레드를 생성하며, 인터럽트 발생시 인터럽트 핸들러를 호출하여 키 입력값을 읽어 상기 메인 모듈에 메시지를 전송함을 특징으로 하는 키 입력값 체크 방법.The main thread generates a thread for receiving a key scan value and a thread for receiving a jog dial input value, and when an interrupt occurs, the interrupt handler is called to read a key input value and transmit a message to the main module. How to check the input value. 제 1항에 있어서,The method of claim 1, 상기 인터럽트 핸들러에서 키 스캔으로부터 발생한 인터럽트 처리와 조그 다이얼로부터 발생한 인터럽트를 처리함에 있어, 이는 인터럽트 웨이트(interrupt wait) 상태에서 IRL과 IRQ로부터 인터럽트 발생을 인지하면 키 입력값을 읽고 플래 그를 세팅하여 키가 눌렸을 때와 떼었을 때 각각 메시지를 상기 메인 모듈로 전송함을 특징으로 하는 키 입력값 체크 방법.In processing the interrupt from the key scan and the interrupt from the jog dial, the interrupt handler reads the key input value and sets the flag when the interrupt is detected from the IRL and IRQ in the interrupt wait state. The method of checking a key input value, wherein the message is transmitted to the main module when pressed and released.
KR1020040104083A 2004-12-10 2004-12-10 Check method of key input value KR20060065271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040104083A KR20060065271A (en) 2004-12-10 2004-12-10 Check method of key input value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040104083A KR20060065271A (en) 2004-12-10 2004-12-10 Check method of key input value

Publications (1)

Publication Number Publication Date
KR20060065271A true KR20060065271A (en) 2006-06-14

Family

ID=37160573

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040104083A KR20060065271A (en) 2004-12-10 2004-12-10 Check method of key input value

Country Status (1)

Country Link
KR (1) KR20060065271A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100780969B1 (en) * 2006-08-10 2007-11-30 엘지전자 주식회사 Apparatus and method for input key processing in car navigation device
CN102306418A (en) * 2007-11-28 2012-01-04 冲电气工业株式会社 Method and apparatus for determining check value
US8516231B2 (en) 2009-02-27 2013-08-20 Samsung Electronics Co., Ltd. Interrupt handling apparatus and method for equal-model processor and processor including the interrupt handling apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100780969B1 (en) * 2006-08-10 2007-11-30 엘지전자 주식회사 Apparatus and method for input key processing in car navigation device
CN102306418A (en) * 2007-11-28 2012-01-04 冲电气工业株式会社 Method and apparatus for determining check value
US8516231B2 (en) 2009-02-27 2013-08-20 Samsung Electronics Co., Ltd. Interrupt handling apparatus and method for equal-model processor and processor including the interrupt handling apparatus

Similar Documents

Publication Publication Date Title
EP2011033B1 (en) On-line predictive text dictionary
EP0938799B1 (en) Cellular telephone including language translation feature
US20070094618A1 (en) Multiple cursor system
US20050041011A1 (en) Method and user interface for entering text
US8423908B2 (en) Method for identifying language of text in a handheld electronic device and a handheld electronic device incorporating the same
JP5230380B2 (en) In-vehicle device and in-vehicle display system
WO2011017917A1 (en) Quick location method and apparatus for display content on electronic device
US8417036B2 (en) Method for selecting a designation
US8154520B2 (en) Handheld electronic communication device transitionable between compact and expanded configurations
JP2009512039A (en) Electronic device keypad and method of operating electronic device keypad
KR20060065271A (en) Check method of key input value
RU2359312C2 (en) Data input method
RU2690208C2 (en) Car communication and entertainment system
KR20040023329A (en) Character input apparatus at telematics terminal and method thereof
US7439955B2 (en) Input keyboard with increased number of keys for an electronic device with a limited number of connecting pins
CN102446063A (en) Alerting users to notice shortcut on computer
CN1979456A (en) Keyboard input-value examination method
US20070013667A1 (en) Electronic device and method for entering characters therein
CA2661559C (en) Method for identifying language of text in a handheld electronic device and a handheld electronic device incorporating the same
EP1987413A1 (en) Method and system of identifying an ideographic character
KR100455773B1 (en) Key pad for contain reverse key and method for input character
JP2012532365A (en) Dual script text input and key highlight function
WO2011158064A1 (en) Mixed ambiguity text entry
EP2107764A1 (en) Handheld electronic communication device transitionable between compact and expanded configurations
CN104268131A (en) Method For Speeding Up Candidates Selection In Chinese Input

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination