200830183 九、發明說明: 【發明所屬之技術領域】 本發明一般係關於可攜式快閃記憶體大量儲存裝置與誌 芽無線電通信,且更明確地說係關於使用包括整合的藍芽 - 功能性之一可攜式快閃記憶體隨身碟來提供與組態藍芽通 . 信。 【先前技術】 0 市場上可購得許多不同類型的具備藍芽能力型周邊裝 置。使其與諸如個人電腦或個人數位助理或類似者之—主 機裝置通信並不總是一容易的任務。 若一個人電腦不具有内建式藍芽能力,則新增該能力之 -方式係透過-插人型配接器。此等配接器通常稱為配對 器(dongle) 〇 一藍芽配對器將僅在安裝適當快閃記憶體隨身碟之後運 作。通常由具有該配對器之_CD R0M或藉由從製造商下 C 載的適當快閃記憶體隨身碟來安裝該配對器之快閃記憶體 隨身碟。此較不方便並常係時間無效程序。 除不方便、消耗時間及常常無效以外,常不能進行手動 I區動程式載入。料驅動程式通常必須修改該主機計算裝 置的登錄檔(registry) ’而在諸如Micr〇s〇ft Wind〇wsTM之類 的作業系統中,要求管理權限來進行此操作。提供給員工 的公司電腦很少提供使用者管理權限。因而,在許多電腦 中,不可能簡單地使用一標準驅動程式/配對器組合來新 增藍芽通信。 124725.doc 200830183 之後,一旦藍芽能力係 程式以與不同類別的藍 此外’甚至在安裝適當驅動程式 提供’則需要組態不同的主機應用 芽裝置進行通信。 【發明内容】200830183 IX. Description of the Invention: [Technical Field of the Invention] The present invention generally relates to a portable flash memory mass storage device and a Bluetooth radio communication, and more specifically to the use of Bluetooth including integration - functionality One of the portable flash memory pens comes with a configuration Bluetooth communication. [Prior Art] 0 Many different types of Bluetooth-enabled peripheral devices are commercially available. It is not always an easy task to communicate with a host device such as a personal computer or a personal digital assistant or the like. If a person's computer does not have built-in Bluetooth capabilities, the new way to add this capability is through the plug-in adapter. These adapters are often referred to as dongle 〇 A Bluetooth partner will only operate after the appropriate flash memory drive is installed. The flash memory flash drive of the counterpart is typically mounted by a _CD ROM with the counterpart or by a suitable flash memory drive from the manufacturer. This is less convenient and often a time invalid program. In addition to inconvenience, time consuming, and often invalid, manual I zone program loading is often not possible. The driver typically has to modify the registry of the host computing device and in an operating system such as Micr〇s〇ft Wind〇wsTM requires administrative privileges to do so. Corporate computers provided to employees rarely provide user management privileges. Thus, in many computers, it is not possible to simply use a standard driver/pairer combination to add Bluetooth communication. 124725.doc 200830183 After that, once the Bluetooth capability program is installed with different categories of blue, and even if the appropriate driver is installed, it is necessary to configure different host application devices to communicate. [Summary of the Invention]
提供-種大約鑰匙鏈大小的可攜式快閃記憶體隨身碟。 該快閃記憶體隨身碟不僅用作—大量儲存快閃記憶體隨身 碟,其還向其係插入的主機裝置提供藍芽通信。最常見的 具體實施例係、將-快閃記憶體隨身碟插人至_刪淳中。 當插入至一通用序列匯流排(,,USB,,)埠中時,具有一藍 芽管理器程式之-程式控制台(丨繼化㈣將出現二接著了 當需要藍芽通信時使用者執行該程式,並且自動組態該快 閃記憶體隨身碟以配合不同類別的藍芽周邊裝置一起執 行。此係甚至針對不具有管理權限且不另外允許其新增必 要驅動程式以實現一標準藍芽配對器的使用者之情況。 儲存於該U S B快閃記憶體隨身碟上的藍芽管理器使不同 類別的裝置與適當的軟體應用程式相關聯,並因此可建立 主機裝置與適當周邊裝置之應用程式之間的通信。例如, 可將具備藍芽("BT”)能力型耳機與一媒體播放器相關聯, 或可將一 BT頭戴式耳機與諸如skypeTM之類的一 Ip(intemet protocol ;網際網路協定)語音(”v〇Ip,,)應用程式相關聯。 因為該管理器位於該快閃記憶體隨身碟上,故不需要修 改該WindowsTM登錄檔。臨時環境變數係儲存於該快閃記 憶體隨身碟上而非該Windows™登錄檔中。 此外’因為使用該快閃記憶體隨身碟之快閃記憶體來儲 124725.doc 200830183 存各種不同類別的BT周邊裝置之設定檔資訊,故可將一 通用π藍芽控制器ASIC整合於該快閃記憶體隨身碟中。該 裝置特定資訊不需要在該ASIC中。亦不要求一併入了 DSP 的昂貴的ASIC來發送音訊/視訊檔案或以便該主機適當地 將一周邊裝置與一多媒體應用程式相關聯並將資訊發送至 ♦ 適當的音訊/視訊類別周邊裝置。 【實施方式】 (、 監芽係針對無線個人區域網路(PAN)之一工業說明書, 亦稱為IEEE 802.15.1。藍芽提供一種經由一安全的全球未 1授權短距離射頻來在類似於個人數位助理(pdA)、行動 電居、膝上型電腦、PC、印表機、數位相機及視訊遊戲器 的瓜置之間連接與交換資訊的方式。 許多計算裝置不能進行藍芽傳輸,因為該硬體並非内建 的。因此,本發明向該些裝置提供插入式藍芽功能性,以 及用於運輸檔案的一口袋大小之快閃記憶體裝置之方便性 Ο 與新增的儲存。最常見的具體實施例係稱為一通用USB快 閃。己憶體隨身碟’因為其插入至一 U s B埠中。在不同具體 實加例中’可使用除一 U S B連接器以外的連接器(及相關聯 通信協定)來插入並與一主機裝置通信,即使該裝置係稱 為一 USB快閃記憶體隨身碟亦然。 為使用藍芽無線技術,一裝置必須能夠解譯特定藍芽設 定檔。該等設定檔定義與該裝置一起工作的可能應用程 式。藍芽設定檔係具備藍芽能力型裝置透過其與其他裝置 進行通信的一般效能。藍芽技術定義較寬範圍的說明許多 124725.doc 200830183 :賴型之使用情況的設定檔。至少,每—設定檔說明書 用二=之資訊:對其他設定檔的相依性;建議的使 用者”面格式及藉由該設定錢用的藍芽協定堆疊之 特定部分。為執行其任務,每—設定檔使㈣堆疊之每一 層的特定選項與參數。A portable flash memory drive with a keychain size is available. The flash memory flash drive is not only used to store a large amount of flash memory, but also provides Bluetooth communication to the host device into which it is inserted. The most common embodiment is to insert a flash memory flash drive into the _ delete. When inserted into a universal serial bus (,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, The program, and automatically configures the flash memory drive to work with different categories of Bluetooth peripherals. This is even for non-administrative permissions and does not allow it to add the necessary drivers to implement a standard Bluetooth The user of the matcher. The Bluetooth Manager stored on the USB flash drive allows the different types of devices to be associated with the appropriate software application, and thus the application of the host device and the appropriate peripheral device can be established. Communication between programs. For example, a Bluetooth ("BT") capable headset can be associated with a media player, or a BT headset can be connected to an Ip (intemet protocol such as skypeTM). ; Internet Protocol) Voice ("v〇Ip,,)) application is associated. Because the manager is located on the flash memory drive, there is no need to modify the window. sTM login file. Temporary environment variables are stored on the flash memory drive instead of the WindowsTM login file. Also 'because the flash memory of the flash memory is used to store 124725.doc 200830183 The profile information of various different types of BT peripheral devices, so that a universal π Bluetooth controller ASIC can be integrated into the flash memory drive. The device specific information does not need to be in the ASIC. An expensive ASIC that enters the DSP to send an audio/video file or to enable the host to properly associate a peripheral device with a multimedia application and send the information to the appropriate audio/video category peripheral device. The Guardian Department is an industrial manual for wireless personal area networks (PAN), also known as IEEE 802.15.1. Bluetooth provides a similar digital personal assistant (pdA) via a secure global unlicensed short-range radio. ), the way in which mobile homes, laptops, PCs, printers, digital cameras, and video game consoles connect and exchange information. Many computing devices Bluetooth transmission is possible because the hardware is not built in. Therefore, the present invention provides plug-in Bluetooth functionality to the devices, as well as the convenience of a pocket-sized flash memory device for transporting files. And the new storage. The most common embodiment is called a universal USB flash. The memory of the memory is 'because it is inserted into a U s B 。. In different specific implementations ' can be used except one A connector other than the USB connector (and associated communication protocol) is inserted and communicates with a host device, even if the device is referred to as a USB flash memory flash drive. To use Bluetooth wireless technology, a device must Ability to interpret specific Bluetooth profiles. These profiles define possible applications that work with the device. The Bluetooth profile is the general performance of a Bluetooth-enabled device communicating with other devices. The Bluetooth technology defines a wide range of descriptions. 124725.doc 200830183: Profiles for usage. At least, each profile specification uses two = information: dependencies on other profiles; the suggested user's face format and the specific portion of the Bluetooth protocol stack used for the set money. To perform its tasks, each - The profile enables (iv) specific options and parameters for each layer of the stack.
關於-設定檔的組態資訊在一藍芽堆疊之上部層中,通 常係-應用層。必須使用針對—裝置之適當設定檔來建立 與該裝置之通信。例如’具有針對一頭戴式耳機之一設定 檔的裝置不會與一印表機—起工作’反之亦然。通常,該 等裝置還係製造商與產品特定的。各種可用設定檔將隨時 間改變並且可能會開發新的設定檔。對於藍芽實施方案之 細節的更多資tfl ’請參考藍芽特殊利益集團("81(}”)2〇〇3年 月05日發佈的藍芽系統說明t,含核心封裝版:12, 第0至3卷,其與此申請案中參考的所有文件一樣,全部内 容以引用方式併入。 通常需要以下設定檔用於一般操作。通用存取設定檔 (”GAP”)對於適當BT實施方案係強制的,並係用於管理^ 同煎芽衣置之間的連接。GAP顯露一高階,該應用程 式可使用該高階API來組態該堆疊及管理接至不同藍芽產 。口之連接。服務發現應用程式設定槽(”SDAP,,)對於適當 BT實施方案亦係強制的,並係用於針對支援的服務與功能 I*生來珣問其他Βτ產品。SDAP顯露一高階Αρι,該應用程 式了使用δ亥鬲階API以針對支援的功能性詢問其他b丁產 品。序列埠設定檔(”SPP”)透過一 BT無線電連結提供模擬 124725.doc 200830183 的虛擬序列埠。SPP顯露一高階API,該應用程式可使用該 南階API來以極為類似一標準序列蟑之一方式發送與接收 資料。 除通常需要用於一般操作的該些設定檔以外,目前存在 超過20個裝置類別設定檔。下文出於範例性目的說明若干 一 :!又ά又疋植。本申請案決不限於本文說明的設定標。 進階音訊分配設定檔(A2DP)About - The configuration information for the profile is in the upper layer of the Bluetooth stack, usually the application-application layer. Communication with the device must be established using the appropriate profile for the device. For example, a device having a profile for one of the headphones does not work with a printer and vice versa. Typically, such devices are also manufacturer and product specific. The various available profiles will change over time and new profiles may be developed. For more details on the details of the Bluetooth implementation plan, please refer to the Bluetooth Special Solution Group ("81(}") released on March 5, 2005, with the core package version: 12 Volumes 0 to 3, which are the same as all documents referenced in this application, the entire contents of which are incorporated by reference. The following configuration files are generally required for general operation. Universal Access Profile ("GAP") for appropriate BT The implementation is mandatory and is used to manage the connection between the stalk and the stalk. The GAP reveals a high level that the application can use to configure the stack and manage it to different Bluetooth productions. Connection. The Service Discovery Application Settings slot ("SDAP,") is also mandatory for the appropriate BT implementation and is used to support other Βτ products for supported services and functions I. SDAP reveals a high-level Αρι, The application uses the δ 鬲 API API to ask other BD products for the supported functionality. The Sequence 埠 Profile (“SPP”) provides a virtual sequence of simulation 124725.doc 200830183 via a BT radio link. SPP A high-level API that the application can use to send and receive data in a manner that is very similar to a standard sequence. There are currently more than 20 device categories in addition to those that are typically required for general operation. Profiles. The following is a description of a number of ones for an exemplary purpose: ! ά ά 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。
此係設計成用以將一2聲道立體聲音訊流(類似於來自一 MP3播放器的音樂)傳送至一頭戴式耳機或車用無線電。其 包括針對低複雜性副頻帶編碼解碼器(SBC)的強制支援並 視需要地支援:MPEG-1、2 Audio、MPEG-2,4 AAC及 ATRAC ’並可延伸至支援製造商定義的編碼解碼器。 基本列印設定檔(BPP) 此允許裝置基於列印工作將文字、電子郵件、虛擬名片 Ward)或其他項目傳送至印㈣。其不同於HCRp,因為 其不需要印表機特定驅動程式。此使其更適合於不能容易 地使用取決於印表機供應商的驅動程絲更新的嵌入式裝 置’例如行動電話與數位相機。 撥號網路設定播(DUN) 此設定播提供一標準以锈 4 逯過1^牙存取網際網路及JL他撥 號服務。最常見的情形係藉由、 .Λ披L…^ 叮勒电居上撥號來無線 地伙一膝上型電腦存取網際網路。 檔案傳送設定檔(FTP) 向另一裝置上的檔案系统裎 认供存取。此包括針對獲得文 124725.doc 10 200830183 件夾列表、改變至不同文件央、獲得槽案、放置楷案及刪 除檔案的支援。 人性化介面裝置設定檔(HID) 提供針對諸如滑鼠、搖桿、鍵盤等之類的裝置的支援。 其係設計成用以提供具有低功率要求之—低潛時連結。 頭戴式耳機設定檔(HSP) 此係最常用的設定檔,其提供針對欲與行動電話一起使 r、用的曰遍監芽頭戴式耳機的支援。其依賴於針對音訊的 、 SCO與針對最小控制(包括響鈴、應答$叫、掛斷電話及調 整音量的能力)的GSM 07.07之AT命令之一子集。 視訊分配設定檔(VDP) 此設定檔允許一視訊流之運輸。其可用於使一記錄的視 訊從一 PC媒體中心流向一可攜式播放器,或從一數位視訊 相機流向一TV。對H.263基線的支援係強制性的。針對 MPEG·4視覺簡單設定檔、H.263設定檔3與8的支援係視需 ; 要地支援並係涵蓋於說明書中。 圖1解說透過主機介面30與主機150之主機應用程 式152通信的快閃記憶體隨身碟i〇〇A。主機介面13〇可以係 一 USB介面、一無線USB(”WUSB”)介面、一序列 ATA(nSATA”)介面、一pci 快遞(”pcie”)介面、一,,火線,,或 IEEE 1394介面或任何其他等效物。主機15〇可以係具有一 適當連接器/插座的任何計算裝置。記憶體控制器1〇8控制 為料係寫入快閃記憶體114與從其讀取的操作,該記憶體 較佳的係NAND類。該記憶體控制器108還控制透過集線器 124725.doc -11 - 200830183 106至與從主機15〇的通信。記憶體控制器⑽使得儲存於 快閃記憶體U4中的檑案係藉由主機15〇存取,如同該快閃 dfe體隨身碟係一硬碟機。藍芽控制器HO係一應用特定 積體電路(”線c”)並包括無線電112。無線電ιΐ2係負責發 射與接收無線電信號的硬體,並包括或可稱為一收發器。 集線器1〇6管理至/從記憶體控制器⑽、藍芽控制器112及This system is designed to transmit a 2-channel stereo sound stream (similar to music from an MP3 player) to a headset or car radio. It includes mandatory support for low complexity subband codecs (SBCs) and optionally supports: MPEG-1, 2 Audio, MPEG-2, 4 AAC and ATRAC' and can be extended to support manufacturer-defined codecs. Device. Basic Print Profile (BPP) This allows the device to transfer text, email, virtual business card Ward) or other items to the print (4) based on the print job. It is different from HCRp because it does not require a printer-specific driver. This makes it more suitable for embedded devices that are not easily dependent on the driver's driver's driver wire update, such as mobile phones and digital cameras. Dial-Up Networking Setup (DUN) This setup provides a standard for rusting 4 access to the Internet and JL dialing services. The most common situation is to use the Λ L L L...^ 叮 电 居 居 来 来 来 无线 无线 无线 无线 无线 无线 一 一 一 一 一 一 一 一 一 一 一 一 一The file transfer profile (FTP) is advertised for access to the file system on another device. This includes support for obtaining a list of folders, changing to different files, obtaining slots, placing files, and deleting files. Humanized Interface Device Profile (HID) provides support for devices such as mice, joysticks, keyboards, and the like. It is designed to provide low latency connections with low power requirements. Headset Profile (HSP) This is the most commonly used profile that provides support for a smashing headset that you want to use with your mobile phone. It relies on a subset of the GSM 07.07 AT commands for audio, SCO, and for minimum control (including ringing, answering $call, hanging up the phone, and adjusting the volume). Video Distribution Profile (VDP) This profile allows the transport of a video stream. It can be used to stream a recorded video from a PC media center to a portable player or from a digital video camera to a TV. Support for the H.263 baseline is mandatory. Support for MPEG·4 visual simple profiles and H.263 profiles 3 and 8 is required; the support is included in the manual. 1 illustrates a flash memory flash drive i 〇〇 A that communicates with host application 152 of host 150 via host interface 30. The host interface 13 can be a USB interface, a wireless USB ("WUSB") interface, a serial ATA (nSATA) interface, a pci courier ("pcie") interface, a FireWire, or an IEEE 1394 interface or Any other equivalent. The host 15 can be any computing device having a suitable connector/socket. The memory controller 1 8 controls the operation of writing the flash memory 114 to and reading from the memory. Preferably, the memory is a NAND class. The memory controller 108 also controls communication with the slave host 15 through the hubs 124725.doc -11 - 200830183 106. The memory controller (10) is stored in the flash memory U4. The file is accessed by the host computer 15 as if the flash drive is a hard disk drive. The Bluetooth controller HO is an application specific integrated circuit ("line c") and includes a radio 112. Ϊ́2 is the hardware responsible for transmitting and receiving radio signals, and may include or may be referred to as a transceiver. Hub 1〇6 manages to/from memory controller (10), Bluetooth controller 112 and
C 二機介面13G的賴傳輸。在較佳具體實施例中,該集線 為係USB型集線器而主機介面13〇係一 usb介面。nand 快閃記憶體114内係藍芽控制器m與主機15()及主機應用 程式152之操作所必需的-藍芽堆疊之上部層118。 圖2A與2B之快閃記憶體隨身碟i麵類似於快閃記憶體 Ik身碟1GGA ’不同之處在於不存在集線器⑽,因為該集 線器之功能性係整合人記憶體控制器⑽中。在fd i〇〇A 中,藍牙控制器110與集線器1〇6之間的連結較佳的係一 聰連結,而在FD100B中,藍芽控制器110與記憶體控制 盗108之間的連結較佳的係一通用非同步接收器/發射器 ("UART")連接。下文中,快閃記憶體隨身碟ι嶋與 100B(其功此性本質上相同)可簡稱為快閃記憶體隨身碟 (丨丨FD”)l〇〇 〇 ” —圖2B解說具有主機15G透過快閃記憶體隨身碟咖藉由 藍芽與周邊裝置160A至160x通信之一系統。此等裝置之各 裝置可具有一不同的言免定檔I每—不同類型之設定檔要求 其本身的藍芽堆疊執行並與不同的主機應用程式(例如主 機應用程式1 52)適當地相關聯。將針對圖3說明該藍芽堆 124725.doc -12- 200830183 疊的組件層及個別功能性。 圖3解說藍芽協定堆疊300之層。與該堆疊互動的應用程 式藉由呼叫不同的API功能來使用該堆疊功能性。該堆疊 負責全部内容以引用方式併入的藍芽說明書中定義的所有 - 複雜通信規則,並管理與藍芽模組的通信。 • 應用層302主要係關於設定檔組態及與外部軟體應用程 式的互動。 ^ 電話控制說明書(,,TCS,,)層304提供音頻聲道的呼叫控制 與發信。無線應用協定(”WAP”)層3〇6處理針對WAp傳輸之 控制與發信。物件交換("OBEX”)層305處理來自其下面的 下部層的回應並區別多個回應。 射頻通信("RFCOMM”)層308實施一虛擬RS232連結所需 的功能性,包括數據機控制信號。大多數應用程式設定檔 使用RFCOMM來傳送與接收資料。服務發現協定(”SDp,,) 層3 10 ^供功能性來發佈支援的藍芽功能性($ Dp祠服器); U 以及針對藍芽功能性詢問其他藍芽產品(SDP用戶端)。 邏輯連結控制與適應協定("L2CAP,,)層3 12允許多個通信 通道共用一單一藍芽連結(多工)。L2CAP層3 12還處理長訊 息的分割與組裝。 * 主機控制器介面("HCI”)層3 16提供該堆疊與該控制器之 間的心準化通信協定。可透過UART、RS232、USB或 PC卡介面來發送HCI通信封包。 連、、、口官理器層320負責邏輯連結的產生、修改及釋放(及 相關聯邏輯運輸,若要求)以及與裝置之間的實體連結 124725.doc -13 - 200830183 相關的參數之更新。該連結管理器藉由使用連結管理協定 與遠端藍芽裝置中的連結管理器進行通信來實現此點。 基頻/連結控制器層324負責對無線電媒體的全部存取, 並負責來自資料封包承載的藍芽封包及與實體通道、邏輯 運輸及邏輯連結相關的參數的編碼與解碼。 無線電層328負責在實體通道上發送與接收資訊之封 包。 該等藍芽核心層係提供為藍芽控制器11〇之部分。Ηα層 316、連結管理器層32〇、基頻/連結控制器層324及無線電 層328係該核心之部分。儲存於快閃記憶體丨14中的上部層 118至少包含應用層3〇2。8£)?層31〇、rfc〇mm層及 L2CAP層312可以係該核心之部分或儲存於快閃中的上部 層118之部分。 圖4係依據本發明之一具體實施例的用於組態一,,通用” 或唯核心藍芽控制器的方法4〇〇之流程圖。在步驟4〇2中, 將FD 1〇〇插入至主機。主機與17〇 1〇〇將偵測兩個裝置的連 接。接著,在步驟406中將使實現FD i 〇〇之藍芽操作的一 程式可用。在步驟410中,若一使用者有BT通信的需要, 則其執行該BT管理器,其導致該藍芽堆疊之上部層118係 從快閃記憶體114載入至該主機。接著,FD 1〇〇係列舉為 一藍芽裝置並準備經由藍芽與周邊裝置進行通信,如步驟 4 Ϊ4中所見。需要與各類別型之裝置進行通信的設定檔現 透過該堆疊之上部層118可用,如步驟418中所見。接著, 可經由FD 1〇〇之藍芽控制器11〇在主機15〇(包括應用程式 124725.doc -14- 200830183 152)與周邊藍芽裝置16〇之間建立連接,如步驟^ 見。 可將上部層118儲存於快閃記憶體114中的任何位置,例 如可自由使用的使用者區域或一隱藏的系統分區。在任 一情況中,因為該等上部層係儲存於快閃記憶體中,故其 可以係容易地更新或改變以適應不同的設定檔與不同的裝 置此外,可儲存多個版本的上部層118(不同檔案),且在 p 特定具體實施例中一使用者可選擇應安裝哪一版本。在某 些具體實施例中,FD 1G〇的不同使用者可具有儲存於該裝 置中的不同使用者設定槽,且一特定使用者設定稽可與一 特定版本相關聯。因此,一特定使用者設定檔可與不同藍 芽裝置設定檔相關聯。該藍芽管理器還將允許一使用者指 派或重新指派主機中的相關聯軟體應用程式與特定類別的 藍芽裝置,及與藉由該主機所列舉並可用於該藍芽管理器 的任何藍芽裝置。 U 圖5係依據本發明之一具體實施例的自動組態方法5〇〇之 流程圖。在此方法中,可組態僅具有核心層之一藍芽控制 器來與不同類型的裝置一起工作。因而,不需要使用一特 定類型的藍芽控制器,並可實現可”在作業中”進行組態之 一極為靈活的系統。 如圖4所示’在步驟402中,插入FD 1〇〇。現將說明使用 一 U3相適應的快閃記憶體隨身碟及/或主機的本發明之一 具體實施例。。 U3提供一程式係從fd 1〇〇儲存與執行的平台。在一U3 124725.doc -15- 200830183 裝置上,不將針對該裝置之環境變數儲存於該主 統登錄槽中,而係儲存於咖裝置之快閃記憶體中,在此 情況下係FD 1〇〇。該主機中拥 > —妨 杜此 〇 Χ主機十執仃該等程式與操作FD 100之 監牙功能性的任何調適係在插入pDi_間臨時進行的。 在:=,FD1。。作為一 cdr〇m驅動器與分 為一大置儲存裝置兩者列舉。該CDR〇M㈣器在FD _ Ο Ο 2有其本身的分區。在步驟510中,藉由該主機來自動 地執行該〇_驅動器中之—檔案。換言之,當 轉”該CDROM驅動器來讀取其内容時,該快閃記憶體之 CDROM分區中之—自動執行擋案係藉由該主機加以執 灯。、接著,該自動執行檔案引起FD⑽中之一藍芽管理器 程式可用以用於發射。垃益 _ ㈣理器,在步驟514中使用者執行該 、/、¥致3亥1牙堆豎之上部層118係從快閃記憶 體114载人至主機15G(之—可執行記憶體)。藍芽管理器程 式在一"通用”或唯核心藍芽控制器中包含除該核心資訊以 外的"面特定育訊’如步驟518中所見。該介面特定資訊 連同5亥核心資訊—起允許該通用控制器與特定藍芽裝置及 '同類別之裝置—起工作,如步驟522所示。此允許藍芽 中的最大靈活性,以及基於一成本有效基本藍芽控制 器之一成本有效解決方式。 因此,依據本發明之一快閃記憶體隨身碟不僅提供與不 同類別之藍芽周邊裝置的藍芽通信,還可透過上部層118 而谷易地時間適應新的類別。此外,本發明之快閃記憶 體隨身碟包含與一主機一起使用所需的其本身的驅動程 124725.doc -16 - 200830183 式’且該些驅動程式可以係載入而無需必須找到一 CDROM驅動器的麻煩’並可具有或不具有主機管理權 限。 儘管已針對圖5說明用於執行來自一插入式快閃記憶體 隨身碟之程式的U3平台之使用,亦可與本發明一起使用具 有相同效果的其他機構或方法。 對當處理多媒體内容與應用程式時在該主機中提供該藍 芽堆s的所有層之-替代係將一多媒體數位信號處理器晶 片(”DSP”)整合入一藍芽控制器ASIC中。在此一情況下, 併入了該多媒體DSP的BT控制器將使用提供於該Dsp内的 編碼解碼器來辨識與解碼音訊資料。在此情況下,發送過 來的主機介面封包之封包承載將係要進行解碼的音訊/視 訊封包。儘管此係多媒體内容之範例的情況,一般而言, 其亦類似於其他情形及其他類 之周邊U。在此等情況 下w亥荨HI封包的内容將俜步罟_ Ο 『蠢^ m1別封包’其格式根據該 周邊衣置之類別而不同。此可在圖6中看出。 在本發明中,該Βτ控制器中對該 為隨著從快閃々产舻担似 < 而要係4除’因 ▲者攸決閃δ己憶體提供適當的堆疊之上部声 用S亥主機處理器來解 a 了使 之-通用心 體内容並將其透過FD U)0中 之通用控制器傳遞至該立_ 〇中 藍芽柝制哭丄、丄 4 ^建表置。此從每一 -牙的成本及整個快閃記 : 兀。此夕卜,如圖7中所見,^ 身磲1〇〇即令幾美 载將係藍芽封包# 戍,丨面封包之封包承 才訂a(其承载裝置特定 等封包,該周邊妒置中 因此為解碼該 “中需要的僅係-標準化的藍芽控制 124725.doc 200830183 器’而非需要解碼裝置類別封包之一控制器。 儘管已說明本發明之具體實施例,應明白本發明並不限 於此等解說性具體實施例而係藉由隨附申請專利範圍來定 義。 【圖式簡單說明】 θ 1係本發明之一具體實施例的快閃記憶體隨身碟1 〇〇A 之方塊圖。C two machine interface 13G Lai transmission. In a preferred embodiment, the hub is a USB-type hub and the host interface 13 is a USB interface. The nand flash memory 114 is within the blue chip stack upper layer 118 necessary for the operation of the Bluetooth controller m and the host 15() and the host application 152. The flash memory of the flash memory of Figures 2A and 2B is similar to the flash memory. The difference is that the hub (1) does not exist because the functionality of the hub is integrated into the human memory controller (10). In the fd i〇〇A, the connection between the Bluetooth controller 110 and the hub 1〇6 is preferably a smart connection, and in the FD100B, the connection between the Bluetooth controller 110 and the memory control theft 108 is better. A good general-purpose asynchronous receiver/transmitter ("UART") connection. In the following, the flash memory flash drive ι嶋 and 100B (which is essentially the same) can be referred to as a flash memory flash drive (丨丨FD)) —" - Figure 2B illustrates the host 15G transmission The flash memory flash drive is a system that communicates with peripheral devices 160A through 160x via Bluetooth. Each device of such devices may have a different speech-free I. Each of the different types of profiles requires its own Bluetooth stack execution and is appropriately associated with a different host application (eg, host application 152). . The component layers and individual functionality of the blue bud stack 124725.doc -12-200830183 stack will be described with respect to FIG. Figure 3 illustrates the layers of the Bluetooth protocol stack 300. The application interacting with the stack uses the stacking functionality by calling different API functions. The stack is responsible for all of the complex communication rules defined in the Bluetooth specification incorporated by reference in its entirety and manages communication with the Bluetooth module. • Application layer 302 is primarily about profile configuration and interaction with external software applications. ^ The Telephone Control Specification (,, TCS,,) layer 304 provides call control and signaling for the audio channel. The Wireless Application Protocol ("WAP") layer 3〇6 handles control and signaling for WAp transmissions. The Object Exchange ("OBEX" layer 305 processes the responses from the lower layers below it and distinguishes multiple responses. The RF Communications ("RFCOMM") layer 308 implements the functionality required for a virtual RS232 connection, including modem control. signal. Most application profiles use RFCOMM to transmit and receive data. Service Discovery Protocol ("SDp,,") Layer 3 10 ^ for functionality to release supported Bluetooth functionality ($Dp server); U and other Bluetooth products (SDP client) for Bluetooth functionality. The logical link control and adaptation protocol ("L2CAP,,) layer 3 12 allows multiple communication channels to share a single Bluetooth connection (multiplex). The L2CAP layer 3 12 also handles the segmentation and assembly of long messages. * Host Controller Interface ("HCI") Layer 3 16 provides a standardized communication protocol between the stack and the controller. HCI communication packets can be sent via UART, RS232, USB or PC card interface. The contingency, layer, and interface layer 320 is responsible for the generation, modification, and release of logical links (and associated logical transport, if required) and the updating of parameters associated with the physical connection between the devices 124725.doc -13 - 200830183. The link manager accomplishes this by communicating with the link manager in the remote Bluetooth device using a link management protocol. The baseband/link controller layer 324 is responsible for all access to the radio media and is responsible for the encoding and decoding of the Bluetooth packets from the datagram bearers and the parameters associated with the physical channels, logical transport and logical connections. The radio layer 328 is responsible for transmitting and receiving packets of information on the physical channel. The Bluetooth core layers are provided as part of the Bluetooth controller 11〇. The alpha layer 316, the link manager layer 32, the baseband/link controller layer 324, and the radio layer 328 are part of the core. The upper layer 118 stored in the flash memory cassette 14 includes at least an application layer 3〇2. 8£), a layer 31〇, an rfc〇mm layer, and an L2CAP layer 312 may be part of the core or stored in a flash. Part of the upper layer 118. 4 is a flow chart of a method for configuring a general-purpose or core-only Bluetooth controller in accordance with an embodiment of the present invention. In step 4〇2, inserting FD 1〇〇 into To the host, the host and the device will detect the connection of the two devices. Next, in step 406, a program for implementing the Bluetooth operation of the FD i 将 will be available. In step 410, if a user If there is a need for BT communication, it executes the BT manager, which causes the top layer 118 of the Bluetooth stack to be loaded from the flash memory 114 to the host. Then, the FD 1〇〇 series is a Bluetooth device. It is also ready to communicate with the peripheral device via the Bluetooth, as seen in step 4 Ϊ 4. The profile that needs to communicate with each type of device is now available through the upper layer 118 of the stack, as seen in step 418. The FD 1 Bluetooth controller 11 establishes a connection between the host 15 (including the application 124725.doc -14-200830183 152) and the peripheral Bluetooth device 16〇, as shown in the step. The upper layer 118 can be Any location stored in the flash memory 114, such as Freely used user area or a hidden system partition. In either case, because the upper layer is stored in the flash memory, it can be easily updated or changed to accommodate different profiles and different In addition, multiple versions of the upper layer 118 (different files) may be stored, and in a particular embodiment a user may select which version should be installed. In some embodiments, different uses of the FD 1G〇 A user may have a different user setting slot stored in the device, and a particular user setting may be associated with a particular version. Thus, a particular user profile may be associated with a different Bluetooth device profile. The Bluetooth Manager will also allow a user to assign or reassign associated software applications in the host to a particular category of Bluetooth devices, and to any Bluetooth that is listed by the host and available for the Bluetooth Manager. Figure 5 is a flow chart of an automatic configuration method according to an embodiment of the present invention. In this method, only one of the core layers can be configured. The controller works with different types of devices. Therefore, there is no need to use a specific type of Bluetooth controller, and it is possible to implement an extremely flexible system that can be configured "in the job". As shown in Figure 4 In step 402, FD 1 is inserted. One embodiment of the present invention using a U3 compatible flash memory flash drive and/or host will now be described. U3 provides a program from fd 1〇〇 A storage and execution platform. On a U3 124725.doc -15-200830183 device, the environment variables for the device are not stored in the main login slot, but are stored in the flash memory of the coffee device. In this case, it is FD 1〇〇. The host has > - this is the case. Any configuration of the host 10 and the operation of the FD 100 is temporarily performed between the insertions of pDi_. At: =, FD1. . As a cdr〇m driver and a large storage device are listed. The CDR〇M(4) device has its own partition in FD_Ο Ο 2 . In step 510, the file in the 〇_driver is automatically executed by the host. In other words, when the CDROM drive is transferred to read the contents, the CDROM partition of the flash memory automatically executes the file by the host. Then, the automatic execution file causes the FD (10) A Bluetooth Manager program can be used for transmitting. In the step 514, the user executes the /, and the 3, 1, 3, and 1 stacks of the upper layer 118 are flashed from the flash memory 114. Human to host 15G (executable memory). The Bluetooth Manager program includes a "face specific education" in addition to the core information in a "general" or core only Bluetooth controller, as in step 518 See you. The interface specific information, together with the 5 core information, allows the universal controller to work with a particular Bluetooth device and a device of the same category, as shown in step 522. This allows for maximum flexibility in Bluetooth and a cost effective solution based on a cost effective basic Bluetooth controller. Therefore, a flash memory flash drive according to the present invention not only provides Bluetooth communication with different types of Bluetooth peripheral devices, but also allows the time to adapt to new categories through the upper layer 118. In addition, the flash memory flash drive of the present invention contains its own driver 124725.doc -16 - 200830183 required for use with a host computer and the drivers can be loaded without having to find a CDROM drive. Trouble' with or without host management rights. Although the use of the U3 platform for executing a program from a plug-in flash memory flash drive has been described with respect to Figure 5, other mechanisms or methods having the same effects can be used with the present invention. The alternative is to provide a multimedia digital signal processor chip ("DSP") into a Bluetooth controller ASIC for all layers of the Bluetooth stack s that are provided in the host while processing the multimedia content and applications. In this case, the BT controller incorporating the multimedia DSP will use the codec provided in the Dsp to recognize and decode the audio material. In this case, the packet carrying the host interface packet will be the audio/video packet to be decoded. Although this is an example of an example of multimedia content, in general, it is similar to other situations and other types of peripherals U. In these cases, the content of the HI HI packet will be 罟 罟 Ο 『 蠢 蠢 蠢 m m m m m m m m m m m m m m m m m m m m m m m m m m m m This can be seen in Figure 6. In the present invention, the Βτ controller is configured to follow the 快 而 而 而 而 而 而 而 而 而 而 而 而 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供The host processor is used to solve the problem and pass it to the general controller of the FD U)0 to the _ _ 蓝 蓝 蓝 蓝 蓝 丄 丄 丄 建 建 。 。 建 建 。 建 建 建 建 建 建 建 建 建 建 建 建 建 。 This costs from each - tooth and the entire flash: 兀. On the other hand, as seen in Figure 7, ^ 磲 〇〇 〇〇 令 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几 几Therefore, in order to decode the "only required-standardized Bluetooth control 124725.doc 200830183 device", instead of requiring a device of the decoding device class package, although a specific embodiment of the present invention has been described, it should be understood that the present invention is not The present invention is limited to these illustrative embodiments and is defined by the scope of the accompanying claims. [FIG. Brief Description] θ 1 is a block diagram of a flash memory flash drive 1 〇〇A according to an embodiment of the present invention. .
圖2 A係本發明之另一具體實施例的快閃記憶體隨身碟 100B之方塊圖。 圖2B解說具有主機15〇透過快閃記憶體隨身碟藉由 藍芽與周邊裝置通信之一系統。 圖3係解說藍芽協定堆疊3〇〇之層的方塊圖。 圖4係依據本發明之一具體實施例的自動組態方法之 流程圖。 圖5係依據本發明之一具體實施例的自動組態方法5〇〇之 流程圖。 圖6係作為一主機介面封包之封包承載的一裝置類別封 包之範例性解說。 圖7係§與快閃記憶體隨身碟100A或100B進行通信時作 為/主機;丨面封包之封包承載的一藍芽封包之範例性解 說0 【主要元件符號說明】Figure 2A is a block diagram of a flash memory flash drive 100B in accordance with another embodiment of the present invention. Figure 2B illustrates a system having a host 15 通信 communicating with a peripheral device via Bluetooth via a flash memory drive. Figure 3 is a block diagram illustrating the layers of the Bluetooth protocol stack. 4 is a flow chart of an automatic configuration method in accordance with an embodiment of the present invention. Figure 5 is a flow diagram of an automatic configuration method 5 in accordance with an embodiment of the present invention. Figure 6 is an exemplary illustration of a device class package carried as a packet of a host interface packet. Figure 7 is a / host when communicating with the flash memory drive 100A or 100B; an exemplary solution of a Bluetooth packet carried by the packet of the kneading packet [0 main component symbol description]
100A 100B 快閃記憶體隨身碟 快閃記憶體隨身碟 124725.doc -18 - 200830183 106 集線器 108 記憶體控制器 110 藍芽控制器 112 無線電 114 快閃記憶體 118 上部層 130 主機介面(’ΉΓ) 150 主機 152 主機應用程式 160A 至 160X 周邊藍芽裝置 300 藍芽協定堆疊 302 應用層 304 電話控制說明書(’’TCS”)層 305 物件交換Γ’ΟΒΕΧ”)層 306 無線應用協定(nWAPn)層 308 射頻通信(’’RFCOMM1’)層 310 服務發現協定(nSDP”)層 312 邏輯連結控制與適應協定(nL2CAP”)層 316 主機控制器介面(nHCIn)層 320 連結管理器層 324 基頻/連結控制器層 328 無線電層 124725.doc -19-100A 100B flash memory flash drive flash memory flash drive 124725.doc -18 - 200830183 106 hub 108 memory controller 110 Bluetooth controller 112 radio 114 flash memory 118 upper layer 130 host interface ('ΉΓ) 150 Host 152 Host Application 160A to 160X Peripheral Bluetooth Device 300 Bluetooth Protocol Stack 302 Application Layer 304 Telephone Control Specification (''TCS)) Layer 305 Object Exchange Γ 'ΟΒΕΧ') Layer 306 Wireless Application Protocol (nWAPn) Layer 308 Radio Frequency Communication (''RFCOMM1') Layer 310 Service Discovery Protocol (nSDP) Layer 312 Logical Link Control and Adaptation Protocol (nL2CAP) Layer 316 Host Controller Interface (nHCIn) Layer 320 Link Manager Layer 324 Baseband/Link Control Layer 328 radio layer 124725.doc -19-