TW413763B - Data conversion device and data flow control method in between USB host and network end - Google Patents

Data conversion device and data flow control method in between USB host and network end Download PDF

Info

Publication number
TW413763B
TW413763B TW88104014A TW88104014A TW413763B TW 413763 B TW413763 B TW 413763B TW 88104014 A TW88104014 A TW 88104014A TW 88104014 A TW88104014 A TW 88104014A TW 413763 B TW413763 B TW 413763B
Authority
TW
Taiwan
Prior art keywords
usb host
data
usb
packet data
buffer
Prior art date
Application number
TW88104014A
Other languages
Chinese (zh)
Inventor
Shin-Ji Chen
Original Assignee
Winbond Electronics Corp
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 Winbond Electronics Corp filed Critical Winbond Electronics Corp
Priority to TW88104014A priority Critical patent/TW413763B/en
Priority to DE1999124241 priority patent/DE19924241B4/en
Priority to DE29923855U priority patent/DE29923855U1/en
Priority to JP16020399A priority patent/JP2000269961A/en
Application granted granted Critical
Publication of TW413763B publication Critical patent/TW413763B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/26Flow control; Congestion control using explicit feedback to the source, e.g. choke packets
    • H04L47/266Stopping or restarting the source, e.g. X-on or X-off

Abstract

The invention relates to a data conversion device and data flow control method in between USB host and network end. USB device can judge the transmission ready bit status of the flow control signal returned from buffer at any time and immediately inform the USB host of the current storage space status of the buffer so that the USB host can decide if data packet transmission shall go on in accordance with the received flow control signal to avoid the occurrence of data overflow. The invention allows to make the USB device and ISDN controller on the same chip and it facilitates easy operation structure and micro controller with cheaper price and low speed to replace the conventional high speed micro controller for attaining the goal of greatly reducing cost expense.

Description

413763 4223twf.doc/0〇6 A 7 B7 五、發明説明(/ ) 本發明是有關於一種資料轉換裝置,且特別是有關於 —種使用同時具有USB裝置及ISDN控制器之組合晶片, 以及構造簡單、價格便宜及低速之微控制器,並且可隨時 得、知緩衝器之目前儲存空間狀況並將之通知USB主機,決 定其是否繼續傳送出封包資料,以避免發生資料溢位及達 到降低成本耗費之介於USB主機與網路端間之資料轉換裝 置及其資料流量控制方法。 自從IBM公司發展出PC XT及PC AT的個人電腦之 後,和IBM PC相容的個人電腦即被全世界普遍使用。在 這期間,因爲半導體技術的進步,使個人電腦的功能越來 越強,同時可用的設備也越來越多,例如:圖形化的作業 系統的普及,滑鼠(Mouse)已是必備的設備,爲了將資料印 出,印表機幾乎也是必備的,網際網路(Internet)的發達, 在家中的使用者都需使用數據機(MODEM)來連接網路,而 爲了避免電腦當機使工作成果付諸流水,會準備大容量的 ~備份裝置定時備資料,或是想將圖形存入電腦,掃描器 (Scanner)亦是普遍被使用的設備。 以上所提及的設備在個人電腦發展出來之後,陸續發 展出來,直到目前,已是非常普遍,甚至是必備的設備。 但是因爲每一項設備發展的目的不同,所處的環境亦不 同’所以在設計時,依不同的考量而使用不同的介面。到 了現在,在一部個人電腦若要使用前面所提的各項設備, 電腦後面的連線將是非常可觀的,因爲幾乎每種設備都使 用不同的介面,有些介面目前已是個人電腦的標準配備, —:-------^------ΐτ------^ (誚先閲讀背面之注意事寫本页) 本紙張尺及通川中囤國家標準(CNS ) A4规格(210X297公釐) 413763 4223twf*doc/006 A7 B7 五、發明説明(〉)413763 4223twf.doc / 0〇6 A 7 B7 V. Description of the invention (/) The present invention relates to a data conversion device, and in particular to a kind of combined chip using a USB device and an ISDN controller, and a structure. Simple, cheap and low-speed microcontroller, and can always know the current storage space status of the buffer and notify the USB host to determine whether it will continue to send packet data to avoid data overflow and reduce costs The consumed data conversion device between the USB host and the network end and its data flow control method. Since the development of personal computers of PC XT and PC AT by IBM, personal computers compatible with IBM PC have been widely used throughout the world. During this period, due to the advancement of semiconductor technology, the functions of personal computers have become more and more powerful, and more and more equipment is available. For example: the popularity of graphical operating systems, the mouse (Mouse) has become a necessary device In order to print out data, a printer is almost necessary. With the development of the Internet, users at home need to use a modem (MODEM) to connect to the network, and to avoid computer crashes and work The results are put into practice. A large-capacity ~ backup device will be prepared regularly, or if you want to save graphics to a computer, a scanner is also a commonly used device. After the development of personal computers, the above-mentioned devices have been on display. Until now, they have been very common and even necessary equipment. But because the development purpose of each device is different, and the environment is also different ’, when designing, different interfaces are used according to different considerations. Until now, if you want to use the various devices mentioned in a personal computer, the connection behind the computer will be very considerable, because almost every device uses a different interface, and some interfaces are now the standard for personal computers. Equipped, —: ------- ^ ------ ΐτ ------ ^ (诮 Read the notes on the back first and write this page) This paper ruler and Tongchuan National Standard (CNS) A4 specifications (210X297 mm) 413763 4223twf * doc / 006 A7 B7 V. Description of the invention (>)

.{ΐί先閱讀背面之注意事填寫本S 如連接滑鼠的RS232串列介面,或是連接印表機的並列介 面。但是有些介面則需另外安裝介面卡,例如連接大容量 備份裝置大都使用 SCSI(Small Computer System Interface)介 面’ SCSI介面即需另外安裝介面卡。又,有些設備更是使 用專有的介面,如有些掃描器即是使用特殊的專有介面, 必需安裝專屬的介面卡才可使用。因此在個人電腦中,必 需提供許多插槽(Slot)以供安裝各種介面卡,而完成整個系 統的連線之後,電腦後面的連線亦是十分可觀,並且凌亂 無比。 , -^ 由於上述的情況,乃發展出通用串列匯流排(Universal Serial Bus ;以下簡稱USB)介面的規格,其係爲一新興起之 傳輸協定,USB意圖將週邊至主機系統之傳輸方式統一 化,使得未來週邊與主機之連結方式都透過USB,以方便 使用者連結各週邊與主機系統。. {ΐί Read the notes on the back first and fill in this S, such as RS232 serial interface for mouse connection, or parallel interface for printer connection. However, some interfaces require additional interface cards. For example, SCSI (Small Computer System Interface) interfaces are mostly used for connecting large-capacity backup devices. SCSI interfaces require additional interface cards. In addition, some devices use a proprietary interface. For example, some scanners use a special proprietary interface. A dedicated interface card must be installed before use. Therefore, in a personal computer, many slots must be provided for installing various interface cards. After the connection of the entire system is completed, the connection behind the computer is also considerable and messy. ,-^ Due to the above situation, the specification of the Universal Serial Bus (hereinafter referred to as USB) interface has been developed, which is a new transmission protocol. USB intends to unify the transmission method from the peripheral to the host system. In the future, the connection between the peripheral and the host will be via USB in the future to facilitate users to connect the peripherals and the host system.

I USB希望各種設備都可使用統一的介面來連接,可簡 '化系統的安裝,並且電腦內部亦不需要預留太多的空間來 安裝各種特殊的介面卡,另外USB介面亦有PnP的功能, 即個人電腦可以自動偵測所連接的設備,並安裝相關的驅 動程式(Driver)供使用者使用。此外,USB介面的規格,具 有線上即插即用的功能,可以在電腦運作當中,將設備連 接上去,電腦主機皆可以自動偵測並安裝相關的程式,無 需經過關機再重新開機的步驟,隨即可讓使用者使用新連 上的週邊設備。同樣地,在週邊設備移除時,電腦主機亦 可自動偵測並將相關的程式移除,以免使用者執行相關程 本紙张尺度適州中囡國家標準(CNS ) A4規格(210X29*7公釐) 413763 4223twf,doc/006 A7 B7 五、發明説明(>) 式而產生錯誤。 (請先閱禎背面之注f©填寫本頁) 另外一種稱爲整體服務數位網路(Integrated Services Digital Network ;簡稱ISDN)之架構,即任何數位化信號的 高速傳輸,無論是聲音、視訊或資料,都可以直接在電話 線上傳送,比目前最快的數據機還要快上一倍。ISDN利用 現有的電話線,提供頻寬的有效使用,以及兩組64K位元/ 秒(bps)通道(channel)的數位傳輸,也在同一的媒體上,結 合了聲音與數位資料的服務,使得提供數位資料的服務成 爲可能,且透過單一的連結也包括了聲音的連結。 .現有之USB規格已定義出一種稱爲等時傳輸 (Isochronous Transfer)之資料傳輸型式,其係以定位元率來 傳輸資料,就如同ISDN之應用。因此,一般來說,ISDN 控制器就如同定位元率裝置(constant-bit-rate device)。USB 主機(host)例如個人電腦(PC),可發出等時進(lsochronous,ln) 信號來接收USB裝置(device)之資料,或發出等時出 (Isochronous-Out)信號來傳送資料至USB裝置中。但是USB 規格並未對等時傳輸定義任何流量控制模式(flQW-CC)ntr〇l scheme),假若直接連結ISDN線於等時出傳輸時,由於USB 的通訊速率約爲12Mbps,較之上述ISDN的通訊速率快上 許多,因此將會在USB裝置上發生資料溢位(overfi〇w)的情 形。反之,若在等時進傳輸時,則不需要流量控制。 請參照第1圖,其繪示的是習知一種介於USB主機與 網路端間之資料轉換裝置的方塊圖。 資料轉換裝置10連接於USB主機12與網路端14間。 本紙依尺及迫川中囡國家標準(CNS ) A4規格(2丨0X297公釐> :¾¾:‘部-5-头榀羋而Ι:::.!.·;/!於合竹^印纪 413763 ί , 4223twi'.doc/0〇6 Α7 Β7五、發明説明(^ s 資料轉換裝置10包括USB裝置16'ISDN控制器18、微控 制器20及記憶體22,其中記憶體22包括靜態隨機存取記 憶體(SRAM),並且USB裝置16、ISDN控制器18、微控制 器20及記憶體22四者分別透過一匯流排24相互連接溝 通。USB主機12用以發出等時進信號來接收USB裝置16 之資料’或發出等時出信號來傳送資料至USB裝置16 .中。 微控制器20用以驅動控制USB裝置16,並用以暫存USB 主機12傳送至USB裝置16中的資料,藉以將這些資料傳 送至記憶體22中。微控制器20也用以驅動ISDN控制器 18 ’並將存放在記憶體22內的資料,傳送至ISDN控制器 18中。ISDN控制器18用以接收存放在記憶體22內的資 料,並將之傳送至網路端14。 其操作原理爲,當USB主機12要傳送資料至網路端 14時,首先微控制器20會先驅動USB裝置16使之操作, 之後USB主機12會以其傳輸協定之通訴速率(12Mbps),傳 '送資料至USB裝置16中。在此同時,USB裝置16會回傳 流量控制信號給USB主機12,以告知USB主機12目前記 憶體22之儲存空間是否足夠。若記憶體22之儲存空間足 夠,則微控制器20會接收存放在USB裝置16中的資料, 並將之暫存在其內部之暫存器中。隨後,微控制器20會再 將這些資料傳送至記憶體22中存放。微控制器20也用以 驅動ISDN控制器18,並將存放在記憶體22內的資料,傳 送至ISDN控制器18中。最後,ISDN控制器18會接收存 放在記憶體22內的資料’並以其傳輸協定之通訊速率 本紙張尺度迫州十囤國家摞率(CNS ) Μ規格(2I0X297公漦) (对先聞讀背面之注$!©域寫本頁) •裝. 訂 -線· 413763 4223twf.doc/〇〇6 A7 B7 經沪部中""卑而^^竹.7,卬纪 五、發明説明(j) (64Kbps) ’將之傳送至網路端14。 由於USB裝置16與ISDN控制器18之通訊速率不 同,USB裝置16快於ISDN控制器18,因此將使得記憶體 22發生滿載(full)的情況。當記憶體22之儲存空間不足以 容納一封包資料(packet data)時,微控制器20會通知USB 裝置16不要再送.出封包資料,此時USB裝置16會發出停 止傳送資料之一流量控制信號給USB主機12,以告知USB 主機12停止傳送資料。等到記憶體22之儲存空間足夠到 可再容納封包資料時,微控制器20會再通知USB裝置16 可以再送出封包資料,此時USB主機12才會再執行上述 傳送資料的動作。 因爲微控制器20具有執行驅動控制USB裝置16及暫 存USB裝置16中之資料的性能,因此微控制器20的處理 速度必須要夠快,亦即必須使用高速微控制器才不會發生 資料處理上的錯誤。此外,微控制器20必須暫存刀SB裝 '置16中之資料,故設置於其內部之暫存器容量也要夠大。 或者必須增加微控制器20內部處理速度,以彌補暫存器容 量之不足。因此,微控制器20的製造成本勢必很高,對於 目前講究低耗費成本的半導體製造業者而言,無非是一項 負擔。而且,單純要執行USB主機12傳送資料至網路端 14的動作,便需使用到具有四個元件裝置之資料轉換裝置 10,如此亦將會造成配置空間的浪費。 請參照第2圖,其繪示的是習知另一種介於USB主機 與網路端間之資料轉換裝置的方塊圖。, 閲 讀 背- D 填1 頁 裝 訂 本紙张尺度適扣中國國家標準(CNS ) A4規格(210X297公釐) 413763 4223twf.doc/〇〇6 A7 B7 五、發明説明(g ) 資料轉換裝置30連接於USB主機32與網路端34間。 資料轉換裝置30包括一組合晶片36、ISDN控制器40及記 憶體42,其中組合晶片36係由USB裝置37與微控制器38 所組成,記憶體42包括靜態隨機存取記憶體(SRAM),並 且組合晶片36、ISDN控制器40'及記憶體42三者分別透過 一匯流排44相互連接溝通。各元件之操作原理與先前習知 所提及之相類似,故此處不再贅述。 其操作原理爲’當USB主機32要傳送資料至網路端 34時,由於USB裝置37與微控制器38兩者皆配置於組合 晶片36內,故微控制器38可快速驅動USB裝置37。之後 USB主機32會以其傳輸協定之通訊速率(12Mbps),傳送資 料至USB裝置37中。同樣地,在USB裝置37接收到封包 資料的同時,USB裝置37會回傳流量控制信號給USB主 機32,以告知USB主機32目前記憶體42之儲存空間是否 足夠。若記憶體42之儲存空間足夠,則USB裝置37會透 '過微控制器38直接將封包資料傳送至記憶體42中存放。 最後,ISDN控制器40會接收存放在記憶體42內的資料, 並以其傳輸協定之通訊速率(64Mbps),將之傳送至網路端 34 ° 與先前習知相同的是,由於USB裝置36與ISDN控 制器40之通訊速率不同’因此將使得記憶體42發生滿載 的情況。當記憶體42之儲存空間不足以容納一封包資料 時,微控制器38會通知USB裝置37不要再送岀封包資料, 此時USB裝置37會發出停止傳送資料之一流量控制信號 本紙张尺度過用十國国家標準(CNS ) A4雜(2】〇><297公釐) 請先閲讀背面之注意事CD填寫本頁 •举·I USB hopes that all kinds of devices can be connected using a unified interface, which simplifies system installation, and does not need to reserve too much space inside the computer to install various special interface cards. In addition, the USB interface also has the function of PnP That is, the personal computer can automatically detect the connected device and install the relevant driver for the user. In addition, the specification of the USB interface has an online plug-and-play function. You can connect the device while the computer is running. The host computer can automatically detect and install related programs without going through the steps of shutting down and restarting. Allows users to use newly connected peripherals. Similarly, when the peripheral equipment is removed, the host computer can also automatically detect and remove related programs, so as to prevent users from executing related procedures. Paper size is in accordance with China National Standard (CNS) A4 specification (210X29 * 7mm). (Centi) 413763 4223twf, doc / 006 A7 B7 V. Explanation of the invention (>) and an error occurred. (Please read the note f on the back of this page to fill in this page first) Another kind of architecture called Integrated Services Digital Network (ISDN), which is the high-speed transmission of any digital signal, whether it is sound, video or Data can be transmitted directly on the telephone line, which is twice as fast as the fastest modems currently available. ISDN uses existing telephone lines to provide efficient use of bandwidth and two sets of 64K bit / second (bps) channels for digital transmission. It also combines voice and digital data services on the same medium, making Services that provide digital data are possible, and voice links are included through a single link. The existing USB specification has defined a type of data transmission called isochronous transfer, which uses a bit rate to transmit data, just like the application of ISDN. Therefore, in general, an ISDN controller is like a constant-bit-rate device. A USB host, such as a personal computer (PC), can send isochronous (ln) signals to receive data from USB devices, or send isochronous-out signals to send data to USB devices. in. However, the USB specification does not define any flow control mode (flQW-CC) ntr〇l scheme) for isochronous transmission. If the ISDN line is directly connected for isochronous transmission, the USB communication rate is about 12Mbps, compared with the above ISDN The communication speed is much faster, so data overflow will occur on the USB device. Conversely, if isochronous transmission is used, flow control is not required. Please refer to FIG. 1, which shows a block diagram of a data conversion device known between a USB host and a network terminal. The data conversion device 10 is connected between the USB host 12 and the network terminal 14. This paper is based on the ruler and the National Standard for Chuanchuan (CNS) A4 (2 丨 0X297 mm >: ¾¾: '部 -5- 头 榀 芈 and Ι :::.!. · ;; /! 于 合 竹 ^ 印413 763763, 4223twi'.doc / 0〇6 Α7 Β7 V. Description of the invention (^ s) The data conversion device 10 includes a USB device 16'ISDN controller 18, a microcontroller 20, and a memory 22, where the memory 22 includes static Random access memory (SRAM), and the USB device 16, the ISDN controller 18, the microcontroller 20, and the memory 22 are connected to each other through a bus 24. The USB host 12 is used to send isochronous signals. Receive data from USB device 16 'or send out isochronous signals to transmit data to USB device 16. Microcontroller 20 is used to drive and control USB device 16 and is used to temporarily store data transmitted from USB host 12 to USB device 16. These data are transferred to the memory 22. The microcontroller 20 is also used to drive the ISDN controller 18 'and transfer the data stored in the memory 22 to the ISDN controller 18. The ISDN controller 18 is used to Receives the data stored in the memory 22 and sends it to the network terminal 14. Its operation principle is, when When the USB host 12 transmits data to the network terminal 14, the microcontroller 20 first drives the USB device 16 to operate, and then the USB host 12 transmits data to the communication protocol at a communication rate (12Mbps). The USB device 16. At the same time, the USB device 16 will return a flow control signal to the USB host 12 to inform the USB host 12 whether the current storage space of the memory 22 is sufficient. If the storage space of the memory 22 is sufficient, micro-control The device 20 will receive the data stored in the USB device 16 and temporarily store it in its internal register. Then, the microcontroller 20 will transfer these data to the memory 22 for storage. The microcontroller 20 also It is used to drive the ISDN controller 18 and transmit the data stored in the memory 22 to the ISDN controller 18. Finally, the ISDN controller 18 will receive the data stored in the memory 22 and use its transmission protocol to Communication rate This paper is scaled to 10 states in the state of China (CNS) M specifications (2I0X297 Gong) (Note on the back of the first reading $! © domain write this page) • Binding. Order-line · 413763 4223twf.doc / 〇〇6 A7 B7 The Ministry of Shanghai " " Beier ^^ 竹 .7卬 纪 五. Description of the invention (j) (64Kbps) 'Transfer it to the network 14. Because the communication rate between the USB device 16 and the ISDN controller 18 is different, the USB device 16 is faster than the ISDN controller 18, so it will make The memory 22 is full. When the storage space of the memory 22 is not enough to hold a packet of data, the microcontroller 20 will notify the USB device 16 not to send any more data. At this time, the USB device 16 will send a flow control signal to stop transmitting data. Give USB host 12 to tell USB host 12 to stop transmitting data. When the storage space of the memory 22 is enough to hold the packet data again, the microcontroller 20 will notify the USB device 16 to send the packet data again, and then the USB host 12 will perform the above-mentioned data transfer operation. Because the microcontroller 20 has the performance of driving and controlling the data in the USB device 16 and temporarily storing the data in the USB device 16, the processing speed of the microcontroller 20 must be fast enough, that is, a high-speed microcontroller must be used to prevent data from occurring. Processing error. In addition, the microcontroller 20 must temporarily store the data in the knife SB device 'set 16', so the capacity of the temporary register set in it must be large enough. Alternatively, the internal processing speed of the microcontroller 20 must be increased to make up for the lack of register capacity. Therefore, the manufacturing cost of the microcontroller 20 is bound to be very high, and it is a burden for the semiconductor manufacturers currently paying attention to low consumption costs. Moreover, simply to perform the action of transmitting data from the USB host 12 to the network terminal 14, a data conversion device 10 having four component devices is used, which will also cause a waste of configuration space. Please refer to FIG. 2, which shows a block diagram of a conventional data conversion device between a USB host and a network terminal. , Reading Back-D Fill in 1 page bound paper size suitable for Chinese National Standard (CNS) A4 specification (210X297 mm) 413763 4223twf.doc / 〇〇6 A7 B7 V. Description of invention (g) The data conversion device 30 is connected to Between USB host 32 and network 34. The data conversion device 30 includes a combination chip 36, an ISDN controller 40, and a memory 42. The combination chip 36 is composed of a USB device 37 and a microcontroller 38. The memory 42 includes a static random access memory (SRAM). And the combination chip 36, the ISDN controller 40 'and the memory 42 are connected and communicated with each other through a bus 44 respectively. The operation principle of each component is similar to that mentioned in the prior art, so it will not be repeated here. Its operating principle is' When the USB host 32 is to transmit data to the network terminal 34, since both the USB device 37 and the microcontroller 38 are arranged in the combination chip 36, the microcontroller 38 can quickly drive the USB device 37. The USB host 32 then transmits data to the USB device 37 at the communication rate (12 Mbps) of its transmission protocol. Similarly, when the USB device 37 receives the packet data, the USB device 37 returns a flow control signal to the USB host 32 to inform the USB host 32 whether the current storage space of the memory 42 is sufficient. If the storage space of the memory 42 is sufficient, the USB device 37 will directly transmit the packet data to the memory 42 through the microcontroller 38 for storage. Finally, the ISDN controller 40 will receive the data stored in the memory 42 and transmit it to the network at the transmission rate (64Mbps) of the transmission protocol. 34 Same as previously known, since the USB device 36 The communication speed is different from that of the ISDN controller 40, so the memory 42 will be fully loaded. When the storage space of the memory 42 is not enough to hold a packet of data, the microcontroller 38 will notify the USB device 37 not to send any more packet data. At this time, the USB device 37 will send a flow control signal to stop sending data. National Standards of Ten Countries (CNS) A4 Miscellaneous (2) 〇 > < 297 mm

L t Μ.. 、=" -餚- ΓL t Μ .. 、 = "-美食-Γ

I 413763 4223twf.doc/006 ___________________________________________^_!Z__ 五、發明説明(q) 給USB主機32,以告知USB主機32停止傳送資料。等到 記憶體42之儲存空間足夠到可再容納封包資料時,微控制 器38會再通知USB裝置37可以再送出封包資料,此時USB 主機32才會再執行上述傳送資料的動作。 雖然本習知結構方法較之先前習知結構方法具有更 快驅動USB裝置.37的能力,然而將USB裝置37與微控制 器38兩者同時製造於同一組合晶片36內,其所花費之製 造成本更高,更不符合經濟效益。此外,微控制器38仍然 必須將內部暫存器資料傳送至記億體42中,因而微控制器 仍需高速。 綜上所述,無論習知之資料轉換裝置爲第1圖或第2 圖之架構,其資料傳輸(流量控制)方法都是透過微控制器 之控制’將傳送資料先存放在記憶體後,才再經由ISDN 控制器從記憶體中取走資料而後傳送出去。因此,習知必 須同時使用高速微控制器與大容量之記憶體,使得微控制 器能隨時監控記憶體是否發生滿載情形,以便通知USB裝 置是否能繼續送出資料。所以,習知所使用微控制器之構 造必定較爲複雜,同時需使用大容量之記憶體,導致製造 成本因而提高,無法符合半導體廠商之低耗費成本的需 求。此外,若直接連結ISDN線於等時出傳輸時,由於USB 的通訊速率較ISDN的通訊速率快上許多,因此將導致USB 裝置發生資料溢位的情彤。 有鑒於此,本發明提出一種介於USB主機與網路端間 之資料轉換裝置,包括一組合晶片及一微控制器。組合晶 本紙張尺度通国家標準{ CNS ) A4規格(21〇"x297公釐) (^先閲讀背面之注意事埴寫本頁) -裝. 訂 線 413763 4223twf.doc/006 Β7 麫:^部屮1久"-^^以二消贽:竹0卬欠 五、發明説明(s ) 片係由USB裝置、緩衝器及iSdn控制器所組成。上述USB 裝置用以接收USB主機傳送出之封包資料,並將此封包資 料存放在緩衝器中,且USB裝置會依攄緩衝器之目前儲存 空間狀況,回應具有傳送備妥位元之流量控制信號給USB 主機,使USB主機依據接收到之流量控制信號,決定是否 繼續傳送出封包資料。ISDN控制器用以接收存放在緩衝器 中之封包資料,並將此封包資料傳送至網路端。微控制器 透過匯流排連接至組合晶片,用以驅動USB裝置使之操 本發明提出之介於USB主機與網路端間之資料轉換 裝置,係先經由上述緩衝器依序接收USB主機透過USB裝 置所傳來的封包資料並將之儲存起來。然後USB裝置會依 據緩衝器之目前儲存空間狀況,回傳具有傳送備妥位元之 流量控制信號給USB主機,使得USB主機依據接收到之流 量控制信號,決定是否繼續傳送出封包資料。之後緩衝器 ' 會依序將存放其內部之封包資料透過ISDN控制器傳送至 網路端。由於USB裝置可隨時從緩衝器回傳之流量控制信 號之傳送備妥位元的狀態,立即將緩衝器之目前儲存空間 狀況通知USB主機,因此將可有效防止發生資料溢位的情 形。 本發明提出一種介於USB主機與網路端間之資料流 量控制方法,USB主機用以傳送封包資料至網路端,此資 料流量控制方法包括下列步驟:首先,依序接收並儲存封 .包資料於緩衝器中。接著,依據緩衝器之目前儲存空間狀 {諳先网讀背面之注意事填寫本頁jI 413763 4223twf.doc / 006 ___________________________________________ ^ _! Z__ V. Description of the invention (q) To the USB host 32 to tell the USB host 32 to stop transmitting data. When the storage space of the memory 42 is enough to hold the packet data again, the microcontroller 38 will notify the USB device 37 to send the packet data again, and then the USB host 32 will perform the above-mentioned data transfer operation. Although the conventional structure method has the ability to drive the USB device .37 faster than the previously known structure method, manufacturing both the USB device 37 and the microcontroller 38 in the same combined chip 36 at the same time, the cost of manufacturing Higher costs and less economic benefits. In addition, the microcontroller 38 still has to transfer the internal register data to the memory module 42, so the microcontroller still needs high speed. In summary, whether the conventional data conversion device is the structure of Figure 1 or Figure 2, the data transmission (flow control) method is controlled by the microcontroller. 'The transmitted data is stored in the memory before it is stored. The data is then removed from the memory via the ISDN controller and transmitted. Therefore, it is necessary to use a high-speed microcontroller and a large-capacity memory at the same time, so that the microcontroller can monitor whether the memory is fully loaded at any time in order to notify the USB device whether it can continue to send data. Therefore, the structure of the microcontroller used in the conventional method must be more complicated. At the same time, a large-capacity memory is used, which leads to an increase in manufacturing costs and cannot meet the low consumption cost requirements of semiconductor manufacturers. In addition, if the ISDN line is directly connected for isochronous transmission, the USB communication rate is much faster than the ISDN communication rate, which will cause the USB device to overflow data. In view of this, the present invention provides a data conversion device between a USB host and a network terminal, which includes a combination chip and a microcontroller. The size of the combined crystal paper is in accordance with the national standard {CNS) A4 specification (21〇 " x297 mm) (^ Read the notes on the back first and write this page)-binding. 413763 4223twf.doc / 006 Β7 ^: ^ The ministry is a long time, with two eliminations: bamboo 0 and five. Invention description (s) The chip is composed of a USB device, a buffer, and an iSdn controller. The above USB device is used to receive the packet data sent by the USB host and store the packet data in the buffer, and the USB device will respond to the flow control signal with the prepared bit according to the current storage space status of the buffer. To the USB host, make the USB host decide whether to continue to send out packet data according to the received flow control signal. The ISDN controller is used to receive the packet data stored in the buffer and transmit the packet data to the network. The microcontroller is connected to the combination chip through a bus to drive the USB device to operate the data conversion device provided by the present invention between the USB host and the network end. The USB host first receives the USB host through the buffer in order through the USB. Packet data from the device and save it. Then, the USB device returns a flow control signal with a ready bit to the USB host according to the current storage space status of the buffer, so that the USB host decides whether to continue to send out packet data according to the received flow control signal. Afterwards, the buffer will sequentially send the internal packet data stored in it to the network through the ISDN controller. Since the USB device can transmit the state of the ready bit of the flow control signal returned from the buffer at any time, it immediately informs the USB host of the current storage space status of the buffer, so it can effectively prevent the occurrence of data overflow. The present invention proposes a data flow control method between a USB host and a network end. The USB host is used to transmit packet data to the network end. The data flow control method includes the following steps: First, sequentially receive and store packets. The data is in the buffer. Then, fill in this page according to the current storage space of the buffer {谙

P 餐' -訂 線. 本紙张尺度適州中固國家摞準(CNS ) Λ4規格(210X297公釐) 413763 4223twt'.doc/006 A7 B7 五、發明説明(?) (铕先閲讀背面之注意事#*^填寫本肓) 況,回傳具有傳送備妥位元之流量控制信號至USB主機, 使USB主機依據接收到之流量控制信號,決定是否繼續傳 送出封包資料。最後,依序將存放在緩衝器中之封包資料 傳送至網路端。 上述中,當緩衝器之目前儲存空間狀況足夠容納封包 資料時,開啓傳送備妥位元例如設定傳送備妥位元爲”〇”, 並不一定是開啓爲”0”,關閉爲”1”,亦可剛好相反,USB 主機會持續傳送出封包資料。當緩衝器之目前儲存空間狀 況不足以容納封包資料時,關閉傳送備妥位元例如設定傳 送備妥位元爲”1”,USB主機會立即停止傳送出封包資料, 直至USB主機接收到之流量控制信號具有傳送備妥位 元”0”,USB主機才會再次傳送出封包資料。 因此’本發明之USB裝置可隨時從緩衝器回傳之流量 控制信號之傳送備妥位元的狀態,立即將緩衝器之目前儲 存空間狀況通知USB主機,使USB主機依據接收到之流量 控制信號,決定是否繼續傳送出封包資料,避免發生資料 溢位的情形。此外,本發朋之USB裝置及ISDN控制器兩 者同時製造於同一晶片中’並且使用構造簡單、價格便宜 及低速之微控制器’來取代傳統高速微控制器,以達到大 量降低成本耗費的目的。 爲讓本發明之上述和其他目的、特徵、和優點能更明 顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細 說明如下: 圖式之簡單說明: 本紙依尺度中國囤家標率(CNS ) A4現格(210X297公兹) 63 413763 4223twf,doc/006 A 7 五、發明説明(,〇) 第1圖繪示的是習知一種介於USB主機與網路端間之 資料轉換裝置的方塊圖; 第2圖繪示的是習知另一種介於USB主機與網路端間 之資料轉換裝置的方塊圖;以及 第3圖繪示的是依照本發明一較佳實施例的一種介於 USB主機與網路端間之資料轉換裝置的方塊圖。 圖式之標號說明: 10、3Ό、50 :資料轉換裝置 12、32、52 : USB 主機 14、34、54 :網路端 16、37、57 : USB 裝置 18、40、58 : ISDN 控制器 20、38、60 :微控制器 22、42 :記憶體 24、44、62 :匯流排 3 6、5 6 :組合晶片 實施例 請參照第3圖,其繪示的是依照本發明一較佳實施例 的一種介於USB主機與網路端間之資料轉換裝置的方塊 .圖。 , 本發明之資料轉換裝置50連接於USB主機52與網路 端54間,其中USB主機52可包括個人電腦。資料轉換裝 置50包括一組合晶片56及一微控制器60,其中此處所使 用之微控制器60爲構造簡單、價格便宜、低速率之微控制 本紙张尺度適川中囤国家標準(CNS ) Λ4规格(210X2?7公釐) (請先閱讀背面之注意事$填寫本茛)P meal '-order line. This paper size is suitable for China National Solid Standard (CNS) Λ4 specification (210X297 mm) 413763 4223twt'.doc / 006 A7 B7 V. Description of the invention (?) (Please read the note on the back first Thing # * ^ Fill in this 肓), return the flow control signal with the prepared bits to the USB host, so that the USB host decides whether to continue to send out the packet data according to the received flow control signal. Finally, the packet data stored in the buffer is transmitted to the network in sequence. In the above, when the current storage space status of the buffer is sufficient to accommodate the packet data, the transmission preparation bit is turned on, for example, the transmission preparation bit is set to "0", which may not necessarily be turned on to "0" and closed to "1" , Or just the opposite, the USB host will continuously send out packet data. When the current storage space status of the buffer is not enough to accommodate the packet data, turn off the transmission prepared bit, for example, set the transmission prepared bit to "1", the USB host will immediately stop transmitting the packet data until the traffic received by the USB host The control signal has the transmission ready bit "0", and the USB host will transmit the packet data again. Therefore, the USB device of the present invention can transmit the state of the prepared bit of the flow control signal returned from the buffer at any time, and immediately notify the USB host of the current storage space status of the buffer, so that the USB host can respond to the received flow control signal. , Decide whether to continue sending out packet data to avoid data overflow. In addition, Benfa ’s USB device and ISDN controller are both manufactured in the same chip at the same time 'and use a simple, cheap and low-speed microcontroller' to replace traditional high-speed microcontrollers, in order to achieve a lot of cost reduction . In order to make the above and other objects, features, and advantages of the present invention more comprehensible, the preferred embodiments are described below in detail with the accompanying drawings, as follows: Brief description of the drawings: This paper is based on China Store standard rate (CNS) A4 is now (210X297 kilometers) 63 413763 4223twf, doc / 006 A 7 V. Description of the invention (, 〇) Figure 1 shows a conventional method between the USB host and the network. A block diagram of a data conversion device between the two; FIG. 2 shows a block diagram of another data conversion device between a USB host and a network terminal; and FIG. 3 shows a comparison according to the present invention. The preferred embodiment is a block diagram of a data conversion device between a USB host and a network terminal. Description of the symbols in the drawings: 10, 3, 50: Data conversion devices 12, 32, 52: USB host 14, 34, 54: Network side 16, 37, 57: USB devices 18, 40, 58: ISDN controller 20 , 38, 60: Microcontroller 22, 42: Memory 24, 44, 62: Bus 3, 6, 6: Example of combined chip Please refer to FIG. 3, which shows a preferred implementation according to the present invention For example, a block diagram of a data conversion device between a USB host and a network. The data conversion device 50 of the present invention is connected between the USB host 52 and the network terminal 54, where the USB host 52 may include a personal computer. The data conversion device 50 includes a combination chip 56 and a microcontroller 60. The microcontroller 60 used here is a simple control, low price, and low-speed micro-control. The paper size is in compliance with the National Standard (CNS) Λ4 specification. (210X2 ~ 7mm) (Please read the note on the back first to fill in this buttercup)

P 裝. 線. 413763 4223twf.doc/006 A 7 B7P Pack. Line. 413763 4223twf.doc / 006 A 7 B7

—J ' —» _._-蜻—. 1 < I 1 . I I 1-1 I 五、發明説明(7 ) 器或微處理器。組合晶片56係由USB裝置57與ISDN控 制器58所組成,其中ISDN控制器58可包括定位元率裝 置,並且組合晶片56與微控制器60透過一匯流排62相互 連接溝通。同樣地,USB主機52用以發出等時進信號來接 收USB裝置57之資料,或發出等時出信號來傳送資料至 USB裝置57中。組合晶片56更包括一緩衝器59,配置連 接於USB裝置57及ISDN控制器58間,用以暫存USB主 機52所送出的封包資料。當然,上述緩衝器59可配置包 括在USB裝置57中。微控制器60僅用以驅動組合晶片56 使之操作。ISDN控制器58用以接收緩衝器59內的封包資 料,並將之傳送至網路端54。 本發明之操作原理爲,當USB主機52要傳送資料至 網路端54時,微控制器60會先驅動USB裝置57使之操作。 之後USB主機52會以其傳輸協定之通訊速率(12Mbps:), 透過USB裝置57傳送資料至緩衝器59中。必須注意的是, ’ 在USB裝置57接收到封包資料之前,USB裝置57會回傳 —具有傳送備妥位元(Transmit Ready Bit)之流量控制信號 給USB主機52,以告知USB主機52目前緩衝器59之儲存 空間是否足夠。換言之,當緩衝器59接收到封包資料的同 時,緩衝器59會立即判斷是否能再容納另一個封包資半斗, 若其內部還有儲存空間,則回傳具有傳送備妥位元例如,,Q,, 之流量控制信號給USB裝置57,透過USB裝置57將目前 緩衝器59之儲存空間狀況告訴USB主機52。 舉例來說,若緩衝器59之儲存空間足夠容納封包薈 本紙乐尺瓜通川中國國家操卒(CNS ) Λ4規格(210X297公釐) (請先閱读背面之注意事\ •装-- 本買)—J '— »_._- 龙 —. 1 < I 1. I I 1-1 I V. Description of the invention (7) Device or microprocessor. The combination chip 56 is composed of a USB device 57 and an ISDN controller 58, wherein the ISDN controller 58 may include a positioning element device, and the combination chip 56 and the microcontroller 60 are connected and communicated with each other through a bus 62. Similarly, the USB host 52 is used to send an isochronous signal to receive data from the USB device 57 or to send an isochronous signal to send data to the USB device 57. The combination chip 56 further includes a buffer 59 configured to be connected between the USB device 57 and the ISDN controller 58 for temporarily storing the packet data sent from the USB host 52. Of course, the above-mentioned buffer 59 may be configured to be included in the USB device 57. The microcontroller 60 is only used to drive the combined chip 56 to operate. The ISDN controller 58 is used to receive the packet data in the buffer 59 and transmit it to the network terminal 54. The operating principle of the present invention is that when the USB host 52 wants to transmit data to the network terminal 54, the microcontroller 60 first drives the USB device 57 to operate. After that, the USB host 52 transmits data to the buffer 59 through the USB device 57 at the communication rate (12Mbps :) of its transmission protocol. It must be noted that, 'Before the USB device 57 receives the packet data, the USB device 57 will send back a flow control signal with a transmit ready bit (Transmit Ready Bit) to the USB host 52 to inform the USB host 52 that it is currently buffering. Whether the storage space of the device 59 is sufficient. In other words, when the buffer 59 receives the packet data, the buffer 59 will immediately determine whether it can accommodate another packet data bucket. If there is storage space in the buffer 59, the return has a transmission ready bit. For example, The flow control signal of Q ′ is given to the USB device 57, and the USB host 52 is informed of the current storage space status of the buffer 59 through the USB device 57. For example, if the storage space of the buffer 59 is enough to hold the package paper, paper ruler, guatongchuan, Chinese national operating officer (CNS) Λ4 size (210X297 mm) (Please read the precautions on the back first. )

1T 線 413763 4223twf.doc/006 A7 五、發明説明(Q) 料,則開啓傳送備妥位元,例如將傳送備妥位元設定 爲”0”,反之若緩衝器59之儲存空間不足以容納封包資料, 則關閉傳送備妥位元,例如將傳送備妥位元設定爲”1”。因 此,當USB主機52接收到之流量控制信號具有傳送備妥 位元”0”時,持續傳送出封包資料至USB裝置57中。反之, 當USB主機52.接收到之流量控制信號具有傳送備妥位 元”Γ時,立即停止傳送出封包資料,直至接收到之流量控 制信號具有傳送備妥位元”0”,USB主機52才會再次傳送 出封包資料至USB裝置57中。 之後,若USB主機52接收到之流量控制信號具有傳 送備妥位元”0”時,亦即緩衝器59之儲存空間足夠容納封 包資料,則USB主機52開始傳送出封包資料至USB裝置 57,並將之存放在緩衝器59中。接著,ISDN控制器58會 接收存放在緩衝器59內的資料,並以其傳輸協定之通訊速 率(64Kbps),將之傳送至網路端54。 換句話說,USB主機52係依據USB裝置57所回傳之 流量控制信號,判斷其內含之傳送備妥位元爲”0”或”Γ, 進而得知緩衝器59之儲存空間是否足夠容納封包資料,以 決定是否傳送出封包資料。因此,雖然USB裝置57與ISDN 控制器58之通訊速率不同,但是USB裝置57可從緩衝器 59回傳之傳送備妥位元(“0”或”Γ),立即得知緩衝器59之 儲存空間狀況,並將其之儲存空間狀況通知USB主機52, 以便使USB主機52能在得知緩衝器59爲滿載時,立即停 止傳送資料,以避免發生資料溢位的情形。等到緩衝器59 本紙诅尺度適跗中固國家標準(CNS ) A4規格(210X297公釐) (諳先閲讀背面之注意事寫本頁)1T line 413763 4223twf.doc / 006 A7 5. For the description of the invention (Q), turn on the transmission ready bit. For example, set the transmission ready bit to "0". Otherwise, if the storage space of buffer 59 is insufficient to accommodate For packet data, the transmission ready bit is turned off, for example, the transmission ready bit is set to "1". Therefore, when the flow control signal received by the USB host 52 has the transmission ready bit "0", the packet data is continuously transmitted to the USB device 57. Conversely, when the USB host 52. receives the flow control signal having a transmission ready bit “Γ, it immediately stops transmitting packet data until the received flow control signal has a transmission ready bit“ 0 ”, and the USB host 52 The packet data will be sent to the USB device 57 again. After that, if the flow control signal received by the USB host 52 has the transmission ready bit "0", that is, the storage space of the buffer 59 is sufficient to accommodate the packet data, then The USB host 52 starts to send packet data to the USB device 57 and stores it in the buffer 59. Then, the ISDN controller 58 receives the data stored in the buffer 59 and uses the communication protocol's transmission rate (64Kbps) ), And send it to the network 54. In other words, the USB host 52 judges that the transmission ready bit contained in it is "0" or "Γ according to the flow control signal returned by the USB device 57, and further It is known whether the storage space of the buffer 59 is sufficient to accommodate the packet data, so as to decide whether to transmit the packet data. Therefore, although the communication rate between the USB device 57 and the ISDN controller 58 is different, the USB device 57 can transmit the prepared bit (“0” or “Γ)” back from the buffer 59, and immediately know the storage of the buffer 59 Space condition, and notify the USB host 52 of its storage space condition, so that the USB host 52 can stop transmitting data immediately when it knows that the buffer 59 is full, to avoid data overflow situation. Wait until the buffer 59 paper The curse scale is suitable for China National Standard (CNS) A4 specification (210X297 mm) (read the cautions on the back first and write this page)

P .裝 訂_ 413763 4223twf.doc/006 A7 B7 五、發明説明(β) 之儲存空間足夠到可再容納封包資料時,緩衝器59會再通 知USB裝置57可以再送出封包資料,此時USB主機52才 會再執行上述傳送資料的動作。 綜上所述,本發明具有以下優點: (1) USB裝置及ISDN控制器兩者同時製造於同一晶片 中,以降低生產成本。 (2) 使用之微控制器具有構造簡單、價格便宜及低速 操作的功能,取代傳統使用高速微控制器所造成高成本耗 費的缺點。 (3) USB裝置可隨時從緩衝器回傳之流量控制信號之 傳送備妥位元的狀態,立即將緩衝器之目前儲存空間狀況 通知USB主機,避免發生資料溢位的僧形。 雖然本發明已以較佳實施例揭露如上,然其並非用以 限定本發明,任何熟習此技藝者,在不脫離本發明之精神 和範圍內,當可作各種之更動與潤飾,因此本發明之保護 範圍當視後附之申請專利範圍所界定者爲準。 (請先閱讀背面之注^一^^^寫本頁} 裝. -訂. 線 鉀浐部屮A"·準而消於合竹"卬51 度P. Binding_ 413763 4223twf.doc / 006 A7 B7 5. When the storage space of the invention description (β) is enough to hold the packet data again, the buffer 59 will notify the USB device 57 to send the packet data again. At this time, the USB host 52 will then perform the above action of transmitting data. In summary, the present invention has the following advantages: (1) Both the USB device and the ISDN controller are manufactured in the same chip at the same time to reduce production costs. (2) The used microcontroller has the functions of simple structure, low price and low-speed operation, replacing the disadvantage of high cost caused by traditional high-speed microcontrollers. (3) The USB device can transmit the state of the ready bit of the flow control signal returned from the buffer at any time, and immediately notify the USB host of the current storage space status of the buffer to avoid the occurrence of data overflow. Although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art can make various modifications and retouches without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall be determined by the scope of the attached patent application. (Please read the note on the back ^ 一 ^^^ write this page first) Assemble. -Order. Thread 浐 部 浐 A " · quasi but disappears in harmony " 竹 51 degrees

I 公I male

Claims (1)

13763 4223twt'.doc/006 A8 B8 C8 D8 經濟部t央棣率局貝工消費合作社印製 '申請專利範園 1. 一種介於USB主機與網路端間之資料轉換裝置,包 括: 一組合晶片,該組合晶片包括一USB裝置、~緩衝器 及一ISDN控制器,該USB裝置連接該USB主機,用以接收 該USB主機傳送出之複數個封包資料,並將該些封包資料 存放在該緩衝器中,且該USB裝置會依據1亥緩衝器之一目 前儲存空間狀況,回應具有一傳送備妥位元之一流量控制 信號給該USB主機,使該USB主機依據接收到之該流量控制 信號,決定是否繼續傳送出該些封包資料,該ISDN控制器 用以接收存放在該緩衝器中之該些封包資料,並將該些封 包資料傳送至該網路端;以及 一微控制器,透過一匯流排連接該組合晶片,該微控 制器用以驅動該USB裝置使之操作。 2. 如申請專利範圍第1項所述之介於USB主機與網路 端間之資料轉換裝置,其中該緩衝器包括配置在該USB裝 置中。 3. 如申請專利範圍第1項所述之介於USB主機與網路 端間之資料轉換裝置,其中該USB主機包括個人電腦。 4. 如申請專利範圍第1項所述之介於USB主機與網路 端間之資料轉換裝置,其中該ISDN控制器包括定位元率 裝置。 5. 却申請專利範圍第1項所述之介於USB主機與網路 端間之資料轉換裝置,其中該微控制器係爲構造簡單、價 格便宜、低速之微控制器。 本紙浪尺度適用中國囷家樣準(CNS ) A4规格(210父297公嫠) 請 先 閣 背 旁 裝 訂 線 1 經濟部中央椟隼局負工消費合作社中製 413763 422 3twf.doc/006 A8 B8 CS D8 •申請專利範圍 6. 如申請專利範圍第1項所述之介於USB主機與網路 端間之資料轉換裝置,其中該微控制器包括微處理器。 7. 如申請專利範圍第1項所述之介於USB主機與網路 端間之資料轉換裝置,其中當該緩衝器之該目前儲存空間 狀況足夠容納該些封包資料時,設定該傳送備妥位元爲” 開”,該USB主機會持續傳送出該些封包資料至該USB裝 置中。 8. 如申請專利範圍第1項所述之介於USB主機與網路 端間之資料轉換裝置,其中當該緩衝器之該目前儲存空間 狀況不足以容納該些封包資料時,設定該傳送備妥位元爲” 關”,該USB主機會立即停止傳送出該些封包資料,直至 該USB主機接收到之該流量控制信號具有該傳送備妥位 元”開”,該USB主機才會再次傳送出該些封包資料至該 USB裝置中。 9. 一種介於USB主機與網路端間之資料流量控制方 法,該USB主機用以傳送複數個封包資料至該網路端’該 資料流量控制方法包括下列步驟: 依序接收並儲存該些封包資料於一緩衝器中; 依據該緩衝器之一目前儲存空間狀況’回傳具有一傳 送備妥位元之一流量控制信號至該USB主機’使該USB主 機依據接收到之該流量控制信號,決定是否繼續傳送出該 些封包資料;以及 依序將存放在該緩衝器中之該些封包資料傳送至該 網路端。 本紙張尺度適用中國國家梯準(CNS ) A4規格(210X297公釐) 請 先 閎 t 裝 訂 線 17 ABCD 413763 4223twf.doc/006 六、申請專利範圍 10. 如申請專利範圍第9項所述之介於USB主機與網 路端間之資料流量控制方法,其中當該緩衝器之該目前儲 存空間狀況足夠容納該些封包資料時,設定該傳送備妥位 元爲”開”,該USB主機會持續傳送出該些封包資料。 11. 如申請專利範圍第9項所述之介於USB主機與網 路端間之資料流量控制方法,其中當該緩衝器之該目前儲 存空間狀況不足以容納該些封包資料時,設定該傳送備妥 位元爲”關”,該USB主機會立即停止傳送出該些封包資 料,直至該USB主機接收到之該流量控制信號具有該傳送 備妥位元”開”,該USB主機才會再次傳送出該些封包資 料。 (請先閲讀背面之注意事填寫本頁) P 裝 訂· 線 經濟部中央標準局負工消f合作社印製 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐)13763 4223twt'.doc / 006 A8 B8 C8 D8 Printed by the Ministry of Economic Affairs of the Central Government Bureau of Shellfish Consumer Cooperatives for 'Patent Application'. 1. A data conversion device between a USB host and a network, including: a combination The chip includes a USB device, a buffer, and an ISDN controller. The USB device is connected to the USB host to receive a plurality of packet data sent by the USB host and store the packet data in the Buffer, and the USB device responds to the USB host with a flow control signal that transmits a ready bit according to the current storage space condition of one of the buffers, so that the USB host controls the flow based on the received flow control signal. Signal to determine whether to continue sending out the packet data, the ISDN controller is used to receive the packet data stored in the buffer, and transmit the packet data to the network end; and a microcontroller, via A bus is connected to the combination chip, and the microcontroller is used to drive the USB device to operate. 2. The data conversion device between the USB host and the network terminal as described in item 1 of the scope of the patent application, wherein the buffer includes a configuration in the USB device. 3. The data conversion device between a USB host and a network terminal as described in item 1 of the scope of patent application, wherein the USB host includes a personal computer. 4. The data conversion device between the USB host and the network terminal as described in item 1 of the scope of patent application, wherein the ISDN controller includes a positioning element rate device. 5. However, the data conversion device between the USB host and the network described in item 1 of the scope of the patent application, wherein the microcontroller is a microcontroller with simple structure, low price and low speed. The paper scale is applicable to the Chinese Family Standard (CNS) A4 specification (210 fathers and 297 males). Please bind the binding line on the back of the cabinet. 1 Central Government Bureau of the Ministry of Economic Affairs, Consumer Cooperatives, China 413763 422 3twf.doc / 006 A8 B8 CS D8 • Scope of patent application 6. The data conversion device between the USB host and the network as described in item 1 of the scope of patent application, wherein the microcontroller includes a microprocessor. 7. The data conversion device between the USB host and the network as described in item 1 of the scope of patent application, wherein when the current storage space condition of the buffer is sufficient to accommodate the packet data, the transmission is set to be ready The bit is “ON”, the USB host will continue to send the packet data to the USB device. 8. The data conversion device between the USB host and the network as described in item 1 of the scope of the patent application, wherein when the current storage space condition of the buffer is insufficient to accommodate the packet data, the transmission device is set. The proper bit is "off", the USB host will immediately stop sending out the packet data, and the USB host will not transmit again until the flow control signal received by the USB host has the transmit ready bit "on". Export the packet data to the USB device. 9. A data flow control method between a USB host and a network end, the USB host is used to send a plurality of packet data to the network end. The data flow control method includes the following steps: sequentially receiving and storing the data The packet information is in a buffer; according to the current storage space condition of one of the buffers, 'return a flow control signal with a transmission ready bit to the USB host' to enable the USB host to receive the flow control signal according to the received , Decide whether to continue sending out the packet data; and sequentially send the packet data stored in the buffer to the network end. This paper size is applicable to China National Standard for Ladder (CNS) A4 (210X297 mm), please 闳 t gutter 17 ABCD 413763 4223twf.doc / 006 6. Scope of patent application 10. As described in item 9 of the scope of patent application A data flow control method between a USB host and a network end, wherein when the current storage space condition of the buffer is sufficient to accommodate the packet data, the transmission preparation bit is set to "on", and the USB host will continue to Send out the packet information. 11. The method for controlling data flow between a USB host and a network terminal as described in item 9 of the scope of the patent application, wherein when the current storage space condition of the buffer is insufficient to accommodate the packet data, the transmission is set The ready bit is "off", the USB host will immediately stop sending out the packet data, and the USB host will not send again until the flow control signal received by the USB host has the transmission ready bit "on" Send out the packet information. (Please read the notes on the back first and fill in this page) P Binding · Thread Printed by the Central Bureau of Standards of the Ministry of Economic Affairs and printed by the Cooperative Society This paper size applies to the Chinese National Standard (CNS) A4 (210X297 mm)
TW88104014A 1999-03-16 1999-03-16 Data conversion device and data flow control method in between USB host and network end TW413763B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
TW88104014A TW413763B (en) 1999-03-16 1999-03-16 Data conversion device and data flow control method in between USB host and network end
DE1999124241 DE19924241B4 (en) 1999-03-16 1999-05-27 Data transfer device between USB host and network and flow control method for controlling the same
DE29923855U DE29923855U1 (en) 1999-03-16 1999-05-27 Data transmission device
JP16020399A JP2000269961A (en) 1999-03-16 1999-06-07 Element for data transfer between usb host and network and flow control method controlling the transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW88104014A TW413763B (en) 1999-03-16 1999-03-16 Data conversion device and data flow control method in between USB host and network end

Publications (1)

Publication Number Publication Date
TW413763B true TW413763B (en) 2000-12-01

Family

ID=21639962

Family Applications (1)

Application Number Title Priority Date Filing Date
TW88104014A TW413763B (en) 1999-03-16 1999-03-16 Data conversion device and data flow control method in between USB host and network end

Country Status (3)

Country Link
JP (1) JP2000269961A (en)
DE (1) DE19924241B4 (en)
TW (1) TW413763B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100365609C (en) * 2005-12-13 2008-01-30 北京中星微电子有限公司 Data transmission method between host and USB device and corres ponding USB device
US9015368B2 (en) 2006-12-22 2015-04-21 Qualcomm Incorporated Enhanced wireless USB protocol

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AUPQ896300A0 (en) * 2000-07-24 2000-08-17 Nec Australia Pty Ltd A clock synchronisation method for usb sink devices
DE10062573B4 (en) * 2000-12-15 2005-07-14 Infineon Technologies Ag USB terminal
JP3870717B2 (en) * 2001-05-14 2007-01-24 セイコーエプソン株式会社 Data transfer control device and electronic device
KR100514218B1 (en) * 2004-09-02 2005-09-13 하나 마이크론(주) Method of information joint between usb drives in multi-function player of single usb drive
US8200856B2 (en) * 2006-05-25 2012-06-12 Qualcomm Incorporated Flow control for universal serial bus (USB)
JP6222724B2 (en) * 2013-06-27 2017-11-01 Necプラットフォームズ株式会社 USB device, USB system, data transfer method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5249271A (en) * 1990-06-04 1993-09-28 Emulex Corporation Buffer memory data flow controller
US5958027A (en) * 1997-08-05 1999-09-28 Advanced Micro Devices, Inc. Method and system for optimizing the flow of isochronous data and clock rate information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100365609C (en) * 2005-12-13 2008-01-30 北京中星微电子有限公司 Data transmission method between host and USB device and corres ponding USB device
US9015368B2 (en) 2006-12-22 2015-04-21 Qualcomm Incorporated Enhanced wireless USB protocol

Also Published As

Publication number Publication date
JP2000269961A (en) 2000-09-29
DE19924241B4 (en) 2006-10-19
DE19924241A1 (en) 2000-09-21

Similar Documents

Publication Publication Date Title
EP2437180B1 (en) Image forming apparatus, system on chip unit and driving method thereof
JP4704050B2 (en) Data transfer system and electronic device
JP4928732B2 (en) Data transfer system and electronic device
JP3632695B2 (en) Data transfer control device, electronic device, and data transfer control method
US7755791B2 (en) Image processing apparatus and image forming apparatus
TW453069B (en) Packet accessing method with parallel multiplexing feature
US8386670B2 (en) System controlling device and image processing system
JP2010061670A (en) Bus connection system
JP2006195871A (en) Communication device, electronic equipment and image forming device
JP2002342261A (en) Data transfer controller and electronic equipment
JP2001236304A (en) Microcomputer
TW413763B (en) Data conversion device and data flow control method in between USB host and network end
JP4308680B2 (en) Image forming apparatus
JP3614161B2 (en) Data transfer control device, electronic device, and data transfer control method
JP4564740B2 (en) Imaging equipment system
JP2005332372A (en) Image processing apparatus and image forming apparatus
JP2005332316A (en) Data distribution device, data transfer device and image processing device
JP4607706B2 (en) Image processing system, program, and job execution method
JP4271558B2 (en) Data transfer system, image forming system, and data transfer program
JP2003131865A (en) Display device and display method, display control device and display control method, display system, and program
JP2005122303A (en) Data transfer controller, electronic equipment and data transfer control method
JP2006113798A (en) Data transfer system, reception buffer device, method for setting specification of data transfer system and image formation system
JP3335094B2 (en) Printer interface system
JPH03208121A (en) Printer device
US20090074122A1 (en) Data transmission method and system

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees