TWI393052B - Detection circuit of electronic device and its detection method - Google Patents

Detection circuit of electronic device and its detection method Download PDF

Info

Publication number
TWI393052B
TWI393052B TW97122600A TW97122600A TWI393052B TW I393052 B TWI393052 B TW I393052B TW 97122600 A TW97122600 A TW 97122600A TW 97122600 A TW97122600 A TW 97122600A TW I393052 B TWI393052 B TW I393052B
Authority
TW
Taiwan
Prior art keywords
host
data
program
electronic device
transmission interface
Prior art date
Application number
TW97122600A
Other languages
Chinese (zh)
Other versions
TW201001283A (en
Original Assignee
Sitronix Technology 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 Sitronix Technology Corp filed Critical Sitronix Technology Corp
Priority to TW97122600A priority Critical patent/TWI393052B/en
Publication of TW201001283A publication Critical patent/TW201001283A/en
Application granted granted Critical
Publication of TWI393052B publication Critical patent/TWI393052B/en

Links

Landscapes

  • Stored Programmes (AREA)

Description

電子裝置之偵測電路及其偵測方法Detection circuit of electronic device and detection method thereof

本發明係有關於一種電子裝置之偵測電路及其偵測方法,其係尤指一種具自動偵測並啟動電腦內部程式的電子裝置之偵測電路及其偵測方法。The invention relates to a detection circuit of an electronic device and a detection method thereof, and more particularly to a detection circuit of an electronic device with an automatic detection and activation of a computer internal program and a detection method thereof.

按,由於人們日益對電子週邊裝置的便捷性需求及希望能隨時使用之要求與依賴,而使得業者為此無不斷絞盡腦汁試圖突破技術瓶頸,發明創造處理速度更快、體積更小、攜帶更方便及能隨插即用之電子週邊裝置。According to the increasing demand for electronic peripheral devices and the desire and dependence of the electronic peripheral devices, the operators have not tried their best to break through the technical bottlenecks, and the inventions are faster, smaller and carry. More convenient and plug-and-play electronic peripherals.

目前的攜帶式儲存裝置由於體積小易於攜帶,因此在使用上相當普遍,應用也非常廣泛。雖然攜帶式儲存裝置有著諸多優點為使用者所青睞,但也存在無可避免的缺點,例如攜帶式儲存裝置一般來說容量皆小於固定式儲存裝置之容量,所以當攜帶式儲存裝置要存取大容量的資料時,就有其不方便性。The current portable storage device is easy to carry due to its small size, so it is quite common in use and widely used. Although the portable storage device has many advantages for the user, there are inevitable disadvantages. For example, the portable storage device generally has a smaller capacity than the fixed storage device, so when the portable storage device is to be accessed When there is a large amount of data, it is inconvenient.

再者,現今一般電子裝置,例如隨插即用裝置,即數位相框或電子錶,使用者欲使用該隨插即用裝置,必須先安裝驅動程式,以控制該隨插即用裝置,然而,現今業者通常隨產品附驅動程式的光碟,以方便使用者安裝,但使用者容易於第一次安裝驅動程式於隨插即用裝置後,而遺失該光碟,如此,將造成使用者在使用上的不方便性。又,現今隨插即用裝置一般亦會隨附一應用程式的光碟,以提供使用者選擇是否使用,或是使用者可自行下載另外的版本,例如數位相框,業者會提供一般常用圖片編輯之應用程式,以供使用者選擇是否使用業者所提供的應用程式,但在安裝光碟遺失或是版本過舊時,使用者在使用上就會顯得不方便。Moreover, in today's general electronic devices, such as plug-and-play devices, that is, digital photo frames or electronic watches, the user wants to use the plug-and-play device, and must first install a driver to control the plug-and-play device. Nowadays, the manufacturer usually attaches a CD-ROM to the driver for easy installation. However, it is easy for the user to install the driver for the first time after the plug-and-play device, and the disc is lost. This will cause the user to use it. Inconvenience. In addition, plug-and-play devices are usually accompanied by an application CD to provide users with the option to use or to download additional versions, such as digital photo frames. The company will provide general photo editing. The application is for the user to choose whether to use the application provided by the provider, but when the installation disc is lost or the version is too old, the user may be inconvenient to use.

因此,如何針對上述問題而提出一種新穎具自動啟動電腦內部程式的電子裝置之偵測電路及其偵測方法,其避免安裝光碟遺失或是版本過舊時而造成使用上的不方便性。Therefore, how to solve the above problem is to provide a novel detection circuit for an electronic device that automatically starts an internal program of the computer and a detection method thereof, which avoids the inconvenience in use when the installation of the optical disk is lost or the version is too old.

本發明之目的之一,在於提供一種電子裝置之偵測電路及其偵測方法,其藉由一傳輸介面連結一主機時而偵測主機是否具有應用該資料的程式,以增加使用者的方便性。An object of the present invention is to provide a detection circuit for an electronic device and a method for detecting the same, which detects whether a host has a program for applying the data by connecting a host through a transmission interface to increase user convenience. Sex.

本發明之目的之一,在於提供一種電子裝置之偵測電路及其偵測方法,其可藉由一儲存單元儲存應用於資料之一應用程式,當偵測到主機未具有應用於資料的程式,主機則執行儲存單元之應用程式,以增加使用者的方便性。An object of the present invention is to provide an electronic device detection circuit and a detection method thereof, which can store an application applied to a data by using a storage unit, and when detecting that the host does not have a program applied to the data The host executes the application of the storage unit to increase the convenience of the user.

本發明之目的之一,在於提供一種電子裝置之偵測電路及其偵測方法,其藉由一網路單元於偵測主機未具有應用於電子裝置儲存之資料的程式時,可下載應用程式供主機執行該應用程式,以增加使用者的方便性。An object of the present invention is to provide an electronic device detection circuit and a detection method thereof, which can download an application by detecting a host without a program for storing data stored in the electronic device by using a network unit. The host is executed by the host to increase user convenience.

本發明之電子裝置具有一儲存單元,電子裝置之偵測電路包含一傳輸介面與一控制單元。傳輸介面係於電子裝置連接一主機,傳輸至少一資料,控制單元耦接傳輸介面與儲存單元,並於傳輸介面傳輸資料至控制單元時,以存取資料至儲存單元,且傳輸介面連結主機時,以偵測主機是否具有應用於該資料的一程式。The electronic device of the present invention has a storage unit, and the detection circuit of the electronic device includes a transmission interface and a control unit. The transmission interface is connected to a host by the electronic device, and transmits at least one data. The control unit is coupled to the transmission interface and the storage unit, and when the data is transmitted to the control unit through the transmission interface, the data is accessed to the storage unit, and the transmission interface is connected to the host. To detect if the host has a program applied to the data.

再者,本發明之電子裝置之偵測電路更包括一網路單元,當電子裝置連接主機時,傳輸介面連結主機,而偵測到主機未具有應用於儲存單元所儲存之資料的程式,網路單元則從網路下載一應用程式,供主機執行應用程式,以處理該資料。Furthermore, the detection circuit of the electronic device of the present invention further includes a network unit. When the electronic device is connected to the host, the transmission interface is connected to the host, and the host is detected to have no program applied to the data stored in the storage unit. The way unit downloads an application from the network for the host to execute the application to process the data.

此外,本發明之電子裝置的儲存單元更可儲存一驅動程式,當電子裝置連接一主機時,傳輸介面連結主機時,而偵測該主機是否具有應用於電子裝置的一新版驅動程式。In addition, the storage unit of the electronic device of the present invention can further store a driver program. When the electronic device is connected to a host, when the transmission interface is connected to the host, it is detected whether the host has a new version of the driver applied to the electronic device.

茲為使 貴審查委員對本發明之結構特徵及所達成之功效有更進一步之瞭解與認識,謹佐以較佳之實施例及配合詳細之說明,說明如後: 請參閱第一圖,係為本發明之一較佳實施例之方塊圖。如圖所示,本發明之電子裝置1係可應用於一隨插即用裝置、一隨插即用之儲存裝置或一可攜式隨插即用之儲存裝置。本發明之電子裝置1包含一儲存單元10與一偵測電路11。偵測電路11包括一控制單元12與一傳輸介面14。儲存單元10係儲存至少一資料,傳輸介面14於電子裝置1連接主機2時,而連結主機2,即電子裝置1之傳輸介面14連結主機2之傳輸介面24時,用以傳輸資料至控制單元12,控制單元12耦接儲存單元10與傳輸介面14,控制單元12接收主機2透過傳輸介面14,24所傳送之資料,以存取資料至儲存單元10,當傳輸介面14連結主機2,而控制單元12驅使主機2自我偵測是否具有應用於該資料的一程式,若主機2自我偵測到具有應用於該資料的程式時,則由主機2執行本身的程式,以處理儲存單元10所儲存的資料,若自我偵測未具有應用於該資料的程式時,則可通知使用者安裝相關於該資料的程式,以處理該資料。In order to provide a better understanding and understanding of the structural features and efficacies of the present invention, the preferred embodiments and detailed descriptions are provided as follows: Please refer to the first figure, which is a block diagram of a preferred embodiment of the present invention. As shown, the electronic device 1 of the present invention can be applied to a plug-and-play device, a plug-and-play storage device or a portable plug-and-play storage device. The electronic device 1 of the present invention comprises a storage unit 10 and a detection circuit 11. The detection circuit 11 includes a control unit 12 and a transmission interface 14. The storage unit 10 stores at least one data. When the electronic device 1 is connected to the host 2, the connection interface 2 is connected to the host 2, that is, when the transmission interface 14 of the electronic device 1 is connected to the transmission interface 24 of the host 2, the data is transmitted to the control unit. The control unit 12 is coupled to the storage unit 10 and the transmission interface 14. The control unit 12 receives the data transmitted by the host 2 through the transmission interfaces 14, 24 to access the data to the storage unit 10. When the transmission interface 14 is connected to the host 2, The control unit 12 drives the host 2 to self-detect whether there is a program applied to the data. If the host 2 self-detects the program having the data applied to the data, the host 2 executes its own program to process the storage unit 10. The stored data, if the self-detection does not have a program applied to the data, may notify the user to install a program related to the data to process the data.

在上述中,傳輸介面14,24為一有線傳輸介面或一無線傳輸介面,其中,有線傳輸介面為一通用串列匯流排(Universal Serial Bus,USB)、一IEEE 1394傳輸埠或一RS-232傳輸埠;無線傳輸介面為一藍芽無線傳輸介面、一紅外線無線傳輸介面或一ZigBee無線傳輸介面。再者,儲存單元10為一唯讀記憶體(Read-Only Memory,ROM)、一隨機存取記憶體(Random Access Memory,RAM)或一快閃記憶體(Flash memory)或其任意組合,即儲存單元10可由唯讀記憶體與快閃記憶體組成或是隨機記憶體與快閃記憶體組成。In the above, the transmission interface 14, 24 is a wired transmission interface or a wireless transmission interface, wherein the wired transmission interface is a universal serial bus (USB), an IEEE 1394 transmission port or an RS-232. The transmission interface is a Bluetooth wireless transmission interface, an infrared wireless transmission interface or a ZigBee wireless transmission interface. Furthermore, the storage unit 10 is a read-only memory (ROM), a random access memory (RAM) or a flash memory (Flash memory) or any combination thereof, that is, The storage unit 10 can be composed of a read-only memory and a flash memory or a random memory and a flash memory.

接上所述,本發明在偵測主機2是否具有應用資料的程式中,在本實施例提供一種偵測方式,但不侷限於此偵測方式,本實施例之偵測方式係於儲存單元10儲存一對照表,該對照表記載各種可應用於資料的應用程式,當傳輸介面14連結主機2時,主機2係會執行一搜尋程式,並依據對照表所記載的程式而搜尋註冊檔內的登錄資料,並比對登錄資料與對照表,當登錄資料有符合對照表所記載之應用程式時,表示主機2具有應用 於資料的應用程式,並執行主機2本身所安裝的應用程式,反之,主機2未具有應用於資料的應用程式。In the above, in the program for detecting whether the host 2 has the application data, the detection method is provided in the embodiment, but the detection mode is not limited to the detection mode. 10 stores a comparison table, which describes various application programs that can be applied to the data. When the transmission interface 14 is connected to the host 2, the host 2 executes a search program and searches for the registration file according to the program described in the comparison table. The login data and the comparison of the login data and the comparison table. When the login data has the application described in the matching table, it indicates that the host 2 has the application. For the application of the data, and execute the application installed by the host 2 itself, on the contrary, the host 2 does not have the application applied to the data.

再者,對照表係會依據應用程式之效能高低而排列出優先順序,即應用程式效能較高優先搜尋並使用,例如瀏覽或編輯圖像資料時,係以photoshop、photoimpact等程式為高優先權,即優先搜尋並使用,若無搜尋到主機2具有photoshop、photoimpact等程式,則搜尋優先權較低的程式,例如小畫家,如此,使用者則可直接使用效能較高的應用程式,以增加其方便性。In addition, the comparison table will be prioritized according to the performance of the application, that is, the application performance is higher and the priority is searched and used. For example, when browsing or editing image data, photoshop, photoimpact, etc. are used as high priority. First, search and use first. If there is no search for host 2 with photoshop, photoimpact, etc., search for programs with lower priority, such as small painters, so users can directly use higher-performance applications to increase Its convenience.

由上述可知,若主機2本身未具有應用於資料的程式時,使用者必須等待偵測完主機2後,確定主機2本身未具有應用於儲存單元10所儲存之資料的程式,而自行安裝相關應用於資料的程式,如此,增加了使用者在使用隨插即用裝置上的不方便性,基於如此,本發明之電子裝置之儲存單元10更儲存應用於該資料之一應用程式,當偵測到主機2未具有應用於資料的程式,主機2則自動執行儲存單元10所儲存的應用程式,以處理該資料。如此,在主機2未具有應用於儲存單元10所儲存之資料的情況下,更可應用儲存單元10所儲存的應用程式,而增加使用者在使用上的方便性。此外,應用程式係儲存於儲存單元10之一唯讀記憶體,以避免使用者誤刪應用程式。It can be seen from the above that if the host 2 itself does not have a program applied to the data, the user must wait for the host 2 to be detected, and determine that the host 2 itself does not have the program applied to the data stored in the storage unit 10, and install the relevant information. The program applied to the data increases the inconvenience of the user in using the plug-and-play device. Therefore, the storage unit 10 of the electronic device of the present invention further stores an application applied to the data. It is detected that the host 2 does not have a program applied to the data, and the host 2 automatically executes the application stored in the storage unit 10 to process the data. In this way, in the case that the host 2 does not have the data stored in the storage unit 10, the application stored in the storage unit 10 can be applied to increase the convenience of the user. In addition, the application is stored in a read-only memory of the storage unit 10 to prevent the user from accidentally deleting the application.

再者,由於儲存單元10儲存應用程式,所以在偵測主機2是否具有應用於儲存單元10所儲存資料的程式時,當偵測到主機2具有應用於資料的程式,主機2係會判斷主機2本身所存在之程式的效能是否大於儲存單元10所儲存的應用程式,若主機2之程式的效能大於或等於儲存單元10所儲存之應用程式的效能時,主機2則執行本身所具有的程式;若主機2之程式的效能小於儲存單元10所儲存之應用程式的效能時,電子裝置1則驅動主機2執行儲存單元10所儲存的應用程式,以處理該資料。如此,可增加使用者在使用上的方便性。Moreover, since the storage unit 10 stores the application, when detecting whether the host 2 has a program applied to the data stored in the storage unit 10, when detecting that the host 2 has a program applied to the data, the host 2 determines the host. 2 The performance of the program existing in the storage unit 10 is greater than the application stored in the storage unit 10. If the performance of the program of the host 2 is greater than or equal to the performance of the application stored in the storage unit 10, the host 2 executes the program itself. If the performance of the host 2 program is less than the performance of the application stored in the storage unit 10, the electronic device 1 drives the host 2 to execute the application stored in the storage unit 10 to process the data. In this way, the user's convenience in use can be increased.

承上所述,例如本發明之電子裝置1應用於數位相框時,儲存單元10 儲存至少一影像資料並儲存相關應用於影像資料的程式,當數位相框耦接於主機2時,控制單元12連結於主機2,控制單元12係會偵測主機2內是否有相關於瀏覽或編輯影像資料的程式,像是photoshop、photoimpact等程式,以瀏覽或編輯影像資料,若控制單元12偵測到主機2已有安裝上述相關的程式時,控制單元12係會驅動主機2自動啟動瀏覽或編輯的相關程式;若控制單元12偵測到主機2未安裝上述相關的程式時,控制單元12係會驅動主機2執行儲存單元10所儲存的應用程式,以供使用者進行瀏覽或編輯影像訊號,而增加使用者的方便性。上述之數位相框僅為本發明之一較佳實施例,但本發明並不侷限應用於數位相框。As described above, for example, when the electronic device 1 of the present invention is applied to a digital photo frame, the storage unit 10 Storing at least one image data and storing a program related to the image data. When the digital photo frame is coupled to the host 2, the control unit 12 is coupled to the host 2, and the control unit 12 detects whether there is a related browsing or editing in the host 2. The program of the image data, such as photoshop, photoimpact, etc., to browse or edit the image data. If the control unit 12 detects that the host 2 has installed the related program, the control unit 12 will drive the host 2 to automatically start browsing or If the control unit 12 detects that the host 2 does not have the related program installed, the control unit 12 drives the host 2 to execute the application stored in the storage unit 10 for the user to browse or edit the image signal. , to increase the convenience of the user. The above digital photo frame is only a preferred embodiment of the present invention, but the present invention is not limited to the digital photo frame.

此外,由於一般隨插即用之儲存裝置儲存較大畫素之圖檔時,必須耗費相當大的記憶容量,而浪費儲存空間,因此,主機2在傳送較大圖檔的資料至電子裝置1之儲存單元10時,係會執行應用程式以將較大圖檔的資料處理成較小檔案之資料再儲存至電子裝置1之儲存單元10,以節省儲存單元10之容量。In addition, since the general plug-and-play storage device stores a large pixel image, it takes a considerable memory capacity and wastes storage space. Therefore, the host 2 transmits the data of the larger image to the electronic device 1 When the storage unit 10 is stored, the application program is executed to process the data of the larger image into the data of the smaller file and store it in the storage unit 10 of the electronic device 1 to save the capacity of the storage unit 10.

再者,當主機2本身所儲存之應用程式的效能大於電子裝置1之儲存單元10所儲存之應用程式時,並於儲存單元10之容量的許可之下,主機2可將本身之應用程式壓縮成一壓縮檔案,而儲存於電子裝置1之儲存單元10中,以更新儲存單元10所儲存之應用程式,如此,可增加使用者於使用上的方便性。Moreover, when the performance of the application stored in the host 2 itself is greater than the application stored in the storage unit 10 of the electronic device 1, and under the permission of the capacity of the storage unit 10, the host 2 can compress the application itself. The compressed file is stored in the storage unit 10 of the electronic device 1 to update the application stored in the storage unit 10. Thus, the user's convenience in use can be increased.

請一併參閱第二圖,係為本發明之一較佳實施例之流程圖。如圖所示,本發明之電子裝置1係儲存至少一資料與應用程式,其偵測方法係先執行步驟S10電子裝置1連結一主機2後,執行步驟S12電子裝置1之控制單元12驅使主機2自我偵測是否具有應用於電子裝置1之儲存單元10所儲存之資料的程式,若偵測到主機2具有應用於電子裝置1所儲存之資料的程式時,則執行步驟S14控制單元12驅使主機2執行本身的程式,以處理電子裝置1所儲存之資料;若偵測到主機2未具有應用於電子裝置1所儲存之資料的程式時,則執行步驟S16控制單元12驅使主機2執行儲存單元 10所儲存之應用程式。Please refer to the second figure, which is a flow chart of a preferred embodiment of the present invention. As shown in the figure, the electronic device 1 of the present invention stores at least one data and application program. The detection method is performed by first performing step S10. After the electronic device 1 is connected to a host 2, the control unit 12 of the electronic device 1 is driven to drive the host. 2, if the self-detection has a program applied to the data stored in the storage unit 10 of the electronic device 1, if it is detected that the host 2 has a program applied to the data stored in the electronic device 1, the control unit 12 is driven in step S14. The host 2 executes its own program to process the data stored in the electronic device 1; if it detects that the host 2 does not have the program applied to the data stored in the electronic device 1, the control unit 12 is executed to drive the host 2 to perform the storage. unit 10 stored apps.

接上所述,請一併參閱第三圖,係為本發明之另一較佳實施例之流程圖。如圖所示,本實施例與第二圖之實施例不同地方在於本實施例更包含一步驟S18,即在第二圖之實施例的步驟S12確定偵測到主機2具有應用電子裝置1所儲存之資料的程式後,更執行步驟S18進一步判斷主機2之程式的效能是否大於或等於電子裝置1之儲存單元10所儲存之應用程式,當主機2之程式的效能大於或等於電子裝置1之儲存單元10所儲存之應用程式時,則執行步驟S14;反之,則執行步驟S16。In the above, please refer to the third figure, which is a flow chart of another preferred embodiment of the present invention. As shown in the figure, the embodiment is different from the embodiment of the second embodiment in that the embodiment further includes a step S18, that is, in step S12 of the embodiment of the second figure, it is determined that the host 2 is detected by the application electronic device 1. After the program of storing the data, step S18 is further performed to determine whether the performance of the program of the host 2 is greater than or equal to the application stored in the storage unit 10 of the electronic device 1. When the performance of the program of the host 2 is greater than or equal to the electronic device 1 When the application stored in the storage unit 10 is stored, step S14 is performed; otherwise, step S16 is performed.

請一併參閱第四圖,係為本發明之另一較佳實施例之流程圖。如圖所示,本實施例與上述之實施例不同之處在於本發明之儲存單元10更儲存一常駐程式,當控制單元12連結主機2時,主機2執行常駐程式(如步驟S22所示),而自我偵測本身是否具有應用於儲存單元10所儲存之資料的程式(如步驟S24所示),若主機2本身具有應用於儲存單元10所儲存之資料的程式,則執行本身之程式(如步驟S26所示);若主機2本身未具有應用於儲存單元10所儲存之資料的程式,則執行儲存單元10所儲存之應用程式(如步驟S28所示)。Please refer to the fourth figure, which is a flow chart of another preferred embodiment of the present invention. As shown in the figure, the embodiment is different from the above embodiment in that the storage unit 10 of the present invention further stores a resident program. When the control unit 12 is connected to the host 2, the host 2 executes the resident program (as shown in step S22). And the self-detection itself has a program applied to the data stored in the storage unit 10 (as shown in step S24), and if the host 2 itself has a program applied to the data stored in the storage unit 10, the program itself is executed ( If the host 2 itself does not have a program applied to the data stored in the storage unit 10, the application stored in the storage unit 10 is executed (as shown in step S28).

此外,主機2在執行常駐程式時,即會讀取儲存單元10中所儲存之對照表,以搜尋主機2本身是否具有應用於儲存單元10所儲存之資料的程式,或是主機2讀取儲存單元10之常駐程式時,一併讀取儲存單元10所儲存之對照表,使主機2進行搜尋。其中,常駐程式包含搜尋程式,當主機2欲自我偵測是否具有應用於儲存單元10所儲存之資料的程式時,即主機2執行搜尋程式而自我搜尋。In addition, when executing the resident program, the host 2 reads the comparison table stored in the storage unit 10 to search whether the host 2 itself has a program applied to the data stored in the storage unit 10, or the host 2 reads and stores. When the resident program of the unit 10 is used, the comparison table stored in the storage unit 10 is read together to cause the host 2 to perform a search. The resident program includes a search program. When the host 2 wants to self-detect whether there is a program applied to the data stored in the storage unit 10, the host 2 executes the search program and searches for itself.

請一併參閱第五圖,係為本發明之另一較佳實施例之流程圖。如圖所示,本實施例中之主機2更包含一網路單元22,其與第四圖之實施例不同的地方在於本實施例在步驟S24中,當偵測到主機2未具有應用電子裝置1之儲存單元10所儲存之資料的程式時,主機2之一中央處理單元20係驅使網路單元22從網路下載一應用程式(如步驟S30所示),供主機2執行應 用程式(如步驟S32所示),以處理儲存單元10所儲存之資料。Please refer to FIG. 5 together for a flow chart of another preferred embodiment of the present invention. As shown in the figure, the host 2 in this embodiment further includes a network unit 22, which is different from the embodiment of the fourth embodiment in that, in this embodiment, in step S24, when the host 2 is detected to have no application electronic When the program of the data stored in the storage unit 10 of the device 1 is used, the central processing unit 20 of the host 2 drives the network unit 22 to download an application from the network (as shown in step S30) for the host 2 to perform. The program (as shown in step S32) is used to process the data stored in the storage unit 10.

此外,請一併參閱第六圖,係本發明之另一較佳實施例之方塊圖。如圖所示,電子裝置1更包括一網路單元26,當主機2自我偵測到未具有應用於儲存單元10所儲存資料之應用程式時,主機2則驅使電子裝置1之網路單元26於網路中下載應用程式,以供主機2執行該應用程式。In addition, please refer to the sixth drawing, which is a block diagram of another preferred embodiment of the present invention. As shown in the figure, the electronic device 1 further includes a network unit 26. When the host 2 self-detects an application that does not have the data stored in the storage unit 10, the host 2 drives the network unit 26 of the electronic device 1. Download the application on the network for host 2 to execute the application.

再者,本發明之偵測電路11更可應用於偵測主機2是否具有新版之驅動程式,其電子裝置1之儲存單元10至少儲存一驅動程式,當電子裝置1連結主機2時,主機2係執行常駐程式,以自我偵測是否具有應用於電子裝置1之新版驅動程式,以增加使用者在使用上的方便性。由於主機2如何自我偵測之方式,已於上述說明過,故此不再多加贊述。Furthermore, the detection circuit 11 of the present invention is more applicable to detecting whether the host 2 has a new version of the driver. The storage unit 10 of the electronic device 1 stores at least one driver. When the electronic device 1 is connected to the host 2, the host 2 The resident program is executed to self-detect whether there is a new version of the driver applied to the electronic device 1 to increase the convenience of the user. Since the way the host 2 self-detects has been described above, it is no longer more praise.

綜上所述,本發明之電子裝置之偵測電路及其偵測方法,係由一傳輸介面傳輸一資料,一控制單元耦接傳輸介面與一儲存單元,以存取儲存單元,並於傳輸介面連結主機時,而控制單元驅使主機自我偵測是否具有應用於該資料的一程式,以增加使用者的方便性。並且若偵測主機未具有應用於該資料之程式時,控制單元則驅使主機執行電子裝置所儲存之應用程式,以增加使用者的方便性。In summary, the detection circuit and the detection method of the electronic device of the present invention transmit a data by a transmission interface, and a control unit is coupled to the transmission interface and a storage unit to access the storage unit and transmit the data. When the interface is connected to the host, the control unit drives the host to self-detect whether there is a program applied to the data to increase the convenience of the user. And if the detecting host does not have a program applied to the data, the control unit drives the host to execute the application stored in the electronic device to increase user convenience.

本發明係實為一具有新穎性、進步性及可供產業利用者,應符合我國專利法所規定之專利申請要件無疑,爰依法提出發明專利申請,祈 鈞局早日賜准專利,至感為禱。The invention is a novelty, progressive and available for industrial use, and should meet the requirements of the patent application stipulated in the Patent Law of China, and the invention patent application is filed according to law, and the prayer bureau will grant the patent as soon as possible. prayer.

惟以上所述者,僅為本發明之一較佳實施例而已,並非用來限定本發明實施之範圍,舉凡依本發明申請專利範圍所述之形狀、構造、特徵及精神所為之均等變化與修飾,均應包括於本發明之申請專利範圍內。However, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and the shapes, structures, features, and spirits described in the claims are equivalently changed. Modifications are intended to be included in the scope of the patent application of the present invention.

1‧‧‧電子裝置1‧‧‧Electronic device

10‧‧‧儲存單元10‧‧‧ storage unit

11‧‧‧偵測電路11‧‧‧Detection circuit

12‧‧‧控制單元12‧‧‧Control unit

14‧‧‧傳輸介面14‧‧‧Transport interface

2‧‧‧主機2‧‧‧Host

20‧‧‧中央處理單元20‧‧‧Central Processing Unit

22‧‧‧網路單元22‧‧‧Network Unit

24‧‧‧傳輸介面24‧‧‧Transport interface

26‧‧‧網路單元26‧‧‧Network Unit

第一圖為本發明之一較佳實施例之方塊圖;第二圖為本發明之一較佳實施例之流程圖;第三圖為本發明之另一較佳實施例之流程圖; 第四圖為本發明之另一較佳實施例之流程圖;第五圖為本發明之另一較佳實施例之流程圖;以及第六圖為本發明之另一較佳實施例之方塊圖。The first drawing is a block diagram of a preferred embodiment of the present invention; the second drawing is a flow chart of a preferred embodiment of the present invention; and the third drawing is a flow chart of another preferred embodiment of the present invention; The fourth embodiment is a flow chart of another preferred embodiment of the present invention; the fifth figure is a flow chart of another preferred embodiment of the present invention; and the sixth figure is a block of another preferred embodiment of the present invention. Figure.

1‧‧‧電子裝置1‧‧‧Electronic device

10‧‧‧儲存單元10‧‧‧ storage unit

11‧‧‧偵測電路11‧‧‧Detection circuit

12‧‧‧控制單元12‧‧‧Control unit

14‧‧‧傳輸介面14‧‧‧Transport interface

2‧‧‧主機2‧‧‧Host

20‧‧‧中央處理單元20‧‧‧Central Processing Unit

22‧‧‧網路單元22‧‧‧Network Unit

24‧‧‧傳輸介面24‧‧‧Transport interface

Claims (26)

一種電子裝置之偵測電路,該電子裝置具有一儲存單元,該偵測電路包含:一傳輸介面,該電子裝置連接一主機,傳輸至少一資料;以及一控制單元,耦接該傳輸介面與該儲存單元,以存取該儲存單元,該傳輸介面連結該主機時,該控制單元驅使該主機自我偵測是否具有應用於該資料的一程式;其中該儲存單元儲存應用於該資料之一應用程式,該主機自我偵測到未具有應用於該資料的該程式,該主機則執行該應用程式,且該電子裝置為一可攜式儲存裝置。 An electronic device having a detection unit, the electronic device having a storage unit, the detection circuit comprising: a transmission interface, the electronic device is connected to a host, and transmitting at least one data; and a control unit coupled to the transmission interface and the a storage unit for accessing the storage unit, the control unit driving the host to self-detect whether there is a program applied to the data, wherein the storage unit stores an application applied to the data The host self-detects that the program is not applied to the data, the host executes the application, and the electronic device is a portable storage device. 如申請專利範圍第1項所述之偵測電路,其中該儲存單元儲存一常駐程式,該傳輸介面連結該主機時,該主機執行該常駐程式,而自我偵測是否具有應用於該資料的該程式。 The detection circuit of claim 1, wherein the storage unit stores a resident program, and when the transmission interface is connected to the host, the host executes the resident program, and the self-detection has the function applied to the data Program. 如申請專利範圍第2項所述之偵測電路,其中該主機執行該常駐程式,而自我偵測到具有應用於該資料的該程式,該主機則執行所偵測到的應用於該資料的該程式。 The detection circuit of claim 2, wherein the host executes the resident program and self-detects the program having the data applied to the data, and the host performs the detected application to the data. The program. 如申請專利範圍第3項所述之偵測電路,其中該主機執行所偵測到的應用於該資料的該程式之效能大於該應用程式之效能。 The detection circuit of claim 3, wherein the host performs the detected performance of the program applied to the data greater than the performance of the application. 如申請專利範圍第2項所述之偵測電路,其中該主機執行該常駐程式,並依據一對照表偵測該主機是否具有應用於該資料的該程式。 The detection circuit of claim 2, wherein the host executes the resident program and detects whether the host has the program applied to the data according to a comparison table. 如申請專利範圍第1項所述之偵測電路,其中該應用程式儲存於該儲存單元之一唯讀記憶體(Read-Only Memory,ROM)。 The detection circuit of claim 1, wherein the application is stored in a read-only memory (ROM) of the storage unit. 如申請專利範圍第1項所述之偵測電路,其中該儲存單元為一唯讀記憶體、一隨機存取記憶體(Random Access Memory,RAM)或一快閃記憶體(Flash memory)或其任意組合。 The detection circuit of claim 1, wherein the storage unit is a read only memory, a random access memory (RAM) or a flash memory (Flash memory) or random combination. 如申請專利範圍第1項所述之偵測電路,其中該傳輸介面為一無線傳輸介面或一有線傳輸介面。 The detection circuit of claim 1, wherein the transmission interface is a wireless transmission interface or a wired transmission interface. 如申請專利範圍第8項所述之偵測電路,其中該有線傳輸介面為一通用串列匯流排(Universal Serial Bus,USB)、一IEEE 1394傳輸埠或一RS-232傳輸埠。 The detection circuit of claim 8, wherein the wired transmission interface is a universal serial bus (USB), an IEEE 1394 transmission port, or an RS-232 transmission port. 如申請專利範圍第8項所述之偵測電路,其中該無線傳輸介面為一藍芽無線傳輸介面、一紅外線無線傳輸介面或一ZigBee無線傳輸介面。 The detection circuit of claim 8, wherein the wireless transmission interface is a Bluetooth wireless transmission interface, an infrared wireless transmission interface or a ZigBee wireless transmission interface. 如申請專利範圍第1項所述之偵測電路,其更包括:一網路單元,設置於該主機內,該傳輸介面連結該主機,並該主機自我偵測到未具有應用於該資料的該程式時,該網路單元從網路下載一應用程式,供該主機執行該應用程式。 The detection circuit of claim 1, further comprising: a network unit disposed in the host, the transmission interface is connected to the host, and the host self-detects that the data is not applied to the data. In the program, the network unit downloads an application from the network for the host to execute the application. 如申請專利範圍第1項所述之偵測電路,其中該主機傳送該資料至該電子裝置時,預先處理該資料而減少資料量,之後再傳送至該電子裝置。 The detection circuit of claim 1, wherein when the host transmits the data to the electronic device, the data is processed in advance to reduce the amount of data, and then transmitted to the electronic device. 一種電子裝置之偵測方法,該電子裝置具有一儲存單元,該偵測方法包含:連結一主機,以與該儲存單元進行至少一資料存取;以及偵測該主機是否具有應用於該資料的一程式;其中該儲存單元儲存應用於該資料之一應用程式,該主機自我偵測到未具有應用於該資料的該程式,該主機則執行該應用程式,且該電子裝置為一可攜式儲存裝置。 A method for detecting an electronic device, the electronic device having a storage unit, the detecting method comprising: connecting a host to perform at least one data access with the storage unit; and detecting whether the host has the data applied to the data a program in which the storage unit stores an application applied to the data, the host self-detects that the program is not applied to the data, the host executes the application, and the electronic device is a portable device Storage device. 如申請專利範圍第13項所述之偵測方法,其中該儲存單元儲存一常駐程式,並於偵測該主機是否具有應用於該資料的一程式之步驟中,該主機執行該常駐程式,而自我偵測是否具有應用於該資料的該程式。 The detecting method of claim 13, wherein the storage unit stores a resident program, and in the step of detecting whether the host has a program applied to the data, the host executes the resident program, and Whether the self-detection has the program applied to the material. 如申請專利範圍第14項所述之偵測方法,其中該主機執行該常駐程式,而自我偵測到具有應用於該資料的該程式,該主機則執行所偵測到的應用於該資料的該程式。 The detection method of claim 14, wherein the host executes the resident program and self-detects the program applied to the data, and the host performs the detected application to the data. The program. 如申請專利範圍第14項所述之偵測方法,其中該主機執行該常駐程式,並依據一對照表自我偵測是否具有應用於該資料的該程式。 The detection method of claim 14, wherein the host executes the resident program and self-detects whether the program has the program applied to the data according to a comparison table. 如申請專利範圍第13項所述之偵測方法,其中於偵測該主機是否具有 應用於該資料的一程式之步驟後,更包括:自我偵測到未具有應用於該資料的該程式時,該主機係從網路下載一應用程式,以執行該應用程式。 The detection method of claim 13, wherein detecting whether the host has After the step of applying the program to the program, the method further includes: when the self-detection does not have the program applied to the data, the host downloads an application from the network to execute the application. 如申請專利範圍第13項所述之偵測方法,其中該主機傳送該資料至該電子裝置時,預先處理該資料而減少資料量,之後再傳送至該電子裝置。 The detection method of claim 13, wherein when the host transmits the data to the electronic device, the data is processed in advance to reduce the amount of data, and then transmitted to the electronic device. 一種電子裝置之偵測電路,其包含:一儲存單元,儲存至少一驅動程式與應用於一資料的一應用程式;一傳輸介面,該電子裝置連接一主機,傳輸該驅動程式與該資料;以及一控制單元,耦接該儲存單元與該傳輸介面,以存取該儲存單元,該傳輸介面連結該主機時,該控制單元驅使該主機自我偵測是否具有應用於該電子裝置的另一驅動程式或應用於該資料的一程式,當自我偵測到具有應用於該電子裝置的該驅動程式,則執行該儲存單元之該驅動程式或該主機之該驅動程式中之一新版之該驅動程式,當該主機自我偵測到未具有應用於該資料的該程式,該主機則執行該應用程式,且該電子裝置為一可攜式儲存裝置。 An electronic device detection circuit includes: a storage unit storing at least one driver and an application applied to a data; a transmission interface, the electronic device is connected to a host, and the driver and the data are transmitted; a control unit is coupled to the storage unit and the transmission interface to access the storage unit. When the transmission interface is connected to the host, the control unit drives the host to self-detect whether there is another driver applied to the electronic device. Or a program applied to the data, when the self-detection has the driver applied to the electronic device, executing the driver of the storage unit or the driver of the new version of the driver of the host, When the host self-detects that the program is not applied to the data, the host executes the application, and the electronic device is a portable storage device. 如申請專利範圍第19項所述之偵測電路,其中該儲存單元儲存一常駐程式,該傳輸介面連結該主機時,該控制單元驅使該主機執行該常駐程式,而自我偵測是否具有應用於該電子裝置的該驅動程式與應用於該資料的該程式。 The detection circuit of claim 19, wherein the storage unit stores a resident program, and when the transmission interface is connected to the host, the control unit drives the host to execute the resident program, and the self-detection has application The driver of the electronic device and the program applied to the material. 如申請專利範圍第20項所述之偵測電路,其中該主機執行該常駐程式,而自我偵測未具有應用於該電子裝置之該驅動程式,該主機則執行該儲存單元所儲存之該驅動程式。 The detection circuit of claim 20, wherein the host executes the resident program, and the self-detection does not have the driver applied to the electronic device, and the host executes the driver stored by the storage unit Program. 如申請專利範圍第20項所述之偵測電路,其中該主機執行該常駐程式,並依據一對照表格而自我偵測是否具有應用於該電子裝置的該驅動程式。 The detection circuit of claim 20, wherein the host executes the resident program and self-detects whether the driver is applied to the electronic device according to a comparison table. 如申請專利範圍第19項所述之偵測電路,其中該傳輸介面為一無線傳 輸介面或一有線傳輸介面。 The detection circuit of claim 19, wherein the transmission interface is a wireless transmission The interface or a wired transmission interface. 如申請專利範圍第23項所述之偵測電路,其中該有線傳輸介面為一通用串列匯流排(Universal Serial Bus,USB)、一IEEE 1394傳輸埠或一RS-232傳輸埠。 The detection circuit of claim 23, wherein the wired transmission interface is a Universal Serial Bus (USB), an IEEE 1394 transmission port, or an RS-232 port. 如申請專利範圍第23項所述之偵測電路,其中該無線傳輸介面為一藍芽無線傳輸介面、一紅外線無線傳輸介面或一ZigBee無線傳輸介面。 The detection circuit of claim 23, wherein the wireless transmission interface is a Bluetooth wireless transmission interface, an infrared wireless transmission interface or a ZigBee wireless transmission interface. 如申請專利範圍第19項所述之偵測電路,其更包括:一網路單元,設置於該主機內,該電子裝置連接該主機時,該傳輸介面連結該主機,而該主機自我偵測到未具有應用於該電子裝置的該驅動程式,該網路單元從網路下載一新版之驅動程式,供該主機執行該新版之該驅動程式。 The detection circuit of claim 19, further comprising: a network unit disposed in the host, the electronic interface is connected to the host, the transmission interface is connected to the host, and the host self-detects To the driver that is not applied to the electronic device, the network unit downloads a new version of the driver from the network for the host to execute the new version of the driver.
TW97122600A 2008-06-17 2008-06-17 Detection circuit of electronic device and its detection method TWI393052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97122600A TWI393052B (en) 2008-06-17 2008-06-17 Detection circuit of electronic device and its detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97122600A TWI393052B (en) 2008-06-17 2008-06-17 Detection circuit of electronic device and its detection method

Publications (2)

Publication Number Publication Date
TW201001283A TW201001283A (en) 2010-01-01
TWI393052B true TWI393052B (en) 2013-04-11

Family

ID=44824807

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97122600A TWI393052B (en) 2008-06-17 2008-06-17 Detection circuit of electronic device and its detection method

Country Status (1)

Country Link
TW (1) TWI393052B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW459193B (en) * 2000-03-28 2001-10-11 Surecom Technology Corp Circuit capable of automatically detecting action for USB hub
TW569095B (en) * 2002-05-29 2004-01-01 Via Tech Inc Method for detecting the transmission rate of a host controller by USB device
TW586075B (en) * 2003-01-30 2004-05-01 Integrated Circuit Solution In Method of making any card capable of booting from a multi-card reader/writer
TW200531469A (en) * 2004-01-13 2005-09-16 Qualcomm Inc Automated over the air plug-in device recognition and software driver download
US7127546B2 (en) * 2002-06-03 2006-10-24 Action Star Enterprise Co., Ltd. Simplified USB sharer having a busyness detection circuit
US7268561B2 (en) * 2004-09-20 2007-09-11 Texas Instruments Incorporated USB attach detection for USB 1.1 and USB OTG devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW459193B (en) * 2000-03-28 2001-10-11 Surecom Technology Corp Circuit capable of automatically detecting action for USB hub
TW569095B (en) * 2002-05-29 2004-01-01 Via Tech Inc Method for detecting the transmission rate of a host controller by USB device
US7127546B2 (en) * 2002-06-03 2006-10-24 Action Star Enterprise Co., Ltd. Simplified USB sharer having a busyness detection circuit
TW586075B (en) * 2003-01-30 2004-05-01 Integrated Circuit Solution In Method of making any card capable of booting from a multi-card reader/writer
TW200531469A (en) * 2004-01-13 2005-09-16 Qualcomm Inc Automated over the air plug-in device recognition and software driver download
US7268561B2 (en) * 2004-09-20 2007-09-11 Texas Instruments Incorporated USB attach detection for USB 1.1 and USB OTG devices

Also Published As

Publication number Publication date
TW201001283A (en) 2010-01-01

Similar Documents

Publication Publication Date Title
EP2704041B1 (en) Method for storing application data and terminal device
JP6293657B2 (en) Dynamic redirection of boot behavior to other operating systems
TWI421765B (en) Display control device with automatic firmware update and update method thereof
US7600150B2 (en) Data auto backup system and method
CN1237455C (en) Data transmission controlling system, electronic apparatus, program and data transmission controlling method
US8190798B1 (en) Client device configuration based on information stored by host device
US20120278796A1 (en) Automatically installing device drivers
TWI249102B (en) System and method for automatic installing an application program
JP2009543217A (en) System and method for power management for wireless storage devices
JPWO2006075397A1 (en) Installation method, program, peripheral device and system
CN100346283C (en) Information processing system, storage unit,and computer-readable recording medium
AU2010208065A1 (en) System and method for multifunction device enumeration
TWI420317B (en) Two-way connectivity usb control device and operation method therefor
TWI393052B (en) Detection circuit of electronic device and its detection method
WO2013189432A2 (en) Usb device and method thereof for automatically recognizing microsoft windowing operating system version
US20050257218A1 (en) Method for automatically downloading and installing driver of peripheral
EP4213010B1 (en) Guidance control method for driver installation, device regarding the same, and terminal
CN1248125C (en) Data transfer control device, program and method of fabricating electronic instrument
TWI476693B (en) Method for exchanging information between multiple operation systems of electronic device
TWI437447B (en) A wireless dongle and a driving method of wireless dongle
US20070022283A1 (en) Method for fast activation of computer from a data disk with pre-installed operating system
KR100607970B1 (en) OA device and method for installing/reinstalling its driver
CN101615163A (en) The circuit for detecting of electronic installation and method for detecting thereof
JP5040694B2 (en) Communication support program and communication support method
KR101016797B1 (en) Method and system for using portable storage device of mobile phone as CD-ROM

Legal Events

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