KR101276893B1 - Method for controlling bluetooth communication using USB, and terminal thereof - Google Patents
Method for controlling bluetooth communication using USB, and terminal thereof Download PDFInfo
- Publication number
- KR101276893B1 KR101276893B1 KR1020060112054A KR20060112054A KR101276893B1 KR 101276893 B1 KR101276893 B1 KR 101276893B1 KR 1020060112054 A KR1020060112054 A KR 1020060112054A KR 20060112054 A KR20060112054 A KR 20060112054A KR 101276893 B1 KR101276893 B1 KR 101276893B1
- Authority
- KR
- South Korea
- Prior art keywords
- usb
- interface
- module
- main cpu
- bluetooth
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/02—Details of telephonic subscriber devices including a Bluetooth interface
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Systems (AREA)
Abstract
본 발명은 유에스비를 이용한 블루투스 통신 제어 방법 및 그 단말기에 관한 것으로서, 이동 단말기의 블루투스 모듈에 USB 호스트 기능을 구현하고, 이동 단말기 내에 스위치 구조를 구비하지 않고, USB를 이용하여 CPU와 블루투스 모듈 간 및 CPU와 외부 장치 간의 통신을 수행할 수 있게 된다. 본 발명에 의하면, 이동 단말기에서 블루투스 기능을 통해 다운로드한 파일을 외부 저장 매체로 전송할 때 스위칭 동작이 필요치 않게 된다. 또한, 하나의 유에스비(USB) 라인을 통해 단말기와 블루투스 모듈 간 또는 단말기와 외부 장치 간의 데이터 전송을 용이하게 실행할 수 있다.The present invention relates to a Bluetooth communication control method using a USB and its terminal, and implements the USB host function in the Bluetooth module of the mobile terminal, and does not have a switch structure in the mobile terminal, and between the CPU and the Bluetooth module using USB and Communication between the CPU and external devices can be performed. According to the present invention, a switching operation is not necessary when a mobile terminal transmits a file downloaded through a Bluetooth function to an external storage medium. In addition, it is possible to easily perform data transmission between the terminal and the Bluetooth module or between the terminal and an external device through one USB line.
USB, 블루투스, 이동 단말기, USB 호스트, USB 클라이언트, PC USB, Bluetooth, Mobile Terminal, USB Host, USB Client, PC
Description
도 1은 본 발명의 실시예에 따른 USB를 이용한 블루투스 통신 제어 방법을 설명하기 위한 시스템 구성도를 나타낸 도면,1 is a system configuration diagram for explaining a Bluetooth communication control method using a USB according to an embodiment of the present invention,
도 2는 본 발명의 실시예에 따른 USB를 이용한 블루투스 통신 제어 방법에서 USB 라인의 인터페이스 기능을 설명하기 위한 도면,2 is a view for explaining the interface function of the USB line in the Bluetooth communication control method using USB according to an embodiment of the present invention;
도 3은 본 발명의 실시예에 따른 USB를 이용한 블루투스 통신 제어 방법을 설명하기 위한 동작 흐름도, 그리고3 is an operation flowchart for explaining a Bluetooth communication control method using a USB according to an embodiment of the present invention; and
도 4는 제1 인터페이스와 제2 인터페이스를 통해 전송되는 타임슬롯의 예를 도시한 것이다.4 illustrates an example of timeslots transmitted over a first interface and a second interface.
< 도면의 주요 부분에 대한 부호의 설명 >Description of the Related Art
100 : 이동 단말기 110 : 메인 CPU100: mobile terminal 110: main CPU
112 : USB 클라이언트 모듈 120 : 블루투스 모듈112: USB client module 120: Bluetooth module
122 : USB 호스트 모듈 150 : PC122: USB host module 150: PC
152 : USB 호스트 모듈 210 : USB 라인152: USB host module 210: USB line
212 : 제1 인터페이스 214 : 제2 인터페이스212: first interface 214: second interface
본 발명은 유에스비를 이용한 블루투스 통신 제어 방법 및 그 단말기에 관한 것이다.The present invention relates to a Bluetooth communication control method using a USB and a terminal thereof.
최근에, 근거리에 있는 단말기나 센서 등을 제어할 수 있는 블루투스(Bluetooth) 모듈이 탑재된 이동 단말기가 등장하고 있다.Recently, a mobile terminal equipped with a Bluetooth module capable of controlling a terminal, a sensor, or the like at a short distance has emerged.
이러한 이동 단말기는 블루투스 기능을 사용하기 위해, CPU에 호스트(Host)와 클라이언트(Client)의 USB 모듈을 구비하고, 블루투스 모듈에도 클라이언트 USB 모듈을 구비하였다.In order to use the Bluetooth function, such a mobile terminal includes a USB module of a host and a client in the CPU, and a client USB module in the Bluetooth module.
이때, PC로부터 이동 단말기로 데이터를 수신하거나, 이동 단말기로부터 PC로 데이터를 전송해야 할 경우에, 이동 단말기의 CPU 내에 있는 USB 모듈은 클라이언트 기능으로 동작해야 했다.At this time, when receiving data from the PC to the mobile terminal or transferring data from the mobile terminal to the PC, the USB module in the CPU of the mobile terminal had to operate as a client function.
따라서, 이동 단말기에서 블루투스 기능을 수행하다가 PC와 데이터를 송수신하기 위해서는 CPU 내에 있는 USB 모듈의 기능 전환이 필요했다. 이러한 기능 전환을 위해 스위치를 구비하고 있다. 이동 단말기는 스위치를 통해 CPU의 USB 기능을 호스트에서 클라이언트로 전환해 동작했다.Therefore, in order to transmit / receive data with a PC while performing a Bluetooth function in the mobile terminal, it is necessary to change the function of the USB module in the CPU. A switch is provided for this function switching. The mobile device worked by switching the CPU's USB function from host to client through a switch.
전술한 과정으로 이동 단말기에서 USB의 호스트 기능이 안정적으로 구현되기 위해 소모 전류에 따른 OTG(On The Go) 상용에 문제가 많다.As described above, in order for the host function of the USB to be stably implemented in the mobile terminal, there are many problems in commercializing the OTG (On The Go) according to the consumption current.
또한, USB의 호스트 기능을 실행할 때 호스트의 기능상 CPU에 소모 전류와 성능에 따른 로드(Load)가 많이 걸리는 문제점이 있다.In addition, when executing the host function of the USB, there is a problem in that the load of the CPU according to the current consumption and performance in the host function.
또한, 블루투스 모듈에 EDR(Excelated Data Rate)을 지원하는 경우가 별로 많지 않고, 지원한다고 해도 UART 속도의 한계로 인해 최대 3 ~ 4 Mbps의 속도를 넘을 수 없는 문제점이 있다.In addition, there are not many cases in which an EDR (Excelated Data Rate) is supported for a Bluetooth module, and even if it is supported, there is a problem that a maximum speed of 3 to 4 Mbps cannot be exceeded due to the limitation of the UART speed.
그리고, 이동 단말기에서 블루투스 기능을 통해 다운로드한 파일을 외부 저장 매체에 저장하기 위해서 스위치를 통해 기능 전환을 수행한 후에 저장하게 되므로, 곧바로 플러그 앤 플레이(Plug and Play) 방식의 USB 기능을 구현하지 못하는 문제점이 있다.In addition, since the mobile terminal stores the file downloaded via the Bluetooth function in the external storage medium after the function switching through the switch, the mobile terminal cannot immediately implement the Plug and Play USB function. There is a problem.
상기 문제점을 해결하기 위해 본 발명은, 이동 단말기의 블루투스 모듈에 USB 호스트 기능을 구현하고, 이동 단말기 내에 스위치 구조를 구비하지 않고, USB를 이용하여 CPU와 블루투스 모듈 간 및 CPU와 외부 장치 간의 통신을 수행할 수 있도록 하는, 유에스비를 이용한 블루투스 통신 제어 방법 및 그 단말기를 제공함에 있다.In order to solve the above problems, the present invention implements a USB host function in a Bluetooth module of a mobile terminal, does not include a switch structure in the mobile terminal, and communicates between the CPU and the Bluetooth module and between the CPU and an external device using USB. The present invention provides a method for controlling Bluetooth communication using a USB device and a terminal thereof.
상기 목적을 달성하기 위한 본 발명에 따른 유에스비를 이용한 블루투스 통 신 제어 방법은, 내부 블루투스 모듈과 메인 씨피유(CPU) 간에 하나의 인터페이스를 통해 초기화를 수행하는 단계; 및 상기 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 상기 하나의 인터페이스를 통해 통신을 수행하는 단계;를 포함한다.Bluetooth communication control method using the USB according to the present invention for achieving the above object comprises the steps of performing initialization through a single interface between the internal Bluetooth module and the main CPU (CPU); And performing communication through the one interface between the Bluetooth module and the main CPU.
또한, 상기 초기화를 수행하는 단계는, 상기 내부 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 하나의 유에스비(USB) 라인을 통한 인터페이스를 통해 수행하게 된다.In addition, the initializing may be performed through an interface through one USB line between the internal Bluetooth module and the main CPU.
또한, 상기 초기화를 수행하는 단계는, 상기 내부 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 인터페이스 식별(Interface Descriptor) 정보를 이용하여 수행하게 된다.The performing of the initialization may be performed by using interface descriptor information between the internal Bluetooth module and the main CPU.
또한, 상기 초기화를 수행하는 단계는, 상기 메인 씨피유(CPU)에서 상기 내부 블루투스 모듈로 전송하는 엔드 포인트 및 상기 내부 블루투스 모듈에서 상기 메인 씨피유(CPU)로 전송하는 엔드 포인트를 통해 수행하게 된다.The performing of the initialization may be performed through an endpoint transmitted from the main CPU to the internal Bluetooth module and an endpoint transmitted from the internal Bluetooth module to the main CPU.
또한, 상기 통신을 수행하는 단계는, 상기 내부 블루투스 모듈의 내부에 구비된 유에스비(USB) 호스트(Host) 모듈과 상기 메인 씨피유(CPU)의 내부에 구비된 유에스비(USB) 클라이언트 모듈 간에 통신을 수행하게 된다.The performing of the communication may include communication between a USB host module provided inside the internal Bluetooth module and a USB client module provided inside the main CPU. Done.
그리고, 상기 초기화를 수행하는 단계는, 상기 내부 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 장치 식별(Device Descriptor) 정보 및 인터페이스 식별(Interface Descriptor) 정보를 이용하여 수행하게 된다.The performing of the initialization may be performed using device descriptor information and interface descriptor information between the internal Bluetooth module and the main CPU.
한편, 상기 목적을 달성하기 위한 유에스비를 이용한 블루투스 통신 제어 방법은, 내부 블루투스 모듈과 메인 씨피유(CPU) 간에 하나의 유에스비(USB) 라인을 통해 초기화를 수행하는 단계; 상기 메인 씨피유(CPU)와 상기 외부 장치 간에 상기 하나의 유에스비(USB) 라인을 통해 초기화를 수행하는 단계; 및 상기 내부 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 또는 상기 메인 씨피유(CPU)와 상기 외부 장치 간에, 상기 하나의 유에스비 라인(USB) 통해 통신을 수행하는 단계;를 포함한다.On the other hand, the Bluetooth communication control method using the USB to achieve the above object, the step of performing initialization through a single USB cable between the internal Bluetooth module and the main CPU (CPU); Performing initialization through the one USB line between the main CPU and the external device; And performing communication through the one USB line between the internal Bluetooth module and the main CPU or between the main CPU and the external device.
또한, 상기 내부 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 상기 초기화를 수행하는 단계는, 상기 내부 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 상기 하나의 유에스비(USB) 라인을 통한 제1 인터페이스를 통해 수행하게 된다.The performing of the initialization between the internal Bluetooth module and the main CPI may be performed through a first interface between the internal Bluetooth module and the main CPU via one USB line. Done.
또한, 상기 메인 씨피유(CPU)와 상기 외부 장치 간에 상기 초기화를 수행하는 단계는, 상기 메인 씨피유(CPU)와 상기 외부 장치 간에 상기 하나의 유에스비(USB) 라인을 통한 제2 인터페이스를 통해 수행하게 된다.In addition, the initializing between the main CPI and the external device may be performed through a second interface between the main CPU and the external device through the one USB line. .
또한, 상기 제1 인터페이스 또는 상기 제2 인터페이스를 통해 상기 초기화를 수행할 때, 인터페이스 식별(Interface Descriptor) 정보를 이용하게 된다.In addition, when performing the initialization through the first interface or the second interface, Interface Descriptor information is used.
또한, 상기 제1 인터페이스 또는 상기 제2 인터페이스를 통해 상기 초기화를 수행할 때, 장치 식별(Device Descriptor) 정보 및 인터페이스 식별(Interface Descriptor) 정보를 이용하게 된다.In addition, when performing the initialization through the first interface or the second interface, Device Descriptor information and Interface Descriptor information are used.
또한, 상기 초기화를 수행할 때, 상기 제1 인터페이스와 상기 제2 인터페이스를 통해 데이터를 전송하는 시간이 각각 서로 다르다.In addition, when performing the initialization, the time for transmitting data through the first interface and the second interface are different.
또한, 상기 통신을 수행하는 단계는, 상기 내부 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 상기 하나의 유에스비(USB) 라인을 통한 제1 인터페이스를 통해 수행하거나, 상기 메인 씨피유(CPU)와 상기 외부 장치 간에 상기 하나의 유에스비 라인(USB) 통한 제2 인터페이스를 통해 수행하게 된다.The performing of the communication may be performed between the internal Bluetooth module and the main CPU through a first interface through the one USB line, or the main CPU and the external device. It is performed through the second interface through the one USB line (USB).
또한, 상기 통신을 수행할 때, 상기 제1 인터페이스와 상기 제2 인터페이스를 통해 데이터를 전송하는 시간이 각각 서로 다르다.In addition, when performing the communication, a time for transmitting data through the first interface and the second interface is different from each other.
또한, 상기 통신을 수행하는 단계는, 상기 메인 씨피유(CPU)에서 상기 내부 블루투스 모듈로 전송하는 엔드 포인트 및 상기 내부 블루투스 모듈에서 상기 메인 씨피유(CPU)로 전송하는 엔드 포인트를 통해 수행하거나, 상기 메인 씨피유(CPU)에서 상기 외부 장치로 전송하는 엔드 포인트 및 상기 외부 장치에서 상기 메인 씨피유(CPU)로 전송하는 엔드 포인트를 통해 수행하게 된다.In addition, the performing of the communication may be performed through an endpoint transmitting from the main CPU to the internal Bluetooth module and an endpoint transmitting from the internal Bluetooth module to the main CPU, or the main It is performed through an endpoint transmitting from the CPU to the external device and an endpoint transmitting from the external device to the main CPU.
그리고, 상기 통신을 수행하는 단계는, 상기 내부 블루투스 모듈에 구비된 유에스비(USB) 호스트(Host) 모듈과 상기 메인 씨피유(CPU)의 내부에 구비된 유에스비(USB) 클라이언트 모듈 간에 통신을 수행하거나, 상기 외부 장치의 내부에 구비된 유에스비(USB) 호스트(Host) 모듈과 상기 메인 씨피유(CPU)의 내부에 구비된 유에스비(USB) 클라이언트 모듈 간에 통신을 수행하게 된다.The performing of the communication may include performing communication between a USB host module provided in the internal Bluetooth module and a USB client module provided in the main CPU. Communication between the USB host module provided inside the external device and the USB client module provided inside the main CPU is performed.
한편, 상기 목적을 달성하기 위한 본 발명에 따른 블루투스 통신 제어 장치는, 제1 유에스비(USB) 모듈이 구비된 메인 씨피유(CPU); 제2 유에스비(USB) 모듈이 구비된 블루투스 모듈; 및 상기 메인 씨피유(CPU)와 상기 블루투스 모듈 및 상기 외부 장치를 하나의 라인으로 연결하는 유에스비(USB) 라인;을 포함한다.On the other hand, Bluetooth communication control apparatus according to the present invention for achieving the above object, the first CSI (USB) module is provided with a main CPU (CPU); A Bluetooth module provided with a second USB module; And a USB line connecting the main CPU, the Bluetooth module, and the external device to one line.
또한, 상기 메인 씨피유(CPU)는 유에스비(USB) 클라이언트 모듈을 구비하고, 상기 블루투스 모듈은 유에스비(USB) 호스트 모듈을 구비한다.The main CPU may include a USB client module, and the Bluetooth module may include a USB host module.
또한, 상기 외부 장치는 피씨(PC)를 포함한다.In addition, the external device includes a PC.
또한, 상기 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 하나의 상기 유에스비(USB) 라인을 통해 초기화를 수행하고, 상기 메인 씨피유(CPU)와 상기 외부 장치 간에 상기 하나의 유에스비(USB) 라인을 통해 초기화를 수행하게 된다.In addition, initialization is performed through the one USB line between the Bluetooth module and the main CPU, and initialized through the one USB line between the main CPU and the external device. Will be performed.
또한, 상기 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 상기 하나의 유에스비(USB) 라인을 통한 제1 인터페이스를 통해 상기 초기화를 수행하고, 상기 메인 씨피유(CPU)와 상기 외부 장치 간에 상기 하나의 유에스비(USB) 라인을 통한 제2 인터페이스를 통해 상기 초기화를 수행하게 된다.In addition, the initialization is performed through the first interface through the one USB line between the Bluetooth module and the main CPU and the one USB between the main CPU and the external device. The initialization is performed through the second interface through the USB) line.
또한, 상기 초기화를 수행한 이후에, 상기 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 또는 상기 메인 씨피유(CPU)와 상기 외부 장치 간에, 상기 하나의 유에스비 라인(USB) 통해 통신을 수행하게 된다.In addition, after performing the initialization, communication is performed between the Bluetooth module and the main CPU (CPU) or between the main CPU (CPU) and the external device through the one USB cable (USB).
또한, 상기 블루투스 모듈과 상기 메인 씨피유(CPU) 간에 상기 하나의 유에스비(USB) 라인을 통한 제1 인터페이스를 통해 상기 통신을 수행하고, 상기 메인 씨피유(CPU)와 상기 외부 장치 간에 상기 하나의 유에스비(USB) 라인을 통한 제2 인터페이스를 통해 상기 통신을 수행하게 된다.In addition, the communication is performed between the Bluetooth module and the main CPU via the first interface through the one USB line, and the one USB between the main CPU and the external device. The communication is performed via a second interface via a USB) line.
또한, 상기 제1 인터페이스 또는 상기 제2 인터페이스를 통해 상기 초기화를 수행할 때, 인터페이스 식별(Interface Descriptor) 정보를 이용하게 된다.In addition, when performing the initialization through the first interface or the second interface, Interface Descriptor information is used.
또한, 상기 제1 인터페이스 또는 상기 제2 인터페이스를 통해 상기 초기화를 수행할 때, 장치 식별(Device Descriptor) 정보 및 인터페이스 식별(Interface Descriptor) 정보를 이용하게 된다.In addition, when performing the initialization through the first interface or the second interface, Device Descriptor information and Interface Descriptor information are used.
또한, 상기 초기화를 수행할 때, 상기 제1 인터페이스와 상기 제2 인터페이스를 통해 데이터를 전송하는 시간이 각각 서로 다르다.In addition, when performing the initialization, the time for transmitting data through the first interface and the second interface are different.
그리고, 상기 통신을 수행할 때, 상기 제1 인터페이스와 상기 제2 인터페이스를 통해 데이터를 전송하는 시간이 각각 서로 다르다.In addition, when performing the communication, a time for transmitting data through the first interface and the second interface is different from each other.
이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. In the drawings, the same reference numerals are used to designate the same or similar components throughout the drawings.
또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.
도 1은 본 발명의 실시예에 따른 USB를 이용한 블루투스 통신 제어 방법을 설명하기 위한 시스템 구성도를 나타낸 도면이다.1 is a diagram illustrating a system configuration for explaining a Bluetooth communication control method using USB according to an embodiment of the present invention.
본 발명의 실시예에 따라 USB를 이용한 블루투스 통신 제어 방법이 적용된 시스템은 메인 CPU(110)와 블루투스 모듈(120)을 포함하는 이동 단말기(100)와, 외부 장치로서의 PC(150)를 포함한다.According to an embodiment of the present invention, a system to which a Bluetooth communication control method using USB is applied includes a
메인 CPU(110)는 내부에 USB 클라이언트 모듈(112)을 포함하고 있으며, USB 클라이언트 모듈(112)의 인터페이스와 엔드 포인트(End Point)를 형성하여 두 개 이상의 디바이스(Device)를 동시에 지원하게 된다. 또한, 메인 CPU(110)는 USB 클라이언트 모듈(112)을 통해 블루투스 모듈(120)과 통신한다.The
블루투스 모듈(120)은 USB 호스트 모듈(122)을 포함하고 있으며, USB 호스트 모듈(122)을 통해 메인 CPU(110)의 USB 클라이언트 모듈(112)과 통신한다.The
PC(150)는 내부에 USB 호스트 모듈(152)을 포함하고 있으며, USB 호스트 모듈(152)을 통해 이동 단말기(100)의 메인 CPU(110)와 통신한다.The
여기서, 메인 CPU(110)의 USB 클라이언트 모듈(112)과 블루투스 모듈(120)의 USB 호스트 모듈(122) 및 PC(150)의 USB 호스트 모듈(152)은 하나의 USB 라인(Line) 즉, 물리적 케이블(Physical Cable)로 연결되어 있다.Here, the
이때, 메인 CPU(110)의 USB 클라이언트 모듈(112)과 블루투스 모듈(120)의 USB 호스트 모듈(122)은 제1 인터페이스(Interface 1)를 통해 통신한다. 또한, 메인 CPU(110)의 USB 클라이언트 모듈(112)과 PC(150)의 USB 호스트 모듈(152)은 제2 인터페이스(Interface 2)를 통해 통신한다.At this time, the
여기서, 제1 인터페이스(Interface 1)와 제2 인터페이스(Interface 2)는 동일한 물리적 케이블을 이용하지만 각각 다른 시간에 따라 사용된다. 즉, 메인 CPU(110)와 블루투스 모듈(120) 간에 연결된 물리적 케이블이 제1 시간에 송수신을 수행하면 제1 인터페이스로 사용된다. 또한, 메인 CPU(110)와 PC(150) 간에 연결된 물리적 케이블이 제2 시간에 송수신을 수행하면 제2 인터페이스로 사용되는 것이다. 이때, 제1 시간 및 제2 시간은 예컨대, 타임슬롯(Timeslot) 단위로 이용될 수 있다.Here, the first interface (Interface 1) and the second interface (Interface 2) use the same physical cable, but are used according to different times. That is, when the physical cable connected between the
도 2는 본 발명의 실시예에 따른 USB를 이용한 블루투스 통신 제어 방법에서 USB 라인의 인터페이스 기능을 설명하기 위한 도면이다.2 is a view for explaining the interface function of the USB line in the Bluetooth communication control method using USB according to an embodiment of the present invention.
도 2를 참조하면, 본 발명의 실시예에서 사용하는 USB 라인(210)은 제1 인터페이스(212)와 제2 인터페이스(214)를 동시에 이용하는 인터페이스란 개념을 가지고 있다. 이때, 인터페이스는 몇 개의 엔드 포인트(End Point)로 구성되고, 각각의 엔드 포인트는 방향(Direction)과 종류(Type)가 있다.Referring to FIG. 2, the
또한, 도 2에 도시된 USB 라인(210)은 제1 인터페이스(212)와 제2 인터페이스(214)의 두 개의 인터페이스를 구비하는 것이 아니고, 시간에 따라 제1 인터페이스(212) 또는 제2 인터페이스(214)로 작용하게 된다. In addition, the
따라서, 도 2에 도시된 USB 라인(210)은 제1 인터페이스(212)와 제2 인터페이스(214)로 작용하는 것을 나타내기 위해 두 개의 인터페이스를 포함하는 형태로 도시하였음에 주의해야 한다.Accordingly, it should be noted that the
도 2에서, USB 라인(210)이 메인 CPU(110)와 블루투스 모듈(120) 간의 송수신을 위한 제1 인터페이스(212)로 이용될 경우에, 제1 인터페이스(212)는 다음과 같은 3 개의 엔드 포인트를 포함할 수 있다.In FIG. 2, when the
첫번째는 메인 CPU(110)에서 블루투스 모듈(120)로 송신하는 엔드 포인트 01(Endpoint 01)로서, 벌크(Bulk) 타입이며 유에스비(USB) 호스트 모듈(122)의 입장에서 인(In) 방향을 갖는다.The first is an endpoint 01 transmitted from the
두번째는 블루투스 모듈(120)에서 메인 CPU(110)로 송신하는 엔드 포인트 81(Endpoint 81)로서, 벌크(Bulk) 타입이며 유에스비(USB) 호스트 모듈(122)의 입장에서 아웃(Out) 방향을 갖는다.The second is an endpoint 81 transmitted from the
세번째는 메인 CPU(110)에서 블루투스 모듈(120)로 송신하는 엔드 포인트 82(Endpoint 82)로서, 인터럽트(Interrupt) 타입이며 유에스비(USB) 호스트 모듈(122)의 입장에서 인(In) 방향을 갖는다.The third is an endpoint 82 transmitted from the
한편, 도 2에서 USB 라인(210)이 메인 CPU(110)와 PC(150) 간의 송수신을 위한 제2 인터페이스(214)로 이용될 경우에, 제2 인터페이스(214)도 다음과 같은 3 개의 엔드 포인트를 포함할 수 있다.Meanwhile, when the
첫번째는 메인 CPU(110)에서 PC(150)로 송신하는 엔드 포인트 03(Endpoint 03)로서, 벌크(Bulk) 타입이며 유에스비(USB) 호스트 모듈(122)의 입장에서 인(In) 방향을 갖는다.The first is an endpoint 03 transmitted from the
두번째는 PC(150)에서 메인 CPU(110)로 송신하는 엔드 포인트 83(Endpoint 83)로서, 벌크(Bulk) 타입이며 유에스비(USB) 호스트 모듈(122)의 입장에서 아웃(Out) 방향을 갖는다.The second is an endpoint 83 transmitted from the
세번째는 메인 CPU(110)에서 PC(150)로 송신하는 엔드 포인트 84(Endpoint 84)로서, 인터럽트(Interrupt) 타입이며 유에스비(USB) 호스트 모듈(122)의 입장에서 인(In) 방향을 갖는다.The third is an endpoint 84 transmitted from the
도 3은 본 발명의 실시예에 따른 USB를 이용한 블루투스 통신 제어 방법을 설명하기 위한 동작 흐름도이다.3 is a flowchart illustrating a Bluetooth communication control method using USB according to an embodiment of the present invention.
도 3을 참조하면, 메인 CPU(110)의 USB 클라이언트 모듈(112)과 블루투스 모듈(120)의 USB 호스트 모듈(122) 및 PC(150)의 USB 호스트 모듈(152)이 하나의 유에스비(USB) 라인(210)으로 연결되어 있는 상태에 있다.Referring to FIG. 3, the
먼저, 블루투스 모듈(120)의 USB 호스트 모듈(122)과 CPU(110)의 USB 클라이언트 모듈(112) 간의 초기화를 수행한다.First, initialization between the
USB 호스트 모듈(122)을 통해 USB 호스트 기능을 하는 블루투스 모듈(120)에서 제1 인터페이스(212)를 통해 메인 CPU(110)의 USB 클라이언트 모듈(112)로 장치 식별(Device Descriptor) 정보를 요청한다(S302).The device module (Device Descriptor) information is requested from the
메인 CPU(110)는 USB 클라이언트 모듈(112)에 관한 장치 식별(Device Descriptor) 정보를 제1 인터페이스(212)를 통해 블루투스 모듈(120)의 USB 호스트 모듈(122)로 전송해 준다(S304).The
USB 호스트로서의 블루투스 모듈(120)은 USB 라인(210)의 제1 인터페이스(212)를 통해 액크(Acknowledgement) 신호를 메인 CPU(110)로 전송해 준다(S306).The
이후, USB 호스트로서의 블루투스 모듈(120)은 제1 인터페이스(212)를 통해 메인 CPU(110)의 USB 클라이언트 모듈(112)로 인터페이스 식별(Interface Descriptor) 정보를 요청한다(S308).Thereafter, the
이에 따라, 메인 CPU(110)의 USB 클라이언트 모듈(112)은 USB 라인(210)의 제1 인터페이스(212)를 이용하므로 블루투스 모듈(120)의 USB 호스트 모듈(122)로 인터페이스 식별(Interface Descriptor) 정보를 전송해 준다(S310).Accordingly, since the
USB 호스트로서의 블루투스 모듈(120)은 제1 인터페이스(212)를 통해 인터페이스 식별(Interface Descriptor) 정보를 수신하면, 메인 CPU(110)의 USB 클라이언트 모듈(112)로 액크(Acknowledgement) 신호를 전송해 준다(S312).When the
따라서, 전술한 과정을 통해 블루투스 모듈(120)의 USB 호스트 모듈(122)과 메인 CPU(110)의 USB 클라이언트 모듈(112) 간의 초기화를 완료하게 된다.Therefore, the above-described process completes the initialization between the
여기서, 블루투스 모듈(120)의 USB 호스트 모듈(122)에서 CPU(110)의 USB 클라이언트 모듈(112)로의 제1 인터페이스(212)를 통해 이용되는 엔드 포인트는 벌크 타입이며 아웃(Out) 방향을 갖는 예컨대, 엔드 포인트 81(Endpoint 81)이다.Here, the endpoint used via the
또한, 메인 CPU(110)의 USB 클라이언트 모듈(112)에서 블루투스 모듈(120)의 USB 호스트 모듈(122)로의 제1 인터페이스(212)를 통해 이용되는 엔드 포인트는 벌크 타입이며 인(In) 방향을 갖는 예컨대, 엔드 포인트 01(Endpoint 01)이다.In addition, the endpoint used via the
그리고, 메인 CPU(110)의 USB 클라이언트 모듈(112)에서 블루투스 모듈(120)의 USB 호스트 모듈(122)로의 제1 인터페이스(212)를 통해 인터럽트가 발생할 경우에는 예컨대, 엔드 포인트 82(Endpoint 82)가 이용된다.When an interrupt occurs through the
한편, 메인 CPU(110)는 USB 라인(210)을 통해 연결되어 있는 PC(150)와 통신하기 위해, USB 클라이언트 모듈(112)을 통해 PC(150)의 USB 호스트 모듈(152) 간의 초기화를 수행한다.Meanwhile, the
USB 호스트 모듈(152)을 통해 USB 호스트 기능을 하는 PC(150)에서 USB 라인(210)의 제2 인터페이스(214)를 통해 메인 CPU(110)의 USB 클라이언트 모듈(112)로 장치 식별(Device Descriptor) 정보를 요청한다(S352).Device Descriptor from the
메인 CPU(110)는 USB 클라이언트 모듈(112)에 관한 장치 식별(Device Descriptor) 정보를 제2 인터페이스(214)를 통해 PC(150)의 USB 호스트 모듈(152)로 전송해 준다(S354).The
USB 호스트로서의 PC(150)는 USB 라인(210)의 제2 인터페이스(214)를 통해 액크(Acknowledgement) 신호를 메인 CPU(110)로 전송해 준다(S356).The
이후, USB 호스트로서의 PC(150)는 제2 인터페이스(214)를 통해 메인 CPU(110)의 USB 클라이언트 모듈(112)로 인터페이스 식별(Interface Descriptor) 정보를 요청한다(S358).Thereafter, the
이에 따라, 메인 CPU(110)의 USB 클라이언트 모듈(112)은 USB 라인(210)의 제2 인터페이스(214)를 이용하므로 PC(150)의 USB 호스트 모듈(152)로 인터페이스 식별(Interface Descriptor) 정보를 전송해 준다(S360).Accordingly, since the
USB 호스트로서의 PC(150)는 제2 인터페이스(214)를 통해 인터페이스 식별(Interface Descriptor) 정보를 수신하면, 메인 CPU(110)의 USB 클라이언트 모듈(112)로 액크(Acknowledgement) 신호를 전송해 준다(S362).When the
따라서, 전술한 과정을 통해 PC(150)의 USB 호스트 모듈(152)과 메인 CPU(110)의 USB 클라이언트 모듈(112) 간의 초기화를 완료하게 된다.Accordingly, the above-described process completes the initialization between the
여기서, PC(150)의 USB 호스트 모듈(152)에서 CPU(110)의 USB 클라이언트 모듈(112)로의 제2 인터페이스(214)를 통해 이용되는 엔드 포인트는 벌크 타입이며 아웃(Out) 방향을 갖는 예컨대, 엔드 포인트 83(Endpoint 83)이다.Here, the endpoint used via the
또한, 메인 CPU(110)의 USB 클라이언트 모듈(112)에서 PC(150)의 USB 호스트 모듈(152)로의 제2 인터페이스(214)를 통해 이용되는 엔드 포인트는 벌크 타입이며 인(In) 방향을 갖는 예컨대, 엔드 포인트 03(Endpoint 03)이다.In addition, the endpoint used via the
그리고, 메인 CPU(110)의 USB 클라이언트 모듈(112)에서 PC(150)의 USB 호스트 모듈(152)로의 제2 인터페이스(214)를 통해 인터럽트가 발생할 경우에는 예컨대, 엔드 포인트 84(Endpoint 84)가 이용된다.Then, when an interrupt occurs through the
전술한 과정을 통해 초기화가 이루어진 이후에, 메인 CPU(110)의 USB 클라이언트 모듈(112)과 블루투스 모듈(120)의 USB 호스트 모듈(122) 간에는 제1 인터페이스(212)를 통해 데이터의 송수신에 관한 통신이 이루어지고, 메인 CPU(110)의 USB 클라이언트 모듈(112)과 PC(150)의 USB 호스트 모듈(152) 간에는 제2 인터페이스(214)를 통해 데이터의 송수신에 관한 통신이 이루어진다(S390).After the initialization is performed through the above-described process, the
이때, USB 라인(210)의 제1 인터페이스(212)를 통한 전송 시간과, 제2 인터페이스(214)를 통한 데이터의 전송 시간은 각각 다르다.At this time, the transmission time through the
예컨대, 메인 CPU(110)의 USB 클라이언트 모듈(112)과 블루투스 모듈(120)의 USB 호스트 모듈(122) 및 PC(150)의 USB 호스트 모듈(152) 간에 도 4에 도시된 바와 같은 데이터가 전송될 경우에, 제1 타임슬롯은 제1 인터페이스(212)를 통해 전송되고, 제2 타임슬롯은 제2 인터페이스(214)를 통해 전송되는 방식으로 제n 타임슬롯까지 전송하게 된다. 도 4는 제1 인터페이스와 제2 인터페이스를 통해 전송되는 타임슬롯의 예를 도시한 것이다.For example, data as shown in FIG. 4 is transferred between the
전술한 바와 같이 본 발명에 의하면, 이동 단말기의 블루투스 모듈에 USB 호스트 기능을 구현하고, 이동 단말기 내에 스위치 구조를 구비하지 않고, USB를 이 용하여 CPU와 블루투스 모듈 간 및 CPU와 외부 장치 간의 통신을 수행할 수 있도록 하는, 유에스비를 이용한 블루투스 통신 제어 방법 및 그 단말기를 실현할 수 있다.As described above, according to the present invention, the Bluetooth module of the mobile terminal implements the USB host function, and does not have a switch structure in the mobile terminal. A Bluetooth communication control method using UBS and a terminal thereof can be realized.
이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention.
따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments.
본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The protection scope of the present invention should be interpreted by the following claims, and all technical ideas within the equivalent scope should be interpreted as being included in the scope of the present invention.
이상에서 설명한 바와 같이 본 발명에 의하면, 이동 단말기에서 블루투스 기능을 통해 다운로드한 파일을 외부 저장 매체로 전송할 때 스위칭 동작이 필요치 않게 된다.As described above, according to the present invention, the switching operation is not necessary when the mobile terminal transmits the downloaded file to the external storage medium through the Bluetooth function.
또한, 하나의 유에스비(USB) 라인을 통해 단말기와 블루투스 모듈 간 또는 단말기와 외부 장치 간의 데이터 전송을 용이하게 실행할 수 있다.In addition, it is possible to easily perform data transmission between the terminal and the Bluetooth module or between the terminal and an external device through one USB line.
또한, USB의 호스트 기능을 실행할 때 호스트의 기능상 CPU에 소모 전류와 성능에 따른 로드(Load)가 많이 걸리는 문제를 해결할 수 있다.In addition, it is possible to solve the problem that the load of the CPU due to the current consumption and performance in the host function when the host function of the USB is executed.
또한, 단말기의 블루투스 모듈을 이용할 때 UART 속도의 한계를 극복할 수 있다.In addition, when using the Bluetooth module of the terminal can overcome the limitation of the UART speed.
그리고, 이동 단말기에 외부 장치를 연결할 때 곧바로 플러그 앤 플레이(Plug and Play) 방식의 USB 기능을 구현할 수 있다.In addition, when connecting an external device to the mobile terminal, it is possible to immediately implement a Plug and Play USB function.
Claims (28)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060112054A KR101276893B1 (en) | 2006-11-14 | 2006-11-14 | Method for controlling bluetooth communication using USB, and terminal thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060112054A KR101276893B1 (en) | 2006-11-14 | 2006-11-14 | Method for controlling bluetooth communication using USB, and terminal thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20080043463A KR20080043463A (en) | 2008-05-19 |
KR101276893B1 true KR101276893B1 (en) | 2013-06-19 |
Family
ID=39661805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060112054A KR101276893B1 (en) | 2006-11-14 | 2006-11-14 | Method for controlling bluetooth communication using USB, and terminal thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101276893B1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101688208B1 (en) * | 2009-12-09 | 2016-12-21 | 에스케이플래닛 주식회사 | Method for handover of data synchronization between device and portable device and sysem tehreof |
KR20220056672A (en) * | 2020-10-28 | 2022-05-06 | 삼성전자주식회사 | Electronic device and operating method for the same |
CN116209971A (en) | 2020-10-28 | 2023-06-02 | 三星电子株式会社 | Electronic device and operation method thereof |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040050101A (en) * | 2002-12-09 | 2004-06-16 | 한국전자통신연구원 | Bluetooth-IP access system |
-
2006
- 2006-11-14 KR KR1020060112054A patent/KR101276893B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040050101A (en) * | 2002-12-09 | 2004-06-16 | 한국전자통신연구원 | Bluetooth-IP access system |
Also Published As
Publication number | Publication date |
---|---|
KR20080043463A (en) | 2008-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9069697B2 (en) | Asymmetrical universal serial bus communications | |
KR101237763B1 (en) | Sharing single host controller with multiple functional devices | |
TWI293216B (en) | Interface integrated circuit device for a usb connection | |
US10909061B2 (en) | Method, apparatus and system for changing to which remote device a local device is in communication via a communication medium through use of interruption of the communication medium | |
CN101634976A (en) | Method and terminal for providing Bluetooth function for computer | |
US20060106962A1 (en) | USB On-The-Go implementation | |
JP2008513885A (en) | Universal serial bus switching hub | |
KR101276893B1 (en) | Method for controlling bluetooth communication using USB, and terminal thereof | |
KR101058692B1 (en) | Multi-interface converter and its control method | |
JP3102459U (en) | Signal adapter for both USB and PS / 2 | |
JP4453449B2 (en) | In-vehicle communication module and in-vehicle device | |
JP4952150B2 (en) | Wireless communication apparatus, wireless communication program, wireless communication system, image forming apparatus, and control program for image forming apparatus | |
KR200234895Y1 (en) | Apparatus for using usb function of data exchange | |
KR102018666B1 (en) | Electronic apparatus connecting usb device and control method thereof | |
KR100622246B1 (en) | Mobile phone having uart line switch | |
CN108804367B (en) | Wireless peripheral system | |
KR20050006484A (en) | Compatible usb connector and method for communicating data using it | |
KR101278472B1 (en) | Mouse for computer with usb socket | |
KR100796304B1 (en) | Apparatus and method for transmitting of data | |
KR101377323B1 (en) | Dongle, dongle module, dongle adapter and device interworking method thereof for commnication based on universal asychronous receiver transmitter | |
CN102541296A (en) | Usb mouse | |
KR20080056963A (en) | Portable terminal and method for controlling host of portable terminal | |
TWM573546U (en) | Network switch | |
JP5512147B2 (en) | USB memory | |
JP4376838B2 (en) | Equipment with communication function |
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: 20160524 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20170524 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20180524 Year of fee payment: 6 |