KR100619504B1 - Method For Automatic-Converting to an Input Mode And System Thereof - Google Patents

Method For Automatic-Converting to an Input Mode And System Thereof Download PDF

Info

Publication number
KR100619504B1
KR100619504B1 KR1020040060683A KR20040060683A KR100619504B1 KR 100619504 B1 KR100619504 B1 KR 100619504B1 KR 1020040060683 A KR1020040060683 A KR 1020040060683A KR 20040060683 A KR20040060683 A KR 20040060683A KR 100619504 B1 KR100619504 B1 KR 100619504B1
Authority
KR
South Korea
Prior art keywords
input mode
ime
input
english
predetermined character
Prior art date
Application number
KR1020040060683A
Other languages
Korean (ko)
Other versions
KR20060011702A (en
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 KR1020040060683A priority Critical patent/KR100619504B1/en
Publication of KR20060011702A publication Critical patent/KR20060011702A/en
Application granted granted Critical
Publication of KR100619504B1 publication Critical patent/KR100619504B1/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
    • G06F3/0233Character input methods
    • 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
    • G06F3/0238Programmable keyboards
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

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)
  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

본 발명은 입력 모드 자동 변환 방법 및 시스템을 제공한다. 상기 방법은, 컴퓨터 내의 영어 및 영어 외에 다른 언어를 입력할 수 있는 시스템에 있어서 입력 모드 자동 변환 방법으로서, 원하는 미리 결정된 문자 입력 모드를 설정하는 단계와; 임의의 응용 프로그램이 실행되는 것을 검출하는 단계와; 현재 다국어 입력 편집기(IME)의 입력 모드 상태를 검출하는 단계와; 검출된 IME의 입력 모드 상태가 상기 미리결정된 문자 입력 모드가 아닌 경우, IME의 입력 모드 상태를 상기 미리결정된 문자 입력 모드로 변환시키는 단계를 포함할 수 있다. 본 발명에 의하면, 단순한 구성으로 실현가능하면서, 특정 응용 프로그램에만 관련되는 것이 아니라 광범위한 응용 프로그램들에 대하여 사용될 수 있는, 새로운 입력 모드 변환 기술이 제공될 수 있다.The present invention provides an input mode automatic conversion method and system. The method includes an input mode automatic conversion method in a system capable of inputting a language other than English and English in a computer, comprising: setting a desired predetermined character input mode; Detecting that any application is running; Detecting an input mode state of a current multilingual input editor (IME); If the detected input mode state of the IME is not the predetermined character input mode, converting the input mode state of the IME to the predetermined character input mode. According to the present invention, a new input mode conversion technique can be provided, which is feasible in a simple configuration and can be used for a wide range of applications rather than only specific application programs.

한글, 입력, 변환, 프로그램, IMEHangul, input, conversion, program, IME

Description

자동 입력 모드 변환 방법 및 그 시스템{Method For Automatic-Converting to an Input Mode And System Thereof}Method for Automatic-Converting to an Input Mode And System Thereof}

도 1은 종래의 다국어 입력 설정을 위한 IME 시스템의 아이콘이 모니터의 화면상에서 디스플레이되는 예를 보여주는 개략도.1 is a schematic diagram showing an example in which an icon of a conventional IME system for setting multilingual input is displayed on a screen of a monitor;

도 2는 도 1에 도시된 IME를 이용한 다국어 입력 모드 변환의 예를 보여주는 개략도.FIG. 2 is a schematic diagram showing an example of multilingual input mode conversion using the IME shown in FIG. 1; FIG.

도 3은 본 발명의 일실시예에 따른 IME의 자동 입력 모드 변환 방법을 보여주는 흐름도.3 is a flowchart illustrating a method for converting an automatic input mode of an IME according to an embodiment of the present invention.

도 4는 본 발명의 일실시예에 따른 자동 입력 모드 변환 시스템의 아이콘이 포함되어 있는 IME 시스템 아이콘의 예를 보여주는 개략도.4 is a schematic diagram showing an example of an IME system icon including an icon of the automatic input mode conversion system according to an embodiment of the present invention.

<도면의 주요 부호에 대한 간단한 설명><Brief description of the major symbols in the drawings>

10: 모니터 화면 20 : IME 시스템 아이콘10: Monitor screen 20: IME system icon

22: 입력모드 변환버튼 30 : 자동 입력 모드 변환 아이콘22: input mode conversion button 30: automatic input mode conversion icon

본 발명은 다국어 입력 모드를 변환시키기 위한 기술에 관한 것으로서, 더 상세하게는 IME(Input Method Editor)와 같은 다국어 입력 시스템에서 예컨대 메모장, 인터넷 익스플로러(웹브라우저), 또는 MS오피스와 같은 응용프로그램을 시작할 때 예컨대 한글 입력 모드와 같이 미리결정된 하나의 입력 모드로 자동으로 입력모드를 변환시키는 방법 및 시스템에 관한 것이다.TECHNICAL FIELD The present invention relates to a technique for converting multilingual input modes, and more particularly, to start an application such as, for example, a notepad, Internet Explorer (web browser), or MS office in a multilingual input system such as an input method editor (IME). The present invention relates to a method and system for automatically converting an input mode to a predetermined input mode, such as a Hangul input mode.

오늘날 많은 문서 관련 응용 프로그램은 마이크로소프트 윈도우즈 운영 체제 (이하 간단히 '윈도우즈'라고 지칭한다) 상에서 실행되는데, 윈도우즈에서는 영어 사용자 외의 다른 언어 특히 비라틴계 언어인 한국어(이하 종종'한글'이라 지칭한다), 중국어, 일본어를 사용하는 사용자들을 위하여 IME 라는 다국어 입력 시스템을 제공하고 있다. 도 1 및 도 2는 이러한 IME 시스템을 이용한 다국어 입력을 설명하기 위한 개략도이다.Many document-related applications today run on the Microsoft Windows operating system (hereinafter simply referred to as 'Windows'), where Windows is a language other than English speakers, especially non-Latin languages, Korean (hereinafter often referred to as 'Hangul'), For users who speak Chinese and Japanese, IME provides a multilingual input system. 1 and 2 are schematic diagrams for explaining multilingual input using such an IME system.

도시된 바와 같이, IME 시스템은 예컨대 데스크탑 컴퓨터가 전원 온되어 MS 윈도우 운영체제가 실행되자마자 자동으로 실행되며, 그 실행 상태는 모니터 화면(10) 상의 아이콘(20)으로 표시된다. 사용자는 마우스를 이용하여 화면(10) 내의 임의의 원하는 위치로 IME 시스템 아이콘(20)을 이동시킬 수도 있고, 화면(10) 상에서 디스플레이되지 않도록 할 수도 있다. IME 입력 시스템에 의해 현재 입력될 문자는 도 2의 버튼(22)으로 표시된다. 도 2의 (a)에서는 한글 입력 상태인 것이 나타나있고, 도 2의 (b)에서는 영어 입력 상태인 것이 나타나있다. 한글 입력 모드와 영어 입력 모드의 변환은 버튼(22)을 마우스로 클릭함으로써 이루어질 수 있다. 다시말해서, 이러한 IME 입력 시스템의 버튼(22)에서 나타내는 상태는, 현재 키보드로 입력되고 있는 문자 입력 모드의 상태이다.As shown, the IME system is automatically executed, for example, as soon as the desktop computer is powered on and the MS Windows operating system is executed, the execution state of which is indicated by an icon 20 on the monitor screen 10. The user may move the IME system icon 20 to any desired position in the screen 10 using the mouse, or may not be displayed on the screen 10. The character to be currently input by the IME input system is indicated by button 22 in FIG. In FIG. 2A, it is shown that the Hangul input state is shown, and in FIG. 2B, it is shown that the English input state is present. The switching between the Korean input mode and the English input mode can be accomplished by clicking on the button 22 with a mouse. In other words, the state indicated by the button 22 of this IME input system is the state of the character input mode currently being input by the keyboard.

한편, 윈도우즈 운영체제 하에서 실행되는 웹브라우저인 인터넷 익스플로러, 메모장, 마이크로소프트 오피스, 회계프로그램(예컨대 서울소재 주식회사 더존디지털웨어에서 판매중인 'NEO PLUS')과 같은 응용 프로그램은, 영어 입력과 함께 영어외의 언어, 예컨대 한국어 입력이 가능하다. 그런데, 이러한 응용 프로그램은, 응용 프로그램이 실행된 후 최초 입력시 영문 입력 모드로 설정되어 있다. 따라서, 사용자가 인터넷 익스플로러와 같은 응용 프로그램을 실행시킨 후 예컨대 한글을 입력하고자 하는 경우에는, 키보드의 한영 변환키를 입력하거나 도 2에 도시된 IME 입력 시스템의 버튼(22)을 마우스로 클릭하여야만 한다.On the other hand, applications such as Internet Explorer, Notepad, Microsoft Office, and accounting programs (e.g., 'NEO PLUS' sold by Seoul-based Duzon Digitalware), which are web browsers running under the Windows operating system, can be written in languages other than English. For example, Korean input is possible. However, such an application program is set to an English input mode at the time of initial input after the application program is executed. Therefore, if the user wants to input Korean, for example, after executing an application program such as Internet Explorer, he or she must input the Korean-English conversion key of the keyboard or click the button 22 of the IME input system shown in FIG. .

대부분의 한글 사용자의 경우, 응용프로그램 상에서 영어를 사용하기 보다는 한글을 사용하는 경우가 더 많다. 따라서, 대개의 한글 사용자는 응용프로그램을 실행 시킨 후 입력모드 변환키를 입력하여야만 하며, 그렇지 않은 경우에는 화면상에 알아볼 수 없는 기호가 나타난 것을 깨달을 때까지 엉뚱한 글자를 입력하게 된다. 이러한 과정은, 또한 대개의 사용자가 입력 모드 전환을 위한 키입력을 거의 대부분 잊어버리기 때문에 매우 자주 발생하는 상황이다.Most Hangul users use Hangul rather than English in their applications. Therefore, most Korean users must enter the input mode conversion key after executing an application program. Otherwise, they input the wrong character until they realize that an unknown symbol appears on the screen. This is also a very frequent situation because most users forget most of the keystrokes to switch input modes.

따라서, 예컨대 한글과 같이 비영어를 사용하는 사용자를 위해 자동으로 한글 입력 모드와 영어 입력 모드를 전환시켜 줄 수 있는 기술이 요구되고 있다. 종래에 이를 해결하기 위하여 몇몇 응용 프로그램(예컨대 서울 소재 주식회사 한글과컴퓨터사가 판매하는 '한글2004')은 한영자동전환 기능을 포함시키고 있다. 이러한 한영자동전환 기능은 사용자가 입력하는 문자 시퀀스를 분석하여 한글조합 시퀀스인지 영어 조합 시퀀스인지를 결정한 후 자동으로 전환시켜준다. 이러한 기능은 한글 사용자에게는 매우 편리하지만, 그 구현 방식이 복잡하며, 특정 응용 프로그램내에서만 사용가능하다는 제한이 있다.Accordingly, there is a demand for a technology capable of automatically switching between the Korean input mode and the English input mode for a user who uses a non-English language such as Korean. In order to solve this problem, some application programs (eg, 'Hangul 2004' sold by Hangul and Computer Co., Ltd., Seoul, Inc.) include a Hanyoung automatic conversion function. The Han-young automatic conversion function analyzes the character sequence input by the user and determines whether it is a Hangul combination sequence or an English combination sequence and automatically converts it. This feature is very convenient for Korean users, but its implementation is complicated and can be used only within a specific application.

그러므로, 단순한 구성으로 실현가능하면서, 특정 응용 프로그램에 특히 관련되지 않고 광범위한 응용 프로그램에 대하여 사용될 수 있는 범용성을 가지는, 새로운 입력 모드 자동 변환 기술에 대한 요구가 있었다.Therefore, there is a need for a new input mode automatic conversion technique that is feasible with a simple configuration and that has a general purpose that can be used for a wide range of applications, not particularly related to a specific application.

본 발명은 이러한 종래의 입력 모드 변환 방식에 있어서의 문제점을 해결하고 추가적인 장점들을 가지는 새로운 자동 입력 모드 변환 방법 및 그 시스템을 제공한다.The present invention solves the problems of this conventional input mode switching scheme and provides a new automatic input mode switching method and system having additional advantages.

본 발명의 목적은, 단순한 구성으로 실현가능하면서, 특정 응용 프로그램에만 관련되는 것이 아니라 광범위한 응용 프로그램들에 대하여 사용될 수 있는, 새로운 입력 모드 자동 변환 방법 및 시스템을 제공하고자 하는 것이다.
It is an object of the present invention to provide a new input mode automatic conversion method and system, which is feasible in a simple configuration and can be used for a wide range of applications, not just specific applications.

이러한 목적을 성취하기 위하여, 본 발명자는 마이크로소프트 윈도우즈 운영체제하에서 실행되는 응용 프로그램들(예컨대 인터넷 익스플로러, 메모장, 마이크로소프트 오피스 등)이 최소 실행시 모두 영문 입력 모드로 설정되어 있다는 점과, 반면에, 이들 응용 프로그램들을 사용하는 한글 사용자들은 영어가 아닌 한글을 입력하려는 경향이 크다는 점에 주목하였다. 따라서, 본 발명자는 특정 응용 프로그램이 실행되자마자 곧 사용자가 선택한 문자의 입력 모드로 자동으로 입력모드를 설정해준다면, 예컨대 한글 문서를 작성하려는 사용자의 편리성을 크게 증진시킬 수 있다는 점에 착안하였다.To achieve this goal, the inventors have found that applications running under the Microsoft Windows operating system (such as Internet Explorer, Notepad, Microsoft Office, etc.) are all set to English input mode at minimum execution. It is noted that Korean users who use these applications tend to input Korean characters rather than English. Therefore, the present inventors have focused on the fact that as soon as a specific application is executed, if the user automatically sets the input mode to the input mode of the character selected by the user, for example, the convenience of a user who wants to create a Korean document can be greatly improved.

상술한 목적은 본 발명의 실시예들에 따라 제공되는 자동 입력 모드 변환 방법 및 그 시스템에 의해 성취된다. 본 발명에 따라 제공되는 방법은, 컴퓨터 내의 영어 및 영어 외에 다른 언어를 입력할 수 있는 시스템에 있어서 입력 모드 자동 변환 방법으로서, 원하는 미리 결정된 문자 입력 모드를 설정하는 단계와; 임의의 응용 프로그램이 실행되는 것을 검출하는 단계와; 현재 다국어 입력 편집기(IME)의 입력 모드 상태를 검출하는 단계와; 검출된 IME의 입력 모드 상태가 상기 미리결정된 문자 입력 모드가 아닌 경우, IME의 입력 모드 상태를 상기 미리결정된 문자 입력 모드로 변환시키는 단계를 포함하여 구성될 수 있다.The above object is achieved by an automatic input mode conversion method and system provided according to embodiments of the present invention. A method provided according to the present invention is a method of automatically converting an input mode in a system capable of inputting a language other than English and English in a computer, comprising: setting a desired predetermined character input mode; Detecting that any application is running; Detecting an input mode state of a current multilingual input editor (IME); And when the detected input mode state of the IME is not the predetermined character input mode, converting the input mode state of the IME to the predetermined character input mode.

여기서, 상기 임의의 응용 프로그램이 실행되는 것을 검출하는 단계는, 마우스 메시지 후킹(hooking), 키보드 메시지 후킹, 및 윈도우 응용 프로그램 메시지 후킹 중 적어도 하나를 통해 이루어지는 것이 바람직하다.The detecting of the execution of the arbitrary application program may be performed through at least one of hooking a mouse message, hooking a keyboard message, and hooking a window application message.

또한 본 발명에 따라 제공되는 시스템은, 컴퓨터 내의 영어 및 영어 외에 다른 언어를 입력할 수 있는 시스템에 있어서 입력 모드 자동 변환 시스템으로서, 원하는 미리 결정된 문자 입력 모드를 설정하는 수단과; 임의의 응용 프로그램이 실행되는 것을 검출하는 수단과; 현재 다국어 입력 편집기(IME)의 입력 모드 상태를 검출하는 수단과; 검출된 IME의 입력 모드 상태가 상기 미리결정된 문자 입력 모드가 아닌 경우, IME의 입력 모드 상태를 상기 미리결정된 문자 입력 모드로 변환시키는 수단을 포함하여 구성될 수 있다.A system provided according to the present invention also provides an input mode automatic conversion system in a system capable of inputting a language other than English and English in a computer, comprising: means for setting a desired predetermined character input mode; Means for detecting any application running; Means for detecting an input mode state of a current multilingual input editor (IME); And if the detected input mode state of the IME is not the predetermined character input mode, means for converting the input mode state of the IME to the predetermined character input mode.

여기서, 상기 임의의 응용 프로그램이 실행되는 것을 검출하는 수단은, 마우스 메시지 후킹(hooking), 키보드 메시지 후킹, 및 윈도우 응용 프로그램 메시지 후킹 중 적어도 하나를 통해 임의의 응용 프로그램이 실행되는 것을 검출하는 것이 바람직하다.Here, the means for detecting the execution of the arbitrary application is preferably detected that the execution of any application through at least one of mouse message hooking (hooking), keyboard message hooking, and window application message hooking. Do.

상기 실시예들에서, 상기 원하는 미리 결정된 문자 입력 모드를 설정하는 수단은, 상기 IME를 화면에 표시하는 아이콘과 함께 디스플레이되는 입력 모드 자동 설정을 위한 아이콘(30)을 포함하고, 사용자는 상기 아이콘(30)을 클릭하여 원하는 문자 입력 모드를 설정할 수 있고, 대안적으로 또는 추가적으로, 상기 입력 모드 자동 변환 시스템을 활성화/비활성화할 수 있는 것이 바람직하다.In the above embodiments, the means for setting the desired predetermined character input mode comprises an icon 30 for automatic setting of the input mode which is displayed together with an icon for displaying the IME on the screen, and the user may select the icon ( 30) it is possible to set the desired character input mode and, alternatively or additionally, it is desirable to be able to activate / deactivate the input mode automatic conversion system.

또한, 본 발명에 따라 상기 방법의 각 단계들을 마이크로프로세서가 수행하도록 하는 지령들을 포함하는 컴퓨터 프로그램 및 이 컴퓨터 프로그램이 기록된 기록매체가 더 제공될 수 있다.Further, according to the present invention, a computer program including instructions for causing a microprocessor to perform each step of the method and a recording medium on which the computer program is recorded may be further provided.

이하에서는, 본 발명을 구체적인 실시예의 면에서 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings in terms of specific embodiments.

도 3은 본 발명의 일실시예에 따른 IME의 자동 입력 모드 변환 방법(100)을 보여주는 흐름도이다. 본 발명에 따라 제공되는 방법은, 컴퓨터 내의 영어 및 영어 외에 다른 언어(예컨대, 한국어, 일본어, 중국어)를 입력할 수 있는 시스템에 있어 서 입력 모드 자동 변환 방법이다. 먼저, 본 발명에 따라, 사용자는 예비 단계로서, 원하는 미리 결정된 문자 입력 모드, 예컨대 한국어 입력 모드를 설정한다. 이러한 설정은, 이하에서 도 4를 참조하여 더 자세히 설명될 것이다. 이러한 설정에 따라, 이하에서 자세히 설명하는 단계들에 의해, 임의의 응용 프로그램이 실행되면, 자동으로 한국어 입력 모드로 변환된다.3 is a flowchart illustrating a method 100 for converting an automatic input mode of an IME according to an embodiment of the present invention. The method provided according to the present invention is an input mode automatic conversion method in a system capable of inputting languages other than English and English (eg, Korean, Japanese, and Chinese) in a computer. First, according to the present invention, the user sets, as a preliminary step, a desired predetermined character input mode, for example, a Korean input mode. This setting will be described in more detail below with reference to FIG. 4. According to this setting, when any application is executed by the steps described in detail below, it is automatically switched to the Korean input mode.

도시된 바와 같이, 예비 단계로서 원하는 문자 입력 모드 즉 한국어 입력 모드가 설정된 후, 단계(110)에서 본 발명의 방법이 시작될 수 있다. 시작 후, 단계(120)에서 후킹 대기 상태에 있다. 이는 임의의 응용 프로그램이 실행되는 것을 검출하기 위하여, 감시하는 상태이다. 그후 사용자가 예컨대 마우스를 이동시켜 응용 프로그램을 실행시킬 수 있다. 그러면, 본 발명의 방법에 따라, 마우스의 화면상의 값인 마우스 메시지를 후킹한다(130).As shown, after the desired character input mode, that is, the Korean input mode, is set as a preliminary step, the method of the present invention can be started in step 110. After starting, it is in a waiting state for hooking in step 120. This is a monitored state in order to detect that any application is running. The user can then run the application, for example, by moving the mouse. Then, according to the method of the present invention, the mouse message which is a value on the screen of the mouse is hooked (130).

이러한 메시지 후킹은 마우스 메시지 후킹(hooking)외에도, 키보드 메시지 후킹, 또는 윈도우 응용 프로그램 메시지 후킹 중 적어도 하나를 통해 이루어질 수 있다. 키보드 메시지 후킹에 있어서는, 사용자가 키보드를 누른 순간을 후킹하여 응용 프로그램의 핸들값을 획득한다. 윈도우 응용 프로그램 메시지 후킹에 있어서는, 사용자가 예컨대 바탕화면 상의 응용 프로그램 실행 아이콘을 클릭할 때 이를 후킹함으로써 응용 프로그램의 핸들값을 획득한다.Such message hooking may be performed through at least one of keyboard message hooking or window application message hooking in addition to mouse message hooking. In hooking a keyboard message, the hook of the moment when the user presses the keyboard is obtained to obtain a handle value of an application program. In hooking a window application message, the user's handle value is obtained by hooking it, for example, when the user clicks an application execution icon on the desktop.

후킹된 마우스 메시지가 응용 프로그램이 처음 실행되는 것을 나타내는 핸들값인지의 여부가 판단된다(140). 응용 프로그램의 핸들값이 아닌 경우에는, 단계(120)으로 되돌아간다. 응용 프로그램의 핸들값인 경우에는, 현재 IME 입력 상 태값을 획득한다(150). 전술한 바와 같이, 마이크로소프트 윈도우즈 운영체제 하에서 거의 대부분의 응용 프로그램은 영어 입력 모드로 설정되는 것이 일반적이기 때문에, 단계(150)에서 획득된 현재 IME 입력 상태는 영문 입력 모드일 것이다.It is determined whether the hooked mouse message is a handle value indicating that the application is first executed (140). If it is not the handle value of the application, the process returns to step 120. In the case of the handle value of the application, the current IME input state value is obtained (150). As mentioned above, since almost all applications under the Microsoft Windows operating system are generally set to English input mode, the current IME input state obtained in step 150 will be English input mode.

단계(160)에서, 이 획득된 현재 IME 입력 상태가 영문 입력 모드인지 여부가 판단된다. 영문 입력 모드가 아닌 경우, 즉 한글 입력 모드인 경우에는 단계(120)로 되돌아간다. 영문 입력 모드인 경우에는, 검출된 IME의 입력 모드 상태가 예비 단계에서 미리결정된 문자 입력 모드 즉 한글 입력 모드가 아닌 경우에 해당된다. 이 경우에, IME의 입력 모드 상태를 상기 미리결정된 문자 입력 모드로 자동으로 변환시킨다(170). 이에 따라, 응용 프로그램이 실행되자 마자 사용자는 한글 입력 모드에서 시작할 수 있다. 그후, 단계(120)로 되돌아간다. 후킹 대기 상태(120)에서 사용자가 본 발명의 방법을 비활성화시키는 경우나 컴퓨터 전원을 끄는 경우에는 종료(180)될 수 있다.In step 160, it is determined whether the obtained current IME input state is an English input mode. If it is not the English input mode, that is, the Korean input mode, the process returns to step 120. In the case of the English input mode, the input mode state of the detected IME is not the predetermined character input mode, that is, the Korean input mode in the preliminary step. In this case, the input mode state of the IME is automatically converted to the predetermined character input mode (170). Accordingly, as soon as the application is executed, the user can start in the Hangul input mode. The process then returns to step 120. When the user deactivates the method of the present invention or when the computer is turned off in the hooking waiting state 120, it may be terminated 180.

상술한 방법은 아래에서 예시된 프로그램 코드를 이용하여 자세히 설명하는 바와 같이, 예컨대 Windows 98, NT, 2000, XP 버전의 마이크로소프트 윈도우즈 운영체제 하에서 실행되는, 간단한 프로그램 시스템으로서 실현될 수 있다.The method described above can be realized as a simple program system, for example, running under the Windows 98, NT, 2000, XP versions of the Microsoft Windows operating system, as described in detail using the program code illustrated below.

도 4는 본 발명의 일실시예에 따른 자동 입력 모드 변환 시스템의 아이콘이 포함되어 있는 IME 시스템 아이콘의 예를 보여주는 개략도이다. 본 발명에 따른 시스템의 활성화/비활성화, 및/또는 원하는 문자 입력 모드의 설정은, 화면상에 디스플레이되는 아이콘(30)으로서 사용자가 액세스할 수 있도록 구현될 수 있다. 이러한 아이콘(30)은 도시된 바와 같이 종래의 IME 시스템 아이콘(20) 내에 병합될 수 있으나, 반드시 이렇게 병합되어야만 하는 것은 아니다.4 is a schematic diagram illustrating an example of an IME system icon including an icon of an automatic input mode conversion system according to an embodiment of the present invention. The activation / deactivation of the system according to the invention, and / or the setting of the desired character input mode may be implemented for the user to access as an icon 30 displayed on the screen. This icon 30 may be merged into the conventional IME system icon 20 as shown, but is not necessarily so.

아래에서는, 상술한 바와 같은 본 발명에 따른 입력 모드 자동 변환 방법을 이루어지게 하는 컴퓨터 프로그램 코드가 예시된다.In the following, computer program code for implementing the input mode automatic conversion method according to the present invention as described above is illustrated.

[본 발명의 일실시예를 구현하는 프로그램 코드][Program code for implementing an embodiment of the present invention]

Figure 112004034497971-pat00001
Figure 112004034497971-pat00001

본 예시적인 프로그램은, 상술한 본 발명에 따른 방법을 실현하는 한가지 예에 불과하며, 당업자라면 다양한 여러가지 수정과 변형이 가능하다는 것을 쉽게 이해할 것이다.The present exemplary program is merely one example of realizing the method according to the present invention described above, and those skilled in the art will readily understand that various modifications and variations are possible.

본 예에서는, 윈도우즈의 메시지 후킹 메커니즘을 활용하여 영문 입력 상태를 한글 입력 상태로 변환시키서 입력하도록 하였다. 구체적으로 이 프로그램이 윈도우즈 운영체제 하에서 어떻게 작업을 수행하는지 자세히 설명한다. 본 프로그램에 사용되는 함수들과 그 문법은 당업자라면 쉽게 알 수 있다.In this example, the English input state is converted into Korean input state by using the message hooking mechanism of Windows. Specifically, this program details how to do things under the Windows operating system. Functions and syntax used in the program can be easily understood by those skilled in the art.

윈도우 트레이 아이콘(도 4의 30 참조)을 클릭함으로써, 본 발명에 따른 자동 입력 모드 변환 시스템이 실행될 수 있다. 이 트레이 아이콘을 만들려면, Notifyicondata 구조체에 값을 넣고, Shell_NotifyIcon 함수를 이용하여 Notifyicondata 구조체의 정보를 설명하면 된다. 이 아이콘(30) 위에서 예컨대 마우스 오른쪽 버튼을 누르면 팝업 메뉴가 추가로 뜨도록 만들어서, 프로그램을 종료(또는 비활성화)하거나, 개시(또는 활성화)하거나, 문자 입력 모드를 설정할 수 있도록 만들 수 있다.By clicking the window tray icon (see 30 in FIG. 4), the automatic input mode conversion system according to the present invention can be executed. To create this tray icon, enter a value in the Notifyicondata structure and use the Shell_NotifyIcon function to describe the information in the Notifyicondata structure. Pressing the right mouse button on the icon 30, for example, further pops up a popup menu so that the program can be terminated (or deactivated), started (or activated), or the character input mode can be set.

바람직한 실시예에 따라, 본 프로그램은 윈도우즈가 관리하는 레지스터에 등록을 하여, 윈도우즈의 종료 후 다시 시작하는 경우에 자동으로 작동하도록 제작될 수 있다. 본 프로그램은 EXE 프로그램과 DLL 함수로 이루어질 수 있다. EXE 프로그램에서는 DLL 함수를 호출하고, 이 DLL 함수는 트레이 아이콘 처리와 중복 실행을 막는 역할을 할 수 있다. 본 프로그램은 다른 응용 프로그램들과 함께 동작하면서, 후킹 드라이브를 통해서 후킹에 대한 정보를 윈도우즈에서 처리하기 전에 처리한 다.According to a preferred embodiment, the program can be built to register automatically in Windows-managed registers and to run automatically when Windows restarts. This program can be composed of EXE program and DLL function. EXE programs call DLL functions, which can serve to prevent tray icon handling and duplicate execution. This program works with other applications to process hooking information before hooking it up through Windows.

후킹은 시스템 전역 후킹의 기본 요구 사항을 충족시키기 위해 DLL로 구현된다. 이러한 종류의 후킹은 기본적으로 후킹 콜백 프로시저가 시스템 상에서 후킹된 각각의 프로세스의 주소 공간에서 실행된다.Hooking is implemented as a DLL to meet the basic requirements of system-wide hooking. This kind of hooking is basically executed in the address space of each process that the hooking callback procedure is hooked on the system.

DLL 함수에서 후킹과 입력 상태를 변경시키는 역할을 하는데 구체적으로 API 함수 SetWindowsHookEx 를 이용해서 후킹의 종류를 선택한다.The DLL function changes the hooking and input state. Specifically, the type of hooking is selected using the API function SetWindowsHookEx.

이 함수 실행 후 오류가 없으면 후크 핸들이 반환된다. 반환값은 사용자 정의 후크 함수의 끝부분에서 CallNextHookEx() 함수를 호출할 때 필요하다. SetWindowsHookEx() 함수가 성공적으로 호출되면, 운영체제는 DLL을 특별한 후크 필터의 요구 사항을 충족시키는 모든 프로세스에 자동적으로 침투시킨다.If there is no error after executing this function, the hook handle is returned. The return value is needed when calling CallNextHookEx () at the end of the user-defined hook function. When the SetWindowsHookEx () function is called successfully, the operating system automatically injects the DLL into all processes that meet the requirements of the particular hook filter.

Mouse의 이동시 발생하는 MESSAGE에 대해서, 이것을 처리해 주는 함수를 설정하면 후킹의 준비는 일단 끝난다. 그후 본 프로그램에서는, Mouse가 움직이면서 발생하는 메시지를 받아서 실행되는 프로그램의 핸들 값을 얻어서, 그 프로그램의 입력 상태를 변환하게 된다.For the MESSAGE that occurs when the mouse moves, you can set up a function that handles this and you are ready to hook. After this, the program receives the message generated by the mouse movement, obtains the handle value of the program to be executed, and converts the input state of the program.

전술한 바와 같이, IME는 입력 시스템(Input Method Editor: IME)으로 동아시아(한국, 일본, 중국) 여러 나라의 다양한 문자를 특수한 키보드를 이용하지 않고 입력하기 위한 입력 프로그램이다. 이러한 IME는 모든 윈도우즈 운영체제에 내장되어 있다.As described above, the IME is an input method editor (IME), which is an input program for inputting various characters of various countries in East Asia (Korea, Japan, China) without using a special keyboard. These IMEs are built into every Windows operating system.

IME는 입력 컨텍스트(Input Context)란 구조체를 내부적으로 사용하고 있는데, 이 구조체에는 조립 문자열, 변환 모드, IME 윈도우의 위치 등 IME의 현재 상 태에 대한 정보들이 저장된다. IME의 상태를 조사하거나 변경하고 싶다면 입력 컨텍스트의 핸들을 구해야 한다. IME 에서 제공되는 ImmGetContext 함수와 ImmReleaseContext 함수를 이용하여 핸들을 구할 수 있다.The IME internally uses a structure called an input context, which contains information about the current state of the IME, such as assembly strings, transformation modes, and the location of the IME window. If you want to examine or change the state of the IME, you need to get a handle to the input context. Handles can be obtained by using the ImmGetContext and ImmReleaseContext functions provided by the IME.

또한 IME의 입력 컨텍스트를 조작하면 입력 모드를 강제로 변경할 수 있다.You can also force the input mode to change by manipulating the input context of the IME.

ImmGetConversionStatus 함수를 이용하면 현재 실행중인 IME의 상태를 알아올 수 있고, ImmSetConversionStatus 함수를 통해서 IME의 입력 모드를 변경할 수 있다. 이와 같은 방식으로, IME의 영문 모드 입력 상태를 한글 모드 입력 상태로 변경시킬 수 있다.By using ImmGetConversionStatus function, you can get the status of the currently running IME and change the input mode of the IME through ImmSetConversionStatus function. In this manner, the English mode input state of the IME can be changed to the Korean mode input state.

이상에서는, 본 발명이 첨부된 도면을 참조하여 구체적인 실시예로서 설명되었으나 본 발명이 설명된 예에만 국한되는 것이 아님은 당업자에게 자명하다. 예컨대, 비록 상기 설명에서 영문 입력 모드와 한국어 입력 모드 사이의 변환이 주로 설명되었으나, 영문 입력 모드와 일본어 입력 모드 사이의 변환, 그리고 영문 입력 모드와 중국어 입력 모드 사이의 변환에도 여전히 본 발명에 따른 자동 변환 방법 및 시스템이 적용될 수 있다. 따라서, 본 발명의 범위는 설명된 실시예에 의해서가 아니라 첨부된 특허청구범위에 의해서 해석되어야 할 것임을 지적해둔다.In the above, although the present invention has been described as a specific embodiment with reference to the accompanying drawings, it is apparent to those skilled in the art that the present invention is not limited to the described examples. For example, although the conversion between the English input mode and the Korean input mode is mainly described in the above description, the conversion between the English input mode and the Japanese input mode, and the conversion between the English input mode and the Chinese input mode is still performed according to the present invention. Conversion methods and systems can be applied. Therefore, it is pointed out that the scope of the present invention should be interpreted not by the embodiments described, but by the appended claims.

상술한 바와 같이, 본 발명에 따른 입력 모드 자동 변환 방법 및 시스템에 의하면, 단순한 구성으로 실현가능하면서, 특정 응용 프로그램에만 관련되는 것이 아니라 광범위한 응용 프로그램들에 대하여 사용될 수 있는, 새로운 입력 모드 변 환 기술이 제공될 수 있다.As described above, according to the input mode automatic conversion method and system according to the present invention, a new input mode conversion technology that can be realized in a simple configuration and can be used for a wide range of applications, not only specific applications. This may be provided.

Claims (6)

삭제delete 컴퓨터 내의 영어 및 영어 외에 다른 언어를 입력할 수 있는 시스템에 있어서 입력 모드 자동 변환 방법으로서,As an input mode automatic conversion method in a system capable of inputting a language other than English and English in a computer, 사용자가 원하는 미리 결정된 문자 입력 모드를 설정하는 단계와;Setting a predetermined character input mode desired by the user; 임의의 응용 프로그램이 실행되는 것을, 마우스 메시지 후킹(hooking), 키보드 메시지 후킹, 및 윈도우 응용 프로그램 메시지 후킹 중 적어도 하나를 통해 획득하고, 이 획득된 메시지가 상기 응용 프로그램의 핸들값인지를 판정하여 검출하는 단계와;Acquire any application running through at least one of mouse message hooking, keyboard message hooking, and window application message hooking, and determine whether the obtained message is a handle value of the application. Making a step; 현재 다국어 입력 편집기(IME)의 입력 모드 상태를 검출하는 단계와;Detecting an input mode state of a current multilingual input editor (IME); 검출된 IME의 입력 모드 상태가 상기 미리결정된 문자 입력 모드가 아닌 경우, IME의 입력 모드 상태를 상기 미리결정된 문자 입력 모드로 변환시키는 단계를If the detected input mode state of the IME is not the predetermined character input mode, converting the input mode state of the IME to the predetermined character input mode; 포함하는 것을 특징으로 하는, 입력 모드 자동 변환 방법.Input mode automatic conversion method comprising a. 삭제delete 삭제delete 제 2 항에 있어서, 상기 원하는 미리 결정된 문자 입력 모드를 설정하는 단계는, 상기 IME를 화면에 표시하는 아이콘과 함께 디스플레이되는 입력 모드 자동 설정을 위한 아이콘(30)을 포함하고, 사용자는 상기 아이콘(30)을 클릭하여 원하는 문자 입력 모드를 설정할 수 있고, 대안적으로 또는 추가적으로, 상기 입력 모드 자동 변환 시스템을 활성화/비활성화할 수 있는데 특징이 있는, 입력 모드 자동 변환 방법.The method of claim 2, wherein the setting of the desired predetermined character input mode comprises an icon 30 for automatically setting an input mode displayed together with an icon displaying the IME on a screen, 30) click to set the desired character input mode and, alternatively or additionally, may activate / deactivate the input mode automatic conversion system. 제 2 항 또는 제 5 항 중 어느 한 항에 기재된 방법의 각 단계들을 마이크로프로세서가 수행하도록 하는 지령들을 포함하는 컴퓨터 프로그램을 기록한 기록매체.A recording medium having recorded thereon a computer program comprising instructions for causing a microprocessor to perform each step of the method according to any one of claims 2 to 5.
KR1020040060683A 2004-07-31 2004-07-31 Method For Automatic-Converting to an Input Mode And System Thereof KR100619504B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040060683A KR100619504B1 (en) 2004-07-31 2004-07-31 Method For Automatic-Converting to an Input Mode And System Thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040060683A KR100619504B1 (en) 2004-07-31 2004-07-31 Method For Automatic-Converting to an Input Mode And System Thereof

Publications (2)

Publication Number Publication Date
KR20060011702A KR20060011702A (en) 2006-02-03
KR100619504B1 true KR100619504B1 (en) 2006-09-08

Family

ID=37121716

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040060683A KR100619504B1 (en) 2004-07-31 2004-07-31 Method For Automatic-Converting to an Input Mode And System Thereof

Country Status (1)

Country Link
KR (1) KR100619504B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990026046A (en) * 1997-09-22 1999-04-15 윤종용 Automatic conversion of the text input mode
JP2003015807A (en) 2001-06-29 2003-01-17 Oki Electric Ind Co Ltd Method and program for controlling input
KR20040107965A (en) * 2003-06-16 2004-12-23 삼성전자주식회사 Input language recognition method and apparatus and method and apparatus for automatically interchanging input language modes employing the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990026046A (en) * 1997-09-22 1999-04-15 윤종용 Automatic conversion of the text input mode
JP2003015807A (en) 2001-06-29 2003-01-17 Oki Electric Ind Co Ltd Method and program for controlling input
KR20040107965A (en) * 2003-06-16 2004-12-23 삼성전자주식회사 Input language recognition method and apparatus and method and apparatus for automatically interchanging input language modes employing the same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
15015807

Also Published As

Publication number Publication date
KR20060011702A (en) 2006-02-03

Similar Documents

Publication Publication Date Title
US5973688A (en) Computing system having delayed keyboard shortcut hints
US10552037B2 (en) Software keyboard input method for realizing composite key on electronic device screen with precise and ambiguous input
RU2446441C2 (en) Method and apparatus for tying objects
US7721227B2 (en) Method for describing alternative actions caused by pushing a single button
US7480863B2 (en) Dynamic and intelligent hover assistance
JP4579030B2 (en) Information processing apparatus, file processing method, file processing program, and recording medium
WO2008122243A1 (en) A method and system for calling program command fast and a input method system
KR20090112541A (en) Method for switching user interface, electronic device and recording medium using the same
US20100318935A1 (en) Methods and apparatuses for inputting information
US7376913B1 (en) Navigation and selection control for a hand-held portable computer
US20040230908A1 (en) Accessing a platform independent input method editor from an underlying operating system
CN101493747A (en) Software keyboard operation method
KR100676697B1 (en) Language displaying method and system of software for computer, recording media of computer program therefor
KR20090106644A (en) A printer control method, an apparatus and a printer using the method
WO2011017873A1 (en) Method and device for switching input methods of mobile terminal
JP2006244280A (en) Display language switching device and program
KR100619504B1 (en) Method For Automatic-Converting to an Input Mode And System Thereof
CN111078024A (en) Method for dynamically adjusting keyboard output signal
KR20000049575A (en) Key input method and apparatus using mouse device
US10564732B1 (en) Method of providing virtual function keys based on an application
TWI393024B (en) Method of modifying use of pointing device in a graphical user interface and related programmable apparatus and computer readable medium
KR100283957B1 (en) English capital letter-small letter converting method and apparatus using English-Korean conversion icon on computer screen
JPH03191411A (en) Keyboard and mouse combination type entry
JP5057112B2 (en) User interface device and information processing device
TWI220734B (en) A hotkey management method for a computer

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: 20130626

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140620

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150923

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160705

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20170918

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20180625

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20190627

Year of fee payment: 14