TWI465913B - Peripheral apapratus and removal method thereof - Google Patents

Peripheral apapratus and removal method thereof Download PDF

Info

Publication number
TWI465913B
TWI465913B TW101123253A TW101123253A TWI465913B TW I465913 B TWI465913 B TW I465913B TW 101123253 A TW101123253 A TW 101123253A TW 101123253 A TW101123253 A TW 101123253A TW I465913 B TWI465913 B TW I465913B
Authority
TW
Taiwan
Prior art keywords
peripheral device
user
switch
connector
switches
Prior art date
Application number
TW101123253A
Other languages
Chinese (zh)
Other versions
TW201401056A (en
Inventor
Kim Yeung Sip
Original Assignee
Acer 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 Acer Inc filed Critical Acer Inc
Priority to TW101123253A priority Critical patent/TWI465913B/en
Publication of TW201401056A publication Critical patent/TW201401056A/en
Application granted granted Critical
Publication of TWI465913B publication Critical patent/TWI465913B/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Description

週邊裝置及其移除方法Peripheral device and its removal method

本發明是有關於一種電子裝置及其移除方法,且特別是有關於一種週邊裝置及利用手勢移除週邊裝置的方法。The present invention relates to an electronic device and a method of removing the same, and more particularly to a peripheral device and a method of removing a peripheral device using a gesture.

通用序列匯流排(Universal Serial Bus,USB)介面是連接電腦與週邊裝置的匯流排標準,也是一種輸入輸出介面的技術規範,其可提供裝置之間資料高速傳輸的通道,因此被廣泛地應用在電腦與週邊裝置之間的通訊上。而隨著通用序列匯流排傳輸速度的增加,隨身碟、硬碟等各式各樣的週邊裝置均採用此傳輸介面與主裝置連接,以供主裝置存取資料。The Universal Serial Bus (USB) interface is a busbar standard for connecting computers and peripheral devices. It is also a technical specification for input and output interfaces. It provides a channel for high-speed data transmission between devices, so it is widely used in Communication between the computer and peripheral devices. With the increase of the transmission speed of the universal serial bus, various peripheral devices such as a flash drive and a hard disk are connected to the main device by the transmission interface for the main device to access the data.

現今電腦的作業系統已能支援大部分週邊裝置的隨插及用,當使用者將週邊裝置插入電腦的連接埠時,作業系統可立即識別出裝置的種類、規格等資訊,從而驅動週邊裝置以存取資料。Nowadays, the operating system of the computer can support the insertion and use of most peripheral devices. When the user inserts the peripheral device into the connection port of the computer, the operating system can immediately recognize the type and specification of the device, thereby driving the peripheral device to Access data.

當使用者欲從電腦上移除週邊裝置時,為了避免因資料傳輸中斷造成資料遺失或是系統崩潰,目前的作法均需要使用者以手動的方式在電腦正在執行的程式中,找出與此週邊裝置相關的程式並將其關閉,然後點選作業系統的週邊裝置移除鍵,並選擇所要移除的週邊裝置。藉此,作業系統即會將此週邊裝置的驅動程式移除,並在移除之後提示訊息以告知使用者可將週邊裝置拔除。最後,使用者 才能進行拔除的動作。When the user wants to remove the peripheral device from the computer, in order to avoid data loss or system crash due to data transmission interruption, the current practice requires the user to manually find out the program in the program being executed by the computer. Install the program associated with the peripheral device and turn it off, then click the peripheral device removal button of the operating system and select the peripheral device to be removed. In this way, the operating system will remove the driver of the peripheral device and prompt the message after the removal to inform the user that the peripheral device can be removed. Finally, the user The action of pulling out can be performed.

上述的移除方式需要使用者依照順序逐步完成多項步驟,才能順利地將週邊裝置移除。然而,在使用者需要頻繁插拔週邊裝置,或是沒有時間操作電腦的情況下,這樣繁瑣的移除方式時常造成使用者困擾,甚至在趕時間時只能冒著資料遺失的風險直接插拔週邊裝置。The above removal method requires the user to gradually complete a plurality of steps in order to smoothly remove the peripheral device. However, in the case where the user needs to frequently insert and remove the peripheral device, or does not have time to operate the computer, such a cumbersome removal method often causes user trouble, and even in the hurry, the risk of data loss can be directly inserted and removed. Peripheral device.

有鑑於此,本發明提出一種週邊裝置及其移除方法,可提供使用者利用手勢選擇移除週邊裝置的方式。In view of this, the present invention provides a peripheral device and a method for removing the same, which can provide a way for a user to select a peripheral device by gesture selection.

本發明提出一種週邊裝置的移除方法,適於移除透過連接器插接在主裝置上的週邊裝置,此連接器包括插接端及握柄,此握柄包括分別配置在不同表面的至少兩個開關。此方法係在所述開關中的一個開關被觸發時,提示使用者關閉主裝置上與週邊裝置相關之程式,並在所述程式關閉後,提示使用者可由主裝置上移除週邊裝置;而在所述開關中的複數個開關被觸發時,自動關閉主裝置上與週邊裝置相關之程式,並在所述程式關閉後,提示使用者可由主裝置上移除週邊裝置。The present invention provides a method for removing a peripheral device, which is adapted to remove a peripheral device that is plugged into a main device through a connector, the connector comprising a plug end and a handle, the handle comprising at least different surfaces respectively disposed on different surfaces Two switches. The method prompts the user to close the program associated with the peripheral device on the main device when one of the switches is triggered, and prompts the user to remove the peripheral device from the main device after the program is closed; When a plurality of switches in the switch are triggered, the program associated with the peripheral device on the main device is automatically turned off, and after the program is closed, the user is prompted to remove the peripheral device from the main device.

在本發明之一實施例中,在上述提示使用者關閉主裝置上與週邊裝置相關之程式的步驟之後,更包括繼續偵測使用者對於相同表面上之開關的操作,而當相同表面上之開關再次被觸發時,自動關閉主裝置上與週邊裝置相關之程式,並在所述程式關閉後,提示使用者可由主裝置上移 除週邊裝置。In an embodiment of the present invention, after the step of prompting the user to close the program related to the peripheral device on the main device, the method further includes: continuing to detect the operation of the switch on the same surface by the user, and when on the same surface When the switch is triggered again, the program related to the peripheral device on the main device is automatically turned off, and after the program is closed, the user is prompted to be moved up by the main device. In addition to peripheral devices.

在本發明之一實施例中,上述提示使用者可由主裝置上移除週邊裝置的步驟包括顯示指示燈號,以提示使用者可由主裝置上移除週邊裝置。In an embodiment of the invention, the step of prompting the user to remove the peripheral device from the primary device includes displaying an indicator light to prompt the user to remove the peripheral device from the primary device.

在本發明之一實施例中,上述被觸發的複數個開關為配置於握柄相對的兩個側表面上的兩個開關。In an embodiment of the invention, the plurality of switches that are triggered are two switches disposed on opposite side surfaces of the handle.

本發明提出一種週邊裝置,其包括裝置主體以及耦接此裝置主體的連接器。此連接器包括插接端、握柄及至少兩個開關,其中插接端係用以插接主裝置;握柄則是連接插接端;開關則是分別配置在握柄的不同表面,以偵測使用者的操作。其中,當所述開關中的一個開關被觸發時,透過插接端發送第一觸發訊號至主裝置,以控制主裝置提示使用者關閉主裝置上與週邊裝置相關之程式;當所述開關中的複數個開關被觸發時,透過插接端發送第二觸發訊號至主裝置,以控制主裝置自動關閉主裝置上與週邊裝置相關之程式。The present invention provides a peripheral device that includes a device body and a connector that couples the device body. The connector comprises a plug end, a handle and at least two switches, wherein the plug end is for plugging the main device; the handle is for connecting the plug end; the switch is respectively arranged on different surfaces of the handle to detect Measure the user's operation. Wherein, when one of the switches is triggered, the first trigger signal is sent to the main device through the plug terminal to control the main device to prompt the user to close the program related to the peripheral device on the main device; When a plurality of switches are triggered, the second trigger signal is sent to the host device through the plug terminal to control the master device to automatically close the program related to the peripheral device on the master device.

在本發明之一實施例中,當所述開關中的同一個開關再次被觸發時,透過插接端再次發送第一觸發訊號至主裝置,以控制主裝置自動關閉主裝置上與週邊裝置相關之程式。In an embodiment of the present invention, when the same switch of the switch is triggered again, the first trigger signal is sent to the main device through the plug end to control the main device to automatically close the main device and is related to the peripheral device. Program.

在本發明之一實施例中,上述之連接器更包括提示燈,其係配置於握柄上,而可透過插接端接收主裝置回傳的移除訊號,據以顯示提示燈號。In an embodiment of the invention, the connector further includes a prompting light, which is disposed on the handle, and receives the removal signal returned by the main device through the plugging end, thereby displaying the prompting light number.

在本發明之一實施例中,上述之開關包括第一開關及 兩個第二開關。其中,第一開關係配置於握柄之上表面,用以觸發產生第一觸發訊號;兩個第二開關係配置於握柄相對的兩個側表面上,用以觸發產生第二觸發訊號。In an embodiment of the invention, the switch includes a first switch and Two second switches. The first open relationship is disposed on the upper surface of the handle for triggering the first trigger signal; the two second open relationships are disposed on opposite side surfaces of the handle for triggering the second trigger signal.

在本發明之一實施例中,上述的開關包括實體開關或觸碰開關,而上述的連接器包括通用序列匯流排連接器或雷電連接器。In an embodiment of the invention, the switch comprises a physical switch or a touch switch, and the connector comprises a universal serial bus connector or a lightning connector.

基於上述,本發明之週邊裝置及其移除方法藉由在週邊裝置的連接器上配置開關,並根據使用者觸發開關的手勢,選擇提示使用者以手動方式關閉主裝置上與週邊裝置相關的程式或是由系統自動關閉這些程式,從而將週邊裝置自主裝置上移除。Based on the above, the peripheral device of the present invention and the method for removing the same are configured by prompting a switch on the connector of the peripheral device and prompting the user to manually close the device related to the peripheral device according to the gesture of the user triggering the switch. The program is automatically closed by the system to remove the peripheral device.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

本發明利用在週邊裝置的連接器上配置複數個開關,以偵測使用者拔除連接器的手勢。當使用者僅觸發一個開關時,在週邊裝置所連接的主裝置上提示訊息以要求使用者手動將主裝置上與週邊裝置有關的程式關閉,以便將週邊裝置移除;當使用者觸發複數個開關時,則控制主裝置自動將有關程式關閉,藉以省略繁瑣的移除程序,讓使用者可在最短時間內拔除週邊裝置,而不會造成資料遺失或系統崩潰。The present invention utilizes a plurality of switches on the connector of the peripheral device to detect the user's gesture of unplugging the connector. When the user only triggers a switch, a message is displayed on the main device to which the peripheral device is connected to request the user to manually close the program related to the peripheral device on the main device to remove the peripheral device; when the user triggers multiple When the switch is turned on, the control main device automatically closes the program, thereby omitting the cumbersome removal procedure, so that the user can unplug the peripheral device in the shortest time without causing data loss or system crash.

圖1是依照本發明一實施例所繪示之週邊裝置與主裝 置插接的示意圖。請參照圖1,本實施例的週邊裝置14係透過連接器142插接到主裝置12上對應的連接器122。連接器122、142例如是通用序列匯流排(Universal Serial Bus,USB)連接器或雷電(Thunderbolt)連接器,在此不設限。1 is a peripheral device and main assembly according to an embodiment of the invention A schematic diagram of the plug-in. Referring to FIG. 1 , the peripheral device 14 of the present embodiment is inserted into the corresponding connector 122 on the main device 12 through the connector 142 . The connectors 122 and 142 are, for example, a Universal Serial Bus (USB) connector or a Thunderbolt connector, and are not limited herein.

主裝置12例如是桌上型電腦、筆記型電腦、工作站等終端裝置;週邊裝置14例如是採用通用序列匯流排介面或雷電介面做為傳輸介面的硬碟、隨身碟、光碟、圖形處理單元(Graphic Processing Unit,GPU)、顯示器、光碟機等裝置。當週邊裝置14插接在主裝置12上時,主裝置12即可透過連接器122、142之間的連結與週邊裝置14傳輸資料。The main device 12 is, for example, a terminal device such as a desktop computer, a notebook computer, a workstation, etc.; the peripheral device 14 is, for example, a hard disk, a flash drive, a optical disk, a graphics processing unit using a universal serial bus interface or a lightning interface as a transmission interface ( Graphic Processing Unit (GPU), display, CD player and other devices. When the peripheral device 14 is plugged into the main device 12, the main device 12 can transmit data to the peripheral device 14 through the connection between the connectors 122, 142.

需說明的是,本發明係在週邊裝置14的連接器142上配置複數個開關,從而提供使用者在將連接器142拔除前,藉由操作開關來控制主裝置12將週邊裝置14移除。所述開關可以是實體開關或是觸碰開關,以下則各舉實施例詳細說明。It should be noted that the present invention arranges a plurality of switches on the connector 142 of the peripheral device 14, thereby providing the user to control the main device 12 to remove the peripheral device 14 by operating the switch before the connector 142 is removed. The switch may be a physical switch or a touch switch, which will be described in detail below in the following embodiments.

圖2A及圖2B是依照本發明一實施例所繪示之週邊裝置之連接器的示意圖。請先參照圖2A,本實施例的連接器22包括位於前端的插接端222、位於後端的握柄224,配置於握柄224之上表面的實體開關226,以及配置於握柄224之兩個側表面的實體開關228、230。其中,當實體開關226被使用者觸發時,週邊裝置即會透過插接端222發送第一觸發訊號至主裝置;當實體開關228及230同時被 使用者觸發時,週邊裝置則會透過插接端222發送第二觸發訊號至主裝置。2A and 2B are schematic views of a connector of a peripheral device according to an embodiment of the invention. Referring to FIG. 2A, the connector 22 of the present embodiment includes a plug end 222 at the front end, a handle 224 at the rear end, a physical switch 226 disposed on the upper surface of the handle 224, and two disposed on the handle 224. Physical switches 228, 230 of the side surfaces. When the physical switch 226 is triggered by the user, the peripheral device sends the first trigger signal to the host device through the plug-in terminal 222; when the physical switches 228 and 230 are simultaneously When the user triggers, the peripheral device sends a second trigger signal to the host device through the plug-in terminal 222.

另一方面,請參照圖2B,本實施例的連接器24包括位於前端的插接端242、位於後端的握柄244,配置於握柄244之上表面的觸碰開關246,以及配置於握柄244之兩個側表面的觸碰開關248、250。其中,當觸碰開關246被使用者觸碰時,週邊裝置即會透過插接端242發送第一觸發訊號至主裝置;當觸碰開關248及250同時被使用者觸發時,週邊裝置則會透過插接端242發送第二觸發訊號至主裝置。On the other hand, referring to FIG. 2B, the connector 24 of the present embodiment includes a plug end 242 at the front end, a handle 244 at the rear end, a touch switch 246 disposed on the upper surface of the handle 244, and a handle The touch switches 248, 250 of the two side surfaces of the handle 244. Wherein, when the touch switch 246 is touched by the user, the peripheral device transmits the first trigger signal to the main device through the plug-in terminal 242; when the touch switches 248 and 250 are simultaneously triggered by the user, the peripheral device The second trigger signal is sent to the host device through the plug-in terminal 242.

需說明的是,上述的第一觸發訊號是用以控制主裝置提示訊息以要求使用者關閉主裝置上與週邊裝置相關之程式,此程式包括主裝置上正在執行且會使用到週邊裝置功能的應用程式。在一實施例中,主裝置提示的訊息例如是請使用者手動關閉週邊裝置的相關程式,當使用者看到主裝置提示移除訊息時,必須找出與週邊裝置相關的程式並將其關閉,然後再點選作業系統桌面上的週邊裝置移除鍵,並選擇所要移除的週邊裝置。藉此,作業系統即會將此週邊裝置的驅動程式移除。最後,使用者才能進行拔除的動作。在另一實施例中,主裝置提示的訊息例如是詢問使用者是否由系統自動將週邊裝置的相關程式關閉,而在使用者確認之後,主裝置會自動將週邊裝置的相關程式關閉。It should be noted that the first trigger signal is used to control the main device prompt message to request the user to close the program related to the peripheral device on the main device, and the program includes the function being executed on the main device and using the peripheral device function. application. In an embodiment, the message prompted by the main device is, for example, asking the user to manually close the related program of the peripheral device. When the user sees the main device prompting to remove the message, the user must find the program related to the peripheral device and close it. Then click on the peripheral device removal button on the operating system desktop and select the peripheral device to be removed. In this way, the operating system will remove the driver of the peripheral device. Finally, the user can perform the removal action. In another embodiment, the message prompted by the main device is, for example, asking the user whether the system automatically closes the related program of the peripheral device, and after the user confirms, the main device automatically turns off the related program of the peripheral device.

另一方面,上述的第二觸發訊號則是用以控制主裝置 自動將主裝置上與週邊裝置相關之程式關閉。其中,當主裝置接收到第二觸發訊號時,即會先找出目前正在執行且會使用到週邊裝置功能的應用程式並將其關閉,然後再將週邊裝置的驅動程式移除。最後,使用者才能進行拔除的動作。On the other hand, the second trigger signal is used to control the main device. The program related to the peripheral device on the main device is automatically turned off. When the primary device receives the second trigger signal, it first finds the application that is currently executing and uses the peripheral device function and turns it off, and then removes the driver of the peripheral device. Finally, the user can perform the removal action.

需說明的是,在另一實施例中,週邊裝置的連接器上還可配置一個指示燈,其可透過連接器的插接端接收由主裝置回傳的移除完成訊號,並據以顯示提示燈號,從而提示使用者可由主裝置上移除週邊裝置。It should be noted that, in another embodiment, an indicator light can be disposed on the connector of the peripheral device, and the removal completion signal returned by the main device can be received through the connector end of the connector, and displayed according to the display. A light is indicated to prompt the user to remove the peripheral device from the primary device.

舉例來說,圖3A及圖3B是依照本發明一實施例所繪示之週邊裝置之連接器的示意圖。請先參照圖3A,本實施例與前述實施例的不同之處在於,連接器32除了包括插接端322、握柄324及實體開關326、328、330外,還包括指示燈332。其中,當主裝置確定其所執行的程式中與該週邊裝置相關之程式均關閉時,即會發送移除訊號至連接器32,以在指示燈332上顯示提示燈號。同理,請參照圖3B,連接器34除了包括插接端342、握柄344及觸碰開關346、348、350外,還包括指示燈352,此指示燈亦是在接收到由主裝置發送的移除訊號時,顯示提示燈號以提示使用者可由主裝置上移除週邊裝置。所述的指示燈332及352例如是在主裝置仍與週邊裝置連接時顯示紅色的提示燈號,而在主裝置完成週邊裝置的移除時則顯示綠色的提示指號,藉此提示使用者週邊裝置的目前狀態。For example, FIG. 3A and FIG. 3B are schematic diagrams of a connector of a peripheral device according to an embodiment of the invention. Referring to FIG. 3A , the embodiment is different from the previous embodiment in that the connector 32 includes an indicator light 332 in addition to the plug end 322 , the handle 324 and the physical switches 326 , 328 , 330 . Wherein, when the master device determines that the program associated with the peripheral device in the executed program is closed, the removal signal is sent to the connector 32 to display the prompt light on the indicator light 332. Similarly, referring to FIG. 3B, the connector 34 includes an indicator light 352 in addition to the plug end 342, the handle 344 and the touch switches 346, 348, 350. The indicator light is also received by the master device. When the signal is removed, a prompt light is displayed to prompt the user to remove the peripheral device from the primary device. The indicator lights 332 and 352 display a red light indicating light when the main device is still connected to the peripheral device, and display a green prompt finger when the main device completes the removal of the peripheral device, thereby prompting the user. The current state of the peripheral device.

搭配上述週邊裝置的架構,本發明更提供一種週邊裝 置的移除方法,適於將上述的週邊裝置從主裝置上移除,以下則舉實施例詳細說明。The invention further provides a peripheral device with the structure of the peripheral device described above. The removal method is adapted to remove the peripheral device described above from the main device, which will be described in detail below.

圖4是依照本發明一實施例所繪示之週邊裝置的移除方法流程圖。請參照圖4,本實施例適用於上述圖3A及圖3B的週邊裝置架構,以下即圖3A為例,說明本實施例藉由觸發開關以將週邊裝置移除的詳細步驟:首先,利用連接器32將週邊裝置插接至主裝置(步驟S402)。其中,主裝置會識別週邊裝置,並執行此週邊裝置的驅動程式,以驅動週邊裝置執行其相關應用程式交付的工作。在週邊裝置與主裝置連接後,連接器32上的開關326、328、330即會與主裝置連接,且會對應使用者的操作產生觸發訊號並傳送到主裝置。4 is a flow chart of a method for removing a peripheral device according to an embodiment of the invention. Referring to FIG. 4, the embodiment is applicable to the peripheral device architecture of FIG. 3A and FIG. 3B. The following is an example of FIG. 3A, which illustrates a detailed step of removing the peripheral device by triggering the switch in the embodiment: first, using the connection The device 32 plugs the peripheral device to the main device (step S402). The master device identifies the peripheral device and executes the driver of the peripheral device to drive the peripheral device to perform the work of its related application delivery. After the peripheral device is connected to the main device, the switches 326, 328, and 330 on the connector 32 are connected to the main device, and a trigger signal is generated corresponding to the user's operation and transmitted to the main device.

主裝置則會根據其所接收到的觸發訊號判斷所述開關中的哪些開關被觸發(步驟S404)。其中,當所述開關中的一個開關(例如開關326)被觸發時,例如會透過插接端322傳送第一觸發訊號至主裝置,以控制主裝置提示使用者將主裝置上與週邊裝置相關之程式關閉(步驟S406)。其中,主裝置例如會提示使用者需要手動關閉之相關程式的清單,或是提示使用者是否由系統自動關閉相關程式,在此不設限。The master device determines which of the switches are triggered according to the trigger signal it receives (step S404). Wherein, when one of the switches (for example, the switch 326) is triggered, for example, the first trigger signal is transmitted to the main device through the plug-in end 322 to control the main device to prompt the user to associate the main device with the peripheral device. The program is closed (step S406). The main device, for example, prompts the user to manually close the list of related programs, or prompts the user whether the related program is automatically closed by the system, and there is no limit here.

在所述程式關閉後,主裝置即會提示使用者可由主裝置上移除週邊裝置(步驟S410)。其中,主裝置例如是在其作業系統的桌面上顯示週邊裝置已被安全地移除的提示訊息,以告知使用者可將週邊裝置拔出。此外,在另一實 施例中,主裝置例如會傳送移除訊號至週邊裝置,而在指示燈上顯示指示燈號,從而提示使用者可由主裝置上移除週邊裝置。After the program is closed, the host device prompts the user to remove the peripheral device from the master device (step S410). The main device is, for example, a message indicating that the peripheral device has been safely removed on the desktop of the operating system to inform the user that the peripheral device can be pulled out. In addition, in another real In the embodiment, the main device, for example, transmits a removal signal to the peripheral device, and displays an indicator number on the indicator light, thereby prompting the user to remove the peripheral device from the main device.

另一方面,當所述開關中的複數個開關(例如開關328、330)被觸發時,例如會透過插接端322傳送第二觸發訊號至主裝置,以控制主裝置自動將其上與週邊裝置相關之程式關閉(步驟S408)。而在所述程式關閉後,主裝置即會提示使用者可由主裝置上移除週邊裝置(步驟S410)。類似地,主裝置例如會在其作業系統的桌面上顯示週邊裝置已被安全地移除的提示訊息,以告知使用者可將週邊裝置拔出。在另一實施例中,主裝置例如會傳送移除訊號至週邊裝置,而在指示燈上顯示指示燈號,從而提示使用者可由主裝置上移除週邊裝置。On the other hand, when a plurality of switches (for example, switches 328, 330) of the switch are triggered, for example, the second trigger signal is transmitted to the main device through the plug terminal 322 to control the main device to automatically move the upper and the periphery thereof. The device related program is closed (step S408). After the program is closed, the host device prompts the user to remove the peripheral device from the master device (step S410). Similarly, the host device may, for example, display a prompt message on the desktop of its operating system that the peripheral device has been safely removed to inform the user that the peripheral device can be removed. In another embodiment, the primary device, for example, transmits a removal signal to the peripheral device and displays an indicator number on the indicator light to alert the user that the peripheral device can be removed from the primary device.

舉例來說,圖5A及圖5B分別是依照本發明一實施例所繪示之週邊裝置的移除手勢。請參照圖5A,當使用者是使用單指按壓連接器50上的開關54時,連接器50會透過插接端52傳送第一觸發訊號至主裝置,以控制主裝置提示使用者將主裝置上與週邊裝置相關之程式關閉。請接著參照圖5B,當使用者是使用雙指按壓連接器50兩側的開關56、58時,連接器50則會透過插接端52傳送第二觸發訊號至主裝置,以控制主裝置自動將其上與週邊裝置相關之程式關閉。For example, FIG. 5A and FIG. 5B respectively illustrate a removal gesture of a peripheral device according to an embodiment of the invention. Referring to FIG. 5A, when the user presses the switch 54 on the connector 50 with a single finger, the connector 50 transmits the first trigger signal to the main device through the plug end 52 to control the main device to prompt the user to use the main device. The program related to the peripheral device is turned off. Referring to FIG. 5B, when the user presses the switches 56 and 58 on both sides of the connector 50 by using the two fingers, the connector 50 transmits the second trigger signal to the main device through the plug terminal 52 to control the main device automatically. Close the program associated with the peripheral device.

需說明的是,在又一實施例中,主裝置在接收到第一觸發訊號並提示使用者將主裝置上與週邊裝置相關之程式 關閉期間,若再次接收到第一觸發訊號(即相同的開關再次被觸發),也會認定使用者欲快速移除週邊裝置,從而自動將其上與此週邊裝置相關之程式關閉,並在所述程式關閉後,提示使用者可由主裝置上移除週邊裝置。It should be noted that, in another embodiment, the host device receives the first trigger signal and prompts the user to program the related device on the master device. During the shutdown period, if the first trigger signal is received again (that is, the same switch is triggered again), it is also determined that the user wants to quickly remove the peripheral device, thereby automatically closing the program related to the peripheral device, and After the program is closed, the user is prompted to remove the peripheral device from the main device.

此外,若將上述方法應用在圖3B的週邊裝置架構上,則觸碰開關346、348、350還可根據使用者的操作手勢,而產生觸碰訊號。其中,此操作手勢可以是單點觸碰或滑動觸碰(例如是朝向或遠離插接端342滑動),在此不設限。In addition, if the above method is applied to the peripheral device architecture of FIG. 3B, the touch switches 346, 348, 350 can also generate a touch signal according to the user's operation gesture. The operation gesture may be a single touch or a sliding touch (for example, sliding toward or away from the plug end 342), and is not limited herein.

藉由上述移除方法,使用者即可藉由簡單且直覺的手勢,啟動週邊裝置的移除程序,並可控制主裝置自動執行移除程序,從而簡化手動移除所需的程序及所花費的時間。With the above removal method, the user can start the removal process of the peripheral device by simple and intuitive gestures, and can control the main device to automatically execute the removal process, thereby simplifying the manual removal of the required program and the cost. time.

綜上所述,本發明之週邊裝置及其移除方法藉由在週邊裝置插接主裝置的連接器上配置多個開關以偵測使用者手勢,並根據手勢控制主裝置執行不同的移除操作,從而減少使用者手動移除週邊裝置的繁瑣程序,達到快速移除週邊裝置的功效。In summary, the peripheral device and the method for removing the same according to the present invention configure a plurality of switches on the connector of the peripheral device to connect the main device to detect a user gesture, and perform different removal according to the gesture control main device. The operation reduces the cumbersome procedure for the user to manually remove the peripheral device, thereby achieving the effect of quickly removing the peripheral device.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

12‧‧‧主裝置12‧‧‧Main device

122、142、22、24、32、34、50‧‧‧連接器122, 142, 22, 24, 32, 34, 50‧‧‧ connectors

14‧‧‧週邊裝置14‧‧‧ peripheral devices

222、242、322、342、52‧‧‧插接端222, 242, 322, 342, 52‧‧‧ plug-in

224、244、324、344‧‧‧握柄224, 244, 324, 344‧‧ ‧ grip

226、228、230、326、328、330、54、56、58‧‧‧實體開關226, 228, 230, 326, 328, 330, 54, 56, 58‧‧‧ physical switches

246、248、250、346、348、350‧‧‧觸碰開關246, 248, 250, 346, 348, 350‧‧‧ touch switches

S402~S410‧‧‧本發明一實施例之週邊裝置的移除步驟S402~S410‧‧‧Removal steps of the peripheral device according to an embodiment of the present invention

圖1是依照本發明一實施例所繪示之週邊裝置與主裝 置插接的示意圖。1 is a peripheral device and main assembly according to an embodiment of the invention A schematic diagram of the plug-in.

圖2A及圖2B是依照本發明一實施例所繪示之週邊裝置之連接器的示意圖。2A and 2B are schematic views of a connector of a peripheral device according to an embodiment of the invention.

圖3A及圖3B是依照本發明一實施例所繪示之週邊裝置之連接器的示意圖。3A and 3B are schematic views of a connector of a peripheral device according to an embodiment of the invention.

圖4是依照本發明一實施例所繪示之週邊裝置的移除方法流程圖。4 is a flow chart of a method for removing a peripheral device according to an embodiment of the invention.

圖5A及圖5B分別是依照本發明一實施例所繪示之週邊裝置的移除手勢。5A and 5B are respectively a removal gesture of a peripheral device according to an embodiment of the invention.

S402~S410‧‧‧本發明一實施例之週邊裝置的移除步驟S402~S410‧‧‧Removal steps of the peripheral device according to an embodiment of the present invention

Claims (12)

一種週邊裝置的移除方法,適於移除透過一連接器插接在一主裝置上的一週邊裝置,該連接器包括一插接端及一握柄,該握柄包括分別配置在不同表面的至少二開關,該方法包括下列步驟:當所述開關中的一個開關被觸發時,提示該使用者關閉該主裝置上與該週邊裝置相關之至少一程式,並在所述程式關閉後,提示該使用者可由該主裝置上移除該週邊裝置;以及當所述開關中的複數個開關被觸發時,自動關閉該主裝置上與該週邊裝置相關之程式,並在所述程式關閉後,提示該使用者可由該主裝置上移除該週邊裝置。A method for removing a peripheral device, adapted to remove a peripheral device that is plugged into a main device through a connector, the connector comprising a plug end and a handle, the handles being respectively disposed on different surfaces At least two switches, the method comprising the steps of: prompting the user to close at least one program associated with the peripheral device on the primary device when one of the switches is triggered, and after the program is closed, Prompting that the user can remove the peripheral device from the main device; and when a plurality of switches in the switch are triggered, automatically closing a program associated with the peripheral device on the main device, and after the program is closed , prompting the user to remove the peripheral device from the main device. 如申請專利範圍第1項所述之週邊裝置的移除方法,其中在提示該使用者關閉該主裝置上與該週邊裝置相關之所述程式的步驟之後,更包括:繼續偵測該使用者對於相同表面上之開關的操作;以及當相同表面上之開關再次被觸發時,自動關閉該主裝置上與該週邊裝置相關之程式,並在所述程式關閉後,提示該使用者可由該主裝置上移除該週邊裝置。The method for removing a peripheral device according to claim 1, wherein after the step of prompting the user to close the program associated with the peripheral device on the main device, the method further comprises: continuing to detect the user For the operation of the switch on the same surface; and when the switch on the same surface is triggered again, automatically closes the program associated with the peripheral device on the primary device, and after the program is closed, prompts the user to be available to the primary device The peripheral device is removed from the device. 如申請專利範圍第1項所述之週邊裝置的移除方法,其中提示該使用者可由該主裝置上移除該週邊裝置的步驟包括:顯示一指示燈號,以提示該使用者可由該主裝置上移 除該週邊裝置。The method for removing a peripheral device according to claim 1, wherein the step of prompting the user to remove the peripheral device from the main device comprises: displaying an indicator light to indicate that the user can be Device up In addition to the peripheral device. 如申請專利範圍第1項所述之週邊裝置的移除方法,其中所述被觸發的複數個開關為配置於該握柄相對的兩個側表面上的兩個開關。The method of removing a peripheral device according to claim 1, wherein the plurality of switches that are triggered are two switches disposed on opposite side surfaces of the handle. 如申請專利範圍第1項所述之週邊裝置的移除方法,其中所述開關包括實體開關或觸碰開關。The method of removing a peripheral device according to claim 1, wherein the switch comprises a physical switch or a touch switch. 如申請專利範圍第1項所述之週邊裝置的移除方法,其中該連接器包括通用序列匯流排連接器或雷電連接器。The method of removing a peripheral device according to claim 1, wherein the connector comprises a universal serial bus connector or a lightning connector. 一種週邊裝置,包括:一裝置主體;以及一連接器,耦接該裝置主體,包括:一插接端,插接至一主裝置;一握柄,連接該插接端;以及至少二開關,分別配置在該握柄的不同表面,其中當所述開關中的一個開關被觸發時,透過該插接端發送一第一觸發訊號至該主裝置,以控制該主裝置提示該使用者關閉該主裝置上與該週邊裝置相關之至少一程式;以及當所述開關中的複數個開關被觸發時,透過該插接端發送一第二觸發訊號至該主裝置,以控制該主裝置自動關閉該主裝置上與該週邊裝置相關之程式。A peripheral device includes: a device body; and a connector coupled to the device body, comprising: a plug end, plugged into a main device; a handle connected to the plug end; and at least two switches, Disposed on different surfaces of the handle respectively, wherein when one of the switches is triggered, a first trigger signal is sent to the main device through the plug terminal to control the main device to prompt the user to close the At least one program associated with the peripheral device on the primary device; and when a plurality of switches in the switch are triggered, transmitting a second trigger signal to the primary device through the connector to control the primary device to automatically shut down A program associated with the peripheral device on the primary device. 如申請專利範圍第7項所述之週邊裝置,其中當所述開關中的同一個開關再次被觸發時,透過該插接端再次 發送該第一觸發訊號至該主裝置,以控制該主裝置自動關閉該主裝置上與該週邊裝置相關之程式。The peripheral device of claim 7, wherein when the same switch in the switch is triggered again, through the plug end again Sending the first trigger signal to the master device to control the master device to automatically close the program associated with the peripheral device on the master device. 如申請專利範圍第7項所述之週邊裝置,其中該連接器更包括:一提示燈,配置於該握柄,透過該插接端接收該主裝置回傳的一移除訊號,據以顯示一提示燈號。The peripheral device of claim 7, wherein the connector further comprises: a prompt light disposed on the handle, and receiving, by the plug end, a removal signal returned by the main device, according to which A cue light. 如申請專利範圍第7項所述之週邊裝置,其中所述開關包括:一第一開關,配置於該握柄之一上表面,觸發產生該第一觸發訊號;以及兩個第二開關,配置於該握柄相對的兩個側表面上,觸發產生該第二觸發訊號。The peripheral device of claim 7, wherein the switch comprises: a first switch disposed on an upper surface of the handle to trigger the first trigger signal; and two second switches configured The second trigger signal is triggered on the opposite side surfaces of the handle. 如申請專利範圍第7項所述之週邊裝置,其中所述開關包括實體開關或觸碰開關。The peripheral device of claim 7, wherein the switch comprises a physical switch or a touch switch. 如申請專利範圍第7項所述之週邊裝置,其中該連接器包括通用序列匯流排連接器或雷電連接器。The peripheral device of claim 7, wherein the connector comprises a universal serial bus connector or a lightning connector.
TW101123253A 2012-06-28 2012-06-28 Peripheral apapratus and removal method thereof TWI465913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101123253A TWI465913B (en) 2012-06-28 2012-06-28 Peripheral apapratus and removal method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101123253A TWI465913B (en) 2012-06-28 2012-06-28 Peripheral apapratus and removal method thereof

Publications (2)

Publication Number Publication Date
TW201401056A TW201401056A (en) 2014-01-01
TWI465913B true TWI465913B (en) 2014-12-21

Family

ID=50345048

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101123253A TWI465913B (en) 2012-06-28 2012-06-28 Peripheral apapratus and removal method thereof

Country Status (1)

Country Link
TW (1) TWI465913B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200720937A (en) * 2005-07-29 2007-06-01 Microsoft Corp Mass storage device with near field communications
US7478191B2 (en) * 2006-04-14 2009-01-13 Standard Microsystems Corporation Method for automatically switching USB peripherals between USB hosts
TWI314687B (en) * 2006-10-13 2009-09-11 Inventec Corp A method of safely unplugging a usb portable storage device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200720937A (en) * 2005-07-29 2007-06-01 Microsoft Corp Mass storage device with near field communications
US7478191B2 (en) * 2006-04-14 2009-01-13 Standard Microsystems Corporation Method for automatically switching USB peripherals between USB hosts
TWI314687B (en) * 2006-10-13 2009-09-11 Inventec Corp A method of safely unplugging a usb portable storage device

Also Published As

Publication number Publication date
TW201401056A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
US10656732B2 (en) All-in-one machine and method and computer memory medium for realizing quick touch in all channels thereof
JP5985761B2 (en) Adapting user interfaces based on the handedness of mobile computing devices
US8842081B2 (en) Integrated display and touch system with displayport/embedded displayport interface
US20110016253A1 (en) Auto-function USB port
US8473664B2 (en) Safe removal of external device from computing device
JPH11203230A (en) Method and device for device control
KR101285567B1 (en) Computer keyboard and computer system
US20080140901A1 (en) Safe removal of external device from computing device
TWI465913B (en) Peripheral apapratus and removal method thereof
CN203982283U (en) Tablet computer
TWI444886B (en) Display device for operating host computer by control components
CN108881980A (en) A kind of Intelligent mobile equipment
CN104216650A (en) Mobile terminal with back control device
TWI509505B (en) Tablet
TW201337566A (en) Peripheral protocol negotiation
CN103902395B (en) The control method and electric terminal of information input
TWI510929B (en) Data transmission module, display and data transmission method
CN103853609B (en) A kind for the treatment of method and apparatus of signal
TWI537905B (en) Display device and display device
US8832341B2 (en) Dynamically determining a primary or slave assignment based on receiving a power signal from the cable at the port of a device
TW201631569A (en) Filtering hot plug detect signals
US20180024946A1 (en) Removal warning for connectable devices
CN112965573B (en) Computer interface conversion device
US20130060977A1 (en) Disconnection or reconnection of external device
KR20120100670A (en) Computer keyboard and computer system