M256542 捌、新型說明: 【新型所屬之技術領域】 本創作係有關於一種USB資料傳輸與備份裝置及其相關裝置,特 別地,係有關於將USB攝錄裝置快速地備份至USB大容量儲存裝置中 之相關裝置。 ' 【先前技術】 習知MP3隨身碟可以提供娜3資料之儲存及播放功能,透過其a 型通用匯流排(universal serial bus,簡稱USB)接頭(Mype USB pi㈣與 電腦主機之A型USB插槽(A-type USB receptacle)連結,經過使用者之 操作,將MP3隨身碟與電腦主機傳輸刚、格式的音樂壓縮槽 案’隨身碟本身無法與其雜存設備,如硬碟以及可燒錄光碟機 專大谷置儲存裝置連結傳輸資料。 又如近來廣為流行之數位相機,通常具有聰迷你仙插槽(⑽ mmi-AB reeeptade e_e㈣,使用過的人便可以了解,數位相機中之 快閃記憶體實屬有限,每t制者欲將減巾之數位相片進行雷腦借M256542 新型 Description of new models: [Technical field to which new models belong] This creation relates to a USB data transmission and backup device and its related devices, and in particular, to the rapid backup of a USB camera to a USB mass storage device Related devices. '' [Previous technology] It is known that the MP3 flash drive can provide the storage and playback function of the Na 3 data, through its a-type universal serial bus (USB) connector (Mype USB pi㈣) and the computer's A-type USB slot (A-type USB receptacle) connection, after the user's operation, transfer the MP3 USB flash drive to the computer host, the format of the music compression slot. Dedicated Otani storage devices are connected to transmit data. Just like the popular digital cameras recently, they usually have Satoshi mini-sen slot (⑽ mmi-AB reeeptade e_e㈣), and those who have used it can understand the flash memory It's really limited. Every producer wants to use digital brain photos to reduce their brains.
料傳輸備份需求亦將出現於不久的將來。 【新型内容】Data transfer backup requirements will also emerge in the near future. [New content]
:,包含··第一 USB控制 器,用以耦接第一 USB 一 USB控制器;以及第 M256542 二USB連接器,输於第二控制器,用以減第二脱裝置, 其中,一第—USB控制器將第—卿健中之至少一槽案根據預定模 式,Μ過第二USB控制器而備份至第二裝置中;而第—娜裝 置可為數位相機轉數位攝錄裝置,第二㈣裝置可為_硬碟^ USB 身碟、或USB燒錄n ;糊而言,就模式將數位相機之内容 依照日期先後猶分類複製至USB硬碟巾,或者,將·相機之内容 之新增加口p刀更新至USB硬碟中,或者,分析數位相機之第一檔案結 構、及刀析USB硬碟之第二棺案結構,根據第一槽案結構以及第二槽 案結構以決定該新增加部分;更進—步地,當第二聰裝置為聰^ 表機時則第二USB控繼可將數位域之難轉換為ρι。姻辟格式 進㈣印,USB柳器可為〇TG控制器或者刪主機控制器;較佳 也欠第USB控制器及該第二湖控制器藉由匯流排傳遞複數個命令 第-USB控制器為主控之USB控制器,而第二⑽控制器 3二,控制器’該第—控制器藉由該些命令控制該第二 " ' Β控勤,較佳地,各快閃記憶體插槽用以耦接指 式、i過弟一 USB控制器而備份至USB硬碟中。 USB otg: Contains a first USB controller for coupling a first USB to a USB controller; and an M256542 second USB connector for input to a second controller to reduce a second disconnection device, of which a first —The USB controller backs up at least one slot of the first — Qing Jianzhong to the second device through the second USB controller according to a predetermined mode; and the first — device can be a digital camera to a digital recording device, The second device can be _ hard disk ^ USB flash drive, or USB flash drive n; in terms of mode, the content of the digital camera is copied to the USB hard disk towel according to the date, or the content of the camera The newly added port knife is updated to the USB hard disk, or the first file structure of the digital camera and the second coffin case of the USB hard disk are analyzed, and the decision is based on the first slot case structure and the second slot case structure. The newly added part; further, step by step, when the second Cong device is a Cong device, the second USB controller can convert the difficulty of the digital domain to ρm. The USB format can be used as the USB controller or the host controller. It is better to owe the second USB controller and the second lake controller to pass multiple commands through the bus. The master USB controller, and the second controller 32, the controller 'the first-the controller controls the second " by the commands " Β control, preferably, each flash memory The slot is used for coupling a finger type, a USB controller and a backup to a USB hard disk. USB otg
:D匕3 ’唯頃5己憶體;隨機存取記憶體;微控制器,輕接 唯t買記憶體及隨機存取記缝;邏輯㈣ P 命令匯流排;鳴取記嶋面, 部隨機存取記,)tn齡祕人A ^ ㈣肖以搞接外 w己情體插栲.於: ,耦邏輯控制電路’用以耦接 緩衝單元,純邏輯控制電路;序列介面引 擎’耦接輸出入緩衝單亓·以芬,鲁辦思J 1 立中,Μ批射 層電路,輕接該序列介面引擎, ,、中4控制電路可藉由命令匯流排與另_ 邏輯控制電路可藉由實體声 &—制運作, 元根櫨浐宏馗9 序面引擎、以及輸出入缓衝單 兀織疋核式存取USB裝置,而命令匯流排可為!2c或刺匯流排, M256542 舉例而g,指定模式係將數位相機之内容之新增加部分傳輸至另一 USB控制器。 【實施方式】 圖一係顯示根據本創作之USB資料傳輸與備份裝置之一具體實施 例’USB資料傳輸裝置1〇〇可用以將一個^兕裝置之資料内容備份至 另-個USB大容量儲存裝置,舉例而言,可任意地將具有㈣傳輸介 面之數位相機120之資料内容備份至USB硬碟14〇中。 本創作之USB資料傳輸裝置⑽包含第—〇TG(Gn4he_g。)控制器 1〇2、第二 OTG 控制器 104、第—USB 連接器(_ect〇r) 1〇6、第二 USB連接器1〇8以及快閃記憶體插槽11〇,其中第—〇tg控制器脱 減於第二OTG控織1〇4,熟知此技藝之人何_ QTG控制器屬 於USB控制器之-特殊類別,其可選擇性地扮;寅⑽主機作㈣控制 器或USB裝置(device)控制器,·具體實施例中,第一 〇tg控制器 102 ”第—〇tg控制器1〇4可以為同一類型之獨立〇丁〇控制器晶片, 其可被設定成主要(master)模式或從屬(s丨ave)模式,以利第一〇tg控制 器102々與第二OTG控制器1〇4可以利用匯流排112彼此串接交換資 料而第USB連接器1〇6較佳地為USB迷你插頭_幻,由於目前 市售的數位相機12〇大都具有USB逑你插槽介面,因此usb逑你插頭 106可以方便是用者直接連接數位相機12〇,或者,第一 _連接器 106可以為具有可捲繞收藏之連接線之聰逑你插頭,或者,可以為 ⑽之A _槽,再由者自行湘轉接線進行連結,或者,於第 USB連接裔106處可以實施為USB迷你插頭與刪之a類插槽並 列而立,並於内部將兩個連接器之對應腳位直接進行電氣連接,一曰 可以,使用者容易從外觀上區分第_⑽連接㈣6以及第二咖 連接為1〇8,二來可以避免某些麵數位相機120之特殊USB插沖 構或更早期之非鮮鋪所可能造成之不便,而内部將兩個連接器 對應腳位直接,行電氣連接,包括電源線(PWR)、接地線(GND)、^、 、及甚至是ld腳位’此腳位並非必需,主要係用以實施〇丁G,·第 M256542 二USB連接器108較佳地為USB之A類插槽(receptade)usB之A類 插槽108可以賴-般之USB硬者USB麟器。 ^ OTG控制$ 1〇2與1〇4較佳地具有内部處理器(例如8⑹處理 以及協同運作的勤體(flrmware),當使用者將數位相機12〇藉由咖迷 你插頭106直接插接於本創作之USB資料傳輸裝置ι〇〇時,第一⑽ ^制裔102決疋運作為主機控制器,並利用〇丁G控制器脱内之緩衝 ^(buffer)充田貝料緩衝器,以將數位相機〗2G巾之相片槽案抓取至 〇TG控制器102内之緩衝器,轉移至〇TG控制器〗Q4内之緩衝器,再 儲存至USB硬碟或燒錄器M〇中;當使用者將數位相機藉由咖 迷你插頭1〇6直接插接财創作之USB資料傳輸裝置ι〇〇時較佳地, 本創作之OTG控制n 1〇2首先會偵測到數位相機⑽之存在並分析其 記憶體内之結構,然後以—預定方式,例如根據日期分類, ΜΩ文位1 目機12G之㈣讀體内之觀分賴存至聰硬碟或燒錄器 ΜΟ Ϊ者,本創作之0TG控制^刚偵測⑽硬碟或燒錄器 歷# 1/’分析其槽案結構,然後將數位相機120之快閃記憶體内之 ,更新至USB硬碟或燒錄器140之指定目錄中,根據以 不’使用者只要將其數位相機120插接於本創作之⑽資料傳 二H〇上,不需要任何操作或者等候漫長之開機 式,元成數位相機120内相片槽案之快速備份。 盆所〜的104可進一步輕接操作介面114,供使用者操作選擇 僅備:新‘上气’舉例而言,根據日期分類、備份全部檔案、或者 写二二U知作介面114較佳地包括操作按鍵以及小型液晶顯示 =二顯示器可用以顯示操作資訊或者大容量儲存裝置刚之 者例而& ’可以顯示由哪—個目錄備份至哪-個目錄,或 ==顏色’發光,極體,告知使用者⑽資料傳輸裝置⑽之運 i、、隹二如疋否,經完成備份而可以移開數位相機120。 -以條步地’第二0TG控制器綱可提供usb資料傳輸裝置1〇0 s夕、閃β己憶體插槽110,例如包括cf㈣苹以㈣卡插槽、 M256542 SD(Secunty d她al)/MMC卡插槽、X_D _腦卡插槽、弧时耐⑵卡插 槽、及/或MS(m_ry stick)卡插槽,用以提供使用者方便的快閃記憶 體儲存路徑;於此具體實糊巾,使肖者可將其欲備份之㈣記憶體 插入適合之插槽中,USB資料傳輸裝置刚便會自動地依照預定方 將快閃記憶财之齡資料快速備份至USB硬碟或燒聽14()中,此 預定方式亦可依照不同的資料來源,在USB硬碟或燒錄器M◦中建立 不同資料夾,並依照時間先後依序備份管理儲存,於此具體實施例中, 當備份快閃記憶體資料之時,只有第二〇1^控·刚被啟動運作, 而第- OTG控制器102則完全關閉以進行省電,如此一來,可以至少 節省-個USB傳輸琿之以及相關數位邏輯之運作,熟知此技藝之人士 應可明瞭,光是咖-個USB傳輸麵可省下可觀的電力消耗;另一 方面,舉綱言,本_之USB :諸傳輸裝置·在插接數位相機12〇 進行快速齡備份之時,以_紅色發光二極體以告知使用者正在進 行快速備份,_移開數位械12(),而在快速備份完畢後,改以綠色 發光二極體告知使用者已經備份完畢,在此同時,可令所有電路進入 睡眠(sleep)模式,以進行完全的省電。 第一 OTG控制器102與第二咖控制器1〇4利用匯流排ιΐ2彼 此串接交換資料’於較佳具體實施例巾,第工⑽控制^ 1Q4與第一 OTG控制器102為主從(master/slave)架構,第工⑽控制器⑽利用 匯流排m下達命令給第一 0TG控制器1〇2,並供兩者進行交換資料, 直流電源116 #接於第二〇TG控㈣1〇4 ;使用者透過人機介面刚 ^動本創作之USB資料傳輪裝置⑽,直流電源116供電於第二⑽ 控制器104,並運作為主要〇TG控制器綱,透過主要〇tg控制器 104’供電於第-OTG控制器1〇2,使其運作為從屬〇TG控制器1〇2, 當第-OTG控制器102與第二〇TG控制器1〇4初始化完成後再令兩 者皆進入睡賴式,叫行完全的省電,並打亮騎發光二極體告知 使用者已經祕化完畢•人待機模式,以待數位相機⑽、大容量斤 存裝置140、及/或快閃記憶卡進行連接,第—〇丁g控制器收與第二 M256542 〇Tj·控制器104利用其内部之緩衝器緩衝交換資料,採用〇tg控制器 之設計,在於可以增加USB資料傳輸裝置100之運作彈性,第二〇丁〇 ,制器104可以使USB資料傳輸裝置1〇〇單獨運作為快閃記憶體讀卡 态(card reader),較佳地,透過第二USB連接器1〇8連 而,作為USB裝置,類似地,可以將第一 〇TG控制器⑽關閉以進 订卽電,甚至可以直接利用個人電腦透過第三USB連接器ι〇 之直流電源進行運作,而不必雜内部的直流電力;另—方面,:第 一聰連接器106以及第二連接$ 108分別連接個人電腦時田第 :〇TGf制器搬與第二〇TG控制器1〇4皆被設定為聰裝置控制 為,因此前述之自動備份機制便會被禁止,使得聰 也可以當做兩台電腦之狀資料轉換連接裝置。、憎輸裝置 更進-步地,第二0TG控制器104較佳地支援Pic_Bridge檔案格 式之輸出,熟知此技藝之人士可以了解Plc_Bndge職格式為日系數個 ,表機大賴共同支援的—種數位相片輸出格式,&括佳能、愛普生 等等’支援Pu^Bndge齡格式之數位相機,只要藉由其⑽^尔插 槽連接支援Ple_Bndge儲格紅印錢,便可列μ絲的數位相 ^可惜若非支援Plc-Bndge檑案格式之數位相機,便純獲得此便利 性’根據本創作之USB資料傳輸裝置1〇〇,第二〇TG控制器1〇4支援 Pic Bridge 案格式之輸出,因此在第二聰連接器舰連接支援: D dagger 3 'memory 5 memory; random access memory; microcontroller, light access to memory and random access memory; logic ㈣ P command bus; Random access note,) tn age secret person A ^ Xiao Xiao to connect with the external body and insert it. In:, coupling logic control circuit 'for coupling buffer unit, pure logic control circuit; serial interface engine' coupling I / O buffer unit: Yifen, Lubansi J 1 Lizhong, M-batch emission layer circuit, lightly connect the serial interface engine,, and 4 control circuits can be controlled by command bus and another _ logic control circuit. With physical sound & control operation, the Motogen Acer 9 sequence engine and the input and output buffer unit weave the core type to access the USB device, and the command bus can be! 2c or thorn bus, for example M256542 and g, the specified mode is to transfer the newly added part of the content of the digital camera to another USB controller. [Implementation] Fig. 1 shows a specific embodiment of the USB data transmission and backup device according to the present invention, 'USB data transmission device 100 can be used to back up the data content of one device to another USB mass storage device. The device, for example, can arbitrarily backup the data content of the digital camera 120 with a transmission interface to a USB hard disk 14. The USB data transmission device of this creation includes the first-0TG (Gn4he_g.) Controller 102, the second OTG controller 104, the first-USB connector (_ect〇r) 106, and the second USB connector 1 〇8 and flash memory slot 11〇, in which the -0tg controller is reduced to the second OTG control weaving 104, who is familiar with this technology _ QTG controller belongs to the special category of USB controller, It can optionally be used as a host controller or a USB device controller. In a specific embodiment, the first gtg controller 102 ″ and the 〇tg controller 104 may be of the same type. Independent controller chip, which can be set to master mode or slave mode, so that the first OTG controller 102々 and the second OTG controller 104 can use the bus Row 112 is serially exchanged with each other and the USB connector 106 is preferably a USB mini plug. Since most of the digital cameras currently on the market have USB 逑 your slot interface, USB 逑 your plug 106 can It is convenient for the user to directly connect the digital camera 12o, or the first connector 106 may have a rollable receiver. Of the connection cable, you can plug it, or you can use the A _ slot, and then you can connect it by yourself, or you can implement the USB mini plug and delete the type a at the USB connector 106 The slots are juxtaposed, and the corresponding pins of the two connectors are directly electrically connected inside. One can, the user can easily distinguish the _⑽ connection ㈣6 and the second coffee connection as 108. It can avoid the inconvenience caused by the special USB plug structure of some face digital cameras 120 or the earlier non-fresh shop. The two connectors are directly connected internally and electrically, including the power cord (PWR), Ground wire (GND), ^, and even ld pin 'This pin is not necessary, and is mainly used to implement 0, G, M256542, USB connector 108 is preferably a USB A socket ( receptade) usb's class A slot 108 can be used like a USB hard drive or USB device. ^ OTG control $ 102 and 104 preferably have internal processors (e.g., 8⑹ processing and cooperative operation of the server ( flrmware), when the user plugs in the digital camera 12 through the mini plug 106 directly At the time of the USB data transmission device created in this article, the first system 102 worked as the host controller, and used the buffer of the G controller to fill the buffer of the field shell to Capture the photo slot of the digital camera 2G towel to the buffer in the TG controller 102, transfer it to the buffer in the TG controller Q4, and save it to the USB hard disk or writer M0; When the user directly plugs the digital camera into the USB data transmission device created by Cai through the mini plug 106, it is better that the OTG control n 102 of this creation first detects the digital camera. Presence and analysis of the structure in the memory, and then in a predetermined way, for example, according to the date classification, the view of the internal body of the megamegapixel 1 camera 12G depends on whether it is stored on a hard disk or a burner ΜΟ, The 0TG control of this creation ^ just detected the hard disk or burner calendar # 1 / 'analyze its slot structure, and then update the flash memory in the digital camera 120 to the USB hard disk or burner 140 In the designated directory, according to the user ’s needs, just plug their digital camera 120 into this creative resource. It is said that on the second H0, there is no need for any operation or long waiting for the power-on mode, and a quick backup of the photo slot in the digital camera 120. The 104 of the basin can be further lightly connected to the operation interface 114 for users to choose. Only prepared: new 'upper gas'. For example, it is better to classify according to the date, back up all files, or write the interface. Including operation keys and small LCD display = two monitors can be used to display operating information or large-capacity storage devices, such as & 'can show which directory is backed up to which directory, or == color' light, extremely The user is informed that the data transfer device (i.e., i.e., i.e., i.e., i.e., i.e., i.e., i.e., no), the digital camera 120 can be removed after the backup is completed. -Step by step, the second 0TG controller platform can provide USB data transmission device 100 s, flash beta memory slot 110, for example, including CF card slot, M256542 SD (Secunty d heral ) / MMC card slot, X_D _ brain card slot, arc-time resistant card slot, and / or MS (m_ry stick) card slot, to provide users with a convenient flash memory storage path; here Specific paste, so that Xiao can insert the memory he wants to back up into a suitable slot, and the USB data transmission device will automatically back up the data of the flash memory to the USB hard disk immediately according to the reservation. Or listen to 14 (). This predetermined method can also create different folders in the USB hard disk or writer M◦ according to different data sources, and back up and manage the storage in order according to time. Here is a specific embodiment. During the backup of flash memory data, only the second 01% control has just been activated, and the-OTG controller 102 is completely shut down to save power. In this way, at least one USB can be saved The operation of transmission and related digital logic should be clear to those familiar with this technology, Just a USB transmission surface can save considerable power consumption. On the other hand, to outline, this USB: transmission devices. When the digital camera 120 is plugged in for fast age backup, red Light-emitting diode to inform the user that fast backup is in progress. _ Remove the digital device 12 (), and after the quick backup is completed, change the green light-emitting diode to notify the user that the backup has been completed. At the same time, you can make all The circuit enters sleep mode for complete power saving. The first OTG controller 102 and the second coffee controller 104 use a bus bar 2 to exchange data in series with each other. In the preferred embodiment, the first industrial controller ^ 1Q4 and the first OTG controller 102 are master-slave ( master / slave) architecture, the first industrial controller uses the bus m to issue a command to the first 0TG controller 102, and for the two to exchange data, the DC power supply 116 # is connected to the second 0TG control unit 104 The user has just moved the USB data transmission device created by the human-machine interface. The DC power source 116 supplies power to the second controller 104 and operates as the main TG controller. Through the main gt controller 104 ' Power is supplied to the -OTG controller 102, so that it operates as a slave 0TG controller 102, and after the initialization of the -OTG controller 102 and the second 0TG controller 104, both are entered. Sleeping style, full power saving, and bright light emitting diode to inform the user that the secret has been completed. • Standby mode, waiting for the digital camera, large-capacity storage device 140, and / or flash memory. Card to connect, the first-0 g controller and the second M256542 0 Tj controller 104 uses its The buffer of the ministry buffers exchange data. The design of the controller is to increase the operating flexibility of the USB data transmission device 100. Second, the controller 104 can make the USB data transmission device 100 operate independently. The flash memory card reader is preferably connected through the second USB connector 108 as a USB device. Similarly, the first TG controller can be turned off to order power. It is even possible to directly use the personal computer to operate through the DC power supply of the third USB connector, without having to mix internal DC power; in addition, the first Satoshi connector 106 and the second connection $ 108 are connected to the personal computer separately. The first: 0TGf controller and the second 0TG controller 104 are both set to be controlled by Satoshi device, so the aforementioned automatic backup mechanism will be disabled, so that Satoshi can also be used as a data conversion connection between two computers. Device. The device is more advanced. The second 0TG controller 104 better supports the output of the Pic_Bridge file format. Those who are familiar with this technology can understand that the Plc_Bndge job format is a daily coefficient. Digital photo output format, & including Canon, Epson, etc. 'Pu ^ Bndge-aged digital cameras, as long as it supports Ple_Bndge storage box red stamp money through its socket, you can list the digital phase of μ silk ^ Unfortunately, if it is not a digital camera that supports the Plc-Bndge file format, this convenience will be obtained purely. According to the USB data transmission device 100 created by this creation, the second TG controller 104 supports the output of the Pic Bridge file format. So in the second Satoshi connector ship connection support
Pic-Bridge檔案格式列印輸出之印表機,第二〇tg控制器购會偵測 到其域接於輪出裝置類別,便將前述之自動備份機繼止,而當任 何款式之數位域插接於第—USB連接器⑽之後,第二⑽控制 益綱在接收到由第-0TG控制器102所傳送過來的相片檔案,便對 應” P1C-Bndge標案格式,以輸出給印表機進行相片列印,舉例 而。第0TG控制器1〇2可藉由USB匯流排之D+及D_腳位發出重 置命令,紐由第一 0TG控制器1〇2向脱裝置設定位址,以及向 USB裝置取知組恶責料’藉由組態資料第一 控制器1犯可以知道 此USB裝置係為何種USB _之裝置,於此具體實施例中,當組態資 10 M256542 料顯示其為USB印表機類別之裝置,則第二〇TG控制器1〇4啟動 plc-Bridge檔案格式轉換機制,將由第一 〇TG控制器1〇2所傳送過來 的相片檔案,便對應地轉換為Plc_Bridge檔案格式,交由印表機進行相 片列印。 圖二顯不根據本創作之USB資料傳輸與備份裝置之另一具體實施 例,此具體實施例則單純地提供資料快速備份的用途,並加強其存取 效能,USB資料傳輸裝置2〇〇包含USB主機(㈣控制器2〇2、⑽ 控制器204、第-USB連接器206、第二USB連接器208、第-快閃 3己憶體插槽210、第二快閃記憶體插槽211、隨機存取記憶體212、操 作介面2M、以及直流電源216 ’而USB主機控制器2〇2輕接於隨機存 取記憶體212,且隨機存取記憶體212耦接於〇TG控制器2〇4,〇tg 控制器2〇4並經由命令控制匯流排215減㈣主機控制器2〇2,以 協调控制USB主機控制器2〇2之運作,命令控制匯流排215較佳地可 以為GPI〇(general purpose mput/〇呻⑻、此、或肥等業界熟知之介 面,可以節省兩者搞接所需之實際腳位數,本創作之〇TG控制器2〇4 藉由此命令控制匯流排犯協調控制USB主機控制器2〇2之運作,胸 資料傳輸裝置2GG _隨機存取記憶體212當做龍緩衝區,可以有 效提昇資料傳輸效率,當數位相機22〇插接於第一 連接器2〇6上 時,不論數位相機220是否具備0TG功能,皆強迫其運作為usb裝 置依…、私疋模式’將數位相機22〇送過來的資料,暫存於隨機存 取記憶體212,再經由0TG控制器2G4儲存於連接在第二刪連接器 2〇8之USB硬碟24〇,該指定模式可由使用者藉由操作介面⑽進行選 擇,而直流電源216負責供應USB資料傳輸裝置2〇〇所需之電力;若 是第二USB連接器测連接支援化Bndge_袼式之印表機,則⑽ 控制器测則會致能内部之Pie_Bndge格式轉換引擎,將隨機存取記憶 體犯令之檔案,例如是jpEG _職,轉換成pic彻如格式,經 由第二聰連接器208交由印表機直接輪出列印,應注意到直流電源 216亦可以由外部直接由交流電源經過變壓器轉換後直接提供給㈣ M256542 資料傳輸裝置200運作。 USB資料傳輸裝置2〇〇係適合實施為可攜式裝置,〇tg控制器測 經由匯流排犯轉接第一快閃記憶體插槽训以及第二快閃記 槽211 ’包括,舉例而言,CF卡插槽、SD/MMC卡插槽、X_D _re 卡插槽、smart medla卡插槽、及域Ms卡插槽等等,此具體實施例 可以提供複數個快閃記憶體插槽,較佳地,匯流排213可以為該些快 閃記憶體插槽所共享使用,以節省實際需要實施之硬體腳位總數了其 可參見中請人已經中請獲准之t華民賴型專利,其糊名稱為 功能記憶體讀寫器」,專利申請案號為912〇7/5〇(公告號為助叫,由 於OTG控制器204可以運作為USB主機控制器或湖裝置控制器, 因此备OTG控制器204自該些快閃記憶體插槽中偵測到目前使用者插 入任何-種快閃記針之時,個人電腦可經由第二聰 接刪資料傳輸裝置·,使得〇TG控制器2〇4運作為u = 由輸裝置咖運作為可攜式多功能記憶體讀寫器: ^於眾祿位械域所錢之㈣記憶卡麵繁多,當使用者 Γ己=二目機後,亦非得購買其所指定之快閃記憶卡,而快閃 於相同儲存容量之隨身碟,且快閃記憶卡之容量規 閃記之谷夏規格;當使用者為其數位相機添購數張快 相機日ΐ,數位相機遺失或者想更換—部規格更高的數位 快閃記憶卡投資便成為使用者選購下-部數 、’,而且某些種類之快閃記憶卡在更換之際也容易因為人 ,因此購貝特定種類之快閃記憶卡對於 ί費濟效2,創作之可攜式USB資料傳輸裝置200可讓 . 貝之大谷置隨身碟方便地應用於任何種類之數位相機,佶 作為咖域議,^繼测則運 已經拍攝之相片餘經由us 2=^;將數位相_中 戍<工制态202、&機存取記憶體212、 12 M256542 ΐΓΓ控制器204而備份至隨身碟之中;另一方面,使用者也可以將 各種快閃記憶卡插接於該些_記憶體插槽21()及21】,而將其内容經 由,控制器204而傳輸並備份至隨身碟之申,較佳地,刪主機ς 制益2〇2便可進入休眠狀態,而達到省電之功效 者可以經由操作介面214更換選擇該指定模式。^ d使用 圖三顯示根據本創作之qtg控之電路錢狀—較佳且 施例,OTG控制器300包括微控制器训、唯讀記憶體3i2、隨機存取 §己憶體314、0TG邏輯控制電路32〇、快閃記憶體介面挪、隨機存取 記憶體介面340、緩衝H 350、序浙面引擎·、⑽實體層電路37〇、 人機介面姻、以及直流轉直流(DC t。DQ電路·,盆中:微 3K)協調控制諸多單元之運作,以控制資料傳輸、存取以及省賴制, 微控 310福接唯讀記憶體312與隨機存取記憶體314,於初始化階 段,微控制器310自唯讀記憶體312載入程式碼至隨機存取記情體 314,初始化完畢後便利用隨機存取記憶體314運作該程式碼協調控制 諸多早狀運作;0TG控制器綱可藉由人機介面烟耗接小型顯示 益以提供使巧操作資須訊,人機介面亦可輪複數個操作按鍵, 以供使用者之簡單操作’而快閃記憶體介面33〇可對外麵接快閃纪憶 體插槽,較佳地,快閃記憶體介自33Q提供多 ^ medm卡、及/或MS卡.··等等,而隨赫取記憶體介面可供對外 接隨機存取記憶體以增加存取效能,舉例而言,隨機存取記憶體可以 取就體…專專,OTG邏輯控制電路320亦對外提供命令匯流排见, 以提供與另-個0TG控制器雛之溝通介面,並可供·^ 或者從屬之OTG控制器,舉例而言,命令匯流排345可為Gpi〇、 或SPI··•等業界熟知之介面,而直流轉直流電路則用以對 流電源以舰外部所供應之直流電力,並觀成⑽ 適合運作之職,例如3·3雌、加特㈣雜,岐流轉= 13 M256542 電路390則可以為純被動式(passive)降壓電路、昇壓電路、降壓電路、 或者疋父換式電源(switching power)轉換電路算笑,品义 ..·可'寸 阳則述之 P心Bndge格式轉換引擎可以藉由微控制器31〇與適當之勒體協同運作 而實施,餘意職流轉直流電路獨係讀將來整個系統實施為可 攜式裝置,此直流轉直流電路390可以實施於〇TG控制器3〇〇外部, 或者’將來亦可以由外部直接由交流魏經過M||轉換後直接 給OTG控制器300運作。 ’、 圖四顯示根據本創作之USB資料傳輸與備份裝置之再_具體實施 例,其相應於圖二實施例,主要差異為聰主機控制器4〇2〔usb : 機控制器404以及介於第_⑽連接器施及聰主機控制器搬 間之匯流排401,匯流排401主要包含pwR、GND、、及/或 id訊號’概賊實顧狀巾,難地將ρ·及GN〇拉至哪^ 機控制器404進行監控,例如雛至聰主機控制器姻之g恥璋 或 ADC(analog to digital converter)腳位,由於當第一 USB 連接器 2〇6 輕接數位相機之時,就數位相機之耗電量而言,無法直接使用聰資 之匯雜電力_ρ°而),因此當數位相機或者多媒體 ,彔裝置输於弟-USB連接器施之時,部分會於PWR及咖亦 :吐出直流魏’或者可以觀察織於第—聰連㈣施之咖裝 置之終端(terminatlon)狀態’其可參考USB規格書以獲得了解,在 此聰主機控制器侧藉由監控第―USB連接·6之訊 =,可以分辨是否連接數位相機或者多舰攝錄裝置, 制器4^^^ ’咖資料傳輸與裝置彻只須初始化USB主機控 ° ^進入待機狀態,當偵測到數位相機或者多媒體攝錄裝 連接至弟-USB連接器2()6之後,方開始初始化USB主機控制写 資料傳輸裝置彻之耗電’而⑽主機控制器楊 貝;4傳輪裝置伽可以實施圖二實施例之快速備份,作益法 作為可攜式讀卡機。,,,—聰雜_連接個人電腦而運 14 M256542 圖五包括圖5A、5B、及5C,圖5A顯示相關於圖一且體實 省電機制之波形圖,其顯示第一 〇TG控制器搬之料係 (sleep)期與喚醒(wakeup)期以進行省電,較佳地,睡眠軸長於喚醒 ,,表二第-OTG控制器102可定期喚醒之後,偵測第—⑽連接 器106是否連接數位相機或者多媒體攝錄裝置;舉例而言,在喚醒期 中’第- OTG控制器102可藉由聰匯流排之时d_腳位發出重置 命令’然後伴隨發出標記封包(t〇ken卿㈣,監控是否有任何裝置回應。 圖5B及SC顯示相關於圖四具體實施例之偵測電路實施^,圖犯 顯示可以將圖四中第一 USB連接器2〇6之酸訊號串接二極體训 及電阻520後,將訊號拉至USB主機控制器姻進行監控,例如⑽〇 璋;圖5C顯示可以將_中第—聰連接器施之pwR訊號串接電 阻530及電阻540後,將訊號分壓輸出至多工器55〇,以利用腳 位^控PWR «,用關知是否有數位滅或者多舰攝錄裝置連接 至第-USB連接器2〇6,應注意到ADC腳位通常係用以偵測電池狀態 或者疋否有特定按鍵之擎按。 圖六顯示根據本創作之一較佳具體實施例之USB資料傳輸與備份 方法之流程圖,適用於USB資料傳輸裝置中,其包含第一〇丁〇'控: 器、第二QTG控制器、第-USB連接器、第二_連接器以及快閃 記憶體插槽,而第二USB連接H減-USB儲存裝置,本方法流程自 步驟6GG開始’前進至步驟6H),首先制第_咖$置是否存在, 舉例而言,偵測數位相機是否插接於USB f料傳輸裝置上,較佳地, 於本方法流關始之前,先完成聰資料傳輸裝置之初始化,並使其 進入休眠狀態,亦即使第-OTG控織與第二〇TG控制器進入休眠 狀態,若偵測到數位相機插接於USB資料傳輸裝置上則前進至步驟 615,否則前進至步驟620 ;於步驟615,喚醒第一〇TG控制器,二步 驟635,喚醒第二〇TG控制器,於步驟645,將第_ USB裝置(數位二 機)之内容依照預定模式快速備份至第二USB裳置(亦即前述之usb健 存裝置),此預定模式可以為,舉例而言,根據日期先後順序分類,將 15 M256542 數,相機之㈣記憶體狀絲分類儲存至第二㈣裝置巾,或者, 由第OTG控制器與第二〇丁〇控制器分析兩者之槽案結構, _相機之快閃記憶體内之新增加槽案部分,更新至第二⑽裝置之 指定目錄中,·更進-步地,可由第_ 〇TG控制器分析第—咖、 之第一播案結構,以及由第二0TG控制器分析第二⑽裝置之第= 播案結構,並根據第-麟結構以及第二槽案結構以決賴新增城 案部分。 @ ,另方面本方法亦適用於快速傳輸與備份多種快閃記憶卡之資 料,於步驟620,進-步偵測快閃記憶卡是否存在,較佳地,可以偵: 多種之快卩松(t卡,其可藉由乡個㈣記憶體插槽或以單—快閃記憶 體插槽配合適當的被動轉接器(passive adapter)實施之,若偵測到快閃記 憶卡插接於USB資料傳滅置上難進至步驟63Q,否則回到步驟 610,·於步驟630,喚醒第二⑽控制器,於步驟64〇,將快閃記憶卡 之内容依照默模式快速傳輸並備份至第二聰裝置(亦即前^之 USB儲存裝置),最後於步驟650結束此方法流程。 卜以上所揭示之具體實施例之說明及圖式,係為便於闡明本創作之 技術内容及技術手段,並不欲拘限本創作之範_,舉例*言,應注音 到以上所述之第-OTG控繼及第二OTG控·可以實施為獨立二 兩個晶片,或者整合至同一晶片之中。· 縱上所述,本創作揭示一種USB資料傳輸與備份方法,包含下列 步驟·制第-USB裝置是否存在;以及喚醒第—USB控制器及第二 USB控制ϋ,其中,#第_刪裝置存在,將第—咖裝置之内^ 依照預定模式快速備份至第二USB裝置;第一 USB控制器及該第: USB控制器較佳地為⑽控制器,而第裝置可為數__ 者數位攝錄裝置,第二USB裝置可為USB硬碟、_隨身碟、或咖 燒錄器;舉例而言,預定模式將數位相機之内容依照日期先後順序分 類複製至USB硬碟巾,或者,將數位相機之内容之新增加部分更新1 USB硬碟中,或者,分析數位相機之第—難結構以及分析聰硬碟 16 M256542 之第二檔案結構,根據第—槽案結構 加部分;更進一步地,當第 弟一才田案、,、口構以決定該新增 控制器可將數位相機機S第二USB ==份嫩包含鱗_己憶卡是;; 控··_ 卡;: 備繼,則肩控 其中,第-USB控rjl§,_接第二USB裝置, 式,瘦過第-USB批 褒置中之至少—擋案根據預定模 Ιΐί 繼而備份至第二USB裝置中;而第-聰裝 置可為數帅贱者触攝鮮n us 、 =燒紙舉崎,職細位相機ΐ内容 :新增加部分更新至USBW,sn=== 宰社槿以w物秘 案構,根據第一播案結構以及第二檔 決疋該新增加部分;更進—步地,⑽Pic-Bridge printer with print output file format. The second tg controller will detect that its domain is connected to the round-out device category, and then it will stop the aforementioned automatic backup machine, and when any model of the digital domain After plugging in the first USB connector, the second control controller Yigang received the photo file sent by the -0TG controller 102, and corresponding to the "P1C-Bndge" format for output to the printer. Print photos, for example. The 0TG controller 102 can issue a reset command through the D + and D_ pins of the USB bus. The new 0TG controller 102 sets the address to the off-device. And get the bad information from the USB device. By the configuration data, the first controller 1 can know what kind of USB device this USB device is. In this specific embodiment, when the configuration data is 10 M256542, it is displayed. It is a device of the USB printer type, then the second TG controller 104 starts the plc-Bridge file format conversion mechanism, and the photo files transmitted by the first TG controller 102 will be converted accordingly. It is a Plc_Bridge file format, which will be sent to the printer for photo printing. According to another specific embodiment of the USB data transmission and backup device created by this author, this specific embodiment simply provides the purpose of fast data backup and enhances its access performance. The USB data transmission device 200 includes a USB host. (㈣Controller 202, ⑽ Controller 204,-USB connector 206, Second USB connector 208, First-Flash 3 memory slot 210, Second Flash memory slot 211, Random The access memory 212, the operation interface 2M, and the DC power supply 216 ', and the USB host controller 202 is lightly connected to the random access memory 212, and the random access memory 212 is coupled to the 0TG controller 204 〇 tg controller 204 and the host controller 200 are reduced through the command control bus 215 to coordinate and control the operation of the USB host controller 202. The command control bus 215 may preferably be GPI. (general purpose mput / 〇 呻 ⑻, this, or fat and other well-known interfaces in the industry, you can save the actual number of feet required for the two to connect, the TG controller 2 of this creation uses this command to control the bus Offenders coordinate control of USB host controller 202 operation and chest data transmission Set 2GG _ random access memory 212 as a dragon buffer, which can effectively improve the efficiency of data transmission. When the digital camera 22 is connected to the first connector 206, it is mandatory whether the digital camera 220 has the 0TG function. It operates as a USB device according to the private mode. The data sent by the digital camera 22 is temporarily stored in the random access memory 212, and then stored by the 0TG controller 2G4 and connected to the second delete connector 208. USB hard disk 24, the specified mode can be selected by the user through the operation interface 而, and the DC power supply 216 is responsible for supplying the power required by the USB data transmission device 200; if it is a second USB connector, the connection is supported by the Bndge _ 袼 type printer, the controller will enable the internal Pie_Bndge format conversion engine to convert the random access memory file, such as jpEG _ job, into a pic-like format. The Ercong connector 208 is handed over to the printer to print directly. It should be noted that the DC power supply 216 can also be directly supplied by the external AC power through a transformer to the M256542 data transmission device 200 for operation.The USB data transmission device 200 is suitable for being implemented as a portable device. The gtg controller measures the transfer of the first flash memory slot training and the second flash memory slot 211 through a bus driver. Includes, for example, CF card slot, SD / MMC card slot, X_D_re card slot, smart medla card slot, and domain Ms card slot, etc. This specific embodiment can provide multiple flash memory slots, preferably The bus 213 can be shared and used by these flash memory slots to save the total number of hardware pins that need to be implemented. For details, please refer to the Chinese patent that has been approved by the applicant. The name of the paste is "function memory reader", the patent application number is 9207/50 (the announcement number is call for assistance, because the OTG controller 204 can operate as a USB host controller or a lake device controller, so OTG is prepared When the controller 204 detects from the flash memory slots that the current user inserts any type of flash memory, the personal computer can delete the data transmission device through the second smart device, so that the TG controller 2 4 Operation as u = Operation as a portable multi-function memory by the input device Reader: ^ There are many memory card faces in Zhonglu Weiyuan. When the user Γ == binocular machine, it is not necessary to buy the designated flash memory card, and flash it in the same storage capacity. Flash drive, flash memory card with flash memory of the Guxia specification; when users purchase several digital camera sundial for their digital cameras, the digital camera is lost or wants to be replaced-a higher standard digital flash memory card The investment will become a user's choice of the next-part number, and some types of flash memory cards are also easy to replace because of people. Therefore, buying a specific type of flash memory card is cost-effective for 2 The portable USB data transmission device 200 allows the use of Otani's Otani USB flash drive for any type of digital camera. As a result, ^ continued testing will transfer the photos already taken via us 2 = ^; Back up digital phase_Medium < Working mode 202, & machine access memory 212, 12 M256542 备份 ΓΓ controller 204 to backup to the flash drive; On the other hand, users can also save various flash memory cards Plug in these _memory slots 21 () and 21】, The content is transmitted through the controller 204 and backed up to the flash drive. Preferably, the host can be put into hibernation by deleting the system benefit 202, and those who have achieved the power saving effect can change the selection through the operation interface 214 This designated mode. ^ D uses Figure 3 to show the qtg controlled circuit money according to this creation—preferably and an embodiment. The OTG controller 300 includes a microcontroller training, read-only memory 3i2, random access § self-memory body 314, 0TG logic control circuit 32, flash memory interface, random access memory interface 340, buffer H 350, sequential engine, ⑽ physical layer circuit 37, human-machine interface, and DC to DC (DC t. DQ circuit ·, Penzhong: Micro 3K) Coordinates and controls the operation of many units to control data transmission, access, and save system. Micro-controller 310 accesses read-only memory 312 and random access memory 314 during the initialization phase The microcontroller 310 loads the code from the read-only memory 312 to the random access memory 314. After initialization, it is convenient to use the random access memory 314 to operate the code to coordinate and control many early operations; 0TG controller program The small display benefit can be connected through the man-machine interface to provide smart operation information. The man-machine interface can also rotate several operation buttons for the user's simple operation. The flash memory interface 33 can be external. It is connected to the flash memory slot, preferably, the flash memory provides multiple ^ medm cards and / or MS cards from 33Q ... etc., and the memory interface can be used to randomly connect to the external Access memory to increase access performance. For example, random access memory can be removed ... Specialized, OTG logic control circuit 320 also provides external command bus interface to provide another 0TG controller. Communication interface and is available for ^ or from The OTG controller, for example, the command bus 345 can be a well-known interface in the industry such as Gpi0, or SPI ·· •, and the DC to DC circuit is used to convect the power to the DC power supplied from the outside of the ship. It is suitable for the job, such as 3 · 3 female, Gat mixed, Qi Liu = 13 M256542 circuit 390 can be a pure passive (boost) buck circuit, boost circuit, buck circuit, or uncle replacement The switching power conversion circuit is kind of laughable, and the quality is good .. Can be described by Pinch Bndge format conversion engine that can be implemented by the microcontroller 31 and the appropriate Leibei. The DC-DC circuit alone reads that the entire system will be implemented as a portable device in the future. This DC-DC circuit 390 can be implemented externally in the TG controller 3OO, or 'in the future, it can also be directly converted from external AC through M || Then directly to the OTG controller 300 to operate. ', Figure 4 shows the USB data transmission and backup device according to this creation_ specific embodiment, which corresponds to the embodiment of Figure 2, the main difference is the Satoshi host controller 402 [usb: machine controller 404 and between The _th connector is the bus 401 of the control room of the Shi Cong host controller. The bus 401 mainly includes pwR, GND, and / or id signals. ^ The controller 404 monitors, for example, the host controller or ADC (analog to digital converter) pin, because when the first USB connector 206 is lightly connected to the digital camera, it is digital. As far as the power consumption of the camera is concerned, it is not possible to use Congzi's hybrid power directly. Therefore, when a digital camera or multimedia device is input to the USB-USB connector, some of it will be used in PWR and coffee. : Spit out DC Wei 'or you can observe the state of the terminal (terminatlon) woven in the first-Conglianshi Shizhica device. It can refer to the USB specification for understanding. Here, the Satoshi host controller monitors the-USB connection · News of 6 =, can distinguish whether the digital phase is connected Camera or multi-ship camera recording device, controller 4 ^^^ 'Ca data transmission and device only need to initialize the USB host control ° ^ Enter standby mode, when a digital camera or multimedia camera is detected connected to the brother-USB connection After device 2 () 6, Fang started to initialize the USB host to control the power consumption of the write data transmission device, and then host controller Yang Bei; 4 the wheel transmission device can implement the fast backup of the embodiment of Figure 2 as a benefit method. Portable card reader. ,, — 聪 杂 _Connected to a personal computer 14 M256542 Figure 5 includes Figures 5A, 5B, and 5C. Figure 5A shows the waveform diagram related to Figure 1 and the physical power saving mechanism, which shows the first TG controller. The sleep period and wakeup period are used to save power. Preferably, the sleep axis is longer than wakeup. Table 2-The OTG controller 102 can periodically wake up and detect the first-⑽ connector 106 Whether to connect a digital camera or a multimedia recording device; for example, during the wake-up period, the '-OTG controller 102 can issue a reset command via the d_ pin at the time of the Cong bus' and then issue a tag packet (t〇ken Qing Ye, monitor whether any device responds. Figure 5B and SC show the detection circuit implementation related to the specific embodiment of Figure 4 ^, the figure shows that the acid signal of the first USB connector 206 in Figure 4 can be connected in series After the diode training and resistance 520, pull the signal to the USB host controller for monitoring, such as ⑽〇 璋; Figure 5C shows that the pwR signal applied by the _zhongdi-Cong connector can be connected in series with the resistor 530 and resistor 540. To output the signal divided voltage to the multiplexer 55. ^ Control PWR «, use to know whether there is a digital off or multi-camera recording device connected to the -USB connector 206, it should be noted that the ADC pin is usually used to detect the battery status or whether there is a specific button Figure 6 shows a flowchart of a USB data transmission and backup method according to a preferred embodiment of the present invention, which is applicable to a USB data transmission device, which includes a first controller and a second QTG. Controller, the first USB connector, the second USB connector, and the flash memory slot, and the second USB is connected to the H minus-USB storage device. The method flow starts from step 6GG and proceeds to step 6H). Whether or not the first device exists, for example, to detect whether the digital camera is connected to the USB device, preferably, before the method is started, the initialization of the Cong data transmission device is completed, and It enters the sleep state, and even if the -OTG controller and the second TG controller enter the sleep state, if it is detected that the digital camera is connected to the USB data transmission device, it proceeds to step 615, otherwise proceeds to step 620; Step 615, wake up the first TG controller In step 635, the second TG controller is woken up. In step 645, the content of the _ USB device (digital two machine) is quickly backed up to the second USB device (that is, the aforementioned USB storage device) according to a predetermined pattern. This predetermined mode can be, for example, sorting according to the date sequence, storing 15 M256542 numbers, the camera's memory-like filaments into the second device, or the OTG controller and the second one. 〇The controller analyzes the structure of the two slots, _ The newly added slot section in the flash memory of the camera is updated to the designated directory of the second device, and further, it can be controlled by the _ 〇TG The device analyzes the first broadcast case structure of the first and second case, and the second 0TG controller analyzes the second broadcast case structure of the second device, and according to the first-lin structure and the second slot case structure, it depends on the new city case part. . @, On the other hand, this method is also suitable for quickly transferring and backing up the data of multiple flash memory cards. At step 620, it is further detected whether the flash memory card exists. Preferably, it can detect: t card, which can be implemented through a local memory slot or a single-flash memory slot with an appropriate passive adapter. If it is detected that the flash memory card is plugged into a USB It is difficult to proceed to step 63Q if the data is transferred, otherwise return to step 610. · At step 630, wake up the second controller, and at step 64, quickly transfer the contents of the flash memory card according to the silent mode and back up to the first. The Er Cong device (that is, the USB storage device before ^), finally ends this method flow at step 650. The description and drawings of the specific embodiments disclosed above are for the convenience of clarifying the technical content and technical means of this creation. It is not intended to limit the scope of this creation. For example, it should be noted that the above-OTG controller and the second OTG controller can be implemented as two or two independent chips, or integrated into the same chip. · As mentioned above, this creation reveals a USB data transmission The input and backup method includes the following steps: controlling whether the USB device exists; and awakening the first USB controller and the second USB control unit, where # 第 _ delete device exists, and the first coffee device is included ^ according to the predetermined The mode is quickly backed up to the second USB device; the first USB controller and the first: the USB controller is preferably a ⑽ controller, and the second device may be a digital video recording device, and the second USB device may be a USB hard disk. Disc, USB flash drive, or coffee burner; for example, the predetermined mode will copy the content of the digital camera to the USB hard disk according to the date and time, or update the newly added part of the content of the digital camera 1 USB hard disk In the disc, or to analyze the first-difficult structure of digital cameras and the second file structure of Cong hard disk 16 M256542, add parts based on the first-slot case structure; further, when the first younger one is the case, To determine that the new controller can add the second camera of the digital camera S to the USB == the copy contains the scale _ Ji Yi card;; control · · _ card ;: backup, then control it, the first-USB control rjl§ _ Connect a second USB device, thinner than the first-USB batch device At least-the case is backed up to the second USB device according to the predetermined model, and the-Satoshi device can be used by a few handsome people to touch the fresh nus, = burn the paper and lift the camera. Contents: New additions Update to USBW, sn === Zhaishe hibiscus is structured according to the secret of the matter, according to the structure of the first broadcast and the second file to determine the new addition; more-step by step, ⑽
«^,1^ USB ,丁列印’聰控制_ 0TG控繼或者⑽ ^ = 地,第一 USB控制器及哕坌—TTQp‘Μ 例^工利态,lx佳 及資枓$⑽以 器藉由匯流排傳遞複數個命令 USB _ Γ 控制器藉由該些命令控制該第二 接料傳輸裝置更包含—或多個快閃記憶體插槽峋 之射較佳地’各㈣記‘咖以綱定規格 第—USB #制。。二沾控制讀各快閃記憶卡根據預定模式,經過 弟—_控制為而備份硬碟中。 本創作進一步揭示一種USB控制器,可為〇TG控制器或者咖 17 M256542 主機控制n ’包含:唯讀記㈣;隨機麵雜體 唯讀記憶體及隨機存取記憶體;邏輯控制 /二,輛接 命令匯流排;隨機存取記憶體介面,输 微控制$ ’具有 :,取_,一 ==:=: 擎’織輸出人緩衝單元;以及,實體路;序列介面引 甘士 3., 貝菔增^路,耦接該序列介面引擎, 其中’邏輯控織路可藉由命令g流排與另—咖 邏輯控制電路可藉由實體層電路、序列介 ° D運乍, 元纖賴存樓裝置,騎丄:H了d單 =:丨器指定模式係將數位相機之内容之新增加部分傳輪至: 枯所揭示之具體實施例之說明及圖式,係騎於_本創作之 技術内容及技術手段,並不欲·本_之料。舉凡__切朗= ^之結構細部修飾、變更,或者是元件之等效替代、置換,當不脫離 物咖來界定之。 例; 圖一係顯不根據本創作之USB資料傳輸與備份裝 置之一具體實施 施例; 圖二係顯示根據本創作之USB資料傳輸與備份裝 置之另一具體實 圖之一較佳具體 圖三係顯示根據本創作之OTG控制器之電路方塊 實施例; 施例; 圖四係顯示根據本_之聰資料傳輸與備份裝置之 再一具體實 4圖五包括圖5A、5B、及5C,圖5A顯示_於圖—具體實施例之 Μ機制之波形圖,圖5B&5C顯示相關於圖四具體實施例之侧 路實施例;以及 、 圖六係顯示根據本創作之—較佳具體實施例之聰資料傳輸與備 18 M256542 份方法之流程圖。 【元件符號簡單說明】 100 USB資料傳輸裝置 102 第一 OTG控制器 104 第二OTG控制器 106 第一 USB連接器 108 第二USB連接器 110 快閃記憶體插槽 114 操作介面 116 直流電源 120 數位相機 140 USB硬碟 200 USB資料傳輸裝置 202 USB主機控制器 204 OTG控制器 206 第一 USB連接器 208 第二USB連接器 210 第一快閃記憶體插槽 211 第二快閃記憶體插槽 212 隨機存取記憶體 214 操作介面 216 直流電源 220 數位相機 240 USB硬碟 300 OTG控制器 310 微控制器 312 唯讀記憶體 314 隨機存取記憶體 320 OTG邏輯控制電路 330 快閃記憶體介面 340 隨機存取記憶體介面 350 緩衝器 360 序列介面引擎 370 OTG實體層電路 380 人機介面 390 直流轉直流電路 401 匯流排 402 USB主機控制器 404 USB主機控制器 510 二極體 520 、530及540 電阻 550 多工器 19«^, 1 ^ USB, Ding print 'song control_ 0TG control relay or ⑽ ^ = ground, the first USB controller and 哕 坌 —TTQp'M Example ^ profitability, lx good and resources The bus transmits a plurality of commands through the bus. The USB_Γ controller controls the second receiving and transmitting device by using these commands. The plurality of flash memory slots are also included. Based on the outline specifications-USB # system. . Erzhan control reads each flash memory card according to the predetermined mode and backs up the hard disk through the control of the brother. This creation further reveals a USB controller, which can be a TG controller or a 17 M256542 host control. N 'Includes: read-only memory; random-facet hybrid read-only memory and random access memory; logic control / two, The vehicle receives the command bus; the random access memory interface, the input micro-control $ 'has :, take _, a ==: =: engine' weave the output buffer unit; and, the physical road; the serial interface leads Ganshi 3. , 菔 菔 ^ 路, coupled to the serial interface engine, where 'logic control weave can be ordered by the g stream and another-the logic control circuit can be through the physical layer circuit, the serial interface ° D operation, Yuan fiber Lai Cunlou device, riding 丄: H d single =: 丨 The device designation mode transfers the newly added part of the content of the digital camera to: The description and the illustration of the specific embodiment disclosed by Ku, riding on this book The technical content and technical means of creation are not intended to be the material of this book. For example, the structural details of __ 切朗 = ^ are modified or changed, or the equivalent replacement or replacement of components should be defined without departing from Wuca. Fig. 1 shows a specific embodiment of a USB data transmission and backup device according to the present invention; Fig. 2 shows another preferred embodiment of a USB data transmission and backup device according to the present invention. The third series shows an embodiment of the circuit block of the OTG controller according to the present invention; the embodiment; FIG. The fourth series shows another concrete implementation of the data transmission and backup device according to the present invention 4 FIG. 5 includes FIGS. 5A, 5B, and 5C Fig. 5A shows the waveform of the M mechanism of the specific embodiment, and Fig. 5B & 5C shows the lateral embodiment related to the specific embodiment of Fig. 4; and, Fig. 6 shows the preferred embodiment according to the present invention. The flow chart of the example method of data transmission and preparation of 18 M256542 copies. [Simple description of component symbols] 100 USB data transmission device 102 First OTG controller 104 Second OTG controller 106 First USB connector 108 Second USB connector 110 Flash memory slot 114 Operating interface 116 DC power source 120 Digital Camera 140 USB hard disk 200 USB data transmission device 202 USB host controller 204 OTG controller 206 First USB connector 208 Second USB connector 210 First flash memory slot 211 Second flash memory slot 212 Random Access Memory 214 Operating Interface 216 DC Power Supply 220 Digital Camera 240 USB Hard Disk 300 OTG Controller 310 Microcontroller 312 Read Only Memory 314 Random Access Memory 320 OTG Logic Control Circuit 330 Flash Memory Interface 340 Random Access Memory Interface 350 Buffer 360 Serial Interface Engine 370 OTG Physical Layer Circuit 380 Human Interface 390 DC to DC Circuit 401 Bus 402 USB Host Controller 404 USB Host Controller 510 Diodes 520, 530 and 540 Resistor 550 Multiplexer 19