TWI228659B - Plug and play electrical product and driving method thereof - Google Patents

Plug and play electrical product and driving method thereof Download PDF

Info

Publication number
TWI228659B
TWI228659B TW93100109A TW93100109A TWI228659B TW I228659 B TWI228659 B TW I228659B TW 93100109 A TW93100109 A TW 93100109A TW 93100109 A TW93100109 A TW 93100109A TW I228659 B TWI228659 B TW I228659B
Authority
TW
Taiwan
Prior art keywords
electronic product
plug
play
driver
read
Prior art date
Application number
TW93100109A
Other languages
Chinese (zh)
Other versions
TW200523745A (en
Inventor
Tonie Kuan
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 TW93100109A priority Critical patent/TWI228659B/en
Application granted granted Critical
Publication of TWI228659B publication Critical patent/TWI228659B/en
Publication of TW200523745A publication Critical patent/TW200523745A/en

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Stored Programmes (AREA)

Abstract

A driving method for a plug and play electrical product is provided. The plug and play electrical product is connected to a first electrical product. Here, the plug and play electrical product is determined as a device, which can be read and written, by the first electrical product. A first driver is loaded and set up by the first electrical product. The first driver is loaded by the first electrical product via a first transmission port. The plug and play electrical product is pulled out of the first electrical product. Then, The plug and play electrical product is reconnected to the first electrical product and driven by the first driver to simulate at least a second transmission port.

Description

1228659 ___案號 93100109 _车月日_修正___—— 五、發明說明(1) 【發明所屬之技術領域】 本發明是有關於一種隨插即用電子產品,且特別是有 關於一種具有自動安裝驅動程式之功能的隨插即用電子產 品及其驅動方法。 【先前技術】 通用序列匯流排(Uni versa 1 Serial Bus,以下簡稱 為USB)是目前廣泛應用在個人電腦上的一種標準介面,它 提供了許多的功能,例如:隨插隨用、纜線供電、多裝置 同時串聯、高傳輸速度、即插即用(Η 〇 t p 1 u g )以及統一的 連插頭形式等。 由於USB介面有隨插即用(plug & piay)的功能,即個 人電腦可以自動偵測所連接的設備供使用者使用。此外, USB介面的規格亦具有線上即插即用(H〇t piUg_in)的功 能,其可以在電腦運作當中,將設備連接上去,電腦主機 即可以自動偵測到所連接的設備,無需再經過重新開機的 步驟,即可讓使用者使用新連上的週邊設備。同樣地,在 移除週邊設備時,電腦主機亦可自動偵測到周邊設備已被 移除。 ☆由於USB具有上述多種功能,因此USB的相關技術越來 但目前市面上仍有多數的電子產品是藉由電 月自的傳、、先界面,例如是序列埠(s e r i a 1 p 0 r t )爽盘 電腦進行資料傳輸,因此後期便發展出_種 / 〃 1U人 傳輸裝置可為目前電腦周邊已知輸入端,並且此 記憶體的記憶元件,以便於儲存驅動程式, /員似决閃 波具有USB介1228659 ___ Case No. 93100109 _ Che Yue Ri _ Amendment ___—— V. Description of the invention (1) [Technical field to which the invention belongs] The present invention relates to a plug-and-play electronic product, and in particular to a device having Plug-and-play electronic products for automatically installing driver functions and driving methods thereof. [Previous technology] Universal serial bus (hereinafter referred to as USB) is a standard interface widely used in personal computers. It provides many functions, such as plug and play, and cable power supply. , Multiple devices are connected in series at the same time, high transmission speed, plug and play (Η 〇tp 1 ug) and a unified form of connecting plugs. Since the USB interface has a plug & piay function, the personal computer can automatically detect the connected device for the user's use. In addition, the specification of the USB interface also has the function of online plug and play (H0 piUg_in), which can connect the device while the computer is operating, and the host computer can automatically detect the connected device without going through Rebooting steps will allow users to use the newly connected peripherals. Similarly, when the peripheral device is removed, the host computer can also automatically detect that the peripheral device has been removed. ☆ Because USB has the above-mentioned multiple functions, USB-related technologies are getting more and more. However, most electronic products on the market are still based on the transmission and the first interface, such as serial port (seria 1 p 0 rt). Disk computer for data transmission, so later developed _ species / 〃 1U human transmission device can be known input terminals around the current computer, and this memory's memory element, in order to store the driver program, USB interface

1228659 _案號 93100109_年月日__ 五、發明說明(2) 面的輸出端。則原本以傳統介面(例如是序列璋)傳輸資 料的電子產品即可藉此傳輸裝置而轉換為以USB介面傳輸 資料。 然而,若欲利用此種習知的傳輸裝置將資料由電子產 品中傳輸至個人電腦,則必須先在電腦的作業系統中安裝 傳輸裝置的驅動程式,才能進行資料的傳輸,因此對使用 者來說較為不便。 【發明内容】 因此,本發明的目的就是提供一種隨插即用電子產 品,可將以序列埠傳輸資料的電子產品轉換為以USB介面 傳輸資料。 本發明的另一目的就是提供一種自動安裝驅動程式的 方法,以增進一般使用者在使用電子產品進行傳輸資料時 的便利性。 本發明的再一目的就是提供一種傳輸裝置的驅動方 法,可自動安裝此傳輸裝置的驅動程式,並模擬出一傳輸 介面埠。 本發明提出一種隨插即用電子產品,適用於在第一電 子產品與第二電子產品間傳輸資料。而此裝置主要是由第 一傳輸介面埠、第二傳輸介面埠、控制器以及唯讀記憶體 所組成。其中,第一傳輸介面埠係用以將隨插即用電子產 品耦接至第一電子產品,第二傳輸介面埠係用以將隨插即 用電子產品耦接至第二電子產品。 控制器係用以控制隨插即用電子產品之内部電路及輸1228659 _Case No. 93100109_ 年月 日 __ V. Description of the invention (2) Output of the surface. Electronic products that used to transmit data using a traditional interface (such as a serial port) can then be converted to data using a USB interface. However, if you want to use this conventional transmission device to transfer data from an electronic product to a personal computer, you must first install a driver for the transmission device in the computer's operating system before you can transfer the data. More inconvenient. [Summary of the Invention] Therefore, an object of the present invention is to provide a plug-and-play electronic product that can convert an electronic product that transmits data through a serial port into a USB interface that transmits data. Another object of the present invention is to provide a method for automatically installing a driver, so as to improve the convenience of general users when using electronic products to transmit data. Another object of the present invention is to provide a driving method of a transmission device, which can automatically install a driver of the transmission device and simulate a transmission interface port. The invention proposes a plug-and-play electronic product, which is suitable for transmitting data between a first electronic product and a second electronic product. The device is mainly composed of a first transmission interface port, a second transmission interface port, a controller, and a read-only memory. The first transmission interface port is used to couple the plug-and-play electronic product to the first electronic product, and the second transmission interface port is used to couple the plug-and-play electronic product to the second electronic product. The controller is used to control the internal circuit and output of plug-and-play electronic products.

12594twf1.ptc 第7頁 1228659 _案號93100109 年月日 修正 五、發明說明(3) 該。一藉介 法一將子之安 至式第可輸 方第先電。動 接程使品傳 此此係一置自 耦動,產二 ,而法第裝並 係驅品子第 法,方,的取 則一產電一 方式此時能讀 體之子一另 的程。此功中 憶品電第為 式動中,寫品 記產一,擬 程驅品品讀產 讀子第且模 動一產產具子 唯電至而埠 驅第子子為電 ,用出。面 裝裝電電讀用 品即輸式介 安安用用判即 產插而程輸 動中即即品插 子隨器動傳 自品插插產隨 此裝中藉 一第 知為, 將此置係。第一 已換ス 先將裝品式使少 邊轉P 首會此產程,至 周品 ο 係品從子動接出 腦產I 法產品電驅連擬 電子I 方子產一 一新模 前電It 此電子第第重並 目的卜 傳 ,一電,到再, 以面立、 法第一中取,置 將介」h 高 方,第其讀除裝 可輸^ 動時以。中拔此 品傳可 驅此著式置上動 產為P 的,接程裝品驅 子作ait 置品。動此產而 電} 出信號至第一及第二電 控制器,並至少儲存有 此驅動程式可藉由控制 電子產品自動安裝此驅 由此驅動程式而將第一 面埠。 本發明還提出一種 係適用於在第一電子產 驅動程式係儲存於一隨 第一電子產品耦接至隨 產品會將隨插即用電子 後再以第一電子產品從 裝第一驅動程式。 本發明提出一種裝 裝置耦接至第一電子產 置判讀為具有讀寫功能 讀取並自動安裝第一驅 由一第一傳輸介面而從 之後將裝置從第一 產品藉由第一驅動程式 二傳輸介面。 本發明之隨插即用 輸入端(例如是序列埠 以USB埠作為傳輸介面12594twf1.ptc Page 7 1228659 _Case No. 93100109 Amendment V. Description of Invention (3) This. One borrowing method and the other one will be the first to the first. The connection process makes the product transfer to be a self-coupling mechanism to produce two, and the law is installed and driven to drive the product, the method is to generate electricity, and the method can read the son of the body at this time, and another process. . In this work, Yipin Electronics is in motion, writes a product and writes a product, plans to drive a product to read a product, reads a product, and molds a product to produce a product. Only electric power is used to drive the product. Surface-mounted electrical and electronic reading products that are used for input-type safety and security are used for production and insertion, while the process is being carried out. . The first has been changed. First, the product type will be transferred to Shao P. This process will be completed until the week. Ο Series products from the child's brain I method products electric drive with quasi electronics I square products one by one new model. It is the most important and purposeful dissemination of this electron. Once it is called, it will be taken first, and the first will be taken, and the first will be set, and it will be used when it is read and loaded. This product pass can be used to drive the movable property P, and the product driver can be used as the ait product. Actuating this property and electricity} outputs signals to the first and second electrical controllers, and at least stores this driver. The driver can automatically install this driver by controlling electronic products. This driver will connect the first port. The invention also proposes a method for storing the first electronic product driver program in a random first electronic product which is coupled to the random product and then plug-and-play electronics, and then the first electronic product is used to install the first driver program. The present invention provides a device that is coupled to a first electronic device. The device has a read-write function and reads and automatically installs a first drive through a first transmission interface. Transmission interface. The plug-and-play input terminal of the present invention (such as a serial port and a USB port as a transmission interface)

12594twf1.ptc 第8頁 1228659 _案號 93100109_年月日__ 五、發明說明(4) 利用本發明之隨插即用電子產品即可轉換已知電腦周邊為 U S B埠傳輸,而在未配置有序列埠傳輸介面的電腦主機上 使用以序列埠作為傳輸介面的電子產品,例如是印表機、 手機、條碼機以及PDA等等。 而且,本發明還可以自動安裝此隨插即用電子產品以 及電子產品的驅動程式。對使用者而言,可節省手動安裝 驅動程式所需花費的時間,增加使用上的便利性。 為讓本發明之上述和其他目的、特徵和優點能更明顯 易懂,下文特舉一較佳實施例,並配合所附圖式,作詳細 說明如下。 【實施方式】 本發明的特徵在於一可使電腦主機自動安裝驅動程式 的隨插即用電子產品,以增進使用者的便利性。且本發明 之隨插即用電子產品還具有轉換傳輸介面的功能,可於兩 種不同之傳輸介面間傳輸資料。 第1圖係繪示在本發明一較佳實施例中,利用本發明 之隨插即用電子產品來進行資料傳輸的方塊示意圖。請參 照第1圖,隨插即用電子產品1 0 0包括傳輸介面埠1 0 2、傳 輸介面谭1 0 4、控制器1 0 6以及唯讀記憶體1 0 8。其中,傳 輸介面埠1 0 2係用以在隨插即用電子產品1 0 0與第一電子產 品1 1 0間傳輸資料,傳輸介面埠1 0 4係用以在隨插即用電子 產品1 0 0與第二電子產品1 1 2間傳輸資料。而唯讀記憶體 1 0 8則係耦接至控制器1 0 6,且唯讀記憶體1 0 8中儲存有隨 插即用電子產品1 0 0的驅動程式。其中,唯讀記憶體1 〇 8例12594twf1.ptc Page 8 1228659 _Case No. 93100109_ Year Month Day__ V. Description of the Invention (4) Using the plug-and-play electronic products of the present invention, it is possible to convert a known computer peripheral to a USB port for transmission. Computers with serial port transmission interfaces use electronic products with serial ports as transmission interfaces, such as printers, mobile phones, barcode printers, and PDAs. Moreover, the invention can also automatically install the plug-and-play electronic product and the driver of the electronic product. For the user, it can save the time required to manually install the driver and increase the convenience in use. In order to make the above and other objects, features, and advantages of the present invention more comprehensible, a preferred embodiment is given below and described in detail with reference to the accompanying drawings. [Embodiment] The present invention is characterized by a plug-and-play electronic product that enables a host computer to automatically install a driver program, so as to improve user convenience. Moreover, the plug-and-play electronic product of the present invention also has a function of converting a transmission interface, and can transmit data between two different transmission interfaces. FIG. 1 is a block diagram illustrating data transmission using a plug-and-play electronic product of the present invention in a preferred embodiment of the present invention. Please refer to Figure 1. The plug-and-play electronic products 1 0 0 include the transmission interface port 10 2, the transmission interface 1 10 4, the controller 10 6 and the read-only memory 108. Among them, the transmission interface port 102 is used for transmitting data between the plug-and-play electronic product 100 and the first electronic product 110, and the transmission interface port 104 is used for the plug-and-play electronic product 1 Data is transmitted between 0 0 and the second electronic product 112. The read-only memory 108 is coupled to the controller 106, and the read-only memory 108 stores a driver program of the plug-and-play electronic product 100. Among them, 108 cases of read-only memory

12594twf1.ptc 第9頁 1228659 _案號 93100109__年月日__ 五、發明說明(5) 如是可電除可抹除可程式唯讀記憶體(E 1 e c t r i c a 112594twf1.ptc Page 9 1228659 _Case No. 93100109__Year Month Day__ V. Description of the Invention (5) If it is electrically erasable, programmable erasable read-only memory (E 1 e c t r i c a 1

Erasable Programmable ROM ,EEPROM)或是快閃(Flash )唯讀記憶體。 第一電子產品1 1 0例如是電腦主機,而第一傳輸介面 璋1 0 2例如是通用序列匯流排(u n i v e r s a 1 s e r i a 1 b u s, USB )埠。也就是說,隨插即用電子產品丨〇 〇與第一電子產 品1 1 0之間係以U S β埠1 0 2來傳輸資料。而在電腦主機1 〇 〇已 安裝有一作業系統1 2 0 ,而作業系統1 2 〇中則安裝有u S Β大 谷里5己fe裝置的驅動私式116(USB mass storage driver)。且電腦主機100中例如是具有一USB主機(USB h 〇 s t) 1 1 4。其中,U S B主機1 1 4係用以處理利用u S B埠傳輸 的訊號,而USB大容量記憶裝置的驅動程式丨丨6則係用以驅 動以U S B埠傳輸資料的記憶裝置,例如是c D _ R 〇 M或是近期 所發展出的隨身碟等等。亦即,隨插即用電子產品1 〇 〇 一 開始是被設定成具有儲存功能的USB裝置。如此將隨插即 用電子產品1 0 0***第一電子產品11 〇時,便可以先利用作 業系統1 2 0本身的U S B大容量記憶裝置的驅動程式丨丨β來加 以驅動。 第二傳輸介面埠1 0 4例如是序列埠,而第二電子產品 1 1 2則例如是以序列埠作為傳輸介面的電子產品,例如是 手機、掃描器或印表機等等。也就是說,第二電子產品 1 1 2與隨插即用電子產品1 〇 〇之間係藉由序列埠丨〇 4來傳輸 資料。 ’ 特別的是,第一電子產品110中的USB主機114可藉由Erasable Programmable ROM (EEPROM) or Flash read-only memory. The first electronic product 110 is, for example, a computer host, and the first transmission interface 璋 101 is, for example, a universal serial bus (u n i v e r s a 1 s e r i a 1 b s, USB) port. That is to say, the plug-and-play electronic product 丨 〇 〇 and the first electronic product 110 are transmitted through the U S β port 102. On the host computer 100, an operating system 120 has been installed, and the operating system 12 has a USB mass storage driver 116 (USB mass storage driver) installed on the device of the USB driver. In addition, the computer host 100 includes, for example, a USB host (USB h 0 s t) 1 1 4. Among them, the USB host 1 1 4 is used to process signals transmitted by the u SB port, and the driver of the USB mass storage device 丨 6 is used to drive the storage device that transmits data through the USB port, such as c D _ Rom or a recently developed flash drive and so on. That is, the plug-and-play electronic product 100 was originally set as a USB device with a storage function. In this way, when the plug-and-play electronic product 100 is inserted into the first electronic product 110, the driver program of the USB large-capacity memory device of the operating system 1 200 can be used to drive it. The second transmission interface port 104 is, for example, a serial port, and the second electronic product 1 12 is, for example, an electronic product using the serial port as a transmission interface, such as a mobile phone, a scanner, or a printer. That is, data is transmitted between the second electronic product 11 and the plug-and-play electronic product 100 through the serial port 04. ’Specifically, the USB host 114 in the first electronic product 110 may be

第10頁 1228659 修正 曰 案號 93100109 五、發明說明(6) USB大容量記憶裝置的驅動程式丨丨6而使第一 讀取到隨插即用電子產品100,並將其判讀為具u產品110 之裝置,例如USB的CD-ROM裝置。之後再經由;;二寫功能 子產品100中的控制器106而從唯讀記憶體1〇8 =用電 即用電子產品1 〇。的驅動程式u 8。且由於儲存於下栽,插 體108的驅動程式具有自動執行(aut〇_run)的功能唯。頃思 插即用電子產品1〇〇的驅動程式118被下載至第 1 1〇時,便會因為此自動執行的功㊣,將 =系統12。。此時,作業系統12〇會依據隨插 =匕 :仏〇的驅動程式118而將隨插即用電子產品100模擬為 輸介面埠,並藉此傳輸介面埠與第二電子產品112進 =貨料傳輸。其中,作業系統丨2 0例如是將隨插即用電子 產品1 0 0模擬為一序列埠。 口之後,當隨插即用電子產品丨〇 〇再次插拔到第一電子 3 rT11 〇,便會以驅動程式11 8來驅動隨插即用電子產品 ,而不是以USB大容量記憶裝置的驅動程式丨丨6來驅動 =岙=用電子產品1 0 0。換句話說,使用者便可以不需要 自仃判斷要下載哪些程式或做哪些選項,便可以將隨插 即用電子產品100自動安裝完畢。 =此,即使第一電子產品丨丨〇上未具有序列埠或者是 1不敷使用時’只要透過本發明之隨插即用電子產品 "一 即#可將以序列璋傳輸資料之電子產品與電腦主機進 饤為料傳輸。 在上述實施例中’若需於作業系統丨2 〇中安裝第二電Page 10 1228659 Revised case number 93100109 V. Description of the invention (6) Driver of USB mass storage device 丨 6, so that the first plug-and-play electronic product 100 is read, and it is interpreted as a product with u 110 devices, such as a USB CD-ROM device. After that, the second write function is performed from the controller 106 in the sub-product 100 from the read-only memory 108 = electricity is used electronic products 1 0. Driver u 8. And because it is stored in the download, the driver of the plug 108 has a function of automatic execution (aut_run). When the driver 118 of the plug-and-play electronic product 100 is downloaded to the 110th, it will be equal to the system 12 because of this automatically performed function. . At this time, the operating system 12 will simulate the plug-and-play electronic product 100 as an input interface port according to the driver 118 of the plug-in = dagger: 仏 〇, and use this to transmit the interface port and the second electronic product 112 to the goods. Material transfer. Among them, the operating system 20 emulates, for example, a plug-and-play electronic product 100 as a serial port. After the port, when the plug-and-play electronic product 丨 〇〇 plugs into the first electronic 3 rT11 〇, it will use the driver 11 18 to drive the plug-and-play electronic product, instead of the USB mass storage device. Program 丨 丨 6 to drive = 岙 = use electronic products 1 0 0. In other words, the user can automatically install the plug-and-play electronic product 100 without having to determine which programs to download or make options. = This, even if the first electronic product does not have a serial port or is inadequate for use, 'as long as the plug-and-play electronic product of the present invention " 一 即 # can be used to transmit data in serialized electronic products Transfer with the host computer for material transmission. In the above embodiment, ‘if a second power supply is installed in the operating system 丨 2 〇

1228659 _案號 93100109_年月日_ί±ί._ 五、發明說明(7) 子產品1 1 2的驅動程式,則唯讀記憶體1 0 8中可同時儲存有 第二電子產品1 1 2的驅動程式與隨插即用電子產品1 0 0的驅 動程式1 1 8。且第二電子產品1 1 2的驅動程式也可上傳至第 一電子產品110 ,並由第一電子產品110自動進行安裝。 上述實施例係說明應用本發明之隨插即用電子產品時 的配置,而以下將對本發明之隨插即用電子產品的驅動方 法加以詳細描述。 第2圖係繪示本發明之隨插即用電子產品的驅動方法 的步驟流程圖。請參照第2圖,在步驟S 2 0 0中,首先將本 發明之隨插即用電子產品耦接至一電子產品,其例如是耦 接至電腦主機。此時,電腦主機會將隨插即用電子產品辨 識成類似CD-ROM之具有儲存功能的USB裝置,先以電腦主 機之作業系統内建的驅動程式來驅動。接著進行步驟 S 2 0 2,由電腦主機從隨插即用電子產品中下載驅動程式, 此時,因為驅動程式具有自動執行的功能,電腦主機即會 自動安裝驅動程式。且在本實施例中,電腦主機例如是以 U S B傳輸介面來下載驅動程式。 然後進行步驟S 2 0 4,將隨插即用電子產品從電腦主機 上拔除。之後再依照步驟S 2 0 6,重新將隨插即用電子產品 連接至電腦主機上。此時,電腦主機即可藉由步驟S 2 0 2中 所下載的驅動程式來驅動隨插即用電子產品。 值得注意的是,當電腦主機以其所下載的驅動程式驅 動隨插即用電子產品時,電腦主機係將隨插即用電子產品 模擬為一種傳輸介面埠,而在本實施例中例如是將隨插即1228659 _ Case No. 93100109_ 年月 日 _ί ± ί._ V. Description of the invention (7) The driver of the sub product 1 1 2 can only store the second electronic product in the read-only memory 1 0 8 1 1 2 driver and plug-and-play electronics product 1 0 0 driver 1 1 8. In addition, the driver of the second electronic product 112 can also be uploaded to the first electronic product 110 and automatically installed by the first electronic product 110. The above-mentioned embodiment describes the configuration when the plug-and-play electronic product of the present invention is applied, and the driving method of the plug-and-play electronic product of the present invention will be described in detail below. Fig. 2 is a flowchart showing the steps of the method for driving a plug-and-play electronic product according to the present invention. Referring to FIG. 2, in step S 2 0, the plug-and-play electronic product of the present invention is first coupled to an electronic product, for example, it is coupled to a computer host. At this time, the computer host will recognize the plug-and-play electronic product as a USB device with a storage function similar to a CD-ROM, and it will be driven by a driver built into the operating system of the computer host. Then proceed to step S202, where the host computer downloads the driver from the plug-and-play electronic product. At this time, because the driver has an automatic execution function, the host computer will automatically install the driver. And in this embodiment, the host computer downloads the driver using a USB transmission interface, for example. Then proceed to step S204 to unplug the plug-and-play electronic products from the host computer. Then follow step S206 to reconnect the plug-and-play electronics to the host computer. At this time, the host computer can drive the plug-and-play electronic product by the driver downloaded in step S202. It is worth noting that when the host computer drives the plug-and-play electronic product with the downloaded driver, the host computer simulates the plug-and-play electronic product as a transmission interface port. In this embodiment, for example, Plug and play

12594twf1.ptc 第12頁 1228659 _案號 93100109_年月日__ 五、發明說明(8) 用電子產品模擬為序列埠。 此外,在本發明的另一較佳實施例中,在進行步驟 S 2 0 2的同時,電腦主機還可以從隨插即用電子產品中下載 另一電子產品的驅動程式,並自動進行安裝。因此,若利 用此隨插即用電子產品在此電子產品與電腦主機間傳輸資 料,即可節省使用者安裝驅動程式的時間。 由於本發明之隨插即用電子產品中具有一唯讀記憶 體,且本發明係將隨插即用電子產品的驅動程式儲存於此 唯讀記憶體中。而當隨插即用電子產品首次連接至電腦主 機時,電腦主機可藉由一傳輸介面埠(例如是USB介面) 從唯讀記憶體中下載隨插即用電子產品的驅動程式,並於 作業系統中自動執行安裝。因此,在電腦主機上重新拔插 隨插即用電子產品後,即可使作業系統藉由其所安裝的驅 動程式而驅動隨插即用電子產品,並將其模擬為另一種傳 輸介面埠(例如是序列埠),以藉此進行後續的資料傳 輸。 除此之外,本發明還可以將一電子產品的驅動程式存 入隨插即用電子產品的唯讀記憶體中,使其與隨插即用電 子產品的驅動程式同時上傳至電腦主機,並安裝於作業系 統中。且由於重新拔插隨插即用電子產品後,作業系統會 將其模擬為一傳輸介面埠,此時電子產品即可透過此隨插 即用電子產品而與電腦主機連接,並進行資料的傳輸。 由上述可知,本發明之隨插即用電子產品可將電腦周 邊已知輸入端作為傳輸介面的電子產品轉換為以USB埠作12594twf1.ptc Page 12 1228659 _ Case No. 93100109_ Year Month Day __ 5. Description of the invention (8) Use electronic products to simulate a serial port. In addition, in another preferred embodiment of the present invention, at the same time as step S202, the host computer can also download a driver for another electronic product from the plug-and-play electronic product and install it automatically. Therefore, if you use this plug-and-play electronic product to transfer data between this electronic product and the host computer, you can save users time to install the driver. The plug-and-play electronic product of the present invention has a read-only memory, and the present invention stores the driver of the plug-and-play electronic product in the read-only memory. When the plug-and-play electronic product is first connected to the host computer, the host computer can download the driver of the plug-and-play electronic product from the read-only memory through a transmission interface port (such as a USB interface), and The installation is performed automatically in the system. Therefore, after the plug-and-play electronic product is re-plugged in the host computer, the operating system can drive the plug-and-play electronic product through its installed driver and simulate it as another transmission interface port ( Such as a serial port) for subsequent data transfer. In addition, the present invention can also store the driver of an electronic product into the read-only memory of the plug-and-play electronic product, and upload it to the host computer at the same time as the driver of the plug-and-play electronic product, and Installed in the operating system. And since the plug-and-play electronic product is replugged, the operating system will simulate it as a transmission interface port. At this time, the electronic product can be connected to the computer host through the plug-and-play electronic product and perform data transmission. . It can be known from the above that the plug-and-play electronic product of the present invention can convert an electronic product with a known input terminal around the computer as a transmission interface to a USB port as

12594twf1.ptc 第13頁 1228659 -^^^3100109 五、發明說明(9) 為!? f介面,因此可提高盆傳 之隨插即用雷工女 门八得 & 用電子產品即可轉振 ^而在未配置有序列埠傳浐 列埠作為傳輪介面的電 碼機以及PDA等等。 座口口 而且,本發明還可 及:子產品的驅動程式。二J 驅動程式所需花費的時間,择 此外,例如以USB埠 曰 據機之控制與資料訊號的資源 功能。再者,序列埠也因為透 機上,故序列埠的速度也;Ϊ 512000 bps 。 雖然本發明已以較佳實施 限定本發明,任何熟習此技蓺 和範圍内,當可作些許之更& 範圍當視後附之申請專利範圍 曰 修正 輪速度。所以,利用士々 已知電腦周邊為USB傳輪月 介面的電腦主機上使用^ ,例如是印表機、手機、條 女裝此隨插即用電子產品以 用者而言,可節省手動安裝 加使用上的便利性。 、 埠而言,COM璋具備完整數 ’故而U S B淳也間接具備此 過轉換,以USB埠連接到主 相對提升至與USB同等,如 例揭露如上,然其並非用以 者,在不脫離本發明之精神 與潤飾,因此本發明之保護 所界定者為準。12594twf1.ptc Page 13 1228659-^^^ 3100109 V. The description of the invention (9) is the!? F interface, so it can improve the plug-and-play use of the Thunderbolt Female Door Palette & ^ Coders, PDAs, etc., which are not equipped with serial port transmission port as transmission interface.口 口 In addition, the present invention also relates to: a driver for a sub-product. Second, the time required for the J driver. In addition, for example, the USB port is used to control the data and resource functions of the data signal. In addition, because the serial port is also transparent, the speed of the serial port is also Ϊ 512000 bps. Although the present invention has been limited to the present invention by a preferred implementation, any familiarity with this technique and range may be modified slightly & the range is subject to the scope of the patent application attached hereafter to modify the wheel speed. Therefore, it is used on the host computer where Shijie knows that the computer is equipped with a USB interface, such as printers, mobile phones, and women ’s plug-and-play electronic products. For users, manual installation can be saved. Add convenience. As far as COM is concerned, COM 璋 has a complete number. Therefore, USB Chun also has this conversion indirectly. Connecting the USB port to the host is relatively equivalent to USB, as disclosed in the example above, but it is not intended to be used without departing from the present invention. The spirit and finish of the invention are therefore defined by the protection of the present invention.

1228659 _案號93100109_年月日__ 圖式簡單說明 第1圖係繪示在本發明一較佳實施例中,利用本發明 之隨插即用電子產品來進行資料傳輸的方塊示意圖。 第2圖係繪示本發明之自動安裝驅動程式的方法之步 驟流程圖。 【圖式標示說明】 1 0 0 :隨插即用電子產品 1 0 2、1 0 4 ·•傳輸介面埠 1 0 6 :控制器 1 0 8 :唯讀記憶體 1 1 0 :第一電子產品 1 1 2 :第二電子產品 1 1 4 ··通用序列匯流排(U S B )主機 1 1 6 : U S B大容量記憶裝置的驅動程式 1 1 8 :隨插即用電子產品的驅動程式 1 2 0 :作業系統 S200〜S206 :步驟1228659 _Case No. 93100109_ 年月 日 __ Brief Description of Drawings Figure 1 is a block diagram illustrating data transmission using a plug-and-play electronic product of the present invention in a preferred embodiment of the present invention. Fig. 2 is a flowchart showing the steps of a method for automatically installing a driver according to the present invention. [Illustration of Graphical Symbols] 1 0 0: Plug and play electronic products 1 0 2, 1 0 4 · • Transfer interface port 1 0 6: Controller 1 0 8: Read-only memory 1 1 0: First electronic product 1 1 2: Second electronic product 1 1 4 ·· Universal Serial Bus (USB) host 1 1 6: Driver for USB mass storage device 1 1 8: Driver for plug-and-play electronics 1 2 0: Operating system S200 ~ S206: steps

12594twf1.ptc 第15頁12594twf1.ptc Page 15

Claims (1)

1228659 _案號 93100109_年月日__ 六、申請專利範圍 1 · 一種隨插即用電子產品,適用於在一第一電子產品 與一第二電子產品間傳輸資料,該隨插即用電子產品包 括: 一第一傳輸介面埠,用以在該隨插即用電子產品與該 第一電子產品間傳輸資料; 一第二傳輸介面埠,用以在該隨插即用電子產品與該 第二電子產品間傳輸資料; 一控制器,用以控制該隨插即用電子產品之内部電路 及輸出信號至該第一及第二電子產品;以及 一唯讀記憶體,耦接至該控制器,且該唯讀記憶體中 至少存有一第一驅動程式,用以驅動該隨插即用電子產 品,且該第一驅動程式可藉由該控制器而輸出至該第一電 子產品,使該第一電子產品自動安裝該第一驅動程式, 其中,該第一電子產品可藉由該第一驅動程式而將該隨插 即用電子產品模擬為另一第二傳輸介面埠。 2 .如申請專利範圍第1項所述之隨插即用電子產品, 其中該唯讀記憶體中更包括儲存有一第二驅動程式,用以 驅動該第二電子產品,且該第二驅動程式可與該第一驅動 程式同時安裝在該第一電子產品中。 3 .如申請專利範圍第1項所述之隨插即用電子產品, 其中該第一傳輸介面埠為一通用序列匯流排(u n i v e r s a 1 serial bus,USB),該第二傳輸介面埠為一序列埠。 4.如申請專利範圍第1項所述之隨插即用電子產品, 其中該唯讀記憶體包括可電除可抹除可程式唯讀記憶體1228659 _Case No. 93100109_Year Month Date__ VI. Scope of Patent Application 1 · A plug-and-play electronic product, suitable for transmitting data between a first electronic product and a second electronic product, the plug-and-play electronics The product includes: a first transmission interface port for transmitting data between the plug-and-play electronic product and the first electronic product; a second transmission interface port for use in the plug-and-play electronic product and the first electronic product; Data transmission between two electronic products; a controller for controlling internal circuits and output signals of the plug-and-play electronic product to the first and second electronic products; and a read-only memory coupled to the controller And at least a first driver is stored in the read-only memory to drive the plug-and-play electronic product, and the first driver can be output to the first electronic product through the controller, so that the The first electronic product automatically installs the first driver, wherein the first electronic product can simulate the plug-and-play electronic product as another second transmission interface port by using the first driver. 2. The plug-and-play electronic product described in item 1 of the scope of patent application, wherein the read-only memory further includes a second driver program for driving the second electronic product, and the second driver program It can be installed in the first electronic product simultaneously with the first driver. 3. The plug-and-play electronic product according to item 1 of the scope of patent application, wherein the first transmission interface port is a universal serial bus (USB), and the second transmission interface port is a serial port. 4. The plug-and-play electronic product as described in item 1 of the scope of patent application, wherein the read-only memory includes a programmable read-only memory that can be erased and erased 12594twf1.ptc 第16頁 1228659 _案號 93100109_年月日_ifi_ 六、申請專利範圍 (Electrical Erasable Programmable ROM ,EEPR0M) o 5 .如申請專利範圍第1項所述之隨插即用電子產品, 其中該唯讀記憶體包括快閃(F 1 ash )唯讀記憶體。 6. —種自動安裝驅動程式的方法,適用於在一第一電 子產品中安裝一第一驅動程式,該自動安裝驅動程式的方 法包括: 將一隨插即用電子產品耦接至該第一電子產品,該第 一電子產品係將該隨插即用電子產品判讀為具讀寫功能的 裝置,且該隨插即用電子產品中儲存有該第一驅動程式; 以及 利用該第一電子產品讀取並自動安裝該第一驅動程 式。 7. 如申請專利範圍第6項所述之自動安裝驅動程式的 方法,其中該第一電子產品係藉由一第一傳輸介面而從該 隨插即用電子產品中讀取到該第一驅動程式。 8. 如申請專利範圍第6項所述之自動安裝驅動程式的 方法,其中在該第一電子產品讀取並安裝該第一驅動程式 後,更包括以該第一電子產品由該隨插即用電子產品中讀 取一第二驅動程式,並進行安裝,其中該第二驅動程式係 用以驅動一第二電子產品,且該第二電子產品係藉由該隨 插即用電子產品而將資料傳輸至該第一電子產品。 9 . 一種隨插即用電子產品的驅動方法,包括: 將一隨插即用電子產品耦接至一第一電子產品,該第 一電子產品係將該隨插即用電子產品判讀為具有讀寫功12594twf1.ptc Page 16 1228659 _ Case No. 93100109_ Year Month _ifi_ VI. Patent Application Scope (Electrical Erasable Programmable ROM, EEPR0M) o 5. According to the plug-and-play electronic products described in item 1 of the patent application scope, The read-only memory includes a flash (F 1 ash) read-only memory. 6. —A method for automatically installing a driver, suitable for installing a first driver in a first electronic product. The method for automatically installing a driver includes: coupling a plug-and-play electronic product to the first An electronic product, the first electronic product interpreting the plug-and-play electronic product as a device with a read-write function, and the plug-and-play electronic product stores the first driver program; and using the first electronic product Read and install the first driver automatically. 7. The method for automatically installing a driver as described in item 6 of the scope of patent application, wherein the first electronic product reads the first driver from the plug-and-play electronic product through a first transmission interface. Program. 8. The method for automatically installing a driver as described in item 6 of the scope of patent application, wherein after the first electronic product reads and installs the first driver, it further includes using the first electronic product by the plug and play Read and install a second driver program from an electronic product, wherein the second driver program is used to drive a second electronic product, and the second electronic product is used by the plug-and-play electronic product to The data is transmitted to the first electronic product. 9. A method for driving a plug-and-play electronic product, comprising: coupling a plug-and-play electronic product to a first electronic product, the first electronic product interpreting the plug-and-play electronic product as having a read Write work 12594twfl.ptc 第17頁 1228659 _案號93100109_年月日__ 六、申請專利範圍 能’且該隨插即用電子產品中儲存有一第一驅動程式; 利用該第一電子產品讀取並自動安裝該第一驅動程 式; 將該隨插即用電子產品由該第一電子產品上拔除;以 及 將該隨插即用電子產品重新耦接至該第一電子產品, 以使該第一電子產品藉由該第一驅動程式而驅動該隨插即 用電子產品。 1 0 .如申請專利範圍第9項所述之隨插即用電子產品的 驅動方法,其中該第一電子產品係藉由一第一傳輸介面而 從該隨插即用電子產品中讀取到該第一驅動程式。 1 1 .如申請專利範圍第1 0項所述之隨插即用電子產品 的驅動方法,其中在該第一電子產品完成安裝該第一驅動 程式後,包括藉由該第一驅動程式驅動該隨插即用電子產 品,而使該第一電子產品模擬出至少一第二傳輸介面,且 該第一傳輸介面與該第二傳輸介面不同。 1 2 .如申請專利範圍第9項所述之隨插即用電子產品的 驅動方法,其中在該第一電子產品讀取並安裝該第一驅動 程式後,更包括以該第一電子產品由該隨插即用電子產品 中讀取一第二驅動程式,並進行安裝,其中該第二驅動程 式係用以驅動一第二電子產品,且該第二電子產品係藉由 該隨插即用電子產品而將資料傳輸至該第一電子產品。12594twfl.ptc Page 17 1228659 _ Case No. 93100109_ Year Month Date __ Sixth, the scope of patent application can be 'and the plug-and-play electronic product has a first driver program stored there; using the first electronic product to read and automatically Install the first driver; unplug the plug-and-play electronic product from the first electronic product; and re-couple the plug-and-play electronic product to the first electronic product so that the first electronic product The plug-and-play electronic product is driven by the first driver. 10. The method for driving a plug-and-play electronic product as described in item 9 of the scope of patent application, wherein the first electronic product is read from the plug-and-play electronic product through a first transmission interface. The first driver. 11. The method for driving a plug-and-play electronic product as described in item 10 of the scope of patent application, wherein after the first electronic product finishes installing the first driver, the method includes driving the first driver through the first driver. The plug-and-play electronic product enables the first electronic product to simulate at least a second transmission interface, and the first transmission interface is different from the second transmission interface. 1 2. The method for driving a plug-and-play electronic product according to item 9 of the scope of patent application, wherein after the first electronic product reads and installs the first driver program, it further includes Read and install a second driver in the plug-and-play electronic product, wherein the second driver is used to drive a second electronic product, and the second electronic product is used by the plug-and-play The electronic product transmits data to the first electronic product. 12594twf1.ptc 第18頁 公告本 Μ年,.r ί—曰 1228659 年ί;月U曰 申請曰期:cf3、 1 、C IPC分類 ........ 申請案號:93100109 中文 隨插即用電子產品及其驅動方法以及自動安裝驅動程式的方法 發明名稱 ?LUG & PLAY ELECTRICAL PRODUCT AND DRIVING METHOD THEREOF ^'ί.4ά4Γ4 铁變 内容是否隹予itito | 〆 I r 英文 發明人 (共1人) 姓名 (中文) 1.管于智 姓名 (英文) l.KUAN, T0NIE /國籍 (中英文) 1.中華民國TW 住居所 (中文: 1.台中市西屯區智惠街117號5樓 住居所 (英文: 1.5F., NO. 117, JHIHHUEI ST., SITUN DISTRICT, TAICHUNG CITY 407, TAIWAN (R. 0. C.) 名稱或 姓名 (中文) 1.瀚邦科技股份有限公司 名稱或 1. OURS TECHNOLOGY INC. 姓名 (英文) 申請人 (共1人) /國籍 (中英文) 1.中華民國TW 住居所 (營業所) (中文) 1.新竹縣竹北市光明六路85號 (本地址與前向貴局申請者相同) 住居所 (營業所) [英文) 1.N0. 85, GUANGMING 6TH RD., JUBEI CITY, HSINCHU, TAIWAN 302, R.O.C. 代表人 (中文) 1.許勝豪 代表人 (英文) l.HSU,SHENG HAUR12594twf1.ptc Announcement of this year M, .r ί—say 1228659 ί; month U application date: cf3, 1, IPC classification ... Application number: 93100109 Chinese plug-in Name of the invention of the electronic product, its driving method, and the method of automatically installing the driver? LUG & PLAY ELECTRICAL PRODUCT AND DRIVING METHOD THEREOF ^ 'ί. 4ά4Γ4 Is the content of the iron change given to itito | 〆I r English inventor (total 1 Person) Name (Chinese) 1. Guan Yuzhi's name (English) l.KUAN, T0NIE / Nationality (Chinese and English) 1. Republic of China TW Residence (Chinese: 1. 5th Floor Residence, 117 Zhihui Street, Xitun District, Taichung City) (English: 1.5F., NO. 117, JHIHHUEI ST., SITUN DISTRICT, TAICHUNG CITY 407, TAIWAN (R. 0. C.) Name or name (Chinese) 1. Hanbang Technology Co., Ltd. or 1. OURS TECHNOLOGY INC. Name (English) Applicant (1 person in total) / Nationality (Chinese and English) 1. TW Residence (Business Office) (Chinese) 1. No. 85, Guangming Liu Road, Zhubei City, Hsinchu County (this address and the former Same application to your office) Residence (Business Office) [English] 1.N0. 85, GUANGMING 6TH RD., JUBEI CITY, HSINCHU, TAIWAN 302, R.O.C. Representative (Chinese) 1. Xu Shenghao Representative (English) l.HSU, SHENG HAUR 第1頁page 1
TW93100109A 2004-01-05 2004-01-05 Plug and play electrical product and driving method thereof TWI228659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93100109A TWI228659B (en) 2004-01-05 2004-01-05 Plug and play electrical product and driving method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93100109A TWI228659B (en) 2004-01-05 2004-01-05 Plug and play electrical product and driving method thereof

Publications (2)

Publication Number Publication Date
TWI228659B true TWI228659B (en) 2005-03-01
TW200523745A TW200523745A (en) 2005-07-16

Family

ID=36013499

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93100109A TWI228659B (en) 2004-01-05 2004-01-05 Plug and play electrical product and driving method thereof

Country Status (1)

Country Link
TW (1) TWI228659B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7743390B2 (en) 2005-07-05 2010-06-22 Istek Co., Ltd. Driving method of a driverless peripheral device with a cross platform
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
US7743390B2 (en) 2005-07-05 2010-06-22 Istek Co., Ltd. Driving method of a driverless peripheral device with a cross platform
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

Also Published As

Publication number Publication date
TW200523745A (en) 2005-07-16

Similar Documents

Publication Publication Date Title
TW201250695A (en) Memory erasing method, memory controller and memory storage apparatus
CN103593319B (en) A kind of serial ports application process supporting hot-swappable and automatic identification outside appurtenances
Strelkov et al. Programming STM32 nucleo platform for IoT education using STM32duino and mbed OS
TW201025011A (en) Automatic-execution signal processing method and apparatus having automatic-execution function
TWI228659B (en) Plug and play electrical product and driving method thereof
TW201810060A (en) Connector with USB form factor, data transmission device and data storage device thereof
TWI322535B (en) Adapter element, conversion apparatus and conversion method
TWI233551B (en) Serial bus disk extender and portable storage device
TWI338840B (en) Expandable express card and its method for isolating noise and method for combining functionalities of the express card with a non-host device
TWI273494B (en) Read only memory (ROM) simulation apparatus
TW594474B (en) Upgrade method of BIOS in notebook computer
TWM496204U (en) Universal power delivery cable, power delivery controller applied to a universal serial bus cable, and universal serial bus cable
TWI766977B (en) Testing devices, non-transient computer-readable medium and methods for testing a device driver software
CN107783793A (en) The method and USB device of automatic identification host operating system
Meruje et al. A tutorial introduction to IoT design and prototyping with examples
TW200731077A (en) USB storage system and control method thereof
TW201118577A (en) Keyboard-video-mouse switch and adapter thereof
CN203967446U (en) The structure-improved of USB transmitting device
US20130343575A1 (en) Card reading apparatus for use with personal handheld device
TW201020865A (en) Mouse with expanding memory capacity and operating method thereof
Bell et al. Raspberry Pi–Based Sensor Nodes
CN104111905B (en) External electronic device and control method thereof
TWM361676U (en) Card reader with connection function
TWI260553B (en) Virtual universal serial bus card reader having peripheral component interchange express bus
Seneviratne Beginning BBC micro: bit

Legal Events

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