KR20040051477A - Method for transmitting and receiving the data of wireless keyboard - Google Patents

Method for transmitting and receiving the data of wireless keyboard Download PDF

Info

Publication number
KR20040051477A
KR20040051477A KR1020030032797A KR20030032797A KR20040051477A KR 20040051477 A KR20040051477 A KR 20040051477A KR 1020030032797 A KR1020030032797 A KR 1020030032797A KR 20030032797 A KR20030032797 A KR 20030032797A KR 20040051477 A KR20040051477 A KR 20040051477A
Authority
KR
South Korea
Prior art keywords
bit
byte
data
keyboard data
key
Prior art date
Application number
KR1020030032797A
Other languages
Korean (ko)
Inventor
이지성
Original Assignee
삼성전기주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전기주식회사 filed Critical 삼성전기주식회사
Priority to US10/600,367 priority Critical patent/US20040113891A1/en
Priority to JP2003180485A priority patent/JP2004192605A/en
Priority to CNA031478247A priority patent/CN1506795A/en
Priority to GB0315011A priority patent/GB2396234B/en
Priority to DE10329684A priority patent/DE10329684A1/en
Publication of KR20040051477A publication Critical patent/KR20040051477A/en

Links

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/0231Cordless keyboards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field

Abstract

PURPOSE: A method for transmitting/receiving the data of a wireless keyboard is provided to offer the varied data changed by an input key, the inverted data of the varied data, and the fixed data based on a new protocol. CONSTITUTION: The keyboard data comprises the first to the third byte. The first byte including a special bit having a reader of a fixed bit, the state information of a function switch key, and the inverted bit of the special bit is generated by pushing or releasing a key(S45). The second byte including a make/brake bit informing a push state of the key and a scan code matched with the pushed or released key(S48). The third byte that is the make/brake bit of the second byte and the inverted data of the scan code is generated(S51). The generated keyboard data is wirelessly transmitted(S52).

Description

무선 키보드 데이타 송신 및 수신방법{METHOD FOR TRANSMITTING AND RECEIVING THE DATA OF WIRELESS KEYBOARD}TECHNICAL FOR TRANSMITTING AND RECEIVING THE DATA OF WIRELESS KEYBOARD}

본 발명은 무선 키보드 데이타 송신 및 수신방법에 관한 것으로, 특히 새로운 프로토콜에 기초해서, 입력키에 따라 변화가 있는 변동 데이타와 함께 이 변동 데이타의 인버티드 데이타(Inverted data) 및 고정 데이타를 제공함으로서, 체크섬(checksum)을 위한 비트를 별도로 할당할 필요가 없고, 데이타 오류를 정확하게 확인할 수 있으며, 또한, 변조방식에 관계없이 배터리 소모량을 최소로 유지시킬 수 있고, 데이타 사이즈(DATA SIZE)의 증가 없이도 별도의 기능변환키를 추가할 수 있도록 하는 무선 키보드 데이타 송신 및 수신방법에 관한 것이다.The present invention relates to a method for transmitting and receiving wireless keyboard data, and in particular, based on a new protocol, by providing inverted data and fixed data of the variation data along with the variation data that changes with the input key. There is no need to allocate separate bits for checksums, it is possible to accurately identify data errors, and to keep battery consumption to a minimum regardless of the modulation method, and to increase the data size without increasing the data size. The present invention relates to a wireless keyboard data transmission and reception method for adding a function conversion key.

일반적으로, IR(InfraRed) 또는 RF(Radio Frequency) 등의 무선키보드의 통신프로토콜에 있어서, 현재 가장 많이 사용하고 있는 방식으로는 4PPM(Pulse Position Modulator)방식, PWM(Pulse Width Modulator)방식 및 단순 PULSE 방식이 있는데, 이중에서 단순 펄스 방식을 포함하여 PWM 방식은 펄스의 폭 크기로 논리'0' 또는 '1'을 표현하므로 데이타의 코드에 따라 펄스의 폭이 변하고, 이와 같이 논리 '0' 또는 '1'을 표현하기 위한 펄스폭의 변화로 인하여 경우에 따라 데이터의 사이즈가 증가될 수 있고, 이에 따라 많은 전력소모를 필요로 한다. 따라서, 배터리의 소모량을 최소로 일정하게 유지할 수 없다는 단점이 있다.In general, in the communication protocol of a wireless keyboard such as IR (InfraRed) or RF (Radio Frequency), the most commonly used methods are 4PPM (Pulse Position Modulator), PWM (Pulse Width Modulator) and simple PULSE. There are two methods, including the simple pulse method, and the PWM method expresses logic '0' or '1' as the width of the pulse, so the width of the pulse changes according to the data code. Thus, the logic '0' or ' Due to the change in the pulse width to represent 1 ', the size of the data may be increased in some cases, which requires a lot of power consumption. Therefore, there is a disadvantage in that the consumption of the battery can not be kept to a minimum.

이러한 단점을 해결하기 위해, 펄스의 발생위치로서 논리 '0' 또는 '1'을 표현하는 4PPM방식을 사용할 수 있는데, 이러한 4PPM 방식을 사용하는 프로토콜에서는 키보드의 기능변환키의 전송오류를 막기 위하여 각 기능변환키에 대응하는 복수의 스페셜 비트(SPECIAL BIT)를 두어 키보드 데이타가 전송될 때 이러한 복수의 스페셜 비트를 동시에 보내어 데이타 전송중에 데이타 전송에러가 발생하여도 그 다음에 눌려진 키 데이타가 전송될 때 기능변환키의 눌려짐과 떨어짐의 정보를 줌으로써 전송에러를 보상한다. 이러한 종래의 4PPM방식의 무선 키보드 데이타 송신방법중 하나 예를 설명한다.In order to solve this disadvantage, a 4PPM method that represents logic '0' or '1' can be used as the location of pulse generation. In the protocol using the 4PPM method, each of the 4PPM methods can be used to prevent transmission error of the keyboard function conversion key. When the keyboard data is transmitted with a plurality of special bits corresponding to the function conversion key, when the keyboard data is transmitted at the same time, and when a data transmission error occurs during data transmission, the next pressed key data is transmitted. Compensation for transmission error by giving information of pressed and released function change key. One example of such a conventional 4PPM wireless keyboard data transmission method will be described.

도 1은 종래 무선 키보드의 개략 블록도로서, 도 1을 참조하면, 종래 무선 키보드(1)는 마이크로 프로세서(11), 키 메트릭스(13) 및 송신부(15)로 구성되어 있으며, 이러한 구성에서 마이크로 프로세서(11)는 스캐닝 신호를 키메트릭스(13)에 인가함으로써 키 메트릭스(13)의 키들중 눌려졌거나 눌림이 해제된 키를 탐색하고 해당 키의 스캔코드를 포함하는 키보드 데이타를 송신부(15)를 통하여 퍼스널 컴퓨터(3)에 송신한다.FIG. 1 is a schematic block diagram of a conventional wireless keyboard. Referring to FIG. 1, a conventional wireless keyboard 1 is composed of a microprocessor 11, a key matrix 13, and a transmitter 15, in which the micro The processor 11 applies a scanning signal to the key matrix 13 to search for a pressed or released key among the keys of the key matrix 13 and transmit the keyboard data including the scan code of the corresponding key to the transmitter 15. It transmits to the personal computer 3 via the computer.

도 2는 종래 무선 키보드의 4PPM 방식 프로토콜을 이용한 키보드 데이타 송신방법에 따른 데이타의 구조도로서, 도 2를 참조하면, 종래 퍼스널 컴퓨터(3)와 무선 키보드(1)가 다수개 접속되는 경우에, 채널ID 데이타를 위한 영역이 할당되어 있다. 또한, 키보드에 별도의 윈도우 키들이 구성된 경우에, 이 키들을 위한 윈도우 키 플래그 영역이 할당되어 있다. 즉, 도 2에 도시된 바와 같이, 종래 시스템의 키보드 데이터는 총 32비트 즉 총 4바이트(B1,B2,B3,B4)로 구성되어 있고, 이러한 키보드 데이터중 최초 제1바이트(B1)내의 5개의 비트(Bit7, Bit6, Bit5, Bit4, Bit3)에는 키보드(1)의 ID에 해당한다.FIG. 2 is a structural diagram of data according to a keyboard data transmission method using a 4PPM protocol of a conventional wireless keyboard. Referring to FIG. 2, when a plurality of conventional personal computers 3 and a wireless keyboard 1 are connected, a channel is used. The area for ID data is allocated. Also, when separate window keys are configured on the keyboard, a window key flag area for these keys is allocated. That is, as shown in FIG. 2, the keyboard data of the conventional system is composed of a total of 32 bits, that is, a total of 4 bytes (B1, B2, B3, B4), and 5 in the first first byte B1 of the keyboard data. Bit (Bit7, Bit6, Bit5, Bit4, Bit3) corresponds to the ID of the keyboard (1).

이러한 ID 정보는 입력 수단으로서 마우스 또는 원격 제어기(Remote Controller)등이 사용될 수 있으므로 이러한 무선장치로부터의 데이터중 키보드 데이터를 인식하기 위한 정보이다. 이때, 제8 비트(Bit7)에는 키보드 데이타의 전송을 알리는 리더(Leader)가 할당될 수 있다. 그리고, 상기 제1 바이트(B1)내의 나머지 3개의 비트(Bit2, Bit1, Bit0)에는 상술한 바와 같이 윈도우 키들에 대응하는 데이타들이 할당되어 있다. 여기서 제1,제2 비트(Bit0,Bit1)에는 좌측 및 우측 윈도우 키의 상태정보가 할당되고, 그리고, 제4 비트(Bit3)에는 여부의 윈도우 키의 할당을 위한 예비비트로 할당되어 있다.This ID information is information for recognizing keyboard data among data from such a wireless device since a mouse or a remote controller can be used as an input means. At this time, the eighth bit Bit7 may be assigned a reader for notifying transmission of the keyboard data. As described above, the data corresponding to the window keys is allocated to the remaining three bits Bit2, Bit1, and Bit0 in the first byte B1. Here, status information of the left and right window keys is allocated to the first and second bits Bit0 and Bit1, and fourth bits Bit3 are allocated as reserved bits for the assignment of the window key.

다음의 제2 바이트(B2)는 기능 변환키의 눌러짐을 나타내는 데이타들로서, 도 2에 도시된 바와 같이 제8 비트(Bit7)에는 기능 변환키들의 메이크 및 브레이크의 플래그용으로 할당되어 있으며, 나머지 제1-제7 비트(Bit0-Bit6)는 각 기능변환키의 플래그 비트로 할당되어 있다.The next second byte B2 is data indicating that the function conversion key is pressed, and as shown in FIG. 2, the eighth bit Bit7 is allocated for making and breaking flags of the function conversion keys, The 1st-7th bits Bit0-Bit6 are allocated as flag bits of each function conversion key.

다음의 제3 바이트(B3)에는 각 키들에 할당되어 있는 스캔 코드에 해당하는 키코드가 할당되어 있다. 여기서, 제3 바이트(B3)에는 해당 키의 메이크 및 브레이크 코드가 포함된다.The next third byte B3 is assigned a key code corresponding to a scan code assigned to each key. Here, the third byte B3 includes a make and break code of the corresponding key.

다음의 제4 바이트(B4)의 제5-제8 비트(Bit4-Bit7)에는 채널 ID가 할당되어 있고, 제1-제4 비트(Bit0-Bit3)에는 키보드 데이터의 전송오류를 체크하기 위한 체크 섬(check sum)정보들이 할당되어 있다. 여기서 채널 ID는 다수개의 무선키 보드가 사용될 경우에 무선 키보드를 식별하기 위한 채널 정보이다.A channel ID is assigned to the fifth to eighth bits Bit4-Bit7 of the next fourth byte B4, and a check is made to check a transmission error of keyboard data in the first to fourth bits Bit0-Bit3. Check sum information is allocated. The channel ID is channel information for identifying a wireless keyboard when a plurality of wireless keyboards are used.

한편, 실제로 사용자가 기능변환키와 일반키를 조합할 때, 기능변환키 2개와 일반키 1개를 조합하는 "2+1"방식, 또는 "3+1" 방식보다는 기능변환키와 일반키를 각각 1개씩 사용하는 "1+1" 방식을 대부분 사용한다.On the other hand, when the user actually combines the function conversion key and the general key, the function conversion key and the general key are compared to the "2 + 1" method or the "3 + 1" method, which combines the two function conversion keys and one general key. Most of the "1 + 1" methods are used one by one.

그러나, 종래와 같이 각 기능변환키 마다 스페셜 비트를 각각 할당하는 방법은 기능변환키의 수만큼의 비트를 갖는 기능변환키 데이타 필드(DATA FIELD)를 할당하여야 하므로 기능변환키의 확장시 마다 데이타 필드(DATA FIELD)의 사이즈가 증가하게 되고, 이에 따라 키보드 데이터의 사이즈가 증가되는 단점이 있고, 이러한 데이터 사이즈의 증가는 전력의 소모를 증가시키게 되는 문제점이 있으며, 또한, 전송 에러를 체크하기 위한 별도의 체크섬(CHECKSUM) 코드를 할당하여야 하므로 그 만큼 데이타의 사이즈가 증가하는 문제점도 있다.However, in the conventional method of allocating a special bit for each function conversion key, a function conversion key data field having as many bits as the number of function conversion keys must be allocated. The size of the (DATA FIELD) is increased, and accordingly, the size of the keyboard data is increased, and this increase in data size increases the power consumption, and additionally for checking transmission errors. There is also a problem that the size of the data increases accordingly because a checksum code of.

또한, 기능변환키의 추가시에 키보드 데이터의 사이즈가 증가하므로 그 효율성이 떨어지고, 향후 기능변환키가 계속적으로 추가되는 경우에는 데이타 필드(DATA FIELD)가 계속적으로 늘어나야 하는 문제점이 있다.In addition, since the size of the keyboard data increases when the function conversion key is added, its efficiency is lowered. In the case where the function conversion key is continuously added in the future, the data field DATA field must be continuously increased.

본 발명은 상기한 문제점을 해결하기 위해 제안한 것으로, 본 발명의 목적은 새로운 프로토콜에 기초해서, 입력키에 따라 변화가 있는 변동 데이타와 함께 이 변동 데이타의 인버티드 데이타(Inverted data) 및 고정 데이타를 제공하는 무선 키보드 데이타 송신 및 수신방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been proposed to solve the above problems, and an object of the present invention is to invert the inverted data and the fixed data of the variation data together with the variation data according to the input key based on the new protocol. The present invention provides a wireless keyboard data transmission and reception method.

또한, 본 발명의 다른 목적은 체크섬(checksum)을 위한 비트를 별도로 할당할 필요가 없고, 또한, 데이타 오류를 정확하게 확인할 수 있는 무선 키보드 데이타 송신 및 수신방법을 제공하는데 있다.Another object of the present invention is to provide a wireless keyboard data transmission and reception method which does not need to separately allocate bits for a checksum and can accurately identify data errors.

또한, 본 발명의 또 다른 목적은 변조방식에 관계없이 배터리 소모량을 최소로 유지시킬 수 있으며, 데이타 사이즈(DATA SIZE)의 증가 없이도 별도의 기능변환키를 추가할 수 있도록 하는 무선 키보드 데이타 송신 및 수신방법을 제공하는데 있다.In addition, another object of the present invention is to maintain a minimum battery consumption irrespective of the modulation scheme, and to transmit and receive wireless keyboard data to add a separate function conversion key without increasing the data size (DATA SIZE) To provide a method.

도 1은 종래 무선 키보드의 개략 블록도이다.1 is a schematic block diagram of a conventional wireless keyboard.

도 2는 종래 무선 키보드의 키보드 데이타 송신방법에 따른 데이타의 구조도이다.2 is a structural diagram of data according to a keyboard data transmission method of a conventional wireless keyboard.

도 3은 본 발명을 수행하기 위한 무선 키보드 데이타 송신장치의 구성도이다.3 is a block diagram of a wireless keyboard data transmission apparatus for carrying out the present invention.

도 4는 본 발명에 따른 무선 키보드 데이타 송신방법을 보이는 플로우챠트이다.4 is a flowchart showing a method for transmitting wireless keyboard data according to the present invention.

도 5는 본 발명에 따른 무선 키보드 데이타의 구조도이다.5 is a structural diagram of wireless keyboard data according to the present invention.

도 6은 본 발명에 따른 무선 키보드 데이터 패킷의 구조도이다.6 is a structural diagram of a wireless keyboard data packet according to the present invention.

도 7은 본 발명을 수행하기 위한 무선 키보드 데이타 수신장치의 구성도이다.7 is a block diagram of a wireless keyboard data receiving apparatus for carrying out the present invention.

도 8은 본 발명에 따른 무선 키보드 데이타 수신방법을 보이는 플로우챠트이다.8 is a flowchart showing a method for receiving wireless keyboard data according to the present invention.

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

31 : 전원부32 : 키매트릭스31: power supply unit 32: key matrix

33 : 메인 송신제어 유니트34 : 무선 송신부33: main transmission control unit 34: wireless transmission unit

61 : 무선 수신부62 : 메인 수신제어 유니트61: wireless receiving unit 62: main receiving control unit

63 : 송신상태 표시부70 : 호스트 컴퓨터63: transmission status display unit 70: host computer

상기한 본 발명의 목적을 달성하기 위한 기술적인 수단으로서, 본 발명의 제1 특징은As a technical means for achieving the above object of the present invention, the first feature of the present invention is

복수의 일반키 및 기능변환키를 갖는 무선 키보드와 컴퓨터간의 키보드 데이터 송신 방법에 있어서,In the keyboard data transmission method between a wireless keyboard and a computer having a plurality of general keys and function conversion keys,

키의 눌림 또는 눌림 해제에 따라, 키보드 데이타의 전송을 의미하는 리드를 포함하는 고정 데이터와, 기능변환키의 눌림 여부를 알리는 1비트를 갖는 스페셜 비트, 키의 눌림 여부를 알리는 메이크/브레이크 비트, 그리고 눌림 또는 눌림 해제된 키에 대응하는 스캔코드를 포함하는 변동 데이터와, 상기 변동 데이타를 인버트한 인버티드 데이타를 포함하는 키보드 데이터를 생성하는 단계; 및Fixed data including a lead for transmission of keyboard data, a special bit having 1 bit indicating whether a function conversion key is pressed, a make / break bit indicating whether a key is pressed, according to whether a key is pressed or released; Generating keyboard data including scan data corresponding to a pressed or depressed key and inverted data inverting the change data; And

상기 생성된 키보드 데이터를 무선으로 전송하는 단계Wirelessly transmitting the generated keyboard data

를 구비한 무선 키보드 데이타 송신방법을 제공하는 것이다.It is to provide a wireless keyboard data transmission method having a.

또한, 본 발명의 제2 특징은In addition, the second aspect of the present invention

복수의 일반키 및 기능변환키를 갖는 무선 키보드와 컴퓨터간의 키보드 데이터 수신 방법에 있어서,In the keyboard data receiving method between a wireless keyboard and a computer having a plurality of general keys and function conversion keys,

키보드 데이타의 전송을 의미하는 리드를 포함하는 고정 데이타와, 기능변환키의 눌림 여부를 알리는 1비트를 갖는 스페셜 비트, 키의 눌림 여부를 알리는 메이크/브레이크 비트, 눌림 또는 눌림 해제된 키에 대응하는 스캔코드를 포함하는 변동 데이타와, 상기 변동 데이타를 인버트한 인버티드 데이타를 포함하는 키보드 데이타를 수신 처리하는 단계; 및Fixed data including a lead for transmission of keyboard data, a special bit having 1 bit indicating whether a function conversion key has been pressed, a make / break bit indicating whether a key has been pressed, a key corresponding to a pressed or released key Receiving and processing variation data including a scan code and keyboard data including inverted data inverting the variation data; And

상기 수신한 키보드 데이타에 해당하는 동작을 처리하는 단계Processing an operation corresponding to the received keyboard data;

를 구비한 무선 키보드 데이타 수신방법을 제공하는 것이다.It is to provide a wireless keyboard data receiving method having a.

또한, 본 발명의 제1 특징 및 제2 특징이 서로 결합되어 또 다른 특징을 제공할 수 있다.In addition, the first and second features of the present invention may be combined with one another to provide another feature.

이하, 본 발명에 따른 무선 키보드 데이타 송신 및 수신방법에 대하여 첨부도면을 참조하여 상세하게 설명한다.Hereinafter, a wireless keyboard data transmission and reception method according to the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명을 수행하기 위한 무선 키보드 데이타 송신장치의 구성도로서, 도 3을 참조하면, 본 발명을 수행하기 위한 무선 키보드 데이타 송신장치는 키보드에 필요한 전원을 공급하는 전원부(31)와, 키의 눌림 또는 눌림 해제에 따라 키입력을 위한 키매트릭스(32)와, 상기 전원부(31)로부터 전원을 공급받아 동작상태로 되어, 상기 키매트릭스(32)의 키의 눌림 또는 눌림 해제를 인식하여 이에 해당되는 키보드 데이타의 무선 송신을 제어하는 메인 송신제어 유니트(33)와, 상기 메인 송신제어 유니트(33)의 제어에 따라 데이타를 무선신호로 변환하여 무선으로 송신하는 무선 송신부(34)를 포함한다. 상기 메인 송신제어 유니트(33)의 제어에 따라 하기와 같은 본 발명에 따른 무선 키보드 데이타 송신과정이 수행된다.3 is a block diagram of a wireless keyboard data transmission apparatus for carrying out the present invention. Referring to FIG. 3, a wireless keyboard data transmission apparatus for carrying out the present invention includes a power supply unit 31 for supplying power required for a keyboard; When the key is pressed or released, the key matrix 32 for key input and power are supplied from the power supply unit 31 to operate, thereby recognizing the press or release of the key of the key matrix 32. And a main transmission control unit 33 for controlling wireless transmission of keyboard data corresponding thereto, and a wireless transmission unit 34 for converting data into a wireless signal and transmitting the data wirelessly under the control of the main transmission control unit 33. do. Under the control of the main transmission control unit 33, a wireless keyboard data transmission process according to the present invention is performed as follows.

도 4는 본 발명에 따른 무선 키보드 데이타 송신방법을 보이는 플로우챠트로서, 도 4를 참조하면, 본 발명의 데이타 무선 송신부에서 데이타를 생성하여 무선 수신부로 데이타를 무선으로 송신하는데, 이에 대해서 설명하면 다음과 같다.4 is a flowchart illustrating a wireless keyboard data transmission method according to the present invention. Referring to FIG. 4, the data wireless transmission unit generates data and wirelessly transmits data to the wireless reception unit. Same as

본 발명에 따른 무선 키보드 데이타 송신방법은 복수의 일반키 및 기능변환키를 갖는 무선 키보드와 컴퓨터간의 키보드 데이터 송신 방법에 있어서, 키의 눌림 또는 눌림 해제에 따라, 키보드 데이타의 전송을 의미하는 리드를 포함하는 고정 데이터와, 기능변환키의 눌림 여부를 알리는 1비트를 갖는 스페셜 비트, 키의 눌림 여부를 알리는 메이크/브레이크 비트, 그리고 눌림 또는 눌림 해제된 키에 대응하는 스캔코드를 포함하는 변동 데이터와, 상기 변동 데이타를 인버트한 인버티드 데이타를 포함하는 키보드 데이터를 생성하고, 이렇게 생성된 상기 키보드 데이터를 무선으로 전송한다.The wireless keyboard data transmission method according to the present invention is a keyboard data transmission method between a wireless keyboard having a plurality of general keys and a function conversion key and a computer, wherein the lead means transmission of keyboard data in response to a key being pressed or released. Variable data including a fixed data to be included, a special bit having 1 bit indicating whether the function conversion key has been pressed, a make / break bit indicating whether the key has been pressed, and a scan code corresponding to the pressed or depressed key; And generating keyboard data including the inverted data inverting the variation data, and wirelessly transmitting the generated keyboard data.

상기 고정 데이타는 키보드 데이타의 전송을 의미하는 리더(leader)를 포함하고, 상기 변동 데이타는 기능변환키의 눌림 여부를 알리는 스페셜 비트, 키의 눌림 여부를 알리는 메이크/브레이크 비트 및 눌림 또는 눌림 해제된 키에 대응하는 스캔코드를 포함하며, 상기 인버티드 데이타는 상기 변동 데이타에 포함되는 스페셜 비트, 메이크/브레이크 비트 및 스캔코드에 대한 각 인버티드 데이타를 포함한다. 여기서, 상기 고정 데이터는 키보드 데이터의 전송을 알려주는 리더를 포함하고 있는데, 적용되는 제품이나 사용환경에 따라서 채널 정보를 더 포함할 수 있다.The fixed data includes a reader for transmission of keyboard data, and the change data includes a special bit indicating whether a function conversion key is pressed, a make / break bit indicating whether a key is pressed, and a pressed or depressed key. And a scancode corresponding to a key, wherein the inverted data includes the special bits, make / break bits, and respective inverted data for the scancode included in the variation data. Here, the fixed data includes a reader for notifying the transmission of the keyboard data, and may further include channel information according to the applied product or the use environment.

상기 수신할 키보드 데이터중 제1 바이트는 상기 리더, 스페셜 비트, 그리고 상기 스페셜 비트의 인버티드 비트를 포함하고, 상기 제2 바이트는 메이크/브레이크 비트 및 스캔코드를 포함하며, 상기 제3 바이트는 상기 제2 바이트의 메이크/브레이크 비트 및 스캔코드에 대한 인버티드 데이타를 포함한다.A first byte of the keyboard data to be received includes the reader, a special bit, and an inverted bit of the special bit, the second byte includes a make / break bit and a scan code, and the third byte is the Include inverted data for the make / break bit and scancode of the second byte.

또한, 본 발명에 의한 스페셜 비트 및 스페셜 비트의 인버티드 비트는 기능변환기 마다 할당되는 종래와는 달리, 하나의 비트(1비트)로 할당된다. 따라서, 기능변환기의 추가가 있더라도 스페셜 비트의 증가는 없고, 이에 따라 키보드 데이터의 사이즈도 증가되지 않는다.In addition, the special bit and the inverted bit of the special bit according to the present invention are allocated to one bit (1 bit), unlike the conventional art, which is assigned to each function converter. Therefore, even with the addition of the function converter, there is no increase in the special bits, and thus the size of the keyboard data does not increase.

먼저, 도 5에 도시한 바와 같이, 키보드 데이터 생성 단계중 제1 바이트를 생성하는 단계(S41-S45)에서는 키의 눌림 또는 눌림 해제에 따라, 키보드 데이타의 전송을 의미하는 고정바이트의 리더(L)와, 기능변환키의 눌림 여부를 알리는 하나의 비트를 갖는 스페셜 비트(SP) 및 상기 스페셜 비트의 인버티드 비트(-SP)를 포함하는 제1 바이트(B1)를 생성한다.First, as shown in FIG. 5, in the generating of the first byte of the keyboard data generating step (S41-S45), a fixed-byte reader (L) indicating transmission of the keyboard data in response to a key being pressed or released. ), A special byte (SP) having one bit indicating whether the function conversion key is pressed, and a first byte (B1) including an inverted bit (-SP) of the special bit.

그리고, 상기 제1 바이트(B1)는 스페셜 비트의 인버티드 비트(-SP)를 포함하는데, 이는 스페셜 비트(SP)의 전송에러 체크를 확실하게 보장하기 위해 사용되며, 상기한 스페셜 비트와 이 스페셜비트의 인버티드 비트는 키보드 데이타의 사이즈를 고려해서 각각 1 비트로 할당하는 것이 바람직하다. 여기서, 상기 스페셜 비트(SP)는 기능 변환키(보통 기능키)가 메이크되면 세트('1')되고, 기능 변환키가 브레이크되면 클리어 ('0')된다.In addition, the first byte B1 includes an inverted bit (-SP) of a special bit, which is used to ensure a transmission error check of the special bit (SP). Inverted bits of bits are preferably assigned to 1 bit each in consideration of the size of keyboard data. Here, the special bit SP is set ('1') when the function conversion key (usually a function key) is made, and cleared ('0') when the function conversion key is broken.

그리고, 제2 바이트를 생성하는 단계(S46-S48)에서는 키의 눌림 여부를 알리는 메이크/브레이크 비트(M/B)와, 눌림 또는 눌림 해제된 키에 대응하는 스캔코드(SCD)를 생성하고, 상기 메이크/브레이크 비트(M/B) 및 스캔코드(SCD)를 포함하는 제2 바이트(B2)를 생성하는데, 이 단계는 키눌림이 선택되면 메이크/브레이크 비트(M/B)를 세트('1')하고, 키눌림이 해제되면 메이크/브레이크 비트(M/B)를 클리어('0')하며, 이러한 메이크/브레이크 비트(M/B) 및 스캔코드(SCD)를 포함하는 제2 바이트(B2)를 생성한다. 이렇게 생성된 제1 바이트(B1) 및 제2 바이트(B2)를 전송하기 이전에 버퍼에 저장한다.In the generating of the second byte (S46-S48), a make / break bit (M / B) indicating whether a key is pressed and a scan code (SCD) corresponding to the pressed or released key are generated. Generates a second byte B2 comprising the make / break bit (M / B) and a scan code (SCD), wherein this step sets the make / break bit (M / B) when a keypress is selected (' 1 '), and when the key is released, the make / break bit (M / B) is cleared (' 0 '), and the second byte including the make / break bit (M / B) and the scan code (SCD) (B2) is generated. The first byte B1 and the second byte B2 thus generated are stored in a buffer before being transmitted.

그리고, 제3 바이트를 생성하는 단계(S49-S51)에서는 상기 제2 바이트(B2)의 메이크/브레이크 비트(M/B) 및 스캔코드(SCD)의 각 인버티드 데이터를 포함하는 제3 바이트(B3)를 생성하는데, 이 단계에 대해서 구체적으로 설명하면, 먼저, 현재 키보드 데이터의 전송중인지 체크하여 전송중일 경우에는 제1 바이트를 생성하는 단계로 진행하고, 전송중이 아닐 경우에는, 상기 버퍼에 저장된 제2 바이트(B2)의 메이크/브레이크 비트(M/B) 및 스캔코드(SCD)에 대한 인버티드 데이타를 취하며, 이후, 상기 인버티드 데이타인 인버티드 메이크/브레이크 비트(-M/B) 및 인버티드 스캔코드(-SCD)를 포함하는 제3 바이트(B3)를 생성한다.In operation S49 to S51, a third byte including each make / break bit M / B of the second byte B2 and each inverted data of the scan code SCD is generated. B3), which will be described in detail. First, it is checked whether the keyboard data is currently being transmitted and proceeds to the step of generating the first byte if it is being transmitted. Take inverted data for the make / break bit (M / B) and scan code (SCD) of the stored second byte (B2), and then inverted make / break bit (-M / B) And a third byte B3 including the inverted scan code (-SCD).

그 다음, 키보드 데이타를 전송하는 단계(S52-S53)에서는 상기 생성된 복수의 제1- 제3 바이트(B1,B2,B3)를 포함하는 키보드 데이타를 무선신호로 변환하여 송신하는데, 이 단계에서는 전송할 키보드 데이타의 각 바이트에 패리티 비트를 추가하고, 이들 각 바이트 전후에 키보드 데이타에 포함되는 각 바이트를 구분할 수 있도록 시작비트(ST) 및 종료비트(STP)를 추가한다.Next, in the transmitting of the keyboard data (S52-S53), the keyboard data including the generated first-third bytes B1, B2, and B3 are converted into a wireless signal and transmitted. A parity bit is added to each byte of keyboard data to be transmitted, and a start bit (ST) and an end bit (STP) are added to distinguish each byte included in the keyboard data before and after each byte.

또한, 상기 데이타를 무선신호로 변환하여 전송하는 단계는 상기 생성된 제1 내지 제3 바이트를 포함하는 키보드 데이타를 패킷 단위의 무선신호로 변환하여 송신할 수 있다.In the converting of the data into a wireless signal and transmitting the converted data, the keyboard data including the generated first to third bytes may be converted into a wireless signal in a packet unit and transmitted.

도 5는 본 발명에 따른 무선 키보드 데이타의 구조도로서, 본 발명의 데이타는 제1 바이트(B1), 제2 바이트(B2) 및 제3 바이트(B3)를 포함하는데, 이러한 바이트 각각은 시작비트(ST), 패리티 비트(P) 및 종료비트(STP)를 공통으로 포함할 수 있다. 상기 제1 바이트(B1)는 키보드 데이타 전송을 의미하는 리더(L), 기능변환키의 눌림 여부를 알리는 스페셜 비트(SP) 및 스페셜 비트의 인버티드 비트(-SP)를 포함하고, 상기 제2 바이트(B2)는 키의 눌림 여부를 알리는 메이크/브레이크 비트(M/B), 눌림 또는 눌림 해제된 키에 대응하는 스캔 데이타(SCD)를 포함하며, 그리고, 상기 제3 바이트(B3)는 상기 제2 바이트(B2)의 메이크/브레이크 비트(M/B) 및 스캔코드(SCD)의 보수값, 즉 메이크/브레이크 비트의 인버티드 비트(-M/B) 및 스캔코드의 인버티드 코드(-SCD)를 포함한다.5 is a structural diagram of wireless keyboard data according to the present invention, wherein the data of the present invention includes a first byte (B1), a second byte (B2), and a third byte (B3), each of which has a start bit ( ST), the parity bit (P) and the end bit (STP) may include in common. The first byte B1 includes a reader L for keyboard data transmission, a special bit indicating whether the function conversion key is pressed, and an inverted bit (-SP) of the special bit. Byte B2 includes a make / break bit M / B indicating whether the key is pressed, scan data SCD corresponding to the pressed or released key, and the third byte B3 is Complement value of make / break bit (M / B) and scan code (SCD) of second byte (B2), that is, inverted bit (-M / B) of make / break bit and inverted code (- SCD).

전술한 바와 같이, 본 발명의 키보드 데이타에 포함되는 제2 바이트의 메이크/브레이크 비트(M/B) 및 스캔코드(SCD)를 보수값으로 취하면, 제3 바이트의 메이크/브레이크 비트(M/B) 및 스캔코드(SCD)의 인버티드 데이터와 동일하게 되므로,이러한 제2 바이트와 제3 바이트를 이용함으로서, 별도의 체크섬 코드를 할당할 필요가 없이 전송에러를 체크할 수 있게 된다.As described above, when the make / break bit (M / B) and scan code (SCD) of the second byte included in the keyboard data of the present invention are taken as complementary values, the make / break bit (M /) of the third byte is obtained. Since it is the same as the inverted data of B) and the scan code SCD, by using these second and third bytes, transmission errors can be checked without having to assign a separate checksum code.

또한, 상기한 바와 같은 제1 바이트(B1), 제2 바이트(B2) 및 제3 바이트(B3)를 포함하는 키보드 데이타를 무선신호, 예를 들어 IR 신호 또는 RF 신호로 변환하여 무선으로 전송할 수 있다.In addition, the keyboard data including the first byte B1, the second byte B2, and the third byte B3 as described above may be converted into a wireless signal, for example, an IR signal or an RF signal, and transmitted wirelessly. have.

본 발명에 따른 키보드 데이터의 패킷을 최소의 사이즈로 유지시키기 위해서, 본 발명의 키보드 데이터의 패킷 구조는 도 6에 도시한 바와 같은 데이터 패킷 구조와 같다.In order to keep the packet of the keyboard data according to the present invention at the minimum size, the packet structure of the keyboard data of the present invention is the same as the data packet structure shown in FIG.

도 6은 본 발명에 따른 무선 키보드 데이터 패킷의 구조도로서, 도 6을 참조하면, 본 발명의 키보드 데이타의 각 패킷의 사이즈는 대략 23msec로 설정되고, 각 패킷간 간격은 대략 77msec로 설정되며, 그리고, 상기 각 패킷내의 각 바이트는 11비트로 이루어지고, 각 비트의 사이즈는 대략 696.9μs로 설정된다.6 is a structural diagram of a wireless keyboard data packet according to the present invention. Referring to FIG. 6, the size of each packet of the keyboard data of the present invention is set to approximately 23 msec, the interval between packets is set to approximately 77 msec, and Each byte in each packet consists of 11 bits, and the size of each bit is set to approximately 696.9 s.

도 7은 본 발명을 수행하기 위한 무선 키보드 데이타 수신장치의 구성도로서, 도 7을 참조하면, 본 발명을 수행하기 위한 무선 키보드 데이타 수신장치는 무선으로 송신되는 키보드 데이타를 무선으로 수신하는 무선 수신부(61)와, 상기 무선 수신부(61)에서 수신받은 키보드 데이타에 해당하는 동작을 제어하는 메인 수신제어 유니트(62)와, 상기 메인 수신제어 유니트(62)의 제어에 따라 키보드 데이터의 송신 상태를 표시하는 송신상태 표시부(63)를 포함한다. 상기 메인 수신제어 유니트(62)의 제어에 따라 본 발명의 무선 키보드 데이타 수신과정이 수행된다.7 is a configuration diagram of a wireless keyboard data receiving apparatus for carrying out the present invention. Referring to FIG. 7, the wireless keyboard data receiving apparatus for carrying out the present invention includes a wireless receiving unit for wirelessly receiving keyboard data transmitted wirelessly. 61, the main reception control unit 62 for controlling the operation corresponding to the keyboard data received by the wireless reception unit 61, and the transmission state of the keyboard data under the control of the main reception control unit 62; And a transmission status display section 63 for displaying. According to the control of the main reception control unit 62, the wireless keyboard data reception process of the present invention is performed.

이하, 본 발명에 따른 무선 키보드 데이타 수신방법을 설명한다.Hereinafter, a method for receiving wireless keyboard data according to the present invention will be described.

도 8은 본 발명에 따른 무선 키보드 데이타 수신방법을 보이는 플로우챠트로서, 도 8을 참조하면, 본 발명을 수행하는 무선 수신부는 데이타 무선 송신부에서 송신되는 데이타를 무선으로 수신하는데, 이에 대해서 구체적으로 설명하면 다음과 같다.FIG. 8 is a flowchart illustrating a method for receiving wireless keyboard data according to the present invention. Referring to FIG. 8, the wireless receiver performing the present invention wirelessly receives data transmitted from a data wireless transmitter, which will be described in detail. Is as follows.

본 발명에 따른 무선 키보드 데이타 수신방법은 복수의 일반키 및 기능변환키를 갖는 무선 키보드와 컴퓨터간의 키보드 데이터 수신 방법에 있어서, 키보드 데이타의 전송을 의미하는 리드를 포함하는 고정 데이타와, 기능변환키의 눌림 여부를 알리는 1비트를 갖는 스페셜 비트, 키의 눌림 여부를 알리는 메이크/브레이크 비트, 눌림 또는 눌림 해제된 키에 대응하는 스캔코드를 포함하는 변동 데이타와, 상기 변동 데이타를 인버트한 인버티드 데이타를 포함하는 키보드 데이타를 상기 무선 키보드 데이터 수신장치가 수신 처리하고, 이렇게 수신한 상기 키보드 데이타에 해당하는 동작을 처리한다.In the wireless keyboard data receiving method according to the present invention, in the keyboard data receiving method between a wireless keyboard and a computer having a plurality of general keys and function conversion keys, the fixed data including a lead indicating the transmission of the keyboard data and the function conversion key Variation data including a special bit having 1 bit indicating whether or not the key is pressed, a make / break bit indicating whether the key is pressed, a scan code corresponding to the pressed or released key, and inverted data inverting the change data. The wireless keyboard data receiving apparatus receives and processes the keyboard data including the received keyboard data, and processes the operation corresponding to the received keyboard data.

상기 수신하는 데이타중 고정 데이타는 키보드 데이타의 전송을 의미하는 리더를 포함하고, 상기 변동 데이타는 기능변환키의 눌림 여부를 알리는 스페셜 비트, 키의 눌림 여부를 알리는 메이크/브레이크 비트 및 눌림 또는 눌림 해제된 키에 대응하는 스캔코드를 포함하며, 상기 인버티드 데이타는 상기 스페셜비트, 메이크/브레이크 비트 및 스캔코드 각각에 대한 인버티드 데이타를 포함한다. 특히, 상기 스페셜 비트 및 스페셜 비트의 인버티드 비트는 각각 1 비트로 할당된다.The fixed data among the received data includes a reader for transmitting keyboard data, and the change data includes a special bit indicating whether a function conversion key is pressed, a make / break bit indicating whether a key is pressed, and a press or release And a scancode corresponding to the key, wherein the inverted data includes inverted data for each of the special bit, make / break bit, and scancode. In particular, the special bit and the inverted bit of the special bit are allocated to 1 bit, respectively.

상기 수신하는 키보드 데이타는 제1 내지 제3 바이트를 포함하고, 상기 제1 바이트는 리더, 스페셜 비트, 및 상기 스페셜 비트의 인버티드 비트를 포함하고, 상기 제2 바이트는 메이크/브레이크 비트 및 스캔코드를 포함하며, 상기 제3 바이트는 상기 제2 바이트의 메이크/브레이크 비트 및 스캔코드의 인버티드 데이타를 포함한다. 또한, 상기 키보드 데이타의 각 바이트는 패리티 비트, 전후에 추가되는 시작비트 및 종료비트를 포함한다.The received keyboard data includes first to third bytes, the first byte including a reader, a special bit, and an inverted bit of the special bit, and the second byte includes a make / break bit and a scan code. Wherein the third byte includes the make / break bit of the second byte and the inverted data of the scan code. In addition, each byte of the keyboard data includes a parity bit, a start bit and an end bit added before and after.

먼저, 키보드 데이타를 수신하는 단계(S71-S73)에서는 상기 무선 키보드 데이터 수신장치의 무선수신부(61)를 통해 메인 수신제어 유니트(62)가 제1 바이트(B1), 제2 바이트(B2) 및 제3 바이트(B3)를 포함하는 키보드 데이타를 무선으로 수신하는데, 이에 대해서 구체적으로 설명하면, 먼저, 수신되는 무선신호를 원래의 키보드 데이타로 복원하고, 이 복원된 데이타에 포함된 제1 내지 제3 바이트를 그 시작비트(ST)와 종료 비트(STP)로 각각 인식하며, 이후, 제1 바이트(B1)의 리더(L)에 기초해서 키보드 데이타 인지 판단한다. 그리고, 만약 키보드 데이타일경우에는 제1 바이트(B1), 제2 바이트(B2) 및 제3 바이트(B3)를 포함하는 키보드 데이타를 수신한다.First, in the step of receiving keyboard data (S71-S73), the main reception control unit 62 receives the first byte B1, the second byte B2, and the wireless reception unit 61 of the wireless keyboard data receiving device. The keyboard data including the third byte B3 is wirelessly received, which will be described in detail. First, the received wireless signal is restored to the original keyboard data, and the first to the first data contained in the restored data are restored. The three bytes are recognized as the start bit ST and the end bit STP, respectively. Then, it is determined whether the keyboard data is based on the reader L of the first byte B1. In the case of keyboard data, keyboard data including a first byte B1, a second byte B2, and a third byte B3 is received.

그리고, 전송 에러를 체크하는 단계(S74)에서는 키보드 데이타의 제2 바이트(B2)와 제3 바이트(B3)에 기초해서 전송 에러를 체크하는데, 이에 대해서 구체적으로 설명하면, 먼저, 키보드 데이타에 포함되는 각 바이트내의 패리티 비트(P)를 이용하여 각 바이트의 전송에러를 체크하며, 이후, 제2 바이트(B2)의 메이크/브레이크 비트 및 스캔코드의 인버티드 데이타가 제3 바이트(B3)의 메이크/브레이크 비트 및 스캔코드와 동일한지의 여부로 전송에러를 체크한다. 상기 전송에러 체크과정에서 전송에러가 있는 경우에는 수신받은 키보드 데이타를 무시하고, 전송 에러가 없을 경우에는 다음 단계로 진행한다.In the step (S74) of checking the transmission error, the transmission error is checked based on the second byte B2 and the third byte B3 of the keyboard data. Specifically, the transmission error is first included in the keyboard data. The transmission error of each byte is checked using the parity bit P in each byte. Then, the make / break bit of the second byte B2 and the inverted data of the scan code are made of the third byte B3. Check the transmission error whether it is the same as the brake bit and the scan code. If there is a transmission error in the transmission error check process, the received keyboard data is ignored, and if there is no transmission error, the process proceeds to the next step.

그리고, 메이크인지 브레이크인지를 판단하는 단계(S75)에서는 수신받은 데이타의 제2 바이트(B2)에 포함된 메이크/브레이크 비트(M/B)를 기초해서 메이크인지 브레이크인지를 판단하는데, 이는 상기 제2 바이트(B2)의 메이크/브레이크 비트(M/B)가 세트('1')된 경우에는 메이크로 판단하고, 메이크/브레이크 비트가 클리어('0')된 경우에는 브레이크로 판단한다.In operation S75, it is determined whether a make or a break is based on the make / break bit M / B included in the second byte B2 of the received data. When the make / break bit M / B of 2 bytes B2 is set ('1'), it is determined as a make, and when the make / break bit is cleared ('0'), it is determined as a break.

그리고, 메이크 코드를 생성하는 단계(S77a-S77c)에서는 메이크인 경우, 제1 바이트(B1)에 포함된 스페셜 비트(SP)에 기초해서 기능 변환키인지 판단하고, 기능변환키 인 경우에는 스페셜비트(SP)를 세트한 후 메이크 코드를 생성하는데, 이 단계에서는 제1 바이트(B1)의 스페셜 비트(SP)가 세트된 경우에는 기능 변환키로 인식하고, 스페셜 비트가 클리어된 경우에는 일반키로 인식한다.In the case of making a make code (S77a to S77c), in the case of a make, it is determined whether it is a function conversion key based on the special bit SP included in the first byte B1. After the (SP) is set, a make code is generated. In this step, when the special bit SP of the first byte B1 is set, it is recognized as a function conversion key, and when the special bit is cleared, it is recognized as a general key. .

그 다음, 브레이크 코드를 생성하는 단계(S76a-S76c)에서는 브레이크인 경우, 제1 바이트에 포함된 스페셜 비트에 기초해서 기능 변환키인지 판단하고, 기능 변환키가 아닌 경우에는 스페셜비트를 클리어 한 후 브레이크 코드를 생성하는데, 이 단계는 제1 바이트의 스페셜 비트가 세트된 경우에는 기능 변환키로 인식하고, 스페셜 비트가 클리어된 경우에는 일반키로 인식한다.Next, in the step (S76a-S76c) of generating a break code, in the case of a break, it is determined whether the function is a function conversion key based on the special bit included in the first byte. A break code is generated, which is recognized as a function conversion key when the special bit of the first byte is set, and as a general key when the special bit is cleared.

그리고, 마지막으로 데이타 코드에 따라 해당 동작을 처리하는 단계(S78-81)에서는 상기 스페셜비트, 메이크 코드 또는 브레이크 코드, 데이타 코드에 따라 해당 동작을 처리하는데, 이에 대해서 구체적으로 설명하면, 상기 메이크 코드 및 브레이크 코드를 생성하는 각 단계에서 생성된 메이크 코드 및 브레이크 코드를 임시로 버퍼에 저장하고, 이후 호스트 명령어 존재시에는 호스트의 명령어를 처리하고, 호스트 명령어가 없을 경우, 상기 스페셜비트, 메이크 코드 또는 브레이크 코드, 데이타 코드에 따라 해당 동작을 처리한다.Finally, in the processing of the corresponding operation according to the data code (S78-81), the corresponding operation is processed according to the special bit, the make code, the break code, and the data code. And temporarily storing the make code and the break code generated in each step of generating the break code in a buffer, and then processing the command of the host if there is a host command, and, if there is no host command, the special bit, the make code, or Process the operation according to the break code and data code.

상술한 바와 같은 본 발명에 따르면, 새로운 프로토콜에 기초해서, 입력키에따라 변화가 있는 변동 데이타와 함께 이 변동 데이타의 인버티드 데이타(Inverted data) 및 고정 데이타를 제공함으로서, 체크섬(checksum)을 위한 비트를 별도로 할당할 필요가 없고, 데이타 오류를 정확하게 확인할 수 있으며, 또한, 변동 데이타와 함께 변동 데이타의 인버티드 데이타를 사용하므로 변조방식에 관계없이 배터리 소모량을 최소로 유지시킬 수 있으며, 데이타 사이즈(DATA SIZE)의 증가 없이도 별도의 기능변환키를 추가할 수 있도록 하는 효과가 있다.According to the present invention as described above, based on the new protocol, by providing the inverted data and fixed data of the variation data along with the variation data according to the input key, for the checksum There is no need to allocate bits separately, it is possible to accurately identify data errors, and inverted data of the variation data together with the variation data can be used to keep battery consumption to a minimum regardless of the modulation method. It is effective to add additional function conversion key without increasing DATA SIZE).

즉, 본 발명은 기존 방식의 4PPM을 사용하지 않고, 어떠한 변조방식을 사용하여도 배터리 소모량을 최소한으로 유지시킬 수 있고, 기능변환키가 계속적으로 확장되어도 데이타 필드에 변화를 주지 않으므로 데이타 사이즈도 일정하게 유지시키는 새로운 통신 프로토콜을 제안하고, 이 새로운 프로토콜에 의하면, 고정 비트를 제외하고는 데이타의 변화가 있는 부분에 항상 인버터 데이타를 할당함으로써 배터리 소모량을 최소로 하여 일정하게 유지시킴은 물론이고 데이타 사이즈를 일정하게 유지시킨다. 또한 각 데이타의 인버티드 데이타가 존재하여 별도의 체크섬(CHECKSUM)을 둘 필요가 없이 데이타의 오류상태를 정확히 읽어낼 수 있으며, 기능 변환키의 비트를 한 비트만 줌으로써 기능 변환키가 확장이 되더라도 데이타 사이즈가 향후에 변경되지 않는 장점을 가지고 있다.That is, according to the present invention, the battery consumption can be kept to a minimum by using any modulation scheme without using the conventional 4PPM, and the data size is constant because the function field does not change even when the function conversion key is continuously extended. We propose a new communication protocol that keeps the data in a stable state, and according to the new protocol, the inverter data is always assigned to the part of the data change except for the fixed bit, thereby minimizing the battery consumption and maintaining the data size. Keep it constant. Inverted data exists for each data, so it is possible to accurately read the error status of the data without the need for a separate checksum, and even if the function conversion key is expanded by giving only one bit of the function conversion key. The advantage is that the size does not change in the future.

이상의 설명은 본 발명의 구체적인 실시 예에 대한 설명에 불과하고, 본 발명은 이러한 구체적인 실시 예에 한정되지 않으며, 또한, 본 발명에 대한 상술한 구체적인 실시 예로부터 그 구성의 다양한 변경 및 개조가 가능하다는 것을 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 쉽게 알 수 있다.The above description is only a description of specific embodiments of the present invention, and the present invention is not limited to these specific embodiments, and various changes and modifications of the configuration are possible from the above-described specific embodiments of the present invention. It will be apparent to those skilled in the art to which the present invention pertains.

Claims (17)

복수의 일반키 및 기능변환키를 갖는 무선 키보드와 컴퓨터간의 키보드 데이터 송신 방법에 있어서,In the keyboard data transmission method between a wireless keyboard and a computer having a plurality of general keys and function conversion keys, 키의 눌림 또는 눌림 해제에 따라, 키보드 데이타의 전송을 의미하는 리드를 포함하는 고정 데이터와, 기능변환키의 눌림 여부를 알리는 1비트를 갖는 스페셜 비트, 키의 눌림 여부를 알리는 메이크/브레이크 비트, 그리고 눌림 또는 눌림 해제된 키에 대응하는 스캔코드를 포함하는 변동 데이터와, 상기 변동 데이타를 인버트한 인버티드 데이타를 포함하는 키보드 데이터를 생성하는 단계; 및Fixed data including a lead for transmission of keyboard data, a special bit having 1 bit indicating whether a function conversion key is pressed, a make / break bit indicating whether a key is pressed, according to whether a key is pressed or released; Generating keyboard data including scan data corresponding to a pressed or depressed key and inverted data inverting the change data; And 상기 생성된 키보드 데이터를 무선으로 전송하는 단계Wirelessly transmitting the generated keyboard data 를 구비한 것을 특징으로 하는 무선 키보드 데이타 송신방법.Wireless keyboard data transmission method comprising the. 제1항에 있어서, 상기 키보드 데이타를 생성하는 단계는The method of claim 1, wherein generating the keyboard data 상기 키보드 데이터는 제1 내지 제3 바이트로 이루어지고, 키의 눌림 또는 눌림 해제에 따라, 고정 비트의 리더, 기능변환키의 상태정보를 갖는 스페셜 비트 및 상기 스페셜 비트의 인버티드 비트를 포함하는 제1 바이트를 생성하는 단계;The keyboard data includes first to third bytes, and includes a reader of a fixed bit, a special bit having state information of a function conversion key, and an inverted bit of the special bit according to a key being pressed or released. Generating 1 byte; 키의 눌림 여부를 알리는 메이크/브레이크 비트와, 눌림 또는 눌림 해제된 키에 대응하는 스캔코드를 포함하는 제2 바이트를 생성하는 단계; 및Generating a second byte including a make / break bit indicating whether a key is pressed and a scan code corresponding to the pressed or depressed key; And 상기 제2 바이트의 메이크/브레이크 비트 및 스캔코드의 인버티드 데이타인 제3 바이트를 생성하는 단계Generating a third byte which is the make / break bit of the second byte and the inverted data of the scan code 를 포함한 것을 특징으로 하는 무선 키보드 데이타 송신방법.Wireless keyboard data transmission method comprising the. 제2항에 있어서, 상기 제1 바이트를 생성하는 단계는The method of claim 2, wherein generating the first byte 사전에 설정된 기능 변환키가 메이크되면 스페셜 비트를 세트하고, 기능 변환키가 브레이크되면 스페셜 비트를 클리어하는 것을 특징으로 하는 무선 키보드 데이타 송신방법.A special bit is set when a preset function change key is made, and the special bit is cleared when the function change key is broken. 제2항에 있어서, 상기 키보드 데이타의 무선 전송 단계는The method of claim 2, wherein the wireless transmission step of the keyboard data 전송할 키보드 데이타의 각 바이트에 패리티 비트를 추가하고, 이들 각 바이트 전후에 시작비트 및 종료비트를 추가하는 단계; 및Adding a parity bit to each byte of keyboard data to be transferred, and adding a start bit and an end bit before and after each of these bytes; And 상기 키보드 데이타를 무선으로 전송하는 단계Wirelessly transmitting the keyboard data 를 포함하는 것을 특징으로 하는 무선 키보드 데이타 송신방법.Wireless keyboard data transmission method comprising a. 제4항에 있어서, 상기 키보드 데이타의 무선 전송 단계는The method of claim 4, wherein the wireless transmission step of the keyboard data 상기 생성된 제1 내지 제3 바이트를 포함하는 키보드 데이타를 패킷 단위의 무선신호로 변환하여 전송하는 것을 특징으로 하는 무선 키보드 데이타 송신방법.And transmitting and converting the keyboard data including the generated first to third bytes into a wireless signal in a packet unit. 제5항에 있어서, 상기 키보드 데이타의 각 패킷의 사이즈는 대략 23msec로 설정되고The method of claim 5, wherein the size of each packet of the keyboard data is set to approximately 23 msec. 각 패킷간 간격은 대략 77msec로 설정된 것을 특징으로 하는 무선 키보드 데이타 송신방법.A wireless keyboard data transmission method, characterized in that the interval between each packet is set to approximately 77msec. 제6항에 있어서, 상기 각 패킷내의 각 바이트는 11비트로 이루어지고,7. The method of claim 6, wherein each byte in each packet consists of 11 bits, 각 비트의 사이즈는 대략 696.9μs로 설정된 것을 특징으로 하는 무선 키보드 데이타 송신방법.The size of each bit is set to approximately 696.9μs wireless keyboard data transmission method. 복수의 일반키 및 기능변환키를 갖는 무선 키보드와 컴퓨터간의 키보드 데이터 수신 방법에 있어서,In the keyboard data receiving method between a wireless keyboard and a computer having a plurality of general keys and function conversion keys, 키보드 데이타의 전송을 의미하는 리드를 포함하는 고정 데이타와, 기능변환키의 눌림 여부를 알리는 1비트를 갖는 스페셜 비트, 키의 눌림 여부를 알리는 메이크/브레이크 비트, 눌림 또는 눌림 해제된 키에 대응하는 스캔코드를 포함하는 변동 데이타와, 상기 변동 데이타를 인버트한 인버티드 데이타를 포함하는 키보드 데이타를 수신 처리하는 단계; 및Fixed data including a lead for transmission of keyboard data, a special bit having 1 bit indicating whether a function conversion key has been pressed, a make / break bit indicating whether a key has been pressed, a key corresponding to a pressed or released key Receiving and processing variation data including a scan code and keyboard data including inverted data inverting the variation data; And 상기 수신한 키보드 데이타에 해당하는 동작을 처리하는 단계Processing an operation corresponding to the received keyboard data; 를 구비한 것을 특징으로 하는 무선 키보드 데이타 수신방법.Wireless keyboard data receiving method comprising the. 제8항에 있어서, 상기 키보드 데이터는 제1 내지 제3 바이트를 포함하고,The apparatus of claim 8, wherein the keyboard data includes first to third bytes, 상기 키보드 데이타의 제1 바이트는 리더, 스페셜 비트, 상기 스페셜 비트의 인버티드 비트를 포함하고,The first byte of the keyboard data includes a reader, a special bit, an inverted bit of the special bit, 상기 제2 바이트는 메이크/브레이크 비트, 스캔코드를 포함하며,The second byte includes a make / break bit and a scan code; 상기 제3 바이트는 상기 제2 바이트의 메이크/브레이크 비트, 스캔코드에 대한 인버티드 데이타를 포함하는 것을 특징으로 하는 무선 키보드 데이타 수신방법.And the third byte comprises inverted data for the make / break bit and the scan code of the second byte. 제9항에 있어서, 상기 키보드 데이타의 각 바이트는10. The method of claim 9, wherein each byte of keyboard data is 패리티 비트, 전후에 추가되는 시작비트 및 종료비트를 더 포함하는 것을 특징으로 하는 무선 키보드 데이타 송신방법.A wireless keyboard data transmission method further comprising a parity bit, a start bit and an end bit added before and after. 제10항에 있어서, 상기 키보드 데이타를 수신 처리하는 단계는The method of claim 10, wherein the receiving and processing of the keyboard data comprises: 상기 제1 바이트 내지 제3 바이트를 포함하는 키보드 데이타를 무선으로 전송받는 단계;Wirelessly receiving keyboard data including the first to third bytes; 상기 제2 바이트 및 제3 바이트의 데이타에 기초해서 전송 에러를 체크하는 단계;Checking a transmission error based on the second byte and the third byte of data; 상기 제2 바이트에 포함된 메이크/브레이크 비트를 기초해서 메이크인지 브레이크인지를 판단하는 단계;Determining whether a make or a break is based on the make / break bit included in the second byte; 메이크인 경우, 상기 제1 바이트의 스페셜 비트에 기초해서 기능 변환키인지 판단하고, 기능 변환키 인 경우에는 스페셜비트를 세트한 후 메이크 코드를 생성하는 단계; 및In the case of a make, determining whether it is a function conversion key based on the special bit of the first byte, and in the case of a function conversion key, generating a make code after setting a special bit; And 브레이크인 경우, 상기 제1 바이트의 스페셜 비트에 기초해서 기능 변환키인지 판단하고, 기능 변환키가 아닌 경우에는 스페셜비트를 클리어한 후 브레이크 코드를 생성하는 단계In the case of a break, determining whether it is a function conversion key on the basis of the special bit of the first byte, and in case of the break, clearing the special bit and generating a break code 를 포함하는 것을 특징으로 하는 무선 키보드 데이타 수신방법.Wireless keyboard data receiving method comprising a. 제8항에 있어서, 상기 수신한 키보드 데이타에 해당하는 동작을 처리하는 단계는The method of claim 8, wherein the processing of the operation corresponding to the received keyboard data comprises: 상기 스페셜비트, 메이크 코드 또는 브레이크 코드, 그리고 스캔코드에 따라 해당 동작을 처리하는 것을 특징으로 하는 무선 키보드 데이타 수신방법.And a corresponding operation according to the special bit, make code or break code, and scan code. 제11항에 있어서, 상기 키보드 데이터를 전송받는 단계는The method of claim 11, wherein receiving the keyboard data comprises: 수신되는 무선신호에서 원래의 키보드 데이타로 복원하는 단계;Restoring original keyboard data from the received radio signal; 상기 복원된 키보드 데이타에 포함되는 제1 내지 제3 바이트를 그 시작비트와 종료 비트를 통해 인식하는 단계;Recognizing first through third bytes included in the restored keyboard data through the start bit and the end bit; 상기 제1 바이트의 리더에 기초해서 키보드 데이타인지 판단하는 단계; 및Determining whether the keyboard data is keyboard data based on the reader of the first byte; And 키보드 데이타일 경우에는 상기 제1 바이트 내지 제3 바이트를 포함하는 키보드 데이타를 수신하는 단계In the case of keyboard data, receiving keyboard data including the first to third bytes. 를 포함하는 것을 특징으로 하는 무선 키보드 데이타 수신방법.Wireless keyboard data receiving method comprising a. 제11항에 있어서, 상기 전송 에러를 체크하는 단계는The method of claim 11, wherein the checking of the transmission error 상기 수신받은 키보드 데이타의 각 바이트내의 패리티 비트를 이용하여 각 바이트의 전송에러를 체크하는 단계;Checking a transmission error of each byte using parity bits in each byte of the received keyboard data; 상기 제2 바이트의 메이크/브레이크 비트 및 스캔코드의 인버티드 데이타가제3 바이트의 메이크/브레이크 비트 및 스캔코드와 동일한지의 여부로 전송에러를 체크하는 단계; 및Checking for a transmission error whether the inverted data of the make / break bit and the scan code of the second byte is the same as the make / break bit and the scan code of the third byte; And 상기 각 단계에서 전송에러가 있는 경우에는 수신받은 키보드 데이타를 무시하고, 전송 에러가 없을 경우에는 다음 단계로 진행하는 단계If there is a transmission error in each step, ignore the received keyboard data, and if there is no transmission error, proceed to the next step 를 포함하는 것을 특징으로 하는 무선 키보드 데이타 수신방법.Wireless keyboard data receiving method comprising a. 제11항에 있어서, 상기 메이크인지 브레이크인지를 판단하는 단계는12. The method of claim 11, wherein determining whether the make or brake is 상기 제2 바이트의 메이크/브레이크 비트가 세트된 경우에는 메이크로 판단하고, 메이크/브레이크 비트가 클리어된 경우에는 브레이크로 판단하는 것을 특징으로 하는 무선 키보드 데이타 수신방법.And if the make / break bit of the second byte is set, determine as a make, and if the make / break bit is cleared, determine as a break. 제11항에 있어서, 상기 메이크 코드를 생성하는 단계 및 상기 브레이크 코드를 생성하는 단계는The method of claim 11, wherein generating the make code and generating the break code 상기 제1 바이트의 스페셜 비트가 세트된 경우에는 기능 변환키로 인식하고, 스페셜 비트가 클리어된 경우에는 일반키로 인식하는 것을 특징으로 하는 무선 키보드 데이타 수신방법.And if the special bit of the first byte is set, recognizes it as a function conversion key, and if the special bit is cleared, recognizes it as a general key. 복수의 일반키 및 기능변환키를 갖는 무선 키보드와 컴퓨터간의 키보드 데이터 송수신 방법에 있어서,In the keyboard data transmission and reception method between a wireless keyboard and a computer having a plurality of general keys and function conversion keys, 키의 눌림 또는 눌림 해제에 따라 시작비트, 고정 비트의 리더, 기능변환키의 상태정보를 갖는 1비트의 스페셜 비트, 이 스페셜 비트의 인버티드 비트, 패리티 비트 및 종료비트를 포함하는 제1 바이트를 생성하는 단계;In response to a key being pressed or released, a first bit including a start bit, a fixed bit reader, a special bit having status information of a function conversion key, an inverted bit, a parity bit, and an end bit of the special bit Generating; 키의 눌림 또는 눌림 해제에 따라 시작비트, 키의 눌림 여부를 알리는 메이크/브레이크 비트, 눌림 및 눌림 해제된 키의 스캔코드에 해당하는 스캔코드, 패리티 비트 및 종료비트를 포함하는 제2 바이트를 생성하는 단계;Generates a second byte that includes a start bit, a make / break bit indicating whether the key is pressed, and a scan code, parity bit, and end bit corresponding to the scan code of the pressed and depressed key according to the key being pressed or released. Doing; 키의 눌림 또는 눌림 해제에 따라 시작비트, 상기 제2 바이트의 메이크/브레이크 비트 및 스캔코드의 인버티드 데이타, 패리티 비트 및 종료비트를 포함하는 제3 바이트를 생성하는 단계;Generating a third byte including a start bit, a make / break bit of the second byte and an inverted data, a parity bit, and an end bit of a scan code according to a key being pressed or released; 상기 생성된 제1 내지 제3 바이트를 포함하는 키보드 데이타를 무선신호로 변환하여 송신하는 단계;Converting and transmitting the keyboard data including the generated first to third bytes into a wireless signal; 상기 제1 바이트 내지 제3 바이트를 포함하는 키보드 데이타를 무선으로 수신하는 단계;Wirelessly receiving keyboard data comprising the first to third bytes; 상기 키보드 데이타의 제2 바이트와 제3 바이트에 기초해서 전송 에러를 체크하는 단계;Checking for a transmission error based on the second byte and the third byte of the keyboard data; 상기 키보드 데이타의 제2 바이트에 포함된 메이크/브레이크 비트를 기초해서 메이크인지 브레이크인지를 판단하는 단계;Determining whether a make or a break is based on a make / break bit included in the second byte of the keyboard data; 메이크인 경우, 상기 제1 바이트에 포함된 1비트로 이루어진 스페셜 비트에 기초해서 기능 변환키인지 판단하고, 기능 변환키 인 경우에는 스페셜비트를 세트한 후 메이크 코드를 생성하는 단계;In the case of a make, determining whether it is a function conversion key based on a special bit made of one bit included in the first byte, and in the case of a function conversion key, generating a make code after setting a special bit; 브레이크인 경우, 상기 제1 바이트에 포함된 스페셜 비트에 기초해서 기능변환키인지 판단하고, 기능 변환키가 아닌 경우에는 스페셜비트를 클리어한 후 브레이크 코드를 생성하는 단계; 및In the case of a break, determining whether it is a function conversion key based on the special bit included in the first byte, and in case of the break, clearing the special bit and generating a break code; And 상기 스페셜비트, 메이크 코드 또는 브레이크 코드, 스캔코드에 따라 해당 동작을 처리하는 단계Processing a corresponding operation according to the special bit, make code, break code, or scan code; 를 구비함을 특징으로 하는 무선 키보드 데이타 송수신방법.Wireless keyboard data transmission and reception method comprising the.
KR1020030032797A 2002-12-12 2003-05-23 Method for transmitting and receiving the data of wireless keyboard KR20040051477A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
US10/600,367 US20040113891A1 (en) 2002-12-12 2003-06-23 Method for transmitting and receiving data of wireless keyboard
JP2003180485A JP2004192605A (en) 2002-12-12 2003-06-25 Data transmission and reception method for wireless keyboard
CNA031478247A CN1506795A (en) 2002-12-12 2003-06-25 Method for transmitting & receiving data by radio keyboard
GB0315011A GB2396234B (en) 2002-12-12 2003-06-26 Method for transmitting and receiving data of wireless keyboard
DE10329684A DE10329684A1 (en) 2002-12-12 2003-07-02 Method of sending and receiving data from a wireless keyboard

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020020079065 2002-12-12
KR1020020079065A KR20100080953A (en) 2002-12-12 2002-12-12 Method for transmitting and receiving data of wireless keyboard and its protocol

Publications (1)

Publication Number Publication Date
KR20040051477A true KR20040051477A (en) 2004-06-18

Family

ID=37345427

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020020079065A KR20100080953A (en) 2002-12-12 2002-12-12 Method for transmitting and receiving data of wireless keyboard and its protocol
KR1020030032797A KR20040051477A (en) 2002-12-12 2003-05-23 Method for transmitting and receiving the data of wireless keyboard

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020020079065A KR20100080953A (en) 2002-12-12 2002-12-12 Method for transmitting and receiving data of wireless keyboard and its protocol

Country Status (1)

Country Link
KR (2) KR20100080953A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006137642A1 (en) * 2005-06-22 2006-12-28 Celrun Co., Ltd. Method for transmitting scan data of wireless input device and ir protocol therefor
KR100796779B1 (en) * 2007-01-02 2008-01-22 주식회사 셀런 Method for transreceiving scan data of wireless input device using multi-dimensional space mapping and wireless input device for the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006137642A1 (en) * 2005-06-22 2006-12-28 Celrun Co., Ltd. Method for transmitting scan data of wireless input device and ir protocol therefor
KR100701326B1 (en) * 2005-06-22 2007-03-29 주식회사 셀런 Method for transmitting scan data of wireless input device and ir protocol therefor
KR100796779B1 (en) * 2007-01-02 2008-01-22 주식회사 셀런 Method for transreceiving scan data of wireless input device using multi-dimensional space mapping and wireless input device for the same

Also Published As

Publication number Publication date
KR20100080953A (en) 2010-07-14

Similar Documents

Publication Publication Date Title
US5881366A (en) Wireless peripheral interface
US7586482B2 (en) Method and related wireless mouse for decreasing delay time of data packet transmission system
KR100397265B1 (en) Method and apparatus for transmitting multimedia wireless data to a host system
KR20040051477A (en) Method for transmitting and receiving the data of wireless keyboard
JP2004192605A (en) Data transmission and reception method for wireless keyboard
CN1115621C (en) Method of transmitting data using wireless keyboard carrying trace ball
EP0584464A1 (en) Infrared ray receiving and transmitting system
KR100495959B1 (en) Remote Controller System
US7139257B2 (en) System and method for coding and identification in a wireless transmit and receive protocol for single-frequency peripheral devices
KR100196665B1 (en) Method for transmitting system scan code
KR100784964B1 (en) The infrared data transmission method for remote control of multimedia devices
US6310914B1 (en) Power saving infrared keyboard transmission method
CN103269386A (en) System and method for wireless communication
US6615283B1 (en) Keyboard system
US7403572B2 (en) Method of preventing interferring signal transmission of electronic products
KR100426971B1 (en) Key board apparatus for loading and unloading system of freight in oil-tanker
EP1659742A1 (en) Method and device for preventing interference of transmission frequency from electronic products
KR100631197B1 (en) Wireless input apparatus and control method thereof
KR100353878B1 (en) The extended Keypad Controller and the controlling method
JPH06161631A (en) Wireless input device
CN112748846A (en) Remote control method of electronic whiteboard and electronic whiteboard
US20060111049A1 (en) Method and device for preventing interference of transmission frequency from electronic products
KR100245339B1 (en) Multi-contact-point-way remocon signal processing apparatus for an internet settop box
JPH09190263A (en) Key data format for wireless data input system
JPH10289048A (en) Information input device

Legal Events

Date Code Title Description
A201 Request for examination
SUBM Submission of document of abandonment before or after decision of registration