KR100691985B1 - Mobile communication terminal and state recognition method using it - Google Patents
Mobile communication terminal and state recognition method using it Download PDFInfo
- Publication number
- KR100691985B1 KR100691985B1 KR1020050092319A KR20050092319A KR100691985B1 KR 100691985 B1 KR100691985 B1 KR 100691985B1 KR 1020050092319 A KR1020050092319 A KR 1020050092319A KR 20050092319 A KR20050092319 A KR 20050092319A KR 100691985 B1 KR100691985 B1 KR 100691985B1
- Authority
- KR
- South Korea
- Prior art keywords
- state
- interrupt
- gpio
- recognition
- cover
- 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/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/0206—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
- H04M1/0241—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
- H04M1/0245—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call using open/close detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2201/00—Electronic components, circuits, software, systems or apparatus used in telephone systems
- H04M2201/34—Microprocessors
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
Description
도 1은 종래 이동통신 단말기의 블록 구성도,1 is a block diagram of a conventional mobile communication terminal,
도 2는 본 발명의 일실시예에 따른 이동통신 단말기의 블록 구성도, 2 is a block diagram of a mobile communication terminal according to an embodiment of the present invention;
도 3은 본 발명의 일실시예에 따른 이동통신 단말기를 이용한 상태인식 방법을 개략적으로 나타낸 흐름도,3 is a flow chart schematically showing a state recognition method using a mobile communication terminal according to an embodiment of the present invention;
도 4는 도 3의 상태인식 방법을 보다 상세히 설명하기 위한 흐름도이다.4 is a flowchart illustrating the state recognition method of FIG. 3 in more detail.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
100 : 제어부(MCU) 110 : 상태인식 회로부100: control unit (MCU) 110: state recognition circuit unit
120 : 인터럽트 핸들러부(Interrupt Handler)120: interrupt handler
본 발명은 이동통신 단말기에 관한 것으로, 더욱 상세하게는 GPIO(General Purpose Input Output)포트 하나만을 이용하여 단말기의 덮개 상태를 인식하는 것이다.The present invention relates to a mobile communication terminal, and more particularly, to recognize a cover state of a terminal using only one general purpose input output (GPIO) port.
일반적으로 이동통신 단말기는 엘시디(LCD) 또는 키패드의 덮개 형태에 따라 바(bar)형, 플립(flip)형, 혹은 폴더(folder)형, 슬라이더형 등이 존재한다. 여기서 폴더형만을 설명하면 키패드 부분에 덮개가 있는 플립형과 달리 상하로 폴더가 존재하고 상폴더가 개폐되는 구조이다. In general, a mobile communication terminal includes a bar type, a flip type, a folder type, a slider type, and the like according to a cover type of an LCD or a keypad. When only the folder type is described here, unlike the flip type with a cover on the keypad part, the folder exists up and down and the upper folder is opened and closed.
이러한, 상폴더가 개폐되었는지를 감지하여 디스플레이부를 온/오프하기 위해서는 도 1에 도시된 바와 같이, 상태인식 회로부(20)가 상폴더의 개폐감지 신호를 인식하면, 인터럽트 핀이 인식된 하강에지(Falling Edge) 또는 상승에지(Rising Edge)에 따른 인터럽트를 발생시켜 제어부(100)에 전달하였다. 그리하면, 인터럽트 핸들러부(Interrupt Handler, 30)는 전달된 인터럽트(Interrupt) 신호에 따른 이동통신 단말기의 상태를 GPIO로부터 제공받아 상태를 인식하였다.In order to detect whether the upper folder is opened or closed and to turn on / off the display unit, as shown in FIG. 1, when the state
이처럼, 종래에는 이동통신 단말기의 상태를 인식하기 위해 인터럽트 핀과 GPIO핀 두 개의 핀이 필요하였다. 이에, 인터럽트 핸들러부(30)가 두 개의 포트를 통해 이동통신 단말기의 상태를 파악함으로써 시간이 지연되는 문제점이 있고, 또한, 부품수 증가로 인하여 제조단가 상승하는 문제점이 있었다.As such, in the related art, two pins are required for an interrupt pin and a GPIO pin to recognize a state of a mobile communication terminal. Thus, the
따라서, 본 발명은 상술한 종래의 문제점을 해결하기 위한 것으로, 본 발명의 목적은, GPIO(General Purpose Input Output)포트 하나만으로 인터럽트 처리와 덮개 상태를 인식하는 이동통신 단말기 및 이를 이용한 상태인식 방법에 관한 것이다.Accordingly, an object of the present invention is to solve the above-described problems, and an object of the present invention is to provide a mobile communication terminal for recognizing interrupt processing and a cover state using only one GPIO port, and a state recognition method using the same. It is about.
전술한 본 발명의 목적을 달성하기 위한 이동통신 단말기는, 덮개의 동작을 감지하여 인터럽트를 발생하는 상태인식 회로부와; 상기 인터럽트 발생에 따라 GPIO(General Purpose Input Output)의 상태를 확인하여 상기 덮개의 열림 혹은 닫힘 상태를 인식하는 인터럽트 핸들러부; 및 상기 GPIO의 상태에 대응하는 인터럽트 인식상태를 설정하고, 상기 설정된 인터럽트 인식상태에 해당하는 인터럽트가 발생한 경우 상기 인터럽트 핸들러부를 동작시키는 제어부를 포함한다.A mobile communication terminal for achieving the above object of the present invention, the state recognition circuit for generating an interrupt by detecting the operation of the cover; An interrupt handler unit which checks a state of a general purpose input output (GPIO) according to occurrence of the interrupt and recognizes an open or closed state of the cover; And a controller configured to set an interrupt recognition state corresponding to the state of the GPIO and to operate the interrupt handler unit when an interrupt corresponding to the set interrupt recognition state occurs.
GPIO는 인터럽트 처리 및 덮개 동작에 따른 전압 변화를 감지하여 Low 또는 High로 상태 전환하는 것을 특징으로 한다.GPIO detects the voltage change according to the interrupt processing and the cover operation and changes the state to Low or High.
인터럽트 인식상태는 상승에지(Rising Edge) 또는 하강에지(Falling Edge)인 것을 특징으로 한다.The interrupt recognition state is characterized in that the rising edge (Rising Edge) or falling edge (Falling Edge).
또한, 전술한 본 발명의 목적을 달성하기 위한 이동통신 단말기의 상태인식 방법은, GPIO의 제1상태를 확인하여, 그에 대응하는 인터럽트 제1인식상태를 설정하는 단계와, 덮개의 동작에 의해 전압이 변화하면 GPIO가 제2상태로 전환하는 단계 및 설정된 인터럽트 제1인식상태에 해당하는 인터럽트가 발생하면 전환된 GPIO의 상태를 확인하여 덮개의 상태를 인식하는 단계를 포함한다.In addition, the state recognition method of the mobile communication terminal for achieving the above object of the present invention, the step of checking the first state of the GPIO, and setting the interrupt first recognition state corresponding thereto, the voltage by the operation of the cover When the change is made, the GPIO switches to the second state, and when an interrupt corresponding to the set interrupt first recognition state occurs, checking the state of the switched GPIO and recognizing the state of the cover.
또한, 인터럽트 제1인식상태를 인터럽트 제2인식상태로 전환하는 단계를 추가로 포함한다.The method may further include transitioning the interrupt first recognition state to the interrupt second recognition state.
이때, GPIO의 상태는 Low 또는 High인 것을 특징으로 한다.At this time, the state of the GPIO is characterized in that the low or high.
또한, 인터럽트 인식상태는 상승에지(Rising Edge) 또는 하강에지(Falling Edge)인 것을 특징으로 한다.In addition, the interrupt recognition state is characterized in that the rising edge (Rising Edge) or falling edge (Falling Edge).
이하, 본 발명의 바람직한 실시예에 따른 이동통신 단말기 및 상태인식 방법에 대해 첨부한 도면을 상세하게 설명한다Hereinafter, the accompanying drawings of a mobile communication terminal and a state recognition method according to a preferred embodiment of the present invention will be described in detail.
도 2는 본 발명의 일실시예에 따른 이동통신 단말기의 구성도이다.2 is a block diagram of a mobile communication terminal according to an embodiment of the present invention.
도 2에 도시된 바와 같이, 본 발명의 일실시예에 따른 이동통신 단말기는 제어부(100), 상태인식 회로부(110), 인터럽트 핸들러부(120)로 구성된다.As shown in FIG. 2, the mobile communication terminal according to an embodiment of the present invention includes a
제어부(MCU : Main Control Unit, 100)는 이동통신 단말기에서 구현되는 기능을 제어하며 다른 구성요소와 데이터 및 신호를 처리한다. 특히, 본 발명에서는 제어부(100)에 연결된 GPIO의 초기 설정을 인터럽트 처리 및 덮개 동작에 따른 전압 변화를 감지하여 그에 따라 상태를 전환하도록 제어한다. 또한, GPIO의 상태를 확인하여 그에 대응하는 인터럽트 인식상태를 설정한다. 예컨대, GPIO의 상태가 High일 경우, 다음 변화될 상태는 반드시 Low임으로 High에서 Low로 떨어지는 신호를 인지하기 위해 그에 대응하는 인터럽트 인식상태를 하강에지(Falling Edge) 상태로 설정한다. 한편, GPIO의 상태가 그 반대로 Low일 경우에 제어부(100)는 인터럽트 인식상태를 상승에지(Rising Edge)로 설정한다.The control unit (MCU: Main Control Unit) 100 controls functions implemented in the mobile communication terminal and processes data and signals with other components. In particular, in the present invention, the initial setting of the GPIO connected to the
상태인식 회로부(110)는 덮개의 동작을 감지하여 인터럽트를 발생한다. 즉, 이동통신 단말기의 덮개가 열렸다가 닫힐 경우, 덮개의 동작에 의해 전압이 변하는 것을 감지하여 그에 따른 상승에지(Rising Edge) 또는 하강에지(Falling Edge)의 인터럽트를 발생한다. The state
인터럽트 핸들러부(120)는 인터럽트 발생에 따라 GPIO의 상태를 확인한 후, 그에 따라 이동통신 단말기 덮개의 개폐상태를 인식하여 제어부(100)에 제공한다.The
이와 같은 구성을 갖는 이동통신 단말기의 덮개 열림/닫힘 상태 인식 방법을 도 3 및 도 4를 참조하여 설명하면 다음과 같다.Referring to FIGS. 3 and 4, a cover open / closed state recognition method of the mobile communication terminal having such a configuration is as follows.
도 3은 본 발명의 일실시예에 따른 이동통신 단말기의 상태인식 방법을 개략적으로 나타낸 흐름도이고, 도 4는 도 3의 상태인식 방법을 보다 상세히 설명하기 위한 흐름도이다.3 is a flowchart schematically illustrating a state recognition method of a mobile communication terminal according to an embodiment of the present invention, and FIG. 4 is a flowchart illustrating the state recognition method of FIG. 3 in more detail.
먼저, 도 3을 살펴보면, 이동통신 단말기의 상태인식 방법은, GPIO의 제1상태를 확인하여, 그에 대응하는 인터럽트 제1인식상태를 설정하는 단계와, 덮개의 동작에 의해 전압이 변화하면, 상기 GPIO가 제2상태로 전환하는 단계 및 설정된 인터럽트 제1인식상태가 발생하면, 전환된 GPIO의 상태를 확인하여 덮개의 상태를 인식하는 단계를 포함한다. First, referring to FIG. 3, the method of recognizing a state of a mobile communication terminal may include: checking a first state of a GPIO, setting an interrupt first recognition state corresponding thereto, and changing a voltage by operation of a cover. Switching the GPIO to the second state, and if the set interrupt first recognition state occurs, checking the state of the switched GPIO to recognize the state of the cover.
이 후, 인터럽트 제1인식상태를 인터럽트 제2인식상태로 전환하는 단계를 추가로 포함한다.Thereafter, the method further includes switching the interrupt first recognition state to the interrupt second recognition state.
본 발명에 의해 최초 이동통신 단말기에 전원을 인가하면, 제어부(100)는 GPIO의 초기설정을 인터럽트 처리 및 덮개의 개폐 동작에 따른 전압변화를 감지하여 현상태를 전환하도록 제어한다. 이 후, 인터럽트 핸들러부(110)에 의해 GPIO의 제1상태가 확인되면(S100), 제어부(100)는 전술한 GPIO 제1상태에 대응하는 제1인터럽트 인식상태를 설정한다(S110).When power is first applied to the mobile communication terminal according to the present invention, the
이 후, 사용자가 이동통신 단말기의 덮개를 열거나 닫으면, 상태인식 회로부(110)에서 덮개의 동작에 의한 전압 변화를 감지한다(S120). 이에, GPIO가 제1상태에서 제2상태로 상태를 전환한다(S130). 또한, 덮개의 동작에 따른 전압 변화에 따라 GPIO의 제1상태에 대응하여 설정된 제1인터럽트가 발생한다(S140).Thereafter, when the user opens or closes the cover of the mobile communication terminal, the
계속해서, 제1인터럽트가 발생하면 인터럽트 핸들러부(120)는 제2상태로 전 환된 GPIO의 상태를 인지하여(S150) 이동통신 단말기의 덮개 상태를 인식한다(S160).Subsequently, when the first interrupt occurs, the
다시 말해, 도 4를 살펴보면, GPIO의 상태를 확인하고(S200), 그 확인 상태를 판단하여(S210) GPIO의 제1상태가 High일 경우, 제어부(100)는 GPIO의 상태 High에 대응하는 인터럽트 인식상태를 하강에지(Falling Edge)로 설정한다(S220). 이는, 전술한 GPIO의 상태가 High이면, 다음 변화될 상태는 반드시 Low임으로 High에서 Low로 떨어지는 신호를 인지하기 위해 인터럽트 인식상태를 하강에지 상태로 설정한다. In other words, referring to FIG. 4, the
이 후, 사용자에 의해 이동통신 단말기의 덮개가 동작하면, 상태인식 회로부(120)는 덮개의 동작에 의해 전압 변화를 감지한다(S230). 이에, GPIO가 전압 변화에 따라 High상태에서 Low로 상태를 전환하고(S240), 하강에지의 인터럽트가 발생한다(S250).Thereafter, when the cover of the mobile communication terminal is operated by the user, the state
계속해서, 하강에지 인터럽트 발생에 의해 인터럽트 핸들러부(120)가 작동하여 상태 전환된 GPIO의 상태를 확인한다. 이때, GPIO의 상태가 Low로 전환되었기 때문에 인터럽트 핸들러부(120)는 이동통신 단말기 덮개의 닫힘을 인식한다(S260).Subsequently, the
이 후, 제어부(100)는 인터럽트 인식상태를 GPIO의 Low상태에 대응하여 상승에지(Rising Edge)로 전환한 후, 다음 인터럽트 신호를 기다린다(S270).Thereafter, the
반면, S210에서 GPIO의 제1상태가 Low일 경우, 제어부(100)는 GPIO의 상태 Low에 대응하는 인터럽트 인식상태를 상승에지(Rising Edge)로 설정한다(S300). 이는, 전술한 GPIO의 상태가 Low이면, 다음 변화될 상태는 반드시 High임으로 Low에 서 High로 상승하는 신호를 인지하기 위해 인터럽트 인식상태를 상승에지 상태로 설정한다. On the other hand, when the first state of the GPIO is low in S210, the
이 후, 사용자에 의해 이동통신 단말기의 덮개가 동작하면, 상태인식 회로부(120)는 덮개의 동작에 의해 전압 변화를 감지한다(S310). 이에, GPIO가 전압 변화에 따라 Low상태에서 High로 상태를 전환하고(S320), 상승에지의 인터럽트가 발생한다(S330).Thereafter, when the cover of the mobile communication terminal is operated by the user, the state
계속해서, 상승에지 인터럽트 발생에 의해 인터럽트 핸들러부(120)가 작동하여 상태 전환된 GPIO의 상태를 확인한다. 이때, GPIO의 상태가 High로 전환되었기 때문에 인터럽트 핸들러부(120)는 이동통신 단말기 덮개의 열림을 인식한다(S340).Subsequently, the
이 후, 제어부(100)는 인터럽트 인식상태를 GPIO의 High상태에 대응하여 상승에지(Falling Edge)로 전환한 후, 다음 인터럽트 신호를 기다린다(S350).Thereafter, the
이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 또한 설명하였으나, 본 발명은 상기한 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 본 발명이 속하는 분야에서 통상의 지식을 가진자라면 누구든지 다양한 변형실시가 가능한 것을 물론이고, 그와 같은 변경은 기재된 청구범위 내에 있게 된다.Although the preferred embodiments of the present invention have been illustrated and described above, the present invention is not limited to the above-described embodiments, and the present invention is not limited to the above-described embodiments without departing from the spirit of the present invention as claimed in the claims. Of course, any person skilled in the art can make various modifications, and such changes are within the scope of the claims.
위와 같이 설명된 본 발명에 따르면, GPIO(General Purpose Input Output)포트 하나만으로 인터럽트 처리와 덮개 상태를 인식함으로써 이동통신 단말기의 상태를 보다 신속하게 인식하는 효과가 있다.According to the present invention as described above, it is possible to recognize the state of the mobile communication terminal more quickly by recognizing the interrupt processing and the cover state by only one GPIO (General Purpose Input Output) port.
또한, 인터럽트 핀을 별도로 내장할 필요가 없어 제조 단가를 낮출 수 있다.In addition, there is no need for a separate interrupt pin to reduce manufacturing costs.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050092319A KR100691985B1 (en) | 2005-09-30 | 2005-09-30 | Mobile communication terminal and state recognition method using it |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050092319A KR100691985B1 (en) | 2005-09-30 | 2005-09-30 | Mobile communication terminal and state recognition method using it |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100691985B1 true KR100691985B1 (en) | 2007-03-09 |
Family
ID=38102918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050092319A KR100691985B1 (en) | 2005-09-30 | 2005-09-30 | Mobile communication terminal and state recognition method using it |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100691985B1 (en) |
-
2005
- 2005-09-30 KR KR1020050092319A patent/KR100691985B1/en not_active IP Right Cessation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8711112B2 (en) | Electronic device and recording medium | |
US8593013B2 (en) | Switching control method capable of continuously providing power and related apparatus and power supply system | |
US20220221513A1 (en) | Chip, chip testing method and electronic device | |
KR100301862B1 (en) | Apparatus and Method for controlling Light Emitting Diode of Mobile phone | |
TW200708959A (en) | Semiconductor device and data processing system | |
KR20090082445A (en) | Methods and devices for keypress validation in a slider form factor device | |
KR100691985B1 (en) | Mobile communication terminal and state recognition method using it | |
CN100578419C (en) | D.C. voltage stabilizing power source switching control apparatus | |
KR100442625B1 (en) | Apparatus and method for controlling the malfunction of hall effect switch used for sensing open or close of the flip or polder of terminal equipment | |
RU2014118556A (en) | MULTI-PIN SWITCH | |
US6448838B1 (en) | Circuit and method for high-speed break-before-make electronic switch | |
CN101951437B (en) | Mobile terminal with toggle roller and detection method of rolling state of toggle roller | |
CN114138100A (en) | Low-power-consumption startup and shutdown method, startup and shutdown circuit and intelligent terminal | |
KR100631628B1 (en) | Power key independent backlight device and method of mobile communication terminal | |
CN105827327A (en) | Method for efficiently realizing switching control of QSFP module low power consumption mode | |
CN107589844B (en) | Switching method and device of single-hand mode | |
CN106940423B (en) | Built-in test circuit of multi-functional chip | |
KR101091417B1 (en) | Backlight control apparatus of display screen | |
CN214151641U (en) | Power management circuit and electronic equipment | |
KR200294816Y1 (en) | Key input device of mobile phone using flip/folder open detection | |
JP2001086642A (en) | Inrush current suppressor and power device | |
CN213783582U (en) | Microphone control circuit | |
JP6961499B2 (en) | Input circuit | |
CN101159941B (en) | Multimode terminal and method of eliminating return current influence of current | |
CN110554946B (en) | Operation speed compensation circuit and compensation method thereof |
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: 20130226 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20140224 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20150224 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20160224 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20170224 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |