KR100600961B1 - Key with the plural key value output port and apparatus and method for the key recognition using it - Google Patents
Key with the plural key value output port and apparatus and method for the key recognition using it Download PDFInfo
- Publication number
- KR100600961B1 KR100600961B1 KR1020040055235A KR20040055235A KR100600961B1 KR 100600961 B1 KR100600961 B1 KR 100600961B1 KR 1020040055235 A KR1020040055235 A KR 1020040055235A KR 20040055235 A KR20040055235 A KR 20040055235A KR 100600961 B1 KR100600961 B1 KR 100600961B1
- Authority
- KR
- South Korea
- Prior art keywords
- key
- key value
- value output
- port
- input
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/23—Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
1. 청구범위에 기재된 발명이 속하는 기술분야1. TECHNICAL FIELD OF THE INVENTION
본 발명은, 다수의 키값 출력포트를 구비하는 키와 그를 이용한 키 인식 장치 및 그 방법에 관한 것임.The present invention relates to a key having a plurality of key value output ports, a key recognition device using the same, and a method thereof.
2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention
본 발명은, 키값 검출포트와 다수의 키값 출력포트를 구비하여 1: N 키 매트릭스를 만족시키기 위한, 다수의 키값 출력포트를 구비하는 키를 제공하는데 그 목적이 있음.SUMMARY OF THE INVENTION An object of the present invention is to provide a key having a plurality of key value output ports, having a key value detection port and a plurality of key value output ports, for satisfying a 1: N key matrix.
또한, 본 발명은, 종래의 키값 검출포트와 키값 출력포트의 1:1 키 매트릭스 구조를 이용한 키 인식 방법과는 달리 다수의 키값 출력포트를 구비하는 키를 이용하여 1:N 키 매트릭스 구조로 키를 인식함으로써, 범용입출력포트(GPIO)의 효율적인 사용을 위한, 다수의 키값 출력포트를 구비하는 키를 이용한 키 인식 장치 및 그 방법을 제공하는데 다른 목적이 있음.In addition, unlike the conventional key recognition method using a 1: 1 key matrix structure of a key value detection port and a key value output port, the present invention uses a key having a plurality of key value output ports in a 1: N key matrix structure. It is another object of the present invention to provide a key recognition apparatus and method using a key having a plurality of key value output ports for efficient use of a general purpose input / output port (GPIO).
3. 발명의 해결 방법의 요지3. Summary of the Solution of the Invention
본 발명은, 다수의 키값 출력포트를 구비하는 키를 이용하여 입력되는 키 신호를 입력받기 위한 키 연결수단; 상기 키 연결수단에서 키 신호를 입력받음에 따라 키 입력 인터럽트 신호를 발생시키기 위한 키 입력 감지수단; 제어수단으로부터의 키값출력 제어신호에 따라 기설정된 데이터를 상기 키 연결수단으로 출력하기 위한 키값 출력수단; 상기 키 연결수단에서 눌려진 키에 대하여, 상기 키값 출력수 단으로부터 출력되는 기설정된 데이터에 상응하는 키값 출력포트와 매칭되는 키값 검출포트에 해당하는 키값을 검출하기 위한 키값 검출수단; 및 상기 키 입력 감지수단으로부터 키 입력 인터럽트 신호를 입력받음에 따라 상기 키값 출력수단에 키값출력 제어신호를 전달하여 기설정된 데이터가 상기 키 연결수단으로 전달되도록 하며, 그에 따라 상기 키값 검출수단에서 검출한 키값과 상기 키값 검출수단에서 키값이 검출될 때 상기 키값 출력수단에서 출력되는 기설정된 데이터에 해당하는 다수의 키값을 이용하여 키를 인식하기 위한 상기 제어수단을 포함함.The present invention, a key connecting means for receiving a key signal input by using a key having a plurality of key value output port; Key input sensing means for generating a key input interrupt signal in response to receiving a key signal from the key connecting means; Key value output means for outputting predetermined data to said key connection means according to a key value output control signal from a control means; Key value detection means for detecting a key value corresponding to a key value detection port matched with a key value output port corresponding to predetermined data outputted from the key value output means, with respect to the key pressed by the key connection means; And in response to receiving a key input interrupt signal from the key input detecting means, transmits a key value output control signal to the key value output means so that predetermined data is transmitted to the key connecting means, and accordingly detected by the key value detecting means. And said control means for recognizing a key using a plurality of key values corresponding to predetermined values output from said key value output means when a key value is detected by said key value detection means.
4. 발명의 중요한 용도4. Important uses of the invention
본 발명은 무선통신 단말기 등에 이용됨.The present invention is used in a wireless communication terminal.
1:N 키 매트릭스(Key Matrix), 다수의 키값 출력포트를 구비하는 키, 키값 출력부, 키값 검출부, 키 인식, 범용입출력(GPIO)포트1: N key matrix, key with multiple key value output ports, key value output, key value detector, key recognition, general purpose input / output (GPIO) port
Description
도 1 은 종래의 키 매트릭스에 대한 일실시예 설명도,1 is an exemplary explanatory diagram of a conventional key matrix;
도 2 는 본 발명에 이용되는 키 입력 감지부의 일실시예 회로도,2 is a circuit diagram of an embodiment of a key input sensing unit used in the present invention;
도 3 은 종래의 키에 대한 일실시예 설명도,3 is a diagram illustrating an embodiment of a conventional key;
도 4 는 본 발명에 이용되는 키 매트릭스에 대한 일실시예 설명도,4 is a diagram illustrating an embodiment of a key matrix used in the present invention;
도 5 는 본 발명에 따른 다수의 키값 출력포트를 구비하는 키를 이용한 키 인식 장치의 일실시예 구성도,5 is a configuration diagram of a key recognition device using a key having a plurality of key value output ports according to the present invention;
도 6 은 본 발명에 따른 다수의 키값 출력포트를 구비하는 키에 대한 일실시예 설명도,6 is a diagram illustrating an embodiment of a key having a plurality of key value output ports according to the present invention;
도 7 은 본 발명에 따른 다수의 키값 출력포트를 구비하는 키를 이용한 키 인식 방법에 대한 일실시예 흐름도이다.7 is a flowchart illustrating a key recognition method using a key having a plurality of key value output ports according to the present invention.
* 도면의 주요 부분에 대한 부호 설명* Explanation of symbols on the main parts of the drawing
51 : 키 연결부 52 : 키 입력 감지부51: key connection unit 52: key input detection unit
53 : 키값 검출부 54 : 제어부53: key value detection unit 54: control unit
55 : 키값 출력부55: key value output unit
본 발명은, 다수의 키값 출력포트를 구비하는 키와 그를 이용한 키 인식 장치 및 그 방법에 관한 것으로, 더욱 상세하게는 종래의 키값 검출포트와 키값 출력포트의 1:1 키 매트릭스 구조를 이용한 키 인식 방법과는 달리 키값 검출포트와 다수의 키값 출력포트를 구비하여 1: N 키 매트릭스를 만족시키기 위한 다수의 키값 출력포트를 구비하는 키를 이용하여 1:N 키 매트릭스 구조로 키를 인식함으로써, 범용입출력포트(GPIO)의 효율적인 사용을 위한, 다수의 키값 출력포트를 구비하는 키와 그를 이용한 키 인식 장치 및 그 방법에 관한 것이다.The present invention relates to a key having a plurality of key value output ports, a key recognition device using the same, and a method thereof, and more particularly, to key recognition using a 1: 1 key matrix structure of a conventional key value detection port and a key value output port. Unlike the method, by using a key having a key value detection port and a plurality of key value output ports and having a plurality of key value output ports for satisfying a 1: N key matrix, the key is recognized in a 1: N key matrix structure. A key having a plurality of key value output ports, a key recognition device using the same, and a method thereof for efficient use of an input / output port (GPIO).
이하의 일예에서는 2개의 키값 출력포트를 구비하는 키를 이용한 키 인식 장치를 포함하는 무선통신 단말기를 예로 들어 설명하기로 한다.In the following example, a wireless communication terminal including a key recognition device using a key having two key value output ports will be described as an example.
본 발명에서 무선통신 단말기란 이동통신 단말기, 개인 휴대 통신 단말기(PCS), 개인용 디지털 단말기(PDA), 스마트폰, 차세대 이동통신 단말기(IMT-2000), 무선랜 단말기 등과 같이 개인이 휴대하면서 무선통신이 가능한 단말기를 말한다.In the present invention, a wireless communication terminal is a mobile communication terminal, a personal digital communication terminal (PCS), a personal digital terminal (PDA), a smart phone, a next generation mobile communication terminal (IMT-2000), wireless communication while being carried by an individual such as a wireless LAN terminal. Say this is possible terminal.
도 1 은 종래의 키 매트릭스에 대한 일실시예 설명도이다.1 is a diagram illustrating an exemplary embodiment of a conventional key matrix.
도 1 에 도시된 바와 같이, 종래에는 키값 검출포트와 키값 출력포트의 1:1 매트릭스 구조를 이용하여 키를 인식하였다.As shown in FIG. 1, in the related art, a key is recognized using a 1: 1 matrix structure of a key value detection port and a key value output port.
예를 들어, 제 1 키값 검출포트와 제 2 키값 출력포트에 상응하는 키는 6번 키이다.For example, the key corresponding to the first key value detection port and the second key value output port is the sixth key.
키 인식 방법에 대하여 설명하면, 6번 키는 제 1 키값 검출포트와 제 2 키값 출력포트가 눌렸을 때 인식되는데, 제어부(도 2 참조)는 키 매트릭스로부터 키 입력을 감지하면, 키값 출력부로 키값출력 제어신호를 전달한다.Referring to the key recognition method,
그러면, 키값 출력부는 제 1 키값 출력포트부터 제 6 키값 출력포트로 1 비트(bit)가 '0'인 데이터(111110, 111101, 111011, 110111, 101111, 011111)를 순차적으로 출력한다. 그러면, 제 1 키값 검출포트는 '101111'에 대하여 '0'이 되므로, 제어부는 검출된 키값 '1' 을 전달받는다. 한편, 제어부는 키값 출력부에서 기설정된 데이터가 출력되는 시간 간격을 알고 있으므로 상기 키값 출력부로부터 어떤 키값에 해당하는 데이터가 출력되는지 알 수 있다.Then, the key value output unit sequentially outputs data 111110, 111101, 111011, 110111, 101111, 011111 having a bit of '0' from the first key value output port to the sixth key value output port. Then, since the first key value detection port becomes '0' with respect to '101111', the controller receives the detected key value '1'. On the other hand, since the controller knows the time interval at which the data preset in the key value output unit is output, it can know which key value data is output from the key value output unit.
따라서, 제어부는 제 1 키값 검출포트와 제 2 키값 출력포트가 눌렸음을 확인하여 6번 키라고 인식하게 된다.Therefore, the controller determines that the first key value detection port and the second key value output port are pressed and recognizes the
도 2 는 본 발명에 이용되는 키 입력 감지부의 일실시예 회로도이다.2 is a circuit diagram of an embodiment of a key input sensing unit used in the present invention.
도 2 에 도시된 바와 같이, 본 발명에 이용되는 키 입력 감지부는, 다수의 키값 검출포트(21)의 출력을 논리적 '1'(High) 상태를 유지하기 위한 다수의 풀업 저항(Pullup Resistor)(22), 상기 각 키값 검출포트(21)의 출력 신호로부터 키 입력 인터럽트 신호를 발생시키기 위한 논리합 게이트(23)를 포함한다.As shown in FIG. 2, the key input detector used in the present invention includes a plurality of pullup resistors for maintaining the output of the plurality of key
상기 다수의 키값 검출포트(21)는 풀업 저항(22)으로 연결되어 있어 디폴트 로 '1'(High) 상태를 유지한다. 즉, 논리합 게이트(23)의 출력 신호도 '1'이다. 이때, 외부(사용자)로부터의 키 입력에 따라 눌려진 키값 검출포트가 '0'을 출력한다. 그러면, 논리합 게이트(23)는 상기 눌려진 키값 검출포트에 의해 키 입력 인터럽트 신호 '0'(Low)을 제어부(24)로 전달한다.The plurality of key
이후, 제어부(24)는 상기 키 입력 인터럽트 신호를 입력받음으로써, 키 입력을 감지하여 키를 인식하기 위한 과정을 수행한다.Thereafter, the
여기서, 풀업 저항(Pullup Resistor)이란, 디지털 회로에서 논리적으로 하이 레벨 상태를 유지하기 위하여 신호의 입력 또는 출력 단자와 전원 단자 사이에 위치하는 저항을 말한다.Here, a pullup resistor refers to a resistor positioned between an input or output terminal of a signal and a power supply terminal in order to maintain a logically high level state in a digital circuit.
도 3 은 종래의 키에 대한 일실시예 설명도이다.3 is a diagram illustrating an embodiment of a conventional key.
도 3 에 도시된 바와 같이, 종래의 키는 가운데 둥근 모양의 키값 검출포트(31)와 상기 키값 검출포트(31) 주위를 둘러싼 모양의 키값 출력포트(32)를 포함한다.As shown in FIG. 3, the conventional key includes a central round key
현재, 무선통신 단말기에서는 27개의 키가 필요한데, 5개의 키값 검출포트와 6개의 키값 출력포트를 이용하여 1:1 로 매칭시켜 30개의 키 사용이 가능하다. 즉, 하나의 키는 하나의 키값 검출포트와 하나의 키값 출력포트로 구성된다.Currently, 27 keys are required in a wireless communication terminal, and 30 keys can be used in a 1: 1 match using 5 key value detection ports and 6 key value output ports. That is, one key consists of one key value detection port and one key value output port.
그러나, 무선통신 단말기 및 컴퓨터와 같이 키(Key)를 가지는 기기에서 요구되어지는 키의 개수는 점점 증가하고 있다. 따라서, 키값 검출포트 및 키값 출력포트로 사용되는 범용입출력포트(GPIO)의 개수는 그대로 유지하면서 더 많은 키를 사용할 수 있는 방법이 필요하게 되었다.However, the number of keys required in devices having keys, such as wireless communication terminals and computers, is increasing. Accordingly, there is a need for a method capable of using more keys while maintaining the number of general-purpose input / output ports (GPIOs) used as key value detection ports and key value output ports.
또한, 무선통신 단말기내부에서 사용하는 범용입출력포트의 개수는 제한되어 있지만, 여러 다른 목적을 위해 요구되는 범용입출력포트의 개수가 증가하고 있으므로 사용하는 범용입출력포트의 개수를 줄일 수 있는 방법도 필요하게 되었다.In addition, although the number of general-purpose I / O ports used inside the wireless communication terminal is limited, the number of general-purpose I / O ports required for various purposes is increasing, so a method of reducing the number of general-purpose I / O ports used is also required. It became.
본 발명은, 상기한 바와 같은 요구에 부응하기 위하여 제안된 것으로, 키값 검출포트와 다수의 키값 출력포트를 구비하여 1: N 키 매트릭스를 만족시키기 위한 다수의 키값 출력포트를 구비하는 키를 제공하는데 그 목적이 있다.The present invention has been proposed to meet the above requirements, and provides a key having a key value detection port and a plurality of key value output ports and having a plurality of key value output ports for satisfying the 1: N key matrix. The purpose is.
또한, 본 발명은, 종래의 키값 검출포트와 키값 출력포트의 1:1 키 매트릭스 구조를 이용한 키 인식 방법과는 달리 다수의 키값 출력포트를 구비하는 키를 이용하여 1:N 키 매트릭스 구조로 키를 인식함으로써, 범용입출력포트(GPIO)의 효율적인 사용을 위한, 다수의 키값 출력포트를 구비하는 키를 이용한 키 인식 장치 및 그 방법을 제공하는데 다른 목적이 있다.In addition, unlike the conventional key recognition method using a 1: 1 key matrix structure of a key value detection port and a key value output port, the present invention uses a key having a plurality of key value output ports in a 1: N key matrix structure. It is another object of the present invention to provide a key recognition apparatus and method using a key having a plurality of key value output ports for efficient use of the general purpose input / output port (GPIO).
본 발명의 또다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.
Other objects and advantages of the present invention can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.
상기의 목적을 달성하기 위한 본 발명의 장치는, 다수의 키값 출력포트; 및 상기 다수의 키값 출력포트 주위를 둘러싸는 형태의 키값 검출포트를 포함한다.The apparatus of the present invention for achieving the above object, a plurality of key value output port; And a key value detection port surrounding the plurality of key value output ports.
상기의 다른 목적을 달성하기 위한 본 발명의 장치는, 다수의 키값 출력포트를 구비하는 키를 이용하여 입력되는 키 신호를 입력받기 위한 키 연결수단; 상기 키 연결수단에서 키 신호를 입력받음에 따라 키 입력 인터럽트 신호를 발생시키기 위한 키 입력 감지수단; 제어수단으로부터의 키값출력 제어신호에 따라 기설정된 데이터를 상기 키 연결수단으로 출력하기 위한 키값 출력수단; 상기 키 연결수단에서 눌려진 키에 대하여, 상기 키값 출력수단으로부터 출력되는 기설정된 데이터에 상응하는 키값 출력포트와 매칭되는 키값 검출포트에 해당하는 키값을 검출하기 위한 키값 검출수단; 및 상기 키 입력 감지수단으로부터 키 입력 인터럽트 신호를 입력받음에 따라 상기 키값 출력수단에 키값출력 제어신호를 전달하여 기설정된 데이터가 상기 키 연결수단으로 전달되도록 하며, 그에 따라 상기 키값 검출수단에서 검출한 키값과 상기 키값 검출수단에서 키값이 검출될 때 상기 키값 출력수단에서 출력되는 기설정된 데이터에 해당하는 다수의 키값을 이용하여 키를 인식하기 위한 상기 제어수단을 포함한다.According to another aspect of the present invention, there is provided a device including: key connection means for receiving a key signal input by using a key having a plurality of key value output ports; Key input sensing means for generating a key input interrupt signal in response to receiving a key signal from the key connecting means; Key value output means for outputting predetermined data to said key connection means according to a key value output control signal from a control means; Key value detection means for detecting a key value corresponding to a key value detection port matched with a key value output port corresponding to predetermined data output from the key value output means, with respect to the key pressed by the key connection means; And in response to receiving a key input interrupt signal from the key input detecting means, transmits a key value output control signal to the key value output means so that predetermined data is transmitted to the key connecting means, and accordingly detected by the key value detecting means. And a control means for recognizing a key using a plurality of key values corresponding to predetermined values output from the key value output means when a key value is detected by the key value and the key value detecting means.
한편, 본 발명의 방법은, 다수의 키값 출력포트를 구비하는 키를 이용한 입력에 따른 키 입력 인터럽트 신호를 감지하는 키 입력 감지단계; 키 입력 인터럽트 신호에 따라 키값출력 제어신호를 키값 출력수단으로 전달하여 상기 키값 출력수단에서 기설정된 데이터가 키 연결수단으로 출력되도록 하는 데이터 출력단계; 키값 검출수단이 눌려진 키에 대하여 상기 키값 출력수단으로부터 출력되는 기설정된 데이터에 상응하는 키값 출력포트와 매칭되는 키값 검출포트에 해당하는 키값을 검출 하는 키값 검출단계; 및 상기 키값 검출수단에서 검출한 키값과 상기 키값 검출수단에서 키값이 검출될 때 상기 키값 출력수단에서 출력되는 기설정된 데이터에 해당하는 다수의 키값을 이용하여 키를 인식하는 키 인식단계를 포함한다.On the other hand, the method of the present invention, the key input detection step of detecting a key input interrupt signal according to the input using a key having a plurality of key value output port; A data output step of transmitting a key value output control signal to a key value output means according to a key input interrupt signal to output data preset by the key value output means to a key connection means; A key value detection step of detecting a key value corresponding to a key value detection port corresponding to a key value output port corresponding to predetermined data output from said key value output means with respect to a key pressed by said key value detection means; And a key recognition step of recognizing a key using a plurality of key values corresponding to the key value detected by the key value detecting means and preset data output from the key value output means when the key value is detected by the key value detecting means.
상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명하기로 한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, whereby those skilled in the art may easily implement the technical idea of the present invention. There will be. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 4 는 본 발명에 이용되는 키 매트릭스에 대한 일실시예 설명도이다.4 is a diagram illustrating an embodiment of a key matrix used in the present invention.
도 4 에 도시된 바와 같이, 본 발명은 키값 검출포트와 키값 출력포트의 1:2 매트릭스 구조를 이용하여 키를 인식한다.As shown in FIG. 4, the present invention recognizes a key using a 1: 2 matrix structure of a key value detection port and a key value output port.
예를 들어, 제 1 키값 검출포트와 제 1 키값 출력포트 및 제 2 키값 출력포트에 상응하는 키는 1번 키이다.For example, a key corresponding to the first key value detection port, the first key value output port, and the second key value output port is the first key.
키 인식 방법에 대하여 설명하면, 1번 키는 제 1 키값 검출포트와 제 1 키값 출력포트 및 제 2 키값 출력포트가 눌렸을때 인식되는데, 제어부(도 5 참조)는 키 매트릭스로부터 키 입력을 감지하면, 키값 출력부로 키값출력 제어신호를 전달한다.Referring to the key recognition method, the first key is recognized when the first key value detection port, the first key value output port, and the second key value output port are pressed, and the controller (see FIG. 5) detects a key input from the key matrix. The key value output control signal is transmitted to the key value output unit.
그러면, 키값 출력부(도 5 참조) 제 1 키값 출력포트부터 제 4 키값 출력포 트로 1 비트(bit)가 '0'인 데이터(1110, 1101, 1011, 0111)를 순차적으로 출력한다. 그러면, 제 1 키값 검출포트는 '1011' 및 '0111'에 대하여 '0'이 되므로, 제어부는 검출된 키값 '1' 을 전달받는다. 한편, 제어부는 키값 출력부에서 기설정된 데이터가 출력되는 시간 간격을 알고 있으므로 상기 키값 출력부로부터 어떤 키값에 해당하는 데이터가 출력되는지 알 수 있다.Then, data 1110, 1101, 1011, and 0111 having a bit of '0' from the first key value output port (see FIG. 5) to the fourth key value output port are sequentially output. Then, since the first key value detection port becomes '0' with respect to '1011' and '0111', the controller receives the detected key value '1'. On the other hand, since the controller knows the time interval at which the data preset in the key value output unit is output, it can know which key value data is output from the key value output unit.
따라서, 제어부는 제 1 키값 검출포트와 제 1 키값 출력포트 및 제 2 키값 출력포트가 눌렸음을 확인하여 1번 키라고 인식하게 된다.Therefore, the controller determines that the first key value detection port, the first key value output port, and the second key value output port are pressed to recognize the first key.
도 5 는 본 발명에 따른 다수의 키값 출력포트를 구비하는 키를 이용한 키 인식 장치의 일실시예 구성도이다.5 is a configuration diagram of a key recognition apparatus using a key having a plurality of key value output ports according to the present invention.
도 5 에 도시된 바와 같이, 본 발명에 따른 다수의 키값 출력포트를 구비하는 키를 이용한 키 인식 장치는, 다수의 키값 출력포트와 다수의 키값 검출포트를 포함하는 매트릭스 구조로서, 다수의 키값 출력포트를 구비하는 키의 누름을 통해 외부로부터 키 신호를 입력받기 위한 키 연결부(51), 상기 키 연결부(51)에서 키 신호를 입력받음에 따라 키 입력 인터럽트 신호를 발생시키기 위한 키 입력 감지부(52), 제어부(54)로부터의 키값출력 제어신호에 따라 기설정된 데이터(예 : 1 비트가 '0'인 4 비트 데이터)를 상기 키 연결부(51)의 키값 출력포트로 출력하기 위한 키값 출력부(55), 상기 키 연결부(51)에서 눌려진 키에 대하여 상기 키값 출력부(55)로부터 출력되는 기설정된 데이터에 상응하는 키값 출력포트와 매칭되는 키값 검출포트에 해당하는 키값을 검출하기 위한 키값 검출부(53) 및 상기 키 입력 감지부(52)로부터 키 입력 인터럽트 신호를 입력받음에 따라 상기 키값 출력부(55)에 키값출력 제어신호를 전달하여 기설정된 데이터가 순차적으로 상기 키 연결부(51)로 전달되도록 하며, 그에 따라 상기 키값 검출부(53)에서 검출한 키값과 상기 키값 검출부(53)에서 키값이 검출될 때 상기 키값 출력부(55)에서 출력되는 기설정된 데이터에 해당하는 다수의 키값('0'을 출력하는 출력포트에 해당하는 키값)을 이용하여 키를 인식하기 위한 제어부(54)를 포함한다.As shown in FIG. 5, a key recognition apparatus using a key having a plurality of key value output ports according to the present invention has a matrix structure including a plurality of key value output ports and a plurality of key value detection ports, and outputs a plurality of key values. A
도 6 은 본 발명에 따른 다수의 키값 출력포트를 구비하는 키에 대한 일실시예 설명도이다.6 is a diagram illustrating an embodiment of a key having a plurality of key value output ports according to the present invention.
도 6 에 도시된 바와 같이, 본 발명에 따른 다수의 키값 출력포트를 구비하는 키는 가운데 2 개의 키값 출력포트(62, 63) 및 상기 키값 출력포트(62, 63) 주위를 둘러싼 모양의 키값 검출포트(61)를 포함한다. 이때, 상기 키값 출력포트 및 키값 검출포트는 여러 다른 모양이 될 수도 있다.As shown in FIG. 6, a key having a plurality of key value output ports according to the present invention detects key values having a shape surrounding two of the key
도 7 은 본 발명에 따른 다수의 키값 출력포트를 구비하는 키를 이용한 키 인식 방법에 대한 일실시예 흐름도이다.7 is a flowchart illustrating a key recognition method using a key having a plurality of key value output ports according to the present invention.
먼저, 외부로부터 키 신호를 입력받으면(701), 키 입력 감지부(52)가 키 입력 인터럽트 신호를 발생시켜 제어부(54)로 전달한다(702). 그러면, 제어부(54)가 키값 출력부(55)로 키값출력 제어신호를 전달하여(703), 키값 출력부(55)가 기설정된 데이터(1 비트가 '0'으로 설정된 데이터)를 순차적으로 키 연결부(51)의 각 키값 출력포트로 전달하도록 한다(704).First, when a key signal is received from the outside (701), the
이후, 키값 검출부(53)는 키 연결부(51)에서 눌려진 키에 대하여, 키값 출력부(55)로부터 전달받은 1 비트가 '0'으로 설정된 데이터에 대하여 '0'을 출력하는 키값 출력포트와 매칭되는 키값 검출포트에 해당하는 키값을 검출하여 제어부(54)로 전달한다(705).Thereafter, the
그러면, 제어부(54)는 상기 키값 출력부(55)에서 출력되는 기설정된 데이터와 상기 키값 검출부(53)로부터 전달받은 키값을 이용하여 해당 키를 인식한다(706).Then, the
여기서, 제어부(54)는 상기 키값 출력부(55)에서 출력되는 기설정된 데이터의 시간 간격을 이미 알고 있으므로, 상기 키값 검출부(53)에서 키값이 검출될 때 키값 출력부(55)에서 출력되는 데이터에 해당하는 다수의 키값을 알고 있다.Here, since the
이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by the drawings.
상기와 같이 본 발명은, 종래의 키값 검출포트와 키값 출력포트의 1:1 키 매트릭스 구조를 이용한 키 인식 방법과는 달리 키값 검출포트와 다수의 키값 출력포트를 구비하여 1: N 키 매트릭스를 만족시키기 위한 다수의 키값 출력포트를 구비하는 키를 이용하여 1:N 키 매트릭스 구조로 키를 인식함으로써, 범용입출력포트(GPIO)를 효율적으로 사용할 수 있는 효과가 있다.As described above, the present invention, unlike the conventional key recognition method using the 1: 1 key matrix structure of the key value detection port and the key value output port, has a key value detection port and a plurality of key value output ports to satisfy the 1: N key matrix. By using a key having a plurality of key value output ports for recognizing the key in a 1: N key matrix structure, a general purpose input / output port (GPIO) can be efficiently used.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040055235A KR100600961B1 (en) | 2004-07-15 | 2004-07-15 | Key with the plural key value output port and apparatus and method for the key recognition using it |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040055235A KR100600961B1 (en) | 2004-07-15 | 2004-07-15 | Key with the plural key value output port and apparatus and method for the key recognition using it |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060006299A KR20060006299A (en) | 2006-01-19 |
KR100600961B1 true KR100600961B1 (en) | 2006-07-13 |
Family
ID=37118011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040055235A KR100600961B1 (en) | 2004-07-15 | 2004-07-15 | Key with the plural key value output port and apparatus and method for the key recognition using it |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100600961B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100577271B1 (en) * | 2004-10-13 | 2006-05-10 | 엘지전자 주식회사 | apparatus and method for sensing key |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040010910A (en) * | 2002-07-25 | 2004-02-05 | 엘지전자 주식회사 | Key scan apparatus and method for mobile communication terminal |
-
2004
- 2004-07-15 KR KR1020040055235A patent/KR100600961B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040010910A (en) * | 2002-07-25 | 2004-02-05 | 엘지전자 주식회사 | Key scan apparatus and method for mobile communication terminal |
Also Published As
Publication number | Publication date |
---|---|
KR20060006299A (en) | 2006-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8296565B2 (en) | Communication protocol for device authentication | |
US9547337B2 (en) | Portable device and peripheral extension dock | |
CN100521828C (en) | Energy saving system and method | |
JP3155578U (en) | Input device for switching transmission | |
US10445274B2 (en) | Universal serial bus (USB) hub for connecting different port types and method thereof | |
US9904338B2 (en) | Control chip, control method and connection device utilizing the same | |
CN100476700C (en) | Apparatus and method for controlling key-press of mobile terminal | |
CN111831138B (en) | Signal identification method and device of wireless earphone and wireless earphone | |
KR100770856B1 (en) | Device and method for performing multi- functions using unique port in wireless terminal | |
US20130217338A1 (en) | Method of multi-target switch transmission through an externally connected bluetooth selection device | |
CN109639370B (en) | Near field communication antenna detection method and device, mobile terminal and storage medium | |
US7155544B2 (en) | Portable information device capable of processing input data from external device and method thereof | |
KR100600961B1 (en) | Key with the plural key value output port and apparatus and method for the key recognition using it | |
US20040143693A1 (en) | Data storage apparatus of multiple serial interfaces | |
KR20080013071A (en) | Apparatus and method for using expansion key in portable terminal | |
US20050289251A1 (en) | Single chip device, and method and system for testing the same | |
CN108540658A (en) | Control method of electronic device, device, storage medium and electronic equipment | |
US20100006349A1 (en) | Sensor device and method of operating the same | |
US7996697B2 (en) | Matching system of electronic device and peripheral device and matching method thereof | |
US20060197675A1 (en) | Remote control interface framework using an infrared module and a method thereof | |
KR100619718B1 (en) | Mobile terminal and its mode change method | |
US10983586B2 (en) | Power management system and power management method | |
KR100736469B1 (en) | Portable terminal having a multi-functional connection terminal | |
US11088400B2 (en) | Battery management system | |
KR100677074B1 (en) | Apparatus for connecting multi-signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130628 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20140704 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20150706 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20160701 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |