KR100298981B1 - Local radio communication method by use of bluetooth - Google Patents

Local radio communication method by use of bluetooth Download PDF

Info

Publication number
KR100298981B1
KR100298981B1 KR1019990035610A KR19990035610A KR100298981B1 KR 100298981 B1 KR100298981 B1 KR 100298981B1 KR 1019990035610 A KR1019990035610 A KR 1019990035610A KR 19990035610 A KR19990035610 A KR 19990035610A KR 100298981 B1 KR100298981 B1 KR 100298981B1
Authority
KR
South Korea
Prior art keywords
bluetooth module
data
packet
bluetooth
slave
Prior art date
Application number
KR1019990035610A
Other languages
Korean (ko)
Other versions
KR20010019277A (en
Inventor
박재한
강우식
Original Assignee
윤종용
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019990035610A priority Critical patent/KR100298981B1/en
Publication of KR20010019277A publication Critical patent/KR20010019277A/en
Application granted granted Critical
Publication of KR100298981B1 publication Critical patent/KR100298981B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1698Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a sending/receiving arrangement to establish a cordless communication link, e.g. radio or infrared link, integrated cellular phone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

블루투스를 이용한 근거리 무선 통신 방법에 있어서, 마스터측 블루투스 모듈에서 적어도 하나 이상의 슬레이브측 블루투스 모듈로 데이터의 전송을 허락하는 미리 설정된 패킷을 순차적으로 송신하며, 슬레이브측 블루투스 모듈에서 전송된 미리 설정된 데이터 패킷을 수신받아 복조하여 해당 호스트로 제공하며, 슬레이브측 블루투스 모듈 각각에서 마스터측 블루투스 모듈에서 전송된 데이터 전송을 허락하는 미리 설정된 패킷을 수신받아 해당 호스트의 전송 데이터를 변조하여 마스터측 블루투스 모듈로 제공한다.In a short-range wireless communication method using Bluetooth, a predetermined packet allowing data transmission from a master Bluetooth module to at least one slave Bluetooth module is sequentially transmitted, and a preset data packet transmitted from a slave Bluetooth module is transmitted. After receiving and demodulating and providing the host to the host, the slave module receives a preset packet allowing data transmission from the master Bluetooth module, modulates the transmission data of the host, and provides the master module with the master module.

Description

블루투스를 이용한 근거리 무선 통신 방법{LOCAL RADIO COMMUNICATION METHOD BY USE OF BLUETOOTH}Near field communication method using Bluetooth {LOCAL RADIO COMMUNICATION METHOD BY USE OF BLUETOOTH}

본 발명은 근거리 무선 통신에 관한 기술로서, 특히 블루투스(bluetooth)를 이용한 컴퓨터와 그 주변장치간의 무선 인터페이스에 적용됨이 바람직한 근거리 무선 통신 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to short-range wireless communication, and more particularly, to a short-range wireless communication method that is preferably applied to a wireless interface between a computer using Bluetooth and its peripheral device.

최근들어, 무선 통신 및 컴퓨터 산업은 저비용, 저전력의 무선 장치 또는 무선 링크 등이 실제로 가능하다는 것을 깨달았다. 이러한 무선 통신은 최근 개발 추세에 따라 점차 소형 및 휴대성을 강조하는 장치간의 통신 및 사무 기기간의 복잡한 연결 케이블의 제거를 위한 기초를 제공한다.In recent years, the wireless communications and computer industries have realized that low cost, low power wireless devices or wireless links are indeed possible. Such wireless communication provides a basis for the elimination of complicated connection cables between office devices and communication between devices, which emphasizes the compactness and portability, in accordance with recent development trends.

이에 관한 다양한 연구가 진행되었으며, 에릭슨(Ericsson)(사)에서 전문적인 코드, 이름하여 '블루투스(Bluetooth)'가 정의되었다. 블루투스의 목표는 소형의 단거리 무선에 따른 기동성과 비즈니스 사용자를 위한 편리한 서비스를 제공하는 것이다. 블루투스는 휴대 가능한 컴퓨터와 통신 장치의 사용 모델을 최적화한 기술적 특성을 정의하였다. 블루투스는 저비용, 견고함, 능률, 높은 용량, 특히 음성과 데이터 네트워킹을 제공하기 위해 특별히 디자인되었다.Various studies have been conducted on this, and a professional code, namely 'Bluetooth' has been defined at Ericsson. The goal of Bluetooth is to provide mobility and convenience services for business users due to the small, short-range radio. Bluetooth has defined technical characteristics that optimize the usage model of portable computers and communication devices. Bluetooth is specifically designed to provide low cost, robustness, efficiency, high capacity, especially voice and data networking.

이러한 블루투스는 개인용 컴퓨터, 키보드, 마우스, 모니터, 프린터 등으로 이루어진 컴퓨터시스템에 적용 가능하다.Such Bluetooth is applicable to a computer system consisting of a personal computer, a keyboard, a mouse, a monitor, a printer, and the like.

본 발명의 목적은 블루투스를 이용하여 컴퓨터와 그 주변장치간의 무선 인터페이스에 적용됨이 바람직한 근거리 무선 통신 방법을 제공함에 있다.An object of the present invention is to provide a short-range wireless communication method that is preferably applied to a wireless interface between a computer and its peripheral device using Bluetooth.

상기한 목적을 달성하기 위하여 본 발명은 블루투스를 이용한 근거리 무선 통신 방법에 있어서, 마스터측 블루투스 모듈에서 적어도 하나 이상의 슬레이브측 블루투스 모듈로 데이터의 전송을 허락하는 미리 설정된 패킷을 순차적으로 송신하며, 상기 슬레이브측 블루투스 모듈에서 전송된 미리 설정된 데이터 패킷을 수신받아 복조하여 해당 호스트로 제공하는 과정과, 상기 슬레이브측 블루투스 모듈 각각에서 상기 마스터측 블루투스 모듈에서 전송된 데이터 전송을 허락하는 미리 설정된 패킷을 수신받아 해당 호스트의 전송 데이터를 변조하여 상기 마스터측 블루투스 모듈로 제공하는 과정을 가짐을 특징으로 한다.In order to achieve the above object, the present invention provides a short-range wireless communication method using Bluetooth, which sequentially transmits a predetermined packet allowing data transmission from a master Bluetooth module to at least one slave Bluetooth module, and wherein the slave Receiving and demodulating the preset data packet transmitted from the Bluetooth module on the side and providing the host to the host; receiving the preset packet allowing the data transmission from the master Bluetooth module in the slave module. And modulating the transmission data of the host to provide the master module with the Bluetooth module.

도 1은 컴퓨터 시스템의 개략도,1 is a schematic diagram of a computer system,

도 2는 블루투스 모듈의 개략적인 하드웨어 구성 블록도,2 is a schematic hardware block diagram of a Bluetooth module;

도 3은 블루투스 모듈의 기능 블록도,3 is a functional block diagram of a Bluetooth module;

도 4는 본 발명의 일 실시예에 따른 전송 패킷 포맷도,4 is a transport packet format diagram according to an embodiment of the present invention;

도 5는 블루투스 표준에 따른 조회(inquiry) 동작 흐름도,5 is a flowchart of an inquiry operation according to a Bluetooth standard;

도 6은 블루투스 표준에 따른 연결 동작 흐름도,6 is a flowchart illustrating a connection operation according to a Bluetooth standard;

도 7은 본 발명의 일 실시예에 따른 컴퓨터 본체의 동작 흐름도,7 is an operation flowchart of a computer main body according to an embodiment of the present invention;

도 8은 본 발명의 일 실시예에 따른 키보드 또는 마우스의 동작 흐름도.8 is an operation flowchart of a keyboard or a mouse according to an embodiment of the present invention.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명에서는 구체적인 구성 소자 등과 같은 특정 사항들이 나타나고 있는데 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정 사항들이 본 발명의 범위 내에서 소정의 변형이나 혹은 변경이 이루어질 수 있음은 이 기술분야에서 통상의 지식을 가진 자에게는 자명하다 할 것이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, specific details such as specific components are shown, which are provided to help a more general understanding of the present invention, and it is understood that these specific details may be changed or changed within the scope of the present invention. It is self-evident to those of ordinary knowledge in Esau.

도 1은 컴퓨터시스템의 개략도이다. 도 1의 (a)는 일반적인 컴퓨터시스템이며, 도 1의 (b)는 본 발명의 일 실시예에 따른 컴퓨터시스템이다. 본 발명의 컴퓨터 시스템에는 컴퓨터 본체(10), 키보드(12), 마우스(14)에 무선 통신 모듈 즉, 블루투스 모듈이 장착된다. 도 1의 (b)를 참조하면, 컴퓨터 본체(10) 및 키보드(12)에 블루투스 모듈이 장착되며, 상호간에 블루투스 표준안에 따라 무선 통신을 수행한다.1 is a schematic diagram of a computer system. Figure 1 (a) is a general computer system, Figure 1 (b) is a computer system according to an embodiment of the present invention. The computer system of the present invention is equipped with a wireless communication module, that is, a Bluetooth module, on the computer main body 10, the keyboard 12, and the mouse 14. Referring to FIG. 1B, a Bluetooth module is mounted on the computer main body 10 and the keyboard 12, and wireless communication is performed according to a Bluetooth standard.

도 2는 블루투스 모듈의 개략적인 하드웨어 구성 블록도이다. 도 2에 도시된 블루투스 모듈(20, 25)은 각각 컴퓨터 본체(10)와 키보드(12)에 장착된다. 각각의구성은 블루투스 표준에 따른 데이터 패킷을 무선 송수신하는 RF송신부(24, 29) 및 RF수신부(23, 28)와, RF송신부(24, 29) 및 RF수신부(23, 28)에서 송수신되는 되는 신호를 변복조 처리하는 기저대역처리부(22, 27)와, 모듈의 전체적인 동작을 제어하는 제어부(21, 26)로 구성된다.2 is a schematic hardware block diagram of a Bluetooth module. The Bluetooth modules 20 and 25 shown in FIG. 2 are mounted to the computer body 10 and the keyboard 12, respectively. Each configuration is transmitted and received by the RF transmitter 24, 29 and the RF receiver 23, 28, and the RF transmitter 24, 29 and RF receiver 23, 28 to wirelessly transmit and receive data packets according to the Bluetooth standard. The baseband processor 22, 27 for modulating and demodulating the signal, and the controller 21, 26 for controlling the overall operation of the module.

도 3은 블루투스 모듈의 기능 블록도이다. 통신의 주체를 호스트(host)(30)라 하고 이의 요구를 수용하여 블루투스 표준안에 따라 다른 블루투스 기기와 통신을 가능하게 하는 기기를 블루투스 모듈(35)이라 한다. 호스트(30)와 블루투스 모듈(35)간에는 HCI(Host Control Interface)라고 하는 인터페이스가 정의되고 이에 준하는 메시지(packet)를 주고 받음으로써 제어 명령과, 이의 결과 및 사용자의 송수신 데이터가 오고 간다. HCI 패킷을 실제로 전달하는 것으로는 널리 알려진 RS232C를 비롯하여 USB, 표준 PC 인터페이스 등이 활용될 수 있다.3 is a functional block diagram of a Bluetooth module. The subject of communication is called a host 30, and a device that accepts its request and enables communication with other Bluetooth devices according to the Bluetooth standard is called a Bluetooth module 35. An interface called an HCI (Host Control Interface) is defined between the host 30 and the Bluetooth module 35, and a control command, a result thereof, and a user's transmission / reception data come and go by exchanging a packet corresponding thereto. The actual forwarding of HCI packets can be done with the popular RS232C, USB and standard PC interfaces.

도 3을 참조하면, 호스트(30)에는 기타 다른 고 계층 드라이버(31)와, 블루투스 HCI 드라이버(32)와, 물리적버스, 즉 RS323C, USB, PC Card 등의 드라이버(33)가 구비되며, 블루투스 모듈(35)에는 HCI 펌웨어(firmware, 이하 HCI라 약칭함)(36)와, 링크메니저 펌웨어(Link Manage firmware, 이하 LM이라 약칭함)(37) 및 기저대역제어부(38)가 구비된다. 호스트 제어부의 송신 계층은 물리적버스드라이버(33)와 물리적버스펌웨어(34)로 이루어진다.Referring to FIG. 3, the host 30 includes other high layer drivers 31, a Bluetooth HCI driver 32, and a driver 33 such as a physical bus, that is, an RS323C, USB, and PC Card. The module 35 is provided with HCI firmware (hereinafter referred to as HCI) 36, a link manager firmware (hereinafter referred to as LM) 37 and a baseband controller 38. The transmission layer of the host controller is composed of a physical bus driver 33 and a physical bus firmware 34.

HCI 패킷은 명령(command), 이벤트(event), 데이터 패킷으로 구분되며, 명령 패킷은 블루투스 모듈을 다양하게 할용할 수 있도록 60여가지의 명령어를 제공하고 있다.The HCI packet is divided into command, event, and data packet, and the command packet provides 60 types of commands for using various Bluetooth modules.

블루투스 시스템은 통신을 위한 연결을 설정하기 전에 주변 블루투스 기기의 어드레스를 알아내기 위해 조회(inquiry) 과정을 수행한다. 이는 호스트가 HCI 명령어를 사용하여 블루투스 모듈에게 조회 절차를 시작하도록 함으로써 이루어진다. 실제 조회 과정을 수행하는 것은 기저대역 제어부와 무선인터페이스부이며 이의 결과는 HCI 이벤트로서 호스트에 보고된다.The Bluetooth system performs an inquiry process to find an address of a peripheral Bluetooth device before establishing a connection for communication. This is done by having the host initiate the inquiry procedure to the Bluetooth module using the HCI command. It is the baseband control unit and the wireless interface unit that perform the actual inquiry process and the result is reported to the host as an HCI event.

조회를 수행중이지 않는 블루투스 기기는 다른 블루투스 기기의 조회 과정에 대한 동작 상황이 허락하는 한 자신의 어드레스를 알려주며 이를 조회 스캔/응답(inquiry scan/response)이라 한다. 조회 과정에서 수집된 주변 블루투스 기기의 어드레스를 바탕으로 통신을 원하는 블루투스 기기의 어드레스를 선택, 연결을 설정하고 데이터를 주고 받는다. 이외에도 다양한 HCI 명령과 블루투스 모듈의 어드레스를 이용해 상대 블루투스 기기에 대한 정보를 알아낼 수 있다.A Bluetooth device that is not performing an inquiry informs its own address as long as the operation state of the inquiry process of another Bluetooth device allows, and this is called an inquiry scan / response. Based on the address of the peripheral Bluetooth device collected during the inquiry process, select the address of the Bluetooth device to communicate with, establish a connection, and send and receive data. In addition, various HCI commands and addresses of Bluetooth modules can be used to find out information about the other Bluetooth device.

도 5는 블루투스 표준에 따른 조회(inquiry) 동작 흐름도이다. 조회 과정을 수행하는 모듈에서 조회의 시작은 일정한 간격(interval)을 가지고 규칙적으로 조회를 하라는 명령을 호스트가 보낸다(50-1). 이 명령에 의해 링크메니저가 기저대역측을 제어하기 위해 레지스터에 값을 설정하고, 기저대역측에서는 조회 프로세스를 시작하게 된다(50-2). 조회 프로세스를 시작한 베이스밴드 측에서는 조회 패킷의 연속적인 전송으로 이루어진 조회 트래인(inquiry train)을 일정시간동안 계속 반복해서 전송한다(50-3).5 is a flowchart of an inquiry operation according to the Bluetooth standard. In the module that executes the inquiry process, the host starts to inquire a regular interval with a certain interval (50-1). This command causes the link manager to set a value in the register to control the baseband side, and start the inquiry process on the baseband side (50-2). The baseband, which initiates the inquiry process, repeatedly transmits an inquiry train composed of continuous transmission of inquiry packets for a predetermined time (50-3).

한편 전송 슬롯에서는 조회 패킷을 전송하지만, 수신 슬롯에서는 다른 모듈로부터의 응답을 기다린다. 만일 조회 스캔(inquiry scan)을 수행중인 모듈이 연속적인 조회 트래인 구간에서 조회 패킷을 수신하면, 해당 모듈은 난수(random number)를 발생하며, 조회 패킷을 수신했을 때의 주파수를 기억하고 나서 슬리프 상태로 간다. 이후 해당 모듈은 난수에 해당하는 슬롯의 시간이 경과한 후 슬리프 상태에서 깨어나 자신에게 트리거(trigger) 되었던 호핑 주파수(hopping frequency)가 오기를 기다리고, 이후 다시 한번 더 트리거 되면 자신의 전송 슬롯(상대 수신 슬롯)에서 조회에 대한 응답으로 FHS(Frequency Hopping Synchronous) 패킷을 전송한다(50-4, 5, 6).On the other hand, the transmission slot transmits an inquiry packet, but the reception slot waits for a response from another module. If a module performing an inquiry scan receives an inquiry packet in consecutive inquiry train intervals, the module generates a random number and remembers the frequency when the inquiry packet is received and then slips. Goes to the pf state. After that, the module wakes up from the sleep state after a random number of slots elapses and waits for a hopping frequency that has been triggered by the module. Receive Slots) transmits a Frequency Hopping Synchronous (FHS) packet in response to the inquiry (50-4, 5, 6).

FHS 패킷 전송 이후에 해당 모듈은 자신의 주파수 호핑 위상(frequency hopping phase)에 오프셋(offset) 1을 더하고 다시 난수를 발생한 다음, 난수 기간 동안 슬리프한 후 깨어나 호핑 주파수에 1의 오프셋을 더한 호핑 주파수를 기다린다. 이후 다시 한번 더 트리거되면 자신의 전송 슬롯(상대 RX 슬롯)에서 조회에 대한 응답으로 FHS 패킷을 전송한다. 그리고 다시 난수를 발생하고 오프셋 1을 더한 다음 슬리프하고, 이러한 스캔 타임 아웃될 때까지 반복한다.After sending the FHS packet, the module adds offset 1 to its frequency hopping phase, generates a random number again, sleeps during the random period, wakes up, and adds an offset of 1 to the hopping frequency. Wait. When triggered again, the FHS packet is transmitted in response to the inquiry in its transmission slot (relative RX slot). It then generates a random number, adds offset 1, then sleeps, and repeats until this scan timed out.

조회 응답으로 FHS 패킷을 수신한 모듈의 기저대역측은 응답이 수신되었음을 내부 레지스터에 설정된 값으로 알리고(50-7, 8, 9), 이러한 레지스터 설정에 의해 HCI에서는 조회의 결과를 호스트에 알리는 이벤트를 발생한다(50-10, 11, 12).The baseband side of the module that receives the FHS packet in the inquiry response informs the host that the response has been received with the value set in the internal register (50-7, 8, 9), and by setting this register, HCI informs the host of the result of the inquiry. Occurs (50-10, 11, 12).

조회는 마스터(master) 모듈이든 슬레이브(slave) 모듈이든 모든 모듈이 자신의 내부 카운터에 의해 조회해야할 시간이 돌아오면 실행된다. 단 이 경우는 조회가 주기적으로 설정되어 있을 경우이며 그렇지 않은 경우는 호스트를 통해서 명령이 내려올 때마다 실행된다. 조회를 실행하는 주기는 통상 1분 정도이며 호스트에서 HCI를 통해 기저대역측의 레지스터에 값을 세팅함으로써 조정할 수 있도록 되어 있다. 다른 블루투스 모듈도 조회를 할 수 있고 이에 따라 공교롭게 두 모듈이 동기되어 계속 같은 위상에서 조회하는 것을 피하기 위하여 조회 주기는 1분 ± 임의 시간으로 하여 동기되는 것을 피해야 한다.Inquiry is executed when all modules, whether master or slave modules, have returned the time they need to inquire by their internal counters. In this case, however, the inquiry is set periodically. Otherwise, it is executed every time a command is issued through the host. The frequency of executing an inquiry is usually about 1 minute and can be adjusted by setting a value in the register on the baseband side via HCI at the host. Other Bluetooth modules can also be queried, and as a consequence, they must be kept in sync for 1 minute ± any time in order to avoid synchronous lookup in the same phase.

조회는 총 79개의 호핑 주파수 중에서 32개를 선택해서 사용하고 32개의 선택은 블루투스 어드레스에 의해 독립적으로 정해진다. 조회 응답은 32개의 호핑 주파수 중 16개의 호핑 주파수로 구성된 8프레임 길이의 단일 트래인 256개가 모인 A_트래인과, 32개중 나머지 16개의 호핑 주파수로 구성된 8프레임 길이의 단일 트래인 256개의 B_트래인의 2회 반복으로 구성되어 있다.Inquiry uses 32 of the 79 hopping frequencies in total and 32 selections are independently determined by Bluetooth address. The inquiry response consists of an A_train of 256 eight-frame length trains consisting of 16 hopping frequencies out of 32 hopping frequencies, and 256 B_ trains of eight frame lengths consisting of the remaining 16 hopping frequencies of 32. It consists of two repetitions of the train.

이는 조회 모드에서 정상적인 연결 모드의 하나의 전송 구간에 2회의 전송이 이루어지고 수신 또한 2회가 이루어지며 주파수 또한 다른 주파수를 사용한다. 즉 이것은 정상적인 모드에서는 1600hops/s 이지만 조회 모드와 페이징(paging) 모드에서는 3200hops/s이다. 이것은 짧은 시간에 많은 조회 메시지를 전송하여 신속히 모듈을 찾기 위함이다. 단일 트래인은 8개의 프레임으로 구성되고 각 프레임은 전송과 수신으로 구성되며, 각 전송은 2회의 조회 패킷을 전송할 수 있으므로 하나의 단일 트래인에서 16개의 주파수를 전송할 수 있다.In the inquiry mode, two transmissions and two receptions are performed in one transmission period of the normal connection mode, and the frequency also uses a different frequency. This is 1600hops / s in normal mode but 3200hops / s in inquiry and paging mode. This is to find a module quickly by sending many inquiry messages in a short time. A single train consists of eight frames, each frame consists of transmission and reception, and each transmission can transmit two inquiry packets, thus transmitting sixteen frequencies in one single train.

주파수 호핑 순서는 블루투스 어드레스에 의해서, 호핑 위상은 블루투스 클럭에 의해 이루어진다. 즉 맵핑 박스(mapping, box)의 입력으로 블루투스 어드레스와 블루투스 클럭 그리고 전송/수신 선택이 입력으로 들어가면 그 출력으로 호핑 주파수 선택(hopping frequency selection) 출력이 나오게 된다.The frequency hopping order is by Bluetooth address and the hopping phase by Bluetooth clock. That is, when a Bluetooth address, a Bluetooth clock, and a transmit / receive selection are input to an input of a mapping box, a hopping frequency selection output is output to the output.

이러한 모드는 음성신호와 같은 우선순위가 높은 SCO 링크에 의해 방해를 받을 수 있고, 이 경우에는 조회의 단일 트래인 개수를 늘려 조회의 길이를 늘림으로써 방해받는 부분을 만회할 수 있도록 해야 한다.This mode can be interrupted by high priority SCO links, such as voice signals, in which case the number of single trains of the query must be increased to increase the length of the query to make up for the disturbed portion.

한편, 조회 스캔은 1.28초의 주기로 9 프레임 11.25ms 동안 스캔을 하고 나머지 기간은 대기(standby)하거나 다른 마스터와 통신을 한다. 조회 스캔은 통신량이 많을 경우 호스트에서 판단하여 오프할 수 있다. 또한 이 모드는 음성신호와 같은 우선순위가 높은 SCO 링크에 의해 방해받을 수 있고, 이 경우에는 스캔 윈도우(scan window)의 길이를 늘림으로써 방해받는 부분을 만회할 수 있도록 해야 한다.On the other hand, the inquiry scan scans for 11.25ms in 9 frames with a period of 1.28 seconds, and the other period is standby or communicates with another master. Inquiry scan may be turned off by the host when there is a lot of communication. This mode can also be interrupted by high-priority SCO links, such as voice signals, in which case the length of the scan window should be increased to make up for the obstruction.

조회 응답은 어떠한 모듈이 조회를 하면 조회 스캔하는 기간의 8배의 주기동안 하게 되므로 주위의 모든 모듈의 정보를 모을 수 있다. 조회 스캔하는 동안은 전 구간이 수신모드이고, 이 기간에 자신의 수신 주파수와 같은 홉이 오면 슬레이브는 트리거된다. 슬레이브가 트리거되면 슬레이브 모듈은 현재 트리거된 호핑 주파수를 동결(freeze)하고 난수(random number)를 발생한 다음 이 기간 동안 슬리프하거나 다른 마스터와 연결하여 통신하는 등의 동작을 하고, 이 기간이 경과되면 깨어나서 동결하고 있던 주파수가 다시 트리거되기를 기다린다. 다시 트리거 되면 FHS 패킷(블루투스 어드레스와 클럭)을 보내 자신의 존재를 알린다. 그런데 마스터는 트래인 전송 때문에 이러한 응답에 대한 답신을 보낼 수 없으므로, 슬레이브 입장에서는 반복해서 여러 번 전송하여야 한다. 따라서 슬레이브는 FHS 패킷으로 자신의 정보를 전송한 다음 호핑 위상에 1의 오프셋을 더한 뒤에 1이 더해진 호핑 주파수를 동결하고 난수를 발생하고 슬리프하고 다시 트리거하고 응답하는 동작을 조회 응답 타임 아웃이 될 때까지 반복한다.Inquiry response is performed for 8 times the period of inquiry scan when any module inquires, so it can gather information of all surrounding modules. During the inquiry scan, the entire interval is in receive mode, and the slave is triggered when a hop equal to its received frequency arrives during this period. When the slave is triggered, the slave module freezes the currently triggered hopping frequency, generates a random number, and sleeps or communicates with another master during this period. You wake up and wait for the freezing frequency to trigger again. When triggered again, it sends an FHS packet (Bluetooth address and clock) to indicate its presence. However, the master cannot send a reply to this response because of the train transmission, so the slave must transmit it repeatedly several times. Therefore, the slave transmits its information in an FHS packet and then adds an offset of 1 to the hopping phase, then freezes the hopping frequency plus 1, generates a random number, sleeps, retriggers, and responds. Repeat until.

도 6은 블루투스 표준에 따른 연결 동작 흐름도이다. 조회 동작을 통해 주위의 모든 모듈에 대한 블루투스 어드레스 및 클럭 정보를 수집한 다음 데이터를 전송하고자 하는 모듈이 마스터의 역할을 담당하면서 기저대역 연결을 설정하기 위해 페이징(paging) 동작을 수행한다. 페이징 동작은 실제 연결 동작으로서, HCI 연결 명령을 통해 시작된다(60-1). 이 명령을 수신한 링크 메니저는 기저대역측에 블루투스 어드레스에 해당하는 모듈(슬레이브)과의 기저대역 연결 설정을 요구하여 기저대역의 레지스터에 값을 세팅하여 페이징 동작을 액티브(active)시킨다. 레지스터 값이 세팅되면 기저대역측에서 실제 페이징 동작이 이루어진다.6 is a flowchart illustrating a connection operation according to the Bluetooth standard. The inquiry operation collects Bluetooth address and clock information of all the surrounding modules, and then the module to transmit data performs the paging operation to establish a baseband connection while serving as a master. The paging operation is the actual connection operation, which is initiated through the HCI connection command (60-1). Upon receiving this command, the link manager requests the baseband side to establish a baseband connection with a module (slave) corresponding to a Bluetooth address, and sets a value in the baseband register to activate the paging operation. When the register value is set, the actual paging operation is done on the baseband side.

마스터와 슬레이브간의 기저대역간 연결은 마스터의 기저대역측에서 페이지 트래인을 슬레이브에 전송하고(60-3), 이에 슬레이브의 기저대역측에서 ID 패킷을 전송하며(60-4), 이후 마스터측에서 FHS 패킷을 슬레이브측으로 전송하고(60-5), 슬레이브에서 ID 패킷을 다시 전송하는 것으로 이루어진다(60-6). 이러한 동작이 완료되면 마스터에서는 LMP 호스트 연결 요구라는 LMP 패킷을 슬레이브에 보내어 연결을 제의한다(60-8, 9).The baseband connection between the master and the slave transmits a page train to the slave at the baseband side of the master (60-3), and transmits an ID packet at the baseband side of the slave (60-4). In step S, the FHS packet is transmitted to the slave side (60-5), and the ID packet is transmitted again from the slave (60-6). When this operation is completed, the master proposes a connection by sending an LMP packet called an LMP host connection request to the slave (60-8, 9).

상기 마스터에서 슬레이브로 전송된 LMP 호스트 연결 요구는 슬레이브의 기저대역에서 HCI측으로 전송되고(60-10), 이는 슬레이브의 호스트에 전송된다(60-11). 이후 슬레이브의 호스트에서 연결 승인이 이루어지면, 이러한 정보는 LM 및 기저대역을 거쳐 마스터의 기저대역과 HCI로 전송된다(60-12, 13, 14, 15). 이에따라 호스트의 LM은 LMP 셋업 완료라는 명령을 보내어 연결 절차가 완료되었음을 알리고(60-16, 17), 이는 슬레이브의 호스트에 전송된다(60-18, 19). 슬레이브의 LM에서 전송되는 LMP 셋업 완료 정보는 이후 마스터의 HCI에 전달되고(60-20, 21, 22), 이는 호스트에 전달되어 연결 설정 절차가 완료되었음을 알린 다음(60-23), 상호간의 데이터 전송이 이루어진다.The LMP host connection request transmitted from the master to the slave is transmitted from the baseband of the slave to the HCI side (60-10), which is sent to the host of the slave (60-11). After the connection is granted at the slave's host, this information is transmitted via the LM and the baseband to the master's baseband and the HCI (60-12, 13, 14, 15). Accordingly, the host's LM sends a command to complete the LMP setup to indicate that the connection procedure is complete (60-16, 17), which is sent to the slave's host (60-18, 19). The LMP setup completion information sent from the LM of the slave is then passed to the HCI of the master (60-20, 21, 22), which is sent to the host to indicate that the connection establishment procedure is completed (60-23), and then mutual data. The transmission is made.

더이상의 데이터 전송이 없으며, 마스터의 호스트는 HCI 연결 해제를 요구하고(60-24), 이에 따라 LM에서 LMP 분리(detach)라는 명령을 슬레이브에 전송하여 슬레이브 측에 HCI 연결 해제를 통보하며(60-25, 26, 27, 28), 이와 더불어 호스트에 HCI 연결 해제 완료를 알리어 연결이 종료된다(60-29).There is no further data transfer, and the master's host requests HCI disconnection (60-24), thus sending a command called LMP detach from the LM to the slave, notifying the slave side of the HCI disconnection (60-24). -25, 26, 27, 28), and the connection is terminated by notifying the host of the completion of the HCI connection (60-29).

한편 연결을 설정하고자 하는 모듈이 복수개인 경우, 각 모듈에 대해 위와 같은 절차를 수행하고 연결이 설정된 모듈을 잠시 홀드(hold) 모드로 동작하도록 지시한 다음, 다른 모듈과 연결 설정을 시도하여야 한다.On the other hand, if there are a plurality of modules to establish a connection, perform the above procedure for each module, instruct the module to be connected to operate in hold mode for a while, and then attempt to establish a connection with another module.

홀드 모드로 동작하는 모듈은 연결이 설정된 상태에서 데이터 송수신 이외의 다른 행위, 예를 들어 조회, 조회 스캔, 페이지, 페이지 스캔 등을 수행하고자 할 때, 또는 전송할 데이터가 없는 경우 파워 세이브(power save)를 위해서 일시적으로 특정한 시간(hold time) 동안 슬리프하게 된다. 마스터의 경우, 현재 연결이 되어 있지 않은 다른 모듈의 정보를 수집하기 위해 조회 동작을 수행하거나 다른 모듈과의 연결을 설정하기 위해 이미 연결이 설정된 모듈들의 링크 메니저에게 LMP 홀드 요구(및 홀드 타임)라는 명령을 송신하여 홀드 타임 동안 홀드 모드로 동작할 것을 요구한다. 마스터의 홀드 모드 변경을 요구하고, 해당 슬레이브는 홀드 타임동안 슬리프하게 된다. 슬레이브의 경우, 다른 마스터와의 연결을 설정하나 더 이상 송수신할 데이터가 없다고 판단될 때에는 홀드 타임 동안 슬리프하겠다는 LMP 홀드 요구(및 홀드 타임) 메시지를 마스터의 링크 메니저에게 요구한다. 슬레이브의 모든 변경 요구를 수신한 마스터는 해당 슬레이브에게 슬리프하는 시간(홀드 타임)을 알려주고, 해당 슬레이브는 홀드 타임 동안 슬리프하게 된다. 홀드 타임이 타임 아웃되면 슬리프하던 슬레이브들은 깨어나 마스터와 다시 통신을 시작한다.A module operating in the hold mode may perform a power save when a connection is established to perform an operation other than data transmission, for example, an inquiry, an inquiry scan, a page, a page scan, or when there is no data to be transmitted. For the moment, it sleeps for a certain hold time. In the case of the master, the LMP hold request (and hold time) is called to the link manager of modules that are already connected to perform the inquiry operation to collect information of other modules that are not currently connected or to establish a connection with other modules. Send a command to request to operate in hold mode for hold time. The master requires a hold mode change, and the slave sleeps during the hold time. In the case of a slave, when the connection is established with another master but there is no more data to be transmitted or received, the master requests the link manager of the LMP hold request (and hold time) to sleep during the hold time. Upon receiving all change requests from a slave, the master informs the slave of the sleep time (hold time), and the slave sleeps during the hold time. When the hold time times out, the sleeping slaves wake up and begin communicating with the master again.

다시 도 1 및 도 2를 참조하면, 블루투스 모듈이 장착된 본체(10)에서 무선으로 연결하여 사용하고자 하는 키보드(12)와 마우스(14)의 블루투스 모듈의 어드레스를 파악하기 위해서 키보드(12)와 마우스(14) 시동 프로그램을 설치하는 과정에서 도 5에 도시된 바와 같은 조회 동작을 수행하여 블루투스 모듈 어드레스를 기억하게 된다. 또한 컴퓨터 본체(10)에서 기억하고 있는 키보드(12)와 마우스(14)의 블루투스 모듈 어드레스를 바탕으로 컴퓨터의 전원을 켤때마다 키보드와 마우스와의 무선 링크가 설정되어 도 6에 도시된 바와 같이 무선 송수신부(23, 24, 28, 29)를 통해 데이터를 송수신하고, 전원을 끄면 무선 링크가 해제된다.1 and 2, the keyboard 12 and the keyboard 12 to determine the address of the Bluetooth module of the keyboard 12 and the mouse 14 to be connected and used wirelessly in the main body 10 equipped with the Bluetooth module and In the process of installing the mouse 14 startup program, the inquiry operation as shown in FIG. 5 is performed to store the Bluetooth module address. In addition, based on the Bluetooth module addresses of the keyboard 12 and the mouse 14 stored in the computer main body 10, a wireless link between the keyboard and the mouse is established every time the computer is turned on. When the data is transmitted and received through the transceivers 23, 24, 28, and 29, and the power is turned off, the radio link is released.

그런데, 컴퓨터와 그 주변장치간에 블루투스 시스템의 적용을 살펴보면, 컴퓨터의 본체가 마스터의 역할을 담당하고 키보드 및 마우스는 슬레이브의 역할을 하게 되는데, 이때 슬레이브의 역할을 하는 키보드나 마우스에서 컴퓨터의 본체로 데이터의 전송이 이루어지며, 컴퓨터의 본체에서는 키보드나 마우스로 데이터의 전송이 요구되지 않는다. 따라서, 본 발명은 이러한 특별한 상황 즉, 슬레이브에서 마스터로만 데이터의 전송이 이루어지는 상황에 적용하기에 적합한 무선 통신 방식을 제공하게 된다.By the way, look at the application of the Bluetooth system between the computer and its peripheral devices, the main body of the computer acts as a master and the keyboard and mouse acts as a slave, the keyboard or mouse acting as a slave to the main body of the computer The data is transferred, and the computer body does not require data to be transmitted by a keyboard or a mouse. Accordingly, the present invention provides a wireless communication scheme suitable for such a special situation, that is, a situation in which data is transmitted only from a slave to a master.

도 1을 참조하면, 마스터 역할을 하는 컴퓨터 본체(10)는 키보드(12), 마우스(14)와의 상기 도 5 및 도 6에 도시된 바와 같은 과정으로 연결이 설정됨과 동시에 키보드(12)와 마우스(14) 각각에 대해 데이터 전송을 허락하는 특정 패킷, 즉 POLL 패킷을 RF송신부를 통해 전송하고, 연결이 지속되는 동안 두 장치, 즉 키보드(12)와 마우스(14)에게 번갈아 가면 POLL 패킷을 전송해서 연결이 지속됨을 알려 준다.Referring to FIG. 1, the computer main body 10 serving as a master is connected to the keyboard 12 and the mouse 14 in a process as shown in FIGS. 5 and 6, and the keyboard 12 and the mouse are simultaneously established. (14) Transmit specific packets that allow data transmission for each, i.e., POLL packets, via the RF transmitter, and alternately send two devices, the keyboard 12 and the mouse 14, while the connection continues. To let the connection continue.

한편 키보드(12)와 마우스(14)는 컴퓨터 본체(10)로부터 첫 번째 POLL 패킷을 RF수신부를 통해 수신한 이후에 키보드 또는 마우스의 입력부를 통해 인식된 전송 데이터를 RF송신부를 통해 컴퓨터 본체(10)로 전송한다. 키보드(12) 또는 마우스(14)로부터 송신된 데이터는 컴퓨터 본체(10)에 장착된 무선 통신 모듈인 RF수신부로 수신되고, 수신된 데이터는 기저대역처리부에서 컴퓨터가 인식할 수 있는 데이터 형식으로 변경되어 컴퓨터 본체(10)에 전달된다. 전달된 데이터를 수신한 컴퓨터 본체(10)는 데이터의 오류를 조사하고, 오류가 없는 경우에 그 결과를 출력하고 오류가 없다는 응답 패킷을 키보드(12) 또는 마우스(14)로 송신한다.On the other hand, the keyboard 12 and the mouse 14 receive the first POLL packet from the computer main body 10 through the RF receiver and then transmit the transmission data recognized through the input unit of the keyboard or the mouse through the RF transmitter. To send). Data transmitted from the keyboard 12 or the mouse 14 is received by the RF receiver, which is a wireless communication module mounted on the computer main body 10, and the received data is converted into a data format that can be recognized by the computer by the baseband processor. And transmitted to the computer main body 10. Receiving the transmitted data, the computer main body 10 examines the error of the data, outputs the result when there is no error, and transmits a response packet indicating that there is no error to the keyboard 12 or the mouse 14.

도 4는 무선 링크상에서 사용되는 데이터 패킷의 포맷을 나타내며, 이는 블루투스 스펙에 포함된다. 패킷 포맷은 72비트(bits)의 억세스 코드(access code)와 54비트의 헤더(header)와, 160비트의 데이터(data) 영역으로 이루어진다. 컴퓨터 본체(10)에서 키보드(12)나 마우스(14)로 송신되는 패킷은 데이터 영역이 존재하지 않는다. 다만 키보드(12)나 마우스(14)로부터 수신한 데이터의 성공적인 수신여부를 알려주는 헤더 영역의 정보만 있으면 된다. 키보드(12) 또는 마우스(14)로부터 컴퓨터 본체(10)에 전달되는 데이터는 도 4에 도시된 바와 같은 패킷 포맷을 사용하며 각 영역은 하기와 같이 정의 된다.4 shows the format of a data packet used on a wireless link, which is included in the Bluetooth specification. The packet format is composed of an access code of 72 bits, a header of 54 bits, and a data area of 160 bits. The packet transmitted from the computer main body 10 to the keyboard 12 or the mouse 14 does not have a data area. However, only the information in the header area indicating the successful reception of data received from the keyboard 12 or the mouse 14 is required. The data transferred from the keyboard 12 or the mouse 14 to the computer main body 10 uses a packet format as shown in FIG. 4 and each area is defined as follows.

54비트의 헤더 영역은 다시 AM_ADDR(Active Member ADDress)(3비트)와, TYPE(4비트), FLOW(1비트), ARQN(Automatic ReQuest Number)(1비트), SEQN(SEQuence Number)(1비트), HEC(Header Error Check)(8비트), FEC(Forward Error Correction)(36비트)로 구분된다. 160비트의 데이터 영역은 다시 페이로드 헤더(PAYLOAD HEADER)(1바이트)와, 페이로드(17바이트), CRC(Cyclic Redundancy Check)(2바이트)로 구분된다.The 54-bit header area consists of AM_ADDR (Active Member Addresses) (3 bits), TYPE (4 bits), FLOW (1 bit), ARQN (Automatic ReQuest Number) (1 bit), SEQN (SEQuence Number) (1 bit). ), HEC (Header Error Check) (8 bits), and FEC (Forward Error Correction) (36 bits). The 160-bit data area is further divided into a payload header (1 byte), a payload (17 bytes), and a cyclic redundancy check (CRC) (2 bytes).

이때, 상기 헤더 영역의 TYPE 영역에는 블루투스에서 예약된 부분을 사용하여 본 발명의 특징에 따라 특정 값, 즉 '1000'을 지정하게 된다. 이와 같이 데이터 패킷의 데이터 영역에 해당되는 패킷을 WD1(Wireless DATA 1) 패킷이라 칭한다. WD1 패킷에 키보드(12)를 통해 입력된 키데이터나 마우스(14)를 통해 입력되는 위치 정보를 비트와이즈(bitwise) 형식으로 저장하여 억세스 코드와 헤더를 붙여 무선 링크 상으로 데이터를 컴퓨터 본체(10)에 전달한다.In this case, a specific value, that is, '1000' is designated in the TYPE area of the header area according to the feature of the present invention by using a reserved part in Bluetooth. In this way, the packet corresponding to the data area of the data packet is called a WD1 (Wireless DATA 1) packet. Key data input via the keyboard 12 or position information input via the mouse 14 in the WD1 packet is stored in a bitwise format, and the data is transmitted over the wireless link by attaching an access code and a header. To pass).

도 7은 본 발명의 일 실시예에 따른 컴퓨터 본체의 동작 흐름도이다. 도 7을 참조하면, 먼저 71단계에서, 컴퓨터 본체(10)는 인스톨 프로그램 및 조회 프로시져가 미리 설정된다. 이후 72단계에서 파워 온이 되면, 연결을 셋업하고, 제1 POLL 패킷을 전송한다. 이후 73단계에서 데이터 패킷(WD1 패킷)을 수신하고, 74단계에서 수신 패킷의 에러가 있는지를 확인한다. 74단계의 확인 결과, 에러가 없는 경우에는 75단계로 진행하여 전송 패킷의 헤더 영역 중 ARQN 영역을 '1'로 설정하여, 즉 ACK(ACKnowlege) 메시지로 설정된 패킷을 키보드(12) 또는 마우스(14)로 송신한다. 이는 이후 키보드(12)나 마우스(14)로 전송되어 에러 없이 데이터 패킷이 전송되었음을 알리게 된다.7 is a flowchart illustrating operations of the computer main body according to an embodiment of the present invention. Referring to FIG. 7, first, in step 71, the computer main body 10 is preset with an installation program and inquiry procedure. Thereafter, when it is powered on in step 72, it establishes a connection and transmits a first POLL packet. Thereafter, in step 73, a data packet (WD1 packet) is received, and in step 74, it is checked whether there is an error in the received packet. As a result of checking in step 74, if there is no error, the process proceeds to step 75, in which the ARQN area of the header area of the transport packet is set to '1', that is, the packet set to the ACK (ACKnowlege) message is input to the keyboard 12 or the mouse 14 To send). This is then sent to the keyboard 12 or mouse 14 to indicate that the data packet has been transmitted without error.

한편, 상기 74단계의 확인 결과, 에러가 있는 경우에는 76단계로 진행하여 전송 패킷의 헤더 영역 중 ARQN 영역을 '0'으로 설정하여, 즉 NAK(NonACknowledge) 메시지로 설정된 패킷을 키보드 또는 마우스로 송신한다. 이는 이후 키보드(12)나 마우스(14)에 전송되어 패킷 전송에 에러가 있었음을 알리게 된다. 상기 73단계와, 74단계, 75단계 및 76단계는 파워가 오프될 때까지 계속 반복 수행되며, 파워 오프가 되면, 이를 77단계에서 판단하여 78단계로 진행하고 78단계에서는 연결을 해제하므로 동작을 종료하게 된다.On the other hand, if there is an error as a result of the check in step 74, the process proceeds to step 76 to set the ARQN area of the header area of the transport packet to '0', that is, to transmit the packet set in the NAK (NonACknowledge) message to the keyboard or mouse do. This is then sent to the keyboard 12 or mouse 14 to indicate that there was an error in packet transmission. Steps 73, 74, 75, and 76 are repeatedly performed until the power is turned off. When the power is turned off, the operation is determined in step 77 and proceeds to step 78, and in step 78, the connection is released. Will end.

도 8은 본 발명의 일 실시예에 따른 키보드(12) 또는 마우스(14)의 동작 흐름도이다. 도 8을 참조하면, 먼저 81단계에서, 키보드(12) 또는 마우스(14)는 컴퓨터 본체(10)와의 연결 셋업을 완료하고, 이후 82단계에서 컴퓨터 본체(10)로부터 송신된 제1 POLL 패킷을 수신한다. 이후 83단계에서 키데이터 또는 마우스의 위치 정조에 대한 데이터 패킷(WD1 패킷)을 전송하고, 84단계에서 마스터, 즉 컴퓨터 본체(10)로부터 송신된 응답 패킷을 수신받는다. 이후 85단계에서는 상기 응답 패킷이 헤더 영역 중 ARQN 영역이 '1'로 설정되어 있는지, 즉 ACK(ACKnowlege) 메시지로 설정되었는지를 확인하여 상기 83단계에서 송신한 데이터 패킷이 에러 없이 전송되었는지를 확인한다. 상기 확인 결과 에러 없이 확인이 되었으면, 이후 86단계에서 다음 데이터 패킷을 상기 컴퓨터 본체(10)로 전송한다.8 is an operation flowchart of a keyboard 12 or a mouse 14 according to an embodiment of the present invention. Referring to FIG. 8, first, in step 81, the keyboard 12 or the mouse 14 completes the connection setup with the computer main body 10, and then, in step 82, the first POLL packet transmitted from the computer main body 10 is received. Receive. Thereafter, in step 83, a data packet (WD1 packet) for positioning of key data or a mouse is transmitted, and in step 84, a response packet transmitted from the master, that is, the computer main body 10, is received. Thereafter, in step 85, it is checked whether the ARQN area of the header area is set to '1', that is, an ACK (ACKnowlege) message, so that the data packet transmitted in step 83 is transmitted without error. . If the check result is confirmed without an error, the next data packet is transmitted to the computer main body 10 in step 86.

한편, 상기 85단계의 확인 결과, 송신한 데이터 패킷에 에러가 있는 것으로 확인되면 87단계로 진행하여 이전에 전송한 데이터 패킷을 재 전송하게 된다. 상기 84단계와, 85단계, 86단계 및 87단계는 파워가 컴퓨터의 파워가 오프될 때까지 계속 반복 수행되며, 컴퓨터의 파워가 오프 되면, 이를 88단계에서 확인하여 89단계로 진행하고, 89단계에서는 연결을 해제하므로 동작을 종료하게 된다.On the other hand, if it is determined in step 85 that there is an error in the transmitted data packet, the process proceeds to step 87 to retransmit the previously transmitted data packet. Steps 84, 85, 86, and 87 are repeatedly performed until the power of the computer is turned off. When the power of the computer is turned off, it is checked in step 88 and proceeded to step 89. Terminates the operation because it disconnects.

상기와 같은 구성에 의해 본 발명의 특징에 따른 블루투스를 이용한 컴퓨터 시스템의 근거리 무선 통신이 이루어진다.The above configuration enables short-range wireless communication of a computer system using Bluetooth according to a feature of the present invention.

한편 상기한 본 발명의 설명에서는 구체적인 실시예에 관해 설명하였으나 여러 가지 변형이 본 발명의 범위를 벗어나지 않고 실시될 수 있다. 따라서 본 발명의 범위는 설명된 실시예에 의하여 정할 것이 아니고 청구범위와 청구의 범위의 균등한 것에 의하여 정하여져야 할 것이다.Meanwhile, in the above description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be defined by the described embodiments, but by the equivalents of the claims and claims.

상기한 바와 같이 본 발명은 블루투스를 이용하여 컴퓨터와 그 주변장치간의 무선 인터페이스에 활용되기에 바람직한 근거리 무선 통신 방법을 제공할 수 있다.As described above, the present invention can provide a short range wireless communication method which is preferable to be utilized for a wireless interface between a computer and a peripheral device using Bluetooth.

Claims (8)

블루투스를 이용한 근거리 무선 통신 방법에 있어서,In the short-range wireless communication method using Bluetooth, 마스터측 블루투스 모듈에서 적어도 하나 이상의 슬레이브측 블루투스 모듈로 데이터의 전송을 허락하는 미리 설정된 패킷을 순차적으로 송신하며, 상기 슬레이브측 블루투스 모듈에서 전송된 미리 설정된 데이터 패킷을 수신받아 복조하여 해당 호스트로 제공하는 과정과,Sequentially transmitting a predetermined packet allowing data transmission from the master side Bluetooth module to at least one slave side Bluetooth module, and receiving and demodulating the preset data packet transmitted from the slave side Bluetooth module to provide to the corresponding host. Process, 상기 슬레이브측 블루투스 모듈 각각에서 상기 마스터측 블루투스 모듈에서 전송된 데이터 전송을 허락하는 미리 설정된 패킷을 수신받아 해당 호스트의 전송 데이터를 변조하여 상기 마스터측 블루투스 모듈로 제공하는 과정을 가짐을 특징으로 하는 근거리 무선 통신 방법.Receiving a predetermined packet allowing data transmission from the master Bluetooth module from the slave Bluetooth module, and modulating the transmission data of the corresponding host to provide the master module with the Bluetooth module Wireless communication method. 제1항에 있어서, 상기 마스터측 블루투스 모듈과 상기 슬레이브측 블루투스 모듈은 파워온시 미리 조회 동작 및 연결 동작을 수행함을 특징으로 하는 근거리 무선 통신 방법.The short range wireless communication method of claim 1, wherein the master side Bluetooth module and the slave side Bluetooth module perform an inquiry operation and a connection operation in advance upon power-on. 제1항에 있어서, 상기 마스터측 블루투스 모듈은 상기 슬레이브측 블루투스 모듈에서 전송된 미리 설정된 데이터 패킷을 수신받아 데이터의 오류를 조사하여,오류 유무에 관한 미리 설정된 응답 패킷을 상기 슬레이브측 블루투스 모듈로 송신하며, 상기 슬레이브측 블루투스 모듈은 상기 마스터측 블루투스 모듈로부터 송신된 오류 유무에 관한 미리 설정된 응답 패킷을 수신받아 전송 데이터의 오류시에 해당 데이터 패킷을 재전송함을 특징으로 하는 근거리 무선 통신 방법.The Bluetooth module of claim 1, wherein the master-side Bluetooth module receives a preset data packet transmitted from the slave-side Bluetooth module, inspects an error of data, and transmits a preset response packet regarding the presence or absence of an error to the slave-side Bluetooth module. And wherein the slave-side Bluetooth module receives a preset response packet regarding the presence or absence of an error transmitted from the master-side Bluetooth module and retransmits the corresponding data packet when an error of transmission data occurs. 제3항에 있어서, 상기 데이터 패킷은 억세스 코드와, 헤더와, 데이터 영역으로 이루어지며 상기 헤더 영역내의 패킷의 종류를 나타내는 타입 영역은 미리 설정된 값으로 지정되고, 상기 응답 패킷은 상기 억세스 코드 및 헤더 영역으로 이루어지며 상기 헤더 영역내의 패킷의 전송 확인을 나타내는 영역은 상기 오류 유무에 따라 미리 설정된 값으로 지정됨을 특징으로 하는 근거리 무선 통신 방법.The data packet of claim 3, wherein the data packet includes an access code, a header, and a data area, and a type area indicating a type of a packet in the header area is designated with a preset value, and the response packet is the access code and the header. And an area indicating a transmission confirmation of the packet in the header area is set to a preset value according to the presence or absence of the error. 블루투스를 이용한 컴퓨터 시스템에 적용되는 근거리 무선 통신 방법에 있어서,In the short-range wireless communication method applied to a computer system using Bluetooth, 컴퓨터 본체의 블루투스 모듈에서 적어도 하나 이상의 주변장치의 블루투스 모듈로 데이터의 전송을 허락하는 미리 설정된 패킷을 순차적으로 송신하며, 상기 주변장치의 블루투스 모듈에서 전송된 미리 설정된 데이터 패킷을 수신받아 복조하여 해당 컴퓨터 본체로 제공하는 과정과,The Bluetooth module of the computer main body sequentially transmits a predetermined packet allowing data transmission from the Bluetooth module of the at least one peripheral device, and receives and demodulates the predetermined data packet transmitted from the Bluetooth module of the peripheral device. The process provided by the body, 상기 주변장치의의 블루투스 모듈 각각에서 상기 컴퓨터 본체측 블루투스 모듈에서 전송된 데이터 전송을 허락하는 미리 설정된 패킷을 수신받아 해당 호스트의 전송 데이터를 변조하여 상기 컴퓨터 본체측 블루투스 모듈로 제공하는 과정을 가짐을 특징으로 하는 근거리 무선 통신 방법.Each of the Bluetooth modules of the peripheral device receives a predetermined packet allowing data transmission from the Bluetooth module of the computer main body, modulates the transmission data of the corresponding host, and provides the same to the Bluetooth module of the computer main body. Short-range wireless communication method characterized by. 제5항에 있어서, 상기 컴퓨터 본체측 블루투스 모듈과 상기 주변장치측 블루투스 모듈은 상기 컴퓨터 본체측의 파워온시 미리 조회 동작 및 연결 동작을 수행함을 특징으로 하는 근거리 무선 통신 방법.The short range wireless communication method of claim 5, wherein the computer main body side Bluetooth module and the peripheral device side Bluetooth module perform an inquiry operation and a connection operation in advance when the computer main body side is powered on. 제5항에 있어서, 상기 컴퓨터 본체측 블루투스 모듈은 상기 주변장치측 블루투스 모듈에서 전송된 미리 설정된 데이터 패킷을 수신받아 데이터의 오류를 조사하여, 오류 유무에 관한 미리 설정된 응답 패킷을 상기 주변장치측 블루투스 모듈로 송신하며, 상기 주변장치측 블루투스 모듈은 상기 컴퓨터 본체측 블루투스 모듈로부터 송신된 오류 유무에 관한 미리 설정된 응답 패킷을 수신받아 전송 데이터의 오류시에 해당 데이터 패킷을 재전송함을 특징으로 하는 근거리 무선 통신 방법.The Bluetooth device of claim 5, wherein the Bluetooth module of the computer main body receives a preset data packet transmitted from the Bluetooth module of the peripheral device, examines an error of data, and transmits a preset response packet regarding the presence or absence of an error. Module, and the peripheral device-side Bluetooth module receives a preset response packet regarding the presence or absence of an error transmitted from the computer main body-side Bluetooth module, and retransmits the corresponding data packet in the case of a transmission data error. Communication method. 제7항에 있어서, 상기 데이터 패킷은 억세스 코드와, 헤더와, 데이터 영역으로 이루어지며 상기 헤더 영역내의 TYPE 영역은 미리 설정된 값으로 지정되고, 상기 응답 패킷은 상기 억세스 코드 및 헤더 영역으로 이루어지며 상기 헤더 영역내의 ARQN 영역은 상기 오류 유무에 따라 미리 설정된 값으로 지정됨을 특징으로 하는 근거리 무선 통신 방법.The data packet of claim 7, wherein the data packet includes an access code, a header, and a data area, and a TYPE area within the header area is set to a preset value, and the response packet comprises the access code and a header area. The ARQN area in the header area is set to a preset value according to the presence or absence of the error.
KR1019990035610A 1999-08-26 1999-08-26 Local radio communication method by use of bluetooth KR100298981B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990035610A KR100298981B1 (en) 1999-08-26 1999-08-26 Local radio communication method by use of bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990035610A KR100298981B1 (en) 1999-08-26 1999-08-26 Local radio communication method by use of bluetooth

Publications (2)

Publication Number Publication Date
KR20010019277A KR20010019277A (en) 2001-03-15
KR100298981B1 true KR100298981B1 (en) 2001-11-01

Family

ID=19608756

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990035610A KR100298981B1 (en) 1999-08-26 1999-08-26 Local radio communication method by use of bluetooth

Country Status (1)

Country Link
KR (1) KR100298981B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030027968A (en) * 2001-09-18 2003-04-08 (주) 이노텔리텍 Scheduling Method for Distribution of Wireless Resources of Local Wireless Communication System
KR100601627B1 (en) * 1999-11-26 2006-07-14 삼성전자주식회사 Decoding apparatus and method of receiving data packet from bluetooth baseband
KR100664020B1 (en) * 2002-04-23 2007-01-03 엘지전자 주식회사 Mac scheduling method for bluetooth

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100594088B1 (en) * 1999-09-07 2006-06-28 삼성전자주식회사 How to download software of mobile phone using Bluetooth wireless communication
KR100677078B1 (en) * 1999-11-26 2007-02-01 삼성전자주식회사 Method for operating personal ad-hoc network between bluetooth-devices
KR20020051197A (en) * 2000-12-22 2002-06-28 엘지전자 주식회사 System Alarm Apparatus used BlueTooth
KR100746745B1 (en) * 2001-02-10 2007-08-06 삼성전자주식회사 Method for transmitting broadcast message from master to slave of wireless communication
KR100434041B1 (en) * 2001-04-23 2004-06-04 엘지전자 주식회사 Automatic broadcasting device by bluetooth modulation
KR20010074250A (en) * 2001-05-03 2001-08-04 최영빈 Blue net phone
JP4168714B2 (en) * 2001-12-17 2008-10-22 ソニー株式会社 COMMUNICATION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM
KR100902891B1 (en) * 2002-01-29 2009-06-16 엘지전자 주식회사 Mobile terminal and Method for providing a location information using bluetooth thereof
KR100431202B1 (en) * 2002-04-16 2004-05-12 한국전자통신연구원 A Baseband Modem Apparatus Suitable for Bluetooth System by using OFDM Modem

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100601627B1 (en) * 1999-11-26 2006-07-14 삼성전자주식회사 Decoding apparatus and method of receiving data packet from bluetooth baseband
KR20030027968A (en) * 2001-09-18 2003-04-08 (주) 이노텔리텍 Scheduling Method for Distribution of Wireless Resources of Local Wireless Communication System
KR100664020B1 (en) * 2002-04-23 2007-01-03 엘지전자 주식회사 Mac scheduling method for bluetooth

Also Published As

Publication number Publication date
KR20010019277A (en) 2001-03-15

Similar Documents

Publication Publication Date Title
EP1771973B1 (en) Communication apparatus and communication method
Choi et al. An implementation of wireless sensor network
US7277417B2 (en) Low power protocol for wireless terminal peer-to-peer communications
US6795688B1 (en) Method and system for personal area network (PAN) degrees of mobility-based configuration
TW532020B (en) Dual mode wireless data communications
US7653017B2 (en) Bluetooth sniff mode power saving
KR100389820B1 (en) Method for establishing link between bluetooth apparatuses using bluetooth wireless communication
JP3849647B2 (en) Wireless communication system, wireless communication apparatus, wireless communication method, and computer program
US8923324B2 (en) Method for operating a wireless network
JP3872786B2 (en) Wireless communication method capable of connectionless broadcasting
US9198115B2 (en) Method and apparatus for scanning and device detection in a communication system
KR100298981B1 (en) Local radio communication method by use of bluetooth
JP4664780B2 (en) Wireless LAN system
JP2008537871A (en) Wireless communication system with collision avoidance protocol
US8527790B2 (en) Communication apparatus and communication method
EP1770667B1 (en) Method for synchronizing devices in wireless networks
JP3906156B2 (en) Communication adapter and method
JP3777155B2 (en) Wireless communication device capable of improving connection rate and method thereof
JP2015534413A (en) System and method for power saving in wireless communications
CN101668332A (en) Communication method and system
JP2004040373A (en) Wireless terminal and control method thereof
JP5283356B2 (en) Beacon wireless communication device
JP4977943B2 (en) Communications system
KR100325773B1 (en) Bluetooth device name confirming method in bluetooth system
JP4090344B2 (en) Wireless input device

Legal Events

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

Payment date: 20090529

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee