TWI765665B - Method for identifying operation system and kvm switch using the same - Google Patents

Method for identifying operation system and kvm switch using the same Download PDF

Info

Publication number
TWI765665B
TWI765665B TW110113856A TW110113856A TWI765665B TW I765665 B TWI765665 B TW I765665B TW 110113856 A TW110113856 A TW 110113856A TW 110113856 A TW110113856 A TW 110113856A TW I765665 B TWI765665 B TW I765665B
Authority
TW
Taiwan
Prior art keywords
operating system
command
computer
electronic device
detection command
Prior art date
Application number
TW110113856A
Other languages
Chinese (zh)
Other versions
TW202242646A (en
Inventor
許家彰
陳浩鈞
袁福良
Original Assignee
宏正自動科技股份有限公司
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 宏正自動科技股份有限公司 filed Critical 宏正自動科技股份有限公司
Priority to TW110113856A priority Critical patent/TWI765665B/en
Priority to CN202111024340.4A priority patent/CN115220581A/en
Application granted granted Critical
Publication of TWI765665B publication Critical patent/TWI765665B/en
Publication of TW202242646A publication Critical patent/TW202242646A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0227Cooperation and interconnection of the input arrangement with other functional units of a computer

Abstract

The present invention provides an electronic device and method for identifying operation system in a computer electrically connected to the electronic device, wherein the method comprises steps of transmitting a first detecting command to the computer by the electronic device, receiving a first execution result generated by the computer according to the first detecting command by the electronic device, and finally, identifying the operation system in the computer according to the first execution result corresponding to the first detecting command by the electronic device.

Description

作業系統識別方法與使用該方法之電子裝置Operating system identification method and electronic device using the same

本發明為作業識別系統識別的技術,特別是指一種應用於多計算機操控環境下的作業系統識別方法與使用該方法之電子裝置。The present invention relates to the technology of job identification system identification, and in particular to an operation system identification method applied in a multi-computer control environment and an electronic device using the method.

KVM切換器(KVM switch)可以讓使用者由單一組鍵盤、螢幕與滑鼠操控多台與其電性連接的計算機。使用者可以藉由選擇切換到目標計算機之後,透過鍵盤、螢幕與滑鼠進行計算機操控作業。A KVM switch (KVM switch) allows users to control multiple computers that are electrically connected to it from a single set of keyboard, monitor and mouse. The user can switch to the target computer by selecting, and then perform computer control operations through the keyboard, the screen and the mouse.

由於每一台計算機都有安裝特定的作業系統,對於同一台電子裝置所連接的多台計算機而言,每一計算機所安裝的作業系統不一定相同。習用技術中,不同的作業系統會影響電子裝置的控制方式。舉例來說,電子裝置必須依照不同作業系統,如:Mac OS、Windows或者是Linux,產生特有模擬鍵,讓使用者可以用同一鍵盤順利操控不同作業系統的計算機。此外,不同作業系統的滑鼠游標的絕對座標起點位置也不同,因此電子裝置也必須作對應性的調整。Since each computer has a specific operating system installed, for multiple computers connected to the same electronic device, the operating system installed on each computer is not necessarily the same. In conventional technology, different operating systems affect the way electronic devices are controlled. For example, electronic devices must generate unique analog keys according to different operating systems, such as Mac OS, Windows or Linux, so that users can smoothly control computers with different operating systems with the same keyboard. In addition, the absolute coordinate origin positions of the mouse cursors of different operating systems are also different, so the electronic device must also be adjusted accordingly.

為了讓電子裝置可以支援多種不同的作業系統,使用者必須透過人工設定的方式,在電子裝置作預先的設定,讓電子裝置可以事先知道連接的計算機是何種類型的作業系統。這樣預先設定的方式,雖然可以解決操作上的需求,但是當計算機更換時,或電子裝置更換到不同的作業環境時,使用者就必須要再重新設定,增加系統設定與操作上的麻煩。In order for the electronic device to support a variety of different operating systems, the user must make a preset setting on the electronic device through manual setting, so that the electronic device can know in advance what type of operating system the computer is connected to. Although this pre-setting method can solve the operation requirement, when the computer is replaced or the electronic device is changed to a different operating environment, the user must reset it again, which increases the trouble of system setting and operation.

綜合上述,因此需要一種作業系統識別方法與使用該方法之電子裝置,來解決習用技術之不足。In view of the above, there is a need for an operating system identification method and an electronic device using the method to solve the deficiencies of the conventional technology.

本發明提供一種作業系統識別方法與使用該方法之電子裝置,藉由不同作業系統的專有的指令傳輸給與切換器電性連接的計算機,再根據計算機的回應結果,自動判斷出其作業系統的種類。藉由本發明所提供的方式,使用者不再需要進行事先設定,計算機接上電子裝置之後,即可使用。在一實施例中,專有的指令可以為熱鍵(Hot Key)或者是啟動特定程式的命令。The present invention provides a method for identifying an operating system and an electronic device using the method. The specific commands of different operating systems are transmitted to a computer that is electrically connected to a switch, and then the operating system is automatically determined according to the response result of the computer. kind of. With the method provided by the present invention, the user no longer needs to perform pre-setting, and the computer can be used after being connected to the electronic device. In one embodiment, the dedicated command may be a hot key or a command to start a specific program.

在一實施例中,本發明提供一種作業系統識別方法,供電子裝置執行後,以判斷計算機中的作業系統的類型,其係包括有下列步驟,首先經由電子裝置發送第一偵測命令給計算機。然後,電子裝置接收由該作業系統所產生相應第一偵測命令的第一執行結果。最後,電子裝置依據第一偵測命令判斷第一執行結果以識別作業系統的類型。In one embodiment, the present invention provides an operating system identification method, which is executed by an electronic device to determine the type of operating system in a computer. The method includes the following steps: firstly, the electronic device sends a first detection command to the computer. . Then, the electronic device receives the first execution result of the corresponding first detection command generated by the operating system. Finally, the electronic device determines the first execution result according to the first detection command to identify the type of the operating system.

在一實施例中,本發明提供一種電子裝置,供包含作業系統的計算機連接,電子裝置包括和計算機電性連接的計算機連接介面以及控制單元,其係經由計算機連接介面發出第一偵測命令給計算機,並經由計算機連接介面接收來自計算機響應第一偵測命令的第一執行結果,控制單元根據第一偵測命令判斷第一執行結果以識別作業系統的類型。In one embodiment, the present invention provides an electronic device for connecting to a computer including an operating system, the electronic device includes a computer connection interface electrically connected to the computer and a control unit, which sends a first detection command to the computer through the computer connection interface. The computer receives the first execution result from the computer in response to the first detection command through the computer connection interface, and the control unit determines the first execution result according to the first detection command to identify the type of the operating system.

在下文將參考隨附圖式,可更充分地描述各種例示性實施例,在隨附圖式中展示一些例示性實施例。然而,本發明概念可能以許多不同形式來體現,且不應解釋為限於本文中所闡述之例示性實施例。確切而言,提供此等例示性實施例使得本發明將為詳盡且完整,且將向熟習此項技術者充分傳達本發明概念的範疇。類似數字始終指示類似元件。以下將以多種實施例配合圖式來說明作業系統識別方法與使用該方法之電子裝置,然而,下述實施例並非用以限制本發明。Various illustrative embodiments may be described more fully hereinafter with reference to the accompanying drawings, in which some illustrative embodiments are shown. However, the inventive concepts may be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. Rather, these illustrative embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art. Similar numbers always indicate similar elements. The operating system identification method and the electronic device using the method will be described below with various embodiments in conjunction with the drawings. However, the following embodiments are not intended to limit the present invention.

請參閱圖1A所示,該圖為本發明之電子裝置之架構示意圖。本實施例的電子裝置2a連接有多台計算機4a與4b,例如:電腦,但不以此為限制,例如:手機或平板電腦亦可。每一計算機4a與4b透過本身具有的輸入/輸出介面,例如:USB或PS/2,藉由連接線40a與計算機連接介面26a與26b電性連接。計算機連接介面26a與26b,在一實施例中,計算機連接介面26a、26b可為USB介面,但不以此為限制。電子裝置2a的內部更包括有控制單元20具有控制器200、儲存單元201,以及輸出單元202。在另一實施例中,控制器200、儲存單元201,以及輸出單元202為獨立的元件。其中,本發明中的電子裝置與計算機連接之數量並非為限制,亦即電子裝置2a可以如圖1B所示,僅具有一計算機連接介面26a以連接一計算機4a。Please refer to FIG. 1A , which is a schematic diagram of the structure of the electronic device of the present invention. The electronic device 2a of this embodiment is connected to a plurality of computers 4a and 4b, such as computers, but not limited thereto, such as mobile phones or tablet computers. Each of the computers 4a and 4b is electrically connected to the computer connection interfaces 26a and 26b through a connecting line 40a through its own input/output interface, such as USB or PS/2. The computer connection interfaces 26a and 26b, in one embodiment, the computer connection interfaces 26a and 26b can be USB interfaces, but not limited thereto. The electronic device 2 a further includes a control unit 20 having a controller 200 , a storage unit 201 , and an output unit 202 . In another embodiment, the controller 200, the storage unit 201, and the output unit 202 are independent components. The number of the electronic device connected to the computer in the present invention is not limited, that is, the electronic device 2a may only have a computer connection interface 26a to connect to a computer 4a as shown in FIG. 1B .

要說明的是,前述實施例中,計算機連接介面26a與26b為可以輸出訊號給計算機4a與4b以及接收來自於計算機4a與4b的介面,在另一實施例中,如圖1C所示,電子裝置2b的計算機連接介面26a或26b更可以具有一輸出介面260a以及輸入介面260b,其中輸出介面260a為可以輸出訊號給計算機4a以及輸入介面260b接收來自於計算機4a的輸入訊號。It should be noted that, in the aforementioned embodiment, the computer connection interfaces 26a and 26b are interfaces that can output signals to the computers 4a and 4b and receive signals from the computers 4a and 4b. In another embodiment, as shown in FIG. 1C , the electronic The computer connection interface 26a or 26b of the device 2b may further have an output interface 260a and an input interface 260b, wherein the output interface 260a is capable of outputting signals to the computer 4a and the input interface 260b receives input signals from the computer 4a.

本實施例中,控制器200、儲存單元201,以及輸出單元202係整合在控制單元20內。輸出單元202用以產生並輸出第一偵測命令,本實施例中,輸出單元202更具有指令單元202a以及輸出裝置202b,其中,指令單元202a具有關於第一啟動指令的熱鍵(如:一個或多個按鍵(或指令)組合),以及第一操作指令,而輸出裝置202b係將第一啟動指令與第一操作指令傳輸給計算機4a與4b。在指令單元202a的一實施例中,其係為查找表,內部建立有各種作業系統與各種啟動指令以及各種操作指令的對應表。因此在此實施例中,控制器200可以根據預先定義的查找表,從指令單元202a取出對應特定作業系統的第一啟動指令的熱鍵以及相應此第一啟動指令的操作指令給輸出裝置202b輸出給計算機4a與4b。在另一實施例中,指令單元202a也可以為具有產生字串作為第一啟動指令與第一操作指令的元件,再將產生的第一啟動指令與第一操作指令輸出給輸出單裝置202b,以傳給計算機4a與4b。In this embodiment, the controller 200 , the storage unit 201 , and the output unit 202 are integrated in the control unit 20 . The output unit 202 is used for generating and outputting the first detection command. In this embodiment, the output unit 202 further includes an command unit 202a and an output device 202b, wherein the command unit 202a has a hot key related to the first start command (eg: a or a combination of keys (or commands), and the first operation command, and the output device 202b transmits the first start command and the first operation command to the computers 4a and 4b. In an embodiment of the command unit 202a, it is a look-up table, and a corresponding table of various operating systems, various startup commands, and various operation commands is established inside. Therefore, in this embodiment, the controller 200 can extract, from the command unit 202a, the hotkey corresponding to the first boot command of the specific operating system and the operation command corresponding to the first boot command from the command unit 202a according to the pre-defined look-up table to output to the output device 202b To computers 4a and 4b. In another embodiment, the command unit 202a may also be an element that generates a string as the first start command and the first operation command, and then outputs the generated first start command and the first operation command to the output unit 202b, to be passed to computers 4a and 4b.

在一實施例中,輸出裝置202b為符合USB通訊協定的可以被計算機4a與4b識別的HID輸入裝置,藉由計算機連接介面26c與26d將第一偵測命令傳輸給計算機4a與4b。儲存單元201可以被計算機4a與4b根據特定通訊協定所識別的儲存區域。本實施例中,儲存單元201為計算機4a與4b可以根據USB通訊協定所識別的儲存裝置,例如:儲存槽或特定路徑的儲存位置。要說明的是,在一實施例中,儲存單元201可以對不同的計算機4a與4b產生相應的儲存區域,以利後續判斷計算機內的作業系統。在另一實施例中,也可以為同一個儲存區域,以讓第一操作指令內容為可以識別是哪一台計算機產生的方式來實施,以利後續判斷計算機內的作業系統。In one embodiment, the output device 202b is an HID input device that conforms to the USB communication protocol and can be recognized by the computers 4a and 4b, and transmits the first detection command to the computers 4a and 4b through the computer connection interfaces 26c and 26d. The storage unit 201 can be a storage area identified by the computers 4a and 4b according to a specific communication protocol. In this embodiment, the storage unit 201 is a storage device that the computers 4a and 4b can identify according to the USB communication protocol, such as a storage slot or a storage location of a specific path. It should be noted that, in an embodiment, the storage unit 201 may generate corresponding storage areas for different computers 4a and 4b, so as to facilitate the subsequent determination of the operating system in the computers. In another embodiment, it can also be the same storage area, so that the content of the first operation instruction can be identified by which computer is generated, so as to facilitate the subsequent determination of the operating system in the computer.

請參閱圖1D所示,該圖為本發明之電子裝置之架構示意圖。本實施例的電子裝置2為KVM切換器,其係具有操控裝置連接介面24用以和操控裝置50與51電性連接。操控裝置連接介面24可以為USB介面或PS/2介面,本實施例中,操控裝置連接介面24為USB介面。本實施例中,操控裝置50為鍵盤,而操控裝置51為滑鼠。要說明的是,在另一實施例中,操控裝置也可以為整合有滑鼠與鍵盤的裝置,例如:觸控面板等。電子裝置也具有複數個計算機連接介面26c與26d用以和計算機4a與4b電性連接。計算機4a與4b可以為電腦、工作站、筆記型電腦、平板電腦或智慧型手機等。每一計算機4a與4b透過本身具有的輸入/輸出介面,例如:USB或PS/2,以及影像輸出介面,例如:DVI、HDMI、DisplayPort或者是D-sub介面,藉由連接線 (如dongle cable) 40與計算機連接介面26c與26d電性連接。本實施例中,計算機連接介面26c與26d分別具有用以與計算機傳輸鍵盤滑鼠訊號的第一介面260與262以及傳輸影像的第二介面261與263。電子裝置2更具有影像輸出介面25,例如:DVI、HDMI、DisplayPort或者是D-sub介面,與顯示器52電性連接。此外,要說明的是,傳輸鍵盤滑鼠訊號給計算機或接收計算機輸出訊號的第一介面260,亦可以採用如圖1C所示的方式,將其分成兩個介面,一個用來接收計算機回傳的訊號,一個用來輸出訊號給計算機。Please refer to FIG. 1D , which is a schematic diagram of the structure of the electronic device of the present invention. The electronic device 2 of the present embodiment is a KVM switch, which has a control device connection interface 24 for electrically connecting with the control devices 50 and 51 . The control device connection interface 24 may be a USB interface or a PS/2 interface. In this embodiment, the control device connection interface 24 is a USB interface. In this embodiment, the control device 50 is a keyboard, and the control device 51 is a mouse. It should be noted that, in another embodiment, the control device may also be a device integrating a mouse and a keyboard, such as a touch panel. The electronic device also has a plurality of computer connection interfaces 26c and 26d for electrical connection with the computers 4a and 4b. The computers 4a and 4b can be computers, workstations, notebook computers, tablet computers, or smart phones. Each computer 4a and 4b has its own input/output interface, such as USB or PS/2, and video output interface, such as DVI, HDMI, DisplayPort or D-sub interface, through connecting cables (such as dongle cable) ) 40 is electrically connected to the computer connection interfaces 26c and 26d. In this embodiment, the computer connection interfaces 26c and 26d respectively have first interfaces 260 and 262 for transmitting keyboard and mouse signals with the computer and second interfaces 261 and 263 for transmitting images. The electronic device 2 further has an image output interface 25 , such as DVI, HDMI, DisplayPort or a D-sub interface, which is electrically connected to the display 52 . In addition, it should be noted that the first interface 260 that transmits keyboard and mouse signals to the computer or receives computer output signals can also be divided into two interfaces as shown in FIG. 1C , and one is used to receive computer feedback signal, one is used to output the signal to the computer.

電子裝置2的內部更包括有控制單元20、第一切換器21以及第二切換器22。第一切換器21與控制單元20、計算機連接介面26c與26d以及影像輸出介面25電性連接,本實施例中,第一切換器21與計算機連接介面26c與26d中影像通道耦接在一起,用以根據控制單元20所發出的控制訊號選擇其中一台計算機4a或4b的影像輸出給影像輸出介面25。第二切換器22與控制單元20、計算機連接介面26c與26d以及操控裝置連接介面24電性連接,本實施例中,第二切換器22與計算機連接介面26c與26d中關於輸入/輸出介面的通道耦接在一起,用以根據控制單元20所發出的控制訊號選擇其中一台計算機4a或4b,並且將來自於操控裝置50與51所輸入的輸入訊號經由計算機連接介面26c與26d傳給被選擇的計算機4a或4b。The electronic device 2 further includes a control unit 20 , a first switch 21 and a second switch 22 . The first switch 21 is electrically connected to the control unit 20, the computer connection interfaces 26c and 26d, and the image output interface 25. In this embodiment, the first switch 21 is coupled to the image channels in the computer connection interfaces 26c and 26d. It is used for selecting the image of one of the computers 4 a or 4 b to output to the image output interface 25 according to the control signal sent by the control unit 20 . The second switch 22 is electrically connected to the control unit 20, the computer connection interfaces 26c and 26d, and the control device connection interface 24. In this embodiment, the second switch 22 is connected to the computer connection interfaces 26c and 26d with respect to the input/output interface. The channels are coupled together to select one of the computers 4a or 4b according to the control signal sent by the control unit 20, and transmit the input signals from the control devices 50 and 51 to the receiver through the computer connection interfaces 26c and 26d. Selected computer 4a or 4b.

請同時參閱圖1A與圖2所示,其中圖2為本發明之作業系統識別方法之一實施例流程示意圖。首先提供電子裝置2a(如步驟30所示),例如:圖1A所示的電子裝置2a。將計算機4a與4b透過連接線40與電子裝置2連接在一起。每一台計算機4a與4b內部分別有作業系統,例如:Mac OS, Windows OS或Linux等。步驟30之後,進行步驟31,經由電子裝置2a發送第一偵測命令給計算機4a與4b。在一實施例中,第一偵測命令更包含第一啟動指令與相關於第一啟動指令的第一操作指令,其中,第一啟動指令目的要讓計算產生相應於第一啟動指令的應用程式,而第一操作指令則為可以被第一啟動指令所啟動的應用程式所執行的指令。要說明的是,電子裝置2a發送偵測命令的時機可以在電子裝置上電時,或者是有更換計算機時等。此外,在步驟31的一實施例中,電子裝置2a同時產生第一偵測命令給計算機4a與4b,或者是在另一實施例中,電子裝置2a可以先偵測計算機4a然後再偵測計算機4b,其係可以根據使用者的需求而定,並無一定之限制。Please refer to FIG. 1A and FIG. 2 at the same time, wherein FIG. 2 is a schematic flowchart of an embodiment of an operating system identification method of the present invention. First, an electronic device 2a is provided (as shown in step 30 ), for example, the electronic device 2a shown in FIG. 1A . The computers 4a and 4b are connected to the electronic device 2 through the connecting line 40 . Each of the computers 4a and 4b has an operating system, such as Mac OS, Windows OS or Linux, respectively. After step 30, go to step 31, sending the first detection command to the computers 4a and 4b via the electronic device 2a. In one embodiment, the first detection command further includes a first activation command and a first operation command related to the first activation command, wherein the purpose of the first activation command is to generate an application program corresponding to the first activation command. , and the first operation instruction is an instruction that can be executed by the application program activated by the first activation instruction. It should be noted that, the timing of sending the detection command by the electronic device 2a may be when the electronic device is powered on, or when the computer is replaced. In addition, in an embodiment of step 31, the electronic device 2a simultaneously generates the first detection command to the computers 4a and 4b, or in another embodiment, the electronic device 2a may first detect the computer 4a and then detect the computer 4b, which can be determined according to the user's needs, and there is no certain limitation.

在一實施例中,第一啟動指令的內容為可以被特定作業系統識別的熱鍵,其中,熱鍵可以為一個或多個按鍵(或指令)組合,而讓作業系統執行相應第一啟動指令的動作。例如:以Windows為例,第一啟動指令為啟動Command line的指令,其對應的熱鍵為Windows鍵 + R鍵與輸入字串cmd的組合;以Linux環境為例,啟動Command line的指令為熱鍵Ctrl 鍵+ Alt 鍵+ t鍵;而對於Mac OS的環境,啟動Command line的指令為熱鍵F4鍵加上輸入字串terminal的組合。舉例來說,當電子裝置2a將第一啟動指令傳輸給計算機4a與4b之後,接著產生第一操作指令給計算機4a與4b。如果第一啟動指令可以被計算機4a與4b識別而執行之後,理論上會產生相應的應用程式,並進而可以執行第一操作指令而產生相應第一操作指令的結果。In an embodiment, the content of the first startup command is a hotkey that can be recognized by a specific operating system, wherein the hotkey can be a combination of one or more keys (or commands), and the operating system executes the corresponding first startup command. Actions. For example: Take Windows as an example, the first startup command is the command to start the Command line, and the corresponding hotkey is the combination of the Windows key + R key and the input string cmd; taking the Linux environment as an example, the command to start the Command line is the hotkey The key is Ctrl + Alt + t; for the Mac OS environment, the command to start the Command line is the combination of the hotkey F4 key and the input string terminal. For example, after the electronic device 2a transmits the first activation command to the computers 4a and 4b, it then generates the first operation command to the computers 4a and 4b. If the first activation command can be recognized and executed by the computers 4a and 4b, a corresponding application program will theoretically be generated, and then the first operation command can be executed to generate a result corresponding to the first operation command.

在步驟31的一實施例中,根據圖1A所示的架構,控制器200控制指令單元202a產生相應第一啟動指令的熱鍵,並傳輸給計算機4a與4b。以計算機4a為例子作說明,本實施例中,第一啟動指令包含兩個部分,第一部分為Windows鍵 + R,第二部分為cmd指令。首先電子裝置2傳送第一啟動指令的第一部分,亦即,Windows鍵 + R鍵給計算機4a之後,如果計算機4a內部的作業系統為Windows,則計算機4a會形成如圖3A的狀態。接著,如圖3B所示,控制器200控制指令單元202a傳送第一啟動指令的第二部份,亦即,cmd指令用以啟動command line應用程式,結果會在圖3B的畫面中產生字串cmd。當計算機4a執行指令”cmd”之後, 會形成如圖3C的畫面,也就是應用程式command line的畫面。之後,控制器200控制指令單元202a傳送第一操作指令給計算機4a,計算機4a在圖3C的狀態下接收並執行第一操作指令,本實施例的第一操作指令可以為 systeminfo >   /KVM_device/system_file.txt 而形成如圖3D的畫面。在一實施例中,如果是計算機4b,第一操作指令可以為systeminfo >   /KVM_device/system_file2.txt,讓計算機4a與4b所產生的檔案有所區隔,以利後續判斷。In an embodiment of step 31, according to the architecture shown in FIG. 1A, the controller 200 controls the command unit 202a to generate a hot key corresponding to the first activation command, and transmits the hot key to the computers 4a and 4b. Taking the computer 4a as an example for illustration, in this embodiment, the first startup command includes two parts, the first part is the Windows key + R, and the second part is the cmd command. First, after the electronic device 2 transmits the first part of the first startup command, that is, the Windows key + R key, to the computer 4a, if the operating system inside the computer 4a is Windows, the computer 4a will be in the state shown in FIG. 3A . Next, as shown in FIG. 3B , the controller 200 controls the command unit 202a to transmit the second part of the first start command, that is, the cmd command is used to start the command line application, and as a result, a string is generated in the screen of FIG. 3B cmd. When the computer 4a executes the command "cmd", a screen as shown in FIG. 3C will be formed, that is, the screen of the application program command line. After that, the controller 200 controls the instruction unit 202a to transmit the first operation instruction to the computer 4a, and the computer 4a receives and executes the first operation instruction in the state of FIG. 3C. The first operation instruction in this embodiment may be systeminfo > /KVM_device/system_file .txt to form a picture as shown in Figure 3D. In one embodiment, if it is the computer 4b, the first operation command may be systeminfo > /KVM_device/system_file2.txt, so that the files generated by the computers 4a and 4b are separated to facilitate subsequent judgment.

其中,systeminfo為應用程式command line可以執行的指令。要說明的是,該指令並不以systeminfo為限制,只要是第一啟動指令啟動的應用程式可以執行的指令接可。而符號”>”代表轉向,也就是將”>”左側的指令執行結果輸出到”>”右側的目的地,本實施例中,目的地為/KVM_device/的目錄下,並將檔案儲存成system_file.txt。要說明的是, KVM_device的目錄所在的位置為儲存單元201,其係為電子裝置2a對計算機所虛擬符合USB儲存裝置的儲存目錄名稱,而system_file.txt則為儲存在KVM_device目錄下的檔名。要說明的是,目錄名稱或檔名都可以根據需求而定,並不以本實施例為限制。Among them, systeminfo is the command that the application command line can execute. It should be noted that this command is not limited by systeminfo, as long as it is a command that can be executed by the application program activated by the first activation command. The symbol ">" represents a turn, that is, the execution result of the instruction on the left side of the ">" is output to the destination on the right side of the ">". In this embodiment, the destination is the directory of /KVM_device/, and the file is stored as system_file .txt. It should be noted that the location of the KVM_device directory is the storage unit 201, which is the storage directory name of the USB storage device that the electronic device 2a virtually matches to the computer, and system_file.txt is the file name stored in the KVM_device directory. It should be noted that, the directory name or file name can be determined according to requirements, and is not limited by this embodiment.

步驟31之後,進行步驟32,以電子裝置2a接收由每一計算機之作業系統所產生相應第一偵測命令的第一執行結果。在步驟32中,以計算機4a為例,如步驟31的圖3D所示,因為關於第一啟動指令已經執行並且產生如圖3C的畫面,當計算機因此在計算機執行了第一操作指令,例如:systeminfo >   /KVM_device/system_file.txt,之後,在KVM_device的目錄下就具有system_file.txt的檔案,該檔案內部記載有關於systeminfo指令執行之後計算機輸出的結果,以及前述之第一執行結果。要說明的是,由於儲存單元201為計算機4a可以識別的儲存區域,亦即計算機4a將儲存單元201識別成自己的一個儲存槽,而儲存槽的名稱對於計算機4a而言,識別成KVM_device的儲存目錄。因此,system_file.txt檔案會被儲存在儲存單元201內。After step 31, step 32 is performed to receive the first execution result of the corresponding first detection command generated by the operating system of each computer by the electronic device 2a. In step 32, taking the computer 4a as an example, as shown in FIG. 3D in step 31, because the first startup instruction has been executed and the screen shown in FIG. 3C is generated, when the computer therefore executes the first operation instruction on the computer, for example: systeminfo > /KVM_device/system_file.txt, after that, there is a file system_file.txt in the directory of KVM_device, which records the result of the computer output after the systeminfo command is executed, and the first execution result mentioned above. It should be noted that since the storage unit 201 is a storage area that can be recognized by the computer 4a, that is, the computer 4a recognizes the storage unit 201 as one of its own storage slots, and the name of the storage slot is identified as the storage of the KVM_device for the computer 4a. Table of contents. Therefore, the system_file.txt file is stored in the storage unit 201 .

步驟32之後,進行步驟33,以該電子裝置2a依據該第一偵測命令判斷該第一執行結果以識別該作業系統的類型。在本步驟中,電子裝置2可以在KVM_device的目錄找到相應於第一偵測命令的檔案system_file.txt,代表著計算機4a內執行的作業系統為Windows,因此會直接到步驟35,設定電子裝置2a的計算機連接介面26a所連接的作業系統為Windows 作業系統。反之,如果沒有識別出計算機4a的作業系統,那代表計算機4a的作業系統並非Windows,換句話說,因為圖3A與圖3B所示的第一啟動指令以及第一操作指令都是屬於windows 作業系統的指令,因此KVM_device內沒有system_file.txt檔,那就代表計算機4a現在所執行的作業系統並非windows,此時會進行步驟34,改變第一偵測命令的內容變成第二偵測命令,然後進入圖4所示的流程。After step 32, step 33 is performed, and the electronic device 2a determines the first execution result according to the first detection command to identify the type of the operating system. In this step, the electronic device 2 can find the file system_file.txt corresponding to the first detection command in the KVM_device directory, which means that the operating system executed in the computer 4a is Windows, so it will go directly to step 35 to set the electronic device 2a The operating system connected to the computer connection interface 26a is the Windows operating system. On the contrary, if the operating system of the computer 4a is not identified, it means that the operating system of the computer 4a is not Windows, in other words, because the first startup command and the first operation command shown in FIG. 3A and FIG. 3B belong to the Windows operating system. txt file in the KVM_device, it means that the operating system currently being executed by the computer 4a is not windows, then step 34 will be performed to change the content of the first detection command into the second detection command, and then enter The flow shown in Figure 4.

以下進一步說明,圖4的步驟31a中,經由電子裝置2a將第二偵測命令傳送給該計算機4a與4b。本實施例中,第二偵測命令為關於Linux作業系統的命令,其係包含第二啟動指令以及第二操作指令。在本實施例中,第二啟動指令也是用來啟動在linux作業系統環境下的command line應用程式。在一實施例中,第二啟動指令的內容為熱鍵Ctrl 鍵+ Alt 鍵+ t鍵的組合。之後,電子裝置會接著傳送第二操作指令,例如:ls > /KVM_device/files.txt 其中,ls為應用程式command line可以執行的列出目前目錄下檔案訊的指令,但不以該指令為限制。第二操作指令中的符號”>”代表將執行結果輸出到 目錄/KVM_device/的目錄下,並將檔案儲存成files.txt。如果是計算機4b則為files2.txt。要說明的是,KVM_device為電子裝置對計算機所虛擬符合USB儲存裝置的儲存目錄名稱,而files.txt則為儲存在KVM_device目錄下的檔名。要說明的是,目錄名稱或檔名都可以根據需求而定,例如配合不同計算機4a與4b而有不同的命名,並不以本實施例為限制。 In the following further description, in step 31a of FIG. 4, the second detection command is transmitted to the computers 4a and 4b via the electronic device 2a. In this embodiment, the second detection command is a command related to the Linux operating system, which includes a second startup command and a second operation command. In this embodiment, the second startup command is also used to start the command line application under the Linux operating system environment. In one embodiment, the content of the second activation instruction is a combination of the hot key Ctrl key + Alt key + t key. After that, the electronic device will then send the second operation command, for example: ls > /KVM_device/files.txt . Among them, ls is the command that can be executed by the application command line to list the file information in the current directory, but it is not limited by this command. The symbol ">" in the second operation instruction means that the execution result is output to the directory /KVM_device/, and the file is stored as files.txt. If it is computer 4b, it is files2.txt. It should be noted that, KVM_device is the storage directory name of the USB storage device that the electronic device virtually matches to the computer, and files.txt is the file name stored in the KVM_device directory. It should be noted that, the directory name or the file name can be determined according to requirements, for example, different names can be provided in accordance with different computers 4a and 4b, which is not limited by this embodiment.

步驟31a之後,進行步驟32a,以電子裝置2a接收由每一計算機作業系統所產生相應第二偵測命令的第二執行結果。以計算機4a為例,在步驟32a中,因為第二啟動指令已經執行,因此在計算機4a執行了第二操作指令之後,計算機4a會將結果輸出到KVM_device的目錄下以檔名files.txt進行儲存,該檔案內部記載有關於ls指令執行之後計算機輸出的結果,以及前述之第二執行結果。After step 31a, step 32a is performed to receive the second execution result of the corresponding second detection command generated by each computer operating system through the electronic device 2a. Taking the computer 4a as an example, in step 32a, because the second start-up command has been executed, after the computer 4a executes the second operation command, the computer 4a will output the result to the KVM_device directory for storage with the file name files.txt , the file records the result output by the computer after the execution of the ls command, as well as the aforementioned second execution result.

步驟32a之後,進行步驟33a,以該電子裝置2a依據第二偵測命令判斷第二執行結果以識別作業系統的類型。在本步驟中,如果電子裝置2可以在KVM_device的目錄找到相應於第二偵測命令的檔案files.txt,代表著計算機4a內執行的作業系統為Linux,因此會直接到步驟35a,設定電子裝置2a的計算機連接介面26a所連接的為Linux 作業系統的型式。反之,如果沒有識別出計算機4a的作業系統,那代表計算機4a的作業系統並非Linux,此時會進行步驟34a,改變第二偵測命令的內容變成第三偵測命令,然後進入圖5所示的流程。After step 32a, step 33a is performed, and the electronic device 2a determines the second execution result according to the second detection command to identify the type of the operating system. In this step, if the electronic device 2 can find the file files.txt corresponding to the second detection command in the KVM_device directory, it means that the operating system executed in the computer 4a is Linux, so it will go directly to step 35a to set the electronic device The computer connection interface 26a of 2a is connected to the type of Linux operating system. On the other hand, if the operating system of the computer 4a is not recognized, it means that the operating system of the computer 4a is not Linux, then step 34a will be performed, and the content of the second detection command will be changed into the third detection command, and then the operation shown in FIG. 5 will be entered. process.

以下進一步說明,圖5的步驟31b中,經由電子裝置2a將第三偵測命令傳送給該計算機4a與4b。本實施例中,第三偵測命令為關於Mac作業系統的命令,其係包含第三啟動指令以及第三操作指令。在本實施例中,第三啟動指令也是用來啟動在Mac作業系統環境下的command line應用程式,亦即terminal。在一實施例中,第三啟動指令包含兩個部分,第一部分為command

Figure 02_image001
鍵+space(空白)鍵,第二部分為terminal指令,用以啟動terminal應用程式。以計算機4a為例,首先電子裝置2a傳送第三啟動指令的第一部分,亦即,command
Figure 02_image001
鍵+space(空白)鍵給計算機4a。之後,電子裝置2a會接著傳送第三操作指令,例如:ls > /KVM_device/files.txt。其中,ls為terminal應用程式可以執行的列出目前目錄下檔案資訊的指令,”>”代表將執行結果輸出到 目錄/KVM_device/的目錄下,並將檔案儲存成files.txt。要說明的是,KVM_device為電子裝置對計算機所虛擬符合USB儲存裝置的儲存目錄名稱,而files.txt則為儲存在KVM_device目錄下的檔名。要說明的是,目錄名稱或檔名都可以根據需求而定,例如配合不同計算機4a與4b而有不同的命名,並不以本實施例為限制。 In the following further description, in step 31b of FIG. 5, the third detection command is transmitted to the computers 4a and 4b via the electronic device 2a. In this embodiment, the third detection command is a command related to the Mac operating system, which includes a third startup command and a third operation command. In this embodiment, the third startup command is also used to start the command line application program under the Mac operating system environment, that is, the terminal. In one embodiment, the third startup instruction includes two parts, the first part is the command
Figure 02_image001
key + space (blank) key, the second part is the terminal command, which is used to start the terminal application. Taking the computer 4a as an example, first the electronic device 2a transmits the first part of the third activation command, that is, the command
Figure 02_image001
key + space (space) key to computer 4a. After that, the electronic device 2a will then send a third operation command, for example: ls > /KVM_device/files.txt. Among them, ls is the command that the terminal application can execute to list the file information in the current directory, ">" means output the execution result to the directory /KVM_device/, and save the file as files.txt. It should be noted that, KVM_device is the storage directory name of the USB storage device that the electronic device virtually matches to the computer, and files.txt is the file name stored in the KVM_device directory. It should be noted that, the directory name or the file name can be determined according to requirements, for example, different names can be provided in accordance with different computers 4a and 4b, which is not limited by this embodiment.

步驟31b之後,進行步驟32b,以電子裝置接收由每一計算機作業系統所產生相應第三偵測命令的第三執行結果。在步驟32b中,因為第三啟動指令已經執行,因此在計算機4a執行了第三操作指令之後,計算機4a會將結果輸出到KVM_device的目錄下以檔名files.txt進行儲存,該檔案內部記載有關於ls指令執行之後計算機輸出的結果,以及前述之第三執行結果。After step 31b, step 32b is performed to receive the third execution result of the corresponding third detection command generated by each computer operating system by the electronic device. In step 32b, because the third start-up command has been executed, after the computer 4a executes the third operation command, the computer 4a will output the result to the KVM_device directory for storage under the file name files.txt. Regarding the result output by the computer after the execution of the ls instruction, as well as the aforementioned third execution result.

步驟32b之後,進行步驟33b,以該電子裝置2a依據第三偵測命令判斷第三執行結果以識別作業系統的類型。在本步驟中,如果電子裝置2可以在KVM_device的目錄找到相應於第三偵測命令的檔案files.txt,代表著計算機4a內執行的作業系統為Mac OS,因此會直接到步驟35b,設定電子裝置的計算機連接介面26a所連接的為Mac 作業系統的型式。反之,如果沒有識別出計算機4a的作業系統,那代表計算機4a的作業系統為未知的作業系統。在一實施例中,當無法判斷計算機4a與4b的作業系統類型時,電子裝置2a會以預設的作業系統設定,作為操控的依據。要說明的是,雖然前述以三種作業系統作為判斷的實例,但並不以此為限制,如果有其他的作業系統,同樣可以根據前述的方式進行判斷,找出計算機所屬的作業系統。After step 32b, step 33b is performed, and the electronic device 2a determines the third execution result according to the third detection command to identify the type of the operating system. In this step, if the electronic device 2 can find the file files.txt corresponding to the third detection command in the KVM_device directory, it means that the operating system executed in the computer 4a is Mac OS, so it will go directly to step 35b to set the electronic The computer connection interface 26a of the device is connected to a type of Mac operating system. On the contrary, if the operating system of the computer 4a is not identified, it means that the operating system of the computer 4a is an unknown operating system. In one embodiment, when the operating system types of the computers 4a and 4b cannot be determined, the electronic device 2a uses the preset operating system settings as the basis for control. It should be noted that, although the above three operating systems are used as examples of judgment, it is not limited by this. If there are other operating systems, the judgment can also be performed according to the above method to find out the operating system to which the computer belongs.

要說明的是,雖然前述實施例係以圖1A的架構來說明,同樣地,圖1B以KVM切換器作為電子裝置2的實施架構也可以同樣的流程來實施。It should be noted that although the foregoing embodiment is described with the structure of FIG. 1A , similarly, the implementation structure of FIG. 1B using a KVM switch as the electronic device 2 can also be implemented in the same process.

要說明的是,前述各實施例中所述的電子裝置2除了應用於前述的KVM切換裝置之外,其亦可以為隨身碟、行動硬碟、HUB、電子治具或任何具有可與計算機連接的電子裝置,本發明並非為限制。It should be noted that, in addition to being applied to the aforementioned KVM switching device, the electronic device 2 in the foregoing embodiments can also be a flash drive, a mobile hard drive, a HUB, an electronic fixture or any other device capable of connecting with a computer. The present invention is not intended to limit the electronic device.

綜合上述,本發明提供的作業系統識別方法與使用該方法之電子裝置,可以藉由不同作業系統的專有的指令,再根據計算機的回應結果,自動判斷出其作業系統的種類,避免使用者手動逐一設定的困擾,達到自動設定的效果。In view of the above, the operating system identification method provided by the present invention and the electronic device using the method can automatically determine the type of the operating system according to the specific instructions of different operating systems, and then according to the response result of the computer, so as to avoid the user The trouble of manual setting one by one achieves the effect of automatic setting.

以上所述,乃僅記載本發明為呈現解決問題所採用的技術手段之較佳實施方式或實施例而已,並非用來限定本發明專利實施之範圍。即凡與本發明專利申請範圍文義相符,或依本發明專利範圍所做的均等變化與修飾,皆為本發明專利範圍所涵蓋。The above descriptions are merely for describing the preferred embodiments or examples of the technical means adopted by the present invention to solve the problems, and are not intended to limit the scope of the patent implementation of the present invention. That is, all the equivalent changes and modifications that are consistent with the context of the scope of the patent application of the present invention, or made in accordance with the scope of the patent of the present invention, are all covered by the scope of the patent of the present invention.

2、2a:電子裝置 20:控制單元 200:控制器 201:儲存單元 202:輸出單元 202a:指令單元 202b:輸出裝置 21:第一切換器 22:第二切換器 24:操控裝置連接介面 25:影像輸出介面 26a、26b、26c、26d:計算機連接介面 260、262:第一介面 261、263:第二介面 260a:輸出介面 260b:輸入介面 4a、4b:計算機 40、40a:連接線 50、51:操控裝置 52:顯示器 3:方法 30~35:流程 31a~35a:流程 31b~35b:流程2, 2a: Electronic devices 20: Control unit 200: Controller 201: Storage Unit 202: Output unit 202a: Instruction unit 202b: Output device 21: First Switcher 22: Second switcher 24: Control device connection interface 25: Image output interface 26a, 26b, 26c, 26d: Computer connection interface 260, 262: The first interface 261, 263: Second interface 260a: output interface 260b: input interface 4a, 4b: Computers 40, 40a: connecting line 50, 51: Control device 52: Display 3: Method 30~35: Process 31a~35a: Process 31b~35b: Process

圖1A為本發明之電子裝置之架構示意圖。 圖1B為本發明之電子裝置之另一架構示意圖。 圖1C為本發明之電子裝置之另一架構示意圖。 圖1D為本發明之電子裝置之又一架構示意圖。 圖2為本發明之作業系統識別方法之一實施例流程示意圖。 圖3A至圖3D為本發明作業系統識別時。 圖4至圖5為本發明之作業系統識別方法之一實施例流程示意圖。 FIG. 1A is a schematic diagram of the structure of the electronic device of the present invention. FIG. 1B is a schematic diagram of another structure of the electronic device of the present invention. FIG. 1C is another schematic diagram of the structure of the electronic device of the present invention. FIG. 1D is another schematic structural diagram of the electronic device of the present invention. FIG. 2 is a schematic flowchart of an embodiment of an operating system identification method of the present invention. FIG. 3A to FIG. 3D are when the operating system of the present invention is identified. 4 to 5 are schematic flowcharts of an embodiment of an operating system identification method of the present invention.

2a:電子裝置 2a: Electronics

20:控制單元 20: Control unit

200:控制器 200: Controller

201:儲存單元 201: Storage Unit

202:輸出單元 202: Output unit

202a:指令單元 202a: Instruction unit

202b:輸出裝置 202b: Output device

26a、26b:計算機連接介面 26a, 26b: Computer connection interface

4a、4b:計算機 4a, 4b: Computers

40a:連接線 40a: connecting line

Claims (10)

一種作業系統識別方法,供一電子裝置執行後,以判斷一計算機的一作業系統的類型,其係包括有下列步驟:經由該電子裝置發送一第一偵測命令給該計算機;以該電子裝置接收由該作業系統所產生相應該第一偵測命令的一第一執行結果;以及以該電子裝置依據該第一偵測命令判斷該第一執行結果以識別該作業系統的類型。 An operating system identification method for determining the type of an operating system of a computer after being executed by an electronic device, comprising the following steps: sending a first detection command to the computer through the electronic device; using the electronic device Receive a first execution result corresponding to the first detection command generated by the operating system; and determine the first execution result by the electronic device according to the first detection command to identify the type of the operating system. 如請求項1所述之作業系統識別方法,其中該第一偵測命令包含一第一啟動指令與相關於該第一啟動指令的一第一操作指令,其中該第一啟動指令為啟動該作業系統的一執行功能,該第一操作指令為相應該執行功能的一執行指令。 The operating system identification method as claimed in claim 1, wherein the first detection command comprises a first activation command and a first operation command related to the first activation command, wherein the first activation command is to activate the operation An execution function of the system, and the first operation instruction is an execution instruction corresponding to the execution function. 如請求項1所述之作業系統識別方法,其中該第一偵測命令為關於一第一作業系統的控制命令,識別該作業系統的類型係更包括有下列步驟:以該電子裝置根據該第一執行結果判斷該作業系統不相符於該第一作業系統時,輸出相應於一第二作業系統的一第二偵測命令給該計算機;以該電子裝置接收由該作業系統產生相應該第二偵測命令的一第二執行結果;以及以該電子裝置根據該第二偵測命令判斷該第二執行結果以識別該作業系統是否相符於該第二作業系統。 The operating system identification method as claimed in claim 1, wherein the first detection command is a control command related to a first operating system, and identifying the type of the operating system further comprises the following steps: using the electronic device according to the first operating system When an execution result determines that the operating system does not conform to the first operating system, output a second detection command corresponding to a second operating system to the computer; receive the second detection command corresponding to the operating system generated by the electronic device detecting a second execution result of the command; and judging the second execution result by the electronic device according to the second detecting command to identify whether the operating system conforms to the second operating system. 如請求項3所述之作業系統識別方法,其中該第二偵測命令包含一第二啟動指令與相關於該第二啟動指令的一第二操作指令,其中該第二啟動 指令為啟動於該作業系統下運作的一執行功能,該第二操作指令為相應該執行功能的一執行指令。 The operating system identification method according to claim 3, wherein the second detection command includes a second activation command and a second operation command related to the second activation command, wherein the second activation command The instruction is an execution function activated under the operating system, and the second operation instruction is an execution instruction corresponding to the execution function. 如請求項1所述之作業系統識別方法,更包括有:以電子裝置之一控制單元驅動該第一偵測命令經由該電子裝置之一計算機連接介面輸出該第一偵測命令至該計算機;以及以該計算機連接介面接收該第一執行結果。 The operating system identification method of claim 1, further comprising: driving the first detection command by a control unit of the electronic device to output the first detection command to the computer through a computer connection interface of the electronic device; and receiving the first execution result through the computer connection interface. 一種電子裝置,供一計算機連接,該計算機包含一作業系統,該電子裝置包括:一計算機連接介面,和該計算機耦接;以及一控制單元,經由該計算機連接介面發出一第一偵測命令給該計算機,經由該計算機連接介面接收來自計算機響應該第一偵測命令的一第一執行結果,該控制單元根據該第一偵測命令判斷該第一執行結果以識別該作業系統的類型。 An electronic device for connecting a computer, the computer includes an operating system, the electronic device includes: a computer connection interface, coupled with the computer; and a control unit, through the computer connection interface to issue a first detection command to The computer receives a first execution result from the computer in response to the first detection command via the computer connection interface, and the control unit determines the first execution result according to the first detection command to identify the type of the operating system. 如請求項6所述之電子裝置,其中該第一偵測命令包含一第一啟動指令與相關於該第一啟動指令的一第一操作指令,該第一啟動指令為啟動於該作業系統下運作的一執行功能,該第一操作指令為相應該執行功能的一執行指令。 The electronic device of claim 6, wherein the first detection command includes a first activation command and a first operation command related to the first activation command, and the first activation command is activated under the operating system An execution function that operates, and the first operation instruction is an execution instruction corresponding to the execution function. 如請求項6所述之電子裝置,其中該電子裝置根據該第一執行結果判斷該作業系統不相符於該第一作業系統時,輸出相應於一第二作業系統的一第二偵測命令給該計算機,該電子裝置接收由該作業系統產生相應該第二偵測命令的一第二執行結果,該電子裝置根據該第二偵測命令判斷該第二執行結果以識別該作業系統是否相符於該第二作業系統。 The electronic device of claim 6, wherein when the electronic device determines that the operating system does not conform to the first operating system according to the first execution result, it outputs a second detection command corresponding to a second operating system to The computer, the electronic device receives a second execution result corresponding to the second detection command generated by the operating system, and the electronic device determines the second execution result according to the second detection command to identify whether the operating system conforms to the the second operating system. 如請求項8所述之電子裝置,其中該第二偵測命令包含一第二啟動指令與相關於該第二啟動指令的一第二操作指令,其中該第二啟動指令為啟動於該作業系統下運作的一執行功能,該第二操作指令為相應該執行功能的一執行指令。 The electronic device of claim 8, wherein the second detection command comprises a second activation command and a second operation command related to the second activation command, wherein the second activation command is activated in the operating system An execution function operating under the second operation instruction is an execution instruction corresponding to the execution function. 如請求項8所述之電子裝置,其中該控制單元更具有一控制器、一儲存單元,以及一輸出單元,該儲存單元以及該輸出單元與該控制器電性連接,該控制器控制該輸出單元產生該第一與第二偵測命令傳輸給該計算機,該儲存單元用以儲存由該計算機所回傳的第一執行結果或第二執行結果。 The electronic device of claim 8, wherein the control unit further has a controller, a storage unit, and an output unit, the storage unit and the output unit are electrically connected to the controller, and the controller controls the output The unit generates the first and second detection commands and transmits them to the computer, and the storage unit is used for storing the first execution result or the second execution result returned by the computer.
TW110113856A 2021-04-16 2021-04-16 Method for identifying operation system and kvm switch using the same TWI765665B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW110113856A TWI765665B (en) 2021-04-16 2021-04-16 Method for identifying operation system and kvm switch using the same
CN202111024340.4A CN115220581A (en) 2021-04-16 2021-09-02 Operating system identification method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110113856A TWI765665B (en) 2021-04-16 2021-04-16 Method for identifying operation system and kvm switch using the same

Publications (2)

Publication Number Publication Date
TWI765665B true TWI765665B (en) 2022-05-21
TW202242646A TW202242646A (en) 2022-11-01

Family

ID=82594436

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110113856A TWI765665B (en) 2021-04-16 2021-04-16 Method for identifying operation system and kvm switch using the same

Country Status (2)

Country Link
CN (1) CN115220581A (en)
TW (1) TWI765665B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200417902A (en) * 2003-03-11 2004-09-16 Acer Inc Computer system capable of being operated under multiple operation modes and operation method thereof
CN102375786A (en) * 2011-10-18 2012-03-14 中兴通讯股份有限公司 Automatic operating system identifying method and system for USB (Universal Serial Bus) equipment
TW201435738A (en) * 2013-03-15 2014-09-16 Power All Networks Ltd Electronic device, system and method for sharing operating systems
TW201807589A (en) * 2016-08-24 2018-03-01 旺玖科技股份有限公司 Method and device capable of automatically identifying host operating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200417902A (en) * 2003-03-11 2004-09-16 Acer Inc Computer system capable of being operated under multiple operation modes and operation method thereof
CN102375786A (en) * 2011-10-18 2012-03-14 中兴通讯股份有限公司 Automatic operating system identifying method and system for USB (Universal Serial Bus) equipment
TW201435738A (en) * 2013-03-15 2014-09-16 Power All Networks Ltd Electronic device, system and method for sharing operating systems
TW201807589A (en) * 2016-08-24 2018-03-01 旺玖科技股份有限公司 Method and device capable of automatically identifying host operating system

Also Published As

Publication number Publication date
TW202242646A (en) 2022-11-01
CN115220581A (en) 2022-10-21

Similar Documents

Publication Publication Date Title
US20090210608A1 (en) KVM switch and operation method thereof
US20220222029A1 (en) Remote gesture control, input monitor, systems including the same, and associated methods
US6934792B1 (en) Computer switch able to switch connections between an input device and a plurality of computers connected thereto either from the input device or from the computer
TWI477970B (en) Mode switch method of electronic device and assocaited electronic device
JP6495471B2 (en) Electronic device, input / output device, and method of using the same
KR100931403B1 (en) Device and information controlling system on network using hand gestures
US11243737B2 (en) Method and system for remote collaboration
US20090160779A1 (en) Emulating A Keyboard On A Touch Screen Monitor Of A Computer System
US8533600B2 (en) Device for controlling the switching of a user interface
US20090077222A1 (en) Kvm switch and multi-computer system incorporating the same
US20110292282A1 (en) Information processing device, information processing method, and information processing system
US8589141B2 (en) Resource sharing apparatus which disconnects an input device when detecting a standby indication of a switching command
US20160065690A1 (en) System and method for selecting virtual desktop environment
US9645960B2 (en) KVM switch
WO2022142826A1 (en) Interface screenshot method and apparatus, and electronic device
US11659042B1 (en) System and method for controlling remote sessions executing on other devices
TW201619835A (en) Keyboard-video-mouse switch and operating method thereof
TWI765665B (en) Method for identifying operation system and kvm switch using the same
US10388257B2 (en) Information processing apparatus, method of controlling the same and non-transitory computer-readable storage medium
EP3423939B1 (en) Automatic virtual input device
KR102254873B1 (en) KVM switching apparatus used in monitor with PBP function
CA3181648A1 (en) Data processing systems for providing a data communication channel between one or more connected computing devices and an interactive display
US20240078193A1 (en) Output method and device
KR101305704B1 (en) Open-user type electronic board system having embedded os capable of supporting other computing apparatus with different os
US20140019997A1 (en) Virtualization system and method thereof