TWI712891B - System and method for controlling peripheral device - Google Patents
System and method for controlling peripheral device Download PDFInfo
- Publication number
- TWI712891B TWI712891B TW108118068A TW108118068A TWI712891B TW I712891 B TWI712891 B TW I712891B TW 108118068 A TW108118068 A TW 108118068A TW 108118068 A TW108118068 A TW 108118068A TW I712891 B TWI712891 B TW I712891B
- Authority
- TW
- Taiwan
- Prior art keywords
- peripheral
- port
- management device
- peripheral device
- management
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
Description
本申請有關於一種控制周邊裝置的方法與系統,特別是一種可識別複數個周邊裝置的控制周邊裝置的方法與系統。The present application relates to a method and system for controlling peripheral devices, in particular to a method and system for controlling peripheral devices that can identify a plurality of peripheral devices.
現今,應用通用序列匯流排(Universal Serial Bus,以下簡稱USB)的介面的軟硬體的設備愈來愈普遍,也漸漸變成標準化的電子規格之一。現有技術應用USB介面的周邊裝置連接個人電腦、移動設備等裝置也愈來愈多。Nowadays, hardware and software devices using the Universal Serial Bus (USB) interface are becoming more and more common and gradually become one of the standardized electronic specifications. In the prior art, more and more peripheral devices using USB interfaces are connected to personal computers, mobile devices and other devices.
對於USB介面的裝置連接到目前的具有作業系統(例如微軟視窗(WINDOWS)的設備僅能識別直接連接到此設備的USB周邊裝置,並且隨機亂數的給予連接到此設備的USB介面的裝置一個編號,造成使用者無法明確操作所需要的周邊裝置,此外,當現有的連接複數個USB周邊裝置的USB集線器連到此設備時,此設備更會面臨無法識別這些藉由USB集線器連接到此設備的USB周邊裝置。更嚴重的是,一旦這些USB周邊裝置其中一個損毀或故障,使用者更是無法明確的確認那一個USB周邊裝置有問題,並需要花大量的時間作偵錯,造成工作效率低下。For devices with a USB interface connected to the current operating system (such as Microsoft Windows (WINDOWS) devices) can only recognize the USB peripheral devices directly connected to this device, and a random number is given to the device connected to the USB interface of this device. The serial number makes it impossible for the user to specify the peripheral devices required for operation. In addition, when an existing USB hub that connects multiple USB peripheral devices is connected to this device, the device will face the failure to recognize these devices connected to this device through the USB hub USB peripheral devices. What’s more serious is that once one of these USB peripheral devices is damaged or malfunctions, the user cannot clearly confirm which USB peripheral device has a problem, and it takes a lot of time to debug, resulting in work efficiency low.
本申請提供一種控制周邊裝置的方法與系統,藉由識別軟體和作業系統的配合,將解決現有技術無法對USB集線器上所連接的各種USB周邊裝置顯示並進行編號於顯示裝置上,或是現有技術對各種USB周邊裝置無秩序的亂數給予USB周邊裝置編號,造成使用者無法明確操作所需要的周邊裝置或因周邊裝置損毀無法操作時,需花費大量的時間來偵測錯誤等問題。The present application provides a method and system for controlling peripheral devices. Through the cooperation of identification software and operating system, it will solve the problem that the prior art cannot display various USB peripheral devices connected to a USB hub and number them on the display device. The technology gives various USB peripheral devices a random number of USB peripheral device numbers, causing users to be unable to determine the peripheral device required for operation or when the peripheral device is damaged and unable to operate, it takes a lot of time to detect errors and other problems.
本申請提供一種控制周邊裝置的方法與系統,其為一種識別並按照特定順序啟用周邊裝置的建立方法和系統,進一步而言,可應用識別軟體依照使用者的設定,通知作業系統對周邊裝置按照特定順序啟用,並獲得可預期的編號。The present application provides a method and system for controlling peripheral devices, which is a method and system for identifying and activating peripheral devices in a specific order. Furthermore, identification software can be applied to notify the operating system of the peripheral devices in accordance with the settings of the user. Start in a specific order and get predictable numbers.
根據本申請的實施例,本申請提供一種控制周邊裝置的方法,包括:提供主裝置,主裝置具有第一連接介面並裝設有作業系統;將具有第二連接介面的管理裝置連接主裝置,管理裝置具有複數個連接埠,各連接埠上連接有周邊裝置;安裝識別軟體至主裝置;識別軟體根據管理裝置所提供的參考資訊,來判斷管理裝置的複數個連接埠上是否有連接周邊裝置;以及當識別軟體判斷管理裝置的連接埠有連接周邊裝置時,識別軟體會根據使用者的設定,通知作業系統啟用周邊裝置,並讓周邊裝置得到編號。According to an embodiment of the present application, the present application provides a method for controlling peripheral devices, including: providing a main device, the main device having a first connection interface and equipped with an operating system; connecting a management device with a second connection interface to the main device, The management device has multiple ports, and peripheral devices are connected to each port; the identification software is installed on the main device; the identification software judges whether peripheral devices are connected to the multiple ports of the management device according to the reference information provided by the management device ; And when the recognition software determines that the port of the management device is connected to a peripheral device, the recognition software will notify the operating system to enable the peripheral device according to the user's setting, and let the peripheral device be numbered.
根據本申請的實施例,本申請提供一種控制周邊裝置的系統,包括:主裝置,具有第一連接介面並裝設有作業系統,主裝置安裝有識別軟體;以及管理裝置,連接至主裝置,其中,管理裝置具有第二連接介面與複數個連接埠,複數個連接埠連接複數個周邊裝置;其中,識別軟體會根據管理裝置所提供的參考資訊,來判斷管理裝置的複數個連接埠上是否有連接周邊裝置,若有連接周邊裝置,則識別軟體會根據使用者的設定,通知作業系統啟用周邊裝置,並讓周邊裝置得到編號。According to an embodiment of the present application, the present application provides a system for controlling peripheral devices, including: a main device having a first connection interface and installed with an operating system, the main device is installed with identification software; and a management device, connected to the main device, Among them, the management device has a second connection interface and a plurality of ports, and the plurality of ports are connected to a plurality of peripheral devices. Among them, the identification software will determine whether the management device is connected to the plurality of ports based on the reference information provided by the management device. If there is a peripheral device connected, the recognition software will notify the operating system to enable the peripheral device according to the user's setting, and let the peripheral device be numbered.
本申請藉由控制周邊裝置的方法與系統可自動對USB集線器上所連接的各種USB周邊裝置顯示並進行有順序的編號,進而讓使用者可明確找到所需的周邊裝置並進行相應的操作,或是更換周邊裝置,不但提高使用者工作效率,亦節省大量時間。This application uses the method and system for controlling peripheral devices to automatically display and sequentially number various USB peripheral devices connected to the USB hub, so that users can clearly find the peripheral devices they need and perform corresponding operations. Or replacing the peripheral devices not only improves the user's work efficiency, but also saves a lot of time.
以下在實施方式中詳細敘述本申請之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本申請之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本申請相關之目的及優點。以下之實施例進一步詳細說明本申請之觀點,但非以任何觀點限制本申請之範疇。The detailed features and advantages of this application are described in detail in the following embodiments, and the content is sufficient to enable anyone familiar with the relevant skills to understand the technical content of this application and implement it accordingly, and in accordance with the content disclosed in this specification, the scope of the patent application and the drawings , Anyone who is familiar with relevant skills can easily understand the purpose and advantages of this application. The following examples further illustrate the viewpoints of this application in detail, but do not limit the scope of this application by any viewpoint.
如在說明書及申請專利範圍當中使用了某些詞彙來指稱特定元件。本領域技術人員應可理解,硬體製造商可能會用不同名詞來稱呼同一個元件。本說明書及申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為區分的準則。如在通篇說明書及申請專利範圍當中所提及的“包含”或“包括”為一開放式用語,故應解釋成“包含但不限定於”或者“包括但不限定於”。For example, certain words are used to refer to specific elements in the specification and the scope of patent application. Those skilled in the art should understand that hardware manufacturers may use different terms to refer to the same component. This specification and the scope of patent application do not use differences in names as a way to distinguish elements, but use differences in functions of elements as a criterion. If "include" or "include" mentioned in the entire specification and the scope of patent application is an open term, it should be interpreted as "include but not limited to" or "include but not limited to".
還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者系統不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者系統所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者系統中還存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product or system including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or include elements inherent to this process, method, commodity, or system. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity or system that includes the element.
在以下所列舉的各實施例中,將以相同的標號代表相同或相似的元件或物件。In the embodiments listed below, the same reference numerals will be used to represent the same or similar elements or objects.
圖1顯示根據本申請之一實施例的控制周邊裝置的系統的方塊圖,且圖1亦顯示管理裝置和主裝置間的運作方式。如圖1所示,本申請的控制周邊裝置的系統,包括:識別軟體11、主裝置12及管理裝置13。主裝置12具有第一連接介面121並裝設有作業系統122,作業系統122藉由顯示裝置14進行顯示。管理裝置13,具有第二連接介面131連接至主裝置12的第一連接介面121,於本實施例,管理裝置13可為集線器(HUB),管理裝置13具有複數個連接埠132,其中,於本實施例,連接埠132可為集線器(HUB)埠,且連接埠132連接複數個周邊裝置151、152、153、154,其中連接埠132根據實際情況,可配合周邊裝置的介面進行調整,例如,當管理裝置13連接USB周邊裝置時,連接埠132則需為USB介面,以對應連接USB周邊裝置。識別軟體11是安裝至主裝置12的作業系統122中,識別軟體11會根據管理裝置13的參考資訊15,來判斷管理裝置13的連接埠上是否有連接周邊裝置,當識別軟體11判斷管理裝置13的連接埠132有連接周邊裝置151、152、153及154時,則識別軟體11會依照使用者的設定,通知作業系統122啟用周邊裝置151、152、153及154,並讓周邊裝置151、152、153及154得到可預期的編號,識別軟體11會透過作業系統122顯示前述可預期的編號於顯示裝置14上,例如,識別軟體11根據使用者的設定,並配合參考資訊15和作業系統122,分別給予管理裝置13的通訊介面(communication, COM)編號3,而周邊裝置151、152、153及154亦被識別軟體11給予可預期的編號: 編號31、編號32、編號33及編號34,但並不受限於此。FIG. 1 shows a block diagram of a system for controlling peripheral devices according to an embodiment of the present application, and FIG. 1 also shows the operation mode between the management device and the main device. As shown in FIG. 1, the system for controlling peripheral devices of the present application includes: identification software 11, main device 12 and management device 13. The main device 12 has a first connection interface 121 and is equipped with an operating system 122, and the operating system 122 is displayed by the display device 14. The management device 13 has a second connection interface 131 to connect to the first connection interface 121 of the main device 12. In this embodiment, the management device 13 may be a hub (HUB), and the management device 13 has a plurality of connection ports 132. In this embodiment, the port 132 can be a hub (HUB) port, and the port 132 is connected to a plurality of peripheral devices 151, 152, 153, and 154. The port 132 can be adjusted according to the actual situation according to the interface of the peripheral device, for example When the management device 13 is connected to a USB peripheral device, the connection port 132 needs to be a USB interface to connect the USB peripheral device correspondingly. The identification software 11 is installed in the operating system 122 of the main device 12. The identification software 11 will determine whether there is a peripheral device connected to the port of the management device 13 based on the reference information 15 of the management device 13. When the identification software 11 determines the management device When the peripheral devices 151, 152, 153, and 154 are connected to the port 132 of 13, the recognition software 11 will notify the operating system 122 to enable the peripheral devices 151, 152, 153, and 154 according to the user's setting, and let the peripheral devices 151, 152, 153, and 154 get predictable numbers. The recognition software 11 will display the aforementioned predictable numbers on the display device 14 through the operating system 122. For example, the recognition software 11 is based on the user's settings and cooperates with the reference information 15 and the operating system. 122. Give the communication interface (communication, COM) number 3 of the management device 13, and the peripheral devices 151, 152, 153, and 154 are also given predictable numbers by the identification software 11: number 31, number 32, number 33, and number 34 , But not limited to this.
前述的管理裝置13、連接埠132、周邊裝置151、152、153、154、設置於主裝置12的第一連接介面121或設置於管理裝置13的第二連接介面131可為平行介面、串列介面、USB介面或連接埠用於對應連接周邊裝置以進行訊號傳遞的介面。The aforementioned management device 13, connection port 132, peripheral devices 151, 152, 153, 154, the first connection interface 121 provided on the main device 12 or the second connection interface 131 provided on the management device 13 may be parallel interfaces or serial interfaces. The interface, USB interface, or port is used to correspond to the interface for connecting peripheral devices for signal transmission.
在另一實施例,主裝置12可為具有微軟視窗作業系統122的個人電腦,個人電腦上具有複數個USB連接埠連接有複數個USB周邊裝置的管理裝置13(例如,USB集線器),當管理裝置13插入主裝置12時,主裝置內的作業系統122的控制台,將會顯示提示訊息,表示管理裝置13為無法識別的裝置。此時,可再安裝本申請的識別軟體11於主裝置內,識別軟體11將會識別管理裝置13以及連接於管理裝置13上的USB周邊裝置151、152、153及154,並會依照使用者的設定,通知作業系統122啟用USB周邊裝置151、152、153及154,並讓USB周邊裝置151、152、153及154獲得可預期的編號,例如,於本實施例,識別軟體11識別管理裝置13後,會給予管理裝置13的通訊介面(communication, COM)編號3,而USB 周邊裝置151、152、153及154亦被識別軟體11分別給予可預期的編號: COM編號31、COM編號32、COM編號33及COM編號34,雖然本實施例應用具有windows系統的主裝置及USB介面,但不以此為限。In another embodiment, the main device 12 may be a personal computer with a Microsoft Windows operating system 122. The personal computer has a plurality of USB ports connected to a plurality of USB peripheral devices connected to the management device 13 (for example, a USB hub), when the management When the device 13 is inserted into the main device 12, the console of the operating system 122 in the main device will display a prompt message indicating that the management device 13 is an unrecognized device. At this time, the identification software 11 of this application can be installed in the main device. The identification software 11 will identify the management device 13 and the USB peripheral devices 151, 152, 153 and 154 connected to the management device 13, and will follow the user Setting, notify the operating system 122 to enable the USB peripheral devices 151, 152, 153, and 154, and allow the USB peripheral devices 151, 152, 153, and 154 to obtain predictable numbers. For example, in this embodiment, the identification software 11 identifies the management device After 13, the communication interface (COM) number 3 of the management device 13 will be given, and the USB peripheral devices 151, 152, 153, and 154 will also be identified by the software 11 and given predictable numbers: COM number 31, COM number 32, The COM number 33 and the COM number 34, although this embodiment uses a main device with a windows system and a USB interface, it is not limited to these.
本申請與先前技術的差異在於,本申請可自動對管理裝置上所連接的各種周邊裝置根據使用者的設定,對各種周邊裝置進行可預期的編號,且上述編號可顯示在顯示裝置,進而讓使用者可明確找到所需的周邊裝置並進行相應的操作,或是更換周邊裝置,但反觀先前技術僅能識別直接連接到主裝置的周邊裝置,並且隨機亂數的給予連接到主裝置的介面的裝置一個亂數編號,造成使用者無法明確操作所需要的周邊裝置,此外,當現有的連接複數個周邊裝置的管理裝置連到此主裝置時,此主裝置更會面臨無法識別這些藉由管理裝置連接到主裝置的周邊裝置The difference between this application and the prior art is that this application can automatically number various peripheral devices connected to the management device according to the user's settings, and the number can be displayed on the display device, so that The user can clearly find the required peripheral device and perform the corresponding operation, or replace the peripheral device, but the previous technology can only identify the peripheral device directly connected to the main device, and give a random random number to the interface connected to the main device The device has a random number, causing users to be unable to clearly operate the required peripheral devices. In addition, when the existing management device connected to multiple peripheral devices is connected to the main device, the main device will face the failure to recognize these by Manage peripheral devices connected to the main device
另外,當管理裝置13連接主裝置12時,如果識別軟體11未安裝至主裝置12,主裝置12會先偵測管理裝置13,並給予提示訊息(未繪示),以提示使用者管理裝置13無法由主裝置12直接識別,且此時,主裝置12亦無法和管理裝置13進行通訊。而當識別軟體11安裝至主裝置12時,提示訊息會告知使用者主裝置12可辨識管理裝置13並可進行通訊,則識別軟體11會根據提示訊息,與管理裝置13進行通信,並根據管理裝置13所提供的參考資訊15來判斷管理裝置13的複數個連接埠132上是否有連接周邊裝置。In addition, when the management device 13 is connected to the main device 12, if the identification software 11 is not installed on the main device 12, the main device 12 will first detect the management device 13 and give a prompt message (not shown) to remind the user to manage the device 13 cannot be directly identified by the main device 12, and at this time, the main device 12 cannot communicate with the management device 13. When the identification software 11 is installed on the main device 12, a prompt message will inform the user that the main device 12 can recognize the management device 13 and can communicate, and the identification software 11 will communicate with the management device 13 according to the prompt message, and according to the management The reference information 15 provided by the device 13 determines whether there are peripheral devices connected to the plurality of ports 132 of the management device 13.
於本實施例,該參考資訊15包括用一個位元(bit)數來表示每一個連接埠132是否有連接周邊裝置的狀態,進而言之,每一個連接埠132可對應一個位元數,若連接埠所對應的位元數為1,則表示連接埠132連接有USB周邊裝置151、152、153或154,識別軟體11將會予該USB周邊裝置151、152、153或154可預期的編號,例如,COM編號31、COM編號32、COM編號33及COM編號34之其中一者,若後續管理裝置13再加上其他周邊裝置,則編號依此類推,反之,若連接埠所對應的位元數為0,則表示該連接埠無連接周邊裝置。於另一實施例,本申請的該識別軟體11若判知連接埠無連接將會跳過連接埠,以讓下一個有連接該周邊裝置的連接埠,接續編號。In this embodiment, the reference information 15 includes a bit number to indicate whether each port 132 is connected to a peripheral device. In other words, each port 132 can correspond to a bit number. The number of bits corresponding to the port is 1, which means that the port 132 is connected to a USB peripheral device 151, 152, 153 or 154. The identification software 11 will assign the USB peripheral device 151, 152, 153 or 154 the expected number For example, if one of COM number 31, COM number 32, COM number 33, and COM number 34 is added to the subsequent management device 13 and other peripheral devices, the number will be deduced by analogy. On the contrary, if the port corresponds to the bit If the element number is 0, it means that there is no peripheral device connected to this port. In another embodiment, if the identification software 11 of the present application determines that the port is not connected, it will skip the port, so that the next port that connects to the peripheral device will be serialized.
於本實施例,該作業系統為可為微軟視窗(windows)系列的作業系統,該管理裝置13可為集線器(HUB)、切換器、路由器、分享器或其他具有連接介面且具有周邊裝置管理功能的裝置等等,例如,USB周邊裝置、USB集線器或USB切換器等等。In this embodiment, the operating system may be a Windows series operating system, and the management device 13 may be a hub (HUB), a switch, a router, a sharing device, or other devices with a connection interface and a peripheral device management function , Such as USB peripheral devices, USB hubs or USB switches, etc.
於本實施例,當識別軟體11給予周邊裝置編號時,亦可進一步安裝USB周邊裝置的驅動程式,並回報管理裝置13、主裝置12以及使用者,周邊裝置所對的編號,而使用者除可根據編號來確認周邊裝置外,亦可依據此編號操作或更換周邊裝置。此外,本申請更可根據周邊裝置數量的增加,增加可預期編號的位元數,以利編號和管理周邊裝置。In this embodiment, when the identification software 11 gives the peripheral device number, the driver of the USB peripheral device can be further installed, and the management device 13, the main device 12, and the user and the number corresponding to the peripheral device can be reported. The peripheral device can be confirmed according to the number, and the peripheral device can also be operated or replaced according to this number. In addition, according to the increase in the number of peripheral devices, this application can increase the number of bits that can be numbered to facilitate numbering and management of peripheral devices.
圖2顯示根據本申請一實施例的控制周邊裝置的方法的流程圖。如圖2所示,本申請的控制周邊裝置的方法,包括:首先,提供一主裝置12,主裝置12具有第一連接介面121並裝設有作業系統122(步驟s201)。作業系統122藉由顯示裝置14進行顯示。接著,將具有第二連接介面131的管理裝置13連接主裝置12的第一連接介面121,管理裝置13具有複數個連接埠132,各連接埠132上連接有周邊裝置151、152、153及154(步驟s202),於本實施例,管理裝置13可為集線器(HUB),連接埠132為集線器(HUB)埠,且連接埠132連接複數個周邊裝置151、152、153、154,其中連接埠132根據實際情況,可配合周邊裝置的介面進行調整,例如,當管理裝置13連接USB周邊裝置時,連接埠132則需為USB介面,以對應連接USB周邊裝置。此外,管理裝置13亦可選擇性地連接周邊裝置。Fig. 2 shows a flowchart of a method of controlling peripheral devices according to an embodiment of the present application. As shown in FIG. 2, the method of controlling peripheral devices of the present application includes: first, a main device 12 is provided. The main device 12 has a first connection interface 121 and is equipped with an operating system 122 (step s201). The operating system 122 is displayed by the display device 14. Next, connect the management device 13 with the second connection interface 131 to the first connection interface 121 of the main device 12. The management device 13 has a plurality of ports 132, and peripheral devices 151, 152, 153, and 154 are connected to each port 132. (Step s202). In this embodiment, the management device 13 can be a hub (HUB), the port 132 is a hub (HUB) port, and the port 132 is connected to a plurality of peripheral devices 151, 152, 153, 154, of which the port 132 can be adjusted according to the actual situation according to the interface of the peripheral device. For example, when the management device 13 is connected to a USB peripheral device, the connection port 132 needs to be a USB interface to connect the USB peripheral device. In addition, the management device 13 can also be selectively connected to peripheral devices.
然後,安裝識別軟體11安裝至該主裝置12的作業系統122,識別軟體11根據管理裝置13的參考資訊15,來判斷管理裝置13的複數個連接埠132上是否有連接周邊裝置151、152、153或154(步驟s203),當識別軟體11判斷管理裝置13的連接埠132有連接周邊裝置151、152、153及154時,識別軟體11會根據使用者的設定,通知作業系統122啟用周邊裝置151、152、153及154,並讓周邊裝置151、152、153及154得到可預期的編號(步驟s204),識別軟體11會透過作業系統122顯示前述可預期的編號於顯示裝置14上,例如,識別軟體11根據使用者的設定,並配合參考資訊和作業系統,分別給予管理裝置13的通訊介面(communication, COM)編號3,而周邊裝置151、152、153及154亦被識別軟體11給予可預期的編號: 編號31、編號32、編號33及編號34,但並不受限於此。Then, the identification software 11 is installed to the operating system 122 of the main device 12. The identification software 11 determines whether there are peripheral devices 151, 152, 151, 152, 153 or 154 (step s203). When the recognition software 11 determines that the port 132 of the management device 13 is connected to peripheral devices 151, 152, 153, and 154, the recognition software 11 will notify the operating system 122 to enable the peripheral device according to the user's setting 151, 152, 153, and 154, and allow the peripheral devices 151, 152, 153, and 154 to obtain predictable numbers (step s204). The recognition software 11 will display the aforementioned predictable numbers on the display device 14 through the operating system 122, for example According to the user’s settings, the identification software 11 gives the communication interface (communication, COM) number 3 of the management device 13, and the peripheral devices 151, 152, 153 and 154 are also given by the identification software 11 Expected numbers: No. 31, No. 32, No. 33, and No. 34, but not limited to this.
另外,當該管理裝置13連接主裝置12時,如果識別軟體11未安裝至主裝置12,主裝置12會先偵測管理裝置13,並給予提示訊息(未繪示),以提示使用者管理裝置13無法由主裝置12直接識別。而當識別軟體11安裝至主裝置12時,識別軟體11會根據提示訊息,與管理裝置13進行通信,並根據管理裝置13所提供的參考資訊15來判斷管理裝置13的複數個該連接埠132上是否有連接周邊裝置151、152、153或154。In addition, when the management device 13 is connected to the main device 12, if the identification software 11 is not installed on the main device 12, the main device 12 will first detect the management device 13 and give a prompt message (not shown) to prompt the user to manage The device 13 cannot be directly recognized by the main device 12. When the identification software 11 is installed on the main device 12, the identification software 11 will communicate with the management device 13 according to the prompt message, and determine the plurality of ports 132 of the management device 13 based on the reference information 15 provided by the management device 13 Whether there are peripheral devices 151, 152, 153 or 154 connected to it.
於本實施例,該參考資訊15包括用一個位元(bit)數來表示每一個連接埠132是否有連接周邊裝置的狀態,進而言之,每一個連接埠132可對應一個位元數,若連接埠所對應的位元數為1,則表示連接埠132連接有USB周邊裝置151、152、153或154,識別軟體11將會予該周邊裝置151、152、153或154可預期的編號,例如,COM編號31、COM編號32、COM編號33及COM編號34之其中一者,若後續管理裝置13再加上其他周邊裝置,則編號依此類推,反之,若連接埠所對應的位元數為0,則表示該連接埠無連接周邊裝置。於另一實施例,本申請的該識別軟體11若判知連接埠無連接將會跳過該連接埠,以讓下一個有連接周邊裝置的連接埠,接續可預期的編號。In this embodiment, the reference information 15 includes a bit number to indicate whether each port 132 is connected to a peripheral device. In other words, each port 132 can correspond to a bit number. The number of bits corresponding to the port is 1, which means that the USB peripheral device 151, 152, 153 or 154 is connected to the port 132. The identification software 11 will assign the peripheral device 151, 152, 153 or 154 the expected number. For example, if one of COM number 31, COM number 32, COM number 33, and COM number 34 is added to the subsequent management device 13 and other peripheral devices, the number will be deduced by analogy. On the contrary, if the port corresponds to the bit If the number is 0, it means that there is no peripheral device connected to this port. In another embodiment, if the identification software 11 of the present application determines that the port is not connected, it will skip the port, so that the next port connected to the peripheral device can be connected with an expected number.
於本實施例,前述的管理裝置13、連接埠132、周邊裝置151、152、153、154、設置於主裝置12的第一連接介面121或設置於管理裝置13的第二連接介面131可為平行介面、串列介面、USB介面或該連接埠用於對應連接該周邊裝置以進行訊號傳遞的介面。In this embodiment, the aforementioned management device 13, connection port 132, peripheral devices 151, 152, 153, 154, the first connection interface 121 provided on the main device 12 or the second connection interface 131 provided on the management device 13 may be Parallel interface, serial interface, USB interface or the interface for connecting the peripheral device for signal transmission.
本實施例,當識別軟體11給予周邊裝置編號時,亦可進一步安裝周邊裝置的驅動程式,並回報管理裝置13、主裝置12以及使用者周邊裝置所對的編號,而使用者除可根據編號來確認周邊裝置外,亦可依據此編號操作或更換周邊裝置。此外,本申請更可根據周邊裝置數量的增加,增加編號的位元數,以利編號和管理周邊裝置。In this embodiment, when the identification software 11 assigns the peripheral device number, it can also install the peripheral device driver and report the number corresponding to the management device 13, the main device 12 and the user's peripheral device. To confirm the peripheral devices, you can also operate or replace peripheral devices based on this number. In addition, this application can increase the number of bits in the serial number according to the increase in the number of peripheral devices to facilitate serial numbering and management of peripheral devices.
雖然本申請以前述之實施例揭露如上,然其並非用以限定本申請。在不脫離本申請之精神和範圍內,所為之更動與潤飾,均屬本申請之專利保護範圍。關於本申請所界定之保護範圍請參考所附之申請專利範圍。Although this application is disclosed above with the aforementioned embodiments, it is not intended to limit the application. Without departing from the spirit and scope of this application, all changes and modifications made are within the scope of patent protection of this application. For the scope of protection defined by this application, please refer to the attached patent scope.
11 識別軟體 12 主裝置 13 管理裝置 14 顯示裝置 15 參考資訊 121 第一連接介面 122 作業系統 131 第二連接介面 132 連接埠 151、152、153、154 周邊裝置 步驟 s201~s204 11 Identification software 12 Main device 13 Management device 14 Display device 15 Reference information 121 The first connection interface 122 Operating system 131 The second connection interface 132 Connection port 151, 152, 153, 154 Peripheral devices Step s201~s204
此處所說明的圖式用來提供對本申請的進一步理解,構成本申請的一部分,本申請的示意性實施例及其說明用於解釋本申請,並不構成對本申請的不當限定。在圖式中: 圖1顯示根據本申請之一實施例的控制周邊裝置的系統的方塊圖。 圖2顯示根據本申請之一實施例的控制周邊裝置的方法的流程圖。 The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The exemplary embodiments and descriptions of the application are used to explain the application and do not constitute an improper limitation of the application. In the schema: Fig. 1 shows a block diagram of a system for controlling peripheral devices according to an embodiment of the present application. Fig. 2 shows a flowchart of a method for controlling peripheral devices according to an embodiment of the present application.
步驟 s201~s204Step s201~s204
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108118068A TWI712891B (en) | 2019-05-24 | 2019-05-24 | System and method for controlling peripheral device |
CN201910765357.1A CN111984555A (en) | 2019-05-24 | 2019-08-19 | Method and system for controlling peripheral device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108118068A TWI712891B (en) | 2019-05-24 | 2019-05-24 | System and method for controlling peripheral device |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202044049A TW202044049A (en) | 2020-12-01 |
TWI712891B true TWI712891B (en) | 2020-12-11 |
Family
ID=73437120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108118068A TWI712891B (en) | 2019-05-24 | 2019-05-24 | System and method for controlling peripheral device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111984555A (en) |
TW (1) | TWI712891B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060184917A1 (en) * | 2005-02-14 | 2006-08-17 | Troan Lawrence E | System And Method for Verifying Compatibility of Computer Equipment with a Software Product |
US20110179219A1 (en) * | 2004-04-05 | 2011-07-21 | Super Talent Electronics, Inc. | Hybrid storage device |
US20140032794A1 (en) * | 2011-04-11 | 2014-01-30 | Ineda Systems Pvt. Ltd. | Usb virtualization |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI220489B (en) * | 2002-03-25 | 2004-08-21 | Aten Int Co Ltd | Switching device of universal serial bus for computer peripheral devices |
US20080005262A1 (en) * | 2006-06-16 | 2008-01-03 | Henry Wurzburg | Peripheral Sharing USB Hub for a Wireless Host |
US20110016253A1 (en) * | 2009-07-16 | 2011-01-20 | Musa Ibrahim Kakish | Auto-function USB port |
TWI451272B (en) * | 2012-05-02 | 2014-09-01 | Arcadyan Technology Corp | Universal driving method and system for peripherals |
-
2019
- 2019-05-24 TW TW108118068A patent/TWI712891B/en active
- 2019-08-19 CN CN201910765357.1A patent/CN111984555A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110179219A1 (en) * | 2004-04-05 | 2011-07-21 | Super Talent Electronics, Inc. | Hybrid storage device |
US20060184917A1 (en) * | 2005-02-14 | 2006-08-17 | Troan Lawrence E | System And Method for Verifying Compatibility of Computer Equipment with a Software Product |
US20140032794A1 (en) * | 2011-04-11 | 2014-01-30 | Ineda Systems Pvt. Ltd. | Usb virtualization |
Also Published As
Publication number | Publication date |
---|---|
TW202044049A (en) | 2020-12-01 |
CN111984555A (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI477970B (en) | Mode switch method of electronic device and assocaited electronic device | |
EP2423825B1 (en) | Method for data card to identify the OS, and apparatus and communication system thereof | |
US10515043B2 (en) | Smart interface card control method and apparatus through a virtualized management interface | |
US20090210608A1 (en) | KVM switch and operation method thereof | |
US20070168585A1 (en) | Method and System for Remote Access to Keyboard Control in Legacy USB Mode | |
CN105718408A (en) | Hot-pluggable computing system, computer-implemented method and system | |
US20030041207A1 (en) | Input/output controller, device identification method, and input/output control method | |
JP2006244416A (en) | Electronic device system with master node and slave node | |
JP2003513351A (en) | Input device | |
EP2860627A1 (en) | Active usb device and switching method for operating mode thereof | |
CN101464933B (en) | BIOS write protection method and system | |
CN109033804B (en) | Virtual machine software authorization method and device | |
TWI677250B (en) | Network system and authenticating method | |
TWI712891B (en) | System and method for controlling peripheral device | |
CN103164355B (en) | A kind of changing method and electronic equipment | |
CN105278630A (en) | Single-host multi-mainboard independent system architecture with unified power management | |
US20070155422A1 (en) | Method for controlling mobile data connection through USB Ethernet management of mobile station | |
CN102323886B (en) | Method for writing special information into terminal, device and system | |
US20070233727A1 (en) | Multiple Virtual Devices | |
WO2018040929A1 (en) | Method for managing adb device, and system therefor | |
CN109308124A (en) | The adaptive KVM switcher of mouse-keyboard | |
WO2010020137A1 (en) | Power-on protection method, module and system | |
WO2016179944A1 (en) | Function multiplexing method and apparatus for communication interface | |
TW202121183A (en) | Method and device of real time monitoring the connection status of i2c devices | |
CN203930839U (en) | A kind of safeguard protection card for forcing hard disc of computer to start the operating system |