KR101446940B1 - Digital image processing apparatus comprising the function of determining the class of USB host and the communicating method of the same - Google Patents

Digital image processing apparatus comprising the function of determining the class of USB host and the communicating method of the same Download PDF

Info

Publication number
KR101446940B1
KR101446940B1 KR1020070124324A KR20070124324A KR101446940B1 KR 101446940 B1 KR101446940 B1 KR 101446940B1 KR 1020070124324 A KR1020070124324 A KR 1020070124324A KR 20070124324 A KR20070124324 A KR 20070124324A KR 101446940 B1 KR101446940 B1 KR 101446940B1
Authority
KR
South Korea
Prior art keywords
usb
usb host
image processing
host
digital image
Prior art date
Application number
KR1020070124324A
Other languages
Korean (ko)
Other versions
KR20090057650A (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 KR1020070124324A priority Critical patent/KR101446940B1/en
Publication of KR20090057650A publication Critical patent/KR20090057650A/en
Application granted granted Critical
Publication of KR101446940B1 publication Critical patent/KR101446940B1/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

Abstract

본 발명은 디지털 영상 처리장치 및 그 통신방법에 관한 것으로 데이터 전송 속도가 다른 복수의 USB 호스트들이 단일 USB 접속부를 통하여 각각 연결되는 디지털 영상 처리장치에 있어서, (a)상기 복수의 USB 호스트들 중 어느 하나의 USB호스트가 상기 USB 인터페이스를 통하여 접속됨을 감지하는 단계, (b)상기 감지된 USB 호스트로부터 인가되는 제어신호에 의해 상기 USB 호스트의 데이터 전송 속도를 판단하는 단계 및 (c)상기 판단한 전송 속도에 따라서 상기 연결된 USB 호스트와 통신하도록 USB 드라이버를 구동하는 단계를 포함하는 디지털 영상 처리장치의 통신방법을 제공하여 사용자가 USB 호스트의 종류를 선택하지 않아도 자동으로 디지털 영상 처리장치가 USB 호스트의 종류를 인식하여 그에 해당하는 통신모드를 설정하고 통신할 수 있는 것을 특징으로 한다.

Figure R1020070124324

디지털 영상 처리장치, USB, 전송 속도

The present invention relates to a digital image processing apparatus and a communication method thereof, in which a plurality of USB hosts having different data transmission rates are connected through a single USB connection unit, the digital image processing apparatus comprising: (a) (B) determining a data transmission speed of the USB host based on a control signal applied from the USB host detected; and (c) determining a data transmission speed of the USB host based on the determined transmission speed And a USB driver for communicating with the connected USB host according to the type of the USB host. Accordingly, even when the user does not select the type of the USB host, the digital image processing apparatus automatically sets the type of the USB host And to set the communication mode corresponding to the communication mode, The.

Figure R1020070124324

Digital image processing device, USB, transmission speed

Description

USB 호스트의 종류를 판단하는 기능을 구비한 디지털 영상 처리장치 및 그 통신방법{Digital image processing apparatus comprising the function of determining the class of USB host and the communicating method of the same}Technical Field [0001] The present invention relates to a digital image processing apparatus having a function of determining the type of a USB host and a communication method thereof.

본 발명은 디지털 영상 처리장치 및 그 통신방법에 관한 것으로, 특히 USB 호스트의 신호를 인가받아 USB 호스트의 데이터 전송 속도를 판단하고 그에 따라 자동으로 디지털 영상 처리장치의 통신모드를 설정하는 기능을 구비한 디지털 영상 처리장치 및 그 통신방법에 관한 것이다.The present invention relates to a digital image processing apparatus and a communication method thereof, and more particularly, to a digital image processing apparatus and a communication method therefor, which are capable of receiving a signal from a USB host and determining a data transmission speed of the USB host and automatically setting a communication mode of the digital image processing apparatus A digital image processing apparatus and a communication method thereof.

USB 디바이스의 일 예인 디지털 영상 처리장치는 저장매체에 관한 연구에 의하여 저장매체의 저장용량이 증가함에 따라서 디지털 영상 처리장치에 저장할 수 있는 영상의 양도 늘어나게 되었다.As the storage capacity of the storage medium increases, the amount of images that can be stored in the digital image processing apparatus has been increased as a result of studies on storage media.

그러나 이러한 저장용량의 증가에도 불구하고 촬영이 계속되면 저장매체에 저장할 수 있는 공간이 부족하게 되기 때문에 사용자는 USB 등의 연결장치를 통하여 컴퓨터에 촬영된 영상을 이동시키거나 프린터로 출력하여 장기간 보존하여야 할 필요성이 존재한다.However, if the photographing continues despite the increase of the storage capacity, the space available for storing the image on the storage medium becomes insufficient. Therefore, the user must move the image photographed on the computer through a USB device or output the image to the printer, There is a need to do.

도 1은 디지털 영상 처리장치와 USB 호스트의 연결을 나타낸 도면이다.1 is a diagram showing a connection between a digital image processing apparatus and a USB host.

도 1을 참조하면 디지털 영상 처리장치(100)는 USB 호스트로서의 컴퓨터(200) 또는 프린터(300)에 USB 케이블(400)을 통하여 연결되어 데이터를 송수신 할 수 있다.Referring to FIG. 1, a digital image processing apparatus 100 is connected to a computer 200 or a printer 300 as a USB host through a USB cable 400 to transmit and receive data.

사용자가 이러한 USB 호스트를 디지털 영상 처리장치(100)와 연결시키는 경우 종래에는 사용자가 상기 디지털 영상 처리장치(100)에 연결될 USB 호스트를 선택하여 이에 적합한 통신모드를 수행하여야 하였다.When a user connects the USB host to the digital image processing apparatus 100, a user has to select a USB host to be connected to the digital image processing apparatus 100 and perform a communication mode suitable for the USB host.

도 2는 종래기술에 의한 디지털 영상 처리장치(100)에서 연결하고자 하는 USB 호스트를 선택하는 메뉴 화면이다.2 is a menu screen for selecting a USB host to be connected in the digital image processing apparatus 100 according to the related art.

도 2를 참조하면 USB 호스트의 종류를 선택하는 메뉴 화면이 디스플레이되어 있다. 일반적으로 USB 호스트의 종류로 컴퓨터(200) 및 프린터(300)가 제시되어 있다. 종래에는 상기 메뉴 화면에서 사용자가 프린터(300)를 선택한 후 USB 호스트로 컴퓨터(200)를 연결하는 경우 디지털 영상 처리장치(100) 및 USB 호스트 상호간에 전송 속도가 합치하지 않아 접속이 실패하게 된다. 이는 메뉴 화면에서 사용자가 컴퓨터(200)를 선택한 후 USB 호스트로 프린터(300)를 연결한 경우에도 마찬가지다.Referring to FIG. 2, a menu screen for selecting a type of USB host is displayed. In general, a computer 200 and a printer 300 are shown as types of USB hosts. Conventionally, when the user selects the printer 300 on the menu screen and then connects the computer 200 to the USB host, the connection speed between the digital image processing apparatus 100 and the USB host is not matched and the connection fails. This is the same when the user selects the computer 200 on the menu screen and then connects the printer 300 to the USB host.

따라서 사용자는 디지털 영상 처리장치(100)에 USB 호스트를 연결할 때마다 매번 상기 메뉴 화면에서 연결할 USB 호스트의 종류를 선택하고 USB 케이블을 연결해야 하는 문제점이 있었다. 또한 메뉴 화면에서 USB 호스트의 종류를 잘못 선택하는 경우 통신에 실패하여 데이터의 송수신이 불가능한 문제점이 있었다.Accordingly, each time the user connects the USB host to the digital image processing apparatus 100, the user must select the type of the USB host to be connected and connect the USB cable in the menu screen. Also, when the type of the USB host is wrongly selected on the menu screen, there is a problem that communication fails and data transmission / reception is impossible.

본 발명의 목적은 USB 호스트가 접속되는 경우에 디지털 영상 처리장치가 USB 호스트의 데이터 전송 속도를 판단하고 USB 호스트와의 통신을 수행하는 디지털 영상 처리장치 및 그 통신방법을 제공하는 것이다.An object of the present invention is to provide a digital image processing apparatus and a communication method thereof, in which a digital image processing apparatus judges a data transfer speed of a USB host and performs communication with a USB host when a USB host is connected.

상기 기술적 과제를 해결하기 위하여, 본 발명의 제 1 측면은 데이터 전송 속도가 다른 복수의 USB 호스트들이 단일 USB 접속부를 통하여 각각 연결되는 디지털 영상 처리장치에 있어서, (a)상기 복수의 USB 호스트들 중 어느 하나의 USB호스트가 상기 USB 인터페이스를 통하여 접속됨을 감지하는 단계, (b)상기 감지된 USB 호스트로부터 인가되는 제어신호에 의해 상기 USB 호스트의 데이터 전송 속도를 판단하는 단계 및 (c)상기 판단한 전송 속도에 따라서 상기 연결된 USB 호스트와 통신하도록 USB 드라이버를 구동하는 단계를 포함하는 디지털 영상 처리장치의 통신방법을 제공한다.According to a first aspect of the present invention, there is provided a digital image processing apparatus in which a plurality of USB hosts having different data transfer rates are connected through a single USB connection unit, the apparatus comprising: (a) (B) determining a data transmission speed of the USB host by a control signal applied from the USB host detected; and (c) comparing the determined transmission speed of the USB host with the determined transmission And driving the USB driver to communicate with the connected USB host according to the speed.

본 발명에 있어서, 상기 (b)단계는, 상기 복수의 USB 호스트들 중 제1 USB 호스트가 상기 USB 접속단에 접속됨을 감지하면 상기 제1 USB 호스트로부터 인가되는 제어신호에 의해 상기 접속된 USB 호스트의 데이터 전송 속도가 제1 전송 속도라고 판단하여 제1 통신모드로 통신하도록 USB 드라이버를 구동할 수 있으며, 상기 복수의 USB 호스트들 중 제2 USB 호스트가 상기 USB 접속단에 접속됨을 감지하면 상기 제2 USB 호스트로부터 인가되는 제어신호에 의해 상기 접속된 USB 호스트의 데이터 전송 속도가 제1 전송 속도보다 낮은 제2 전송 속도라고 판단하여 제2 통신모드로 통신하도록 USB 드라이버를 구동할 수 있다.If it is determined that the first USB host among the plurality of USB hosts is connected to the USB connection terminal, the step (b) may further include, by a control signal applied from the first USB host, When the second USB host of the plurality of USB hosts detects that the second USB host is connected to the USB connection terminal, 2 USB host may determine that the data transfer rate of the connected USB host is a second transfer rate lower than the first transfer rate by the control signal applied from the USB host and drive the USB driver to communicate in the second communication mode.

본 발명에 있어서, 상기 제1 전송 속도는 하이-스피드(High-speed) 모드이고, 제2 전송 속도는 풀-스피드(Full-speed) 모드일 수 있다.In the present invention, the first transmission rate may be a high-speed mode and the second transmission rate may be a full-speed mode.

본 발명에 있어서, 상기 제1 USB 호스트는 컴퓨터이고 제2 USB 호스트는 프린터일 수 있다.In the present invention, the first USB host may be a computer and the second USB host may be a printer.

본 발명에 있어서, 상기 제1 통신모드는 대용량 스토리지(Mass storage) 클래스의 통신을 위한 통신모드이고, 상기 제2 통신모드는 피트브리지(Pictbridge) 클래스의 통신을 위한 통신모드일 수 있다.In the present invention, the first communication mode may be a communication mode for mass storage class communication, and the second communication mode may be a communication mode for Pictbridge class communication.

또한 상기 기술적 과제를 해결하기 위하여, 본 발명의 제 1 측면은 데이터 전송 속도가 다른 복수의 USB 호스트들과 연결되는 USB 접속부, 상기 USB 접속부에 상기 복수의 USB 호스트들 중 어느 하나가 접속됨을 감지하는 감지부, 상기 USB 접속부를 통하여 인가된 상기 USB 호스트의 제어신호에 따라서 데이터 전송 속도를 판단하는 판단부 및 상기 판단부가 판단한 데이터 전송 속도에 따른 통신모드로 통신하도록 USB 드라이버들 중 하나의 USB 드라이버를 구동시키는 구동부를 포함하는 디지털 영상 처리장치를 제공한다.According to a first aspect of the present invention, there is provided a data communication system including a USB connection unit connected to a plurality of USB hosts having different data transmission speeds, a plurality of USB hosts connected to the USB connection unit, A determination unit for determining a data transfer rate in accordance with a control signal of the USB host applied through the USB connection unit and a USB driver for communicating in a communication mode according to the determined data transmission rate, And a driving unit that drives the digital image processing apparatus.

본 발명에 있어서, 상기 USB 드라이버들은, 대용량 스토리지 클래스의 통신을 위한 USB 드라이버 및 피트브리지 클래스의 통신을 위한 USB 드라이버를 포함할 수 있다.In the present invention, the USB drivers may include a USB driver for communicating a mass storage class and a USB driver for communicating a pit bridge class.

이와 같이, 디지털 영상 처리장치는 외부로부터 연결된 USB 호스트의 데이터 전송 속도를 판단하고 상기 USB 호스트의 종류를 판단하여 그에 해당하는 통신모드를 설정하므로 사용자가 직접 메뉴 화면에서 연결하고자 하는 USB 호스트의 종류를 선택할 필요가 없어 편리하게 디지털 영상 처리장치를 사용할 수 있게 한다.Thus, the digital image processing apparatus judges the data transmission speed of the USB host connected from the outside, determines the type of the USB host, and sets the communication mode corresponding to the type of the USB host. Therefore, So that the digital image processing apparatus can be conveniently used.

이하, 도 3 내지 도 5를 참조하여 바람직한 실시 예들에 대하여 보다 상세히 설명한다.Hereinafter, preferred embodiments will be described in detail with reference to Figs. 3 to 5. Fig.

도 3 및 도 4는 본 발명의 일 실시 예에 따른 디지털 영상 처리장치의 구성을 나타낸 도면이다. 도 3은 본 발명의 일 실시 예에 따른 디지털 영상 처리장치의 배면도이고, 도 4는 도 3에 도시된 디지털 영상 처리장치의 내부 장치를 개략적으로 도시하는 구성도이다.FIG. 3 and FIG. 4 are diagrams showing a configuration of a digital image processing apparatus according to an embodiment of the present invention. FIG. 3 is a rear view of a digital image processing apparatus according to an embodiment of the present invention, and FIG. 4 is a schematic diagram illustrating an internal apparatus of the digital image processing apparatus shown in FIG.

도 1, 도 3 및 도 4를 참조하면, 본 발명에 의한 디지털 영상 처리장치(100)는 USB 접속부(150), 감지부, 판단부 및 구동부를 포함한다. 또한 일반적인 디지털 영상 처리장치로서 영상 포착부(110), 사용자 입력부(120), 디지털 신호 처리부(130) 및 저장부(140)를 더 포함할 수 있다.1, 3 and 4, the digital image processing apparatus 100 according to the present invention includes a USB connection unit 150, a sensing unit, a determination unit, and a driving unit. In addition, a general digital image processing apparatus may further include a video capturing unit 110, a user input unit 120, a digital signal processing unit 130, and a storage unit 140.

영상 포착부(110)는 영상을 포착하여 디지털 신호로 변환하는 부분이다.The image capturing unit 110 captures an image and converts the captured image into a digital signal.

사용자 입력부(120)는 도 3에 나타난 셔터-릴리즈 버튼(121), 광각(wide angle)-줌(zoom) 버튼(122w), 망원(telephoto)-줌 버튼(122t), 모드 버튼(123), 특수효과 버튼(124), 기능버튼(125), 재생버튼(126) 등의 버튼들을 포함할 수 있다. 도 3에 나타난 버튼들에 의하여 본 발명에 의한 디지털 영상 처리장치(100)는 사용 자로부터의 입력 명령을 받을 수 있다.The user input unit 120 includes a shutter-release button 121, a wide angle-zoom button 122w, a telephoto-zoom button 122t, a mode button 123, A special effect button 124, a function button 125, a play button 126, and the like. 3, the digital image processing apparatus 100 according to the present invention can receive an input command from a user.

디지털 신호 처리부(130)는 디지털 영상 처리장치(100)의 전반적인 동작을 수행하고 제어한다. 상기 디지털 신호 처리부(130)는 제어부(131), 감지부(132), 판단부(133), 구동부(134)를 포함할 수 있다.The digital signal processing unit 130 performs and controls the overall operation of the digital image processing apparatus 100. The digital signal processing unit 130 may include a control unit 131, a sensing unit 132, a determination unit 133, and a driving unit 134.

제어부(131)는 디지털 영상 처리장치(100)의 동작을 위한 신호들을 제어한다.The control unit 131 controls signals for operation of the digital image processing apparatus 100.

감지부(132)는 디지털 영상 처리장치(100)의 USB 접속부(150)에 USB 케이블(400)을 사용하여 USB 호스트가 접속되는 것을 감지한다. 일반적으로 USB 디바이스와 USB 호스트가 USB 케이블(400)에 의하여 접속되면 USB 케이블(400)의 Vbus 단자를 통하여 USB 호스트로부터 USB 디바이스로 전원이 공급된다. 본 발명에 의한 디지털 영상 처리장치(100)의 감지부(132)는 상기 Vbus 단자에 인가되는 전압의 변화를 감지하여 디지털 영상 처리장치(100)에 USB 호스트가 접속되었음을 감지할 수 있다.The sensing unit 132 senses that the USB host is connected to the USB connection unit 150 of the digital image processing apparatus 100 using the USB cable 400. [ Generally, when the USB device and the USB host are connected by the USB cable 400, power is supplied from the USB host to the USB device through the Vbus terminal of the USB cable 400. The sensing unit 132 of the digital image processing apparatus 100 according to the present invention senses a change in the voltage applied to the Vbus terminal and detects that the USB host is connected to the digital image processing apparatus 100. [

판단부(133)는 디지털 영상 처리장치(100)에 저장된 USB 드라이버들 중에서 연결된 USB 호스트가 필요로 하는 USB 드라이버를 구동하기 위하여 USB 호스트의 데이터의 전송 속도를 판단한다. USB 호스트는 USB 디바이스가 접속되면 USB 디바이스에 버스 리셋(Bus Reset) 신호, 버스 리셋 해제 신호 등의 제어신호를 인가한다. 이러한 제어신호에는 USB 스팩에서 정의한 사항에 따라서 USB의 전송 속도에 대한 정보가 포함되어 있으며 이를 감지하여 USB 호스트의 데이터 전송 속도를 판단할 수 있다.The determination unit 133 determines the data transfer speed of the USB host to drive the USB driver required by the connected USB host among the USB drivers stored in the digital image processing apparatus 100. [ When a USB device is connected, the USB host applies control signals such as a bus reset signal and a bus reset release signal to the USB device. These control signals include information about the transmission speed of the USB according to the specifications defined by the USB specification, and it is possible to determine the data transmission speed of the USB host by detecting the transmission speed.

구동부(134)는 상기 판단부(133)에서 디지털 영상 처리장치(100)에 연결된 USB 호스트의 데이터 전송 속도를 판단한 후에 그에 상응하는 USB 드라이버를 구동한다. 판단부(133)가 디지털 영상 처리장치(100)에 연결된 USB 호스트의 데이터 전송 속도가 풀-스피드(Full-speed)라고 판단한 경우, 연결된 USB 호스트가 프린트(300)라고 판단하여 피트브리지(Pictbridge) 클래스의 통신을 위한 USB 드라이버를 구동시킨다. 반면에 판단부(133)가 디지털 영상 처리장치(100)에 접속한 USB 호스트의 데이터 전송 속도가 하이-스피드(High-speed)라고 판단한 경우, 접속한 USB 호스트가 컴퓨터(200)라고 판단하여 대용량 스토리지(Mass storage) 클래스의 통신을 위한 USB 드라이버를 구동시킨다.The driving unit 134 determines the data transfer rate of the USB host connected to the digital image processing apparatus 100 by the determination unit 133 and then drives the corresponding USB driver. When the determination unit 133 determines that the USB host connected to the digital image processing apparatus 100 is at the full-speed data transmission speed, it determines that the connected USB host is the print 300, Run the USB driver for class communication. On the other hand, when the determination unit 133 determines that the data transfer speed of the USB host connected to the digital image processing apparatus 100 is high-speed, it is determined that the connected USB host is the computer 200, Drives a USB driver for communication in the storage (mass storage) class.

저장부(140)는 제1 저장부(141), 제2 저장부(142), 제3 저장부(143)를 포함할 수 있다.The storage unit 140 may include a first storage unit 141, a second storage unit 142, and a third storage unit 143.

제1 저장부(141)는 촬영 조건 등과 관련된 사용자의 설정 데이터가 저장될 수 있다. 또한 디지털 신호 처리부(130)에서 디지털 영상 처리장치(100)를 제어하기 위하여 사용하는 알고리즘이 저장될 수 있다. 또한 USB 호스트와 통신하기 위하여 사용되는 USB 장치 드라이버가 저장될 수 있다. 제1 저장부(141)로는 EEPROM(electrically erasable and programmable read only memory) 등의 사용될 수 있다.The first storage unit 141 may store user setting data related to shooting conditions and the like. Also, an algorithm used by the digital signal processing unit 130 to control the digital image processing apparatus 100 may be stored. The USB device driver used to communicate with the USB host can also be stored. The first storage unit 141 may be an electrically erasable programmable read only memory (EEPROM) or the like.

제2 저장부(142)는 데이터를 임시로 저장하는 임시 저장부로서 디지털 신호 처리부로부터의 디지털 영상 신호가 일시 저장될 수 있다. 상기 제2 저장부(142)로는 DRAM(dynamic random access memory) 등이 사용될 수 있다.The second storage unit 142 temporarily stores data, and temporarily stores the digital video signal from the digital signal processing unit. The second storage unit 142 may be a dynamic random access memory (DRAM) or the like.

제3 저장부(143)는 상기 영상 포착부(110)에 의하여 포착된 영상이 저장될 수 있다. 상기 제3 저장부(143)로는 메모리 카드 등이 사용될 수 있으며 내장형 또는 탈착이 가능한 외장형일 수 있다.The third storage unit 143 may store an image captured by the image capturing unit 110. The third storage unit 143 may be a memory card or the like, and may be built in or detachable.

USB 접속부(150)는 외부 장치인 USB 호스트와 연결하기 위한 단자이다. USB 케이블 등을 통하여 USB 호스트와 접속하여 데이터를 송수신하기 위한 통신을 할 수 있다. 또한 유선 USB 케이블에 한정되는 것은 아니고 USB 접속부(150)는 무선 USB 통신을 지원할 수도 있다.The USB connection unit 150 is a terminal for connecting to a USB host as an external device. And can communicate with a USB host through a USB cable or the like to transmit and receive data. Also, the USB connection unit 150 is not limited to a wired USB cable, and may support wireless USB communication.

디스플레이부(160)는 피사체, 사용자에 의한 기능버튼들(163)의 조작에 따라 제공되는 UI(user interface) 및 미리보기 화면을 표시하는 부분이다. 또한 디지털 영상 처리장치(100)가 프린터(300)와 연결되는 경우 사용자 입력부에 의한 입력에 의하여 저장부에 저장되어 있는 영상 데이터를 전송하기 위한 프린트 메뉴 화면을 제공한다. 디스플레이부(160)는 일반적으로 LCD 디스플레이 패널이 사용되나 이에 한정되는 것은 아니다.The display unit 160 displays a UI (user interface) and a preview screen provided according to the operation of the subject, the function buttons 163 by the user, and the like. In addition, when the digital image processing apparatus 100 is connected to the printer 300, a print menu screen for transmitting image data stored in the storage unit by an input by the user input unit is provided. The display unit 160 generally uses an LCD display panel, but is not limited thereto.

상기 USB 접속부(150), 감지부(132), 판단부(133) 및 구동부(134)를 포함하는 디지털 영상 처리장치(100)는 외부로부터 연결된 USB 호스트의 데이터 전송 속도를 판단하고 상기 USB 호스트의 종류를 판단하여 그에 해당하는 통신모드를 설정하므로 사용자가 직접 메뉴 화면에서 연결하고자 하는 USB 호스트의 종류를 선택할 필요가 없어 편리하게 디지털 영상 처리장치(100)를 사용할 수 있게 한다.The digital image processing apparatus 100 including the USB connection unit 150, the sensing unit 132, the determination unit 133 and the driving unit 134 determines the data transmission speed of the USB host connected from the outside, It is possible to conveniently use the digital image processing apparatus 100 because the user does not need to select the type of the USB host to be connected directly on the menu screen.

도 5는 본 발명의 일 실시 예에 따른 디지털 영상 처리장치의 통신방법을 나타낸 흐름도(500)이다.5 is a flowchart 500 illustrating a communication method of a digital image processing apparatus according to an embodiment of the present invention.

도 1, 도 4 및 도 5를 참조하면, 감지부(132)는 디지털 영상 처리장치(100)에 USB 케이블(400)을 사용하여 USB 호스트가 접속되는 것을 감지한다(510 단계). 상기 언급한 바와 같이 USB 케이블(400)의 Vbus 단자를 통하여 인가되는 전원에 의하여 디지털 영상 처리장치(100)측 Vbus 단자의 전압 변화를 감지하여 USB 호스트의 접속을 감지할 수 있다.1, 4, and 5, the sensing unit 132 senses that the USB host is connected to the digital image processing apparatus 100 using the USB cable 400 (step 510). As described above, the voltage change of the Vbus terminal of the digital video processor 100 can be sensed by the power supplied through the Vbus terminal of the USB cable 400 to detect the connection of the USB host.

감지부(132)가 USB 호스트의 접속을 감지하면 USB 호스트로 디지털 영상 처리장치(100)가 접속되었음을 알리는 접속 신호를 전송한다(520단계).If the detection unit 132 detects the connection of the USB host, the USB host transmits an access signal indicating that the digital image processing apparatus 100 is connected (step 520).

상기 접속 신호에 대응하여 USB 호스트는 USB 디바이스인 디지털 영상 처리장치(100)를 제어하기 위한 제어신호를 전송하며 판단부(133)는 상기 제어신호로부터 USB 호스트의 전송 속도를 판단하게 된다(530단계).In response to the connection signal, the USB host transmits a control signal for controlling the digital image processing apparatus 100, which is a USB device, and the determination unit 133 determines the transmission speed of the USB host from the control signal (operation 530 ).

판단부(133)가 USB 호스트의 데이터 전송 속도를 판단하여 전송 속도가 하이-스피드 모드인지 아닌지를 판단한다(540단계).The determination unit 133 determines the data transmission speed of the USB host and determines whether the transmission speed is in a high-speed mode (operation 540).

USB 호스트는 USB 디바이스인 디지털 영상 처리장치(100)에 디스크립터(Descripter)를 요청하게 되며, 이때 판단부(133)가 전송 속도가 하이-스피드라고 판단할 경우 대용량 스토리지 클래스의 정보를 포함하고 있는 디스크립터를 USB 호스트에 제공하게 된다(550단계). 반면에 판단부가 전송 속도가 풀-스피드라고 판단할 경우 피트브리지 클래스의 정보를 포함하고 있는 디스크립터를 USB 호스트에 제공하게 된다(560단계). 클래스란 공통적인 기능을 수행하는 USB 디바이스를 동일한 USB 디바이스로 취급하기 위하여 USB 디바이스의 종류를 분류한 것이다. 또한 디스크립터에는 자신이 어떤 종류의 디바이스인지, 누가 제작하였는지, USB 버젼이 어떻게 되는지 등의 정보가 포함되어 있다.The USB host requests a descriptor to the digital image processing apparatus 100 which is a USB device. When the determination unit 133 determines that the transfer speed is high-speed, the USB host requests a descriptor including information of the large- To the USB host (step 550). On the other hand, if the determination unit determines that the transmission speed is full-speed, the descriptor including the information of the pit bridge class is provided to the USB host in operation 560. A class is a classification of a USB device in order to treat a USB device performing a common function as the same USB device. The descriptor also contains information about what kind of device it is, who made it, and what the USB version is.

대용량 스토리지 클래스의 정보를 포함하는 디스크립터가 USB 호스트에 제공된 경우 구동부(134)는 USB 호스트와 통신하기 위하여 대용량 스토리지 클래스 통신용 USB 드라이버를 구동시킨다(551단계). 반면에 피트브리지 클래스의 정보를 포함하는 디스크립터가 USB 호스트에 제공된 경우 구동부(134)는 피트브리지 클래스 통신용 USB 드라이버를 구동시킨다(561단계).When a descriptor including information of the mass storage class is provided to the USB host, the driver 134 drives the USB driver for mass storage class communication to communicate with the USB host (Step 551). On the other hand, if a descriptor including the information of the pit bridge class is provided to the USB host, the driving unit 134 drives the pit bridge class communication USB driver (Step 561).

디지털 영상 처리장치(100)에 연결된 USB 호스트의 종류를 판단하여 USB 드라이버를 구동시키면 논리적 접속 과정이 진행되어 접속에 성공하게 된다(570단계).If the type of the USB host connected to the digital image processing apparatus 100 is determined and the USB driver is operated, the logical connection process is performed and the connection is successful (step 570).

접속에 성공하면 디지털 영상 처리장치(100) 및 USB 호스트 데이터를 송수신하여 통신을 하게 된다(580단계). 이 경우 USB 호스트로서 프린터가 연결된 경우 영상을 프린트할 수 있도록 프린트 메뉴 화면을 디스플레이부에 디스플레이 하게 될것이다.If the connection is successful, the digital image processing apparatus 100 and the USB host data are transmitted and received to perform communication (step 580). In this case, when the printer is connected as a USB host, the print menu screen will be displayed on the display unit so that the image can be printed.

상기 언급한 바와 같이, 디지털 영상 처리장치(100)는 외부로부터 연결된 USB 호스트의 데이터 전송 속도를 판단하고 상기 USB 호스트의 종류를 판단하여 그에 해당하는 통신모드를 설정하므로 사용자가 직접 메뉴 화면에서 연결하고자 하는 USB 호스트의 종류를 선택할 필요가 없어 편리하게 디지털 영상 처리장치(100)를 사용할 수 있게 한다.As described above, the digital image processing apparatus 100 judges the data transmission speed of the USB host connected from the outside, determines the type of the USB host, and sets the communication mode corresponding thereto. Therefore, It is not necessary to select the type of the USB host to be used, thereby making it possible to use the digital image processing apparatus 100 conveniently.

상기 발명의 상세한 설명과 도면은 단지 본 발명의 예시적인 것으로서, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범 위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 따라서 이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다. 따라서 본 발명의 기술적 보호 범위는 명세서의 상세한 설명에 기재된 내용으로 한정되는 것이 아니라 특허청구범위에 의해 정하여 져야만 할 것이다.The foregoing description and drawings are merely illustrative of the present invention and are used for the purpose of describing the present invention only and are not used to limit the scope of the present invention described above or to limit the scope of the present invention. Accordingly, those skilled in the art will appreciate that various modifications and changes may be made without departing from the spirit of the invention. Therefore, the technical protection scope of the present invention should not be limited to the contents described in the detailed description of the specification, but should be defined by the claims.

도 1은 디지털 영상 처리장치와 USB 호스트의 연결을 나타낸 도면이다.1 is a diagram showing a connection between a digital image processing apparatus and a USB host.

도 2는 종래기술에 의한 디지털 영상 처리장치에서 연결하고자 하는 USB 호스트를 선택하는 메뉴 화면이다.2 is a menu screen for selecting a USB host to be connected in the conventional digital image processing apparatus.

도 3 및 도 4는 본 발명의 일 실시 예에 따른 디지털 영상 처리장치의 구성을 나타낸 도면이다.FIG. 3 and FIG. 4 are diagrams showing a configuration of a digital image processing apparatus according to an embodiment of the present invention.

도 5는 본 발명의 일 실시 예에 따른 디지털 영상 처리장치의 통신방법을 나타낸 흐름도이다.5 is a flowchart illustrating a communication method of a digital image processing apparatus according to an exemplary embodiment of the present invention.

Claims (7)

데이터 전송 속도가 다른 복수의 USB 호스트들이 단일 USB 접속부를 통하여 각각 연결되는 디지털 영상 처리장치에 있어서,A digital image processing apparatus in which a plurality of USB hosts having different data transfer rates are connected through a single USB connection unit, (a)상기 복수의 USB 호스트들 중 어느 하나의 USB호스트가 상기 USB 인터페이스를 통하여 접속됨을 감지하는 단계;(a) detecting that one of the plurality of USB hosts is connected through the USB interface; (b)상기 감지된 USB 호스트로부터 인가되는 제어신호에 의해 상기 USB 호스트의 데이터 전송 속도를 판단하는 단계; 및(b) determining a data transmission rate of the USB host based on a control signal received from the USB host; And (c)상기 판단한 전송 속도에 따라서 상기 연결된 USB 호스트와 통신하도록 USB 드라이버를 구동하는 단계를 포함하고,(c) driving the USB driver to communicate with the connected USB host according to the determined transmission rate, 상기 USB 호스트의 데이터 전송 속도를 판단하는 단계는,Wherein the step of determining the data transfer rate of the USB host comprises: 상기 USB 호스트로부터 인가되는 제어신호에 의해 상기 USB 호스트의 종류를 판단하는 단계; 및Determining a type of the USB host by a control signal applied from the USB host; And 상기 USB 호스트의 종류에 따라 상기 USB 호스트의 데이터 전송 속도를 판단하는 단계를 포함하는, 디지털 영상 처리장치의 통신방법.And determining a data transmission speed of the USB host according to the type of the USB host. 제1항에 있어서, 상기 (c)단계는,The method of claim 1, wherein the step (c) 상기 복수의 USB 호스트들 중 제1 USB 호스트가 상기 USB 접속단에 접속됨을 감지하면 상기 제1 USB 호스트로부터 인가되는 제어신호에 의해 상기 접속된 USB 호스트의 데이터 전송 속도가 제1 전송 속도라고 판단하여 제1 통신모드로 통신하도록 USB 드라이버를 구동하며,When it is detected that the first USB host among the plurality of USB hosts is connected to the USB connection terminal, the control unit determines that the data transmission speed of the connected USB host is the first transmission speed by a control signal applied from the first USB host Drives the USB driver to communicate in the first communication mode, 상기 복수의 USB 호스트들 중 제2 USB 호스트가 상기 USB 접속단에 접속됨을 감지하면 상기 제2 USB 호스트로부터 인가되는 제어신호에 의해 상기 접속된 USB 호스트의 데이터 전송 속도가 제1 전송 속도보다 낮은 제2 전송 속도라고 판단하여 제2 통신모드로 통신하도록 USB 드라이버를 구동하는 디지털 영상 처리장치의 통신방법.When the second USB host of the plurality of USB hosts detects that the second USB host is connected to the USB connection terminal, the control unit transmits a control signal, which is transmitted from the second USB host, 2 transmission speed, and drives the USB driver to communicate in the second communication mode. 제2항에 있어서,3. The method of claim 2, 상기 제1 전송 속도는 하이-스피드(High-speed) 모드이고, 제2 전송 속도는 풀-스피드(Full-speed) 모드인 디지털 영상 처리장치의 통신방법.Wherein the first transmission rate is a high-speed mode and the second transmission rate is a full-speed mode. 제2항에 있어서,3. The method of claim 2, 상기 제1 USB 호스트는 컴퓨터이고 제2 USB 호스트는 프린터인 디지털 영상 처리장치의 통신방법.Wherein the first USB host is a computer and the second USB host is a printer. 제2항에 있어서,3. The method of claim 2, 상기 제1 통신모드는 대용량 스토리지(Mass storage) 클래스의 통신을 위한 통신모드이고, 상기 제2 통신모드는 피트브리지(Pictbridge) 클래스의 통신을 위한 통신모드인 디지털 영상 처리장치 통신방법.Wherein the first communication mode is a communication mode for communication of a mass storage class and the second communication mode is a communication mode for communication of a Pictbridge class. 데이터 전송 속도가 다른 복수의 USB 호스트들과 연결되는 USB 접속부;A USB connection unit connected to a plurality of USB hosts having different data transfer rates; 상기 USB 접속부에 상기 복수의 USB 호스트들 중 어느 하나가 접속됨을 감지하는 감지부;A sensing unit for sensing whether one of the plurality of USB hosts is connected to the USB connection unit; 상기 USB 접속부를 통하여 인가된 상기 USB 호스트의 제어신호에 따라서 데이터 전송 속도를 판단하는 판단부; 및A determination unit for determining a data transmission speed according to a control signal of the USB host applied through the USB connection unit; And 상기 판단부가 판단한 데이터 전송 속도에 따른 통신모드로 통신하도록 USB 드라이버들 중 하나의 USB 드라이버를 구동시키는 구동부를 포함하고,And a driving unit for driving one of the USB drivers to communicate in a communication mode according to the determined data transmission speed, 상기 판단부는, 상기 USB 호스트로부터 인가되는 제어신호에 의해 상기 USB 호스트의 종류를 판단하고, 상기 USB 호스트의 종류에 따라 상기 USB 호스트의 데이터 전송속도를 판단하는, 디지털 영상 처리장치.Wherein the determination unit determines the type of the USB host by a control signal applied from the USB host and determines a data transmission speed of the USB host according to the type of the USB host. 제6항에 있어서, 상기 USB 드라이버들은,7. The method of claim 6, 대용량 스토리지 클래스의 통신을 위한 USB 드라이버 및 피트브리지 클래스의 통신을 위한 USB 드라이버를 포함하는 디지털 영상 처리장치.A USB driver for communication of a mass storage class, and a USB driver for communication of a pit bridge class.
KR1020070124324A 2007-12-03 2007-12-03 Digital image processing apparatus comprising the function of determining the class of USB host and the communicating method of the same KR101446940B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070124324A KR101446940B1 (en) 2007-12-03 2007-12-03 Digital image processing apparatus comprising the function of determining the class of USB host and the communicating method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070124324A KR101446940B1 (en) 2007-12-03 2007-12-03 Digital image processing apparatus comprising the function of determining the class of USB host and the communicating method of the same

Publications (2)

Publication Number Publication Date
KR20090057650A KR20090057650A (en) 2009-06-08
KR101446940B1 true KR101446940B1 (en) 2014-10-06

Family

ID=40988383

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070124324A KR101446940B1 (en) 2007-12-03 2007-12-03 Digital image processing apparatus comprising the function of determining the class of USB host and the communicating method of the same

Country Status (1)

Country Link
KR (1) KR101446940B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100618266B1 (en) * 2005-03-21 2006-09-01 주식회사 팬택 A data transmitter-receiver using lvds and portable apparatus using it and its method
JP2006330831A (en) * 2005-05-23 2006-12-07 Sharp Corp Portable electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100618266B1 (en) * 2005-03-21 2006-09-01 주식회사 팬택 A data transmitter-receiver using lvds and portable apparatus using it and its method
JP2006330831A (en) * 2005-05-23 2006-12-07 Sharp Corp Portable electronic equipment

Also Published As

Publication number Publication date
KR20090057650A (en) 2009-06-08

Similar Documents

Publication Publication Date Title
US10084933B2 (en) Apparatus and method of scanning and/or printing an image
US8780229B2 (en) Image photographing apparatus and method of controlling the same
US8508643B2 (en) Method and system for processing an image
JP4680197B2 (en) Portable terminal device, printing system and method
CN101626460B (en) Electron device and target selecting method
US20100007772A1 (en) Image capture device
US7853729B2 (en) Method and apparatus for self-diagnosing of a single device that includes internal USB host and USB client
JP2000196986A (en) Electronic image pickup device
US8533371B2 (en) Data recording apparatus and method
US7554688B2 (en) Method and apparatus for printing image using memory card
JP2001290612A (en) Print system
CN101355619B (en) Image forming apparatus and method of controlling the same
WO2008016113A1 (en) External storage device and camera
KR101446940B1 (en) Digital image processing apparatus comprising the function of determining the class of USB host and the communicating method of the same
JP2001290753A (en) Electronic equipment
US20040155971A1 (en) Method and system for building a view of an object
JP4407748B2 (en) Imaging apparatus, communication control method, and program
US7644195B2 (en) Host connectable device capable of selecting mode using menu displayed automatically upon connecting to host device and method thereof
US8335001B2 (en) Peripheral device and network system
JP4406709B2 (en) USB peripheral device and method for selecting device class
US20050060491A1 (en) Method and apparatus for capturing data and data capture program
JP5335598B2 (en) Information processing apparatus, control method thereof, and program
JP2010141815A (en) Communication apparatus and control method of the same
JP2004318231A (en) Usb host controller device and its data transfer method
JP2002049520A (en) Electronic equipment

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20170830

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180830

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190731

Year of fee payment: 6