KR101487763B1 - Synchronization and control systems of smart devices and peripherals using USB communication and the methods - Google Patents

Synchronization and control systems of smart devices and peripherals using USB communication and the methods Download PDF

Info

Publication number
KR101487763B1
KR101487763B1 KR20130093095A KR20130093095A KR101487763B1 KR 101487763 B1 KR101487763 B1 KR 101487763B1 KR 20130093095 A KR20130093095 A KR 20130093095A KR 20130093095 A KR20130093095 A KR 20130093095A KR 101487763 B1 KR101487763 B1 KR 101487763B1
Authority
KR
South Korea
Prior art keywords
peripheral
peripheral device
smart device
usb
smart
Prior art date
Application number
KR20130093095A
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 KR20130093095A priority Critical patent/KR101487763B1/en
Application granted granted Critical
Publication of KR101487763B1 publication Critical patent/KR101487763B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4295Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using an embedded synchronisation
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/08Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers from or to individual record carriers, e.g. punched card, memory card, integrated circuit [IC] card or smart card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Abstract

The present invention relates to a system for synchronizing and controlling a smart device and peripherals using USB communications and to a method thereof and, more specifically, to a system and method, which allow an application program installed in a smart device to recognize and manage a peripheral using a USB host on the go (OTG) function of the smart device. According to an embodiment of the present invention, a system includes a smart device configured to perform a USB host OTG function for a connected peripheral when the peripheral is USB connected and to recognize a removable disk of the peripheral; peripherals USB connected to the smart device and configured to support removable disks; an OTG cable configured to connect the smart device with the peripherals through a USB connector and to recognize the smart device as a USB host when the peripherals are connected to the smart device; and an application program installed in the smart device such that the smart device which has recognized a removable disk of a connected peripheral can synchronize and control the connected peripheral.

Description

USB통신을 이용한 스마트기기와 주변기기의 동기화 및 제어시스템과 그 방법 {Synchronization and control systems of smart devices and peripherals using USB communication and the methods}Technical Field [0001] The present invention relates to a synchronization system and a control method of a smart device and a peripheral device using a USB communication,

본 발명은 USB통신을 이용한 스마트기기와 주변기기의 동기화 및 제어시스템과 그 방법에 관한 것으로서, 더욱 상세하게는 스마트기기의 USB 호스트 OTG(On The Go) 기능을 이용하여 스마트기기의 애플리케이션 프로그램이 해당 주변기기를 인식 관리할 수 있도록 하는 시스템과 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system and method for synchronizing and controlling a smart device and a peripheral device using USB communication, and more particularly, The present invention relates to a system and a method for enabling a user to recognize and manage a web page.

USB(Universal Serial Bus)는 조이스틱, 키보드, 전화, 스캐너 및 프린터 등과 같은 주변기기와 컴퓨터를 직접 연결하는 플러그 앤 플레이 인터페이스이다.Universal Serial Bus (USB) is a plug-and-play interface that connects computers directly to peripherals such as joysticks, keyboards, phones, scanners, and printers.

최근에는 핸드폰, 디지털 카메라에서 컴퓨터로 데이터를 전송할 때도 대부분 USB 인터페이스를 사용한다. In recent years, most of them use USB interface to transfer data from mobile phones and digital cameras to computers.

USB는 480Mbps의 데이터 전송속도를 지원하므로 다수의 주변기기를 연결해도 속도가 충분하고 최대 127개까지 장치들을 사슬처럼 연결할 수 있다.USB supports 480Mbps data transfer rate, so even if you connect multiple peripherals, you can connect up to 127 devices as chain.

또 컴퓨터를 사용하는 도중에 연결해도 인식이 되며 별도의 주변장치용 전원이 필요 없다.It is recognized even if you connect it while you are using your computer, and you do not need a separate peripheral power supply.

세계에는 약 13억 개 이상의 USB 장치가 있다고 하나, 이렇게 널리 쓰이고 있는 USB 기술이라도 취약점이 하나 있는데, 반드시 호스트로 동작하는 PC가 있어야 한다는 점이다.There are more than 1.3 billion USB devices in the world, but even this widely used USB technology has a vulnerability that must be a host PC.

즉, 종래의 USB를 이용한 주변기기는 유지보수, 관리를 위해 컴퓨터(PC)를 이용하였으므로, 휴대의 어려움 및 제한적인 네트워크 접속, 성능, 환경에 따른 불안전한 동작으로 인하여 컴퓨터를 잘 다루는 사용자만이 이용할 수 있는 한계가 있었다.That is, since a conventional peripheral device using a USB device uses a computer (PC) for maintenance and management, it is used only by a user who handles the computer due to difficulty in portability and insecure operation due to limited network access, performance, and environment There was a limit.

또한, 컴퓨터를 잘 다루지 못하는 사용자는 주변기기의 유지보수, 관리의 어려움으로 인하여 제한적으로 사용할 수밖에 없어 더 개선된 제품을 사용하지 못하고, 미숙한 컴퓨터 사용으로 인해 주변기기의 고장을 일으키며, 컴퓨터가 있는 지정된 장소에서만 유지보수, 관리를 할 수 있으므로 주변기기에 대한 이동 제한이 따르는 문제점이 있었다.In addition, a user who can not handle the computer can not use the improved product due to limited use due to the maintenance and management difficulties of the peripheral device, causes the failure of the peripheral device due to the use of the inexperienced computer, It is possible to perform maintenance and management only on the peripheral devices.

국내공개특허 제10-2005-0081499호(2005년08월19일)Korean Patent Laid-Open No. 10-2005-0081499 (Aug. 19, 2005)

본 발명은 상술한 문제점을 해결하기 위하여 안출된 것으로서, 스마트기기의 USB 호스트 OTG(On The Go) 기능을 이용하여 스마트기기의 애플리케이션 프로그램이 해당 주변기기를 인식 관리할 수 있도록 하고 손쉬운 조작과 스마트기기의 무선 네트워크를 이용하여 자유로운 이동 상황에서도 주변기기를 사용할 수 있도록 하며 연결된 주변기기를 USB 정보로서 정확히 판단하여 프로그램을 제어함으로써, 안전하게 주변기기를 유지보수 및 관리할 수 있는 USB통신을 이용한 스마트기기와 주변기기의 동기화 및 제어시스템과 그 방법을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide an intelligent device that enables an application program of a smart device to recognize and manage a peripheral device using a USB host OTG (On The Go) By using the wireless network, it is possible to use peripherals even in a free mobile environment. Also, by controlling the program by correctly judging the connected peripheral device as USB information, it is possible to synchronize the smart device and the peripheral device using the USB communication which can safely maintain and manage the peripheral device A control system and method are provided.

상술한 목적을 달성하기 위한 본 발명의 실시예에 따른 USB통신을 이용한 스마트기기와 주변기기의 동기화 및 제어시스템은 주변기기가 USB 연결된 경우 연결된 주변기기에 대한 USB 호스트 OTG 기능을 수행하고 주변기기의 이동식 디스크를 인식하는 스마트기기;According to an aspect of the present invention, there is provided a system and method for synchronizing and controlling a smart device and a peripheral device using a USB communication, the method comprising: performing a USB host OTG function for a peripheral device connected to the peripheral device when the peripheral device is connected to the USB device; Smart devices;

상기 스마트기기에 USB 연결되고 이동식 디스크를 지원하는 주변기기;A peripheral device USB-connected to the smart device and supporting a removable disk;

상기 스마트기기와 주변기기를 USB 커넥터를 통해 연결시켜 주는 케이블로서 주변기기 연결시 스마트기기를 USB 호스트로 인식시켜 주는 OTG 케이블; 및OTG cable that connects smart device and peripheral device through USB connector, which recognizes smart device as USB host when connecting peripheral devices; And

상기 스마트기기에 탑재되어 주변기기의 이동식 디스크를 인식한 스마트기기에서 연결 주변기기를 동기화 및 제어할 수 있도록 하는 애플리케이션 프로그램(이하 '동기화앱); 를 포함하여 구성된다.An application program (hereinafter referred to as 'synchronization application') which is mounted on the smart device and allows a smart device that recognizes a removable disk of the peripheral device to synchronize and control the peripheral device; .

또한, 상기 스마트기기는 OTG 케이블 연결시 자동으로 이를 인식하여 이동식 디스크를 생성하는 것을 특징으로 한다.In addition, the smart device automatically recognizes the connection of the OTG cable and generates a removable disk.

또한, 상기 주변기기는 스마트기기에 연결된 경우 USB 연결을 인식하여 이동식 디스크 모드로 전환, 내장 메모리를 이동식 디스크화 하는 것을 특징으로 한다.In addition, when the peripheral device is connected to a smart device, the peripheral device recognizes the USB connection and switches to a portable disk mode, and converts the built-in memory into a removable disk.

또한, 상기 스마트기기가 USB 호스트인 것을 인식시키기 위해 상기 OTG 케이블은 USB 커넥터의 ID 핀이 GND 핀에 연결된 것을 특징으로 한다.In order to recognize that the smart device is a USB host, the OTG cable is characterized in that the ID pin of the USB connector is connected to the GND pin.

또한, 상기 동기화앱은 임시 실행되어 연결 주변기기와 주변기기의 USB 정보를 수집/분석하여 지원가능한 주변기기이면 활성화되고, 지원불가능한 주변기기이면 비활성되는 것을 특징으로 한다.In addition, the synchronization app is temporarily activated and collects / analyzes USB information of the peripheral device and the peripheral device, and is activated if the peripheral device is supportable, and is disabled if the peripheral device is an unsupportable peripheral device.

또한, 상기 동기화앱의 비활성화는 임시 실행된 동기화앱의 강제 실행 중지인 것을 특징으로 한다.In addition, the deactivation of the synchronization app is a forcible execution stop of the temporarily executed synchronization app.

또한, 상기 임시 실행된 동기화앱은 주변기기의 이름 및 USB 생산자와 판매자의 ID가 자체 등록된 지원 주변기기 리스트에 있나 확인하여 지원가능한 주변기기 인지 아닌지를 판단하는 것을 특징으로 한다.
In addition, the temporarily executed synchronization app determines whether the name of the peripheral device, the USB producer, and the seller's ID are included in the self-registered supported peripheral device list to determine whether or not the peripheral device is a supportable peripheral device.

본 발명의 실시예에 따른 USB통신을 이용한 스마트기기와 주변기기의 동기화 및 제어방법은 (a) 스마트기기에 OTG 케이블을 통해 주변기기가 연결된 경우 주변기기에서 USB 접속을 인식하여 내장 메모리를 이동식 디스크화하고, 스마트기기에서 이동식 디스크를 생성하는 단계;A method of synchronizing and controlling a smart device and a peripheral device using USB communication according to an embodiment of the present invention includes the steps of (a) recognizing a USB connection in a peripheral device when a peripheral device is connected to the smart device via an OTG cable, Creating a removable disk in the smart device;

(b) 상기 스마트기기의 동기화앱이 임시 실행되어 연결 주변기기와 주변기기의 USB 정보를 수집하고 분석하여 연결 주변기기가 지원가능 주변기기인지 아닌지를 판단하는 단계;(b) collecting and analyzing USB information of the peripheral device and the peripheral device by temporarily executing the synchronization application of the smart device, and determining whether the peripheral device is a supportable peripheral device;

(c) 상기 연결 주변기기가 지원가능 주변기기인 경우 임시 실행된 동기화앱이 정상 실행되고, 지원불가능 주변기기인 경우 임시 실행된 동기화앱이 강제 실행 중지되는 단계; 및(c) if the connection peripheral device is a supportable peripheral device, the temporarily executed synchronization app is normally executed; and if the connection peripheral device is an unsupported peripheral device, the temporarily executed synchronization app is forcibly stopped; And

(d) 상기 동기화앱이 정상 실행되어 주변기기를 동기화하고 제어하는 단계를 포함하는 단계; 를 포함하여 구성된다.(d) synchronizing and controlling the peripheral device with the synchronization app running normally; .

또한, 상기 (b)단계에서 주변기기의 이름 및 USB 생산자와 판매자의 ID가 자체 등록된 지원 주변기기 리스트에 있는지 확인하여 연결 주변기기가 지원가능 주변기기인지 아닌지를 판단하는 것을 특징으로 한다.In the step (b), it is determined whether the name of the peripheral device and the ID of the USB producer and the vendor are included in the self-registered supported peripheral device list, thereby determining whether the peripheral device is a supportable peripheral device.

상술한 과제의 해결 수단에 의하면, 컴퓨터를 통하지 않고 휴대와 네트워크 사용이 용이한 스마트기기의 USB 호스트 OTG를 이용함으로써 전용 애플리케이션 프로그램에 의해 손쉽게 주변기기를 유지보수 및 제어할 수 있으며, 블루투스, 와이파이 등의 무선 연결보다 빠른 USB 하이스피드로 빠르게 데이터를 처리할 수 있다.According to the means for solving the above-mentioned problems, peripheral devices can be easily maintained and controlled by a dedicated application program by using a USB host OTG of a smart device which is easy to carry and network without using a computer, and a Bluetooth, Wi- Data can be processed quickly with USB high speed than wireless connection.

도 1은 본 발명의 실시예에 따른 동기화 및 제어시스템의 구성도이다.
도 2는 도 1에 나타낸 스마트기기가 USB 호스트를 인식하기 위하여 사용하는 USB 커넥터를 나타내는 도면이다.
도 3은 도 1에 나타낸 스마트기기와 주변기기 연결시 사용되는 OTG 케이블을 나타내는 도면이다.
도 4는 도 3에 나타낸 OTG 케이블의 내부 배선을 나타낸 도면이다.
도 5는 본 발명의 실시예에 따른 동기화 및 제어방법의 순서도이다.
1 is a configuration diagram of a synchronization and control system according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a USB connector used by the smart device shown in FIG. 1 to recognize a USB host.
FIG. 3 is a view showing an OTG cable used when connecting a smart device and a peripheral device shown in FIG. 1;
4 is a view showing an internal wiring of the OTG cable shown in Fig.
5 is a flowchart of a synchronization and control method according to an embodiment of the present invention.

이하 본 발명의 실시예에 대하여 첨부된 도면을 참고로 그 구성 및 작용을 상세히 설명하면 다음과 같다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도면들 중 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 참조번호 및 부호들로 나타내고 있음에 유의해야 한다.It is to be noted that the same components of the drawings are denoted by the same reference numerals and symbols as possible even if they are shown in different 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.

또한, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.
Also, when a part is referred to as "including " an element, it does not exclude other elements unless specifically stated otherwise.

도 1은 본 발명의 실시예에 따른 동기화 및 제어시스템의 구성도이다.1 is a configuration diagram of a synchronization and control system according to an embodiment of the present invention.

도시된 바와 같이 본 발명의 실시예에 따른 동기화 시스템은 스마트기기(10), 주변기기(20a,20b), OTG 케이블(30) 및 USB 케이블(40)을 포함하여 구성된다.As shown, the synchronization system according to the embodiment of the present invention includes a smart device 10, peripherals 20a and 20b, an OTG cable 30, and a USB cable 40. [

상기 스마트기기(10)는 예를 들어 스마트폰, 타블렛 PC, PDA 등 휴대가 간편하고 USB 호스트 기능을 지원하는 기기는 모두 가능한 것으로, 동기화 및 제어를 위한 애플리케이션 즉, 동기화앱(App)(12)이 탑재되고 내부의 메모리에 지원 주변기기 리스트(14)가 저장된다.The smart device 10 may be a smart phone, a tablet PC, a PDA, or the like, which is portable and can support a USB host function. The smart device 10 includes an application for synchronization and control, And a list of supported peripheral devices 14 is stored in an internal memory.

상기 지원 주변기기 리스트(Targeted Peripheral List)(14)는 상기 스마트기기(10)가 지원하는 USB 주변기기들의 목록으로서, 지원 주변기기의 이름, 생산자의 이름, 주변기기의 타입, 모델 넘버, 주변기기 USB의 생산자 및 판매자 ID 등의 정보를 포함한다.The target peripheral list 14 is a list of USB peripherals supported by the smart device 10 and includes a name of a supporting peripheral device, a name of a manufacturer, a type of a peripheral device, a model number, ID, and the like.

상기 동기화앱(12)은 이 지원 주변기기 리스트(14)를 확인하여 어떤 운영체제(OS)가 있는지, 어떤 특정한 제품군의 USB 주변기기에 적용할 수 있는지 알 수 있게 된다.The synchronization application 12 can check the list of supported peripheral devices 14 to know which operating system (OS) is applicable to a specific product family of USB peripheral devices.

상기 OGT 케이블(30)에 형성된 USB 커넥터(40)의 접속을 인식한 경우 USB 호스트 기능을 지원하는 스마트기기(10)는 외부 저장 장치 즉, 이동식 디스크를 생성한다.When recognizing the connection of the USB connector 40 formed on the OGT cable 30, the smart device 10 supporting the USB host function creates an external storage device, that is, a removable disk.

상기 이동식 디스크의 생성이 완료된 경우 사용자가 동기화앱(12)을 구동하면 상기 동기화앱(12)이 임시 실행되어 스마트기기(10)에 연결된 주변기기(20a,20b)와 그 연결 주변기기의 USB 정보를 읽어들여 분석하고, 상기 지원 주변기기 리스트(14)에 그 정보가 있는지 확인하여 동작 제어 대상인지를 판단한다.When the user completes the generation of the removable disk, when the user activates the synchronizing app 12, the synchronizing app 12 runs temporarily and reads the USB information of the peripherals 20a and 20b connected to the smart device 10 and its peripheral devices And checks whether the information is present in the list of supported peripheral devices 14 to determine whether or not the information is an operation control target.

또한, 상기 임시 실행되는 동기화앱(12)은 스마트기기(10)에 연결된 주변기기(20a,20b)가 동작 제어 대상 즉, 지원가능 주변기기일 경우 연결 주변기기(20a,20b)를 동기화하여 조작할 수 있도록 활성화되어 정상 실행된다.The temporary synchronization application 12 may be configured to synchronize and operate the peripheral devices 20a and 20b when the peripheral devices 20a and 20b connected to the smart device 10 are operation control objects, It is activated and runs normally.

상기 동기화앱(12)이 정상 실행되면 이후 사용자는 호스트가 된 스마트기기(10)를 통해서 스마트기기(10)에 연결된 슬레이브의 주변기기(20a,20b)를 동기화하여 제어할 수 있게 된다.When the synchronization application 12 is normally executed, the user can control the slaves' peripheral devices 20a and 20b connected to the smart device 10 through the smart device 10 as a host.

상기 임시 실행되는 동기화앱(12)은 스마트기기(10)에 연결된 주변기기(20a,20b)가 지원불가능 주변기기라고 판단하면, 지원불가능 주변기기인 것을 스마트기기(10)에 구비된 스피커나 화면을 통해 사용자에게 알리고 비활성화되어 임시 실행된 동기화앱(12)의 실행을 강제로 중지한다.If the peripheral devices 20a and 20b connected to the smart device 10 judge that they are unsupportable peripherals, the temporarily executed synchronizing app 12 can recognize that the unsupported peripheral device is a peripheral device, And forcibly stops the execution of the temporarily executed synchronization app 12.

이를 통해 잘못된 조작으로 인한 주변기기(20a,20b)의 고장이나 사용불능 상태를 미리 방지할 수 있다.This makes it possible to prevent malfunctions or unusable states of the peripheral devices 20a and 20b from being erroneously operated.

상기 주변기기(20a,20b)는 PDA, 디지털카메라, MP3 플레이어, 전자펜 등과 같이 스마트기기(10)에 USB 연결되었을 때 이동식 디스크(메모리)로 동작하는 기능을 갖춘 모든 단말장치면 가능하다.The peripheral devices 20a and 20b may be any terminal device capable of functioning as a removable disk when the USB device is connected to the smart device 10 such as a PDA, a digital camera, an MP3 player, and an electronic pen.

상기 주변기기(20a,20b)는 OGT 케이블(30)에 형성된 USB 커넥터(40)를 스마트기기(10)에 접속한 경우 이를 인식하여 이동식 디스크 모드로 전환하여 주변기기(20a,20b)에 내장된 메모리를 이동식 디스크화 한다.When the USB connector 40 formed on the OGT cable 30 is connected to the smart device 10, the peripherals 20a and 20b recognize that the peripheral devices 20a and 20b are connected to the removable disk mode and store the memory built in the peripherals 20a and 20b Make a removable disk.

USB 커넥터(40)는 플러그와 리셉터클이 한 조를 이루는 것으로, 일반적으로 플러그는 OTG 케이블(30)의 양단에 일체로 형성되고, 리셉터클은 스마트기기(10)나 주변기기(20a,20b)에 일체로 형성되어 상기 플러그를 리셉터클에 꽂음으로써 스마트기기(10)에 주변기기(20a,20b)가 접속된다.The USB connector 40 is a combination of a plug and a receptacle. Generally, the plug is integrally formed at both ends of the OTG cable 30, and the receptacle is integrally formed with the smart device 10 and peripheral devices 20a and 20b And the peripherals 20a and 20b are connected to the smart device 10 by inserting the plug into the receptacle.

OTG 케이블(30)은 스마트기기(10)에 주변기기(20a,20b) 연결시 스마트기기(30)를 USB 호스트로 인식시켜 준다.
The OTG cable 30 recognizes the smart device 30 as a USB host when the peripheral devices 20a and 20b are connected to the smart device 10. [

도 2는 도 1에 나타낸 스마트기기가 USB 호스트를 인식하기 위하여 사용하는 USB 커넥터를 나타내는 도면으로서, 특히 USB 커넥터(40) 중 USB 플러그를 나타낸 것이다.FIG. 2 is a view showing a USB connector used by the smart device shown in FIG. 1 for recognizing a USB host, and particularly shows a USB plug among the USB connector 40. FIG.

상기 USB 플러그는 스케일이 아닌 형상에 따라서 표준형(40a), 미니형과 마이크로형(40b)이 있고 각 형별로 A타입과 B타입으로 구분된다.The USB plug has a standard type (40a), a mini type and a micro type (40b) according to a shape, not a scale, and classified into A type and B type in each type.

도면에서 백색으로 표시된 부분은 리셉터클(미도시)이 꽂아지는 오목한 공간이고 플러그(42)에 부여된 핀 번호는 그와 접속되는 리셉터클의 핀 번호로서, 플러그의 1번 핀은 리셉터클의 1번 핀에 접속된다.In the figure, a white portion is a concave space in which a receptacle (not shown) is inserted, and a pin number given to the plug 42 is a pin number of the receptacle to which the receptacle is connected. The first pin of the plug is connected to the first pin Respectively.

도시된 바와 같이 상기 표준형(40a)은 4개의 핀으로 이루어지고, USB 호스트를 지원하는 미니형과 마이크로형(40b)은 5개의 핀으로 이루어진다.As shown in the figure, the standard type 40a is composed of four pins, and the mini type supporting the USB host and the micro type 40b are composed of five pins.

상기 4개 핀의 표준형(40a)인 경우 1번 핀은 전원을 공급하는 VBUS 핀이고, 2번 핀과 3번 핀은 데이터를 전송하는 D- 핀과 D+ 핀이며, 4번 핀은 접지를 위한 GND 핀이다.In the four-pin standard type (40a), Pin 1 is a VBUS pin for supplying power, Pin 2 and Pin 3 are D-pin and D + pin for transmitting data, Pin 4 is a ground pin GND pin.

USB 호스트를 지원하는 상기 5개 핀의 미니형과 마이크로형(40b)인 경우 1번 핀은 전원을 공급하는 VBUS 핀이고, 2번 핀과 3번 핀은 데이터를 전송하는 D- 핀과 D+ 핀이며, 4번 핀은 호스트와 슬레이브를 나타내는 ID 핀이고, 5번 핀은 신호 접지를 위한 GND 핀이다.In the 5-pin mini-type and micro-type (40b) supporting the USB host, pin 1 is a VBUS pin for supplying power, and pins 2 and 3 are D- and D + pins Pin 4 is the ID pin for the host and slave and pin 5 is the GND pin for the signal ground.

상기 미니형과 마이크로형(40b)에서 4번 핀에 신호 접지를 위한 5번 핀이 연결되면 그 방향의 기기는 호스트(스마트기기)이고, 연결되지 않으면 그 방향의 기기는 슬레이브(주변기기)이다.
When the pin 5 for signal grounding is connected to the pin 4 in the mini- and micro-type 40b, the device in the direction is a host (smart device). If not connected, the device in the direction is a slave (peripheral device).

도 3은 도 1에 나타낸 스마트기기와 주변기기 연결시 사용되는 OTG 케이블을 나타내는 도면이다.FIG. 3 is a view showing an OTG cable used when connecting a smart device and a peripheral device shown in FIG. 1;

도 3과 같은 OTG 케이블(30)에서 4번 핀이 5번 핀 접지와 연결되어 주변기기(20a,20b)가 접속됨을 스마트기기(10)에 알려준다.
In the OTG cable 30 as shown in FIG. 3, the fourth pin is connected to the fifth pin ground to inform the smart device 10 that the peripheral devices 20a and 20b are connected.

도 4는 도 3에 나타낸 OTG 케이블의 내부 배선을 나타낸 도면이다.4 is a view showing an internal wiring of the OTG cable shown in Fig.

도 4에 도시된 바와 같이 OTG 케이블(30) 내 어느 한쪽 플러그의 ID 신호선(32)이 GND 신호선(34)과 단락(연결)되어 있을 경우는 해당 플러그(42)가 인입되는 디바이스(기기)가 호스트로 동작하고, 반대로 플러그의 ID 신호선(36)이 GND 신호선(34)과 단락되어 있지 않을 시에는 해당 플러그(44)가 인입되는 디바이스는 슬레이브로 동작한다.4, when the ID signal line 32 of either plug in the OTG cable 30 is short-circuited (connected) to the GND signal line 34, the device (device) into which the plug 42 is drawn When the ID signal line 36 of the plug is not short-circuited with the GND signal line 34, the device into which the plug 44 is drawn acts as a slave.

결국, 본 발명에서 상기 플러그(42)는 스마트기기(10)에 접속되고, 상기 플러그(44)는 주변기기(20a,20b)에 접속된다.
As a result, in the present invention, the plug 42 is connected to the smart device 10, and the plug 44 is connected to the peripherals 20a and 20b.

도 5는 본 발명의 실시예에 따른 동기화 및 제어방법의 순서도이다.5 is a flowchart of a synchronization and control method according to an embodiment of the present invention.

도 5에 도시된 바와 같이 스마트기기(10)의 리셉터클에 주변기기(20a,20b)에 접속된 OTG 케이블(30)의 USB 플러그(42)를 꽂아 스마트기기(10)에 주변기기(20a,20b)를 연결하면(S502), 먼저 주변기기(20a,20b)에서 USB 접속을 인식하여 이동식 디스크 모드로 전환, 내장된 메모리를 이동식 디스크화 한다(S504).5, the USB plug 42 of the OTG cable 30 connected to the peripheral devices 20a, 20b is inserted into the receptacle of the smart device 10, and the peripheral devices 20a, 20b are connected to the smart device 10 If the connection is established (S502), the peripheral devices 20a and 20b first recognize the USB connection and switch to the removable disk mode to make the built-in memory a removable disk (S504).

이때 상기 스마트기기(10)도 접속을 인식하여 스마트기기 내부에 외주 저장장치 즉 이동식 디스크를 생성한다(S505).At this time, the smart device 10 also recognizes the connection and creates an external storage device, i.e., a removable disk, in the smart device (S505).

이와 같이 하여 스마트기기(10)에 이동식 디스크의 생성이 완료되면 사용자는 스마티기기(10)에 탑재된 동기화앱(12)을 구동하고(S506), 이를 통해 동기화앱(12)이 임시 실행되어 연결된 주변기기(20a,20b)와 주변기기의 USB 정보를 수집하고 분석한다(S508).When the creation of the removable disk is completed in the smart device 10, the user starts the synchronization application 12 mounted on the smarty device 10 (S506), and the synchronization application 12 is temporarily executed and connected USB information of the peripheral devices 20a and 20b and peripheral devices is collected and analyzed (S508).

계속하여 임시 실행된 동기화앱(12)은 그 분석한 주변기기가 자체 저장된 지원 주변기기 리스트(14)에 있는지 확인하여, 있으면 연결 주변기기(20a,20b)를 지원가능한 주변기기로 판단하고, 없으면 연결 주변기기(20a,20b)를 지원불가능한 주변기기로 판단한다(S510).The temporarily executed synchronization application 12 checks whether the analyzed peripheral device is present in the self-stored supported peripheral device list 14 and judges that the peripheral devices 20a and 20b are supportable peripheral devices if they are present, , And 20b (S510).

상기 510단계에서 예를 들어 주변기기의 이름과, 주변기기의 USB 생산자 및 판매자 ID가 자체 저장된 지원 주변기기 리스트(14)에 있는지를 확인하여 지원가능한 주변기기인지 아닌지를 판별한다.In step 510, for example, it is determined whether the name of the peripheral device and the USB producer and the seller ID of the peripheral device exist in the self-stored supported peripheral device list 14 to determine whether or not the peripheral device is a supportable peripheral device.

상기 S510단계에서 지원가능한 주변기기로 판단한 경우, 임시 실행된 동기화앱(12)은 정상적으로 실행되고(S512), 이후 사용자는 동기화앱(12)의 정상적인 실행으로 스마트기기(10)를 통해 스마트기기(10)에 연결된 주변기기(20a,20b)를 동기화하여 제어할 수 있게 된다(S514).If the synchronization application 12 is found to be a supportable peripheral device in step S510, the temporarily executed synchronization application 12 is normally executed (S512), and then the user executes the normal operation of the synchronization application 12, And the peripheral devices 20a and 20b connected to the control unit 20 can be controlled in synchronization with each other (S514).

만약 상기 S510단계에서 지원불가능한 주변기기로 판단한 경우, 임시 실행된 동기화앱은 연결된 주변기기(20a,20b)가 지원불가능한 주변기기임을 스피커나 화면을 통해 사용자에게 알리고 강제적으로 실행을 중지한다(S516).If it is determined in step S510 that the peripheral device is an unsupportable peripheral device, the temporarily executed synchronization app informs the user through the speaker or the screen that the connected peripheral devices 20a and 20b are unsupportable peripheral devices, and forcibly suspends the execution of the peripheral device in step S516.

이와 같은 임시 실행중인 동기화앱(12)의 강제 중지에 의해 오조작으로 인한 주변기기의 사용불능 상태를 미리 방지할 수 있다.By the forcible stopping of the synchronization app 12 that is temporarily running, the disabled state of the peripheral device due to the erroneous operation can be prevented in advance.

상기 주변기기(20a,20b)는 스마트기기(10)에 동기화되지 못하여 이후 단순 이동식 디스크로 동작하게 된다(S518).
The peripheral devices 20a and 20b can not be synchronized with the smart device 10 and then operate as a simple removable disk (S518).

이상을 통해 본 발명의 바람직한 실시예에 대하여 설명하였지만, 본 발명은 이에 한정되는 것이 아니고 특허청구범위와 발명의 상세한 설명 및 첨부한 도면의 범위 안에서 여러 가지로 변형하여 실시하는 것이 가능하고 이 또한 본 발명의 범위에 속하는 것은 당연하다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, And it goes without saying that the invention belongs to the scope of the invention.

이상과 같은 본 발명에 적용되는 스마트기기는 스마트폰, 타블렛PC, PDA 등 휴대가 간편하고 무선 네트워크 사용이 용이한 특징을 이용하는 것으로서 USB 호스트 기능을 지원하는 모든 기기면 사용 가능하고, 주변기기는 상기 스마트기기에 USB 연결되었을 때 이동식 메모리(디스크)로 동작하는 기능을 갖춘 모든 단말장치면 사용 가능하다.The smart device according to the present invention uses a smart phone, a tablet PC, a PDA, and the like, which are easy to carry and easy to use wireless network, and can be used for all devices supporting the USB host function, It is available for all terminal equipments that have a function as a removable memory (disk) when connected to a USB device.

10: 스마트기기 12: 동기화앱(App)
14: 지원 주변기기 리스트 20a,20b: 주변기기
30: OTG 케이블 40: USB 커넥터
10: Smart device 12: Sync app (App)
14: Support peripheral list 20a, 20b: Peripheral
30: OTG cable 40: USB connector

Claims (9)

주변기기가 OTG 케이블을 통해 USB 연결시 자동으로 이를 인식하여 이동식 디스크를 생성하고, 연결된 주변기기에 대한 USB 호스트 OTG 기능을 수행하는 스마트기기;
상기 스마트기기에의 USB 연결을 인식하여 이동식 디스크 모드로 전환, 내장 메모리를 이동식 디스크화 하는 주변기기;
상기 스마트기기와 주변기기를 USB 커넥터를 통해 연결시켜 주는 케이블로서 주변기기 연결시 스마트기기를 USB 호스트로 인식시켜 주는 OTG 케이블;
상기 스마트기기에 탑재되어 주변기기의 이동식 디스크를 인식한 스마트기기에서 연결 주변기기를 동기화 및 제어할 수 있도록 하는 애플리케이션 프로그램(이하 '동기화앱); 및
상기 스마트기기가 지원하는 USB 주변기기들의 목록으로서, 지원 주변기기의 이름, 생산자의 이름, 주변기기의 타입, 모델 넘버, 주변기기 USB의 생산자 및 판매자 ID 정보를 포함하는 주변 지원기기 리스트; 를 포함하고,
상기 동기화앱은 임시 실행되어 연결 주변기기가 지원 주변기기 리스트에 있나 확인하여 지원가능한 주변기기이면 활성화되어 연결 주변기기를 동기화 및 제어하며,
지원불가능한 주변기기이면 동기화앱이 비활성되어, 주변기기가 스마트기기에 동기화되지 못함으로써 단순 이동식 디스크로 동작하는 것을 특징으로 하는 USB통신을 이용한 스마트기기와 주변기기의 동기화 및 제어시스템.
A smart device that automatically recognizes this when a peripheral device is connected via an OTG cable to create a removable disk and performs a USB host OTG function for the connected peripheral device;
A peripheral device for recognizing the USB connection to the smart device and switching to the removable disk mode and making the built-in memory a removable disk;
OTG cable that connects smart device and peripheral device through USB connector, which recognizes smart device as USB host when connecting peripheral devices;
An application program (hereinafter referred to as 'synchronization application') which is mounted on the smart device and allows a smart device that recognizes a removable disk of the peripheral device to synchronize and control the peripheral device; And
A list of USB peripherals supported by the smart device, including a name of a supported peripheral device, a name of a manufacturer, a type of a peripheral device, a model number, a manufacturer and seller ID information of a peripheral USB device; Lt; / RTI >
The synchronization app is activated temporarily to check if the peripheral device is in the list of supported peripheral devices, and if the peripheral device is a supportable peripheral device, the peripheral device is activated to synchronize and control the peripheral device,
And the peripheral device is not synchronized to the smart device, thereby operating as a simple removable disk, and the synchronization and control system of the smart device and the peripheral device using the USB communication.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete (a) 스마트기기에 OTG 케이블을 통해 주변기기가 USB 연결된 경우 주변기기에서 USB 접속을 인식하여 내장 메모리를 이동식 디스크화하고, 스마트기기에서 이동식 디스크를 생성하는 단계;
(b) 상기 스마트기기의 동기화앱이 임시 실행되어 연결 주변기기의 이름 및 USB 생산자와 판매자의 ID가 스마트기기에 등록된 지원 주변기기 리스트에 있나 확인하여 연결 주변기기가 지원가능 주변기기인지 아닌지를 판단하는 단계;
(c) 상기 연결 주변기기가 지원가능 주변기기인 경우 임시 실행된 동기화앱이 정상 실행되고, 지원불가능 주변기기인 경우 임시 실행된 동기화앱이 강제 실행 중지되는 단계;
(d) 상기 동기화앱이 정상 실행되는 경우 연결 주변기기를 동기화하고 제어하는 단계;
(e) 상기 동기화앱이 강제 실행 중지되는 경우 상기 연결 주변기기가 스마트기기에 동기화되지 못하고 단순 이동식 디스크로 동작하는 단계; 를 포함하는 USB통신을 이용한 스마트기기와 주변기기의 동기화 및 제어방법.
(a) recognizing a USB connection in a peripheral device when a peripheral device is connected to the smart device via an OTG cable to convert the built-in memory into a removable disk, and creating a removable disk from the smart device;
(b) determining whether the connection peripheral is a supportable peripheral by confirming whether the name of the peripheral device, the USB producer, and the ID of the vendor are included in the list of supported peripheral devices registered in the smart device;
(c) if the connection peripheral device is a supportable peripheral device, the temporarily executed synchronization app is normally executed; and if the connection peripheral device is an unsupported peripheral device, the temporarily executed synchronization app is forcibly stopped;
(d) synchronizing and controlling the connection peripheral when the synchronization application runs normally;
(e) when the synchronizing app is forcibly stopped, the connection peripheral is not synchronized with the smart device and operates as a simple removable disk; A method for synchronizing and controlling a smart device and a peripheral device using a USB communication.
삭제delete
KR20130093095A 2013-08-06 2013-08-06 Synchronization and control systems of smart devices and peripherals using USB communication and the methods KR101487763B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20130093095A KR101487763B1 (en) 2013-08-06 2013-08-06 Synchronization and control systems of smart devices and peripherals using USB communication and the methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20130093095A KR101487763B1 (en) 2013-08-06 2013-08-06 Synchronization and control systems of smart devices and peripherals using USB communication and the methods

Publications (1)

Publication Number Publication Date
KR101487763B1 true KR101487763B1 (en) 2015-01-29

Family

ID=52593030

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130093095A KR101487763B1 (en) 2013-08-06 2013-08-06 Synchronization and control systems of smart devices and peripherals using USB communication and the methods

Country Status (1)

Country Link
KR (1) KR101487763B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107147A1 (en) * 2015-12-24 2017-06-29 华为技术有限公司 Usb connector, and detection method
KR20190096110A (en) * 2018-02-08 2019-08-19 주식회사 코드주 Usb recoginition method and system for portable terminal device based on android
WO2024016810A1 (en) * 2022-07-21 2024-01-25 飞天诚信科技股份有限公司 Method and apparatus for implementing otg communication without plugging, terminal device, and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050056790A (en) * 2003-12-10 2005-06-16 엘지전자 주식회사 Receptacle connecting apparatus for portable terminal
KR20060067726A (en) * 2004-12-15 2006-06-20 엘지전자 주식회사 Multi-player game system using mobile device
KR20120066231A (en) * 2010-12-14 2012-06-22 이승현 A connection system of smart phone and external memory devices, and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050056790A (en) * 2003-12-10 2005-06-16 엘지전자 주식회사 Receptacle connecting apparatus for portable terminal
KR20060067726A (en) * 2004-12-15 2006-06-20 엘지전자 주식회사 Multi-player game system using mobile device
KR20120066231A (en) * 2010-12-14 2012-06-22 이승현 A connection system of smart phone and external memory devices, and method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107147A1 (en) * 2015-12-24 2017-06-29 华为技术有限公司 Usb connector, and detection method
KR20190096110A (en) * 2018-02-08 2019-08-19 주식회사 코드주 Usb recoginition method and system for portable terminal device based on android
KR102027202B1 (en) * 2018-02-08 2019-10-01 주식회사 코드주 Usb recoginition method and system for portable terminal device based on android
WO2024016810A1 (en) * 2022-07-21 2024-01-25 飞天诚信科技股份有限公司 Method and apparatus for implementing otg communication without plugging, terminal device, and medium

Similar Documents

Publication Publication Date Title
US9804859B2 (en) Re-enumeration of USB 3.0 compatible devices
RU2682911C2 (en) Reversible connector for accessory devices
KR101961971B1 (en) Portable communication devices with accessory functions and related methods
US20110191503A1 (en) Motherboard Compatible with Multiple Versions of Universal Serial Bus (USB) and Related Method
US9524148B1 (en) Multi-module compilation system, multi-module compilation method, and non-transitory computer-readable storage medium
US9256563B2 (en) Dual-operating-system architecture for sharing USB devices, and method thereof
CN105094383B (en) Smart pen pairing and connection
CN103106109A (en) Mobile communication device and application interface switching method
CN109791528A (en) Configure depressed place
CN104054064B (en) Flexible port configuration based on interface coupling
KR101487763B1 (en) Synchronization and control systems of smart devices and peripherals using USB communication and the methods
US20200218681A1 (en) Method for automatically identifying host operating systems
WO2023082622A1 (en) Method for designing communication module having master and slave devices compatible, and apparatus
CN105809233A (en) Intelligent module card and using method thereof
CN103294627A (en) Method and system for transmitting data and electronic apparatus using the method
JP2007279834A (en) Authentication system and method
US10437768B2 (en) Method and host node for configuring a remote node and a host node
TWI587147B (en) Method and device capable of automatically identifying host operating system
CN101998691B (en) Method, system and device for data transmission
EP3413205A1 (en) Re-enumeration of usb 3.0 compatible devices
CN107783793A (en) The method and USB device of automatic identification host operating system
CN105207916B (en) Routing device and method for associating equipment connected by routing device
EP2940583A2 (en) Remote operating system
CN101562007A (en) Display control device capable of automatically updating firmware and update method thereof
JP2015018573A (en) Memory card

Legal Events

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

Payment date: 20180123

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190115

Year of fee payment: 5