TWI470440B - Method of reconnecting to a host computer for an electronic device and electronic device thereof - Google Patents

Method of reconnecting to a host computer for an electronic device and electronic device thereof Download PDF

Info

Publication number
TWI470440B
TWI470440B TW101141244A TW101141244A TWI470440B TW I470440 B TWI470440 B TW I470440B TW 101141244 A TW101141244 A TW 101141244A TW 101141244 A TW101141244 A TW 101141244A TW I470440 B TWI470440 B TW I470440B
Authority
TW
Taiwan
Prior art keywords
electronic device
controller
operating system
physical button
function
Prior art date
Application number
TW101141244A
Other languages
Chinese (zh)
Other versions
TW201418991A (en
Inventor
Wei Hsiang Wang
Chien Liang Wu
Original Assignee
Transcend Information 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 Transcend Information Inc filed Critical Transcend Information Inc
Priority to TW101141244A priority Critical patent/TWI470440B/en
Publication of TW201418991A publication Critical patent/TW201418991A/en
Application granted granted Critical
Publication of TWI470440B publication Critical patent/TWI470440B/en

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

電子裝置重新與電腦主機取得連結的方法和相關電子裝置Method for reconnecting electronic device to computer host and related electronic device

本發明主要有關一種使電子裝置重新與電腦主機取得連結的方法和相關電子裝置,尤指一種利用電子裝置上的實體按鍵,使電子裝置重新與電腦主機作業系統建立連結的方法。The invention relates to a method for reconnecting an electronic device to a host computer and related electronic devices, and more particularly to a method for re-establishing a connection between the electronic device and the computer host operating system by using physical buttons on the electronic device.

近年來電子產品設計方向為朝向輕薄短小之趨,因此衍生出許多外接式的周邊電子產品。以筆記型電腦為例,為了能夠使筆記型電腦體積更加輕薄、便於攜帶,因而發展出外接式硬碟、外接式光碟等外接式電子產品。請參閱圖1,外接式硬碟產品,例如是圖中的外接式硬碟10,為增進使用者於資料備份需求之便利性,已有多數廠商於外接式硬碟上設計一實體按鍵,統稱為”單鍵備份”功能(One Touch Backup,OTB),例如是外接式硬碟10上所具備的單鍵備份按鍵102,當外接式硬碟10於電腦主機之作業系統中處於連結狀態時,按下單鍵備份按鍵102後,即可將電腦主機中的資料備份至外接式硬碟中特定的資料夾位置。In recent years, the direction of electronic product design has been toward light, thin and short, so many external peripheral electronic products have been derived. Taking a notebook computer as an example, in order to make the notebook computer more compact and portable, an external electronic product such as an external hard disk or an external optical disk has been developed. Please refer to FIG. 1 , the external hard disk product, for example, the external hard disk 10 in the figure. In order to improve the convenience of the user in data backup, most manufacturers have designed a physical button on the external hard disk, collectively The One Touch Backup (OTB) function is, for example, a one-touch backup button 102 provided on the external hard disk 10, when the external hard disk 10 is connected in the operating system of the computer mainframe, After pressing the one-button backup button 102, the data in the host computer can be backed up to a specific folder location on the external hard disk.

通用序列匯流排(Universal Serial Bus,以下簡稱USB)連接介面為目前最常見,且通用性最高的連結介面。當使用USB連接介面做為周邊電子產品和電腦主機的連接器時,必須透過安全移除的步驟,使周邊電子產品自電腦主機之作業系統中移除,以避免由於不當的移除動作造成部份資料未完成儲存動作進而造成資料毀損,情況嚴重時甚至可能造成資料遺失。以Microsoft®公司的Windows作業系統為例,系統內設有USB裝置的連結狀態顯示,必須依循內建移除步驟,使連線中的USB裝置得以安全自電腦主機中移除。除此之外,如中華民國發明專利號第I314687專利,亦提出一種於USB可攜式儲存裝置上設置一實體按鍵,藉此將USB可攜式儲存裝置於電腦作業系統中安全移除的方法。The Universal Serial Bus (USB) connection interface is the most common and versatile interface at present. When using the USB connection interface as a connector for peripheral electronic products and computer mainframes, the peripheral electronic products must be removed from the operating system of the computer mainframe through the steps of safe removal to avoid the improper removal action. The data is not completed and the data is destroyed. In serious cases, the data may be lost. Take Microsoft®'s Windows operating system as an example. The connection status display of the USB device in the system must follow the built-in removal step to make the USB device in the connection safely removed from the host computer. In addition, as disclosed in the Patent No. I314687 of the Republic of China, a method for securely removing a USB portable storage device in a computer operating system by providing a physical button on a USB portable storage device is also proposed. .

透過安全移除機制固然能確保資料的完整性,然而當USB裝置一旦從電腦主機中透過作業系統移除後,此時USB裝置實體上仍與電腦主機連接,亦即並未真正取下。若要將USB裝置重新與電腦主機建立連結,唯有將USB裝置重新進行實體插拔後,使電腦主機重新偵測取得USB裝置連結狀態,對使用者而言可謂相當不便利。因此有必要提供一種更便利的方式,使USB裝置重新與電腦主機作業系統重新建立連結。Through the security removal mechanism, the integrity of the data can be ensured. However, once the USB device is removed from the host computer through the operating system, the USB device is still physically connected to the host computer, that is, it is not actually removed. In order to reconnect the USB device to the host computer, it is quite inconvenient for the user to re-detect the USB device connection status after the USB device is physically plugged and unplugged. It is therefore necessary to provide a more convenient way to re-establish the connection of the USB device to the host computer operating system.

本發明主要為提供一種使電子裝置重新與電腦主機取得連結的方法以及相關的電子裝置。The present invention mainly provides a method for re-engaging an electronic device with a host computer and related electronic devices.

依據本發明所述之使電子裝置重新與電腦主機作業系統取得連結的方法步驟為:將電子裝置經一連接介面實體連接於電腦主機;按下實體按鍵,觸發電子裝置控制器;判定電子裝置於電腦主機中的作業系統,是否處於安全移除模式;若是,則電子裝置控制器經實體按鍵觸發,使電子裝置重新與電腦主機建立連結;若否,電子裝置控制器中的預設功能被啟動,使電子裝置於電腦主機中執行一預設功能,例如執行檔案備份或電子裝置安全移除等功能。According to the present invention, the method for reconnecting the electronic device to the host computer operating system is: connecting the electronic device to the computer host via a connection interface entity; pressing the physical button to trigger the electronic device controller; determining the electronic device Whether the operating system in the computer host is in the safe removal mode; if so, the electronic device controller is triggered by the physical button to re-establish the connection with the computer host; if not, the preset function in the electronic device controller is activated The electronic device performs a preset function in the host computer, for example, performing file backup or electronic device security removal.

另依據本發明所述之一種電子裝置,包括一控制器、一實體按鍵,實體按鍵一端透過一切換器選擇性地透過一路徑一或路徑二連接至控制器;切換器導向路徑一或路徑二連接至控制器取決於電子裝置於電腦主機之作業系統中的狀態而定,當電子裝置於作業系統中處於安全移除的狀態時,切換器將實體按鍵與控制器之連接導向路徑一,故於實體按鍵被按壓後控制器負責偵測連接介面的腳位因被觸發,重新取得電子裝置的連結狀態,而電腦主機的作業系統重新獲得USB裝置的控制權;當電子裝置於作業系統中處於連結的狀態時,切換器將實體按鍵與控制器之連接導向路徑二,故於實體按鍵被按壓後控制器負責偵測預設功能的腳位被觸發,控制器即對電腦主機執行該 預設功能。Another electronic device according to the present invention includes a controller and a physical button. One end of the physical button is selectively connected to the controller through a path through a switch or a path; the switch guide path 1 or path 2 The connection to the controller depends on the state of the electronic device in the operating system of the computer host. When the electronic device is in a safely removed state in the operating system, the switch connects the physical button to the controller to guide the path. After the physical button is pressed, the controller is responsible for detecting that the pin of the connection interface is triggered, and regaining the connection state of the electronic device, and the operating system of the computer host regains control of the USB device; when the electronic device is in the operating system In the connected state, the switch connects the physical button and the controller to the path 2, so after the physical button is pressed, the controller is responsible for detecting that the preset function is triggered, and the controller executes the function on the host computer. Preset function.

為讓本發明之上述和其他目的、特徵和優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式作詳細說明。The above and other objects, features and advantages of the present invention will become more <RTIgt;

本發明主要為提供一種使電子裝置重新與電腦主機取得連結的方法以及相關的電子裝置,其中所述的電子裝置與電腦主機於本發明之較佳實施例說明中,主要的連接方式為透過USB介面連接,然而本發明並不以此為限,舉凡任何可透過電腦主機中的作業系統,予以進行安全移除的連接介面,皆屬於本發明之範疇。同時本發明所述的電子裝置,包括其本體至少具備有一實體按鍵和一USB連接介面的電子裝置,亦或具備有實體按鍵之USB連接線材(以下皆簡稱為USB裝置),凡熟知本發明所屬技術領域之人士可輕易推知之相關USB裝置,亦皆屬本發明之範疇。所述USB裝置所具備的實體按鍵,其功能不限於如本發明之較佳實施例中所述之資料備份或裝置安全移除,舉凡足以驅動該USB裝置及/或所連接的電腦主機執行一特定功能,皆屬於本發明所述實體按鍵之具體形式和功能。The present invention mainly provides a method for re-engaging an electronic device with a computer host, and related electronic devices. The electronic device and the computer host are described in the preferred embodiment of the present invention, and the main connection mode is through USB. Interface connection, however, the present invention is not limited thereto, and any connection interface that can be safely removed through the operating system in the computer mainframe belongs to the scope of the present invention. The electronic device of the present invention includes an electronic device having at least one physical button and a USB connection interface, or a USB connection cable having a physical button (hereinafter referred to as a USB device). The related USB devices that can be easily inferred by those skilled in the art are also within the scope of the present invention. The function of the physical button provided by the USB device is not limited to the data backup or device security removal as described in the preferred embodiment of the present invention, and is sufficient to drive the USB device and/or the connected computer host to perform a function. The specific functions belong to the specific form and function of the physical button of the present invention.

首先請參閱圖2,為依據本發明所提供之一較佳實施例流程圖,各步驟詳細說明如下。Referring first to FIG. 2, a flow chart of a preferred embodiment of the present invention is provided, and the steps are described in detail below.

步驟S200:開始,此時USB裝置經USB連接介面實體連接於電腦主機,據以接收電腦主機提供之電源供應和建立資料傳輸路徑。Step S200: Start, at this time, the USB device is connected to the host computer via the USB connection interface entity, and accordingly receives the power supply provided by the host computer and establishes a data transmission path.

步驟S210:按下USB裝置上所配置之實體按鍵,觸發USB裝置控制器。Step S210: Press the physical button configured on the USB device to trigger the USB device controller.

步驟S220:判定USB裝置此時於電腦主機中的作業系統中,是否處於安全移除模式。若是,則進行步驟S230,反之則進行步驟S240。如前所述,由於USB裝置可透過電腦主機之作業系統進行安全移除程序,因此即使如步驟S200中所 述,雖然USB裝置經USB連接介面實體連接於電腦主機,然而對於電腦主機中的作業系統而言,該USB裝置仍然可能處於安全移除狀態,即電子裝置與電腦主機之間此時無法進行資料傳輸。Step S220: It is determined whether the USB device is in the safe removal mode in the operating system in the computer host at this time. If yes, go to step S230, otherwise, go to step S240. As described above, since the USB device can perform the security removal process through the operating system of the host computer, even as in step S200 As described above, although the USB device is connected to the host computer through the USB connection interface entity, the USB device may still be in a safe removal state for the operating system in the computer host, that is, the data cannot be performed between the electronic device and the computer host at this time. transmission.

步驟S230:USB裝置控制器中的USB偵測腳位經按鍵觸發,使USB裝置重新與電腦主機建立連結。Step S230: The USB detection pin in the USB device controller is triggered by a button, so that the USB device re-establishes a connection with the host computer.

步驟S240:USB裝置控制器中的預設功能偵測腳位經按鍵觸發,此時預設功能即被啟動,使USB裝置對電腦主機執行該預設功能。Step S240: the preset function detecting pin in the USB device controller is triggered by the button, and the preset function is activated, so that the USB device performs the preset function on the host computer.

接下來配合圖3A至圖3B繪示內容,針對步驟S210~S240進一步詳細說明。圖3A與3B為本發明所述較佳實施例之USB裝置30內部控制器300與按鍵310連接示意圖,其餘組成USB裝置30之必要元件省略未繪示於圖中,熟知本發明所屬技術領域之人士可依習知技術內容自由結合,以完成本發明所述較佳實施例之具體內容。舉例而言,若USB裝置30為一外接式儲存裝置,其中即必須具備記憶體元件。按鍵310裝設於USB裝置30本體上,組成的型式可如圖1先前技術之配置型式。Next, the content is shown in conjunction with FIG. 3A to FIG. 3B, and the steps S210 to S240 are further described in detail. 3A and 3B are schematic diagrams showing the connection between the internal controller 300 and the button 310 of the USB device 30 according to the preferred embodiment of the present invention. The remaining components constituting the USB device 30 are omitted from the drawings and are well known in the technical field of the present invention. The person can freely combine the technical content according to the prior art to complete the specific content of the preferred embodiment of the present invention. For example, if the USB device 30 is an external storage device, it is necessary to have a memory component. The button 310 is mounted on the body of the USB device 30, and the form of the button can be configured as in the prior art of FIG.

如圖3A和3B所示,按鍵310一端為接地,另一端可透過切換器320選擇性地透過路徑一321或路徑二322連接至控制器300,當使用者按下按鍵310時,即可視為將控制器300其中部分腳位透過路徑一321或路徑二322導通接地,觸發控制器300執行特定功能。於本發明較佳實施例中,路徑一321連接至控制器300用以觸發USB偵測腳位301,而路徑二322則連接至控制器300用以觸發資料備份功能或安全移除功能偵測腳位。按鍵310於本實施例中雖然一端為接地狀態,然而因應控制器之運作設計,或是電路連接佈設之不同,可選擇性的連接其他電子元件,或甚至僅將按鍵310一端設計為連接至控制器300,當按壓按鍵310時即傳送一電子訊號以觸發控制器作動,本發明並未加以限制。亦即凡可利用實體按鍵觸發控制器300運作,或執行預先設定之對應功能,皆屬本發明之範 疇。As shown in FIG. 3A and FIG. 3B, one end of the button 310 is grounded, and the other end is selectively connected to the controller 300 through the switch 321 or the path 322 through the switch 320. When the user presses the button 310, it can be regarded as A portion of the pin of the controller 300 is grounded through path 321 or path 322, triggering controller 300 to perform a particular function. In the preferred embodiment of the present invention, the path one 321 is connected to the controller 300 for triggering the USB detection pin position 301, and the path two 322 is connected to the controller 300 for triggering the data backup function or the security removal function detection. Feet. In this embodiment, the button 310 is grounded at one end, but may be selectively connected to other electronic components according to the operation design of the controller or the circuit connection arrangement, or even only one end of the button 310 is designed to be connected to the control. The device 300 transmits an electronic signal to trigger the controller to operate when the button 310 is pressed, and the present invention is not limited thereto. That is, any physical button can be used to trigger the controller 300 to operate, or perform a preset corresponding function, which is a model of the present invention. Domain.

切換器320導向路徑一321或路徑二322連接至控制器300,取決於經由控制器300回饋USB裝置30於電腦主機之作業系統中的狀態而定。首先當USB裝置30於作業系統中處於安全移除的狀態時,此時USB裝置30不受電腦主機所控制,而於作業系統中亦無法取得USB裝置30資訊。切換器320此時經控制器300回饋USB裝置30之狀態後,將按鍵310與控制器300之連接導向路徑一321,亦即當使用者按下按鍵310時,控制器300負責偵測連接介面的USB偵測腳位301因路徑一321導通而接地,使用者放開按鍵310後控制器300因路徑一321段開而重新連結USB裝置30至電腦主機,而使電腦主機的作業系統重新獲得USB裝置30的控制權。在此需特別說明的是,當USB裝置30於作業系統中處於安全移除的狀態時,USB裝置30雖經USB連接介面實體連接於電腦主機,但作業系統此時對於USB裝置30並無控制權而處於無法相互傳輸資料之非連結狀態,然而電腦主機仍會經由USB連接介面持續對USB裝置30持續供電,以使按鍵310觸發控制器300之USB偵測腳位301接地又重新連結至電腦主機時,得以具備電力重新連結USB裝置30。除此之外,若USB裝置30中內建有電源供應元件(例如:蓄電池),亦可藉此達成相同功能。The switch 320 is guided to the path 321 or the path 322 is connected to the controller 300, depending on the state in which the USB device 30 is fed back to the operating system of the host computer via the controller 300. First, when the USB device 30 is in a safely removed state in the operating system, the USB device 30 is not controlled by the host computer at this time, and the USB device 30 information cannot be obtained in the operating system. After the controller 300 returns the state of the USB device 30 via the controller 300, the switch 310 and the controller 300 are connected to the path 321 , that is, when the user presses the button 310 , the controller 300 is responsible for detecting the connection interface. The USB detection pin 301 is grounded due to the path 321 being turned on. After the user releases the button 310, the controller 300 reconnects the USB device 30 to the host computer due to the path 321 segment opening, and the operating system of the computer host is regained. Control of the USB device 30. Specifically, when the USB device 30 is in a safely removed state in the operating system, the USB device 30 is physically connected to the host computer via the USB connection interface, but the operating system has no control over the USB device 30 at this time. The device is in a non-connected state in which data cannot be transmitted to each other. However, the host computer continues to continuously supply power to the USB device 30 via the USB connection interface, so that the button 310 triggers the USB detection pin 301 of the controller 300 to be grounded and reconnected to the computer. At the time of the host, the USB device 30 can be reconnected with power. In addition, if the USB device 30 has a power supply component (for example, a battery) built in, the same function can be achieved by this.

反而言之,當USB裝置30於作業系統中處於連結的狀態時,此時USB裝置30乃受電腦主機所控制,而於作業系統中亦可取得USB裝置30資訊。切換器320此時經控制器300回饋此連結狀態後,將按鍵310與控制器300之連接導向路徑二322,亦即當使用者按下按鍵310時,控制器300負責偵測預設功能的功能偵測腳位因接地而被觸發,此時控制器300將對電腦主機執行預設功能,例如是執行資料備份或是將USB裝置30自作業系統中安全移除。此部分與習知技術內容近似,於此不再贅述。除此之外,由於切換器320之導向取決於USB 裝置30於電腦主機之作業系統中的狀態而定,因此一旦使用者於電腦主機的作業系統中將USB裝置30進行安全移除,此時切換器320將會受控制器300進行切換,由原先導向路徑二322的狀態轉而導向路徑一321;反之若USB裝置30原先於作業系統中處於安全移除狀態,一旦經由按鍵310觸發控制器300重新取得與USB裝置30的連結關係,此時切換器320將會由原先導向路徑一321的狀態轉而導向路徑二322。控制器300切換切換器320的方式,可由控制器300透過一接腳(未顯示)連接至切換器320,同時將切換器320以電晶體的型式設置而受控制器300控制進行切換。Conversely, when the USB device 30 is in the connected state in the operating system, the USB device 30 is controlled by the host computer at this time, and the USB device 30 information can also be obtained in the operating system. After the controller 320 returns the connection state via the controller 300, the connection between the button 310 and the controller 300 is guided to the path 322, that is, when the user presses the button 310, the controller 300 is responsible for detecting the preset function. The function detection pin is triggered by the ground. At this time, the controller 300 performs a preset function on the host computer, for example, performing data backup or safely removing the USB device 30 from the operating system. This part is similar to the prior art and will not be described here. In addition, since the orientation of the switch 320 depends on the USB The device 30 is determined in the operating system of the computer mainframe. Therefore, once the user safely removes the USB device 30 in the operating system of the computer host, the switch 320 will be switched by the controller 300. The state of the guiding path 2 322 is turned to the path 321; otherwise, if the USB device 30 is in the safe removal state in the operating system, the controller 300 is triggered to regain the connection relationship with the USB device 30 via the button 310. The switch 320 will be redirected from the state of the original guiding path one 321 to the path two 322. The manner in which the controller 300 switches the switch 320 can be connected to the switch 320 through a pin (not shown) by the controller 300, while the switch 320 is set in the form of a transistor and controlled by the controller 300 to switch.

接下來請參閱圖4,為依據本發明所提出之另一實施例。USB裝置40之按鍵410經單一路徑連接至USB裝置40控制器400,當使用者按下按鍵410後,使控制器因接地而觸發啟動。相較於前述實施例中利用切換器320決定控制器之觸發腳位,進而決定USB裝置40的觸發行為,於本實施例中當控制器400因按鍵410受按壓,接地而觸發啟動後,此時由控制器判定USB裝置40於電腦主機之作業系統中所處狀態為何。當USB裝置40於作業系統中處於安全移除的狀態時,此時控制器400將觸發負責偵測USB的腳位401,使電腦主機的作業系統重新獲得USB裝置的控制權。反之當USB裝置40於作業系統中處於連結的狀態時,此時USB裝置40乃受電腦主機所控制,控制器400將觸發偵測預設功能的腳位402,此時控制器400將對電腦主機執行預設功能,例如是資料備份功能或USB裝置40安全移除功能。上述有關控制器400的相關行為模式,可利用例如是韌體執行的方式來達成,或於控制器400內部設計如圖3A至3B切換器320之路徑選擇型式,本發明並未加以限制。除此之外,按鍵410於本實施例中雖然一端為接地狀態,然而因應控制器之運作設計,或是電路連接佈設之不同,可選擇性的連接其他電子元件,或甚至僅將按鍵410一端設計為連接至控制器400,當按壓按鍵410時即傳送一電子 訊號以觸發控制器作動,本發明並未加以限制。凡可利用實體按鍵觸發控制器400運作,或執行預先設定之對應功能,皆屬本發明之範疇。Referring next to Figure 4, there is shown another embodiment in accordance with the present invention. The button 410 of the USB device 40 is connected to the USB device 40 controller 400 via a single path. When the user presses the button 410, the controller is triggered to start due to grounding. Compared with the triggering device 320 in the foregoing embodiment, the trigger pin of the controller is determined to determine the triggering behavior of the USB device 40. In this embodiment, when the controller 400 is pressed by the button 410 and grounded, the triggering is started. When the controller determines the state of the USB device 40 in the operating system of the computer host. When the USB device 40 is in a safely removed state in the operating system, the controller 400 will trigger the pin 401 responsible for detecting the USB, so that the operating system of the host computer regains control of the USB device. Conversely, when the USB device 40 is in the connected state in the operating system, the USB device 40 is controlled by the host computer, and the controller 400 will trigger the detection of the preset function pin 402, and the controller 400 will operate the computer. The host performs a preset function, such as a data backup function or a USB device 40 security removal function. The related behavior mode of the controller 400 may be implemented by, for example, a firmware execution manner, or a path selection pattern of the switch 320 as shown in FIGS. 3A to 3B may be designed inside the controller 400, which is not limited by the present invention. In addition, in this embodiment, the button 410 is grounded at one end, but may be selectively connected to other electronic components according to the operation design of the controller or the circuit connection arrangement, or even only one end of the button 410. Designed to connect to the controller 400, an electronic is transmitted when the button 410 is pressed The signal is actuated by the trigger controller, and the invention is not limited. It is within the scope of the present invention to use the physical button to trigger the controller 400 to operate, or to perform a predetermined corresponding function.

綜上所述,本發明提供一種使電子裝置重新與電腦主機取得連結的方法,電子裝置與電腦主機的連接方式主要為透過USB介面連接,一旦電子裝置自電腦主機的作業系統中移除後,即可經由電子裝置上的實體按鍵進行重新連結,使作業系統重新取得電子裝置的控制權。本發明另外提供一種電子裝置,其中至少包含有一控制器、一實體按鍵,其中實體按鍵可透過一切換器選擇性地經由一路徑一或路徑二連接至控制器不同的腳位,使控制器不同回應方式得以被觸發,藉此使電子裝置於電腦系統中處於不同狀態時得以分別驅動不同功能。由於電子裝置上的實體按鍵本來即設計為驅動一單一特定功能(例如:資料備份或安全移除),因此對於電子裝置而言運用本發明所提供之技術內容毋須改變外觀機構設計。In summary, the present invention provides a method for reconnecting an electronic device to a host computer. The connection between the electronic device and the host computer is mainly through a USB interface. Once the electronic device is removed from the operating system of the computer host, The physical button on the electronic device can be reconnected to enable the operating system to regain control of the electronic device. The present invention further provides an electronic device, comprising at least one controller and a physical button, wherein the physical button can be selectively connected to different positions of the controller via a path or a path through a switch, so that the controller is different The response mode is triggered so that the electronic device can drive different functions separately when it is in a different state in the computer system. Since the physical buttons on the electronic device are originally designed to drive a single specific function (eg, data backup or secure removal), it is not necessary for the electronic device to use the technical content provided by the present invention to change the appearance mechanism design.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.

10‧‧‧外接式硬碟10‧‧‧External hard drive

102‧‧‧單鍵備份按鍵102‧‧‧One-button backup button

30‧‧‧USB裝置30‧‧‧USB device

300‧‧‧控制器300‧‧‧ Controller

301‧‧‧USB偵測腳位301‧‧‧USB detection pin

310‧‧‧按鍵310‧‧‧ button

320‧‧‧切換器320‧‧‧Switcher

321‧‧‧路徑一321‧‧‧Path One

322‧‧‧路徑二322‧‧‧Path 2

40‧‧‧USB裝置40‧‧‧USB device

400‧‧‧控制器400‧‧‧ Controller

401‧‧‧按鍵401‧‧‧ button

402‧‧‧腳位402‧‧‧ feet

410‧‧‧腳位410‧‧‧ feet

圖1 為依據先前技術所繪示之電子裝置外觀圖。FIG. 1 is an external view of an electronic device according to the prior art.

圖2 為依據本發明所提供較佳實施例之方法流程圖。2 is a flow chart of a method in accordance with a preferred embodiment of the present invention.

圖3A-3B 為依據本發明所提供較佳實施例之USB裝置內部元件示意圖。3A-3B are schematic diagrams showing internal components of a USB device in accordance with a preferred embodiment of the present invention.

圖4為依據本發明所提供另一較佳實施例之USB裝置內部元件示意圖。4 is a schematic diagram of internal components of a USB device in accordance with another preferred embodiment of the present invention.

Claims (13)

一種使一電子裝置重新與一電腦主機取得連結的方法,其中該電子裝置至少包含一控制器和一實體按鍵,該電子裝置與該電腦主機透過一連接介面連接,而該電腦主機則具有一作業系統,該方法包括:該實體按鍵接受一外力按壓;判定該電子裝置相對於該作業系統為移除狀態或連結狀態;若該電子裝置相對於該作業系統為移除狀態,該控制器經該實體按鍵觸發,進而使該電子裝置於該作業系統中呈現連結狀態;以及若該電子裝置相對於該作業系統為連結狀態,該控制器經該實體按鍵觸發,進而使該電子裝置對該電腦主機執行一預設功能。A method for re-engaging an electronic device with a host computer, wherein the electronic device includes at least a controller and a physical button, the electronic device is connected to the computer host through a connection interface, and the computer host has an operation The system includes: the physical button accepts an external force press; determines that the electronic device is in a removed state or a connected state with respect to the operating system; and if the electronic device is in a removed state relative to the operating system, the controller passes the The physical button is triggered to cause the electronic device to assume a connected state in the operating system; and if the electronic device is in a connected state with respect to the operating system, the controller is triggered by the physical button, thereby causing the electronic device to host the computer Perform a preset function. 如申請專利範圍第1項所述之方法,其中該控制器經該實體按鍵觸發,進而使該電子裝置於該作業系統中呈現連結狀態之步驟包括:將該控制器之一連接介面偵測腳位導通接地。The method of claim 1, wherein the controller is triggered by the physical button, so that the step of presenting the connected state of the electronic device in the operating system comprises: connecting one of the controllers to the interface detecting pin The bit is grounded. 如申請專利範圍第2項所述之方法,其中該控制器經該實體按鍵觸發,進而使該電子裝置對該電腦主機執行該預設功能之步驟包括:將該控制器之一功能偵測腳位導通接地。The method of claim 2, wherein the controller is triggered by the physical button, and the step of causing the electronic device to perform the preset function on the host computer comprises: detecting a function of the controller The bit is grounded. 如申請專利範圍第2項所述之方法,其中該控制器之該連接介面偵測腳位為一USB偵測腳位,而該連接介面為一USB介面。The method of claim 2, wherein the connection detecting pin of the controller is a USB detecting pin, and the connecting interface is a USB interface. 如申請專利範圍第3項所述之方法,其中該預設功能為一資料備份功能。The method of claim 3, wherein the preset function is a data backup function. 如申請專利範圍第3項所述之方法,其中該預設功能為一安全移除功能。 The method of claim 3, wherein the preset function is a secure removal function. 一種電子裝置,適用於經一連接介面連接一電腦主機,其中該電腦主機包括一作業系統,該電子裝置包括:一控制器,包括一連接介面偵測腳位、一功能偵測腳位;一實體按鍵,選擇性地經一路徑一和一路徑二連接至該控制器;以及一切換器,設置於該控制器與該實體按鍵之間,其中當該控制器判定該電子裝置相對於該電腦主機之該作業系統為移除狀態時,該切換器將該實體按鍵經該路徑一連接至該控制器並得以觸發該連接介面偵測腳位,使該電子裝置重新於該作業系統中呈現連結狀態;而當該控制器判定該電子裝置相對於該作業系統為連結狀態,該切換器將該實體按鍵經該路徑二連接至該控制器並得以觸發該功能偵測腳位,使該電子裝置於該電腦主機中執行一預設功能。 An electronic device is configured to be connected to a computer host via a connection interface, wherein the computer host includes an operating system, the electronic device includes: a controller, including a connection interface detecting pin and a function detecting pin; a physical button selectively connected to the controller via a path one and a path two; and a switch disposed between the controller and the physical button, wherein the controller determines that the electronic device is relative to the computer When the operating system of the host is in the removed state, the switch connects the physical button to the controller via the path and triggers the connection interface to detect the pin position, so that the electronic device re-presents the link in the operating system. a state; and when the controller determines that the electronic device is in a connected state with respect to the operating system, the switch connects the physical button to the controller via the path 2 and triggers the function detecting pin position to enable the electronic device Perform a preset function in the host computer. 如申請專利範圍第7項所述之電子裝置,其中該實體按鍵一端為接地,以使該控制器之該連接介面偵測腳位和該功能偵測腳位因接地而受觸發。 The electronic device of claim 7, wherein one end of the physical button is grounded such that the connection detecting position of the controller and the function detecting pin are triggered by grounding. 如申請專利範圍第7項所述之電子裝置,其中該切換器和該路徑一、該路徑二皆整合設置於該控制器內。 The electronic device of claim 7, wherein the switch and the path one and the second path are integrated in the controller. 如申請專利範圍第7項所述之電子裝置,其中該連接介面偵測腳位為一USB介面偵測腳位,而該連接介面為一USB介面。 The electronic device of claim 7, wherein the connection interface detecting pin is a USB interface detecting pin, and the connecting interface is a USB interface. 如申請專利範圍第10項所述之電子裝置,其中該預設功能 為一資料備份功能。 The electronic device of claim 10, wherein the preset function For a data backup function. 如申請專利範圍第10項所述之電子裝置,其中該預設功能為一安全移除功能。 The electronic device of claim 10, wherein the preset function is a secure removal function. 一種電子裝置,適用於經一連接介面連接一電腦主機,其中該電腦主機包括一作業系統,該電子裝置包括:一控制器,包括一連接介面偵測腳位、一功能偵測腳位;以及一實體按鍵,連接至該控制器;其中當該控制器判定該電子裝置相對於該電腦主機之該作業系統為移除狀態時,該實體按鍵受按壓後使該控制器觸發該連接介面偵測腳位,進而該電子裝置重新於該作業系統中呈現連結狀態;而當該控制器判定該電子裝置相對於該作業系統為連結狀態時,該實體按鍵受按壓後使該控制器觸發該功能偵測腳位,使該電子裝置於該電腦主機中執行一預設功能。 An electronic device is configured to be connected to a computer host via a connection interface, wherein the computer host includes an operating system, the electronic device includes: a controller including a connection interface detecting pin and a function detecting pin; a physical button is connected to the controller; wherein when the controller determines that the electronic device is in a removed state relative to the operating system of the computer host, the physical button is pressed to cause the controller to trigger the connection interface detection a foot position, and the electronic device re-presents a connection state in the operating system; and when the controller determines that the electronic device is in a connected state with respect to the operating system, the physical button is pressed to cause the controller to trigger the function detection The pin position enables the electronic device to perform a preset function in the host computer.
TW101141244A 2012-11-06 2012-11-06 Method of reconnecting to a host computer for an electronic device and electronic device thereof TWI470440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101141244A TWI470440B (en) 2012-11-06 2012-11-06 Method of reconnecting to a host computer for an electronic device and electronic device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101141244A TWI470440B (en) 2012-11-06 2012-11-06 Method of reconnecting to a host computer for an electronic device and electronic device thereof

Publications (2)

Publication Number Publication Date
TW201418991A TW201418991A (en) 2014-05-16
TWI470440B true TWI470440B (en) 2015-01-21

Family

ID=51294331

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101141244A TWI470440B (en) 2012-11-06 2012-11-06 Method of reconnecting to a host computer for an electronic device and electronic device thereof

Country Status (1)

Country Link
TW (1) TWI470440B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201142490Y (en) * 2007-12-26 2008-10-29 北京飞天诚信科技有限公司 USB switching equipment with switch
TWI314687B (en) * 2006-10-13 2009-09-11 Inventec Corp A method of safely unplugging a usb portable storage device
CN100589064C (en) * 2002-09-06 2010-02-10 马克斯托公司 Method and apparatus for realizing single button external backup
US20100332747A1 (en) * 2009-06-26 2010-12-30 Buffalo Inc. Storage device, information processing system, and computer program product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100589064C (en) * 2002-09-06 2010-02-10 马克斯托公司 Method and apparatus for realizing single button external backup
TWI314687B (en) * 2006-10-13 2009-09-11 Inventec Corp A method of safely unplugging a usb portable storage device
CN201142490Y (en) * 2007-12-26 2008-10-29 北京飞天诚信科技有限公司 USB switching equipment with switch
US20100332747A1 (en) * 2009-06-26 2010-12-30 Buffalo Inc. Storage device, information processing system, and computer program product

Also Published As

Publication number Publication date
TW201418991A (en) 2014-05-16

Similar Documents

Publication Publication Date Title
TW546568B (en) Method and apparatus for detecting the type of interface to which a peripheral device is connected
TWI681279B (en) Hot swapping technique for expansion cards
TWI358665B (en)
TWI361381B (en) Management device for basic input/output system and management method thereof
TWI477970B (en) Mode switch method of electronic device and assocaited electronic device
US20100095043A1 (en) Systems and methods utilizing a control docking unit
US8885332B2 (en) Electronic device
US8554961B2 (en) Apparatus, methods, and computer-code for handling an impending decoupling between a peripheral device and a host device
WO2016074406A1 (en) Portable device
JP2006302281A (en) External data storage device and computer system
TWI420317B (en) Two-way connectivity usb control device and operation method therefor
TW201117008A (en) Electronic equipment and boot method, storage medium thereof
TW200937288A (en) Update method of basic input output system and update module thereof and computer system
JP2007213557A5 (en)
KR101026321B1 (en) Portable device with user interface
TWI470440B (en) Method of reconnecting to a host computer for an electronic device and electronic device thereof
JP7142196B2 (en) ELECTRONIC DEVICE, TABLET TERMINAL, INPUT CONTROL METHOD, AND PROGRAM
US9665123B2 (en) Electronic device and rotating base driving method
US20150149677A1 (en) Hot plugging system and method
JP2007328534A (en) Information processor and control method for information processor
TW201435577A (en) Backup method and computer system thereof
KR101871427B1 (en) Universal Serial Bus memory device having data protection and recovery functions
TWI509505B (en) Tablet
JP5492844B2 (en) Interface connection method and computer
KR20100120273A (en) Outstanding type storage apparatus and control method of the same