TWI286694B - The method for transmitting data between two hosts - Google Patents

The method for transmitting data between two hosts Download PDF

Info

Publication number
TWI286694B
TWI286694B TW94133937A TW94133937A TWI286694B TW I286694 B TWI286694 B TW I286694B TW 94133937 A TW94133937 A TW 94133937A TW 94133937 A TW94133937 A TW 94133937A TW I286694 B TWI286694 B TW I286694B
Authority
TW
Taiwan
Prior art keywords
host
controller
data
transmission line
transmission
Prior art date
Application number
TW94133937A
Other languages
Chinese (zh)
Other versions
TW200712904A (en
Inventor
Chung-Chih Fang
Chia-Ming Hsiao
Chia-Hsin Chen
Original Assignee
Ours Technology Inc
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 Ours Technology Inc filed Critical Ours Technology Inc
Priority to TW94133937A priority Critical patent/TWI286694B/en
Publication of TW200712904A publication Critical patent/TW200712904A/en
Application granted granted Critical
Publication of TWI286694B publication Critical patent/TWI286694B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • G06F9/4413Plug-and-play [PnP]
    • G06F9/4415Self describing peripheral devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The method for transmitting data between two hosts is provided in this invention and is implemented by a transmission line. The transmission line includes a control unit which supports mass storage class, a storage unit, and two connectors which connect with the first host and the second host respectively. The transmission method is implemented by an application program which is executed in two hosts and communicates with the controller of the transmission line. By the communication with controller the transmitting data between two hosts will be finished.

Description

1286694 / 18236twf.doc/g 九、發明說明: 【發明所屬之技術領域】 本發明是有關於-種在兩部主機之間傳輸資料的方 法’且特別是有關於-種不需另外手動安裝驅動程式 輸資料的方法。 【先前技術】 -般兩台電子儲存裝置_資料傳輸,可透過下列 種方式進行:磁片作業、其他儲存設備(光碟、M〇及 直接電連線(LL3/LL5傳輸線)、透過區域網路、 序列匯流排傳輸線等。 但其中’使用磁片作業其儲存容量小和傳輸速度慢為 其缺點,目前每個磁片的記憶容量僅有144MB左右,如 ,所欲傳輸的檔案超過1·44ΜΒ時,僅能選擇分片拷貝或 是要分片壓縮,麻煩又沒有效率。使用其他儲存備氺 碟=〇及ΖΠ>),雖航些儲存媒體容量大,但是要移^ 大量資料時,必須先將A電腦的檔案經由其相對之儲存媒 體(燒錄機、Mo或ZIP讀取機)燒錄成光碟片或儲存在M〇 和ZIP上。而後經由B電腦中之光碟機、Mo或ZIP讀取 機將槽案複製到B電腦,程序上不夠便利。 使用LL3/LL5傳輸線,此方式有著不用透過儲存媒體 的k點’但是其傳輸速度慢(230Kbps),佔用並列埠(lpt port)和有效傳輸距離短等為其缺點。透過區域網路,經由 =路線進行傳輸,這是一個十分便捷的方式,它的運用場 ^部受到限制。電腦間需藉由網路卡及網路線間之連結才 能進行資料傳輸。除了辦公室外,一般家庭並無區域網路 1286694 18236twf.doc/g 2環境’除非一般家庭中擁有三台以上的電腦,才會有架 ^區域。對現代人而言個家庭同時擁有筆記型電腦和 ^上型電腦是很常見的。這兩台電腦之間的大量資料傳 若不經由區域網路方式,常是―個令人煩惱的問題。 使用萬用序列匯流排傳輸線(咖data link cable),可解決1286694 / 18236twf.doc/g IX. Description of the Invention: [Technical Field of the Invention] The present invention relates to a method for transmitting data between two mainframes, and in particular, there is no need to additionally install a driver manually. The method of transferring data from a program. [Prior Art] - Two electronic storage devices _ data transmission can be carried out in the following ways: disk operation, other storage devices (disc, M〇 and direct electrical connection (LL3/LL5 transmission line), through regional network , serial bus transmission line, etc. But in which 'the use of disk operation, its small storage capacity and slow transmission speed is its shortcoming. At present, the memory capacity of each disk is only about 144MB. For example, the file to be transmitted exceeds 1.44ΜΒ. When you can only choose to slice copies or to slice compression, it is inconvenient and inefficient. Use other storage devices = 〇 and ΖΠ >), although the storage media capacity is large, but when you want to move a large amount of data, you must First, the file of the A computer is burned into a disc by its relative storage medium (burner, Mo or ZIP reader) or stored on M〇 and ZIP. Then, the slot file is copied to the B computer via the CD player, Mo or ZIP reader in the B computer, and the program is not convenient enough. Using the LL3/LL5 transmission line, this method has the disadvantage of not using the k point of the storage medium but its slow transmission speed (230 Kbps), occupying the lpt port and short effective transmission distance. It is a very convenient way to transmit via the regional network via the = route, and its application area is limited. Data transfer between computers and network routes is required between computers. In addition to the office, there is no regional network for the average family. 1286694 18236twf.doc/g 2 Environment 'Unless there are more than three computers in the average family, there will be a zone. For modern people, it is common for a family to have both a laptop and a laptop. A large amount of data transmission between the two computers is often an annoying problem if it is not via the local area network. Can be solved by using a universal serial cable (cable data link cable)

而目前市面上的萬用序列匯流排傳輸線係支 面規格(哩^匕兩㈣腦都t魏安裝廠商 η=動程式’才能進行資料的傳輸。換言之,為了在 合使用現有之萬科_流排傳輸線,使用者必 驅動程式。並且,安裂驅動程式之後,必須重 二才能經此傳輸線進行傳輸動作。很明顯的,現 1的相序舰流排傳輸線對於使用者而言,相當的不方 【發明内容】 於次^明之主要目的即在提供—種在兩部主機之間傳 翁=的H其储由傳輸線來進行,根據本發明將能 便不萬要使用者手動安裝驅動程式,對於使用者相當的方 ΙΗΐίί明提供—種在第—主機與第二主機之間藉由傳 主機盥兮结 储存早兀,以及兩連接器分別連接該第一 一〜弟二主機,傳輸的方法包括由第一主機向_制哭 =狀態以了解第二主機是否欲傳送二t ,苐-主機也向控制器詢問傳輸狀態以了解第一主機 6 1286694 18236twf.doc/g • S否欲傳送資料至第二主機;如果[主通知控制器 將傳^貧,給第二主機,那麼控制器便將此訊息回應給第 一^機,第二主機再通知控制器進行資料傳輸,然後,控 制器便將第-主機傳送來的資料傳送給第二主機。 *為讓本發明之上述和其他目的、雜和優點能更明顯 易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說 明如下。 ^ 【實施方式】 為了便於了解本發明之特點,以下的說明仍以萬用序 列槔匯流排傳輸線為例闡釋本發明之技術内容。 根據本發明之USB傳輸線係如第一圖所示。此傳輸 線^括連接器1〇與12以連接第—主機與第二主機,一儲 存單7G 16連接一控制器14,控制器14透過纜線18分別 與連接器、10與連接器12相連接。此控制器中並包括有一 暫存益142。在不同的實施例中,儲存單元16可以是例如 ❿ ㈣記憶體,電子可抹除可料化唯讀記憶,遮罩唯讀記 憶體或者硬碟。在此實施例中,連接器10與12皆為萬用 序列匯流排連接器,而第一主機與第二主機則為電腦。。 不同於現行的USB傳輸線,根據本發明的控制器14 係支援大量儲存裝置類別(Mass storage Class)的標準,能 夠被第一主機及第二主機之作業系統提供的大量儲存裝置 類別驅動程式所驅動。在儲存單元16更儲存一應用程式 162支援第—主機與第二主機之作業系統中關於自動執^ 應用軟體的功能,以便第一或第二主機與此傳輸線連接 7 1286694 】8236iw£doc/g 時,能夠自動的執行程式162。舉 所出版的作業系統能夠在鱼 °有mdows 館存裝置⑽aut。f人繼時,執行 輸方法考^圏與圖第說明根據本發明之傳 驟广第—主機的作㈣ 其基本-貝料,控制器14的回應將表示其錢大 旬2 類別。然後進行步驟S22,Μ 一 + ^ 子裝置 大量儲存裝置類別驅動m一機使用其作業系統中的 起第-主機與㈣作因而建立 中’ 主機將此傳輸線視為 ^ 的建立傳輸通道。同樣地,連接 自動 是經過相同的步驟而建立起第: 機後’也 傳輪通道。 (弟一主機與控制盗14之間的 兩主機與傳輸線之_傳輸通道建立後, 用㈣162便向控制器14詢問傳輸峰 Ί一主钱疋否欲傳送資料至第一主機。在步 的、心=制為14的回應表示第二主機(相對於第二主機 :Γ;機)要傳送資料至該第-主機,則第-4』 進行資料傳送,即步驟S28。若控制 =° 機並沒有要傳送資料至該第-主機,則= 程it詢問控制器14。至於在第二主機上執行的心 式2亦是進行相同的步驟。簡言之,在第-主機= 1286694 18236twf.d〇c/g =機上,行的應用程式,皆係藉由與控制器14之間的問 。來了解遂端主機是否有資料要進行傳送。 傳送資料的流程係如第三圖所示 ;製到第二主機為例,在使用者的操作後,在第=! :的應雜式162即通知控㈣14有資料要傳送給 2禮即步驟謂,接下來將根據控制器U的回應進行資 =的傳送,即步驟S32。若控制器14的回應表示可進行傳 =則第—主機上執行的應用程式16 2便㈣進行資料的 被傳送__的暫存請,再由心 ^將暫存益142内的資料傳送給第二主機。若控制器 的回應表示第二主機要先傳送資料過來,卿—主機上 :用程式162便先進行資_接收,並 廷育料到第二主機的動作。 丹進仃傳 由上述的說明可以了解,控制器14的工作包 第:=:ί二主,間的資料傳輸。資料的傳輪係藉由β 的詢機上執行的應用咖 用者===傳輸線及其傳輸方法,並不需要使 主機,㈣ί式,㈣者將可更為枝地進行兩部 沪、/、、今可以疋指令。因而藉由本發明對於遠 :。、的私案進行其他的動作,例如刪除檔案,亦是可能 9 12866¾ 丨 twf.doc/g 雖然本發明已以較佳實施例揭露如上,然 限^本發明,,任何熟f此技#者,在不本發明之於二 ^範圍内’當可作些許之更動與潤飾,因此本發明之= 範圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 圖 第一圖繪示為本發明之傳輸線的示意At present, the universal serial bus line transmission line specification on the market (哩^匕 two (four) brains t-installing manufacturers η=moving program' can carry out data transmission. In other words, in order to use the existing Vanke_flow The transmission line, the user driver, and the driver must be re-transmitted to transmit through the transmission line. Obviously, the current phase-phase ship transmission line is quite not for the user. The main purpose of the second aspect is to provide a kind of H between the two hosts, and the storage is performed by the transmission line. According to the present invention, the user can manually install the driver. For the user's equivalent party, the method of transmitting is performed between the first host and the second host by transmitting the host node, and the two connectors are respectively connected to the first one to the second host. Including the first host to _ system crying = state to know whether the second host wants to transmit two t, the 苐-host also asks the controller for the transmission status to know the first host 6 1286694 18236twf.doc/g • S To send data to the second host; if [the main notification controller will send the poor to the second host, then the controller will respond to the first machine, and the second host will notify the controller to transfer the data, and then The controller transmits the data transmitted by the first host to the second host. * To make the above and other objects, advantages and advantages of the present invention more apparent, the preferred embodiments are described below, The following is a detailed description of the present invention. [Embodiment] In order to facilitate the understanding of the features of the present invention, the following description still exemplifies the technical content of the present invention by taking a universal serial bus and a bus transmission line as an example. The USB transmission line according to the present invention is as follows. As shown in the first figure, the transmission line includes connectors 1 and 12 for connecting the first host and the second host, and a storage unit 7G 16 is connected to a controller 14, and the controller 14 is connected to the connector through the cable 18, respectively. Connected to the connector 12. The controller includes a temporary storage benefit 142. In various embodiments, the storage unit 16 can be, for example, a memory device, an electronic erasable materializable read-only memory, a mask. only Read the memory or the hard disk. In this embodiment, the connectors 10 and 12 are both universal serial bus connectors, and the first host and the second host are computers. Unlike the current USB transmission line, according to the present The controller 14 of the invention supports a standard of Mass Storage Class, which can be driven by a large number of storage device types provided by the operating systems of the first host and the second host. An application is stored in the storage unit 16. The program 162 supports the function of automatically executing the application software in the operating system of the first host and the second host, so that the first or second host can connect to the transmission line 7 1286694 】 8236iw£doc/g, and the program 162 can be automatically executed. . The published operating system is capable of storing the device (10) aut in the fish. In the case of the f-man, the method of performing the transmission method and the description of the invention according to the invention are as follows: (4) The basic-beauty, the response of the controller 14 will indicate its money 2 category. Then, in step S22, the mega-storage device drives the m-machine to use the first-host and (four) in the operating system to establish the medium-side host to regard the transmission line as the established transmission channel of ^. Similarly, the connection is automatically established through the same steps: the rear of the machine is also the transmission channel. (After the establishment of the two masters and the transmission line _ transmission channel between the host and the control thief 14, use (4) 162 to query the controller 14 for the transmission peak 主 a master money, whether to send data to the first host. The response of heart = 14 indicates that the second host (relative to the second host: Γ; machine) transmits data to the first host, then -4" performs data transfer, that is, step S28. If control = ° machine If there is no data to be transmitted to the first host, then = it asks the controller 14. As for the heart 2 executed on the second host, the same steps are performed. In short, at the first host = 1286694 18236twf.d 〇c/g = on-board, the application of the line, through the question with the controller 14, to know whether the terminal host has data to be transmitted. The process of transmitting data is shown in the third figure; For example, if the second host is used, after the user's operation, in the first =!: the error 162, the notification control (four) 14 has data to be transmitted to the 2 ritual step, and then according to the response of the controller U. Transfer of the capital = step S32. If the response of the controller 14 indicates that the transfer is possible = then the first The application 16 executed (4) will be transferred to the temporary storage of the data__, and then the data in the temporary storage benefit 142 will be transmitted to the second host. If the response of the controller indicates that the second host must first Send the data over, Qing - host: the program 162 will first carry out the _ receiving, and the nurturing to the second host's action. Danjin rumor can be understood from the above description, the controller 14's work package: = : ί 二主, Between the data transmission. The data transmission is carried out by the application of the user on the β inquiry machine === transmission line and its transmission method, and does not need to make the host, (4) ί, (4) will be It is possible to carry out two orders in Shanghai, /, and now. Therefore, by the present invention, other actions such as deleting files may be performed on the private case of the remote, such as 9 128663⁄4 丨twf.doc/g although this The invention has been disclosed in the above preferred embodiments, and is not limited to the invention, and any of the inventions may be modified and retouched in the scope of the invention. The scope is subject to the definition of the scope of the patent application attached. Brief Description of the Drawings Fig. 1 is a schematic view of a transmission line of the present invention

第二圖與第三圖繪示本發明之傳輪方法流程圖。 【主要元件符號說明】 10 :連接器 12 :連接器 14 :控制器 142 :暫存器 16 :儲存單元 162 :應用程式The second and third figures illustrate a flow chart of the method of the wheel of the present invention. [Main component symbol description] 10 : Connector 12 : Connector 14 : Controller 142 : Register 16 : Storage unit 162 : Application

S20〜S28 :本發明實施例的步雜 S30〜S32 :本發明實施例的步驟S20~S28: Steps of the embodiment of the present invention S30~S32: steps of the embodiment of the present invention

Claims (1)

1286694 18236twf.doc/g 十、申請專利範圍: 1、一種在第一主機上藉由傳輸線接收第二主機資料 之方法,該傳輸線包括,一控制器支援大量儲存裝置類別, 一儲存單元,以及兩連接器分別連接該第一主機與該第二 主機,該方法包括: 向該控制器詢問傳輸狀 傳送資料至第一主機;1286694 18236twf.doc/g X. Patent Application Range: 1. A method for receiving a second host data by a transmission line on a first host, the transmission line comprising: a controller supporting a plurality of storage device categories, a storage unit, and two The connector is respectively connected to the first host and the second host, and the method includes: querying the controller for transmitting the data to the first host; 〃若該控制器的回應表示該第二主機要傳送資料至該 第一主機,則通知該控制器進行資料傳送;以及 若該控制器的回應表示該第二主機並沒有要傳送資 料至該第-主機,則再次向該控制器詢問傳輪狀態。、 ^如請求項i所述之方法,其中更包括在^資料傳 运完成後,將結果傳送給該控制器。 包括;旨令“求項1所述之方法’其中該傳送的資料内容 輸^、如睛未項1所述之方法,其中該傳輪線為傳 資二方:種=一==之間 別,-儲存單元=:!:制咖大量儲存裝置類 第二主機,財法=兩連接❹別連接該第—主機與該 機向該控制器詢問傳輪狀態以了解兮第-主枝疋否攸傳送資料至第一主機; 人彖一 該第二主機向該控制器詢問傳輪狀態以了解該第— I286^§34twf.d〇c/g •主機是否欲傳送資料至該第二主機; 若該第一主機先通知該控制器將傳送資料給第二主 機,則該控制器將此訊息回應給該第二主機; 該第二主機通知該控制器進行資料傳輸;以及 該控制器將第一主機傳送來的資料傳送給該第二主 機。 6、 如請求項5所述之方法,其中更包括該第一主機 在完成資料傳輸後,將結果傳送給該控制器。 7、 如請求項5所述之方法,其中該傳送的資料内容 包括指令。 8、 如請求項5所述之方法,其中該傳輸線為USB傳 輸線。〃If the response of the controller indicates that the second host wants to transmit data to the first host, notify the controller to perform data transfer; and if the controller responds that the second host does not send data to the first host - The host, then ask the controller for the status of the transmission. The method of claim i, further comprising transmitting the result to the controller after the data transfer is completed. Including the method of claim 1, wherein the method of transmitting the content of the data is as described in claim 1, wherein the pass line is a capital transfer: between ===== No, - storage unit =:!: the second host of the mass storage device, the financial method = two connections to connect the first - the host and the machine ask the controller for the status of the transfer to understand the first - main branch Otherwise, the data is transmitted to the first host; the second host asks the controller for the status of the transfer to know the first - I286^§34twf.d〇c/g • whether the host wants to transmit data to the second host If the first host first informs the controller that the data will be transmitted to the second host, the controller responds to the second host; the second host notifies the controller to perform data transmission; and the controller will The data transmitted by the first host is transmitted to the second host. The method of claim 5, further comprising: the first host transmitting the result to the controller after completing the data transmission. The method of item 5, wherein the transmitted material content comprises 8. The method of claim 5, wherein the transmission line is a USB transmission line. 1212
TW94133937A 2005-09-29 2005-09-29 The method for transmitting data between two hosts TWI286694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW94133937A TWI286694B (en) 2005-09-29 2005-09-29 The method for transmitting data between two hosts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW94133937A TWI286694B (en) 2005-09-29 2005-09-29 The method for transmitting data between two hosts

Publications (2)

Publication Number Publication Date
TW200712904A TW200712904A (en) 2007-04-01
TWI286694B true TWI286694B (en) 2007-09-11

Family

ID=39459367

Family Applications (1)

Application Number Title Priority Date Filing Date
TW94133937A TWI286694B (en) 2005-09-29 2005-09-29 The method for transmitting data between two hosts

Country Status (1)

Country Link
TW (1) TWI286694B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8516079B2 (en) 2008-09-25 2013-08-20 Aten International Co., Ltd. Remote desktop control system using USB interface and method thereof
US8521926B2 (en) 2008-09-25 2013-08-27 Aten International Co., Ltd. Remote desktop control system using USB interface and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8516079B2 (en) 2008-09-25 2013-08-20 Aten International Co., Ltd. Remote desktop control system using USB interface and method thereof
US8521926B2 (en) 2008-09-25 2013-08-27 Aten International Co., Ltd. Remote desktop control system using USB interface and method thereof
TWI416330B (en) * 2008-09-25 2013-11-21 Aten Int Co Ltd Remote desktop control system using usb interface and method thereof

Also Published As

Publication number Publication date
TW200712904A (en) 2007-04-01

Similar Documents

Publication Publication Date Title
TWI338222B (en) Method and system for allowing a media player to transfer digital audio to an accessory
KR101190426B1 (en) Synchronizati0n methods and systems
TW200414015A (en) USB control circuit and operation method applied in computer-to-computer transmission
JP5387368B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP2004206496A (en) Storage system and data backup method for the same
JP2002014777A (en) Data moving method and protocol converting device, and switching device using the same
TW200846920A (en) Interfacing an external attachment device to a computing device
JP2007280261A (en) Portable type virtual memory apparatus which makes equipment on network sharable
CN102761579A (en) Method and system utilizing storage area network for data transmission
TW200945043A (en) Bridge device for transmitting data, its control chip and method thereof
TWI286694B (en) The method for transmitting data between two hosts
JP2007035024A (en) Network-attached storage device having connection to local user device
WO2011153755A1 (en) Method and device for data transmission
TW200408956A (en) Serial bus disk extender and portable storage device
WO2024032474A1 (en) Device access method, data exchange method and related device
WO2013189388A2 (en) Usb network card access method, usb network card and pc
TWI498739B (en) Remote control system and control method
TWI239508B (en) Storage device controller apparatus, storage system and storage method
TWM284064U (en) A transmission line for data transmission and data storage
TW201101020A (en) Data backup apparatus and data backup method
TWI238971B (en) Built-in Multi-Card-Reader for a direct memory-data transmitting system and the device using the same
WO2015000294A1 (en) Hard disk and method for forwarding and obtaining hard disk data
KR101592591B1 (en) A multimedia system converting usb host and usb device
TWI377812B (en) Method of realizing automatic dial-up connection of computer to internet via automatic installation and apparatus thereof
TWI299452B (en) 1 to multiple usb-disk data copy system