KR20100080953A - Method for transmitting and receiving data of wireless keyboard and its protocol - Google Patents

Method for transmitting and receiving data of wireless keyboard and its protocol Download PDF

Info

Publication number
KR20100080953A
KR20100080953A KR1020020079065A KR20020079065A KR20100080953A KR 20100080953 A KR20100080953 A KR 20100080953A KR 1020020079065 A KR1020020079065 A KR 1020020079065A KR 20020079065 A KR20020079065 A KR 20020079065A KR 20100080953 A KR20100080953 A KR 20100080953A
Authority
KR
South Korea
Prior art keywords
data
bit
byte
make
break
Prior art date
Application number
KR1020020079065A
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 KR1020020079065A priority Critical patent/KR20100080953A/en
Priority to KR1020030032797A priority patent/KR20040051477A/en
Priority to US10/600,367 priority 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 KR20100080953A publication Critical patent/KR20100080953A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0231Cordless keyboards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field

Abstract

PURPOSE: A method for transmitting and receiving wireless keyboard data and a protocol thereof are provided to uniformly maintain battery consumption regardless of a modulation type. CONSTITUTION: Keyboard data is wirelessly transmitted using a protocol(S50~S52). The keyboard data includes fixed data, variable data, and inverted data corresponding to key input. The protocol has a data structure which includes the fixed data, the variable data, and the inverted data of the variable data. The fixed data comprises a leader. The variable data comprises a special bit, a make/break bit, and a key code.

Description

무선 키보드 데이터 송신 및 수신방법, 그리고 그 프로토콜{METHOD FOR TRANSMITTING AND RECEIVING DATA OF WIRELESS KEYBOARD, AND ITS PROTOCOL}Wireless keyboard data transmission and reception method and its protocol {METHOD FOR TRANSMITTING AND RECEIVING DATA OF WIRELESS KEYBOARD, AND ITS PROTOCOL}

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

도 2는 종래 무선 키보드의 시스템 스캔코드 송신방법에 따른 데이터의 포맷도이다.2 is a format diagram of data according to a system scan code 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 format diagram of wireless keyboard data according to the present invention.

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

도 7은 본 발명에 따른 무선 키보드 데이터 수신방법을 보이는 플로우챠트이다.7 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 section 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

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

일반적으로, IR(InfraRed) 또는 RF(Radio Frequency) 등의 무선키보드의 통신프로토콜에 있어서, 현재 가장 많이 사용하고 있는 4PPM방식, PWM방식 및 단순 PULSE 방식이 있는데, 이중에서 PWM 방식(단순 PULSE방식 포함)은 데이터의 코드에 따라 데이타 사이즈(DATA SIZE)가 변화함으로 인하여 건전지의 소모량이 일정하지 않고 변한다는 단점이 있다. 이러한 단점을 해결하기 위해, 4PPM방식을 사용할 수 있는데, 4PPM 방식을 사용하는 프로토콜에서는 키보드의 특수기능키의 전송오류를 막기 위하여 기존에 많이 사용하고 있는 각 특수기능키에 대응하는 스페셜 비트(SPECIAL BIT)를 두어 키데이타가 전송될 때 이 스페셜 비트를 동시에 보내어 데이터 전송중에 데이터 전송에러가 발생하여도 그 다음에 눌려진 키데이타가 전송될 때 기능키의 눌려짐과 떨어짐의 정보를 줌으로써 전송에러를 보상하지만, 기능키의 수만큼 기능키 데이타 필드(DATA FIELD)를 할당하므로 기능키가 확장시 마다 데이타 필드(DATA FIELD)에 해당하는 비트(BIT)가 증가함에 따라 데이타 사이즈가 증가되는 단점이 있었으며, 또한, 별도의 체크섬(CHECKSUM) 코드를 할당하여 전송에러를 막는 방법을 사용할 수도 있다.In general, in the communication protocol of wireless keyboards such as IR (InfraRed) or RF (Radio Frequency), there are 4PPM method, PWM method and simple PULSE method which are currently used the most, including PWM method (including simple PULSE method). ) Has the disadvantage that the battery consumption is not constant because the data size (DATA SIZE) changes according to the code of the data. In order to solve this problem, 4PPM method can be used. In the protocol using 4PPM method, special bits corresponding to each special function key that are frequently used to prevent transmission error of the special function key of the keyboard are used. By sending this special bit at the same time when key data is transmitted, even if a data transmission error occurs during data transmission, it compensates for the transmission error by giving information of the function key being pressed and released when the next pressed key data is transmitted. However, since the function key data field is allocated as many as the number of function keys, the data size increases as the bit corresponding to the data field increases whenever the function key is expanded. In addition, a method of preventing a transmission error by assigning a separate checksum code may be used.

도 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 searches for the pressed key among the keys of the key matrix 13 by applying the scanning signal to the key matrix 13 and transmits the corresponding system scan code to the personal computer 3 through the transmitter 15.

도 2는 종래 무선 키보드의 시스템 스캔코드 송신방법에 따른 데이터의 포맷도로서, 도 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 format diagram of data according to a system scan code transmission method of a conventional wireless keyboard. Referring to FIG. 2, when a plurality of conventional personal computers 3 and a wireless keyboard 1 are connected, channel ID data is stored. The area for is allocated. In addition, when separate keys for windows are configured on the keyboard, a window key flag area for these keys is allocated. That is, as shown in FIG. 2, the conventional system scan codes are composed of a total of 32 bits, that is, a total of 4 bytes (B1, B2, B3, B4), and the system scan codes are 5 in the first first byte B1. The bits (bit7, bit6, bit5, bit4, bit3) correspond to the IDs of the keyboards of the keyboard 1.

이러한 ID 정보는 입력 수단으로서 마우스 또는 원격 제어기(Remote Controller)등이 사용될 수 있으므로 이를 구분하기 위한 정보이다. 이때, 제8 비트(bit7)는 데이터의 전송을 알리는 리더(Leader)가 될 것이다. 그리고, 제1 바이트(B1)내의 나머지 3 비트(bit2, bit1, bit0)는 상술한 바와 같이 윈도우 키들에 대응하는 시스템 스캔 데이터들이 할당되어 있다. 여기서 제1,제2 비트(bit0,bit1)는 각각 윈도우용 두 개 키의 눌러짐 여부를 나타내는 제4 비트(bit3)는 윈도우용의 여분을 위하여 할당한 것이다.The ID information is information for identifying the mouse since a mouse or a remote controller may be used as an input means. In this case, the eighth bit (bit7) will be a reader for notifying transmission of data. As described above, the remaining three bits (bit2, bit1, bit0) in the first byte B1 are assigned system scan data corresponding to the window keys. In this case, the first and second bits bit0 and bit1 are allocated to the fourth bit bit3 indicating whether the two keys for the window are pressed, respectively.

다음의 제2 바이트(B2)는 기능 변환키의 눌러짐을 나타내는 시스템 스캔 코드들로서, 도시된 바와 같이 제8 비트(bit7)에는 기능 변환키들이 메이크 및 브레이크의 플래그용으로 할당되어 있으며, 나머지 제1-제7 비트(bit0-bit6)는 도시된 바와 같이 기능변환 키들을 위하여 할당된 것이다.The next second byte B2 is system scan codes indicating that the function conversion key is pressed. As shown, the eighth bit bit7 has function conversion keys allocated for make and break flags and the remaining first The seventh bit (bit 0 -bit 6) is allocated for the function change keys as shown.

다음의 제3 바이트(B3)에는 통상의 키데이타 즉, 각 키들에 할당되어 있는 시스템 스캔 코드가 할당되어 있다. 여기서, 제3 바이트(B3)는 상술한 바와 같이 키들이 메이크 및 브레이크 코드를 포함하고 있는 상태가 된다.The next third byte B3 is assigned a normal key data, i.e., a system scan code assigned to each key. Here, the third byte B3 is in a state in which the keys include the make and break codes as described above.

다음의 제4 바이트(B4)의 제5-제8 비트(b4-b7)에는 채널 ID가 할당되어 있고, 제1-제4 비트(b0-b3)에는 이들 시스템 스캔 코드들이 전송도중에 발생하는 오 류를 체크할 수 있게 하는 체크 섬(check sum)정보들이 할당되어 있다. 여기서 채널 ID는 다수개의 무선키 보드가 사용될 경우에 키보드에서 송신되는 데이터가 어느 키보드로부터 송신되고 있는 지를 판단하게 하는 채널 정보인바, 필요에 따라서는 삭제가 가능할 것이다.A channel ID is assigned to the fifth to eighth bits b4-b7 of the next fourth byte B4, and these system scan codes are generated during transmission during the first to fourth bits b0-b3. Check sum information has been assigned that allows you to check the current class. In this case, when a plurality of wireless keyboards are used, the channel ID is channel information for determining from which keyboard the data transmitted from the keyboard is transmitted. Therefore, the channel ID may be deleted if necessary.

한편, 실제로 사용자가 기능키와 일반키를 조합할 때, 기능키 2개와 일반키 1개를 조합하는 "2+1"방식, 또는 "3+1" 방식보다는 기능키와 일반키를 각각 1개씩 사용하는 "1+1" 방식을 대부분 사용함으로 인하여, 종래와 같이 각 기능키별로 스페셜 비트를 할당하는 방법은 기능키 추가시 데이타 사이즈가 증가하므로 그 효율성이 떨어지고, 향후 기능키가 계속적으로 추가되는 경우에는 데이타 필드(DATA FIELD)가 계속적으로 늘어나야 하는 문제점이 있다.On the other hand, when a user actually combines a function key and a general key, one function key and one general key are combined, respectively, rather than the "2 + 1" method or the "3 + 1" method, which combines two function keys and one general key. By using most of the "1 + 1" method to be used, the method of allocating a special bit for each function key, as in the conventional art, decreases the efficiency because the data size increases when the function key is added, and the function key is continuously added in the future. In this case, there is a problem that the data field must be continuously increased.

이러한 문제점을 개선하기 위해서 새로운 전송 프로토콜(PROTOCOL)을 기초로 하는 무선 키보드 데이터 송신 및 수신방법을 제안한다.In order to solve this problem, we propose a wireless keyboard data transmission and reception method based on a new transmission protocol (PROTOCOL).

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

또한, 본 발명의 다른 목적은 체크섬(checksum)을 위한 비트를 별도로 할당 할 필요가 없고, 또한, 데이터 오류를 정확하게 확인할 수 있는 무선 키보드 데이터 송신 및 수신방법, 그리고 그 프로토콜을 제공하는데 있다.Another object of the present invention is to provide a wireless keyboard data transmission and reception method and a protocol thereof, which do 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 constant battery consumption irrespective of the modulation scheme, wireless keyboard data transmission and reception method to add a separate function key without increasing the data size (DATA SIZE) And to provide that protocol.

상기한 본 발명의 목적을 달성하기 위한 기술적인 수단으로서, 본 발명의 제1 특징은 데이타 무선 송신부에서 데이타를 생성하여 무선 수신부로 데이타를 무선으로 송신하는 방법에 있어서, 고정 데이터와 변동 데이타를 포함하고, 상기 변동 데이타의 인버티드 데이터를 포함하는 데이터 구조를 갖는 프로토콜을 이용하여, 키입력에 해당하는 고정 데이터, 변동데이타 및 인버티드 데이터를 포함하는 키보드 데이터를 무선 송신하는 것이다.As a technical means for achieving the above object of the present invention, a first aspect of the present invention is a method for generating data in a data wireless transmitter and transmitting data wirelessly to a wireless receiver, comprising fixed data and variation data. By using a protocol having a data structure including the inverted data of the variation data, keyboard data including fixed data, variation data, and inverted data corresponding to key input are wirelessly transmitted.

또한, 본 발명의 제2 특징은 데이타 무선 송신부에서 송신되는 데이타를 무선 수신부에서 무선으로 수신하는 방법에 있어서, 고정 데이터와 변동 데이타를 포함하고, 상기 변동 데이타의 인버티드 데이터를 포함하는 데이터 구조를 갖는 프로토콜을 이용하여, 고정 데이터, 변동 데이터 및 인버티드 데이터를 포함하는 키보드 데이터를 수신하는 것이다.In addition, a second aspect of the present invention provides a method for wirelessly receiving data transmitted by a data wireless transmission unit in a wireless receiving unit, comprising: a data structure including fixed data and variation data and including inverted data of the variation data. By using the protocol having, the keyboard data including fixed data, change data and inverted data is received.

또한, 본 발명의 제3 특징은 데이타 무선 송신부에서 데이타를 생성하여 무 선 수신부로 데이타를 무선으로 송신하기 위한 프로토콜에 있어서, 고정 데이터와 변동 데이타를 포함하고, 상기 변동 데이타의 인버티드 데이터를 포함하는 데이터 구조를 갖는 것이다.In addition, a third aspect of the present invention is a protocol for generating data in a data wireless transmitter and transmitting data wirelessly to a wireless receiver, including fixed data and variation data, and including inverted data of the variation data. It has a data structure.

또한, 상기 본 발명의 제1 특징 내지 제3 특징을 결합하여 또 다른 하나의 특징으로 구현될 수 있다.In addition, the first to third features of the present invention may be combined to be implemented as 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 transmitter for carrying out the present invention. Referring to FIG. 3, a wireless keyboard data transmitter for carrying out the present invention includes a power supply unit 31 for supplying power required for the keyboard; A key matrix 32 for inputting a key press selection and a power supply from the power supply unit 31 are operated to recognize the key press selection and release of the key matrix 32 to wirelessly transmit data corresponding thereto. And a main transmission control unit 33 for controlling transmission, and a wireless transmission unit 34 for converting data into radio signals and transmitting them wirelessly under the control of the main transmission control unit 33. According to the control of the main transmission control unit 33, the 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, a data wireless transmission unit generates data and wirelessly transmits data to a wireless reception unit. As follows.

본 발명에 따른 무선 키보드 데이터 송신방법은 고정 데이터와 변동 데이타를 포함하고, 상기 변동 데이타의 인버티드 데이터를 포함하는 데이터 구조를 갖는 프로토콜을 이용하여, 키입력에 해당하는 고정 데이터, 변동데이타 및 인버티드 데이터를 포함하는 키보드 데이터를 송신한다.The wireless keyboard data transmission method according to the present invention uses a protocol having a data structure including fixed data and variation data and inverted data of the variation data, and includes fixed data, variation data, and inverter corresponding to a key input. Sends keyboard data, including filled data.

상기 고정 데이터는 리더를 포함하고, 상기 변동 데이터는 스페셜 비트, 메이크/브레이크 비트 및 키 코드를 포함하며, 상기 인버티드 데이터는 스페셜 비트, 메이크/브레이크 비트 및 키 코드 각각의 인버티드 데이터를 포함한다. 여기서, 상기 리더(leader)는 키보드 데이터임을 알려주는 정보를 포함하고 있는데, 적용되는 제품이나 사용환경에 따라서 ID 정보를 더 포함할 수 있다. The fixed data includes a reader, the variation data includes special bits, make / break bits, and key codes, and the inverted data includes inverted data for each of the special bits, make / break bits, and key codes. . In this case, the reader includes information indicating that the keyboard data is included, and may further include ID information according to the applied product or the use environment.

상기 수신할 키보드 데이터는 제1 내지 제3 바이트를 포함하는데, 상기 제1 바이트는 리더, 스페셜 비트, 그리고 상기 스페셜 비트의 인버티드 비트를 포함하고, 상기 제2 바이트는 메이크/브레이크 비트, 키 코드를 포함하며, 상기 제3 바이트는 상기 제2 바이트의 인버티드 데이터를 포함한다.The keyboard data to be received includes first to third bytes, the first byte comprising a reader, a special bit, and an inverted bit of the special bit, and the second byte includes a make / break bit, a key code Wherein the third byte includes inverted data of the second byte.

또한, 상기 스페셜 비트 및 스페셜 비트의 인버티드 비트는 복수의 비트로 이루어질 수 있으나, 가장 바람직하게는 각각 1 비트로 이루어진다.In addition, the special bit and the inverted bit of the special bit may be composed of a plurality of bits, but most preferably, each bit is composed of one bit.

먼저, 제1 바이트를 생성하는 단계(S41-S45)에서는 키가 입력되면 고정 비트의 리더(L)와, 기능변환 정보를 갖는 스페셜 비트(SP)를 포함하는 제1 바이트(B1)를 생성하는데, 상기 제1 바이트(B1)는 스페셜 비트의 인버티드 비트를 포함할 수 있다. 상기 리더(L)는 키보드 데이터를 알려주는 정보인 고정 비트이고, 도 5에 도시한 바와 같이 이러한 리더(L)와 스페셜 비트(SP)를 포함하는 제1 바이트(B1)를 생성한다. First, in the step (S41-S45) of generating the first byte, when the key is input, the first byte B1 including the reader L of the fixed bit and the special bit SP having the function conversion information is generated. The first byte B1 may include an inverted bit of a special bit. The reader L is a fixed bit that informs the keyboard data and generates a first byte B1 including the reader L and the special bit SP as shown in FIG. 5.

그리고, 상기 제1 바이트(B1)는 스페셜 비트(SP)의 전송에러 체크를 위해 스페셜 비트의 인버티드 비트(-SP)를 포함하며, 상기한 스페셜 비트와 이 스페셜비트의 인버티드 비트는 키보드 데이터의 사이즈를 고려해서 각각 1 비트로 할당하는 것이 바람직하다.The first byte B1 includes an inverted bit (-SP) of a special bit for checking a transmission error of the special bit (SP), and the special bit and the inverted bit of the special bit are keyboard data. In consideration of the size of D, it is preferable to allocate each bit.

여기서, 상기 스페셜 비트(SP)는 기능 변환키가 메이크되면 세트되고, 기능 변환키가 브레이크되면 클리어 된다. Herein, the special bit SP is set when the function conversion key is made and cleared when the function conversion key is broken.

그리고, 제2 바이트를 생성하는 단계(S46-S48)에서는 메이크/브레이크 비트(M/B)와, 이 메이크/브레이크 비트 (M/B)상태에 해당되는 키 코드(KD)를 생성하고, 이 메이크/브레이크 비트(M/B) 및 키데이타(KD)를 포함하는 제2 바이트(B2)를 생성하는데, 이 단계는 키눌림이 선택되면 메이크/브레이크 비트(M/B)를 세트하고, 키눌림이 해제되면 메이크/브레이크 비트(M/B)를 클리어하며, 이러한 메이크/ 브레이크 비트(M/B) 및 키데이타(KD)를 포함하는 제2 바이트(B2)를 생성하고, 상기 생성된 제1 바이트(B1) 및 제2 바이트(B2)를 전송하기 이전에 버퍼에 저장할 수 있다.In the generating of the second byte (S46-S48), a make / break bit (M / B) and a key code KD corresponding to the make / break bit (M / B) state are generated. Generates a second byte B2 comprising a make / break bit (M / B) and a key data (KD), which sets the make / break bit (M / B) when the keypress is selected When the release is released, the make / break bit M / B is cleared, and a second byte B2 including the make / break bit M / B and the key data KD is generated, and the generated second One byte B1 and the second byte B2 may be stored in a buffer before transmission.

그리고, 제3 바이트를 생성하는 단계(S49-S51)에서는 상기 제2 바이트(B2)의 인버티드 데이타인 제3 바이트(B3)를 생성하는데, 이 단계의 제1 과정은 데이타 전송중인지 체크하고, 제2 과정에서는 전송중이 아닐 경우에, 상기 버퍼에 저장된 제2 바이트(B2)의 메이크/브레이크 비트(M/B) 및 키데이타(KD)에 대한 인버티드 데이타를 취하며, 이후, 제3 과정에서는 상기 인버티드 데이타인 메이크/브레이크 비트(-M/B) 및 키데이타(-KD)를 포함하는 제3 바이트(B3)를 생성한다.In the generating of the third byte (S49-S51), the third byte B3, which is the inverted data of the second byte B2, is generated, and the first process of this step checks whether data is being transmitted, In the second process, when it is not transmitting, inverted data of the make / break bit (M / B) and the key data (KD) of the second byte (B2) stored in the buffer is taken. In the process, a third byte B3 including the make / break bit (-M / B) and the key data (-KD), which are the inverted data, is generated.

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

또한, 상기 데이타를 무선신호로 변환하여 송신하는 단계는 상기 생성된 복수의 바이트를 포함하는 키보드 데이터를 패킷 단위의 무선신호로 변환하여 송신할 수 있다.The converting of the data into a wireless signal may be performed by converting the keyboard data including the generated plurality of bytes into a wireless signal of a packet unit.

도 5는 본 발명에 따른 무선 키보드 데이터의 포맷도로서, 본 발명의 데이타는 제1 바이트(B1), 제2 바이트(B2) 및 제3 바이트(B3)를 포함하는데, 이러한 바이트 각각은 시작비트(ST), 패리티 비트(P) 및 종료비트(STP)를 공통으로 포함한다. 상기 제1 바이트(B1)는 리더(L), 스페셜 비트(SP) 및 스페셜 비트의 인버티드 비트(-SP)를 포함하고, 제2 바이트(B2)는 메이크/브레이크 비트(M/B), 키데이타(KD)를 포함하며, 그리고, 제3 바이트(B3)는 상기 제2 바이트(B2)의 메이크/브레이크 비트(M/B), 키데이타(KD)의 복수를 취한 값, 즉 -M/B 및 -KD를 포함한다.5 is a format 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 is a start bit. (ST), parity bits (P), and termination bits (STP) in common. The first byte B1 includes a reader L, a special bit SP, and an inverted bit (-SP) of the special bit, and the second byte B2 includes a make / break bit (M / B), Key data KD, and the third byte B3 is a value obtained by taking a plurality of make / break bits M / B and key data KD of the second byte B2, that is, -M Include / B and -KD.

전술한 바와 같이, 본 발명의 데이터에 포함되는 제2 바이트와 제3 바이트를 이용함으로서, 별도의 체크섬 코드를 할당할 필요가 없게 된다.As described above, by using the second byte and the third byte included in the data of the present invention, it is not necessary to allocate a separate checksum code.

또한, 상기한 바와 같은 제1 바이트(B1), 제2 바이트(B2) 및 제3 바이트(B3)를 포함하는 데이타를 무선신호, 예를 들어 IR 신호 또는 RF 신호로 변환하여 무선으로 전송할 수 있다.In addition, the 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. .

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

도 7은 본 발명에 따른 무선 키보드 데이터 수신방법을 보이는 플로우챠트로서, 도 7을 참조하면, 본 발명을 수행하는 무선 수신부는 데이타 무선 송신부에서 송신되는 데이타를 무선으로 수신하는데, 이에 대해서 구체적으로 설명하면 다음과 같다.FIG. 7 is a flowchart illustrating a method for receiving wireless keyboard data according to the present invention. Referring to FIG. 7, 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.

본 발명에 따른 무선 키보드 데이터 수신방법은 고정 데이터와 변동 데이타를 포함하고, 상기 변동 데이타의 인버티드 데이터를 포함하는 데이터 구조를 갖는 프로토콜을 이용하여, 고정 데이터, 변동 데이터 및 인버티드 데이터를 포함하는 키보드 데이터를 수신한다.The wireless keyboard data receiving method according to the present invention includes fixed data and variation data, and includes fixed data, variation data and inverted data using a protocol having a data structure including the inverted data of the variation data. Receive keyboard data.

상기 수신하는 데이터중 고정 데이터는 리더를 포함하고, 상기 변동 데이터는 스페셜 비트, 메이크/브레이크 비트 및 키 코드를 포함하며, 상기 인버티드 데이터는 스페셜비트, 메이크/브레이크 비트 및 키 코드 각각에 대한 인버티드 데이터를 포함한다. 특히, 상기 스페셜 비트 및 스페셜 비트의 인버티드 비트는 각각 1 비트로 이루어진다.The fixed data of the received data includes a reader, the variation data includes a special bit, a make / break bit, and a key code, and the inverted data includes an invert for each of the special bit, make / break bit, and key code. Contains graded data. In particular, the special bit and the inverted bit of the special bit each consist of 1 bit.

상기 수신하는 키보드 데이터는 제1 내지 제3 바이트를 포함하고, 상기 제1 바이트는 리더, 스페셜 비트, 그리고 상기 스페셜 비트의 인버티드 비트를 포함하고, 상기 제2 바이트는 메이크/브레이크 비트, 키 코드를 포함하며, 상기 제3 바이트는 상기 제2 바이트의 인버티드 데이터를 포함한다.The received keyboard data includes first to third bytes, the first byte includes a reader, a special bit, and an inverted bit of the special bit, and the second byte includes a make / break bit, a key code Wherein the third byte includes inverted data of the second byte.

먼저, 키보드 데이터를 수신하는 단계(S71-S73)에서는 제1 바이트(B1), 제2 바이트(B2) 및 제3 바이트(B3)를 포함하는 데이타를 무선으로 수신하는데, 이에 대해서 구체적으로 설명하면, 이 단계의 제1 과정에서는 수신되는 무선신호를 원래의 키보드 데이터로 복원하고, 그 다음, 제2 과정에서는 복원된 데이터에 포함된 제1 내지 제3 바이트를 그 시작비트(ST)와 종료 비트(STP)로 각각 인식하며, 그 다음, 제3 과정에서는 제1 바이트(B1)의 리더(L)에 기초해서 데이터 인지 판단한다. 그리고, 제4 과정에서는 해당 데이타일 경우에는 제1 바이트(B1), 제2 바이트(B2) 및 제3 바이트(B3)를 포함하는 키보드 데이타를 수신한다.First, in the step of receiving keyboard data (S71-S73), data including the first byte B1, the second byte B2, and the third byte B3 is wirelessly received. In the first step of this step, the received radio signal is restored to the original keyboard data, and in the second step, the first to third bytes included in the restored data are replaced with the start bit (ST) and the end bit. (STP), respectively, and then, in the third process, it is determined whether the data is based on the reader L of the first byte B1. In the fourth process, in the case of the corresponding data, keyboard data including the first byte B1, the second byte B2, and the third byte B3 is received.

그리고, 전송 에러를 체크하는 단계(S74)에서는 키보드 데이타의 제2 바이트(B2)와 제3 바이트(B3)에 기초해서 전송 에러를 체크하는데, 이에 대해서 구체적으로 설명하면, 이 단계의 제1 과정에서는 키보드 데이터에 포함되는 각 바이트내의 패리티 비트(P)를 이용하여 각 바이트의 전송에러를 체크하며, 그 다음, 제2 과정에서는 제2 바이트(B2)의 인버티드 데이타가 제3 바이트(B3)와 동일한지의 여부로 전송에러를 체크한다. 그리고, 제3 과정에서는 상기 제1 과정 및 제2 과정 에서 전송에러가 있는 경우에는 수신받은 키보드 데이타를 버리고, 전송 에러가 없을 경우에는 다음 단계로 진행한다. In operation S74, the transmission error is checked on the basis of the second byte B2 and the third byte B3 of the keyboard data. Specifically, the transmission error is checked. In this case, the transmission error of each byte is checked using the parity bit (P) in each byte included in the keyboard data. In the second process, the inverted data of the second byte (B2) is stored in the third byte (B3). Check for a transmission error whether or not it is equal to. In the third process, if there is a transmission error in the first process and the second process, the received keyboard data is discarded. If there is no transmission error, the process proceeds to the next step.

그리고, 메이크인지 브레이크인지를 판단하는 단계(S75)에서는 수신받은 데이타의 제2 바이트(B2)에 포함된 메이크/브레이크 비트(M/B)를 기초해서 메이크인지 브레이크인지를 판단하는데, 이는 상기 제2 바이트(B2)의 메이크/브레이크 비트(M/B)가 세트된 경우에는 메이크로 판단하고, 메이크/브레이크 비트가 클리어된 경우에는 브레이크로 판단한다.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, it is determined as a make, and when the make / break bit is cleared, it is determined as a break.

그리고, 메이크 코드를 생성하는 단계(S77a-S77c)에서는 메이크인 경우, 제1 바이트(B1)에 포함된 스페셜 비트(SP)에 기초해서 기능 변환키인지 판단하고, 기능 변환키 인 경우에는 스페셜비트(SP)를 세트한 후 메이크 코드를 생성하는데, 이 단계에서는 제2 바이트(B2)의 스페셜 비트(SP)가 세트된 경우에는 기능 변환키로 인식하고, 스페셜 비트가 클리어된 경우에는 일반키로 인식한다.In the case of making a make code (S77a to S77c), in case of 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 second byte B2 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 바이트에 포함된 스페셜 비트에 기초해서 기능 변환키인지 판단하고, 기능 변환키가 아닌 경우에는 스페셜비트를 클리어 한 후 브레이크 코드를 생성하는데, 이 단계는 제2 바이트의 스페셜 비트가 세트된 경우에는 기능 변환키로 인식하고, 스페셜 비트가 클리어된 경우에는 일반키로 인식한다.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 second 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.

전술한 바와 같이, 본 발명은 기존 방식의 4PPM을 사용하지 않고, 어떠한 변조방식을 사용하여도 건전지 소모량을 일정하게 유지시킬 수 있고, 기능키가 계속적으로 확장되어도 데이타 필드에 변화를 주지 않으므로 데이타 사이즈도 일정하게 유지시키는 새로운 통신 프로토콜을 제안하고, 이 새로운 프로토콜에 의하면, 고정 비트를 제외하고는 데이타의 변화가 있는 부분에 항상 인버터 데이타를 할당함으로써 건전지 소모량을 일정하게 유지시킴은 물론이고 데이타 사이즈를 일정하게 유지시킨다. 또한 각 데이터의 인버티드 데이타가 존재하여 별도의 체크섬(CHECKSUM)을 둘 필요가 없이 데이터의 오류상태를 정확히 읽어낼 수 있으며, 기능 변환키의 비트를 한 비트만 줌으로써 기능 변환키가 확장이 되더라도 데이타 사이즈가 향후에 변경되지 않는 장점을 가지고 있다.As described above, the present invention does not use the conventional 4PPM, it is possible to keep the battery consumption constant by using any modulation method, and the data size is not changed even if the function key is continuously extended We propose a new communication protocol that keeps constant, and according to this new protocol, allocating inverter data to the part of the data change except for the fixed bit, not only keeps battery consumption constant but also maintains 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.

상술한 바와 같은 본 발명에 따르면, 새로운 프로토콜에 기초해서, 고정 데이타를 제외하고 입력키에 따라 변화가 있는 변동 데이타와 함께 이 변동 데이타의 인버티드 데이터(Inverted data)를 제공함으로서, 체크섬(checksum)을 위한 비트를 별도로 할당할 필요가 없고, 또한, 데이터 오류를 정확하게 확인할 수 있고, 변조방식에 관계없이 건전지 소모량을 일정하게 유지시킬 수 있으며, 데이타 사이즈(DATA SIZE)의 증가 없이도 별도의 기능키를 추가할 수 있도록 하는 무선 키보드 데이터 송신 및 수신방법에 관한 것이다.According to the present invention as described above, on the basis of the new protocol, by providing the inverted data of the variation data with the variation data depending on the input key except the fixed data, a checksum is provided. There is no need to allocate a separate bit for data, it is possible to check the data error accurately, to keep the battery consumption constant regardless of the modulation method, and to use a separate function key without increasing the data size. The present invention relates to a wireless keyboard data transmission and reception method that can be added.

이상의 설명은 본 발명의 구체적인 실시 예에 대한 설명에 불과하고, 본 발명은 이러한 구체적인 실시 예에 한정되지 않으며, 또한, 본 발명에 대한 상술한 구체적인 실시 예로부터 그 구성의 다양한 변경 및 개조가 가능하다는 것을 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 쉽게 알 수 있다.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 (24)

데이타 무선 송신부에서 데이타를 생성하여 무선 수신부로 데이타를 무선으로 송신하는 방법에 있어서,A method of generating data in a data wireless transmitter and wirelessly transmitting data to a wireless receiver, 고정 데이터와 변동 데이타를 포함하고, 상기 변동 데이타의 인버티드 데이터를 포함하는 데이터 구조를 갖는 프로토콜을 이용하여, 키입력에 해당하는 고정 데이터, 변동데이타 및 인버티드 데이터를 포함하는 키보드 데이터를 무선 송신하는 것을 특징으로 하는 무선 키보드 데이터 송신방법.Wireless transmission of keyboard data including fixed data, change data and inverted data corresponding to key inputs, using a protocol having a data structure including fixed data and change data and including inverted data of the change data Wireless keyboard data transmission method, characterized in that. 제1항에 있어서, 상기 고정 데이터는 리더를 포함하고,The method of claim 1, wherein the fixed data includes a reader, 상기 변동 데이터는 스페셜 비트, 메이크/브레이크 비트 및 키 코드를 포함하며,The variation data includes a special bit, a make / break bit and a key code, 상기 인버티드 데이터는 스페셜 비트, 메이크/브레이크 비트 및 키 코드 각각의 인버티드 데이터를 포함하는 것을 특징으로 하는 무선 키보드 데이터 송신방법.And the inverted data includes inverted data of a special bit, a make / break bit, and a key code. 제2항에 있어서, 상기 스페셜 비트 및 스페셜 비트의 인버티드 비트는 The method of claim 2, wherein the inverted bits of the special bits and special bits are 각각 1비트로 이루어진 것을 특징으로 하는 무선 키보드 데이터 송신방법.Wireless keyboard data transmission method, characterized in that each consisting of 1 bit. 제3항에 있어서,The method of claim 3, 키가 입력되면 고정 비트의 리더와, 기능변환 정보를 갖는 스페셜 비트를 포함하는 제1 바이트를 생성하는 단계;Generating a first byte comprising a fixed bit reader and a special bit having function conversion information when a key is input; 메이크/브레이크 비트와, 이 메이크/브레이크 비트 상태에 해당되는 키 코드를 생성하고, 이 메이크/브레이크 비트 및 키 코드를 포함하는 제2 바이트를 생성하는 단계;Generating a make / break bit and a key code corresponding to the make / break bit state and generating a second byte including the make / break bit and the key code; 상기 제2 바이트의 인버티드 데이타인 제3 바이트를 생성하는 단계; 및Generating a third byte that is the inverted data of the second byte; And 상기 생성된 복수의 바이트를 포함하는 키보드 데이타를 무선신호로 변환하여 송신하는 단계; 를 구비한 것을 특징으로 하는 무선 키보드 데이터 송신방법.Converting and transmitting the keyboard data including the generated plurality of bytes into a wireless signal; Wireless keyboard data transmission method comprising the. 제4항에 있어서, 상기 제1 바이트를 생성하는 단계는The method of claim 4, wherein generating the first byte 기능 변환키가 메이크되면 스페셜 비트를 세트하고, 기능 변환키가 브레이크되면 스페셜 비트를 클리어하는 것을 특징으로 하는 무선 키보드 데이터 송신방법.A special bit is set when a function conversion key is made, and a special bit is cleared when the function conversion key is broken. 제4항에 있어서, 상기 데이타를 무선신호로 변환하여 송신하는 단계는The method of claim 4, wherein converting the data into a wireless signal and transmitting the data 전송할 각 바이트 전후에 시작비트 및 종료비트를 추가하는 것을 특징으로 하는 무선 키보드 데이터 송신방법.A wireless keyboard data transmission method comprising adding a start bit and an end bit before and after each byte to be transmitted. 제6항에 있어서, 상기 데이타를 무선신호로 변환하여 송신하는 단계는The method of claim 6, wherein converting the data into a wireless signal and transmitting the data 상기 생성된 복수의 바이트를 포함하는 키보드 데이터를 패킷 단위의 무선신호로 변환하여 송신하는 것을 특징으로 하는 무선 키보드 데이터 송신방법. And converting the keyboard data including the generated plurality of bytes into a wireless signal in a packet unit and transmitting the converted keyboard data. 데이타 무선 송신부에서 송신되는 데이타를 무선 수신부에서 무선으로 수신하는 방법에 있어서,In the method for wirelessly receiving data transmitted from the data wireless transmission unit in the wireless receiving unit, 고정 데이터와 변동 데이타를 포함하고, 상기 변동 데이타의 인버티드 데이터를 포함하는 데이터 구조를 갖는 프로토콜을 이용하여, 고정 데이터, 변동 데이터 및 인버티드 데이터를 포함하는 키보드 데이터를 수신하는 것을 특징으로 하는 무선 키보드 데이터 수신방법.Receiving keyboard data including fixed data, variation data, and inverted data by using a protocol having a data structure including fixed data and variation data and including inverted data of the variation data. How to receive keyboard data. 제8항에 있어서, 상기 수신하는 데이터중 고정 데이터는 리더를 포함하고,The method of claim 8, wherein the fixed data of the received data comprises a reader, 상기 변동 데이터는 스페셜 비트, 메이크/브레이크 비트 및 키 코드를 포함하고,The variation data includes a special bit, a make / break bit and a key code, 상기 인버티드 데이터는 스페셜비트, 메이크/브레이크 비트 및 키 코드 각각에 대한 인버티드 데이터를 포함하는 것을 특징으로 하는 무선 키보드 데이터 수신방법.The inverted data includes inverted data for each of a special bit, a make / break bit, and a key code. 제9항에 있어서, 상기 스페셜 비트 및 스페셜 비트의 인버티드 비트는 10. The method according to claim 9, wherein the inverted bits of the special bit and the special bit are 각각 1비트인 것을 특징으로 하는 무선 키보드 데이터 수신방법.Wireless keyboard data receiving method, characterized in that each one bit. 제10항에 있어서, 상기 수신하는 키보드 데이터는The method of claim 10, wherein the keyboard data to be received 제1 내지 제3 바이트를 포함하고,Including first to third bytes, 상기 제1 바이트는 리더, 스페셜 비트, 그리고 상기 스페셜 비트의 인버티드 비트를 포함하고,The first byte includes a leader, a special bit, and an inverted bit of the special bit, 상기 제2 바이트는 메이크/브레이크 비트, 키 코드를 포함하고,The second byte includes a make / break bit, a key code, 상기 제3 바이트는 상기 제2 바이트의 인버티드 데이터를 포함하는 것을 특징으로 하는 무선 키보드 데이터 수신방법.And said third byte comprises inverted data of said second byte. 제11항에 있어서, 무선 키보드 데이터 수신방법은The method of claim 11, wherein the wireless keyboard data receiving method is 상기 제1 바이트 내지 제3 바이트를 포함하는 키보드 데이터를 무선으로 수신하는 단계;Wirelessly receiving keyboard data comprising the first to third bytes; 상기 제2 바이트 및 제3 바이트의 데이터에 기초해서 전송 에러를 체크하는 단계;Checking a transmission error based on the data of the second byte and the third byte; 상기 제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; 브레이크인 경우, 상기 제1 바이트의 스페셜 비트에 기초해서 기능 변환키인지 판단하고, 기능 변환키가 아닌 경우에는 스페셜비트를 클리어한 후 브레이크 코드를 생성하는 단계; 및Determining whether it is a function conversion key based on the special bit of the first byte, and generating a break code after clearing the special bit if it is not a function conversion key; And 상기 스페셜비트, 메이크 코드 또는 브레이크 코드, 키 코드에 따라 해당 동 작을 처리하는 단계; 를 구비함을 특징으로 하는 무선 키보드 데이터 수신방법.Processing a corresponding operation according to the special bit, make code, break code, or key code; Wireless keyboard data receiving method comprising the. 제12항에 있어서, 상기 키보드 데이타를 무선으로 수신하는 단계는13. The method of claim 12, wherein wirelessly receiving the keyboard data 수신되는 무선신호에서 원래의 키보드 데이터로 복원하는 제1 과정;Recovering the original keyboard data from the received radio signal; 상기 복원된 키보드 데이터에 포함되는 제1 내지 제3 바이트를 그 시작비트와 종료 비트를 통해 인식하는 제2 과정;A second process of recognizing first to third bytes included in the restored keyboard data through the start bit and the end bit; 상기 제1 바이트의 리더에 기초해서 키보드 데이타인지 판단하는 제3 과정; 및Determining whether the data is keyboard data based on the reader of the first byte; And 키보드 데이타일 경우에는 상기 제1 바이트 내지 제3 바이트를 포함하는 키보드 데이타를 수신하는 제 4과정; 을 포함하는 것을 특징으로 하는 무선 키보드 데이터 수신방법.A fourth step of receiving keyboard data including the first to third bytes in the case of keyboard data; Wireless keyboard data receiving method comprising a. 제12항에 있어서, 상기 전송 에러를 체크하는 단계는The method of claim 12, wherein the checking of the transmission error 상기 수신받은 키보드 데이터의 각 바이트내의 패리티 비트를 이용하여 각 바이트의 전송에러를 체크하는 제1 과정;A first step of checking a transmission error of each byte using parity bits in each byte of the received keyboard data; 상기 제2 바이트의 인버티드 데이타가 제3 바이트와 동일한지의 여부로 전송에러를 체크하는 제2 과정; A second step of checking a transmission error whether or not the inverted data of the second byte is equal to the third byte; 상기 제1 과정 및 제2 과정에서 전송에러가 있는 경우에는 수신받은 키보드 데이타를 버리고, 전송 에러가 없을 경우에는 다음 단계로 진행하는 제3 과정; 을 포함하는 것을 특징으로 하는 무선 키보드 데이터 수신방법.A third step of discarding the received keyboard data if there is a transmission error in the first and second processes, and proceeding to the next step if there is no transmission error; Wireless keyboard data receiving method comprising a. 제12항에 있어서, 상기 메이크인지 브레이크인지를 판단하는 단계는The method of claim 12, wherein determining whether the make or the 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 to be a break. 제12항에 있어서, 상기 메이크 코드를 생성하는 단계 및 상기 브레이크 코드를 생성하는 단계는The method of claim 12, wherein generating the make code and generating the break code 상기 제2 바이트의 스페셜 비트가 세트된 경우에는 기능 변환키로 인식하고, 스페셜 비트가 클리어된 경우에는 일반키로 인식하는 것을 특징으로 하는 무선 키보드 데이터 수신방법.And if the special bit of the second byte is set, recognizes it as a function conversion key, and if the special bit is cleared, recognizes it as a general key. 데이타 무선 송신부와 무선 수신부 사이에서 데이타를 무선으로 송수신하는 방법에 있어서,A method of wirelessly transmitting and receiving data between a data wireless transmitter and a wireless receiver, 고정 비트의 리더와, 기능변환 정보를 갖는 1비트의 스페셜 비트를 포함하는 제1 바이트를 생성하는 단계;Generating a first byte comprising a fixed bit reader and a special bit of one bit having functional conversion information; 메이크/브레이크 비트와, 이 메이크/브레이크 비트 상태에 해당되는 키 코드를 생성하고, 이 메이크/브레이크 비트 및 키 코드를 포함하는 제2 바이트를 생성하는 단계;Generating a make / break bit and a key code corresponding to the make / break bit state and generating a second byte including the make / break bit and the key code; 상기 제2 바이트의 인버티드 데이타인 제3 바이트를 생성하는 단계;Generating a third byte that is the inverted data of the second byte; 상기 생성된 복수의 바이트를 포함하는 키보드 데이타를 무선신호로 변환하여 송신하는 단계; Converting and transmitting the keyboard data including the generated plurality of 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 if not, generating a break code after clearing the special bit; And 상기 스페셜비트, 메이크 코드 또는 브레이크 코드, 키 코드에 따라 해당 동작을 처리하는 단계; 를 구비함을 특징으로 하는 무선 키보드 데이터 송수신방법.Processing a corresponding operation according to the special bit, make code, break code, or key code; Wireless keyboard data transmission and reception method comprising the. 데이타 무선 송신부에서 데이타를 생성하여 무선 수신부로 데이타를 무선으로 송신하기 위한 프로토콜에 있어서,In the protocol for generating data in the data wireless transmission unit and transmitting data wirelessly to the wireless reception unit, 고정 데이터와 변동 데이타를 포함하고, 상기 변동 데이타의 인버티드 데이터를 포함하는 데이터 구조를 갖는 것을 특징으로 하는 무선 키보드 데이터 송신 프로토콜.And a data structure including fixed data and variation data, and including inverted data of the variation data. 제18항에 있어서, 상기 고정 데이터는 리더를 포함하고,19. The apparatus of claim 18, wherein the fixed data includes a reader, 상기 변동 데이터는 스페셜 비트, 메이크/브레이크 비트 및 키 코드를 포함하며,The variation data includes a special bit, a make / break bit and a key code, 상기 인버티드 데이터는 스페셜 비트, 메이크/브레이크 비트 및 키 코드 각각의 인버티드 데이터를 포함하는 것을 특징으로 하는 무선 키보드 데이터 송신 프로토콜.And said inverted data includes inverted data of each of a special bit, a make / break bit, and a key code. 제19항에 있어서, 상기 스페셜 비트 및 스페셜 비트의 인버티드 비트는 20. The method of claim 19, wherein the inverted bits of the special bits and special bits are 각각 1비트로 이루어진 것을 특징으로 하는 무선 키보드 데이터 송신 프로토콜.A wireless keyboard data transmission protocol comprising one bit each. 제20항에 있어서,The method of claim 20, 키가 입력되면 고정 비트의 리더와, 기능변환 정보를 갖는 스페셜 비트를 포함하는 제1 바이트를 생성하는 수단;Means for generating a first byte comprising a reader of fixed bits and a special bit having function conversion information when a key is input; 메이크/브레이크 비트와, 이 메이크/브레이크 비트 상태에 해당되는 키 코드를 생성하고, 이 메이크/브레이크 비트 및 키 코드를 포함하는 제2 바이트를 생성 하는 수단;Means for generating a make / break bit and a key code corresponding to the make / break bit state and generating a second byte including the make / break bit and the key code; 상기 제2 바이트의 인버티드 데이타인 제3 바이트를 생성하는 수단; 및Means for generating a third byte that is the inverted data of the second byte; And 상기 생성된 복수의 바이트를 포함하는 키보드 데이타를 무선신호로 변환하여 송신하는 수단; 를 구비한 것을 특징으로 하는 무선 키보드 데이터 송신 프로토콜.Means for converting the keyboard data including the generated plurality of bytes into a radio signal for transmission; Wireless keyboard data transmission protocol comprising a. 제21항에 있어서, 상기 제1 바이트를 생성하는 수단은22. The apparatus of claim 21, wherein the means for generating the first byte is 기능 변환키가 메이크되면 스페셜 비트를 세트하고, 기능 변환키가 브레이크되면 스페셜 비트를 클리어하는 것을 특징으로 하는 무선 키보드 데이터 송신 프로토콜.A special bit is set when a function conversion key is made, and a special bit is cleared when the function conversion key is broken. 제21항에 있어서, 상기 데이타를 무선신호로 변환하여 송신하는 수단은22. The apparatus of claim 21, wherein the means for converting the data into a wireless signal and transmitting the data 전송할 각 바이트 전후에 시작비트 및 종료비트를 추가하는 것을 특징으로 하는 무선 키보드 데이터 송신 프로토콜.A wireless keyboard data transmission protocol comprising a start bit and an end bit before and after each byte to be transmitted. 제23항에 있어서, 상기 데이타를 무선신호로 변환하여 송신하는 수단은24. The apparatus of claim 23, wherein the means for converting the data into a radio signal for transmission is 상기 생성된 복수의 바이트를 포함하는 키보드 데이터를 패킷 단위의 무선신호로 변환하여 송신하는 것을 특징으로 하는 무선 키보드 데이터 송신 프로토콜. Wireless keyboard data transmission protocol, characterized in that for converting the keyboard data including the generated plurality of bytes into a wireless signal of a packet unit.
KR1020020079065A 2002-12-12 2002-12-12 Method for transmitting and receiving data of wireless keyboard and its protocol KR20100080953A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
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
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 (1)

Application Number Priority Date Filing Date Title
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
KR20100080953A true KR20100080953A (en) 2010-07-14

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 After (1)

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

Country Status (1)

Country Link
KR (2) KR20100080953A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
KR20040051477A (en) 2004-06-18

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
KR20100080953A (en) Method for transmitting and receiving data of wireless keyboard and its protocol
JP2004192605A (en) Data transmission and reception method for wireless keyboard
JP2001075715A (en) Data transmission method for wireless keyboard equipped with track ball
EP0584464A1 (en) Infrared ray receiving and transmitting system
US7139257B2 (en) System and method for coding and identification in a wireless transmit and receive protocol for single-frequency peripheral devices
KR20040059610A (en) Remote controller system
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
CN105718777A (en) Terminal screen unlocking/locking method, earphone, terminal and system
KR200281004Y1 (en) Laser Pointer
JP3132203B2 (en) Wireless input device
CN112748846A (en) Remote control method of electronic whiteboard and electronic whiteboard
JP2002055764A (en) Wireless keyboard and infrared transmission code for pc remote controller
JPH09190263A (en) Key data format for wireless data input system
EP1659742A1 (en) Method and device for preventing interference of transmission frequency from electronic products
KR200304658Y1 (en) Laser Pointing System
CN112581742A (en) Method and device for controlling electronic whiteboard through infrared remote control and storage medium
US20060111049A1 (en) Method and device for preventing interference of transmission frequency from electronic products
WO2006137642A1 (en) Method for transmitting scan data of wireless input device and ir protocol therefor
KR19980034104A (en) Wireless keyboard system scan data transmission and reception method of personal computer
JPH10289048A (en) Information input device

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination