TWI241759B - USB access interface - Google Patents

USB access interface Download PDF

Info

Publication number
TWI241759B
TWI241759B TW93124802A TW93124802A TWI241759B TW I241759 B TWI241759 B TW I241759B TW 93124802 A TW93124802 A TW 93124802A TW 93124802 A TW93124802 A TW 93124802A TW I241759 B TWI241759 B TW I241759B
Authority
TW
Taiwan
Prior art keywords
usb
access
data
access device
ports
Prior art date
Application number
TW93124802A
Other languages
Chinese (zh)
Other versions
TW200608653A (en
Inventor
Jia-Ling Jeng
Da-Wei Bau
Original Assignee
Apacer Technology
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 Apacer Technology filed Critical Apacer Technology
Priority to TW93124802A priority Critical patent/TWI241759B/en
Application granted granted Critical
Publication of TWI241759B publication Critical patent/TWI241759B/en
Publication of TW200608653A publication Critical patent/TW200608653A/en

Links

Abstract

A USB access interface is disclosed. The interface is for connecting two external USB devices whose data in each device can be exchanged by the interface. There is the first USB port on the interface for connecting the first external USB device. There is the second USB port on the interface for connecting the second external USB device. There is a control unit connected to the first and the second USB port on the interface. The control unit can control one of the first and the second USB ports and read specific data stored in the first/second external USB device from the USB port of the device, and the control unit can save the specific data to the external USB device connected with it, so two external USB devices can exchange their data without using a computer.

Description

1241759 九、發明說明: 【發明所屬之技術領域】 本發明是有關於-種USB存取裝置,特別是指一種可 讓兩個USB裝置在不需個人電腦之情況下進行資料交換之 USB存取裝置。 、 【先前技術】 由於目前市售之USB裝置(具有USB連接介面之電子 裝置統稱之)’例如隨身碟、數位相機、pDA及掃瞒器等等 ,皆必須藉由與個人電腦連接,才能進行資料存取:交換 儲存’因此在沒有個人電腦的場合中,各刪冑置之間即 無法交換資料,對於使用者而言顯然並不方便。 此外,综觀目前的MP3播放器,除了播放本身所儲存 的MP3音樂檔案之外,在沒有個人電腦的情況下並無法 將其儲存之MP3音樂檔案與其他咖裝置進行資料分享或 交換。 再者’現先之不論是外接式硬碟機或外接式光碟(燒錄) 機,亦皆只能與個人電腦或筆記型電腦連接,而只能藉由 個人電腦的操控,進行單純的資料儲存/讀取或讀取/燒錄功 能’並無法在沒有個人電腦的情況下,與其他⑽裝置直 接進仃貝料交換儲存’或者做為任兩⑽裝置進行資料交 換儲存的介面。 、 【發明内容】 匕本1明之第一目的,即在提供一種可供任兩 USB裝置在不需使用個人電腦的情況下,進行資料交換之 1241759 USB存取裝置。 此外,本發明之第二目的, J在於梃供一種具有多媒體 播放功能之USB存取裝置,1 禾艇 八不但可供任兩USB裝置在不 而使用個人電腦的情況下進行 + 壯垩甘+ 貝竹乂換,而且可選擇播放 兩USB衣置,、中之_的多媒體檔案。 另外,本發明之第r日 .1241759 IX. Description of the invention: [Technical field to which the invention belongs] The present invention relates to a type of USB access device, in particular to a USB access that allows two USB devices to exchange data without the need for a personal computer Device. [Previous technology] Because currently available USB devices (collectively referred to as electronic devices with a USB connection interface) 'such as flash drives, digital cameras, pDAs, and concealers, etc., all must be connected to a personal computer to perform Data access: exchange storage 'Therefore, in the absence of a personal computer, data cannot be exchanged between deletions, which is obviously inconvenient for users. In addition, looking at the current MP3 players, in addition to playing the MP3 music files stored by them, they cannot share or exchange the stored MP3 music files with other coffee devices without a personal computer. Furthermore, at present, no matter whether it is an external hard disk drive or an external optical disc (burning) drive, it can only be connected to a personal computer or a notebook computer, and can only be controlled by the personal computer for pure data The storage / reading or reading / burning function 'cannot be directly used for storage and storage with other devices without a personal computer' or as an interface for data exchange and storage between any two devices. [Summary of the Invention] The first purpose of the dagger 1 Ming is to provide a 1241759 USB access device that can exchange data between any two USB devices without using a personal computer. In addition, the second object of the present invention is to provide a USB access device with a multimedia playback function. 1 Heboatba not only can be used by any two USB devices without using a personal computer + Zhuanggangan + Pui Zhuo change, and can choose to play two USB clothes, multimedia files. In addition, the r-th day of the present invention.

At ^ 弟一目的,在於提供一種具有儲存功 能之USB存取裝置,豆不彳日7y 其不但可供任兩USB裝置在不需使 個人電腦的情況下進行資料交換,並可供任兩贈裝置其 中之…、本身預⑨之儲存媒體進行資料交換儲存。 再者,本發明之第四目的,在 幻在於楗供一種具有光碟燒 錄功能之USB存取裝罟, 歧置其不但可供任兩USB裝置在不需 使用個人電腦的情況下進杆眘六 退仃貝料又換,並可供任兩USB裝 置其中之-與其本身預設之燒錄器進行資料交換。 於是,本發明之USB存取裝置,係供兩刪裝置連接 以進行資料交換。,亥USB存取裝置包括一第一聰埠、一 第二咖蟑及—控制單元。該第—刪埠係供連接該等 置/、中之 β亥第二USB埠係供連接該等USB裝置 其中之另-。該控制單元與該第一及第二⑽埠連接用 以控制該第一及第二接甘士 ^ ▲ USB埠其中之一,使讀取與其連接之 B褒置之特疋資/料,並控制該第一及第USB埠其 =之另,使將该特定資料存入與其連接之該USB裝置。 藉此使兩USB裳置在不需個人電腦的情況下完成資料交 換的目的。 【實施方式】 1241759 有關本發明之箭+、 月j述及其他技術内容、特點與功效,在 以下配合參考圖式夕工+ 圓式之五個較佳實施例的詳細說明中,將可 清楚的呈現。 在本發明破詳細描述之前,要注意的是,在以下的說 明内谷中’類似或相同的元件是以相同的編號來表示。 芩閱圖1所示,是本發明USB存取裝置的第一較佳實 施例,USB存取裝置!包括一第_仍料^、一第二腦 埠12及一控制單元13。 第一及第二USB埠n、12是一符合USB2 〇規格之A_ i主^工式尚速連接器(A-type h〇st c〇nnect〇r),用以分別連接 第USB裝置2及一第二USB裝置4,且此處所謂之第 一及第二USB裝置2、4係包括隨身碟、pDA、數位相機、 掃0¾為、外接式硬碟機/軟碟機/光碟機等具有USB介面之 週邊裝置。且要先說a月的是,在以下的說明中,由第一 USB裝置2讀取之資料係稱之第一資料,由第二υ§Β裝置 44讀取之資料係稱之第二資料。 控制單元13係與第一及第二USB埠11、12連接,用 以控制第一與第二USB埠11、12之存取動作。控制單元 13係應用現存USB2.0所追加之一所謂〇TG(〇n-The_G(^規 格控制器(圖未示),其允許插接在第一及第二連接埠丨丨、12 上的第一及第二USB裝置2、4,可直接進行點對點(peer-to-peer)連線,而不需透過個人電腦。此外,為了可以驅動 與第一及第二USB埠11、12連接之各種USB裝置,控制 單元13中更預存有各種USB裝置之驅動程式,以在第一或 1241759 第二us料n、12連接—USB裝置時,將與該⑽裝置 對應之驅動程式載入。以下將詳細說明控制單元13之控制 流程。 如圖2所示’纟USB存取裝置丨處於待機狀態下,如 步驟21所示,控制單元13會偵測是否有usb裝置與第— 或第二USB埠u或12插接,並於偵測到第一 MB裝置2 插接在第—USB埠u時’如步驟22,控制單元13即會將 第—USB裝置2之驅動程式載入,以能夠控制第一刪痒 11對第一 USB裝置2進行存取動作。 接著,如步驟23及24,當控制單元13偵測到第二 咖琿12插接第二USB裝置4時,則將第二刪裝置—4 之驅動程式載入,以能夠控制第二USB埠12對第二 裳置4進行存取動作。 阳1,本貫施例並不預備利 /丨保讣1丨、曲進行才 作,故控制單元13係預先設定第一 USB連接埠u為一 料讀取琿,並設;t第二USB連接蟀12為—資料寫入璋。 此,需要被讀取資料的USB裝置(例如第一 USB裝罝)就; 接第一 USB埠Η、而要存入資料的USB裝置⑽如第| USB裝置4)就連接第二USB埠12。如此,如步驟25所 ,當第一及第二USB裝置2、4分別連接第一及第二υ§ 埠11、12後,控制單元13即令第_1;沾埠11讀取第 USB農置2所儲存之一第一資料,然後令第二usb埠 將該第-資料存人第二USB裝置4。藉此,以最基本的 式達到使第-及第二腦裝置2、4進行資料交換的目的 8 1241759 接著,芩見圖3所示,是本發明USB存取裝置的第二 較佳實施例,與第一實施例不同的是,USB存取裝置3除 了具有第一及第二USB埠31、32,以及控制單元33之外 ,更包含一記憶體單元34、一操作介面35及一顯示器% 。而且控制單兀33係包含一週邊控制器331及一存取控制 态332 ;週邊控制器331係與記憶體單元34、操作介面μ 及顯不器36等週邊元件電性連接,以控制該等週邊元件之 輸出/入。存取控制器332係一具備〇TG規格之控制器,其 允許USB裝置透過第一及第二聰璋31、32進行點對點 連接。而記憶體單元34中則預存有各種USB裝置之驅動程 式,该等驅動程式係供週邊控制器331取用,以載入到存 取控制332巾。而且存取控制n 332可根據_第一指令 ,將資料由第-USB 4 31送至第二USB 4 32,以及根據 一第二指令,將資料由第二USB埠32送至第一 USB、埠31 且操作介面35係具有一或複數操作鍵之使用者介面,其 可供使用操作以產生該第一或第二指令。顯示器%是一:、 型液晶顯示器,係用以顯示第一及第二USB裝置2、4所儲 存之檔案資料,以及資料傳送流向等訊息。 因此,如圖4之步驟41〜44所示,在USB存取裝置3 處於待機狀態下,存取控制器332會偵測是否有usb裝置 連接第一或第二USB埠31、32,並於偵测到第一及第二 USB裝置2、4先後插接在第_及第二υ§Β彳^、32時, 即令週邊控制器331由記憶體單元34中取出第一及第二 USB裝置2、4之驅動程式並載入存取控制器332中,使存 1241759 巧处過第一及第二USB埠 取徑制器 第二聰裝置2、4進行資料存取。 然後,如圖4之步驟45,週邊控制器33ι等待來自授 作介面35之控制指令,並將由操作介面35傳來之控制^ 令傳給存取控制器332,使判斷該控制指令是否為第_控: 指令(即將資料由第-USB裝置2送至第二咖裝置 指令)’若是,則執行步驟46,令第一刪淳31讀取第一 USB裝置2之-被選定之第―資料(由刪裝置之槽案資料 中選取-特定資料的動作可藉由操作操作介面%來達 然後令第二腦4 32將該第一資料存入第二咖裝置* 〇 ★回到步驟45’當存取控制器332判斷該控制指令並非 第才曰7時,則繼續步驟47,判斷該控制指令是否為 控令(即將資料由第二⑽裝置4送至第一 USB.裝置—2 ^指令),若是,則執行步驟48,令第二刪琿則 一 USB裝置4之妳選中+结 ^ 直〜、、工選疋之第二資料,再令第一 USB埠3卜 將該第二資料存入第一 USB裝置2。 因此’由上述說明可知’本實施例之第_及第二咖 :2、4並不像第_實施例中,必須要與指定的第一或第 - USB 4 31、32連接,其可任意選擇連 USB璋31、32 1由夕 «第且藉由操作介面35,使用者可先 裝置2、4中的檔案資料,並擇定欲 行㈣交換的檔案後,再由操作介面35發出第—或第二控 制b、、、。存取控制H 332,使根據收到之控制指令,控制第 10 1241759 一及第二USB埠31、32對第一與第二USB裝置2、4進行 資料存取,以完成第一與二USB裝置之資料交換動作。 再參見圖5所示,是本發明USB存取裝置的第三較佳 實施例,與第二實施例不同的是,USB存取裝置5除了包 含第二實施例之所有構件外,更包括一與存取控制器332 連接之多媒體播放單元51,且多媒體播放單元51係一包含 有MPEG-l、MPEG-2及MPEG-3(即MP3)等解壓縮程式至 少其中之一或全部,其可對壓縮成MPEG-1、MPEG-2或 MPEG-3袼式之多媒體影音資料進行解碼。而且,存取控制 器332更可根據一第三控制指令,將第一或第二υ§Β連接 璋31 32由第-或第二USB裝置2、4讀取之資料送至多 媒體播放單元51。而該第三控制指令係可經由操作操作介 面35而產生。 且如圖6所示,本實施例之流程步驟6〇ι〜6〇8係與第 二實施例相同’而與第二實施例不同的是,回❹驟咖, 當存取控制器332發現〇右一 , 又現4聰袭置(例如第—USB裝 ” 一或第二USB連接埠31、32其中之_(例 =埠31)連接時,即進人圖7流程②之步驟_ 收到之控制指令是丕糸筮一 J m ^ 欲讀取第—⑽ 若是,表示使用者 裝置2中之多媒體檔案資料(例如MP3浐 幻並透過多媒體播放單元51播出,因此, 田 取控制器332即押制笛a 7 ”驟610,存 之-被選定的第 車31讀取第一咖裝置2 U的苐1料(MP3檔案)後,將第 體播放單开1、隹/ 貝科达至多媒 早兀51進行MP3解碼後輸出。因此, C以一耳機或喇 1241759 :連接多媒體播放單元51之輸出蟑(Line_〇ut) —USB裝置2中儲存之MP3音樂。 即可聽取第 多媒H纟弟—貧料為一例如Μ·2影像檔,則經由 器1 = 51進行MPEG·2解碼並輸出至一外接顯示 ’即可觀賞由第_USB裝置2提供之影像資料。 二由上述說明可知,USB存取U5,除了提供第一及第 -USB 4 31、32供兩㈣SB |置進行資料交換外,其亦 可選擇將與第—或第二刪痒3ι、32連接之聰褒置所 儲存的多媒體資料輸出至多媒體播放單元51進行播放。 圖8所示疋本發明USB存取裝置的第四較佳實施 例與第一貫施例不同的是,本實施例之USB存取裝置8 除了包括第二實施例之所有構件外,更包括一 usb轉pci 橋接單元81、一快閃記憶體單元82及一第三USB埠83。 第二USB埠83係一 B型從屬端連接器(B_type ciient connector),且存取控制器332係經由USB轉PCI橋接單元 81與快閃記憶體單元82及第三USB埠83連接,使USB 存取裝置8可經由第三USB埠83連接一個人電腦(pc),而 成為一沒有主控權的從屬(client)裝置(與一般USB裝置相同 ),並可使與第一及第二USB埠31、32連接之第一及第二 USB裝置2、4可透過存取控制器332的控制,分別與快閃 記憶體單元82進行資料交換。 而且,存取控制器332更可根據一第三控制指令,將 第一或第二USB埠31、32由第一或第二USB裝置2、4讀 取之資料送至快閃記憶體單元82,以及根據一第四控制指 12 Ϊ241759 令’將快閃記憶體單元82儲 埠3卜32,日存之貝#运至弟一或第二USB 而產生。另外弟在二及弟四控制指令可藉由操作操作介面35 之資㈣Γ MM,由㈣記«單元82讀取 1貝#係稱之第三資料。 項取 人1因:::圖9及圖W所示,㈣Μ取裝置8未盘個 =連接時,其步驟9〇1〜9〇8係與第 :: -不同之處則如步驟903戶斤示 只有一 ττα壯职 田卄取衩制态332偵測到 如第—USB裝置2)與第—或第二咖 表示第-USBI置7 (例如USB連接埠31)連接時, 。所以广 奴與快閃記憶體單元82進行資料交換 所㈣子取控制器332執行圖1〇流程②之步驟909,判斷 所收到之控制指入θ 力研 驟㈣,令第二Γ 制指令?若是,則執行步 的-第咖蟑31讀取第一刪裝置2之被選定 存入伊p/g將第—f料經由USB#PCI橋接單元81 存入陕閃,己憶體單元82中。 指二田f取控制€ 332所收到之控制指令並非第三控制 令?…,0步驟9U,其判斷該控制指令是否為第四控制指 p7ci:l’則進行步驟912,存取控制器332則經由USB轉 一:早70 81至快閃記憶體單元82中讀取被選定的一第 二貝枓,以將該第三f料經由第—湖 USB裝置2中。 仔八弟 _由上述說明可知,USB存取裝置8,除了提供第一及第 —USB iA. 31 \ ^ η /ι± 可供與第-或第-=USB裝置進行資料交換外’其亦 一第一 USB埠31、32連接之USB裝置與快閃 13 1241759 記憶體單元82進行資料交換儲存。 此外,如圖11所示,是本發明的第五較佳實施例,其 與第二實施例不同之處,在於其更包括一 USB轉IDE橋接 單元111、一硬碟112及一第三XJSB埠113。其中第三USB 埠83係一 B型從屬端連接器(B_type client c〇nnect〇r),且 存取控制器332係藉由USB轉IDE橋接單元hi與硬碟 112及第三USB埠113:連接,使USB存取裝置11〇可經由 第三USB埠113連接一個,人電腦(pc),使成為一沒有主控 權的從屬(client)裝置(與一般USB裝置相同),並使與第一 及第二USB埠31、32連接之第一及第二uSB裝置2、4可 透過存取控制器332的控制,各別與硬碟112進行資料交換 。至於其動作流程則與第四實施例雷同。 再者,第五實施例之另一實施態樣,亦可以一 CD/DVD 燒錄單元替換硬碟112,則與第一及第二USB .璋31、32連 接之第-及第二USB裝置2、4可透過存取控制器332的控 制,各別與該CD/DVD騎單元進行資料交換,而能夠將 第—或第二咖裝置2、4之第-或第二資料燒成-光碟片 或者將CD/DVD燒錄單元由光碟上讀取之資料轉存至第 一或第二USB裝置2、4中。 惟以上所述者,僅為本發明之較佳實施例而已,當不 能以此限定本發明實施之範圍,即大凡依本發^請專利 範圍及發明說明内容所作之簡單的等效變化與修飾,皆仍 屬本發明專利涵蓋之範圍内。 【圖式簡單說明】 14 1241759 圖1是本發明USB存取裝置的第一 方塊圖; 較佳實施例之電路 圖2是第一實施例之控制流程圖; 圖3是本發明USB存取裝置的第 方塊圖; 較佳實施例之電路 較佳實施例之電路 圖4是第二實施例之控制流程圖; 圖5是本發明USB存取裝置的第 方塊圖; 圖6及圖7是第三實施例之控制流程圖; 圖8疋本發明USB存取裝置的第四較佳實施例之電路 方塊圖; 圖9及圖1〇是第四實施例之控制流程圖;及 圖11是本發明USB存取裝置之第五較佳實施例之電路 方塊圖。 15 1241759 【主要元件符號說明】 2 第一 USB裝置 3、5、8、110 USB存取裝置 4 第二USB裝置 31 第一 USB埠 32 第二USB埠 33 控制單元 34 記憶體單元 3 5 操作介面 36 顯示器 51 多媒體播放單元 81 USB轉PCI橋接單元 82 快閃記憶體單元 83、113 第三USB埠 111 USB轉IDE橋接單元 112硬碟 332存取控制器 331週邊控制器 21 〜25、41 〜48、601 〜610、901 〜912 步驟 16At ^ one purpose is to provide a USB storage device with storage function. It can be used for two USB devices to exchange data without using a personal computer. The data in the device is stored in the storage medium that is pre-stored for data exchange. Furthermore, the fourth object of the present invention is to provide a USB access device with a disc burning function, which can not only be used for any two USB devices without using a personal computer. The six retreat materials are changed again and can be used for data exchange between any two USB devices-with its own preset writer. Therefore, the USB access device of the present invention is for the two deletion devices to be connected for data exchange. The USB access device includes a first Congbu port, a second Cockroach and a control unit. The first-deleted port is for connecting to these devices. The second USB port is for connecting to these USB devices. The control unit is connected to the first and second ports to control one of the first and second ports. ▲ ▲ One of the USB ports is used to read the special information / material of the B connected to it, and Control the first and second USB ports and otherwise, so that the specific data is stored in the USB device connected thereto. This allows the two USB devices to complete the purpose of data exchange without the need for a personal computer. [Embodiment] 1241759 Regarding the arrow +, month j, and other technical contents, features, and effects of the present invention, it will be clear in the following detailed description of the five preferred embodiments with reference to the drawings and the round + round type Rendering. Prior to the detailed description of the present invention, it should be noted that in the following description, the similar or identical elements are denoted by the same reference numerals. Looking at Figure 1, it is the first preferred embodiment of the USB access device of the present invention, the USB access device! It includes a first device, a second brain port 12, and a control unit 13. The first and second USB ports n and 12 are A_i master-type fast connectors (A-type h〇st c〇nnect〇r) that conform to the USB2 0 specification, and are used to connect the second USB device 2 and A second USB device 4, and the so-called first and second USB devices 2 and 4 include a flash drive, a pDA, a digital camera, a scanning device, an external hard disk drive / floppy disk drive / optical disk drive, etc. Peripheral device with USB interface. And to say a month first, in the following description, the data read by the first USB device 2 is called the first data, and the data read by the second υ§Β device 44 is called the second data. . The control unit 13 is connected to the first and second USB ports 11, 12 to control the access actions of the first and second USB ports 11, 12. The control unit 13 is a so-called 〇TG (〇n-The_G (^ specification controller (not shown)) added to the existing USB 2.0, which allows plugging in the first and second ports 丨 丨, 12 The first and second USB devices 2, 4 can be directly peer-to-peer connected without going through a personal computer. In addition, in order to drive the first and second USB devices 11, 12 connected For various USB devices, driver programs for various USB devices are pre-stored in the control unit 13 to load the driver programs corresponding to the device when the first or 1241759 second USB devices 12 and 12 are connected to the USB device. The following The control flow of the control unit 13 will be described in detail. As shown in FIG. 2 '纟 USB access device 丨 is in a standby state, as shown in step 21, the control unit 13 will detect whether there is a USB device and the first or second USB When port u or 12 is plugged in, and when the first MB device 2 is detected to be connected to the first USB port u, as in step 22, the control unit 13 will load the driver of the second USB device 2 to be able to Control the first erasure 11 to perform an access operation on the first USB device 2. Next, as in steps 23 and 24, When the control unit 13 detects that the second coffee cup 12 is plugged into the second USB device 4, it loads the driver of the second deleted device-4 so as to be able to control the second USB port 12 to store the second clothes device 4. Yang 1. The present embodiment does not prepare profit / reservation 1 丨, the song is performed, so the control unit 13 presets the first USB port u as a reading device and sets it; t The second USB connection 蟀 12 is-data writing. Therefore, the USB device (for example, the first USB device) that needs to be read data is connected to the first USB port and the USB device to be stored is as follows: The first | USB device 4) is connected to the second USB port 12. So, as in step 25, when the first and second USB devices 2, 4 are connected to the first and second υ§ ports 11, 12 respectively, the control unit 13 That is, the first _1; Zhan port 11 reads one of the first data stored in the second USB farm 2 and then causes the second usb port to store the first data in the second USB device 4. In this way, in the most basic way To achieve the purpose of data exchange between the first and second brain devices 2, 4 8 1241759 Next, as shown in FIG. 3, it is the second preferred embodiment of the USB access device of the present invention. The difference between the first embodiment is that, in addition to the first and second USB ports 31 and 32, and the control unit 33, the USB access device 3 further includes a memory unit 34, an operation interface 35, and a display%. In addition, the control unit 33 includes a peripheral controller 331 and an access control state 332; the peripheral controller 331 is electrically connected to peripheral elements such as the memory unit 34, the operation interface μ, and the display 36 to control such Output / input of peripheral components. The access controller 332 is a controller with a 0TG specification, which allows a USB device to perform a point-to-point connection through the first and second smart phones 31 and 32. The memory unit 34 pre-stores various USB device driver programs, and these driver programs are used by the peripheral controller 331 for loading into the access control 332. Moreover, the access control n 332 can send data from the first USB 4 31 to the second USB 4 32 according to the first command, and according to a second command, send the data from the second USB port 32 to the first USB, Port 31 and the operation interface 35 are user interfaces with one or more operation keys, which can be used for operation to generate the first or second command. The display% is a:, type liquid crystal display, which is used to display the file data stored in the first and second USB devices 2, 4 and information such as the data transfer flow. Therefore, as shown in steps 41 to 44 of FIG. 4, when the USB access device 3 is in the standby state, the access controller 332 will detect whether there is a USB device connected to the first or second USB ports 31 and 32, and When it is detected that the first and second USB devices 2 and 4 are sequentially connected to the first and second υ§Β 彳 ^, and 32, the peripheral controller 331 removes the first and second USB devices from the memory unit 34. The driver programs of 2 and 4 are loaded into the access controller 332, so that the memory 1241759 can pass through the first and second USB port path controllers and the second smart device 2 and 4 for data access. Then, as shown in step 45 of FIG. 4, the peripheral controller 33m waits for a control instruction from the authorizing interface 35, and transmits the control command from the operation interface 35 to the access controller 332 to determine whether the control instruction is the first _Control: Command (ie, the data is sent from the-USB device 2 to the second coffee device command) 'If yes, then go to step 46, so that the first delete 31 reads the-selected data of the first USB device 2- (Select from the device's slot data-the action of specific data can be achieved by operating the operation interface% and then cause the second brain 4 32 to store the first data into the second coffee device * 〇 ★ Return to step 45 ' When the access controller 332 judges that the control command is not the 7th, it continues to step 47 to determine whether the control command is a control command (that is, the data is sent from the second device 4 to the first USB. Device—2 ^ instruction ), If yes, go to step 48, make the second delete the second data of a USB device 4 you select + end ~ ,, select the second data, and then make the first USB port 3 The data is stored in the first USB device 2. Therefore, 'from the above description', The second coffee: 2, 4 is not like the first embodiment, it must be connected to the designated first or second-USB 4 31, 32, which can be optionally connected to USB 璋 31, 32 1 From the operation interface 35, the user can first install the file data in 2 and 4 and select the files to be exchanged, and then the operation interface 35 issues the first or second control b, ... access control H 332, so that according to the received control instruction, control the 10th, 1241759 first and second USB ports 31, 32 to perform data access to the first and second USB devices 2, 4 to complete the data exchange of the first and second USB devices 5 is a third preferred embodiment of the USB access device according to the present invention. The difference from the second embodiment is that the USB access device 5 includes all the components of the second embodiment. The multimedia playback unit 51 includes a multimedia playback unit 51 connected to the access controller 332. The multimedia playback unit 51 includes at least one or all of decompression programs such as MPEG-1, MPEG-2, and MPEG-3 (ie, MP3). It can decode multimedia video and audio data compressed into MPEG-1, MPEG-2 or MPEG-3 format. The controller 332 may further send the data read by the first or second USB device 2 and 4 to the multimedia playback unit 51 according to a third control instruction. The three control commands can be generated through the operation interface 35. As shown in FIG. 6, the process steps 60 to 60 of this embodiment are the same as the second embodiment, and differ from the second embodiment in that When the access controller 332 finds the first one on the right, it is now a smart device (for example, the first USB device) or the second USB port 31, 32 (for example, port 31). Step ② of step 7 in Figure 7 _ The received control command is 丕 糸 筮 J m ^ To read the first — ⑽ If yes, it means that the multimedia file data in the user device 2 (such as MP3 magic and through The multimedia playback unit 51 broadcasts. Therefore, the field picking controller 332 is to hold the flute a 7 ”step 610 and save it-after the selected car 31 reads the first material (MP3 file) of the first coffee device 2 U , The first body playback single open 1, 隹 / Bekoda to multimedia early Wu 51 to MP3 decoding and output. Therefore, C uses an earphone or a 1241759 to connect the output of the multimedia playback unit 51 (Line_〇ut) —MP3 music stored in the USB device 2. You can listen to the second multimedia player H—the poor material is an M · 2 image file, for example, then MPEG · 2 is decoded through the device 1 = 51 and output to an external display. You can watch the video provided by the second USB device 2. video material. As can be seen from the above description, in addition to the USB access U5, in addition to providing the first and the first-USB 4 31, 32 for two SB | devices for data exchange, it can also choose to connect with the first or second 3, 32 Zhi Cong Zhi sets the stored multimedia data to the multimedia playback unit 51 for playback. As shown in FIG. 8, the fourth preferred embodiment of the USB access device of the present invention is different from the first embodiment in that the USB access device 8 of this embodiment includes all the components of the second embodiment and includes A USB to PCI bridge unit 81, a flash memory unit 82, and a third USB port 83. The second USB port 83 is a B-type ciient connector, and the access controller 332 is connected to the flash memory unit 82 and the third USB port 83 via a USB-to-PCI bridge unit 81, so that the USB The access device 8 can be connected to a personal computer (pc) via the third USB port 83, and becomes a client device (the same as a general USB device) without master control, and can be connected to the first and second USB ports. The first and second USB devices 2 and 4 connected to 31 and 32 can perform data exchange with the flash memory unit 82 through the control of the access controller 332, respectively. In addition, the access controller 332 can send the data read by the first or second USB ports 31 and 32 from the first or second USB devices 2 and 4 to the flash memory unit 82 according to a third control command. , And according to a fourth control finger 12 Ϊ 241 759 order 'the flash memory unit 82 storage port 3 bu 32, the daily storage # # to the first or second USB generated. In addition, the second and fourth control instructions can be operated by the operation interface 35 of the resource ㈣Γ MM, and the «unit 82 read 1 shell # is the third data. Item 1 is taken because of ::: As shown in Figure 9 and Figure W, when the MU device 8 is not set = connected, its steps 901 to 908 are different from the following:--The difference is as shown in step 903. Only one ττα Zhuangtian field control system 332 detects that the first USB device 2) is connected to the first or second USB device 7 (for example, USB port 31) when it is connected. Therefore, the slave and the flash memory unit 82 conduct a data exchange. The sub-fetch controller 332 executes step 909 of the flow ② in FIG. 10, and judges that the received control refers to θ. ? If yes, then execute step-the first coffee cock 31 reads the first deleted device 2 is selected to be stored in ip / g and stores the first -f data through the USB # PCI bridge unit 81 into the Shaanxi flash memory unit 82 in. Means that the control order received by Nita f fetch control € 332 is not a third control order? …, 0 Step 9U, which judges whether the control instruction is the fourth control finger p7ci: l ', then proceeds to step 912, and the access controller 332 transfers via USB: as early as 70 81 to read from the flash memory unit 82 A second frame is selected to pass the third frame to the first USB device 2.仔 八 弟 _ From the above description, the USB access device 8 can provide the first and the first-USB iA. 31 \ ^ η / ι ± for data exchange with the-or--USB device. A USB device connected to the first USB ports 31 and 32 performs data exchange and storage with the flash 13 1241759 memory unit 82. In addition, as shown in FIG. 11, it is a fifth preferred embodiment of the present invention, which is different from the second embodiment in that it further includes a USB to IDE bridge unit 111, a hard disk 112, and a third XJSB Port 113. The third USB port 83 is a type B slave connector (B_type client c〇nnect〇r), and the access controller 332 is a USB to IDE bridge unit hi, a hard disk 112, and a third USB port 113: Connected, so that the USB access device 11 can be connected to one via the third USB port 113, a personal computer (pc), to become a client device (the same as a general USB device) without master control, and The first and second uSB devices 2 and 4 connected to the first and second USB ports 31 and 32 can be controlled by the access controller 332 to exchange data with the hard disk 112 respectively. The operation flow is the same as that of the fourth embodiment. Furthermore, in another implementation of the fifth embodiment, a hard disk 112 can also be replaced by a CD / DVD burning unit, and the first and second USB devices connected to the first and second USB .31, 32 2, 4 can be controlled by the access controller 332 to exchange data with the CD / DVD riding unit respectively, and can burn the first or second data of the first or second coffee device 2, 4-optical disc Or transfer the data read from the disc by the CD / DVD burning unit to the first or second USB device 2, 4. However, the above are only the preferred embodiments of the present invention. When the scope of the present invention cannot be limited by this, that is, the simple equivalent changes and modifications made according to the scope of the patent and the description of the invention , Are still within the scope of the invention patent. [Brief description of the figure] 14 1241759 Figure 1 is a first block diagram of a USB access device of the present invention; circuit of a preferred embodiment; Figure 2 is a control flowchart of the first embodiment; Figure 3 is a USB access device of the present invention; Block diagram; circuit of the preferred embodiment; circuit of the preferred embodiment; FIG. 4 is a control flowchart of the second embodiment; FIG. 5 is a block diagram of the USB access device of the present invention; FIG. 6 and FIG. Fig. 8 is a circuit block diagram of a fourth preferred embodiment of the USB access device of the present invention; Figs. 9 and 10 are control flowcharts of the fourth embodiment; and Fig. 11 is a USB of the present invention Circuit block diagram of a fifth preferred embodiment of the access device. 15 1241759 [Description of main component symbols] 2 First USB device 3, 5, 8, 110 USB access device 4 Second USB device 31 First USB port 32 Second USB port 33 Control unit 34 Memory unit 3 5 Operation interface 36 Display 51 Multimedia playback unit 81 USB to PCI bridge unit 82 Flash memory unit 83, 113 Third USB port 111 USB to IDE bridge unit 112 Hard disk 332 Access controller 331 Peripheral controller 21 to 25, 41 to 48 , 601 to 610, 901 to 912 Step 16

Claims (1)

1241759 十、申請專利範圍·· 1· 一種USB存取裝置,供兩USB裝置連接,以進行資料 交換,該USB存取裝置包括·· 一第一 USB埠,供連接該等usb裝置其中之一; 一第二USB埠’供連接該等usb裝置其中之另一 ;及 一控制單元,與該第一及第二USB璋連接, 制該第-及第二刪淳其中之一,使讀取與其連接之= USB裝置之一特定資料,並控制該第一及第二埠其 中之另一,使將該特定資料存入與其連接之該USB裝置 〇 2·依申請專利範圍第!項所述之USB存取裝置,其中該 USB存取裝置更包括一操作介面,且該控制單元係包含 一與該操作介面連接之週邊控制器,及一與該第一及第 一 USB蜂連接之存取控制器,該週邊控制器用以將由該 喿作”面輸入之控制指令傳給該存取控制器,使根據該 控制指令’令該第一及第二USB埠其中之一讀取與其連 接之該USB裝置中的一特定資料,並令該第一及第二 USB蜂其中另一將該特定資料存入與其連接該uSB裝置 〇 3·依申睛專利範圍第2項所述之USB存取裝置,更包括一 顯不裔’其與該週邊控制器連接,用以顯示該等USB裝 置之資料交換訊息。 4·依申請專利範圍第2項所述之USB存取裝置,更包括- 17 1241759 記憶單兀,其與該週邊控制器連接,用以儲存該等USB 裝置之驅動程式,且當該存取控制器偵測到該第一及第 二湖4其+任-連㈣USB裝置時,即通知該週邊 控制器’使至該記憶單元中取出肖USB裝置之驅動程式 並載入至該存取控制器。 5.依申請專利範圍第2項所述之USB存取裝置,更包括一 多媒體播放單元,其與該存取控制器連接,當該第一或 第二USB埠其中之—受該存取控制控制,而由與其連 接之USB裝置中讀取—多媒體資料時,該存取控制器可 控制該多媒體播放單元對該多媒體資料進行 輸出。 无 6·依申請專利範圍第5項所述之勵存取裝置,其中該多 媒體播放單元係包含MPEG]、刪G_2及卿购解= 單元,其可對以MPEG]、MPEG_2及MPEG 3其中之_ 貝料壓縮方式編碼之多媒體資料進行解碼。 7·依申凊專利範圍第2項所述之USB存取裝置,更包括一 快閃記憶體、一 USB # pci橋接單元及一第三刪蜂 ’且该存取控制器、係經由該USB轉ρα橋接單元與該快 ,己隐體及该第二USB埠連接,使該USB存取裝置可 經由该第三USB埠連接一個人電腦,並使該等職襄 置可透過該第-及第二聰埠分別與該快閃記憶^ 資料交換。 依申明專利範圍第2項所述之USB存取 硬碟、-⑽橋接單元及-第三USB^= 18 1241759 存取控制器係經由該USB轉IDE橋接單元與該硬碟及該 第三USB埠連接,使該USB存取裝置可經由該第三 USB埠連接一個人電腦,並使該等USB裝置可透過該第 一及第二USB埠分別與該硬碟進行資料交換。 9.依申請專利範圍第2項所述之USB存取裝置,更包括一 光碟燒錄器、一 USB轉IDE橋接單元及一第三USB埠 ,且該存取控制:器係經由該USB轉IDE橋接單元與該光 碟燒錄器及該第三USB埠連接,使該USB存取裝置可 經由該第三USB埠連接一個人電腦,並使該等USB裝 置可透過該第一及第二USB埠分別與該光碟燒錄器進行 資料交換。 191241759 10. Scope of patent application ... 1 USB access device for connecting two USB devices for data exchange. The USB access device includes a first USB port for connecting one of the USB devices. A second USB port for connecting the other of the USB devices; and a control unit connected to the first and second USB ports to make one of the first and second USB ports to read Connected to it = specific data of one USB device, and controlling the other of the first and second ports, so that the specific data is stored in the USB device connected to it. 2 · According to the scope of patent application! The USB access device described in the item, wherein the USB access device further includes an operation interface, and the control unit includes a peripheral controller connected to the operation interface, and a connection to the first and first USB bees. An access controller, the peripheral controller is used to transmit the control command input from the operation interface to the access controller, so that one of the first and second USB ports is read according to the control command. A specific piece of data in the connected USB device, and cause the other one of the first and second USB bees to store the specific piece of data in the uSB device connected to it; The access device further includes a display device which is connected to the peripheral controller to display data exchange information of the USB devices. 4. The USB access device according to item 2 of the scope of patent application, further including -17 1241759 Memory unit, which is connected to the peripheral controller, used to store the drivers of the USB devices, and when the access controller detects the first and second lake 4 ++-even USB When the device is installed, the peripheral control is notified 'Get the driver of the USB device from the memory unit and load it into the access controller. 5. The USB access device described in item 2 of the patent application scope further includes a multimedia playback unit, which The access controller is connected. When one of the first or second USB ports is controlled by the access control and read from the USB device connected to the multimedia data, the access controller can control the multimedia. The playback unit outputs the multimedia data. None 6. The exciting access device described in item 5 of the scope of the patent application, wherein the multimedia playback unit includes MPEG], G_2, and Q & A = units, which can be used for MPEG], MPEG_2, and MPEG 3, among others, decode multimedia data encoded by the shell compression method. 7. The USB access device described in the second item of the patent scope of the application includes a flash memory, a USB # a PCI bridge unit and a third delete bee ', and the access controller is connected to the fast, hidden body and the second USB port through the USB to ρα bridge unit, so that the USB access device can pass through the first Three USB ports connect one Personal computer, and make these functions can exchange data with the flash memory ^ through the first and second smart ports respectively. USB access hard disk and-、 bridge unit according to item 2 of the declared patent scope And-the third USB ^ = 18 1241759 access controller is connected to the hard disk and the third USB port through the USB to IDE bridge unit, so that the USB access device can be connected to a personal computer through the third USB port, The USB devices can exchange data with the hard disk through the first and second USB ports respectively. 9. The USB access device described in item 2 of the patent application scope further includes an optical disc burner, A USB-to-IDE bridge unit and a third USB port, and the access control device is connected to the disc burner and the third USB port through the USB-to-IDE bridge unit, so that the USB access device can be connected via The third USB port is connected to a personal computer, and the USB devices can exchange data with the optical disc burner through the first and second USB ports, respectively. 19
TW93124802A 2004-08-18 2004-08-18 USB access interface TWI241759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93124802A TWI241759B (en) 2004-08-18 2004-08-18 USB access interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93124802A TWI241759B (en) 2004-08-18 2004-08-18 USB access interface

Publications (2)

Publication Number Publication Date
TWI241759B true TWI241759B (en) 2005-10-11
TW200608653A TW200608653A (en) 2006-03-01

Family

ID=37014046

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93124802A TWI241759B (en) 2004-08-18 2004-08-18 USB access interface

Country Status (1)

Country Link
TW (1) TWI241759B (en)

Also Published As

Publication number Publication date
TW200608653A (en) 2006-03-01

Similar Documents

Publication Publication Date Title
US7818443B2 (en) Low power digital audio decoding/playing system for computing devices
TW200424926A (en) Controller for portable electronic devices
US8108698B2 (en) Computer storage components that provide external and internal access
US8090884B2 (en) Apparatus and method for interfacing between A/V system and portable device
JP2007323645A (en) Computer system enabling parental control of access to data
TWI242149B (en) Machine-readable medium, personal computers adapted to function as a decompressed audio player and adapted to play audio files, and method of operating a personal computer
TWI297461B (en) Low power digital audio decoding /playing system for computing devices
JP2005327247A (en) Data storage device and voice reproduction system
US20060239651A1 (en) Portable multimedia platform
US20040252967A1 (en) Mutlimedia play interface control device
US8650425B2 (en) Computer system for processing data in non-operational state and processing method thereof
US20060182427A1 (en) [multimedia player]
TWI241759B (en) USB access interface
US20050184161A1 (en) Multimedia card reader
USRE46302E1 (en) Apparatus and method for interfacing between A/V system and portable device
TWI273843B (en) Electrical host with expandable optical disk recording and playing system
JP2004310058A (en) Media processing apparatus
KR20070111818A (en) Apparatus for and method of controlling usb connection, and apparatus for and method of data processing
US20070036525A1 (en) Portable digital file converter and digital file converting method
JP2005539306A (en) Direct connection between data storage and consumer electronics
TWI410802B (en) Storage system for enhancing operation speed and the peocedure thereof
JP2005100311A (en) Portable data storage device
GB2397191A (en) A portable digital image and sound recording device providing an interface to an external storage device
JP3125726U (en) Automatic execution type cholesteric liquid crystal device
CN100388256C (en) USB access device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees