KR100352796B1 - Method and apparatus for recognizing automatic in ps2 mouse and serial mouse - Google Patents

Method and apparatus for recognizing automatic in ps2 mouse and serial mouse Download PDF

Info

Publication number
KR100352796B1
KR100352796B1 KR1020000061176A KR20000061176A KR100352796B1 KR 100352796 B1 KR100352796 B1 KR 100352796B1 KR 1020000061176 A KR1020000061176 A KR 1020000061176A KR 20000061176 A KR20000061176 A KR 20000061176A KR 100352796 B1 KR100352796 B1 KR 100352796B1
Authority
KR
South Korea
Prior art keywords
mouse
state
check unit
serial
rts
Prior art date
Application number
KR1020000061176A
Other languages
Korean (ko)
Other versions
KR20020030864A (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 KR1020000061176A priority Critical patent/KR100352796B1/en
Publication of KR20020030864A publication Critical patent/KR20020030864A/en
Application granted granted Critical
Publication of KR100352796B1 publication Critical patent/KR100352796B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • 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/0231Cordless 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

본 발명은 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 장치에 관한 것으로, 사용자가 원하는 버튼을 누름에 따른 코드 신호와 마우스의 좌표 신호를 적외선으로 송출하는 무선 키보드; 무선 키보드로부터 송출되는 코드 신호와 마우스의 좌표 신호를 모니터에 출력하는 개인용 컴퓨터; 개인용 컴퓨터에 피에스(PS)/2 키보드 라인과,PS/2 마우스 라인 및 시리얼 마우스 라인이 연결되었음을 자동으로 인식한 후, 인식된 라인을 통해 무선 키보드로부터 송출되는 코드 신호와 마우스 좌표 신호를 개인용 컴퓨터에 제공하는 수신기를 구비한다. 따라서, 기존의 PC 본체를 이용할 수 있는 장점이 있으며, 또한 AC-IR6 수신기만을 구입하면, 무선 키보드 및 마우스로부터 송출되는 각각의 신호를 PC로 운활하게 송출할 수 있다는 효과가 있다.The present invention relates to an automatic recognition device of a PS (PS) / 2 mouse and a serial mouse, comprising: a wireless keyboard that transmits a code signal and a coordinate signal of a mouse according to a user's desired button press in infrared; A personal computer for outputting code signals transmitted from the wireless keyboard and coordinate signals of the mouse to the monitor; After automatically recognizing that the PS / 2 keyboard line, PS / 2 mouse line, and serial mouse line are connected to the personal computer, the personal computer receives code signals and mouse coordinate signals transmitted from the wireless keyboard through the recognized lines. It is provided with a receiver. Therefore, there is an advantage that can use the existing PC main body, and also if you purchase only the AC-IR6 receiver, there is an effect that can be transmitted to the PC each signal transmitted from the wireless keyboard and mouse.

Description

피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 방법 및 장치{METHOD AND APPARATUS FOR RECOGNIZING AUTOMATIC IN PS2 MOUSE AND SERIAL MOUSE}METHOD AND APPARATUS FOR RECOGNIZING AUTOMATIC IN PS2 MOUSE AND SERIAL MOUSE

본 발명은 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 방법 및 장치에 관한 것으로, 특히 개인용 컴퓨터(Personal Computer : 이하, PC라 칭함) 본체에 PS/2 키보드 라인과, PS/2 마우스 라인 및 시리얼 마우스 라인이 연결되었음을 자동적으로 인식할 수 있도록 하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for automatically recognizing a PS / 2 mouse and a serial mouse, and in particular, a PS / 2 keyboard line and a PS / 2 mouse line in a personal computer (hereinafter, referred to as a PC) main body. And a method and apparatus for automatically recognizing that a serial mouse line is connected.

통상적으로, 컴퓨터에는 본체와 모니터 및 키보드로 구분되고 있는 바, 모니터와 키보드가 각각 본체와 유선으로 연결되어 있는 상태에서 사용되기 때문에 본체에서 키보드가 움직일 수 있는 거리가 극히 제한되어 있으며, 이로 인하여 좁은 공간에서 키보드를 사용하여야 함으로서 바른 자세를 유지할 수가 없다는 단점이 있고 심할 경우 직업병을 유발시키게 된다.In general, a computer is divided into a main body, a monitor, and a keyboard, and since the monitor and the keyboard are used in a state in which the main body and the wire are connected to each other, the distance that the keyboard can move from the main body is extremely limited. The disadvantage of not being able to maintain the correct posture is that the keyboard must be used in space.

즉, 본체와 키보드가 항상 근접한 거리에 있어야 하기 때문에 공간을 좁게 사용하여야 함으로서, 불편하였으며 키보드를 자유롭게 움직일 수가 없기 때문에 보관하기가 곤란하였다. 또한, 기존의 키보드는 컴퓨터 본체와 케이블로 연결되어 있기 때문에 케이블로 인한 컴퓨터 주변이 복잡하여 미관상 보기가 흉하였으며, 보행 중 부 주의 할 경우 케이블에 걸려 사람이 넘어져 다치게 되거나 컴퓨터 본체나 키보드 또는 모니터가 지면으로 떨어지게 되고 그 충격으로 인하여 기기가 파손되는 경우가 있었다.That is, since the main body and the keyboard should always be in close proximity to each other, the space should be used narrowly, which is inconvenient and difficult to store because the keyboard cannot be moved freely. In addition, because the existing keyboard is connected to the computer main body with a cable, the surrounding area of the computer due to the cable is complicated, and the aesthetic appearance is unsightly. It fell to the ground and the device was damaged due to the impact.

상술한 문제를 해결하기 위해 최근에는 적외선을 통신수단으로서 사용하는 무선 키보드가 개발되고 있다. 여기서, 무선 키보드에는 마우스(볼 마우스, 또는 터치 마우스)가 내장되어 있거나, 또는 외 장형 마우스를 연결시킬 수도 있다.In order to solve the above problem, a wireless keyboard using infrared rays as a communication means has recently been developed. Here, the wireless keyboard may have a built-in mouse (ball mouse or touch mouse) or an external mouse may be connected.

즉, 무선 키보드는 내부적으로 마이컴을 내장하고 있으며, 이 마이컴은 키보드내의 키들을 검색하면서 임의의 키가 눌려졌는지를 확인하여 임의의 키가 눌려지면 해당되는 코드를 찾아 적외선(Infrared Rays : IR이라 칭함)으로 PC에 전송한다. 이때, 무선 키보드에 연동되어 있는 마우스를 사용자가 움직임에 따른 좌표 신호 또한 IR로서 PC에 전송된다.In other words, the wireless keyboard has a built-in microcomputer internally, and this microcomputer searches for the keys in the keyboard and checks if any key is pressed and finds the corresponding code when an arbitrary key is pressed. Infrared Rays (IR) To the PC. At this time, the coordinate signal according to the user's movement of the mouse linked to the wireless keyboard is also transmitted to the PC as IR.

이와 같이, 키보드 및 마우스로부터 송출되는 각각의 신호를 PC에 전송하기 위해 별도의 수신장치가 필요하다. 즉, 수신장치는 PC에 내장된 내장형 수신장치와, PC에 잭 을 삽입하면서 사용하는 외 장형 수신장치가 있다.As such, a separate receiver is required to transmit each signal transmitted from the keyboard and the mouse to the PC. That is, the receiver includes a built-in receiver built into the PC, and an external receiver used by inserting a jack into the PC.

그 중 내장형 수신장치는 키보드 및 마우스로부터 송출되는 각각의 신호를 동시에 수용하기 위해서는 복잡한 회로가 구현된 보드를 컴퓨터 본체 내에 설계되어진 별도의 컴퓨터 본체를 제작하여야 하는데, 이로 인해 컴퓨터 본체의 가격을 상승시키거나, 또는 사용자가 별도의 컴퓨터 본체를 구입하여야 하는 번거로운 문제가 있었다.Among them, the built-in receiver has to manufacture a separate computer main body that is designed in the main body of the board with complex circuits in order to simultaneously receive each signal transmitted from the keyboard and the mouse. This increases the price of the main body of the computer. Or, there was a cumbersome problem that the user has to purchase a separate computer body.

따라서, 기존의 컴퓨터 본체를 그냥 이용하면서, 별도의 저렴한 외 장형 수신장치만을 제작하여 무선 키보드 및 마우스로부터 송출되는 각각의 신호를 자동으로 인식할 수 있는 장치가 필요하였다. 특히, 외 장형 수신장치가 컴퓨터 본체의 키보드 포트와, PS/2 마우스 포트 및 시리얼 마우스 포트를 자동으로 인식할 수 있도록 회로를 구현할 필요가 있었다.Therefore, there is a need for an apparatus capable of automatically recognizing each signal transmitted from a wireless keyboard and a mouse by making a separate inexpensive external receiver while using the existing computer main body. In particular, it was necessary to implement a circuit so that the external receiver can automatically recognize the keyboard port of the computer main body, the PS / 2 mouse port and the serial mouse port.

따라서, 본 발명은 상술한 필요성에 의하여 안출된 것으로서, 그 목적은 PC 본체에 PS/2 키보드 라인과, PS/2 마우스 라인 및 시리얼 마우스 라인이 연결되었음을 자동적으로 인식하는 수신기를 제작하여 무선 키보드 및 마우스로부터 송출되는 각각의 신호를 PC로 제공할 수 있도록 하는 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 방법 및 장치를 제공함에 있다.Accordingly, the present invention has been made in view of the above-described needs, the object of which is to produce a wireless keyboard and a receiver to automatically recognize that the PS / 2 keyboard line, PS / 2 mouse line and serial mouse line is connected to the PC main body; An object of the present invention is to provide a method and apparatus for automatically recognizing a PS / 2 mouse and a serial mouse to provide a PC with a signal transmitted from the mouse.

상술한 목적을 달성하기 위한 본 발명에서 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 장치는 사용자가 원하는 버튼을 누름에 따른 코드 신호와 마우스의 좌표 신호를 적외선으로 송출하는 무선 키보드; 무선 키보드로부터 송출되는 코드 신호와 마우스의 좌표 신호를 모니터에 출력하는 개인용 컴퓨터; 개인용 컴퓨터에 피에스(PS)/2 키보드 라인과, PS/2 마우스 라인 및 시리얼 마우스 라인이 연결되었음을 자동으로 인식한 후, 인식된 라인을 통해 무선 키보드로부터 송출되는 코드 신호와 마우스 좌표 신호를 개인용 컴퓨터에 제공하는 수신기를 포함한다.In order to achieve the above object, in the present invention, an automatic recognition device of a PS / 2 mouse and a serial mouse includes a wireless keyboard that transmits a code signal and a coordinate signal of a mouse according to a user pressing a desired button in infrared; A personal computer for outputting code signals transmitted from the wireless keyboard and coordinate signals of the mouse to the monitor; After automatically recognizing that the PS / 2 keyboard line, PS / 2 mouse line, and serial mouse line are connected to the personal computer, the personal computer receives code signals and mouse coordinate signals from the wireless keyboard through the recognized lines. It includes a receiver to provide.

또한, 상술한 목적을 달성하기 위한 본 발명의 다른 특징은 시리얼 마우스 라인 내 Rx 체크부와 RTS 체크부의 상태를 체크하는 단계; 체크 단계에서 Rx 체크부(low)와 RTS 체크부의 상태가 하이(high)이면 PC 시스템이 시리얼 마우스로 선택되어 있음을 확인하는 단계; 체크 단계에서 Rx 체크부와 RTS 체크부의 상태가 모두 로우(low)이면, 연결 대기 상태로 있는 단계; 연결 대기 상태에서 RTS 체크부의 상태를 감시하여 하이(high) 상태로 변환되었는지를 판단하는 단계; 판단 단계에서 RTS 체크부의 상태가 하이(high) 상태로 변환되면, 시리얼 레디 데이터를 개인용 컴퓨터에 제공하고, RTS 체크부의 상태가 하이(high) 상태로 홀딩(holding)되면, 시리얼 마우스 라인이 연결되었음을 자동적으로 인식하는 단계; 판단 단계에서 RTS 체크부의 상태가 하이(high) 상태로 홀딩(holding)되지 않으면 PS/2 마우스 라인의 연결을 체크하는 단계를 포함한다.In addition, another aspect of the present invention for achieving the above object is to check the state of the Rx check unit and the RTS check unit in the serial mouse line; Confirming that the PC system is selected as a serial mouse if the states of the Rx check unit (low) and the RTS check unit are high in the checking step; If the state of the Rx check unit and the RTS check unit is low in the checking step, the connection waiting state; Monitoring the state of the RTS check unit in the connection waiting state to determine whether the state is changed to a high state; If the state of the RTS check unit is changed to a high state in the judgment step, the serial ready data is provided to the personal computer, and if the state of the RTS check unit is held high, the serial mouse line is connected. Automatically recognizing; And checking the connection of the PS / 2 mouse line if the state of the RTS check unit is not held high.

도 1은 본 발명에 따른 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 장치에 대한 블록 구성도이며,1 is a block diagram of an automatic recognition device of a PS (PS) / 2 mouse and a serial mouse according to the present invention;

도 2는 본 발명에 따른 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 방법에 대한 상세 흐름도이다.2 is a detailed flowchart illustrating an automatic recognition method of a PS / 2 mouse and a serial mouse according to the present invention.

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

10 : 무선 키보드 20 : 수신기10: wireless keyboard 20: receiver

21 : 마이컴 23 : 전원 변환부21: microcomputer 23: power conversion unit

30 : 개인용 컴퓨터(PC)30: personal computer (PC)

A : PS/2 키보드 라인 B : PS/2 마우스 라인A: PS / 2 keyboard line B: PS / 2 mouse line

C : 시리얼 마우스 라인 D : 적외선(IR) 수신 포트C: Serial mouse line D: Infrared (IR) receiving port

E : 점퍼(jumper)E: jumper

이하, 첨부된 도면을 참조하여 본 발명에 따른 일 실시 예를 상세하게 설명하기로 한다.Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

도 1을 참조하면, 본 발명에 따른 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 장치에 대한 블록 구성도로서, 무선 키보드(10)와, AC-IR6 수신기(20)와, PC(30)를 포함한다.Referring to FIG. 1, a block diagram illustrating an automatic recognition device of a PS / 2 mouse and a serial mouse according to the present invention includes a wireless keyboard 10, an AC-IR6 receiver 20, and a PC 30. ).

무선 키보드(10)는 PC 사용자에 의하여 사용되는 키보드로서, 사용자가 원하는 버튼을 누름에 따른 코드 신호를 IR로서 AC-IR6 수신기(20)로 송출한다. 이때, 무선 키보드(10) 내 에는 마우스(볼 마우스, 또는 터치 마우스)가 내장되어 있거나, 또는 외 장형 마우스가 연결되어 사용되면서, 사용자가 마우스를 움직임에 따른 좌표 신호 또한 IR로서 AC-IR6 수신기(20)로 송출된다.The wireless keyboard 10 is a keyboard used by a PC user, and transmits a code signal according to a user's desired button press to the AC-IR6 receiver 20 as an IR. In this case, a mouse (ball mouse or touch mouse) is built in the wireless keyboard 10 or an external mouse is connected and used, and the coordinate signal according to the user's movement of the mouse is also referred to as an IR-IR6 receiver (IR). 20) is sent out.

AC-IR6 수신기(20)는 PC(30)와 정합하기 위해 마이컴(21)에 연결된 PS/2 키보드 라인(A)과, PS/2 마우스 라인(B)과, 시리얼 마우스 라인(C)을 구비하고, 무선 키보드(10)로부터 송출되는 각종 신호를 수신하는 IR 수신 포트(D)와, 유럽형 또는 미주형, 즉 키보드 자판이 103키인지 102키인지를 선택하기 위한 점퍼(jumper)(E)를 구비하며, 내부적으로, 마이컴(21)과, 전원 변환부(23)를 구비한다.The AC-IR6 receiver 20 has a PS / 2 keyboard line (A), a PS / 2 mouse line (B), and a serial mouse line (C) connected to the microcomputer 21 to match with the PC 30. And an IR receiving port (D) for receiving various signals transmitted from the wireless keyboard 10, and a jumper (E) for selecting whether the keyboard type is 103 or 102 keys. And a microcomputer 21 and a power converter 23 internally.

마이컴(21)은 무선 키보드(10)로부터 제공되는 코드 신호와 마우스 좌표 신호를 IR 수신 포트(D)를 통해 수신한 후, 수신된 코드 신호와 마우스 좌표 신호를 PS/2 키보드 라인(A)과, PS/2 마우스 라인(B)과, 시리얼 마우스 라인(C)을 통해 PC(30)에 제공한다. 이때, 사용자 PC(30) 본체의 PS/2 키보드 포트와, PS/2 마우스포트와, 시리얼 마우스 포트 중 임의의 포트에 해당되도록 사용자가 키보드 라인 및 마우스 라인을 선택하여 삽입할 경우, 특히 마이컴(21)은 시리얼 마우스 라인 내 Rx체크부(a)와, RTS 체크부(b)의 상태 조건에 의해 PS/2 마우스 라인(B)이 연결되었는지, 시리얼 마우스 라인(C)이 연결되었는지를 자동적으로 인식하게 된다.The microcomputer 21 receives the code signal and the mouse coordinate signal provided from the wireless keyboard 10 through the IR receiving port D, and then receives the received code signal and the mouse coordinate signal from the PS / 2 keyboard line A. And a PC / 2 via a PS / 2 mouse line (B) and a serial mouse line (C). At this time, when the user selects and inserts a keyboard line and a mouse line so as to correspond to any port of the PS / 2 keyboard port, PS / 2 mouse port, and serial mouse port of the main body of the user PC 30, in particular, the microcomputer ( 21) automatically determines whether the PS / 2 mouse line (B) is connected or the serial mouse line (C) is connected by the condition condition of the Rx check part (a) and the RTS check part (b) in the serial mouse line. To be recognized.

즉, 마이컴(21)은 Rx 체크부(a)와 RTS 체크부(b)의 상태를 파악하여 Rx 체크부(low)와 RTS 체크부의 상태가 하이(high)이면 PC 시스템이 시리얼 마우스로 선택되어있었음을 확인한다(시리얼 마우스 재 연결 시). 이후, 마이컴(21)은 Rx 체크부(a)와 RTS 체크부(b)의 상태가 모두 로우(low)일 경우, 연결 대기 상태로 인식한다. 연결 대기 상태에서 마이컴(21)은 Rx 체크부(a)의 상태가 로우(low)일 때, RTS 체크부(b)의 상태를 감시하여 하이(high) 상태로 변환되었는지를 체크 한다. 상기 체크 과정에서 RTS 체크부(b)의 상태가 하이(high) 상태로 변환되면, 시리얼 레디 데이터를 Tx를 통해 PC(30)에 제공하고, 하이(high) 상태로 홀딩(holding) 되고 있는지를 확인하여 하이(high) 상태로 홀딩(holding) 되면 시리얼 마우스 라인(C)이 연결되었음을 자동적으로 인식한다. 반면에, RTS 체크부(b)의 상태가 하이(high) 상태로 홀딩(holding)되지 않으면, 연결 대기 상태로 인식한다.That is, the microcomputer 21 grasps the states of the Rx checker (a) and the RTS checker (b). If the state of the Rx checker (low) and the RTS checker is high, the PC system is selected as the serial mouse. Make sure it was present (when reconnecting the serial mouse). Thereafter, when the states of the Rx check unit a and the RTS check unit b are both low, the microcomputer 21 recognizes the connection standby state. In the connection standby state, when the state of the Rx check unit a is low, the microcomputer 21 monitors the state of the RTS check unit b to check whether the state is changed to a high state. If the state of the RTS check unit (b) is converted to a high state in the check process, the serial ready data is provided to the PC 30 through Tx, and it is held in a high state. When it is checked and held high, the serial mouse line C is automatically recognized. On the other hand, if the state of the RTS check unit (b) is not held in a high state (hold), it is recognized as a connection standby state.

이후, 마이컴(21)은 Rx 체크부(a)와 RTS 체크부(b)의 상태를 파악하여 Rx 체크부(a)의 상태가 하이(high) 이고 RTS 체크부(b)의 상태가 로우(low)일 경우, PS2 마우스 라인(B)이 연결되었음을 자동적으로 인식한다. 그리고, 마이컴(21)은 Rx 체크부(a)와 RTS 체크부(b)의 상태를 파악하여 Rx 체크부(a)와 RTS 체크부(b)의 상태가 모두 하이(high)일 경우, PS/2 마우스 라인(B)이 연결되었음을 자동적으로 인식한다.Thereafter, the microcomputer 21 checks the states of the Rx check unit a and the RTS check unit b so that the state of the Rx check unit a is high and the state of the RTS check unit b is low. low), it automatically recognizes that the PS2 mouse line (B) is connected. The microcomputer 21 checks the states of the Rx checker (a) and the RTS checker (b), and if the states of the Rx checker (a) and the RTS checker (b) are both high, PS / 2 Automatically recognizes that mouse line B is connected.

전원 변환부(23)는 PC(30)로부터 5V∼15V의 직류 전원을 제공받은 후, 이 직류 전원(5V∼15V)을 5V의 직류 전원으로 변환하여 마이컴(21)에 인가한다.The power converter 23 receives a DC power source of 5V to 15V from the PC 30, and then converts the DC power source 5V to 15V into a 5V DC power source and applies it to the microcomputer 21.

PC(30)는 가정용 또는 사무용으로 사용되는 일반적인 컴퓨터 본체로서, 이 PC(30) 본체의 PS/2 키보드 포트와, PS/2 마우스 포트 또는 시리얼 포트에 AC-IR6 수신기(20)에 연결된 PS/2 키보드 라인(A)과, PS/2 마우스 라인(B)과, 시리얼 마우스 라인(C)이 삽입되어 있으면서 무선 키보드(10)로부터 송출되는 각종 신호를 AC-IR6 수신기(20)를 통해 제공받아 모니터(도시되지 않음)에 출력한다. 이때, PC(30)는 AC-IR6 수신기(20)내 전원 변환부(23)에 5V∼15V의 직류 전원을 제공한다.The PC 30 is a general computer main body used for home or office use. The PS / 30 keyboard port of the PC 30 main body and the PS / mouse connected to the AC-IR6 receiver 20 are connected to the PS / 2 mouse port or serial port. 2 Keyboard line A, PS / 2 mouse line B, and serial mouse line C are inserted and various signals transmitted from the wireless keyboard 10 are received through the AC-IR6 receiver 20. Output to a monitor (not shown). At this time, the PC 30 provides a DC power supply of 5V to 15V to the power conversion unit 23 in the AC-IR6 receiver 20.

도 2의 흐름도를 참조하면, 상술한 구성을 바탕으로, 본 발명에 따른 PS/2 마우스 및 시리얼 마우스의 자동 인식 방법에 대하여 상세하게 설명한다.Referring to the flowchart of FIG. 2, the automatic recognition method of the PS / 2 mouse and the serial mouse according to the present invention will be described in detail based on the above-described configuration.

먼저, PC(30) 본체에 PS/2 키보드 포트와, 시리얼 마우스 포트가 있을 경우, AC-IR6 수신기(20)의 PS/2 키보드 라인(A)과, 시리얼 마우스 라인(C)을 상술한 포트에 연결시킨다. 그러면, AC-IR6 수신기(20)내 마이컴(21)에서는 PS/2 키보드 라인(A)과, 시리얼 마우스 라인(C)이 연결되었음을 자동적으로 인식한다.First, if the PC 30 has a PS / 2 keyboard port and a serial mouse port, the port that describes the PS / 2 keyboard line A and the serial mouse line C of the AC-IR6 receiver 20 is described above. To. Then, the microcomputer 21 in the AC-IR6 receiver 20 automatically recognizes that the PS / 2 keyboard line A and the serial mouse line C are connected.

또한, PC(30) 본체에 PS2 키보드 포트와, PS/2 마우스 포트가 있을 경우, AC-IR6 수신기(20)의 PS/2 키보드 라인(A)과, PS/2 마우스 라인(B)을 상술한 포트에 연결시킨다. 그러면, AC-IR6 수신기(20)내 마이컴(21)에서는 PS/2 키보드 라인(A)과, PS/2 마우스 라인(C)이 연결되었음을 자동적으로 인식한다.If the PC 30 has a PS2 keyboard port and a PS / 2 mouse port, the PS / 2 keyboard line A and the PS / 2 mouse line B of the AC-IR6 receiver 20 are described in detail. Connect to one port. Then, the microcomputer 21 in the AC-IR6 receiver 20 automatically recognizes that the PS / 2 keyboard line A and the PS / 2 mouse line C are connected.

상술한 바와 같이, 시리얼 마우스 라인 및 PS/2 마우스 라인이 연결되었음을자동적으로 인식하는 상세 절차에 대하여 설명한다.As described above, a detailed procedure for automatically recognizing that the serial mouse line and the PS / 2 mouse line are connected will be described.

즉, 마이컴(21)은 시리얼 마우스 라인(C)내 Rx 체크부(a)와, RTS 체크부(b)의 상태를 체크한다(단계 201).That is, the microcomputer 21 checks the states of the Rx check unit a and the RTS check unit b in the serial mouse line C (step 201).

상기 체크 단계(201)에서 Rx 체크부(a)와 RTS 체크부(b)의 상태가 모두 로우(low)가 아니면 PC시스템이 시리얼 마우스로 선택되어있었음을 확인한다(단계 202).If the state of the Rx checker (a) and the RTS checker (b) is not low in the check step 201, it is confirmed that the PC system has been selected as the serial mouse (step 202).

상기 확인 단계(202)에서 PC시스템이 시리얼 마우스로 선택되어있지 않았으면 PS/2마우스 라인이 연결되었음을 자동 인식한다(단계 206).If the PC system is not selected as the serial mouse in the checking step 202, the PS / 2 mouse line is automatically recognized (step 206).

상술한 바와 같이 체크 단계(201)에서 Rx 체크부(a)와 RTS 체크부(b)의 상태가 모두 로우(low)일 때, RTS 체크부(b)의 상태를 감시하여 하이(high) 상태로 변환되는지를 판단한다(단계 203).As described above, when the states of the Rx check unit (a) and the RTS check unit (b) are both low in the check step 201, the state of the RTS check unit (b) is monitored to be a high state. It is determined whether to convert to (step 203).

상기 판단 단계(203)에서 RTS 체크부(b)의 상태가 하이(high) 상태로 변환되면, 시리얼 레디 데이터를 Tx를 통해 PC(30)에 제공하고(단계 204), 하이(high) 상태로 홀딩(holding)되고 있는지를 확인하여 하이(high) 상태로 홀딩(holding)되면 시리얼 마우스 라인(C)이 연결되었음을 자동적으로 인식한다(단계 205).When the state of the RTS check unit b is converted to the high state in the determination step 203, the serial ready data is provided to the PC 30 through Tx (step 204), and the high state. If it is held in a high state by checking whether it is being held, it is automatically recognized that the serial mouse line C is connected (step 205).

이후, 마이컴(21)은 Rx 체크부(a)와 RTS 체크부(b)의 상태를 체크한다(단계 207).Thereafter, the microcomputer 21 checks the states of the Rx check unit a and the RTS check unit b (step 207).

상기 체크 단계(207)에서 Rx 체크부(a)의 상태가 하이(high)이고 RTS 체크부(b)의 상태가 로우(low)일 경우, PS/2 마우스 라인(B)이 연결되었음을 자동적으로 인식하고(단계 208), Rx 체크부(a)와 RTS 체크부(b)의 상태가 모두하이(high)일 경우에도, PS/2 마우스 라인(B)이 연결되었음을 자동적으로 인식한다(단계 209).In the check step 207, when the state of the Rx check unit a is high and the state of the RTS check unit b is low, the PS / 2 mouse line B is automatically connected. Recognize (step 208), and automatically recognize that the PS / 2 mouse line B is connected even when the states of the Rx checker (a) and RTS checker (b) are both high (step 209). ).

따라서, PC(30) 본체에 PS/2 키보드 라인과, PS/2 마우스 라인 및 시리얼 마우스 라인이 연결되었음을 자동적으로 인식하는 AC-IR6 수신기(20)를 제작하여 무선 키보드(10)로부터 송출되는 각각의 신호를 PC(30)로 제공할 수 있는 것이다.Therefore, the PS-30 keyboard line, the PS / 2 mouse line, and the serial mouse line are automatically connected to the PC 30 to produce an AC-IR6 receiver 20, respectively, which is transmitted from the wireless keyboard 10. It is possible to provide a signal to the PC (30).

그러므로, 본 발명은 PC 본체에 PS/2 키보드 라인과, PS/2 마우스 라인 및 시리얼 마우스 라인이 연결되었음을 자동적으로 인식하는 AC-IR6 수신기를 제작함으로써, 기존의 PC 본체를 그냥 이용할 수 있는 장점이 있으며, 또한, AC-IR6 수신기만을 구입하면, 무선 키보드 및 마우스로부터 송출되는 각각의 신호를 PC로 원활하게 송출할 수 있다는 효과가 있다.Therefore, the present invention provides an advantage that the existing PC main body can be simply used by manufacturing an AC-IR6 receiver which automatically recognizes that the PS / 2 keyboard line, the PS / 2 mouse line and the serial mouse line are connected to the PC main body. In addition, if only the AC-IR6 receiver is purchased, each signal transmitted from the wireless keyboard and the mouse can be smoothly transmitted to the PC.

Claims (10)

피에스(PS)2 마우스 라인과 시리얼 마우스 라인을 자동으로 인식하는 장치에 있어서,A device for automatically recognizing a PS2 mouse line and a serial mouse line, 사용자가 원하는 버튼을 누름에 따른 코드 신호와 상기 마우스의 좌표 신호를 적외선으로 송출하는 무선 키보드;A wireless keyboard that transmits a code signal and a coordinate signal of the mouse according to a user pressing a desired button in an infrared ray; 상기 무선 키보드로부터 송출되는 코드 신호와 상기 마우스의 좌표 신호를 모니터에 출력하는 개인용 컴퓨터;A personal computer for outputting a code signal transmitted from the wireless keyboard and a coordinate signal of the mouse to a monitor; 상기 개인용 컴퓨터에 피에스(PS)/2 키보드 라인과, PS/2 마우스 라인 및 시리얼 마우스 라인이 연결되었음을 자동으로 인식한 후, 상기 인식된 라인을 통해 상기 무선 키보드로부터 송출되는 코드 신호와 마우스 좌표 신호를 상기 개인용 컴퓨터에 제공하는 수신기를 포함하는 것을 특징으로 하는 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 장치.After automatically recognizing that a PS / 2 keyboard line, a PS / 2 mouse line, and a serial mouse line are connected to the personal computer, a code signal and a mouse coordinate signal transmitted from the wireless keyboard through the recognized line Automatic recognition device for PS / 2 mouse and serial mouse, characterized in that it comprises a receiver for providing to the personal computer. 제 1 항에 있어서, 상기 수신기는,The method of claim 1, wherein the receiver, 상기 시리얼 마우스 라인 내 Rx체크부와, RTS 체크부의 상태 조건에 의해 상기 PS/2 마우스 라인과 시리얼 마우스 라인이 연결되었는지를 자동으로 인식하는 마이컴;A microcomputer that automatically recognizes whether the PS / 2 mouse line and the serial mouse line are connected according to a state condition of the Rx check unit and the RTS check unit in the serial mouse line; 상기 개인용 컴퓨터로부터 직류 전원을 제공받아 상기 마이컴에서 사용되는 임의의 직류 전원으로 변환하여 상기 마이컴에 인가하는 전원 변환부를 더 포함하는 것을 특징으로 하는 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 장치.Automatic recognition device for PS / 2 mouse and serial mouse, characterized in that it further comprises a power conversion unit for receiving the DC power from the personal computer and converts it into any DC power used in the microcomputer to apply to the microcomputer. . 제 2 항에 있어서, 상기 마이컴은,The method of claim 2, wherein the microcomputer, 상기 Rx 체크부와 RTS 체크부의 상태를 파악하여 상기 Rx 체크부의 상태가 로우 (low)이고, 상기 RTS 체크부의 상태가 하이(high)일 경우 개인용 컴퓨터 시스템이 시리얼 마우스로 선택되어 있다는 것을 특징으로 하는 피에스(PS)/2 마우스 및 시리얼 마우스의 자동 인식 장치.Characterized in that the personal computer system is selected as a serial mouse when the state of the Rx check unit is low and the state of the RTS check unit is high and the state of the Rx check unit is checked. Automatic recognition device for PS / 2 mouse and serial mouse. 제 2 항에 있어서, 상기 마이컴은,The method of claim 2, wherein the microcomputer, 상기 Rx 체크부의 상태와 RTS 체크부의 상태가 모두 로우(low)일 때, RTS 체크부의 상태를 감시하여 하이(high) 상태로 변환되는지를 체크하여 상기 RTS 체크부의 상태가 하이(high) 상태로 변환되면, 시리얼 레디 데이터를 개인용 컴퓨터에 제공하고, 하이(high) 상태로 홀딩(holding)되면 상기 시리얼 마우스 라인이 연결되었음을 자동적으로 인식하는 것을 특징으로 하는 피에스(PS)2 마우스 및 시리얼 마우스의 자동 인식 장치.When both the state of the Rx check unit and the state of the RTS check unit are low, the state of the RTS check unit is changed to a high state by monitoring whether the state of the RTS check unit is converted to a high state. And provide serial ready data to a personal computer, and automatically recognize that the serial mouse line is connected when held in a high state. Device. 제 4 항에 있어서,The method of claim 4, wherein 상기 RTS 체크부의 상태가 하이(high) 상태로 홀딩(holding)되지 않으면, 상기 PS2 마우스 라인과 시리얼 마우스 연결 대기상태로 인식하는 것을 특징으로 하는 피에스(PS)2 마우스 및 시리얼 마우스의 자동 인식 장치.When the state of the RTS check unit is not held in a high state (high), the PS2 mouse and serial mouse automatic recognition device, characterized in that the PS2 mouse line and the serial mouse connection standby state. 제 2 항에 있어서, 상기 마이컴은,The method of claim 2, wherein the microcomputer, 상기 Rx 체크부와 RTS 체크부의 상태를 파악하여 상기 Rx 체크부의 상태가 하이(high)이고 RTS 체크부의 상태가 로우(low)일 경우, 상기 PS2 마우스 라인이 연결되었음을 자동적으로 인식하는 것을 특징으로 하는 피에스(PS)2 마우스 및 시리얼 마우스의 자동 인식 장치.When the state of the Rx check unit is high and the state of the RTS check unit is low and the state of the RTS check unit is low by identifying the states of the Rx check unit and the RTS check unit, the PS2 mouse line is automatically recognized. Automatic recognition device for PS2 mouse and serial mouse. 제 2 항에 있어서, 상기 마이컴은,The method of claim 2, wherein the microcomputer, 상기 Rx 체크부와 RTS 체크부의 상태를 파악하여 상기 Rx 체크부와 RTS 체크부의 상태가 모두 하이(high)일 경우, 상기 PS2 마우스 라인이 연결되었음을 자동적으로 인식하는 것을 특징으로 하는 피에스(PS)2 마우스 및 시리얼 마우스의 자동 인식 장치.PS2 characterized in that the state of the Rx checker and the RTS checker is checked to automatically recognize that the PS2 mouse line is connected when the states of the Rx checker and the RTS checker are both high. Automatic recognition device for mouse and serial mouse. PS2 마우스 라인 및 시리얼 마우스 라인을 자동으로 인식하는 방법에 있어서,In the method for automatically recognizing PS2 mouse line and serial mouse line, 상기 시리얼 마우스 라인 내 Rx 체크부와 RTS 체크부의 상태를 체크하는 단계;Checking the states of an Rx checker and an RTS checker in the serial mouse line; 상기 Rx 체크부의 상태가 로우(low)이고, 상기 RTS 체크부의 상태가 하이(high)일 경우 PC시스템이 시리얼 마우스로 선택되어 있었음을 판단하는 단계.Determining that the PC system has been selected as a serial mouse when the state of the Rx check unit is low and the state of the RTS check unit is high. 상기 체크 단계에서 Rx 체크부와 RTS 체크부의 상태가 모두 로우(low)이면,If the states of the Rx check unit and the RTS check unit are both low in the checking step, 상기 PS2 마우스 라인과 시리얼 마우스 라인이 연결 대기상태로 있는 단계;The PS2 mouse line and a serial mouse line waiting to be connected; 상기 연결 대기 상태에서, Rx 체크부의 상태가 로우(low)일 때, 상기 RTS 체크부의 상태를 감시하여 하이(high) 상태로 변환되는지를 판단하는 단계;In the connection waiting state, when the state of the Rx check unit is low, monitoring the state of the RTS check unit and determining whether to change to a high state; 상기 판단 단계에서 상기 RTS 체크부의 상태가 하이(high) 상태로 변환되면, 시리얼 레디 데이터를 개인용 컴퓨터에 제공하고, 상기 RTS 체크부의 상태가 하이(high) 상태로 홀딩(holding)되면, 상기 시리얼 마우스 라인이 연결되었음을 자동적으로 인식하는 단계;In the determining step, if the state of the RTS check unit is changed to a high state, the serial ready data is provided to a personal computer, and if the state of the RTS check unit is held to a high state, the serial mouse Automatically recognizing that the line is connected; 상기 판단 단계에서 상기 RTS 체크부의 상태가 하이(high) 상태로 홀딩(holding)되지 않으면, 연결대기를 자동적으로 인식하는 단계를 포함하는 것을 특징으로 하는 피에스(PS)2 마우스 및 시리얼 마우스의 자동 인식 장치.If the state of the RTS check unit is not held in a high state (holding) in the determination step, the automatic recognition of the PS (PS) mouse and serial mouse comprising the step of automatically recognizing the connection standby Device. 제 8 항에 있어서,The method of claim 8, 상기 체크 단계에서 상기 Rx 체크부의 상태가 하이(high)이고 상기 RTS 체크부의 상태가 로우(low)일 경우, 상기 PS2 마우스 라인이 연결되었음을 자동적으로 인식하는 단계를 더 포함하는 것을 특징으로 하는 피에스(PS)2 마우스 및 시리얼 마우스의 자동 인식 장치.And if the state of the Rx check part is high and the state of the RTS check part is low in the checking step, automatically recognizing that the PS2 mouse line is connected. PS) 2 mouse and serial mouse automatic recognition device. 제 8 항에 있어서,The method of claim 8, 상기 체크 단계에서 상기 Rx 체크부와 RTS 체크부의 상태가 모두 하이(high)일 경우, 상기 PS2 마우스 라인이 연결되었음을 자동적으로 인식하는 단계를 더 포함하는 것을 특징으로 하는 피에스(PS)2 마우스 및 시리얼 마우스의 자동 인식 장치.If the state of the Rx check unit and the RTS check unit is both high in the check step, the PS2 mouse and serial characterized in that it further comprises the step of automatically recognizing that the mouse line is connected. Mouse automatic recognition device.
KR1020000061176A 2000-10-18 2000-10-18 Method and apparatus for recognizing automatic in ps2 mouse and serial mouse KR100352796B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000061176A KR100352796B1 (en) 2000-10-18 2000-10-18 Method and apparatus for recognizing automatic in ps2 mouse and serial mouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000061176A KR100352796B1 (en) 2000-10-18 2000-10-18 Method and apparatus for recognizing automatic in ps2 mouse and serial mouse

Publications (2)

Publication Number Publication Date
KR20020030864A KR20020030864A (en) 2002-04-26
KR100352796B1 true KR100352796B1 (en) 2002-09-16

Family

ID=19694036

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000061176A KR100352796B1 (en) 2000-10-18 2000-10-18 Method and apparatus for recognizing automatic in ps2 mouse and serial mouse

Country Status (1)

Country Link
KR (1) KR100352796B1 (en)

Also Published As

Publication number Publication date
KR20020030864A (en) 2002-04-26

Similar Documents

Publication Publication Date Title
TW432307B (en) Wire/wireless keyboard with pointing device attachable thereto and computer system for use with the same
US20060047513A1 (en) Voice-activated remote control system and method
EP1410571B1 (en) Method for transferring a device identifier block on a second communication link separated from the bluetooth link
US8060014B2 (en) Wireless and dockable audio interposer device
US20070262958A1 (en) Finger-worn input device and input method applying the same
KR100686563B1 (en) Wireless mouse system containing a flash memory
KR20090047596A (en) Apparatus and method for human body communication in mobile communication system
CN110632853A (en) Intelligent home control system based on gesture recognition and use method thereof
US20060129408A1 (en) A remote control device and method with speech control
KR100352796B1 (en) Method and apparatus for recognizing automatic in ps2 mouse and serial mouse
US20030236088A1 (en) Portable information device capable of processing input data from external device and method thereof
US6836807B2 (en) Wireless receiving device and method jointly used by computer peripherals
CN211603864U (en) Intelligent home control system based on gesture recognition
CN105992037A (en) Intelligent television operation information input method and intelligent television operation information input system
CN101847133A (en) Switching device and multi-computer switch
US20040150615A1 (en) Wire/wireless adapter for wired computer peripherals
EP1141818B1 (en) Device with speech signal input means and control signal input means
KR20020030865A (en) Method for controlling special function key state
KR20070011209A (en) Wireless mouse system containing a flash memory
KR200281004Y1 (en) Laser Pointer
KR100619718B1 (en) Mobile terminal and its mode change method
KR100705724B1 (en) Mouse
KR200434583Y1 (en) A remote controller for car
US20060142879A1 (en) Method and apparatus for controlling digital electronic products
KR20060035333A (en) Apparatus and method for adding mouse operation in mobile terminal

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20060904

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee