TWI545439B - Electronic apparatus, keyboard-video-mouse switch, and firmware updating method thereof - Google Patents

Electronic apparatus, keyboard-video-mouse switch, and firmware updating method thereof Download PDF

Info

Publication number
TWI545439B
TWI545439B TW103145052A TW103145052A TWI545439B TW I545439 B TWI545439 B TW I545439B TW 103145052 A TW103145052 A TW 103145052A TW 103145052 A TW103145052 A TW 103145052A TW I545439 B TWI545439 B TW I545439B
Authority
TW
Taiwan
Prior art keywords
module
programmable logic
image processing
storage module
information
Prior art date
Application number
TW103145052A
Other languages
Chinese (zh)
Other versions
TW201624290A (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 TW103145052A priority Critical patent/TWI545439B/en
Priority to CN201510382132.XA priority patent/CN106201568B/en
Publication of TW201624290A publication Critical patent/TW201624290A/en
Application granted granted Critical
Publication of TWI545439B publication Critical patent/TWI545439B/en

Links

Landscapes

  • Stored Programmes (AREA)

Description

電子裝置、多電腦切換器及其韌體更新方法 Electronic device, KVM switch and firmware update method thereof

本發明係與多電腦切換器(Keyboard-Video-Mouse Switch;KVM Switch)有關,特別是關於一種能夠節省成本及提升韌體更新效率的電子裝置、多電腦切換器及其韌體更新方法。 The present invention relates to a Keyboard-Video-Mouse Switch (KVM Switch), and more particularly to an electronic device, a KVM switch, and a firmware update method thereof that can save cost and improve firmware update efficiency.

請參照圖1,圖1係繪示傳統的具有遠端管理功能之多電腦切換器(KVM over IP)的示意圖。如圖1所示,假設多電腦切換器KVM包括四組採樣電路SAM1~SAM4,每一組採樣電路SAM1~SAM4用以分別對一台或多台目標電腦TC進行採樣,並且每一組採樣電路SAM1~SAM4均分別設置有一個可程式化邏輯單元FPGA、一個開關SW及一個快閃記憶體FM。中央處理器CPU除了耦接本身的快閃記憶體FM外,亦需耦接每一組採樣電路SAM1~SAM4的快閃記憶體FM。 Please refer to FIG. 1. FIG. 1 is a schematic diagram showing a conventional KVM over IP with remote management function. As shown in FIG. 1, it is assumed that the KVM switch KVM includes four sets of sampling circuits SAM1~SAM4, and each set of sampling circuits SAM1~SAM4 is used to respectively sample one or more target computers TC, and each set of sampling circuits Each of SAM1~SAM4 is provided with a programmable logic unit FPGA, a switch SW and a flash memory FM. In addition to the flash memory FM of the CPU, the CPU must also be coupled to the flash memory FM of each of the sampling circuits SAM1 to SAM4.

當中央處理器CPU透過網路N接收到一韌體更新資訊UG時,中央處理器CPU總共必須對五個快閃記憶體FM分別執行韌體更新資訊UG的寫入(Write-In)程序,其包含抹除、燒錄及檢查等步驟,因此非常耗費時間。尤其是當多電腦切換器KVM所需進行採樣之目標電腦數愈來愈多時,多電腦切換器KVM也必須設置更多的採樣電路,如此造成中央處理器CPU執行韌體更新資訊UG的寫入程序所耗費的時間亦會愈來愈可觀,導致傳統的多電腦切換器KVM的韌體更新效率變差,以及韌體版本管理上的問題。 When the CPU of the CPU receives a firmware update information UG through the network N, the CPU must perform a Write-In program of the firmware update information UG for each of the five flash memory FMs. It involves steps such as erasing, burning, and inspection, which is very time consuming. Especially when the KVM switch KVM needs to sample more and more target computers, the KVM switch KVM must also set more sampling circuits, thus causing the CPU of the CPU to execute the firmware update information UG write. The time spent in the program will also become more and more obvious, resulting in poor firmware update efficiency of the traditional KVM switch KVM, and firmware version management issues.

另外,每一組採樣電路均需設置有一個開關SW及一個快閃記憶體FM,也導致多電腦切換器KVM之硬體成本與體積上的浪費, 因此傳統的多電腦切換器有上述問題均亟待克服。 In addition, each group of sampling circuits needs to be provided with a switch SW and a flash memory FM, which also causes the hardware cost and volume waste of the KVM switch. Therefore, the above problems of the conventional KVM switch have to be overcome.

因此,本發明提出一種電子裝置、多電腦切換器及其韌體更新方法,以解決先前技術所遭遇到之上述問題。 Accordingly, the present invention provides an electronic device, a KVM switch, and a firmware update method thereof to solve the above problems encountered in the prior art.

根據本發明之一具體實施例為一種多電腦切換器。在此實施例中,多電腦切換器耦接至複數台目標電腦。多電腦切換器至少包括處理器模組、儲存模組、可程式化邏輯模組及複數個第一影像處理模組。處理器模組用以透過網路接收更新資訊。儲存模組耦接至處理器模組。處理器模組對儲存模組執行寫入程序以將更新資訊儲存於儲存模組內。可程式化邏輯模組耦接至儲存模組。該複數個第一影像處理模組中之第一影像處理模組耦接於可程式化邏輯模組與該複數台目標電腦中之至少一台目標電腦之間,用以透過可程式化邏輯模組自儲存模組讀取更新資訊並對該至少一台目標電腦進行影像處理。 A specific embodiment of the present invention is a KVM switch. In this embodiment, the KVM switch is coupled to a plurality of target computers. The KVM switch includes at least a processor module, a storage module, a programmable logic module, and a plurality of first image processing modules. The processor module is configured to receive update information via the network. The storage module is coupled to the processor module. The processor module performs a writing process on the storage module to store the update information in the storage module. The programmable logic module is coupled to the storage module. The first image processing module of the plurality of first image processing modules is coupled between the programmable logic module and at least one of the plurality of target computers for translating the programmable logic module The group reads the update information from the storage module and performs image processing on the at least one target computer.

在一實施例中,可程式化邏輯模組係為現場可程式化閘極陣列(Field-Programmable Gate Array;FPGA)或是複雜可程式化邏輯裝置(Complex Programmable Logic Device;CPLD)。 In one embodiment, the programmable logic module is a Field-Programmable Gate Array (FPGA) or a Complex Programmable Logic Device (CPLD).

在一實施例中,第一影像處理模組包括影像處理電路。影像處理電路至少包括可程式化邏輯單元。可程式化邏輯單元設置於影像處理電路上並且耦接於可程式化邏輯模組與該至少一台目標電腦之間,用以透過可程式化邏輯模組自儲存模組讀取更新資訊並對該至少一台目標電腦進行影像處理。 In an embodiment, the first image processing module includes an image processing circuit. The image processing circuit includes at least a programmable logic unit. The programmable logic unit is disposed on the image processing circuit and coupled between the programmable logic module and the at least one target computer for reading update information from the storage module through the programmable logic module and The at least one target computer performs image processing.

在一實施例中,可程式化邏輯單元係為現場可程式化閘極陣列(Field-Programmable Gate Array;FPGA)或是複雜可程式化邏輯裝置(Complex Programmable Logic Device;CPLD)。 In one embodiment, the programmable logic unit is a Field-Programmable Gate Array (FPGA) or a Complex Programmable Logic Device (CPLD).

在一實施例中,儲存模組係為快閃記憶體(Flash Memory)。 In one embodiment, the storage module is a flash memory.

在一實施例中,處理器模組係為中央處理器(Central Processing Unit;CPU)。 In one embodiment, the processor module is a Central Processing Unit (CPU).

在一實施例中,多電腦切換器進一步包括切換模組,分別耦接至處理器模組、儲存模組及可程式化邏輯模組,用以選擇性地切換處 理器模組或可程式化邏輯模組耦接至儲存模組。 In an embodiment, the KVM switch further includes a switching module coupled to the processor module, the storage module, and the programmable logic module for selectively switching The processor module or the programmable logic module is coupled to the storage module.

在一實施例中,於寫入(Write-In)模式下,切換模組切換成處理器模組耦接至儲存模組,致使處理器模組能對儲存模組執行寫入程序以將更新資訊儲存於儲存模組內。 In an embodiment, in the Write-In mode, the switching module is switched to connect the processor module to the storage module, so that the processor module can perform a writing process on the storage module to update The information is stored in the storage module.

在一實施例中,於讀取(Read-Out)模式下,切換模組切換成可程式化邏輯模組耦接至儲存模組,致使可程式化邏輯模組能自儲存模組讀取更新資訊。 In one embodiment, in the Read-Out mode, the switching module is switched to convert the programmable logic module to the storage module, so that the programmable logic module can read and update from the storage module. News.

在一實施例中,切換模組與儲存模組之間係透過序列周邊介面(Serial Peripheral Interface;SPI)進行訊號傳輸。 In an embodiment, the switching module and the storage module transmit signals through a Serial Peripheral Interface (SPI).

在一實施例中,處理器模組透過網路所接收到之更新資訊包括第一資訊及第二資訊,於第一影像處理模組透過可程式化邏輯模組自儲存模組讀取更新資訊的過程中,可程式化邏輯模組會接收第一資訊且第一影像處理模組會接收第二資訊。 In one embodiment, the update information received by the processor module through the network includes the first information and the second information, and the first image processing module reads the update information from the storage module through the programmable logic module. During the process, the programmable logic module receives the first information and the first image processing module receives the second information.

在一實施例中,該複數個第一影像處理模組係分別透過可程式化邏輯模組自儲存模組讀取更新資訊。 In one embodiment, the plurality of first image processing modules respectively read update information from the storage module through the programmable logic module.

在一實施例中,多電腦切換器進一步包括複數個第二影像處理模組,分別耦接至第一影像處理模組並自第一影像處理模組接收更新資訊。 In one embodiment, the KVM switch further includes a plurality of second image processing modules coupled to the first image processing module and receiving update information from the first image processing module.

根據本發明之另一具體實施例為一種多電腦切換器之韌體更新方法。在此實施例中,多電腦切換器至少包括處理器模組、儲存模組、可程式化邏輯模組及複數個第一影像處理模組,該複數個第一影像處理模組中之第一影像處理模組耦接於可程式化邏輯模組與複數台目標電腦中之至少一台目標電腦之間。該韌體更新方法至少包括下列步驟:(a)由處理器模組透過網路接收更新資訊;(b)由處理器模組對儲存模組執行寫入程序以將更新資訊儲存於儲存模組內;以及(c)由第一影像處理模組透過可程式化邏輯模組自儲存模組讀取更新資訊並對該至少一台目標電腦進行影像處理。 Another embodiment of the present invention is a firmware update method for a KVM switch. In this embodiment, the KVM switch includes at least a processor module, a storage module, a programmable logic module, and a plurality of first image processing modules, and the first of the plurality of first image processing modules The image processing module is coupled between the programmable logic module and at least one target computer of the plurality of target computers. The firmware update method includes at least the following steps: (a) receiving, by the processor module, update information through the network; (b) executing, by the processor module, a write program to the storage module to store update information in the storage module And (c) reading, by the first image processing module, the update information from the storage module through the programmable logic module and performing image processing on the at least one target computer.

根據本發明之另一具體實施例為一種電子裝置。在此實施例中,電子裝置至少包括處理器模組、儲存模組、第一功能模組及第二功 能模組。處理器模組用以透過網路接收更新資訊。儲存模組耦接至處理器模組。處理器模組對儲存模組執行寫入程序以將更新資訊儲存於儲存模組內。第一功能模組具有可執行第一功能之可程式化邏輯元件,耦接至儲存模組,並用以執行第一功能。第二功能模組具有至少一可執行第二功能之可程式化邏輯元件,其中該至少一可程式化邏輯元件耦合於第一功能模組之可程式化邏輯元件,用以透過第一功能模組之可程式化邏輯元件自儲存模組讀取更新資訊。其中,第一功能模組之可程式化邏輯元件與第二功能模組之該至少一可程式化邏輯元件之間係透過序列周邊介面(Serial Peripheral Interface;SPI)進行訊號傳輸。 Another embodiment in accordance with the present invention is an electronic device. In this embodiment, the electronic device includes at least a processor module, a storage module, a first function module, and a second function. Capable module. The processor module is configured to receive update information via the network. The storage module is coupled to the processor module. The processor module performs a writing process on the storage module to store the update information in the storage module. The first function module has a programmable logic element that can perform the first function, is coupled to the storage module, and is configured to perform the first function. The second functional module has at least one programmable logic component capable of performing a second function, wherein the at least one programmable logic component is coupled to the programmable logic component of the first functional module for transmitting the first functional mode The group of programmable logic elements reads updated information from the storage module. The programmable logic component of the first functional module and the at least one programmable logic component of the second functional module are transmitted through a Serial Peripheral Interface (SPI).

相較於先前技術,根據本發明之電子裝置、多電腦切換器及其韌體更新方法具有下列優點: Compared with the prior art, the electronic device, the KVM switch and the firmware updating method thereof according to the present invention have the following advantages:

(1)由於本發明的多電腦切換器中之所有可程式化邏輯單元均共用同一個儲存模組,所以每一組影像處理電路上的可程式化邏輯單元不需再各自搭配一個開關與一個儲存模組,並且所有上游的可程式化邏輯單元與下游的可程式化邏輯單元之間亦無任何多工器(multiplexer)之設置,故可大幅節省成本及體積、以及簡化電路設計的複雜度。 (1) Since all of the programmable logic units in the KVM switch of the present invention share the same storage module, the programmable logic units on each group of image processing circuits do not need to be combined with one switch and one Storage module, and there is no multiplexer between all upstream programmable logic units and downstream programmable logic units, which can save cost and size, and simplify circuit design complexity. .

(2)無論本發明的多電腦切換器包括多少組影像處理電路及可程式化邏輯單元,當多電腦切換器的處理器模組透過網路接收到一更新資訊時,處理器模組都只需要對該共用的儲存模組執行一次更新資訊的寫入程序而已,故可大幅縮短整個更新資訊寫入程序所耗費的時間,有效提升多電腦切換器進行韌體更新的效率。 (2) Regardless of how many sets of image processing circuits and programmable logic units are included in the KVM switch of the present invention, when the processor module of the KVM switch receives an update message through the network, the processor module only It is necessary to execute a program for updating the update information to the shared storage module, so that the time required for the entire update information writing program can be greatly shortened, and the efficiency of the firmware update of the KVM switch is effectively improved.

(3)由於每一組影像處理電路上的可程式化邏輯單元係同時讀取該共用的儲存模組所儲存的更新資訊,所以即使影像處理電路與可程式化邏輯單元的數目大幅增加,亦不會造成讀取時間的增加,使得多電腦切換器具有非常好的擴充性。 (3) Since the programmable logic unit on each group of image processing circuits simultaneously reads the update information stored in the shared storage module, even if the number of image processing circuits and programmable logic units is greatly increased, It does not cause an increase in reading time, making the KVM switch very scalable.

關於本發明之優點與精神可以藉由以下的發明詳述及所附圖式得到進一步的瞭解。 The advantages and spirit of the present invention will be further understood from the following detailed description of the invention.

KVM、1、1’‧‧‧多電腦切換器 KVM, 1, 1'‧‧‧ KVM switch

10、40‧‧‧處理器模組 10, 40‧‧‧ processor modules

11、41‧‧‧切換模組 11, 41‧‧‧Switch Module

12、42‧‧‧儲存模組 12, 42‧‧‧ storage module

14‧‧‧可程式化邏輯模組 14‧‧‧Programmable logic module

16‧‧‧第一影像處理模組 16‧‧‧First Image Processing Module

18‧‧‧第二影像處理模組 18‧‧‧Second image processing module

SAM1~SAM4、160、180‧‧‧影像處理電路 SAM1~SAM4, 160, 180‧‧‧ image processing circuit

FPGA‧‧‧可程式化邏輯單元 FPGA‧‧‧programmable logic unit

TC、2‧‧‧目標電腦 TC, 2‧‧‧ target computer

N‧‧‧網路 N‧‧‧Network

UG‧‧‧更新資訊 UG‧‧‧Update Information

3‧‧‧中控電腦 3‧‧‧Central computer

30‧‧‧螢幕 30‧‧‧ screen

31‧‧‧鍵盤 31‧‧‧ keyboard

32‧‧‧滑鼠 32‧‧‧ Mouse

4‧‧‧電子裝置 4‧‧‧Electronic devices

44‧‧‧第一功能模組 44‧‧‧First function module

46‧‧‧第二功能模組 46‧‧‧Second function module

48‧‧‧第三功能模組 48‧‧‧ third function module

D1‧‧‧第一資訊 D1‧‧‧ first information

D2‧‧‧第二資訊 D2‧‧‧Second information

D3‧‧‧第三資訊 D3‧‧‧ Third Information

CPU‧‧‧中央處理器 CPU‧‧‧Central Processing Unit

SW‧‧‧開關 SW‧‧ switch

FM‧‧‧快閃記憶體 FM‧‧‧ flash memory

PROG B、DOUT、INIT B、DONE、DIN、Data、Clock‧‧‧腳位 PROG B, DOUT, INIT B, DONE, DIN, Data, Clock‧‧‧ feet

D0、D7‧‧‧資訊 D0, D7‧‧‧ Information

S10~S24‧‧‧流程步驟 S10~S24‧‧‧ Process steps

圖1係繪示傳統的具有遠端管理功能之多電腦切換器(KVM over IP)的示意圖;圖2係繪示根據本發明之一具體實施例之多電腦切換器的示意圖;圖3A係繪示圖2中之多電腦切換器的詳細功能方塊圖;圖3B係繪示圖3A之詳細連接關係;圖3C係繪示圖3B之相關腳位上的訊號;圖4A係繪示根據本發明之另一具體實施例之多電腦切換器的示意圖;圖4B係繪示圖4A之詳細連接關係;圖4C係繪示根據本發明之另一具體實施例之電子裝置的示意圖;圖5係繪示根據本發明之另一具體實施例之多電腦切換器之韌體更新方法的流程圖。 1 is a schematic diagram of a conventional KVM over IP with remote management function; FIG. 2 is a schematic diagram of a KVM switch according to an embodiment of the present invention; 2B is a detailed functional block diagram of the multi-computer switcher in FIG. 2; FIG. 3B is a detailed connection relationship of FIG. 3A; FIG. 3C is a signal on the relevant pin position of FIG. 3B; FIG. 4A is a diagram showing the signal according to the present invention; FIG. 4B is a schematic diagram showing the detailed connection relationship of FIG. 4A; FIG. 4C is a schematic diagram of an electronic device according to another embodiment of the present invention; A flowchart of a firmware update method of a KVM switch according to another embodiment of the present invention.

根據本發明之一較佳具體實施例係為一種多電腦切換器,但本發明不以此為限。在此實施例中,多電腦切換器係為具有遠端管理功能之多電腦切換器(KVM over IP),可讓使用者透過網路存取遠端電腦或伺服器的數位視訊、音訊及虛擬媒體訊號,但不以此為限。 A preferred embodiment of the present invention is a KVM switch, but the invention is not limited thereto. In this embodiment, the KVM switch is a KVM over IP with remote management function, which allows the user to access the digital video, audio and virtual of the remote computer or server through the network. Media signal, but not limited to this.

請參照圖2,圖2係繪示此實施例之多電腦切換器的示意圖。如圖2所示,多電腦切換器1係分別耦接至複數台目標電腦2,並且可透過網路N接收一更新資訊UG。多電腦切換器1會分別對該複數台目標電腦2所輸出的一或多路影像訊號進行採樣(Sampling)、影像處理及壓縮後轉換為相對應的影像數據,以便將影像數據透過網路N傳送至遠端的中控電腦3。另一方面,多電腦切換器1亦可將來自中控電腦3之鍵盤/滑鼠網路封包還原為目標電腦2可讀的鍵盤/滑鼠訊號。如此一來,中控電腦3便可透過網路N及多電腦切換器1管理及控制複數台目標電腦2。 Please refer to FIG. 2. FIG. 2 is a schematic diagram of the KVM switch of this embodiment. As shown in FIG. 2, the KVM switch 1 is coupled to a plurality of target computers 2, and can receive an update information UG through the network N. The KVM switch 1 will separately sample (Sampling), image process and compress the one or more video signals outputted by the plurality of target computers 2 into corresponding image data, so as to transmit the image data through the network N. Transfer to the remote central computer 3. On the other hand, the KVM switch 1 can also restore the keyboard/mouse network packet from the central control computer 3 to the keyboard/mouse signal readable by the target computer 2. In this way, the central control computer 3 can manage and control a plurality of target computers 2 through the network N and the KVM switch 1.

於實際應用中,多電腦切換器1所耦接之目標電腦2的數 目可隨其硬體限制及實際需要而改變,並無特定之限制;目標電腦2可以是一般常見的個人電腦(PC)、伺服器(Server)或工作站(Workstation),並無特定之限制;多電腦切換器1透過網路N所接收到的更新資訊UG可以是一韌體更新資訊,但不以此為限;網路N的種類並無特定之限制,可以是一般常見的乙太網路(Ethernet)、區域網路(Local Area Network;LAN)或網際網路(Internet)。 In practical applications, the number of target computers 2 to which the KVM switch 1 is coupled The target may be changed according to its hardware limitation and actual needs, and there is no specific limitation; the target computer 2 may be a commonly-used personal computer (PC), a server (Server) or a workstation (Workstation), and there is no specific limitation; The update information UG received by the KVM switch 1 through the network N may be a firmware update information, but is not limited thereto; the type of the network N is not limited, and may be a common Ethernet network. Ethernet, Local Area Network (LAN), or Internet.

接著,請參照圖3A,圖3A係繪示圖2中之多電腦切換器1的詳細功能方塊圖。如圖3A所示,多電腦切換器1包括處理器模組10、切換模組11、儲存模組12、可程式化邏輯模組14及複數個第一影像處理模組16。每個第一影像處理模組16均分別包括影像處理電路160且影像處理電路160至少包括可程式化邏輯單元FPGA。 Next, please refer to FIG. 3A. FIG. 3A is a detailed functional block diagram of the KVM switch 1 of FIG. As shown in FIG. 3A, the KVM switch 1 includes a processor module 10, a switching module 11, a storage module 12, a programmable logic module 14, and a plurality of first image processing modules 16. Each of the first image processing modules 16 includes an image processing circuit 160 and the image processing circuit 160 includes at least a programmable logic unit FPGA.

其中,處理器模組10耦接切換模組11;切換模組11分別耦接處理器模組10、儲存模組12及可程式化邏輯模組14;儲存模組12耦接切換模組11。亦即,儲存模組12可透過切換模組11耦接處理器模組10或是可程式化邏輯模組14。另外,可程式化邏輯模組14再以並聯的方式耦接該複數個第一影像處理模組16。於每個第一影像處理模組16中,可程式化邏輯單元FPGA係設置於影像處理電路160上並且耦接於可程式化邏輯模組14與至少一台目標電腦2之間。另外,通常該複數台目標電腦2的數量(例如為M個)會大於該複數個第一影像處理模組16的數量(例如為N個),因此在該複數個第一影像處理模組16與該複數台目標電腦2之間可能具有一切換電路,用以由該複數台目標電腦2選出對應於第一影像處理模組16之數量的目標電腦(例如由M個中選出N個;M大於N)以進行影像處理。在一較佳實施例中,該切換電路可為一矩陣式切換器,但不以此為限。 The processor module 10 is coupled to the switch module 11; the switch module 11 is coupled to the processor module 10, the storage module 12, and the programmable logic module 14; the storage module 12 is coupled to the switch module 11 . That is, the storage module 12 can be coupled to the processor module 10 or the programmable logic module 14 through the switching module 11. In addition, the programmable logic module 14 is coupled to the plurality of first image processing modules 16 in parallel. In each of the first image processing modules 16 , the programmable logic unit FPGA is disposed on the image processing circuit 160 and coupled between the programmable logic module 14 and the at least one target computer 2 . In addition, the number of the plurality of target computers 2 (for example, M) is greater than the number of the plurality of first image processing modules 16 (for example, N), and thus the plurality of first image processing modules 16 There may be a switching circuit between the plurality of target computers 2 for selecting a target computer corresponding to the number of the first image processing modules 16 by the plurality of target computers 2 (for example, N selected from M; M Greater than N) for image processing. In a preferred embodiment, the switching circuit can be a matrix switch, but is not limited thereto.

於此實施例中,處理器模組10係透過網路N接收更新資訊UG。實際上,更新資訊UG可至少包括一第一資訊D1及一第二資訊D2。其中,第一資訊D1可以是對應於可程式化邏輯模組14的韌體更新資訊且第二資訊D2可以是對應於該複數個第一影像處理模組16的韌體更新資訊,但不以此為限。 In this embodiment, the processor module 10 receives the update information UG through the network N. In fact, the update information UG may include at least a first information D1 and a second information D2. The first information D1 may be the firmware update information corresponding to the programmable logic module 14 and the second information D2 may be the firmware update information corresponding to the plurality of first image processing modules 16, but not This is limited.

於實際應用中,處理器模組10可以是中央處理器(Central Processing Unit;CPU);儲存模組12可以是快閃記憶體(Flash Memory);可程式化邏輯模組14與每個第一影像處理模組16中之可程式化邏輯單元FPGA均可以是現場可程式化閘極陣列(Field-Programmable Gate Array;FPGA),但均不以此為限。 In practical applications, the processor module 10 can be a central processing unit (Central) The processing module (CPU); the storage module 12 can be a flash memory; the programmable logic module 14 and the programmable logic unit FPGA in each of the first image processing modules 16 can be on-site. A Field-Programmable Gate Array (FPGA) can be programmed, but not limited to this.

此外,切換模組11與儲存模組12之間可透過一序列周邊介面(Serial Peripheral Interface;SPI)進行訊號傳輸;可程式化邏輯模組14與每個第一影像處理模組16中之可程式化邏輯單元FPGA之間亦可透過序列周邊介面(SPI)進行訊號傳輸;可程式化邏輯模組14與切換模組11之間亦可透過序列周邊介面進行訊號傳輸,但均不以此為限。另外,在多電腦切換器1中可能更具有其他使用其他通訊協議的元件,例如一USB控制器(未顯示)。該USB控制器亦可透過可程式化邏輯模組14耦接至處理器模組10,並由可程式化邏輯模組14先轉換來自該USB控制器的相關數據,以減輕處理器模組10對於協議轉換的負擔。 In addition, the signal transmission between the switching module 11 and the storage module 12 through a serial Peripheral Interface (SPI); the programmable logic module 14 and each of the first image processing modules 16 The programmable logic unit FPGA can also transmit signals through the serial peripheral interface (SPI); the programmable logic module 14 and the switching module 11 can also transmit signals through the serial interface of the sequence, but none of them limit. In addition, there may be other components in the KVM switch 1 that use other communication protocols, such as a USB controller (not shown). The USB controller can also be coupled to the processor module 10 through the programmable logic module 14 and the related data from the USB controller can be converted by the programmable logic module 14 to reduce the processor module 10. The burden of protocol conversion.

於此實施例中,切換模組11係用以於多電腦切換器1的不同操作模式下選擇性地切換處理器模組10或可程式化邏輯模組14耦接至儲存模組12。當處理器模組10透過網路N接收到更新資訊UG時,多電腦切換器1會操作於一寫入(Write-In)模式。於多電腦切換器1的寫入模式下,切換模組11會切換成處理器模組10耦接至儲存模組12,其使得處理器模組10可對儲存模組12執行寫入程序以將更新資訊UG儲存於儲存模組12內。 In this embodiment, the switching module 11 is configured to selectively switch the processor module 10 or the programmable logic module 14 to the storage module 12 in different operating modes of the KVM switch 1. When the processor module 10 receives the update information UG through the network N, the KVM switch 1 operates in a Write-In mode. In the write mode of the switch 1, the switch module 11 is switched to the processor module 10 and coupled to the storage module 12, so that the processor module 10 can execute the write process to the storage module 12. The update information UG is stored in the storage module 12.

值得注意的是,由於本發明所提出的多電腦切換器1進行韌體更新程序時,僅需對「單一個儲存模組12」執行「單一次更新資訊UG的寫入程序」即可,不必如同圖1所示之先前技術一樣需對「複數個快閃記憶體FM」執行「複數次韌體更新資訊UG的寫入程序」,故本發明的多電腦切換器1可大幅縮短整個更新資訊寫入程序所耗費的時間,有效提升多電腦切換器1進行韌體更新的效率。 It should be noted that, when the KVM switch 1 proposed by the present invention performs the firmware update procedure, it is only necessary to perform the "single update information UG write procedure" for the "single storage module 12". As in the prior art shown in FIG. 1, the "multiple firmware update information UG writing procedure" needs to be performed on "a plurality of flash memory FMs", so the KVM switch 1 of the present invention can greatly shorten the entire update information. The time spent writing the program effectively improves the efficiency of the PC switch 1 for firmware update.

當整個更新資訊寫入程序完成後,多電腦切換器1會操作於一讀取(Read-Out)模式下。於多電腦切換器1的讀取模式下,切換模組11會切換成可程式化邏輯模組14耦接至儲存模組12,其使得可程式化邏輯模 組14可以自儲存模組12讀取更新資訊UG,並依據更新資訊UG重新進行設定。 When the entire update information writing process is completed, the KVM switch 1 operates in a Read-Out mode. In the read mode of the KVM switch 1, the switching module 11 switches to the programmable logic module 14 coupled to the storage module 12, which enables the programmable logic mode. The group 14 can read the update information UG from the storage module 12 and re-set it according to the update information UG.

當可程式化邏輯模組14自儲存模組12讀取到更新資訊UG時,每個第一影像處理模組16中之可程式化邏輯單元FPGA可同時自可程式化邏輯模組14讀取更新資訊UG,並分別對各自耦接的至少一台目標電腦2進行影像處理。 When the programmable logic module 14 reads the update information UG from the storage module 12, the programmable logic unit FPGA in each of the first image processing modules 16 can simultaneously read from the programmable logic module 14. The information UG is updated, and image processing is performed on each of the at least one target computer 2 coupled to each other.

請同時參閱圖3B及圖3C,更詳細地說,處理器模組10係透過PROG B腳位同時對複數個第一影像處理模組16中之可程式化邏輯單元FPGA進行重設,之後(在一段規定的時間內)每個可程式化邏輯單元FPGA便會透過INIT B腳位告訴處理器模組10其已經準備好(例如均將電位拉高,但不以此為限)。接下來,由於可程式化邏輯單元FPGA之DIN腳位係對應至可程式化邏輯模組14之DOUT腳位,每個可程式化邏輯單元FPGA便可經由其與可程式化邏輯模組14之間的Data腳位與Clock腳位讀取更新資訊UG之全部或一部分(例如第二資訊D2)。最後,每個可程式化邏輯單元FPGA會透過DONE腳位告訴處理器模組10其已經將更新資訊UG收妥(例如均將電位拉高,但不以此為限)。 Please refer to FIG. 3B and FIG. 3C. In more detail, the processor module 10 resets the programmable logic unit FPGA in the plurality of first image processing modules 16 through the PROG B pin. For a specified period of time, each programmable logic unit FPGA will tell the processor module 10 that it is ready through the INIT B pin (for example, the potential is pulled high, but not limited to this). Next, since the DIN pin of the programmable logic cell FPGA corresponds to the DOUT pin of the programmable logic module 14, each programmable logic cell FPGA can be connected to the programmable logic module 14 The Data pin and the Clock pin read all or part of the update information UG (for example, the second information D2). Finally, each programmable logic unit FPGA will tell the processor module 10 that the update information UG has been received through the DONE pin (for example, the potential is raised, but not limited thereto).

在上述重設可程式化邏輯單元FPGA的過程中,如果有任何一個可程式化邏輯單元FPGA發生了錯誤,上述INIT B腳位的電位便無法為高,處理器模組10可以據此知道有至少一個可程式化邏輯單元FPGA發生了重設上的錯誤。同樣的,在上述可程式化邏輯單元FPGA讀取該更新資訊UG的過程中,如果有任何一個可程式化邏輯單元FPGA發生了錯誤,上述DONE腳位的電位便無法為高,處理器模組10可以據此知道有至少一個可程式化邏輯單元FPGA發生了讀取上的錯誤,便會使全部的可程式化邏輯單元FPGA重新進行讀取該更新資訊UG。 In the process of resetting the programmable logic unit FPGA, if any of the programmable logic unit FPGAs has an error, the potential of the INIT B pin cannot be high, and the processor module 10 can know that there is At least one programmable logic unit FPGA has a reset error. Similarly, in the process of reading the update information UG by the programmable logic unit FPGA, if any of the programmable logic unit FPGAs has an error, the potential of the DONE pin cannot be high, and the processor module 10 It can be known that at least one programmable logic unit FPGA has a read error, and all the programmable logic unit FPGAs can read the update information UG again.

於實際應用中,假設更新資訊UG中之第一資訊D1係對應於可程式化邏輯模組14且更新資訊UG中之第二資訊D2係對應於該複數個第一影像處理模組16,則當可程式化邏輯模組14自儲存模組12讀取到更新資訊UG時,可程式化邏輯模組14會接收更新資訊UG中相對應的第一資訊D1並依據第一資訊D1重新進行設定(韌體更新);之後,當每個第 一影像處理模組16中之可程式化邏輯單元FPGA同時自可程式化邏輯模組14讀取更新資訊UG時,每個第一影像處理模組16中之可程式化邏輯單元FPGA均會依據更新資訊UG中的第二資訊D2重新進行設定(韌體更新)。 In the actual application, it is assumed that the first information D1 in the update information UG corresponds to the programmable logic module 14 and the second information D2 in the update information UG corresponds to the plurality of first image processing modules 16 When the programmable logic module 14 reads the update information UG from the storage module 12, the programmable logic module 14 receives the corresponding first information D1 in the update information UG and re-sets according to the first information D1. (firmware update); after that, when each When the programmable logic unit FPGA in the image processing module 16 simultaneously reads the update information UG from the programmable logic module 14, the programmable logic unit FPGA in each of the first image processing modules 16 is based on The second information D2 in the update information UG is re-set (firmware update).

需說明的是,圖3A之多電腦切換器1進行整個更新資訊讀取程序所耗費的時間總共包括可程式化邏輯模組14自儲存模組12讀取更新資訊UG所耗費的時間T1與每個第一影像處理模組16中之可程式化邏輯單元FPGA同時自可程式化邏輯模組14讀取更新資訊UG所耗費的時間T2,仍比整個更新資訊寫入程序所耗費的時間短很多,因此整個更新資訊寫入及讀取程序的速度會比圖1所示之先前技術來得快很多。 It should be noted that the time taken by the computer switcher 1 of FIG. 3A to update the information reading program in total includes the time T1 and time taken by the programmable logic module 14 to read the update information UG from the storage module 12. The time T2 taken by the programmable logic unit FPGA in the first image processing module 16 to simultaneously read the update information UG from the programmable logic module 14 is still much shorter than the time taken by the entire update information writing program. Therefore, the entire update information writing and reading process will be much faster than the prior art shown in FIG.

此外,由於可程式化邏輯模組14係以並連方式耦接複數個第一影像處理模組16,因此每個第一影像處理模組16中之可程式化邏輯單元FPGA係「同時」自可程式化邏輯模組14讀取更新資訊UG,即使第一影像處理模組16與其可程式化邏輯單元FPGA的數目大幅增加,亦不會造成整體讀取時間的增加,使得本發明的多電腦切換器1具有非常好的「縱向」擴充性。亦即即使再大幅度增加第一影像處理模組16的數量,亦不會增加圖3之多電腦切換器1進行整個更新資訊讀取程序所耗費的時間。 In addition, since the programmable logic module 14 is coupled to the plurality of first image processing modules 16 in a parallel manner, the programmable logic unit FPGA in each of the first image processing modules 16 is "simultaneously" The programmable logic module 14 reads the update information UG. Even if the number of the first image processing module 16 and its programmable logic unit FPGA is greatly increased, the overall reading time is not increased, so that the multi-computer of the present invention Switch 1 has very good "longitudinal" scalability. That is, even if the number of the first image processing modules 16 is greatly increased, the time taken by the computer switcher 1 of FIG. 3 to perform the entire update information reading process is not increased.

因此,接下來將以另一實施例對本發明的多電腦切換器之擴充性作進一步說明。 Therefore, the expandability of the KVM switch of the present invention will be further explained in another embodiment.

請參照圖4A,圖4A係繪示本發明之另一具體實施例之多電腦切換器的詳細功能方塊圖。比較圖4A與圖3A可知:圖4A中之多電腦切換器1’比起圖3A中之多電腦切換器1還多設置有複數個第二影像處理模組18。如圖4A所示,該複數個第二影像處理模組18會以並聯方式再分別耦接至該複數個第一影像處理模組16中之同一個第一影像處理模組16,因此每個第二影像處理模組18中之可程式化邏輯單元FPGA均可同時自第一影像處理模組16中之可程式化邏輯單元FPGA讀取更新資訊UG,並分別對其耦接的目標電腦2進行影像處理。實際上,該複數個第二影像處理模組18與該第一影像處理模組16之間可透過序列周邊介面(SPI)進行訊號傳輸,但不以此為限。 Please refer to FIG. 4A. FIG. 4A is a detailed functional block diagram of a KVM switch according to another embodiment of the present invention. 4A and FIG. 3A, the KVM switch 1' of FIG. 4A is further provided with a plurality of second image processing modules 18 than the KVM switch 1 of FIG. 3A. As shown in FIG. 4A, the plurality of second image processing modules 18 are coupled to the same first image processing module 16 of the plurality of first image processing modules 16 in parallel, and thus each The programmable logic unit FPGA in the second image processing module 18 can simultaneously read the update information UG from the programmable logic unit FPGA in the first image processing module 16, and respectively connect the target computer 2 Perform image processing. In fact, the plurality of second image processing modules 18 and the first image processing module 16 can transmit signals through the serial peripheral interface (SPI), but not limited thereto.

請同時參閱圖4B,更詳細地說,處理器模組10係透過PROG B腳位同時對複數個第二影像處理模組18中之可程式化邏輯單元FPGA進行重設,之後(在一段規定的時間內)每個可程式化邏輯單元FPGA便會透過INIT B腳位告訴處理器模組10其已經準備好(例如均將電位拉高,但不以此為限)。接下來,由於第二影像處理模組18之FPGA的DIN腳位係對應至第一影像處理模組16之FPGA的DOUT腳位,每個第二影像處理模組18之FPGA便可經由其與第一影像處理模組16之FPGA之間的Data腳位與Clock腳位讀取該更新資訊UG之全部或一部分(例如第三資訊D3)。最後,每一個第二影像處理模組18之FPGA會透過DONE腳位告訴處理器模組10其已經將更新資訊UG收妥(例如均將電位拉高,但不以此為限)。 Please also refer to FIG. 4B. In more detail, the processor module 10 is transmitted through PROG. The B pin simultaneously resets the programmable logic unit FPGA in the plurality of second image processing modules 18, and then (for a specified period of time) each programmable logic unit FPGA passes through the INIT B pin. The processor module 10 is told that it is ready (for example, the potential is pulled high, but not limited thereto). Next, since the DIN pin of the FPGA of the second image processing module 18 corresponds to the DOUT pin of the FPGA of the first image processing module 16, the FPGA of each second image processing module 18 can be connected thereto. The Data pin and the Clock pin between the FPGAs of the first image processing module 16 read all or part of the update information UG (for example, the third information D3). Finally, the FPGA of each second image processing module 18 tells the processor module 10 that the update information UG has been received through the DONE pin (for example, the potential is raised, but not limited thereto).

此時,圖4A中之多電腦切換器1’進行整個更新資訊讀取程序所耗費的時間除了包括可程式化邏輯模組14自儲存模組12讀取更新資訊UG所耗費的時間與每個第一影像處理模組16中之可程式化邏輯單元FPGA同時自可程式化邏輯模組14讀取更新資訊UG所耗費的時間之外,還包括每個第二影像處理模組18中之可程式化邏輯單元FPGA同時自第一影像處理模組16中之可程式化邏輯單元FPGA讀取更新資訊UG所耗費的時間。雖然圖4中之多電腦切換器1’進行整個更新資訊讀取程序所耗費的時間會較圖3中之多電腦切換器1進行整個更新資訊讀取程序所耗費的時間來得長,但由於讀取速度遠大於寫入速度,所以整個更新資訊寫入及讀取程序的速度還是會比圖1所示之先前技術來得快很多。 At this time, the time taken by the KVM switch 1 ′ in FIG. 4A to update the information reading program includes the time and time required for the programmable logic module 14 to read the update information UG from the storage module 12 . The time that the programmable logic unit FPGA in the first image processing module 16 reads the update information UG from the programmable logic module 14 also includes the second image processing module 18 The programmed logic unit FPGA simultaneously reads the time taken to update the information UG from the programmable logic unit FPGA in the first image processing module 16. Although the time taken by the multi-computer switch 1' in FIG. 4 to update the information reading program is longer than the time taken by the multi-computer switcher 1 in FIG. 3 to update the information reading program, The fetch rate is much faster than the write speed, so the entire update information is written and read at a much faster rate than the prior art shown in Figure 1.

需說明的是,假設更新資訊UG更包含第一資訊D1、第二資訊D2及第三資訊D3,其中第二資訊D2對應於該複數個第一影像處理模組16之外,第三資訊D3對應於該複數個第二影像處理模組18。當每個第二影像處理模組18中之可程式化邏輯單元FPGA同時自該第一影像處理模組16中之可程式化邏輯單元FPGA讀取更新資訊UG時,每個第二影像處理模組18中之可程式化邏輯單元FPGA均會接收更新資訊UG中之第三資訊D3。亦即,每個第二影像處理模組18均可同時透過同一個第一影像處理模組16進行韌體更新。 It should be noted that, the update information UG further includes a first information D1, a second information D2, and a third information D3, wherein the second information D2 corresponds to the plurality of first image processing modules 16, and the third information D3 Corresponding to the plurality of second image processing modules 18. When the programmable logic unit FPGA in each second image processing module 18 simultaneously reads the update information UG from the programmable logic unit FPGA in the first image processing module 16, each second image processing module The programmable logic unit FPGA in group 18 receives the third information D3 in the update information UG. That is, each second image processing module 18 can perform firmware update through the same first image processing module 16 at the same time.

綜合圖3A與圖4A可推知:本發明之多電腦切換器具有相當好的縱向與橫向擴充性。其中橫向擴充性係指本發明之多電腦切換器 可繼續透過上述方式向外再依序擴充複數個第三影像處理模組(或是非影像處理處理用途的其他功能模組)、複數個第四影像處理模組(或是非影像處理用途的其他功能模組)…。並且由於儲存模組的讀取速度遠大於寫入速度,所以本發明的多電腦切換器進行整個更新資訊寫入及讀取程序的速度還是會比圖1所示之先前技術來得快,故有助於韌體更新效率之提升。 3A and 4A, it can be inferred that the KVM switch of the present invention has quite good longitudinal and lateral expandability. The horizontal expandability refers to the KVM switch of the present invention. A plurality of third image processing modules (or other functional modules for non-image processing processing) and a plurality of fourth image processing modules (or other functions for non-image processing purposes) may be continuously expanded in the above manner. Module).... Moreover, since the reading speed of the storage module is much larger than the writing speed, the speed of writing and reading the entire update information of the KVM switch of the present invention is still faster than that of the prior art shown in FIG. Helps improve the efficiency of firmware update.

值得注意的是,除了多電腦切換器外,本發明之上述概念(包含上述的架構及韌體更新方法)亦適用於具有複數個可程式化邏輯元件(例如FPGA或是CPLD)的其他電子裝置中,且該複數個可程式化邏輯元件更可依據其功能不同而劃分為複數個功能模組,該複數個功能模組所具備之功能並不限於前述的協議轉換或是影像處理。若將與前述切換模組11直接連接的至少一個可程式化邏輯元件視為「第一功能模組」;其餘未與前述切換模組11直接連接的至少一個可程式化邏輯元件分別視為「第二功能模組」(但其直接連接至第一功能模組中的某個可程式化邏輯元件)、「第三功能模組」…,且第三功能模組係透過第二功能模組的某個可程式化邏輯元件耦接至第一功能模組時,第三功能模組可透過第二功能模組依據上述說明進行韌體更新且第二功能模組亦可透過第一功能模組依據上述說明進行韌體更新。 It should be noted that in addition to the KVM switch, the above concept of the present invention (including the above architecture and firmware update method) is also applicable to other electronic devices having a plurality of programmable logic elements (such as FPGA or CPLD). The plurality of programmable logic elements can be divided into a plurality of functional modules according to different functions thereof, and the functions of the plurality of functional modules are not limited to the foregoing protocol conversion or image processing. At least one programmable logic component directly connected to the switching module 11 is regarded as a "first functional module"; and at least one programmable logic component not directly connected to the switching module 11 is regarded as " a second function module (but directly connected to one of the programmable modules in the first function module), a "third function module", and the third function module is passed through the second function module When a programmable logic component is coupled to the first functional module, the third functional module can perform firmware update according to the above description through the second functional module, and the second functional module can also pass through the first functional module. The group performs firmware update according to the above instructions.

舉例而言,如圖4C所示,假設電子裝置4包括處理器模組40、切換模組41、儲存模組42、第一功能模組44、第二功能模組46及第三功能模組48。其中,儲存模組42透過切換模組41耦接處理器模組40;第一功能模組44透過切換模組41耦接儲存模組42;第二功能模組46耦接第一功能模組44;第三功能模組48耦接第二功能模組46。 For example, as shown in FIG. 4C, the electronic device 4 includes a processor module 40, a switching module 41, a storage module 42, a first function module 44, a second function module 46, and a third function module. 48. The storage module 42 is coupled to the processor module 40 through the switching module 41. The first function module 44 is coupled to the storage module 42 through the switching module 41. The second function module 46 is coupled to the first function module. The third function module 48 is coupled to the second function module 46.

處理器模組40用以透過網路N接收更新資訊UG並透過切換模組41對儲存模組42執行寫入程序以將更新資訊UG儲存於儲存模組42內。第一功能模組44具有可執行第一功能之可程式化邏輯元件FPGA,並用以執行第一功能。第二功能模組46具有可執行第二功能之至少一可程式化邏輯元件FPGA。第三功能模組48具有可執行第三功能之至少一可程式化邏輯元件FPGA。 The processor module 40 is configured to receive the update information UG through the network N and execute a writing process on the storage module 42 through the switching module 41 to store the update information UG in the storage module 42. The first function module 44 has a programmable logic element FPGA that can perform the first function and is used to perform the first function. The second function module 46 has at least one programmable logic element FPGA that can perform the second function. The third function module 48 has at least one programmable logic element FPGA that can perform the third function.

第二功能模組46的至少一可程式化邏輯元件FPGA係耦接 至第一功能模組44的可程式化邏輯元件FPGA,用以透過第一功能模組44的可程式化邏輯元件FPGA自儲存模組42讀取更新資訊UG,以進行韌體更新。實際應用中,第一功能模組44的可程式化邏輯元件FPGA與第二功能模組46的至少一可程式化邏輯元件FPGA之間可透過序列周邊介面(SPI)進行訊號傳輸,但不以此為限。 At least one programmable logic element FPGA of the second function module 46 is coupled The programmable logic component FPGA to the first functional module 44 is configured to read the update information UG from the storage module 42 through the programmable logic component FPGA of the first functional module 44 for firmware update. In a practical application, the programmable logic component FPGA of the first functional module 44 and the at least one programmable logic component FPGA of the second functional module 46 can transmit signals through the serial peripheral interface (SPI), but This is limited.

同理,第三功能模組48的至少一可程式化邏輯元件FPGA係耦接至第二功能模組46的至少一可程式化邏輯元件FPGA,由於第二功能模組46的至少一可程式化邏輯元件FPGA已透過第一功能模組44的可程式化邏輯元件FPGA自儲存模組42讀取更新資訊UG,因此,第三功能模組48的至少一可程式化邏輯元件FPGA可自第二功能模組46的至少一可程式化邏輯元件FPGA讀取更新資訊UG,以進行韌體更新。實際應用中,第三功能模組48的至少一可程式化邏輯元件FPGA與第二功能模組46的至少一可程式化邏輯元件FPGA之間可透過序列周邊介面(SPI)進行訊號傳輸,但不以此為限。 Similarly, at least one programmable logic element FPGA of the third function module 48 is coupled to at least one programmable logic element FPGA of the second function module 46, and at least one programmable program of the second function module 46 The logic element FPGA has read the update information UG from the storage module 42 through the programmable logic element FPGA of the first function module 44. Therefore, at least one programmable logic element FPGA of the third function module 48 can be self- At least one programmable logic element FPGA of the second function module 46 reads the update information UG for firmware update. In practical applications, at least one programmable logic element FPGA of the third function module 48 and at least one programmable logic element FPGA of the second function module 46 can transmit signals through a serial peripheral interface (SPI), but Not limited to this.

根據本發明之另一具體實施例為一種多電腦切換器之韌體更新方法。於此實施例中,該多電腦切換器之韌體更新方法係用以對一多電腦切換器進行韌體之更新,並且該多電腦切換器係為具有遠端管理功能之多電腦切換器(KVM over IP),可讓使用者透過網路存取遠端電腦或工作站的數位視訊、音訊及虛擬媒體訊號,但不以此為限。 Another embodiment of the present invention is a firmware update method for a KVM switch. In this embodiment, the firmware update method of the KVM switch is used to update a firmware of a KVM switch, and the KVM switch is a KVM switch with remote management function ( KVM over IP) allows users to access digital video, audio and virtual media signals from remote computers or workstations via the Internet, but not limited to them.

多電腦切換器至少包括處理器模組、儲存模組、可程式化邏輯模組及複數個第一影像處理模組。該複數個第一影像處理模組中之第一影像處理模組耦接於可程式化邏輯模組與複數台目標電腦中之至少一台目標電腦之間。 The KVM switch includes at least a processor module, a storage module, a programmable logic module, and a plurality of first image processing modules. The first image processing module of the plurality of first image processing modules is coupled between the programmable logic module and at least one of the plurality of target computers.

請參照圖5,圖5係繪示此實施例之多電腦切換器之韌體更新方法的流程圖。如圖5所示,於步驟S10中,由處理器模組透過網路接收更新資訊。於步驟S12中,該方法判斷多電腦切換器係操作於寫入(Write-In)模式下或讀取(Read-Out)模式下。 Please refer to FIG. 5. FIG. 5 is a flow chart showing a method for updating the firmware of the KVM switch of this embodiment. As shown in FIG. 5, in step S10, the processor module receives the update information through the network. In step S12, the method determines that the KVM switch is operating in a Write-In mode or a Read-Out mode.

若步驟S12的判斷結果為多電腦切換器係操作於寫入模式下,則該方法執行步驟S14,切換成處理器模組耦接至儲存模組。接著,該 方法執行步驟S18,由處理器模組對儲存模組執行寫入程序以將更新資訊儲存於儲存模組內。 If the result of the determination in step S12 is that the KVM switch is operating in the write mode, the method proceeds to step S14, where the processor module is coupled to the storage module. Then, the The method performs step S18, and the processor module executes a writing process on the storage module to store the update information in the storage module.

若步驟S12的判斷結果為多電腦切換器係操作於讀取模式下,則該方法執行步驟S16,切換成可程式化邏輯模組耦接至儲存模組。接著,該方法執行步驟S20,由第一影像處理模組透過可程式化邏輯模組自儲存模組讀取更新資訊並對該至少一台目標電腦進行影像處理。 If the result of the determination in step S12 is that the KVM switch is operating in the read mode, the method performs step S16 to switch the programmable logic module to the storage module. Then, the method performs step S20, and the first image processing module reads the update information from the storage module through the programmable logic module and performs image processing on the at least one target computer.

於實際應用中,假設於步驟S10中處理器模組透過網路所接收到之更新資訊包括一第一資訊及一第二資訊,並且第一資訊對應於可程式化邏輯模組且第二資訊對應於該複數個第一影像處理模組,則於步驟S20中,可程式化邏輯模組會接收第一資訊且第一影像處理模組會接收第二資訊。 In the actual application, it is assumed that the update information received by the processor module through the network in step S10 includes a first information and a second information, and the first information corresponds to the programmable logic module and the second information Corresponding to the plurality of first image processing modules, in step S20, the programmable logic module receives the first information and the first image processing module receives the second information.

需說明的是,於步驟S20中,由於每個第一影像處理模組會「同時」自可程式化邏輯模組讀取更新資訊,因此即使第一影像處理模組的數目大幅增加,亦不會造成整體讀取時間的增加,故本發明的多電腦切換器具有非常好的「縱向」擴充性。因此,在步驟S20之後,該方法亦可更包括步驟S22及S24,將複數個第二影像處理模組分別耦接至第一影像處理模組,以及由該複數個第二影像處理模組分別自第一影像處理模組接收更新資訊。 It should be noted that, in step S20, since each first image processing module reads the update information from the programmable logic module "simultaneously", even if the number of the first image processing module is greatly increased, This results in an increase in the overall reading time, so the KVM switch of the present invention has very good "longitudinal" scalability. Therefore, after the step S20, the method may further include steps S22 and S24, respectively coupling the plurality of second image processing modules to the first image processing module, and respectively, the plurality of second image processing modules respectively Receiving update information from the first image processing module.

相較於先前技術,根據本發明之電子裝置、多電腦切換器及其韌體更新方法具有下列優點: Compared with the prior art, the electronic device, the KVM switch and the firmware updating method thereof according to the present invention have the following advantages:

(1)由於本發明的多電腦切換器中之所有可程式化邏輯單元均共用同一個儲存模組,所以每一組影像處理電路上的可程式化邏輯單元不需再各自搭配一個開關與一個儲存模組,並且所有上游的可程式化邏輯單元與下游的可程式化邏輯單元之間亦無任何多工器(multiplexer)之設置,故可大幅節省成本及體積、以及簡化電路設計的複雜度。 (1) Since all of the programmable logic units in the KVM switch of the present invention share the same storage module, the programmable logic units on each group of image processing circuits do not need to be combined with one switch and one Storage module, and there is no multiplexer between all upstream programmable logic units and downstream programmable logic units, which can save cost and size, and simplify circuit design complexity. .

(2)無論本發明的多電腦切換器包括多少組影像處理電路及可程式化邏輯單元,當多電腦切換器的處理器模組透過網路接收到一更新資訊時,處理器模組都只需要對該共用的儲存模組執行一次更新資訊的寫入程序而已,故可大幅縮短整個更新資訊寫入程序所耗費的時間,有 效提升多電腦切換器進行韌體更新的效率。 (2) Regardless of how many sets of image processing circuits and programmable logic units are included in the KVM switch of the present invention, when the processor module of the KVM switch receives an update message through the network, the processor module only It is necessary to execute a write program for updating the information of the shared storage module, so that the time required for the entire update information writing program can be greatly shortened. Improve the efficiency of the PC updater for firmware update.

(3)由於每一組影像處理電路上的可程式化邏輯單元係同時讀取該共用的儲存模組所儲存的更新資訊,所以即使影像處理電路與可程式化邏輯單元的數目大幅增加,亦不會造成讀取時間的增加,使得多電腦切換器具有非常好的擴充性。 (3) Since the programmable logic unit on each group of image processing circuits simultaneously reads the update information stored in the shared storage module, even if the number of image processing circuits and programmable logic units is greatly increased, It does not cause an increase in reading time, making the KVM switch very scalable.

藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。 The features and spirit of the present invention will be more apparent from the detailed description of the preferred embodiments. On the contrary, the intention is to cover various modifications and equivalents within the scope of the invention as claimed.

1‧‧‧多電腦切換器 1‧‧‧Multicomputer switcher

10‧‧‧處理器模組 10‧‧‧Processor Module

11‧‧‧切換模組 11‧‧‧Switch Module

12‧‧‧儲存模組 12‧‧‧ Storage Module

14‧‧‧可程式化邏輯模組 14‧‧‧Programmable logic module

16‧‧‧第一影像處理模組 16‧‧‧First Image Processing Module

160‧‧‧影像處理電路 160‧‧‧Image Processing Circuit

FPGA‧‧‧可程式化邏輯單元 FPGA‧‧‧programmable logic unit

2‧‧‧目標電腦 2‧‧‧Target computer

N‧‧‧網路 N‧‧‧Network

UG‧‧‧更新資訊 UG‧‧‧Update Information

D1‧‧‧第一資訊 D1‧‧‧ first information

D2‧‧‧第二資訊 D2‧‧‧Second information

Claims (19)

一種多電腦切換器,耦接至複數台目標電腦,該多電腦切換器至少包括:一處理器模組,用以透過一網路接收一更新資訊;一儲存模組,耦接至該處理器模組,該處理器模組對該儲存模組執行一寫入程序以將該更新資訊儲存於該儲存模組內;複數個可程式化邏輯模組,分別耦接至該儲存模組並共用該儲存模組;以及複數個第一影像處理模組,分別耦接該複數個可程式化邏輯模組並透過該複數個可程式化邏輯模組同時讀取該儲存模組所儲存的該更新資訊,以對該複數台目標電腦中之至少一台目標電腦進行影像處理。 A KVM switch coupled to a plurality of target computers, the KVM switch comprising: at least one processor module for receiving an update information through a network; a storage module coupled to the processor The module is configured to execute a writing process on the storage module to store the update information in the storage module; a plurality of programmable logic modules are coupled to the storage module and shared The storage module and the plurality of first image processing modules are coupled to the plurality of programmable logic modules and simultaneously read the update stored by the storage module through the plurality of programmable logic modules Information for image processing of at least one target computer of the plurality of target computers. 如申請專利範圍第1項所述之多電腦切換器,其中該複數個可程式化邏輯模組係為由現場可程式化閘極陣列(Field-Programmable Gate Array;FPGA)或複雜可程式化邏輯裝置(Complex Programmable Logic Device;CPLD)所組成之族群中所選出。 The KVM switch of claim 1, wherein the plurality of programmable logic modules are Field-Programmable Gate Arrays (FPGAs) or complex programmable logic Selected from the group consisting of Complex Programmable Logic Device (CPLD). 如申請專利範圍第1項所述之多電腦切換器,其中該複數個第一影像處理模組中之一第一影像處理模組包括:一影像處理電路,更至少包括:一可程式化邏輯單元,設置於該影像處理電路上,該可程式化邏輯單元耦接於該可程式化邏輯模組與該至少一台目標電腦之間,用以透過該可程式化邏輯模組自該儲存模組讀取該更新資訊並對該至少一台目標電腦進行影像處理。 The multi-computer switcher of claim 1, wherein the first image processing module of the plurality of first image processing modules comprises: an image processing circuit, and at least: a programmable logic The unit is disposed on the image processing circuit, and the programmable logic unit is coupled between the programmable logic module and the at least one target computer for transmitting the programmable mode from the storage module The group reads the update information and performs image processing on the at least one target computer. 如申請專利範圍第3項所述之多電腦切換器,其中該可程式化邏輯單元係由現場可程式化閘極陣列(Field-Programmable Gate Array; FPGA)或複雜可程式化邏輯裝置(Complex Programmable Logic Device;CPLD)所組成之族群中所選出。 The KVM switch of claim 3, wherein the programmable logic unit is a Field-Programmable Gate Array (Field-Programmable Gate Array; FPGA) or Complex Programmable Logic Device (CPLD) is selected from the group consisting of. 如申請專利範圍第1項所述之多電腦切換器,其中該儲存模組係為快閃記憶體(Flash Memory)。 The KVM switch of claim 1, wherein the storage module is a flash memory. 如申請專利範圍第1項所述之多電腦切換器,其中該處理器模組係為中央處理器(Central Processing Unit;CPU)。 The KVM switch of claim 1, wherein the processor module is a Central Processing Unit (CPU). 如申請專利範圍第1項所述之多電腦切換器,進一步包括:一切換模組,分別耦接至該處理器模組、該儲存模組及該複數個可程式化邏輯模組,用以選擇性地切換該處理器模組或該複數個可程式化邏輯模組中之一可程式化邏輯模組耦接至該儲存模組。 The multi-computer switcher of claim 1, further comprising: a switching module coupled to the processor module, the storage module and the plurality of programmable logic modules for Optionally, the processor module or one of the plurality of programmable logic modules is coupled to the storage module. 如申請專利範圍第7項所述之多電腦切換器,其中於一寫入(Write-In)模式下,該切換模組切換成該處理器模組耦接至該儲存模組,致使該處理器模組能對該儲存模組執行該寫入程序以將該更新資訊儲存於該儲存模組內。 The KVM switch of claim 7, wherein in the write-in mode, the switching module is switched to connect the processor module to the storage module, so that the processing is performed. The module can execute the writing process on the storage module to store the update information in the storage module. 如申請專利範圍第7項所述之多電腦切換器,其中於一讀取(Read-Out)模式下,該切換模組切換成該可程式化邏輯模組耦接至該儲存模組,致使該可程式化邏輯模組能自該儲存模組讀取該更新資訊。 The KVM switch of claim 7, wherein in the Read-Out mode, the switching module is switched to the programmable logic module coupled to the storage module, such that The programmable logic module can read the update information from the storage module. 如申請專利範圍第7項所述之多電腦切換器,其中該切換模組與該儲存模組之間係透過一序列周邊介面(Serial Peripheral Interface;SPI)進行訊號傳輸。 The KVM switch of claim 7, wherein the switching module and the storage module transmit signals through a serial Peripheral Interface (SPI). 如申請專利範圍第1項所述之多電腦切換器,其中該處理器模組透過該網路所接收到之該更新資訊包括一第一資訊及一第二資訊,於該複數個第一影像處理模組透過該複數個可程式化邏輯模組同時自該儲存模組讀取該更新資訊的過程中,該複數個可程式化邏輯模組會 接收該第一資訊且該複數個第一影像處理模組會接收該第二資訊。 The multi-computer switcher of claim 1, wherein the update information received by the processor module through the network includes a first information and a second information in the plurality of first images. The plurality of programmable logic modules are processed by the processing module through the plurality of programmable logic modules simultaneously reading the update information from the storage module Receiving the first information and the plurality of first image processing modules receive the second information. 如申請專利範圍第1項所述之多電腦切換器,進一步包括:複數個第二影像處理模組,分別耦接至該複數個第一影像處理模組並自該複數個第一影像處理模組接收該更新資訊。 The multi-computer switcher of claim 1, further comprising: a plurality of second image processing modules respectively coupled to the plurality of first image processing modules and from the plurality of first image processing modules The group receives the update information. 一種多電腦切換器之韌體更新方法,該多電腦切換器至少包括一處理器模組、一儲存模組、複數個可程式化邏輯模組及複數個第一影像處理模組,該複數個可程式化邏輯模組分別耦接至該儲存模組並共用該儲存模組,該複數個第一影像處理模組分別耦接該複數個可程式化邏輯模組,該韌體更新方法至少包括下列步驟:(a)由該處理器模組透過一網路接收一更新資訊;(b)由該處理器模組對該儲存模組執行一寫入程序以將該更新資訊儲存於該儲存模組內;以及(c)由該複數個第一影像處理模組透過該複數個可程式化邏輯模組同時讀取該儲存模組所儲存的該更新資訊並,以對該複數台目標電腦中之至少一台目標電腦進行影像處理。 A method for updating a firmware of a KVM switch, the KVM switch comprising at least a processor module, a storage module, a plurality of programmable logic modules, and a plurality of first image processing modules, the plurality of The plurality of first image processing modules are respectively coupled to the plurality of programmable logic modules, and the firmware update method includes at least a plurality of programmable logic modules. The following steps are: (a) receiving, by the processor module, an update information through a network; (b) executing, by the processor module, a writing process on the storage module to store the update information in the storage module And (c) simultaneously reading the update information stored by the storage module by the plurality of first image processing modules through the plurality of programmable logic modules, and in the plurality of target computers At least one target computer performs image processing. 如申請專利範圍第13項所述之韌體更新方法,其中於步驟(b)及步驟(c)之前,該韌體更新方法還包括下列步驟:(b’)選擇性地切換該處理器模組或該複數個可程式化邏輯模組中之一可程式化邏輯模組耦接至該儲存模組。 The firmware updating method according to claim 13, wherein before the step (b) and the step (c), the firmware updating method further comprises the following steps: (b') selectively switching the processor module One or a plurality of programmable logic modules of the plurality of programmable logic modules are coupled to the storage module. 如申請專利範圍第14項所述之韌體更新方法,其中於一寫入(Write-In)模式下,步驟(b’)係切換成該處理器模組耦接至該儲存模組,以使得該韌體更新方法能執行步驟(b)。 The firmware update method of claim 14, wherein in the write-in mode, the step (b') is switched to the processor module coupled to the storage module, This firmware update method enables step (b) to be performed. 如申請專利範圍第14項所述之韌體更新方法,其中於一讀取(Read-Out)模式下,步驟(b’)係切換成該可程式化邏輯模組耦接至該儲存模組,以使得該韌體更新方法能執行步驟(c)。 The firmware update method of claim 14, wherein in a read-out mode, the step (b') is switched to the programmable logic module coupled to the storage module. So that the firmware update method can perform step (c). 如申請專利範圍第14項所述之韌體更新方法,其中該處理器模組透過該網路所接收到之該更新資訊包括一第一資訊及一第二資訊,於步驟(c)的過程中,該複數個可程式化邏輯模組會接收該第一資訊且該複數個第一影像處理模組會接收該第二資訊。 The firmware update method of claim 14, wherein the update information received by the processor module through the network includes a first information and a second information, and the process in step (c) The plurality of programmable logic modules receive the first information and the plurality of first image processing modules receive the second information. 如申請專利範圍第14項所述之韌體更新方法,進一步包括下列步驟:(e)將複數個第二影像處理模組分別耦接至該複數個第一影像處理模組;以及(f)由該複數個第二影像處理模組分別自該複數個第一影像處理模組接收該更新資訊。 The firmware update method of claim 14, further comprising the steps of: (e) coupling a plurality of second image processing modules to the plurality of first image processing modules; and (f) Receiving the update information from the plurality of first image processing modules by the plurality of second image processing modules. 一種電子裝置,至少包括:一處理器模組,用以透過一網路接收一更新資訊;一儲存模組,耦接至該處理器模組,該處理器模組對該儲存模組執行一寫入程序以將該更新資訊儲存於該儲存模組內;一第一功能模組,具有可執行一第一功能之複數個第一可程式化邏輯元件,分別耦接至該儲存模組並共用該儲存模組,並用以執行一第一功能;以及一第二功能模組,具有複數個可執行一第二功能之複數個第二可程式化邏輯元件,其中該複數個第二可程式化邏輯元件分別耦接該第一功能模組之該複數個第一可程式化邏輯元件,用以透過該第一功能模組之該複數個第一可程式化邏輯元件同時讀取該儲存模組所儲存的該更新資訊;其中,該第一功能模組之該複數個第一可程式化邏輯元件與該第二功能模組之該複數個第二可程式化邏輯元件之間係透過一序列周邊介面(Serial Peripheral Interface;SPI)進行訊號傳輸。 An electronic device includes: a processor module for receiving an update information through a network; a storage module coupled to the processor module, the processor module executing the storage module Writing a program to store the update information in the storage module; a first function module having a plurality of first programmable logic elements capable of performing a first function, respectively coupled to the storage module Sharing the storage module for performing a first function; and a second function module having a plurality of second programmable logic elements for performing a second function, wherein the plurality of second programmable The plurality of first programmable logic elements of the first functional module are coupled to the storage module by the plurality of first programmable logic elements of the first functional module The update information stored by the group; wherein the plurality of first programmable logic elements of the first function module and the plurality of second programmable logic elements of the second function module are transmitted through a Sequence periphery Surface (Serial Peripheral Interface; SPI) for signal transmission.
TW103145052A 2014-12-23 2014-12-23 Electronic apparatus, keyboard-video-mouse switch, and firmware updating method thereof TWI545439B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW103145052A TWI545439B (en) 2014-12-23 2014-12-23 Electronic apparatus, keyboard-video-mouse switch, and firmware updating method thereof
CN201510382132.XA CN106201568B (en) 2014-12-23 2015-07-03 Electronic device, multi-computer switcher and firmware updating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103145052A TWI545439B (en) 2014-12-23 2014-12-23 Electronic apparatus, keyboard-video-mouse switch, and firmware updating method thereof

Publications (2)

Publication Number Publication Date
TW201624290A TW201624290A (en) 2016-07-01
TWI545439B true TWI545439B (en) 2016-08-11

Family

ID=56984733

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103145052A TWI545439B (en) 2014-12-23 2014-12-23 Electronic apparatus, keyboard-video-mouse switch, and firmware updating method thereof

Country Status (2)

Country Link
CN (1) CN106201568B (en)
TW (1) TWI545439B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388421B (en) * 2017-08-02 2022-01-04 宇瞻科技股份有限公司 Storage device for quickly updating firmware

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640382B2 (en) * 2005-04-29 2009-12-29 Avocent Corporation Virtual media systems, methods and devices
CN101963893B (en) * 2009-07-24 2013-08-14 宏正自动科技股份有限公司 Multi-computer switching system and signal processing method thereof
TWI545438B (en) * 2009-12-31 2016-08-11 宏正自動科技股份有限公司 Computer management system and method thereof
TWI444830B (en) * 2010-10-15 2014-07-11 Aten Int Co Ltd Remote management apparatus and managing method thereof
TWI427965B (en) * 2010-12-31 2014-02-21 Aten Int Co Ltd Remote management system, kvm switch, and remote managing method
US9292108B2 (en) * 2012-06-28 2016-03-22 Dell Products Lp Systems and methods for remote mouse pointer management

Also Published As

Publication number Publication date
CN106201568B (en) 2020-04-17
TW201624290A (en) 2016-07-01
CN106201568A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
EP3698294B1 (en) Machine learning runtime library for neural network acceleration
US10331997B2 (en) Adaptive configuration of a neural network device
US7702827B2 (en) System and method for a credit based flow device that utilizes PCI express packets having modified headers wherein ID fields includes non-ID data
US11550738B2 (en) Storage device including reconfigurable logic and method of operating the storage device
US10055807B2 (en) Hardware architecture for acceleration of computer vision and imaging processing
US10719647B2 (en) Speed converter for FPGA-based UFS prototypes
JP2017076357A (en) Ufs device operation method, ufs host operation method, and operation method of system including ufs device and ufs host
WO2021051589A1 (en) Data storage method and apparatus, electronic device, and storage medium
US20040175055A1 (en) Method and apparatus for re-construcing high-resolution images
JP2014175006A (en) Method of operating image processing circuit, and system on chip, application processor, mobile equipment, image processing circuit and display system
CN107967184A (en) Method of attaching, device and electronic equipment are replicated in remote assistance
TWI545439B (en) Electronic apparatus, keyboard-video-mouse switch, and firmware updating method thereof
US11381630B2 (en) Transmitting data over a network in representational state transfer (REST) applications
US11544129B2 (en) Cross-component health monitoring and improved repair for self-healing platforms
US20110156875A1 (en) Apparatus for and Method of Processing Data
US10938904B2 (en) Multi-processor/endpoint data splitting system
US20110145443A1 (en) Dfx software debug feature for io and other non-memory typed transactions
CN111079922B (en) AXI-APB-based neural network interaction system, method, server and storage medium
CN115777098A (en) Streaming data distribution and aggregation via cyclic FIFO
US8108574B2 (en) Apparatus and methods for translation of data formats between multiple interface types
US9098628B2 (en) Memory system with multiple block write control to control state data
US12093203B2 (en) System and method for supporting communications between management controllers and devices
JP7151514B2 (en) Simulation system, information processing device, program and simulation method
TWI526842B (en) Controlling and switching module capable of being applied in x86 systems for writing data
CN116126274A (en) Multi-host display method, device, system, display terminal and storage medium