KR20120019188A - A multimedia system converting usb host and usb device - Google Patents

A multimedia system converting usb host and usb device Download PDF

Info

Publication number
KR20120019188A
KR20120019188A KR1020100082431A KR20100082431A KR20120019188A KR 20120019188 A KR20120019188 A KR 20120019188A KR 1020100082431 A KR1020100082431 A KR 1020100082431A KR 20100082431 A KR20100082431 A KR 20100082431A KR 20120019188 A KR20120019188 A KR 20120019188A
Authority
KR
South Korea
Prior art keywords
usb
terminal
multimedia system
host
usb terminal
Prior art date
Application number
KR1020100082431A
Other languages
Korean (ko)
Other versions
KR101592591B1 (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 KR1020100082431A priority Critical patent/KR101592591B1/en
Publication of KR20120019188A publication Critical patent/KR20120019188A/en
Application granted granted Critical
Publication of KR101592591B1 publication Critical patent/KR101592591B1/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
    • 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/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4234Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a memory bus

Abstract

PURPOSE: A multimedia system is provided to improve the utilization of an USB(Universal Serial Bus) terminal by providing data communication to the USB terminal according to the role of the USB terminal. CONSTITUTION: A USB host controller(12) communicates with a USB terminal(20) which performs a device role. A USB device controller(14) includes a first descriptor and communicates with a USB terminal which performs a host role. The first descriptor includes a storage function. When a second descriptor is not received from the USB terminal, a path establishment module(18) changes the multimedia system into a USB device mode and connects the USB terminal with the USB device controller.

Description

USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템{A MULTIMEDIA SYSTEM CONVERTING USB HOST AND USB DEVICE}Multimedia system that can switch between USB host and USB device {A MULTIMEDIA SYSTEM CONVERTING USB HOST AND USB DEVICE}

본 발명은 USB 호스트 기능 및 USB 디바이스 기능을 선택적으로 전환할 수 있는 멀티미디어 시스템에 관한 것이다.
The present invention relates to a multimedia system capable of selectively switching between a USB host function and a USB device function.

USB(Universal Serial Bus)는 인텔, 마이크로 소프트, 컴팩, IBM, DEC, NEC, 노던텔레콤 등의 7개의 업체가 개발한 퍼스널 컴퓨터(PC :Personal Computer) 주변기기의 버스 규격이다. USB는 플러그-앤-플레이(Plug & Play), 핫 스왑(Hot-Swap) 기능을 지원하여 설치가 용이하고 재부팅이나 셋업 과정이 불필요하므로 사용이 편리하다는 장점이 있다.Universal Serial Bus (USB) is a bus specification for personal computer (PC) peripherals developed by seven companies, including Intel, Microsoft, Compaq, IBM, DEC, NEC, and Northern Telecom. USB supports Plug & Play and Hot-Swap, which is easy to install and requires no reboot or setup.

이러한 USB 단말기는 그 역할에 따라 USB 호스트 기능을 하는 단말기와 USB 디바이스 역할을 하는 단말기로 구분되며 USB 호스트는 컴퓨팅 모듈과 같이 기능 제어를 수행하는 기기에 장착되고 USB 디바이스는 프린터나 마우스 등과 같이 기능 제어를 받는 기기에 장착된다. The USB terminal is classified into a terminal functioning as a USB host and a terminal functioning as a USB device according to its role. The USB host is mounted in a device that performs a function control such as a computing module, and the USB device is controlled by a printer or a mouse. Mounted on the receiving device.

차량용 오디오 및 내비게이션 시스템은 USB 호스트로 설계되어 있어서 USB 디바이스 역할을 하는 USB 메모리와 접속되면 상기 USB 메모리에 저장되어 있는 음악, 동영상 등의 파일을 USB 호스트에서 재생할 수 있다. 그런데 상기 USB 호스트로 설계된 차량용 오디오 및 내비게이션 시스템은 USB 호스트로 설계된 노트북이나 스마트폰과는 접속되지 못하는 문제점이 있다. 이에 차량용 오디오 및 내비게이션 시스템이 USB 호스트 또는 USB 디바이스로 용이하게 전환이 가능하다면 USB 호스트 및 USB 디바이스를 모두 수용할 수 있으므로 개발 필요성이 대두된다.
The vehicle audio and navigation system is designed as a USB host, and when connected to a USB memory serving as a USB device, the vehicle audio and navigation system can play files such as music and video stored in the USB memory on the USB host. However, a vehicle audio and navigation system designed as a USB host may not be connected to a notebook or a smartphone designed as a USB host. Therefore, if a car audio and navigation system can be easily switched to a USB host or a USB device, the development need arises because it can accommodate both the USB host and the USB device.

본 발명은 USB 호스트 기능 및 USB 디바이스 기능을 선택적으로 전환할 수 있는 멀티미디어 시스템을 제공하고자 한다.
An object of the present invention is to provide a multimedia system capable of selectively switching between a USB host function and a USB device function.

본 발명의 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템은 디바이스 역할을 하는 USB 단말기와의 데이터 통신을 수행하는 USB 호스트 컨트롤러; 호스트 역할을 하는 USB 단말기와의 데이터 통신을 수행하고 상기 멀티미디어 시스템의 저장 기능 및 특성이 정의된 제1디스크립터(descriptor)를 포함하는 USB 디바이스 컨트롤러; USB 단말기의 접속을 감지하는 접속 모듈; 및 접속한 상기 USB 단말기로 상기 USB 단말기의 제2디스크립터의 전송을 요청하고 상기 USB 단말기로부터 상기 제2디스크립터를 전송받지 못하면 상기 멀티미디어 시스템을 USB 디바이스 모드로 전환하고 상기 USB 단말기와 상기 USB 디바이스 컨트롤러를 서로 연결시키는 경로 설정 모듈을 포함하는 것을 특징적 구성으로 한다.A multimedia system capable of switching between a USB host and a USB device of the present invention includes a USB host controller performing data communication with a USB terminal serving as a device; A USB device controller for performing data communication with a USB terminal serving as a host and including a first descriptor defining a storage function and a characteristic of the multimedia system; A connection module for detecting a connection of a USB terminal; And requesting transmission of the second descriptor of the USB terminal to the connected USB terminal, and when the second descriptor is not received from the USB terminal, switches the multimedia system to the USB device mode and switches the USB terminal and the USB device controller. It is characterized by including a routing module for connecting to each other.

여기서 본 발명은 상기 멀티미디어 시스템이 USB 디바이스 모드로 전환되면, 상기 USB 디바이스 컨트롤러는 상기 제1디스크립터를 상기 USB 단말기로 전달한다.Herein, when the multimedia system is switched to the USB device mode, the USB device controller transfers the first descriptor to the USB terminal.

한편 본 발명의 상기 경로 설정 모듈은 상기 USB 단말기로부터 상기 제2디스크립터를 전달받으면 상기 멀티미디어 시스템을 USB 호스트 모드로 전환하고 상기 USB 단말기와 USB 호스트 컨트롤러를 서로 연결시킨다.Meanwhile, the path setting module of the present invention switches the multimedia system to the USB host mode when the second descriptor is received from the USB terminal, and connects the USB terminal and the USB host controller to each other.

한편 본 발명의 상기 USB 디바이스 컨트롤러가 상기 USB 단말기와 연결되면, 상기 USB 디바이스 컨트롤러는 접속 모듈의 D+ 단 또는 D- 단에 연결된 저항 연결을 해제하고 사용자로부터 USB 모드를 선택받으며 선택받은 USB 모드에 적합한 저항을 D+ 단 또는 D- 단에 연결하여 상기 USB 단말기가 상기 D+ 단 또는 D- 단의 저항을 검출하여 상기 멀티미디어 시스템의 동작 속도를 인식하게 하고 상기 USB 단말기와 핸드 쉐이킹(hand shaking) 과정을 통해 상기 USB 단말기와 상기 동작 속도로 데이터 통신을 수행한다.Meanwhile, when the USB device controller of the present invention is connected to the USB terminal, the USB device controller releases a resistor connected to the D + terminal or the D- terminal of the connection module, receives a USB mode from the user, and is suitable for the selected USB mode. By connecting a resistor to the D + terminal or the D- terminal, the USB terminal detects the resistance of the D + terminal or the D- terminal to recognize the operating speed of the multimedia system and performs a hand shaking process with the USB terminal. Perform data communication with the USB terminal at the operation speed.

한편 본 발명의 상기 USB 호스트 컨트롤러가 상기 USB 단말기와 연결되면, 상기 USB 호스트 컨트롤러는 상기 USB 단말기의 접속 모듈의 D+ 단 또는 D- 단에 연결된 저항을 검출하여 상기 USB 단말기의 동작 속도를 인식하고 상기 USB 단말기와 핸드 쉐이킹 과정을 통해 상기 USB 단말기와 상기 동작 속도로 데이터 통신을 수행한다.
Meanwhile, when the USB host controller of the present invention is connected to the USB terminal, the USB host controller detects a resistance connected to the D + terminal or the D- terminal of the connection module of the USB terminal to recognize an operating speed of the USB terminal and the Data communication is performed at the operating speed with the USB terminal through a handshaking process with the USB terminal.

본 발명의 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템은 접속한 USB 단말기의 호스트/디바이스 역할(디스크립터의 유무)에 맞게 자신의 기능을 디바이스/호스트로 전환한다. 이에 호스트/디바이스 역할을 하는 어떠한 USB 단말기와도 용이하게 접속하며 데이터 통신을 수행할 수 있다는 효과를 제공한다.
The multimedia system that can be switched between the USB host and the USB device of the present invention converts its function into a device / host according to the host / device role (with or without a descriptor) of the connected USB terminal. This makes it possible to easily connect to any USB terminal acting as a host / device and to perform data communication.

도 1은 본 발명의 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템의 구성을 나타내는 블록도.
도 2는 본 발명의 USB 디바이스의 모드 선택 모습을 나타내는 구성도.
도 3은 본 발명의 USB 호스트 및 USB 디바이스 간의 D+/D- 단에 저항이 각각 연결된 모습을 나타내는 구성도.
도 4는 본 발명의 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템의 동작을 나타내는 순서도.
1 is a block diagram showing the configuration of a multimedia system capable of switching between a USB host and a USB device of the present invention.
2 is a configuration diagram showing a mode selection mode of the USB device of the present invention.
3 is a configuration diagram showing a state in which a resistor is connected to the D + / D-terminal between the USB host and the USB device of the present invention, respectively.
4 is a flow chart illustrating operation of a multimedia system capable of switching between a USB host and a USB device of the present invention.

이하에서는 첨부한 도면을 참조하여 본 발명의 실시 예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention;

도 1은 본 발명의 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템(10)의 구성을 나타내는 블록도이다.1 is a block diagram showing the configuration of a multimedia system 10 capable of switching between a USB host and a USB device of the present invention.

도 1에 도시된 바와 같이, 본 발명에 따른 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템(10)은 USB 호스트 컨트롤러(12), USB 디바이스 컨트롤러(14), 접속 모듈(16), 경로 설정 모듈(18) 등을 포함한다.As shown in FIG. 1, a multimedia system 10 capable of switching between a USB host and a USB device according to the present invention includes a USB host controller 12, a USB device controller 14, a connection module 16, and a path setting module. (18) and the like.

USB 호스트 컨트롤러(12)는 USB 디바이스와 데이터 통신을 수행하기 위해논리적 계층의 인터페이스를 제어하고 USB 디바이스 컨트롤러(14)는 외부 USB 호스트와의 데이터 통신을 수행하고 저장 기능 및 특성이 정의된 제1디스크립터(descriptor)를 포함한다.The USB host controller 12 controls a logical layer interface to perform data communication with the USB device, and the USB device controller 14 performs data communication with an external USB host and has a first descriptor in which a storage function and characteristics are defined. (descriptor).

접속 모듈(16)은 외부 USB 단말기(20)의 물리적 접속을 감지한다.The connection module 16 detects a physical connection of the external USB terminal 20.

경로 설정 모듈(18)은 상기 접속 모듈(16)을 통해 상기 USB 단말기(20)로부터 상기 제2디스크립터를 전달받지 못하면 상기 멀티미디어 시스템(10)을 USB 디바이스 모드로 전환하고 상기 USB 단말기(20)로부터 상기 제2디스크립터를 전달받으면 상기 멀티미디어 시스템(10)을 USB 호스트 모드로 전환한다.
If the path setting module 18 does not receive the second descriptor from the USB terminal 20 through the connection module 16, the path setting module 18 switches the multimedia system 10 to the USB device mode and from the USB terminal 20. Upon receiving the second descriptor, the multimedia system 10 is switched to the USB host mode.

이하 본 발명에 따른 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템(10)을 구성 요소별로 더욱 구체적으로 설명한다.Hereinafter, the multimedia system 10 capable of switching between the USB host and the USB device according to the present invention will be described in detail for each component.

우선 본 발명의 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템(10)은 차량 등에 설치되어 외부 USB 단말기(20)와 접속되며 데이터를 통신하는 장치를 지칭하는 것으로서, 통상의 USB 호스트 기능을 하는 단말기 및 통상의 USB 디바이스 기능을 하는 모든 단말기를 포함한다. 여기서 상기 USB 단말기(20)는 상기 멀티미디어 시스템(10)과 동일한 구성 요소 및 기능을 가진다.
First, a multimedia system 10 capable of switching between a USB host and a USB device of the present invention refers to a device installed in a vehicle, connected to an external USB terminal 20, and communicating data, and having a terminal functioning as a conventional USB host. And all terminals that function as normal USB devices. The USB terminal 20 has the same components and functions as the multimedia system 10.

- USB 호스트 컨트롤러(12)의 구성 --Configuration of USB Host Controller (12)-

USB 호스트 컨트롤러(12)는 후술하는 접속 모듈(16)을 통해 물리적으로 접속된 USB 디바이스 역할을 하는 USB 단말기와 데이터 통신을 수행하기 위해서 논리적 계층의 인터페이스를 제어한다. 예를 들면 USB 호스트 컨트롤러(12)는 USB 디바이스 기능을 갖는 USB 단말기(20)를 통해 전송되는 데이터를 CPU로 제공하거나 CPU로부터 전송되는 데이터를 상기 USB 단말기(20)로 제공한다. 상기 USB 호스트 컨트롤러(12)는 접속한 USB 단말기(20)의 후술하는 접속 모듈(16)의 D+/D- 단의 저항 값을 인식하고 인식한 D+/D- 단의 저항 값을 통해 상기 USB 단말기(20)와의 연결을 인식하고 인식한 상기 USB 단말기(20)의 동작 속도를 파악한다. 그리고 USB 호스트 컨트롤러(12)는 파악한 상기 USB 단말기(20)의 인식 결과 및 동작 속도를 이용하여 통상적인 핸드 쉐이킹 과정을 통해 데이터 통신을 수행한다.
The USB host controller 12 controls an interface of a logical layer in order to perform data communication with a USB terminal serving as a USB device physically connected through the connection module 16 described later. For example, the USB host controller 12 provides data transmitted through the USB terminal 20 having the USB device function to the CPU or data transmitted from the CPU to the USB terminal 20. The USB host controller 12 recognizes the resistance value of the D + / D- terminal of the connected module 16 of the connected USB terminal 20 and recognizes the resistance value of the D + / D- terminal. The operation speed of the USB terminal 20 is recognized by recognizing the connection with the 20. The USB host controller 12 performs data communication through a normal handshaking process using the recognized recognition result and operation speed of the USB terminal 20.

- USB 디바이스 컨트롤러(14)의 구성 --Configuration of USB Device Controller (14)-

USB 디바이스 컨트롤러(14)는 접속 모듈(16)을 통해 물리적으로 접속된 USB 호스트 기능을 하는 USB 단말기(20)와 데이터 통신을 수행하기 위해서 논리적 계층의 인터페이스를 제어한다. USB 디바이스 컨트롤러(14)는 USB 호스트 기능을 하는 상기 USB 단말기(20)의 제어에 따라 상기 USB 단말기(20)와 데이터 통신을 수행한다. The USB device controller 14 controls an interface of a logical layer in order to perform data communication with the USB terminal 20 functioning as a USB host that is physically connected through the connection module 16. The USB device controller 14 performs data communication with the USB terminal 20 under the control of the USB terminal 20 functioning as a USB host.

도 2는 본 발명의 USB 디바이스의 모드 선택 모습을 나타내는 구성도이다.2 is a configuration diagram showing a mode selection mode of the USB device of the present invention.

도 2에 도시된 바와 같이, 예를 들면 상기 USB 디바이스 컨트롤러(14)는 USB 호스트 기능을 하는 상기 USB 단말기(20)의 요청에 따라 본 발명의 멀티미디어 시스템(10)의 저장 기능 및 특성이 정의된 제1디스크립터(descriptor) 및 음악, 동영상, 문서 파일 등의 데이터를 상기 USB 단말기(20)로 제공하거나 상기 USB 단말기(20)로부터 전송되는 데이터를 제공받아 별도의 메모리(미도시)에 저장하는 역할을 수행한다. As shown in FIG. 2, for example, the USB device controller 14 may define a storage function and characteristics of the multimedia system 10 of the present invention at the request of the USB terminal 20 functioning as a USB host. Provides a first descriptor and data such as music, video, and document files to the USB terminal 20 or receives data transmitted from the USB terminal 20 and stores the data in a separate memory (not shown). Do this.

도 3은 본 발명의 USB 호스트 및 USB 디바이스 간의 D+/D- 단에 저항이 각각 연결된 모습을 나타내는 구성도이다.3 is a block diagram showing a state in which a resistor is connected to the D + / D-terminal between the USB host and the USB device of the present invention, respectively.

도 3에 도시된 바와 같이, USB 디바이스 컨트롤러(14)는 USB 호스트 기능을 하는 USB 단말기(20)와 접속되면 별도의 디스플레이 수단을 통해 선택 가능한 USB 기능(저장매체, 데이터 통신, 음악 재생, 이미지 앨범 등)을 사용자에게 제공하고 선택받은 USB 모드에 따라 접속 모듈(16)의 D+/D- 단의 저항을 제어한다. 예를 들어, 풀 스피드(full speed)가 필요한 USB 모드에서는 D+ 단의 저항(R1)을 연결하고 로우 스피드(low speed)가 필요한 USB 모드에서는 D- 단의 저항(R2)을 연결하게 된다. 이에 상기 USB 단말기(20)의 USB 호스트 컨트롤러(미도시)가 자신의 접속 모듈(16)을 이용하여 본 발명의 멀티미디어 시스템(10)의 접속 모듈(16)의 D+/D- 단의 저항을 인식하고 인식한 D+/D- 단의 저항을 통해 본 발명의 멀티미디어 시스템(10)과의 연결을 인식하고 인식한 본 발명의 멀티미디어 시스템(10)의 동작 속도를 파악할 수 있다.
As shown in FIG. 3, when the USB device controller 14 is connected to a USB terminal 20 functioning as a USB host, a USB function (storage medium, data communication, music playback, image album) that can be selected through a separate display means is selected. Etc.) to the user and controls the resistance of the D + / D-terminal of the connection module 16 according to the selected USB mode. For example, in the USB mode requiring full speed, the resistor R1 of the D + stage is connected. In the USB mode requiring low speed, the resistor R2 of the D- stage is connected. Accordingly, the USB host controller (not shown) of the USB terminal 20 recognizes the resistance of the D + / D− terminal of the connection module 16 of the multimedia system 10 of the present invention using its connection module 16. The operating speed of the multimedia system 10 of the present invention which recognizes and recognizes the connection with the multimedia system 10 of the present invention can be determined through the resistance of the D + / D- stage.

- 접속 모듈(16)의 구성 --Configuration of Connection Module 16-

도 3에 도시된 바와 같이, 접속 모듈(16)은 통상적인 USB 포트로 마련되며 적어도 4개의 핀을 포함한다. 핀 번호 "1" 및 "4"는 전원(Vbus, Ground)과 관련되고 핀 번호 "3" 및 "2"는 D+ 단, D- 단으로서 USB 풀 업(Pull Up) 저항과 각각 관련되어 있다. 특히 D+ 단 및 D- 단에 연결되는 풀 업 저항은 USB 디바이스 및 USB 호스트의 전송 속도와 관련되어 있다. 여기서 USB 호스트의 D+ 단 및 D- 단에 연결되는 풀 업 저항(R3, R4)은 USB 디바이스 측의 D+ 단 및 D- 단에 연결되는 풀 업 저항(R1, R2)을 검출하기 위한 저항으로 활용된다. 여기서 상기 저항들은 바람직하게는 15K +/- 5% 정도의 임피던스를 가지도록 설계된다.
As shown in FIG. 3, the connection module 16 is provided with a conventional USB port and includes at least four pins. Pin numbers "1" and "4" are associated with the power supply (Vbus, Ground) and pin numbers "3" and "2" are associated with the USB pull up resistors as D + and D- terminals, respectively. In particular, the pullup resistors connected to the D + and D- stages are related to the transfer rates of USB devices and USB hosts. The pull-up resistors R3 and R4 connected to the D + and D- terminals of the USB host are used as resistors for detecting the pullup resistors R1 and R2 connected to the D + and D- terminals of the USB device. do. The resistors here are preferably designed to have an impedance on the order of 15K +/- 5%.

- 경로 설정 모듈(18)의 구성 -Configuration of the Routing Module 18

경로 설정 모듈(18)은 상기 접속 모듈(16)을 통해 접속한 외부 USB 단말기(20)로 제2디스크립터의 전송을 요청한다. 그리고 상기 경로 설정 모듈(18)은 상기 외부 USB 단말기(20)로부터 상기 제2디스크립터를 전송받지 못하면 상기 USB 단말기(20)를 USB 호스트 역할을 하는 단말기로 인식한다. 이 경우 상기 경로 설정 모듈(18)은 본 발명의 멀티미디어 시스템(10)의 제1디스크립터를 상기 USB 단말기(20)로 전달하여 상기 멀티미디어 시스템(10)을 USB 디바이스 모드로 전환하고 USB 호스트 역할을 하는 상기 USB 단말기(20)와 상기 USB 디바이스 컨트롤러(14)를 서로 연결시킨다. The path setting module 18 requests the transfer of the second descriptor to the external USB terminal 20 connected through the connection module 16. The path setting module 18 recognizes the USB terminal 20 as a terminal serving as a USB host when the second descriptor is not transmitted from the external USB terminal 20. In this case, the path setting module 18 transfers the first descriptor of the multimedia system 10 of the present invention to the USB terminal 20 to switch the multimedia system 10 to the USB device mode and serve as a USB host. The USB terminal 20 and the USB device controller 14 are connected to each other.

한편 상기 경로 설정 모듈(18)은 상기 접속 모듈(16)을 통해 상기 USB 단말기(20)로부터 제2디스크립터를 전달받으면 상기 USB 단말기(20)를 USB 디바이스 기능을 하는 단말기로 인식하고 본 발명의 멀티미디어 시스템(10)을 USB 호스트 모드로 전환하고 USB 디바이스 기능을 하는 상기 USB 단말기(20)와 USB 호스트 컨트롤러(12)를 서로 연결시킨다. Meanwhile, when the path setting module 18 receives the second descriptor from the USB terminal 20 through the connection module 16, the path setting module 18 recognizes the USB terminal 20 as a terminal functioning as a USB device and performs multimedia according to the present invention. The system 10 is switched to the USB host mode and the USB terminal 20 which functions as a USB device and the USB host controller 12 are connected to each other.

이하 본 발명의 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템(10)의 동작을 설명한다.Hereinafter, the operation of the multimedia system 10 capable of switching between the USB host and the USB device will be described.

도 4는 본 발명의 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템(10)의 동작을 나타내는 순서도이다.4 is a flowchart illustrating the operation of the multimedia system 10 capable of switching between the USB host and the USB device of the present invention.

도 4에 도시된 바와 같이, 본 발명의 멀티미디어 시스템(10)의 접속 모듈(16)에 USB 단말기(20)가 접속되면 접속 모듈(16)이 상기 USB 호스트의 물리적인 연결을 감지한다(S100).As shown in FIG. 4, when the USB terminal 20 is connected to the connection module 16 of the multimedia system 10 of the present invention, the connection module 16 detects a physical connection of the USB host (S100). .

이어서 상기 멀티미디어 시스템(10)의 경로 설정 모듈(18)은 상기 USB 단말기(20)로 제2디스크립터의 전달을 요청한다(S102).Subsequently, the path setting module 18 of the multimedia system 10 requests the transfer of the second descriptor to the USB terminal 20 (S102).

이어서 상기 멀티미디어 시스템(10)의 경로 설정 모듈(18)은 상기 USB 단말기(20)로부터 상기 제2디스크립터를 전달받았는지 여부를 파악한다(S104).Subsequently, the path setting module 18 of the multimedia system 10 determines whether the second descriptor is received from the USB terminal 20 (S104).

이어서 상기 멀티미디어 시스템(10)의 경로 설정 모듈(18)은 상기 USB 단말기(20)로부터 상기 제2디스크립터를 전달받지 못하면 상기 USB 단말기(20)를 USB 호스트로 판단하고, 상기 멀티미디어 시스템(10)을 USB 디바이스 모드로 전환한다(S106).Subsequently, if the path setting module 18 of the multimedia system 10 does not receive the second descriptor from the USB terminal 20, the path setting module 18 determines the USB terminal 20 as a USB host, and determines the multimedia system 10. Switch to the USB device mode (S106).

이어서 USB 디바이스 모드로 전환된 상기 멀티미디어 시스템(10)의 경로 설정 모듈(18)은 상기 USB 단말기(20)와 상기 멀티미디어 시스템(10)의 USB 디바이스 컨트롤러(14)를 서로 연결시킨다(S108).Subsequently, the path setting module 18 of the multimedia system 10 switched to the USB device mode connects the USB terminal 20 and the USB device controller 14 of the multimedia system 10 to each other (S108).

이어서 상기 멀티미디어 시스템(10)의 USB 디바이스 컨트롤러(14)는 제1디스크립터를 상기 USB 단말기(20)로 전달한다(S110). 이에 상기 USB 단말기(20)는 상기 멀티미디어 시스템(10)의 제1디스크립터를 전달받아 상기 멀티미디어 시스템(10)을 USB 디바이스로 인식할 수 있다.Subsequently, the USB device controller 14 of the multimedia system 10 transmits a first descriptor to the USB terminal 20 (S110). Accordingly, the USB terminal 20 may receive the first descriptor of the multimedia system 10 to recognize the multimedia system 10 as a USB device.

이어서 상기 멀티미디어 시스템(10)의 USB 디바이스 컨트롤러(14)는 상기 USB 단말기(20)로부터 Vbus 전원을 전달받으면 접속 모듈(16)의 D+/D- 단에 연결되는 저항을 오픈(open) 상태로 만들어 상기 USB 단말기(20)가 상기 멀티미디어 시스템(10)의 연결을 인지하지 못하도록 한다(S112).Subsequently, when the USB device controller 14 of the multimedia system 10 receives Vbus power from the USB terminal 20, a resistance connected to the D + / D− terminals of the connection module 16 is made open. The USB terminal 20 does not recognize the connection of the multimedia system 10 (S112).

이어서 상기 멀티미디어 시스템(10)의 USB 디바이스 컨트롤러(14)는 디스플레이 수단을 통해 선택 가능한 USB 기능(저장매체, 데이터 통신, 음악 재생, 이미지 앨범 등)을 사용자에게 제공한다(S114).Subsequently, the USB device controller 14 of the multimedia system 10 provides a user with a selectable USB function (storage medium, data communication, music playback, image album, etc.) through the display means (S114).

이어서 상기 멀티미디어 시스템(10)의 USB 디바이스 컨트롤러(14)는 사용자로부터 특정 USB 모드를 선택받으면 선택받은 USB 모드에 따라 접속 모듈(16)의 D+/D- 단의 저항을 제어한다(S116). Subsequently, when the specific USB mode is selected by the user, the USB device controller 14 of the multimedia system 10 controls the resistance of the D + / D− terminals of the connection module 16 according to the selected USB mode (S116).

이어서 상기 멀티미디어 시스템(10)의 USB 디바이스 컨트롤러(14)는 상기 USB 단말기(20)와 USB 표준에 따른 리퀘스트(request)를 주고받으며 핸드 쉐이킹(hand shaking) 과정을 진행한다(S118).Subsequently, the USB device controller 14 of the multimedia system 10 exchanges a request according to the USB terminal with the USB terminal 20 and performs a hand shaking process (S118).

이어서 상기 멀티미디어 시스템(10)의 USB 디바이스 컨트롤러(14)는 USB 호스트와의 데이터 통신을 수행한다(S120).
Subsequently, the USB device controller 14 of the multimedia system 10 performs data communication with the USB host (S120).

한편 S104에서 상기 멀티미디어 시스템(10)의 경로 설정 모듈(18)은 상기 USB 단말기(20)로부터 상기 제2디스크립터를 전달받으면 상기 USB 단말기(20)를 USB 디바이스로 판단하고 상기 멀티미디어 시스템(10)을 USB 호스트 모드로 전환한다(S122).Meanwhile, in step S104, when the path setting module 18 of the multimedia system 10 receives the second descriptor from the USB terminal 20, the path setting module 18 determines the USB terminal 20 as a USB device and determines the multimedia system 10. Switch to the USB host mode (S122).

이어서 USB 호스트 모드로 전환된 상기 멀티미디어 시스템(10)의 경로 설정 모듈(18)은 상기 USB 단말기(20)와 상기 멀티미디어 시스템(10)의 USB 호스트 컨트롤러(12)를 서로 연결시킨다(S124).Subsequently, the path setting module 18 of the multimedia system 10 switched to the USB host mode connects the USB terminal 20 and the USB host controller 12 of the multimedia system 10 to each other (S124).

이어서 상기 멀티미디어 시스템(10)의 USB 호스트 컨트롤러(12)는 상기 USB 단말기(20)의 D+/D- 단의 저항을 인식하고 인식한 D+/D- 단의 저항을 통해 상기 USB 단말기(20)의 연결을 인식하고 상기 USB 단말기(20)의 동작 속도를 파악한다(S126). 여기서 상기 USB 단말기(20)는 S112 및 S116의 과정을 수행한 상태를 전제로 한다.Subsequently, the USB host controller 12 of the multimedia system 10 recognizes the resistance of the D + / D- terminal of the USB terminal 20 and recognizes the resistance of the USB terminal 20 through the resistance of the D + / D- terminal. The connection is recognized and the operating speed of the USB terminal 20 is determined (S126). In this case, the USB terminal 20 assumes a state in which the processes of S112 and S116 are performed.

이어서 상기 멀티미디어 시스템(10)의 USB 호스트 컨트롤러(12)는 상기 USB 단말기(20)와 USB 표준에 따른 리퀘스트(request)를 주고받으며 핸드 쉐이킹(hand shaking) 과정을 진행한다(S128).Subsequently, the USB host controller 12 of the multimedia system 10 exchanges a request according to the USB terminal with the USB terminal 20 and performs a hand shaking process (S128).

이어서 상기 멀티미디어 시스템(10)의 USB 디바이스 컨트롤러(14)는 USB 호스트와의 데이터 통신을 수행한다(S130).
Subsequently, the USB device controller 14 of the multimedia system 10 performs data communication with the USB host (S130).

이상, 본 발명은 비록 한정된 구성과 도면에 의해 설명되었으나, 본 발명의 기술적 사상은 이러한 것에 한정되지 않으며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해, 본 발명의 기술적 사상과 하기 기재될 특허청구범위의 균등범위 내에서 다양한 수정 및 변형 실시가 가능할 것이다.
As mentioned above, although the present invention has been described by means of a limited configuration and drawings, the technical idea of the present invention is not limited to the above, and by those skilled in the art to which the present invention pertains, Various modifications and variations may be made without departing from the scope of the appended claims.

10: 멀티미디어 시스템
12: USB 호스트 컨트롤러
14: USB 디바이스 컨트롤러
16: 접속 모듈
18: 경로 설정 모듈
20: USB 단말기
10: multimedia system
12: USB host controller
14: USB device controller
16: connection module
18: routing module
20: USB terminal

Claims (5)

멀티미디어 시스템으로서,
디바이스 역할을 하는 USB 단말기와의 데이터 통신을 수행하는 USB 호스트 컨트롤러;
호스트 역할을 하는 USB 단말기와의 데이터 통신을 수행하고 상기 멀티미디어 시스템의 저장 기능 및 특성이 정의된 제1디스크립터(descriptor)를 포함하는 USB 디바이스 컨트롤러;
USB 단말기의 접속을 감지하는 접속 모듈; 및
접속한 상기 USB 단말기로 상기 USB 단말기의 제2디스크립터의 전송을 요청하고 상기 USB 단말기로부터 상기 제2디스크립터를 전송받지 못하면 상기 멀티미디어 시스템을 USB 디바이스 모드로 전환하고 상기 USB 단말기와 상기 USB 디바이스 컨트롤러를 서로 연결시키는 경로 설정 모듈을 포함하는 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템.
As a multimedia system,
A USB host controller performing data communication with a USB terminal serving as a device;
A USB device controller for performing data communication with a USB terminal serving as a host and including a first descriptor defining a storage function and a characteristic of the multimedia system;
A connection module for detecting a connection of a USB terminal; And
If the connected USB terminal requests the transfer of the second descriptor of the USB terminal and fails to receive the second descriptor from the USB terminal, the multimedia system is switched to the USB device mode and the USB terminal and the USB device controller are mutually connected. A multimedia system capable of switching between a USB host and a USB device including a routing module for connecting.
청구항 1에 있어서,
상기 멀티미디어 시스템이 USB 디바이스 모드로 전환되면,
상기 USB 디바이스 컨트롤러는 상기 제1디스크립터를 상기 USB 단말기로 전달하는 것을 특징으로 하는 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템.
The method according to claim 1,
When the multimedia system is switched to the USB device mode,
And the USB device controller transfers the first descriptor to the USB terminal.
청구항 1에 있어서,
상기 경로 설정 모듈은
상기 USB 단말기로부터 상기 제2디스크립터를 전달받으면 상기 멀티미디어 시스템을 USB 호스트 모드로 전환하고 상기 USB 단말기와 USB 호스트 컨트롤러를 서로 연결시키는 것을 특징으로 하는 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템.
The method according to claim 1,
The routing module is
And converting the multimedia system into a USB host mode when the second descriptor is received from the USB terminal, and connecting the USB terminal and the USB host controller to each other.
청구항 1에 있어서,
상기 USB 디바이스 컨트롤러가 상기 USB 단말기와 연결되면,
상기 USB 디바이스 컨트롤러는
접속 모듈의 D+ 단 또는 D- 단에 연결된 저항 연결을 해제하고 사용자로부터 USB 모드를 선택받으며 선택받은 USB 모드에 적합한 저항을 D+ 단 또는 D- 단에 연결하여 상기 USB 단말기가 상기 D+ 단 또는 D- 단의 저항을 검출하여 상기 멀티미디어 시스템의 동작 속도를 인식하게 하고 상기 USB 단말기와 핸드 쉐이킹(hand shaking) 과정을 통해 상기 USB 단말기와 상기 동작 속도로 데이터 통신을 수행하는 것을 특징으로 하는 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템.
The method according to claim 1,
When the USB device controller is connected to the USB terminal,
The USB device controller
Disconnect the resistor connected to the D + terminal or D- terminal of the connection module, select the USB mode from the user, and connect the resistor suitable for the selected USB mode to the D + terminal or the D- terminal so that the USB terminal is connected to the D + terminal or D- terminal. USB host and USB characterized by detecting the resistance of the stage to recognize the operating speed of the multimedia system and performing data communication with the USB terminal at the operating speed through a hand shaking (hand shaking) process with the USB terminal. Multimedia system that can switch between devices.
청구항 3에 있어서,
상기 USB 호스트 컨트롤러가 상기 USB 단말기와 연결되면,
상기 USB 호스트 컨트롤러는
상기 USB 단말기의 접속 모듈의 D+ 단 또는 D- 단에 연결된 저항을 검출하여 상기 USB 단말기의 동작 속도를 인식하고 상기 USB 단말기와 핸드 쉐이킹 과정을 통해 상기 USB 단말기와 상기 동작 속도로 데이터 통신을 수행하는 것을 특징으로 하는 USB 호스트 및 USB 디바이스 간의 전환이 가능한 멀티미디어 시스템.
The method according to claim 3,
When the USB host controller is connected to the USB terminal,
The USB host controller
Recognizing an operating speed of the USB terminal by detecting a resistor connected to the D + terminal or the D- terminal of the connection module of the USB terminal and performing data communication with the USB terminal at the operating speed through a handshaking process with the USB terminal. A multimedia system capable of switching between a USB host and a USB device.
KR1020100082431A 2010-08-25 2010-08-25 A multimedia system converting usb host and usb device KR101592591B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100082431A KR101592591B1 (en) 2010-08-25 2010-08-25 A multimedia system converting usb host and usb device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100082431A KR101592591B1 (en) 2010-08-25 2010-08-25 A multimedia system converting usb host and usb device

Publications (2)

Publication Number Publication Date
KR20120019188A true KR20120019188A (en) 2012-03-06
KR101592591B1 KR101592591B1 (en) 2016-02-15

Family

ID=46128214

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100082431A KR101592591B1 (en) 2010-08-25 2010-08-25 A multimedia system converting usb host and usb device

Country Status (1)

Country Link
KR (1) KR101592591B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10198387B2 (en) 2015-06-26 2019-02-05 Samsung Electronics Co., Ltd. Electronic device and method for controlling signal strength according to mode

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100686877B1 (en) * 2005-01-31 2007-02-23 엘지전자 주식회사 USB system providing function of USB host and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10198387B2 (en) 2015-06-26 2019-02-05 Samsung Electronics Co., Ltd. Electronic device and method for controlling signal strength according to mode

Also Published As

Publication number Publication date
KR101592591B1 (en) 2016-02-15

Similar Documents

Publication Publication Date Title
US20230297531A1 (en) Flexible mobile device connectivity to automotive systems with usb hubs
US20180011718A1 (en) Re-enumeration of usb 3.0 compatible devices
US7765344B2 (en) Apparatus and method for dynamically providing hub or host operations
US10515040B2 (en) Data bus host and controller switch
US20040148451A1 (en) USB controlling apparatus for data transfer between computers and method for the same
JP3610424B2 (en) Electronic equipment and interface circuit
US20050216620A1 (en) KVM and USB peripheral switch
TW565797B (en) Method and apparatus of controlling an operational mode of a USB device
CN107391419B (en) Support general sequence busbar concentrator of many host computers and automobile-used host computer
US20090268743A1 (en) Data transmission bridge device and control chip thereof for transmitting data
US20060059293A1 (en) Universal serial bus switching hub
US20030005186A1 (en) Peripheral sharing device with unified clipboard memory
US20060227759A1 (en) Peripheral Sharing USB Hub
US20070028127A1 (en) Universal serial bus system, and method of driving the same
US20090210608A1 (en) KVM switch and operation method thereof
JP4377603B2 (en) Bus communication system and communication control method thereof
JP2008536225A (en) Peripheral device shared USB hub
JP2018073392A (en) Flexible mobile device connectivity to automotive systems with usb hubs
CN114281722A (en) Embedded control circuit with double bus interfaces, chip and electronic equipment
CN114297105A (en) Embedded control circuit, chip and electronic equipment for direct memory access
CN114297111A (en) Embedded control circuit, chip, peripheral access method and electronic equipment
KR101592591B1 (en) A multimedia system converting usb host and usb device
JP2003316488A (en) Multifunctional network card and driving method thereof
US20070106824A1 (en) Target device in serial communication and external device connected to target device
US6919878B2 (en) Keyboard/mouse switching controller

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190130

Year of fee payment: 4