TWI582597B - Hardware resource sharing system and method for operating a switching fabric - Google Patents

Hardware resource sharing system and method for operating a switching fabric Download PDF

Info

Publication number
TWI582597B
TWI582597B TW105140382A TW105140382A TWI582597B TW I582597 B TWI582597 B TW I582597B TW 105140382 A TW105140382 A TW 105140382A TW 105140382 A TW105140382 A TW 105140382A TW I582597 B TWI582597 B TW I582597B
Authority
TW
Taiwan
Prior art keywords
bus
computer host
peripheral device
computer
peripheral
Prior art date
Application number
TW105140382A
Other languages
Chinese (zh)
Other versions
TW201822000A (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 TW105140382A priority Critical patent/TWI582597B/en
Application granted granted Critical
Publication of TWI582597B publication Critical patent/TWI582597B/en
Publication of TW201822000A publication Critical patent/TW201822000A/en

Links

Landscapes

  • Bus Control (AREA)

Description

硬體資源共用系統及連線橋接平台的操作方法Hardware resource sharing system and operation method of connection bridge platform

本發明係有關於一種硬體資源共用系統,特別是有關於一種能夠動態調整硬體資源分配的硬體資源共用系統。The present invention relates to a hardware resource sharing system, and more particularly to a hardware resource sharing system capable of dynamically adjusting hardware resource allocation.

隨著電腦科技的發達,仰賴電腦運算功能的應用也越來越多,因此電腦系統如一般伺服器的運算單元可能不足以應付各種應用的需求,而需要利用其他的硬體資源,例如網路介面控制器(Network Interface Controller,NIC)、通用繪圖運算單元(General Purpose Graphic Processing Unit,GPU)、非揮發性記憶體固態硬碟(Non-volatile Memory Express Solid State Drive,NVMe SSD)及光纖網卡(Fiber Channel Host Bus Adapter,HBA)等硬體資源。With the development of computer technology, more and more applications rely on computer computing functions, so computer systems such as general server computing units may not be sufficient to meet the needs of various applications, but need to use other hardware resources, such as the network. Network Interface Controller (NIC), General Purpose Graphic Processing Unit (GPU), Non-volatile Memory Express Solid State Drive (NVMe SSD) and optical network card ( Hardware resources such as Fiber Channel Host Bus Adapter, HBA).

由於各種伺服器所應用的領域不同,因此所需搭配的硬體資源也可能不同,所以在先前技術中,每台伺服器可能會固定搭載不同種類或數量的硬體資源。然而如此一來,一旦日後想將伺服器應用在不同的領域,或是硬體資源需要更新或擴充,都可能有所限制,而導致需要更換整台伺服器。Due to the different fields of application of various servers, the hardware resources required may also be different. Therefore, in the prior art, each server may be fixed with different kinds or quantities of hardware resources. However, once you want to apply the server to different areas in the future, or if the hardware resources need to be updated or expanded, there may be restrictions, which may result in the need to replace the entire server.

為解決此一問題,先前技術也提出了外接硬體資源的做法,其主要可透過匯流排轉接器將不同的電腦系統與所需的硬體資源相連接。然而先前技術中,當電腦系統開始運作之後,每台電腦系統所能利用的硬體資源即為固定,而無法動態改變。此外,由於每台電腦系統在開機時就已經預設好能夠使用的硬體資源為何,因此若在電腦系統運作後才對硬體資源進行熱插拔(hot plug),則可能會導致電腦系統當機,而無法正常運作。因此其改進的效果十分有限,在實際操作時,仍然遭遇到許多的問題。In order to solve this problem, the prior art also proposes the practice of external hardware resources, which can mainly connect different computer systems with the required hardware resources through the bus adapter. However, in the prior art, when the computer system started to operate, the hardware resources that each computer system can utilize are fixed and cannot be dynamically changed. In addition, since each computer system has preset the hardware resources that can be used at boot time, if the hardware system is hot plugged after the computer system is running, it may cause the computer system. Failed to work properly. Therefore, the effect of the improvement is very limited, and in practice, many problems are still encountered.

本發明之一實施例提供一種硬體資源共用系統,硬體資源共用系統包含連線橋接平台及共用資源控制器。An embodiment of the present invention provides a hardware resource sharing system, where the hardware resource sharing system includes a connection bridge platform and a shared resource controller.

連線橋接平台包含複數個匯流排及複數個橋接裝置,複數個匯流排係為支援周邊元件快速互連(Peripheral component interconnect express,PCIE)之傳輸格式的匯流排。The connection bridge platform includes a plurality of bus bars and a plurality of bridge devices, and the plurality of bus bars are bus bars supporting a transmission format of a Peripheral Component Interconnect Express (PCIE).

共用資源控制器耦接於連線橋接平台,共用資源控制器根據預設連線組態控制連線橋接平台以將複數個匯流排分別設定為複數個周邊裝置匯流排及複數個電腦主機匯流排,並根據預設連線組態控制連線橋接平台以建立電腦主機匯流排與周邊裝置匯流排之間的電性連接。The shared resource controller is coupled to the connection bridge platform, and the shared resource controller controls the connection bridge platform according to the preset connection configuration to set the plurality of bus bars to a plurality of peripheral device bus bars and a plurality of computer host bus bars respectively. And control the connection bridge platform according to the preset connection configuration to establish an electrical connection between the computer host bus and the peripheral device bus.

預設連線組態包含硬體資源共用系統所預設可支援之周邊裝置的數量、種類及/或使用資訊、可支援之電腦主機的數量、及匯流排與橋接裝置之間的預設連接組態。電腦主機匯流排可與外部的電腦主機相耦接,而周邊裝置匯流排可與外部的周邊裝置相耦接。The preset connection configuration includes the number, type and/or usage information of peripheral devices that can be supported by the hardware resource sharing system, the number of supported computer hosts, and the preset connection between the bus bar and the bridge device. configuration. The host bus bar can be coupled to an external computer host, and the peripheral device bus bar can be coupled to an external peripheral device.

當第一電腦主機耦接至複數個電腦主機匯流排之第一電腦主機匯流排,並執行周邊元件快速互連匯流排掃描功能時,共用資源控制器根據預設連線組態將對應於第一電腦主機匯流排之複數個周邊裝置匯流排所對應之複數個周邊裝置的種類及/或使用資訊回傳給第一電腦主機,以使第一電腦主機預留使用其所對應之周邊裝置所需的記憶體區段。When the first computer host is coupled to the first computer host bus of the plurality of computer host bus bars and performs the peripheral component quick interconnection bus scanning function, the shared resource controller corresponds to the first configuration according to the preset connection The type and/or usage information of the plurality of peripheral devices corresponding to the plurality of peripheral devices in the busbar of the computer host bus are transmitted back to the first computer host, so that the first computer host reserves the use of the corresponding peripheral device The required memory segment.

本發明之另一實施例提供一種連線橋接平台的操作方法,連線橋接平台包含複數個匯流排及複數個橋接裝置,操作方法包含根據預設連線組態將複數個匯流排分別設定為複數個周邊裝置匯流排及複數個電腦主機匯流排,根據預設連線組態建立電腦主機匯流排與周邊裝置匯流排之間的電性連接,及當第一電腦主機耦接至第一電腦主機匯流排,並執行周邊元件快速互連匯流排掃描功能時,根據預設連線組態將對應於第一電腦主機匯流排之複數個周邊裝置匯流排所對應之複數個周邊裝置的使用資訊回傳給第一電腦主機,以使第一電腦主機預留使用其所對應之周邊裝置所需的記憶體區段。Another embodiment of the present invention provides a method for operating a connection bridge platform. The connection bridge platform includes a plurality of bus bars and a plurality of bridge devices. The operation method includes setting a plurality of bus bars to be respectively configured according to a preset connection configuration. a plurality of peripheral device bus bars and a plurality of computer host bus bars, and establishing an electrical connection between the computer host bus bar and the peripheral device bus bar according to the preset connection configuration, and when the first computer host is coupled to the first computer When the host bus is connected and the peripheral component quick interconnect bus scanning function is executed, the usage information of the plurality of peripheral devices corresponding to the plurality of peripheral device bus bars corresponding to the first computer host bus bar according to the preset connection configuration is configured according to the preset connection configuration. It is passed back to the first computer host, so that the first computer host reserves the memory segment required for the peripheral device corresponding thereto.

為便於更進一步了解對本發明之構造及技術特徵,爰舉出實施例並搭配圖式做詳細說明,惟該等實施例及圖式僅為例示性質,並不限制本發明之範圍。The embodiments and the drawings are to be considered as illustrative only and not limiting the scope of the invention.

第1圖為本發明一實施例之硬體資源共用系統100的示意圖。硬體資源共用系統100包含連線橋接平台110及共用資源控制器120。共用資源控制器120耦接於連線橋接平台110。FIG. 1 is a schematic diagram of a hardware resource sharing system 100 according to an embodiment of the present invention. The hardware resource sharing system 100 includes a connection bridge platform 110 and a shared resource controller 120. The shared resource controller 120 is coupled to the connection bridge platform 110.

在第1圖中,連線橋接平台110包含支援周邊元件快速互連(Peripheral component interconnect express,PCIE)之傳輸格式的匯流排BUS 1至BUS 18及橋接裝置SW 1至SW 9。每一橋接裝置SW 1至SW 9具有6個輸入輸出埠,而共用資源控制器120則能夠控制每一橋接裝置SW 1至SW 9中,各個輸入輸出埠的內部連接關係。 In FIG. 1, the connection bridge platform 110 includes bus bars BUS 1 to BUS 18 and bridge devices SW 1 to SW 9 supporting a Peripheral Component Interconnect Express (PCIE) transmission format. Each of the bridge devices SW 1 to SW 9 has six input and output ports, and the shared resource controller 120 is capable of controlling the internal connection relationship of each of the input devices SW 1 to SW 9 .

在第1圖中,橋接裝置SW 1可連接到匯流排BUS 1至BUS 3,橋接裝置SW 2可連接到匯流排BUS 4至BUS 6,橋接裝置SW 3可連接到匯流排BUS 7至BUS 9,橋接裝置SW 1至SW 3可各自分別連接到橋接裝置SW 4至SW 6,橋接裝置SW 4至SW 6可各自分別連接到橋接裝置SW 7至SW 9,橋接裝置SW 7可連接到匯流排BUS 10至BUS 12,橋接裝置SW 8可連接到匯流排BUS 13至BUS 15,橋接裝置SW 9可連接到匯流排BUS 16至BUS 18。如此一來,透過共用資源控制器120的控制,就能夠彈性地建立匯流排BUS 1至BUS 18彼此之間的電性連接。 In Fig. 1, the bridge device SW 1 can be connected to the bus bars BUS 1 to BUS 3 , the bridge device SW 2 can be connected to the bus bars BUS 4 to BUS 6 , and the bridge device SW 3 can be connected to the bus bars BUS 7 to BUS 9 The bridge devices SW 1 to SW 3 may each be connected to the bridge devices SW 4 to SW 6 , respectively, and the bridge devices SW 4 to SW 6 may be respectively connected to the bridge devices SW 7 to SW 9 , respectively, and the bridge device SW 7 may be connected to the bus bar BUS 10 to BUS 12 , bridge device SW 8 can be connected to bus bars BUS 13 to BUS 15 , and bridge device SW 9 can be connected to bus bars BUS 16 to BUS 18 . In this way, through the control of the shared resource controller 120, the electrical connection between the bus bars BUS 1 to BUS 18 can be flexibly established.

為了能夠讓耦接至硬體資源共用系統100的電腦主機能夠彈性地共用耦接至硬體資源共用系統100的周邊裝置,使用者可以根據需求設定硬體資源共用系統100的預設連線組態CONF,而共用資源控制器120則會根據預設連線組態CONF來控制連線橋接平台110。預設連線組態CONF可包含硬體資源共用系統100所預設可支援之周邊裝置的數量、種類及/或使用資訊、可支援之電腦主機的數量、及匯流排BUS 1至BUS 18與橋接裝置SW 1至SW 9之間的預設連接組態等資訊。 In order to enable the computer host coupled to the hardware resource sharing system 100 to flexibly share the peripheral devices coupled to the hardware resource sharing system 100, the user can set the preset connection group of the hardware resource sharing system 100 according to requirements. The CONF, and the shared resource controller 120 controls the connection bridge platform 110 according to the preset connection configuration CONF. The preset connection configuration CONF may include the number, type, and/or usage information of peripheral devices supported by the hardware resource sharing system 100, the number of supported computer hosts, and the bus bars BUS 1 to BUS 18 and Information such as the preset connection configuration between the bridge devices SW 1 to SW 9 .

共用資源控制器120可根據預設連線組態CONF中可支援之周邊裝置的數量及可支援之電腦主機的數量等資訊,控制連線橋接平台110以將匯流排BUS 1至BUS 18分別設定為複數個周邊裝置匯流排以及複數個電腦主機匯流排。舉例來說,在第1圖中,共用資源控制器120可將匯流排BUS 1至BUS 9設定為電腦主機匯流排,並可將匯流排BUS 10至BUS 18設定為周邊裝置匯流排。電腦主機匯流排BUS 1至BUS 9可用以與外部的電腦主機C 1至C 9相耦接,而周邊裝置匯流排BUS 10至BUS 18則可用以與外部的周邊裝置B 1至B 9相耦接。而共用資源控制器120即可根據預設連線組態CONF控制連線橋接平台110以建立電腦主機匯流排BUS 1至BUS 9與周邊裝置匯流排BUS 10至BUS 18之間的電性連接,以進一步將電腦主機C 1至C 9連接至對應的周邊裝置B 1至B 9。周邊裝置B 1至B 9可例如為網路介面控制器(Network Interface Controller,NIC)、通用繪圖運算單元(General Purpose Graphic Processing Unit,GPU)、非揮發性記憶體固態硬碟(Non-volatile Memory Express Solid State Drive,NVMe SSD)及光纖網卡(Fiber Channel Host Bus Adapter,HBA)等硬體資源。 The shared resource controller 120 can control the connection bridge platform 110 to set the bus bars BUS 1 to BUS 18 according to the preset connection configuration, the number of peripheral devices that can be supported in the CONF, and the number of supported computer hosts. It is a busbar for a plurality of peripheral devices and a plurality of computer host busbars. For example, in FIG. 1, the shared resource controller 120 can set the bus bars BUS 1 to BUS 9 as computer host bus bars, and can set the bus bars BUS 10 to BUS 18 as peripheral device bus bars. The mainframe bus bars BUS 1 to BUS 9 can be used to be coupled to external computer hosts C 1 to C 9 , and the peripheral device bus bars BUS 10 to BUS 18 can be used to couple with external peripheral devices B 1 to B 9 . Pick up. The shared resource controller 120 can configure the CONF control connection bridge platform 110 according to the preset connection to establish an electrical connection between the computer host bus bars BUS 1 to BUS 9 and the peripheral device bus bars BUS 10 to BUS 18 . connected to a corresponding host computer to further a C 1 to C 9 peripheral device B 1 to B 9. The peripheral devices B 1 to B 9 can be, for example, a network interface controller (NIC), a general purpose graphic processing unit (GPU), and a non-volatile memory (Non-volatile Memory). Hardware resources such as Express Solid State Drive (NVMe SSD) and Fiber Channel Host Bus Adapter (HBA).

在上述的實施例中,每一橋接裝置SW 1至SW 9皆具有6個輸入輸出埠,且能夠以3對3的方式對接,然而本發明並不以此為限。在本發明的其他實施例中,連線橋接平台110也可利用其他類型的橋接裝置來實作,例如各個輸入輸出埠能夠任意與其他輸入輸出埠相對連接的橋接裝置、具有更多數量之輸入輸出埠的橋接裝置,或具有其他對接方式的橋接裝置,甚至還可同時使用不同類型的橋接裝置。換言之,使用者可以根據實際使用的需求,例如所欲共用硬體資源之電腦主機的數量,以及可供共用的周邊裝置數量,選擇適合的橋接裝置來實作連線橋接平台110。 In the above embodiment, each of the bridge devices SW 1 to SW 9 has six input and output ports, and can be docked in a three-to-three manner, but the invention is not limited thereto. In other embodiments of the present invention, the connection bridge platform 110 can also be implemented by using other types of bridge devices, for example, each input/output port can be arbitrarily connected to other input and output ports, with a greater number of inputs. The bridging device of the output crucible, or the bridging device with other docking methods, can even use different types of bridging devices at the same time. In other words, the user can select the appropriate bridging device to implement the connection bridging platform 110 according to the actual usage requirements, such as the number of computer hosts that want to share the hardware resources, and the number of peripheral devices available for sharing.

此外,第1圖中所示的連線橋接平台110及橋接裝置SW 1至SW 9僅為例示性的說明,在本發明的其他實施例中,連線橋接平台110還可包含其他數量的橋接裝置,且橋接裝置之間的連接關係也可根據實際的需求有所調整,而皆應屬於本發明的範圍。 In addition, the connection bridge platform 110 and the bridge devices SW 1 to SW 9 shown in FIG. 1 are merely illustrative, and in other embodiments of the invention, the bridge bridge platform 110 may also include other numbers of bridges. The device and the connection relationship between the bridge devices can also be adjusted according to actual needs, and all should fall within the scope of the present invention.

為了讓耦接至硬體資源共用系統100的電腦主機能夠彈性的運用硬體資源共用系統100所預留可支援的周邊裝置,當電腦主機耦接至硬體資源共用系統100並進行周邊元件快速互連匯流排掃描功能時,共用資源控制器120即能夠代替周邊裝置回傳與其相關的使用訊息,以使電腦主機能夠預留使用其周邊裝置的記憶體區段。In order to enable the computer host coupled to the hardware resource sharing system 100 to flexibly utilize the peripheral devices reserved by the hardware resource sharing system 100, the computer host is coupled to the hardware resource sharing system 100 and performs peripheral components quickly. When the bus bar scanning function is interconnected, the shared resource controller 120 can replace the peripheral device with its associated usage message, so that the computer host can reserve the memory segment using its peripheral devices.

舉例來說,在第1圖中,當電腦主機C 1耦接至電腦主機匯流排BUS 1,並執行周邊元件快速互連匯流排掃描功能時,共用資源控制器120即可根據預設連線組態CONF將對應於電腦主機匯流排BUS 1之複數個周邊裝置匯流排所對應之周邊裝置的種類及/或使用資訊回傳給電腦主機C 1,例如電腦主機匯流排BUS 1若是對應到所有的周邊裝置匯流排BUS 10至BUS 18,此時共用資源控制器120即可將周邊裝置匯流排BUS 10至BUS 18所對應的周邊裝置B 1至B 9的種類及/或使用資訊回傳給第一電腦主機C 1。如此一來,第一電腦主機C 1就能夠得知其所能夠使用的周邊裝置為何,並可根據共用資源控制器120的回傳資訊預留使用周邊裝置B 1至B 9所需的記憶體區段。 For example, in FIG. 1 , when the computer host C 1 is coupled to the host bus BUS 1 and performs the peripheral component quick interconnect bus scanning function, the shared resource controller 120 can be connected according to a preset. CONF configuration corresponding to the type of host computer peripheral device bus corresponding to the plurality of peripheral device bus BUS of 1 and / or information back to the host computer C 1, for example, if the host computer 1 corresponding to the bus BUS to all The peripheral device bus BUS 10 to BUS 18 , at this time, the shared resource controller 120 can return the types and/or usage information of the peripheral devices B 1 to B 9 corresponding to the peripheral device bus bars BUS 10 to BUS 18 to The first computer host C 1 . In this way, the first computer host C 1 can know the peripheral devices that can be used, and can reserve the memory required to use the peripheral devices B 1 to B 9 according to the return information of the shared resource controller 120. Section.

然而此時周邊裝置B 1至B 9可能尚未耦接至周邊裝置匯流排BUS 10至BUS 18。當第一電腦主機C 1欲使用一特定周邊裝置,例如周邊裝置B 1,且周邊裝置B 1尚未耦接至對應之周邊裝置匯流排BUS 10時,共用資源控制器120可發送忙碌訊息至電腦主機C 1,使得電腦主機C 1暫時無法使用特定周邊裝置B 1However, at this time, the peripheral devices B 1 to B 9 may not be coupled to the peripheral device bus bars BUS 10 to BUS 18 . When the first computer host C 1 wants to use a specific peripheral device, such as the peripheral device B 1 , and the peripheral device B 1 is not coupled to the corresponding peripheral device bus BUS 10 , the shared resource controller 120 can send a busy message to the computer. The host C 1 makes the computer host C 1 temporarily unable to use the specific peripheral device B 1 .

之後,當周邊裝置B 1之後以熱插拔(hot plug)的方式耦接至對應的周邊裝置匯流排BUS 10時,共用資源控制器120可控制連線橋接平台110建立電腦主機匯流排BUS 1與對應之周邊裝置匯流排BUS 10之間的電性連接,如此一來,電腦主機C 1就能夠透過連線橋接平台110與周邊裝置B 1進行資料交換,並且能夠正常使用周邊裝置B 1Then, when the peripheral device B 1 is coupled to the corresponding peripheral device bus BUS 10 by a hot plug, the shared resource controller 120 can control the connection bridge platform 110 to establish the computer host bus BUS 1 The electrical connection between the corresponding peripheral device bus BUS 10 and the peripheral device BUS 10 enables the computer host C 1 to exchange data with the peripheral device B 1 through the connection bridge platform 110 and can normally use the peripheral device B 1 .

由於在電腦主機C 1中,已經事先預留了使用周邊裝置B 1的記憶體區段,因此周邊裝置B 1能夠以熱插拔(hot plug)的方式耦接至對應的周邊裝置匯流排BUS 10,而無須在電腦主機C 1開機時就事先耦接至周邊裝置匯流排BUS 10。如此一來,使用者就可以根據系統的使用情況,再決定是否有必要添購新增特定周邊裝置B 1Since the memory segment using the peripheral device B 1 has been reserved in advance in the computer host C 1 , the peripheral device B 1 can be coupled to the corresponding peripheral device bus bar BUS in a hot plug manner. 10 , without being connected to the peripheral device bus BUS 10 before the computer host C 1 is turned on. In this way, the user can decide whether it is necessary to purchase a new peripheral device B 1 according to the usage of the system.

舉例來說,雖然硬體資源共用系統100一開始可先設定電腦主機C 1所能支援的周邊裝置有16台通用型繪圖處理器,然而使用者不需要在一開始就設置16台通用型繪圖處理器,而可以先設置例如4台通用型繪圖處理器,之後再視系統運作的情況,考慮是否需要增設通用型繪圖處理器。由於通用型繪圖處理器的單價不低,對於整個系統來說,如此彈性的運用不僅能夠大大提升硬體使用的效率,還能夠減少不必要的資源浪費。 For example, although the hardware resource sharing system 100 can initially set the peripheral device supported by the computer host C 1 to have 16 general-purpose graphics processors, the user does not need to set 16 general-purpose graphics at the beginning. The processor can be set up, for example, with four general-purpose graphics processors, and then consider whether it is necessary to add a general-purpose graphics processor depending on the operation of the system. Since the unit price of the general-purpose graphics processor is not low, such an elastic application for the entire system can not only greatly improve the efficiency of hardware use, but also reduce unnecessary waste of resources.

第2圖為硬體資源共用系統100的使用情境圖。在第2圖中,當電腦主機C 2耦接至電腦主機匯流排BUS 1至BUS 9中對應的電腦主機匯流排BUS 2時,電腦主機C 2也會執行周邊元件快速互連匯流排掃描功能以確認其所能使用的周邊裝置為何,而共用資源控制器120則會根據預設連線組態CONF將對應於電腦主機匯流排BUS 2之周邊裝置匯流排所對應之周邊裝置的使用資訊回傳給電腦主機C 2。在第2圖的實施例中,電腦主機匯流排BUS 2所對應到的周邊裝置匯流排可能為周邊裝置匯流排BUS 10至BUS 11,因此共用資源控制器120會將對應的周邊裝置B 1及B 2的使用資訊回傳給電腦主機C 2,使得電腦主機C 2可先預留使用所對應之周邊裝置B 1及B 2所需的記憶體區段。 FIG. 2 is a usage context diagram of the hardware resource sharing system 100. In the second figure, when the computer host C 2 is coupled to the corresponding computer host bus BUS 2 in the computer bus BUS 1 to BUS 9 , the computer host C 2 also performs the peripheral component quick interconnection bus scanning function. In order to confirm the peripheral device that can be used, the shared resource controller 120 will return the usage information of the peripheral device corresponding to the peripheral device busbar of the computer bus BUS 2 according to the preset connection configuration CONF. Pass to the computer host C 2 . In the embodiment of FIG. 2 , the peripheral device busbar corresponding to the computer host busbar BUS 2 may be the peripheral device busbars BUS 10 to BUS 11 , so the shared resource controller 120 will correspond to the peripheral device B 1 and The usage information of B 2 is transmitted back to the computer host C 2 , so that the computer host C 2 can reserve the memory segment required for the corresponding peripheral devices B 1 and B 2 first .

雖然電腦主機C 2及第一電腦主機C 1都共同對應到周邊裝置B 1,然而在同一個時段裡,僅有一台電腦主機能夠使用周邊裝置B 1,而共用資源控制器120則扮演居中協調的腳色。舉例來說,當電腦主機C 1佔用周邊裝置B 1時,倘若電腦主機C 2也接著欲使用周邊裝置B 1,此時共用資源控制器120可先發送忙碌訊息至電腦主機C 2使得電腦主機C 2暫時無法使用周邊裝置B 1。之後若電腦主機C 1自行停止使用周邊裝置B 1,或電腦主機C 1經由共用資源控制器120通知而釋放周邊裝置B 1,則當電腦主機C 2再度發出欲使用周邊裝置B 1的交握訊息時,共用資源控制器120就不會再發送忙碌訊息給電腦主機C 2,因此電腦主機C 2就能夠正常使用周邊裝置B 1Although the computer host C 2 and the first computer host C 1 all correspond to the peripheral device B 1 , in the same period, only one computer host can use the peripheral device B 1 , and the shared resource controller 120 plays the center coordination. The role of the feet. For example, when the computer host C 1 occupies the peripheral device B 1 , if the computer host C 2 also wants to use the peripheral device B 1 , the shared resource controller 120 can send a busy message to the computer host C 2 to make the computer host Peripheral device B 1 is temporarily unavailable for C 2 . Then, if the computer host C 1 stops using the peripheral device B 1 by itself , or the computer host C 1 notifies the peripheral device B 1 via the shared resource controller 120, when the computer host C 2 again sends out the handshake of the peripheral device B 1 . When the message is received, the shared resource controller 120 will not send the busy message to the computer host C 2 again , so the computer host C 2 can normally use the peripheral device B 1 .

在本發明的部分實施例中,由於原先共用資源控制器120並不知道各個電腦主機實際上會需要使用什麼周邊裝置,因此當某電腦主機欲使用某特定周邊裝置時,其電腦主機與其所欲使用的周邊裝置之間的連線可能尚未建立,因此當其電腦主機向某特定周邊裝置發出欲使用的交握訊息時,共用資源控制器120可動態地控制連線橋接平台110以建立電腦主機與其所欲使用的周邊裝置之間的連線。In some embodiments of the present invention, since the original shared resource controller 120 does not know what peripheral devices each computer host actually needs to use, when a computer host wants to use a specific peripheral device, the computer host and the like The connection between the peripheral devices used may not be established yet, so when the host computer sends a handshake message to a specific peripheral device, the shared resource controller 120 can dynamically control the connection bridge platform 110 to establish a host computer. The connection between the peripheral device and the peripheral device it is intended to use.

舉例來說,在上述實施例中,當電腦主機C 2欲使用周邊裝置B 1時,電腦主機C 2所對應的電腦主機匯流排BUS 2與周邊裝置B 1所對應之周邊裝置匯流排BUS 10之間可能尚未建立連線,因此共用資源控制器120會根據需求,建立電腦主機匯流排BUS 2與周邊裝置匯流排BUS 10之間的連線,例如透過橋接裝置SW 1、SW 6及SW 7來建立電腦主機匯流排BUS 2與周邊裝置匯流排BUS 10之間的連線。 For example, in the above embodiment, when the host computer using a peripheral device to be C 2 B 1, C 2 corresponding to the host computer to the host computer bus and a bus BUS 2 corresponding to the peripheral device a peripheral device B BUS 10 The connection may not be established between the two, so the shared resource controller 120 establishes a connection between the computer host bus BUS 2 and the peripheral device bus BUS 10 according to requirements, for example, through the bridge devices SW 1 , SW 6 and SW 7 To establish a connection between the computer host bus BUS 2 and the peripheral device bus BUS 10 .

在本發明的部分實施例中,共用資源控制器120可透過電腦主機匯流排BUS 1至BUS 9取得每一台電腦主機經由對應之電腦主機匯流排所輸出的訊息,因此能夠依照每一台電腦主機使用周邊裝置的情況,動態地設定電腦匯流排BUS 1至BUS 9與周邊裝置匯流排BUS 10至BUS 18之間的連線,使得電腦主機能夠使用以熱插拔的方式連接至連線橋接平台110的周邊裝置。 In some embodiments of the present invention, the shared resource controller 120 can obtain the information output by each computer host through the corresponding computer host bus through the computer bus BUS 1 to BUS 9 , so that each computer can be used according to each computer. The host uses the peripheral device to dynamically set the connection between the computer bus BUS 1 to BUS 9 and the peripheral device bus BUS 10 to BUS 18 , so that the computer host can be connected to the connection bridge by hot plugging. Peripheral device of platform 110.

硬體資源共用系統100除了能夠動態地設定電腦匯流排BUS 1至BUS 9與周邊裝置匯流排BUS 10至BUS 18之間的連線之外,還能夠根據使用者的需求,重新分配匯流排BUS 1至BUS 18中電腦匯流排及周邊裝置匯流排的數量。使用者只要根據所需之電腦主機及周邊裝置的數量更新預設連線組態CONF,共用資源控制器120就可根據更新後之預設連線組態CONF’將匯流排BUS 1至BUS 18中原先設定為周邊裝置匯流排BUS 10至BUS 18之至少一匯流排改成設定為至少一電腦主機匯流排,或將匯流排BUS 1至BUS 18中原先設定為電腦主機匯流排BUS 1至BUS 9之至少一匯流排改成設定為至少一周邊裝置匯流排。 In addition to being able to dynamically set the connection between the computer bus bars BUS 1 to BUS 9 and the peripheral device bus bars BUS 10 to BUS 18 , the hardware resource sharing system 100 can also reallocate the bus bar BUS according to the needs of the user. 1 to the number of bus bars and peripheral devices in BUS 18 . The user only needs to update the preset connection configuration CONF according to the required number of computer hosts and peripheral devices, and the shared resource controller 120 can configure the bus bar BUS 1 to BUS 18 according to the updated preset connection configuration CONF'. The centrally set up at least one busbar of the peripheral device busbars BUS 10 to BUS 18 is changed to be set to at least one computer host busbar, or the busbars BUS 1 to BUS 18 are originally set as the computer host busbars BUS 1 to BUS. At least one busbar of 9 is changed to be set to at least one peripheral device busbar.

舉例來說,當使用者欲增加硬體資源共用系統100可支援之電腦主機的數量,並減少可支援之周邊裝置的數量,因此使用者可根據其需求更新預設連線組態CONF,而共用資源控制器120則可根據更新後之預設連線組態CONF’將匯流排BUS 1至BUS 18中原先設定為周邊裝置匯流排BUS 10至BUS 18之部分匯流排改成設定為電腦主機匯流排,例如將匯流排BUS 10及BUS 12改成設定為電腦主機匯流排。此後,硬體資源共用系統100將會透過匯流排BUS 10及BUS 12取得其所耦接之電腦主機所傳來的訊息,並在其電腦主機執行周邊元件快速互連匯流排掃描功能時,對應地回傳其所對應之周邊裝置的使用資訊。 For example, when the user wants to increase the number of computer hosts that the hardware resource sharing system 100 can support and reduce the number of peripheral devices that can be supported, the user can update the preset connection configuration CONF according to his needs. The shared resource controller 120 can change the part of the bus bar BUS 1 to BUS 18 originally set as the peripheral device bus bar BUS 10 to BUS 18 to be set as the host computer according to the updated preset connection configuration CONF'. The bus bar, for example, changes the bus bars BUS 10 and BUS 12 to be set to the computer host bus. Thereafter, the hardware resource sharing system 100 will obtain the message transmitted by the computer host to which it is coupled through the bus BUS 10 and the BUS 12 , and when the computer host performs the peripheral component quick interconnection bus scanning function, correspondingly The location returns the usage information of the peripheral devices corresponding to it.

反之,若使用者欲減少硬體資源共用系統100可支援之電腦主機的數量,並增加可支援之周邊裝置的數量,則共用資源控制器120可根據更新後之預設連線組態CONF’將匯流排BUS 1至BUS 18中原先設定為電腦主機匯流排BUS 1至BUS 9之部分匯流排改成設定為周邊裝置匯流排,例如將匯流排BUS 7及BUS 9改成設定為周邊裝置匯流排。此後,硬體資源共用系統100將不在自匯流排BUS 7至BUS 9上取得電腦主機的相關資訊。為了讓共用資源控制器120能夠根據更新後之預設連線組態CONF’更改匯流排BUS 1至BUS 18之設定,在本發明的部分實施利中,可能需要將硬體資源共用系統100重置(reset),因此當要根據更新後之預設連線組態CONF’重新設定匯流排BUS 1至BUS 18時,可將電腦主機C 1至C 9關機或離線,以避免原本仍在運作中的電腦主機因為無法連接到對應的周邊裝置而無法正常運作。 On the other hand, if the user wants to reduce the number of computer hosts that the hardware resource sharing system 100 can support and increase the number of peripheral devices that can be supported, the shared resource controller 120 can configure CONF' according to the updated preset connection. The busbars BUS 1 to BUS 18 are originally set to be part of the busbars BUS 1 to BUS 9 and the busbars are changed to be set as peripheral device busbars. For example, the busbars BUS 7 and BUS 9 are changed to be set as peripheral device sinks. row. Thereafter, the hardware resource sharing system 100 will not obtain information about the host computer from the bus BUS 7 to BUS 9 . In order to enable the shared resource controller 120 to change the settings of the bus bars BUS 1 to BUS 18 according to the updated preset connection configuration CONF', in some implementations of the present invention, it may be necessary to add the hardware resource sharing system 100 Reset, so when you want to reset the bus BUS 1 to BUS 18 according to the updated preset connection configuration CONF', you can shut down or offline the computer hosts C 1 to C 9 to avoid the original operation. The computer host in the computer cannot operate normally because it cannot be connected to the corresponding peripheral device.

透過硬體資源共用系統100,不同的電腦主機就能夠共用相同的周邊裝置,而透過共用資源控制器120,不僅能夠動態地調整電腦主機與周邊裝置之間的連線,還可以方便使用者以熱插拔的方式將周邊裝置耦接至硬體資源共用系統100,因此能夠不僅增加硬體共用的效率,同時也大大提升了使用上的彈性。Through the hardware resource sharing system 100, different computer hosts can share the same peripheral device, and the shared resource controller 120 can not only dynamically adjust the connection between the host computer and peripheral devices, but also facilitate the user. The hot plugging method couples the peripheral device to the hardware resource sharing system 100, thereby not only increasing the efficiency of the hardware sharing, but also greatly improving the flexibility in use.

第3圖為本發明一實施例之連線橋接平台110的操作方法200的流程圖。方法200包含步驟S210至S274。FIG. 3 is a flow chart of a method 200 of operating the connection bridge platform 110 in accordance with an embodiment of the present invention. Method 200 includes steps S210 through S274.

S210: 根據預設連線組態CONF將匯流排BUS 1至BUS 18分別設定為複數個周邊裝置匯流排BUS 1至BUS 9及複數個電腦主機匯流排BUS 10至BUS 18S210: According to the preset connection configuration CONF, the bus bars BUS 1 to BUS 18 are respectively set to a plurality of peripheral device bus bars BUS 1 to BUS 9 and a plurality of computer host bus bars BUS 10 to BUS 18 ;

S220: 根據預設連線組態CONF建立電腦主機匯流排BUS 1至BUS 9與周邊裝置匯流排BUS 10至BUS 18之間的電性連接; S220: Establish an electrical connection between the computer host bus bars BUS 1 to BUS 9 and the peripheral device bus bars BUS 10 to BUS 18 according to the preset connection configuration CONF;

S230: 當有電腦主機耦接至電腦主機匯流排並執行周邊元件快速互連匯流排掃描功能時,根據預設連線組態CONF將對應於其電腦主機之電腦主機匯流排之複數個周邊裝置匯流排所對應之複數個周邊裝置的使用資訊回傳給電腦主機,以使其電腦主機預留使用周邊裝置所需的記憶體區段;S230: When a computer host is coupled to the computer host bus and performs peripheral component fast interconnection bus scanning function, the CONF corresponding to the computer host busbar of the computer host is configured according to the preset connection. The usage information of the plurality of peripheral devices corresponding to the bus bar is transmitted back to the computer host, so that the computer host reserves the memory segment required for using the peripheral device;

S240: 當有電腦主機欲使用尚未耦接至周邊裝置匯流排的周邊裝置時,發送忙碌訊息至欲使用尚未耦接至周邊裝置匯流排之周邊裝置的電腦主機;S240: When a computer host wants to use a peripheral device that is not coupled to the peripheral device busbar, send a busy message to a computer host that wants to use a peripheral device that is not coupled to the peripheral device busbar;

S250: 當有電腦主機欲使用已耦接至對應之周邊裝置匯流排之特定周邊裝置時,建立其電腦主機所對應之電腦主機匯流排及對應之周邊裝置匯流排之間的電性連接;S250: When a computer host wants to use a specific peripheral device that is coupled to the corresponding peripheral device busbar, establish an electrical connection between the computer host busbar corresponding to the computer host and the corresponding peripheral device busbar;

S260: 當有電腦主機欲使用已被其他電腦主機占用之周邊裝置時,發送忙碌訊息至欲使用已被其他電腦主機占用之周邊裝置的電腦主機;S260: When a computer host wants to use a peripheral device that has been occupied by another computer host, send a busy message to a computer host that wants to use a peripheral device that has been occupied by another computer host;

S270: 當使用者是否欲更新預設連線組態CONF時,將預設連線組態CONF更新為更新後之預設連線組態CONF’;S270: When the user wants to update the preset connection configuration CONF, the preset connection configuration CONF is updated to the updated preset connection configuration CONF';

S272: 根據更新後之預設連線組態CONF’ 重新將匯流排BUS 1至BUS 18分別設定為電腦主機匯流排及周邊裝置匯流排; S272: According to the updated preset connection configuration CONF', the bus bars BUS 1 to BUS 18 are respectively set as the computer main bus and the peripheral device bus;

S274: 根據更新後之預設連線組態CONF’建立電腦主機匯流排與周邊裝置匯流排之間的電性連接。S274: Establish an electrical connection between the computer main bus and the peripheral device bus according to the updated preset connection configuration CONF'.

在步驟S210及S220中,會先根據預設連線組態CONF將匯流排BUS 1至BUS 18分別設定為複數個周邊裝置匯流排及複數個電腦主機匯流排,並建立電腦主機匯流排與周邊裝置匯流排之間的電性連接。 In steps S210 and S220, the bus bars BUS 1 to BUS 18 are respectively set to a plurality of peripheral device bus bars and a plurality of computer host bus bars according to the preset connection configuration CONF, and the computer host bus bar and the periphery are established. Electrical connection between the device busbars.

在步驟S230中,當電腦主機C 1耦接至電腦主機匯流排BUS 1至BUS 18之電腦主機匯流排BUS 1,並執行周邊元件快速互連匯流排掃描功能時,步驟S230會根據預設連線組態將對應於電腦主機匯流排BUS 1之周邊裝置匯流排BUS 10至BUS 18所對應之周邊裝置B 1至B 9的使用資訊回傳給電腦主機C 1,以使電腦主機C 1預留使用周邊裝置B 1至B 9所需的記憶體區段。 In step S230, when the host computer C 1 is coupled to the computer host bus BUS BUS. 1 to 18 of the host computer bus BUS. 1, and performs a quick scan function peripheral element interconnect bus, step S230 will be connected by default line corresponding to the configuration of the host computer bus to the peripheral device B 10 corresponding to the BUS BUS 18 is a peripheral device of a bus BUS 1 to B 9 using information back to the host computer C 1, so that the host computer C 1 pre leaving the desired use of the peripheral device B 1 to B memory section. 9.

在步驟S240中,當電腦主機C 1欲使用所對應之周邊裝置B 1至B 9之特定周邊裝置B 1,且周邊裝置B 1並未耦接至對應的周邊裝置匯流排BUS 10時,步驟S240會發送忙碌訊息至電腦主機C 1In step S240, when the computer host C 1 wants to use the specific peripheral device B 1 of the corresponding peripheral devices B 1 to B 9 , and the peripheral device B 1 is not coupled to the corresponding peripheral device bus bar BUS 10 , the steps The S240 will send a busy message to the host computer C 1 .

而當電腦主機C1所欲使用之周邊裝置B 1已耦接至對應的周邊裝置匯流排BUS 10時,倘若電腦主機匯流排BUS 1與周邊裝置匯流排BUS 10之間的尚未有電性連接,則步驟S250會建立電腦主機匯流排BUS 1與對應之周邊裝置匯流排BUS n+1之間的電性連接;然而若電腦主機匯流排BUS 1與周邊裝置匯流排BUS 10之間原來已有電性連接,則步驟S250即無須另外建立新的電性連接。 When desired to use the host computer C1 peripheral device B 1 is coupled to a corresponding peripheral device bus BUS 10, the bus BUS 1 if the host computer and a peripheral device bus yet electrical connection between the BUS 10, Step S250 will establish an electrical connection between the computer host bus BUS 1 and the corresponding peripheral device bus BUS n+1 ; however, if the computer host bus BUS 1 and the peripheral device bus BUS 10 have the original electricity If the connection is made, then step S250 does not need to establish a new electrical connection.

在本發明的部分實施例中,方法200會持續的進行步驟S230、S240、S250、S260及S270以判斷連線橋接平台110與外部電腦主機或周邊裝置的連接情況,並作對應地處置。此外,本發明並不以上述的步驟順序為限,在本發明的部分實施例中,方法200之步驟S230、S240、S250、S260及S270的判斷順序也可以互相交換。In some embodiments of the present invention, the method 200 continues to perform steps S230, S240, S250, S260, and S270 to determine the connection between the connection bridge platform 110 and an external computer host or peripheral device, and to perform corresponding processing. Further, the present invention is not limited to the above-described sequence of steps. In some embodiments of the present invention, the order of determination of steps S230, S240, S250, S260, and S270 of the method 200 may be interchanged.

因此當電腦主機C 2耦接至電腦主機匯流排BUS 2,並執行周邊元件快速互連匯流排掃描功能時,步驟S230也會根據預設連線組態CONF將對應於電腦主機匯流排BUS 2之複數個周邊裝置匯流排BUS 10及BUS 11所對應之周邊裝置B 1及B 2的使用資訊回傳給電腦主機C 2,以使電腦主機C 2預留使用所對應之周邊裝置B 1及B 2所需的記憶體區段。 Therefore, when the computer host C 2 is coupled to the computer bus BUS 2 and performs the peripheral component quick interconnect bus scanning function, step S230 will also correspond to the computer host bus BUS 2 according to the preset connection configuration CONF. The usage information of the peripheral devices B 1 and B 2 corresponding to the plurality of peripheral devices BUS 10 and BUS 11 is transmitted back to the computer host C 2 so that the computer host C 2 reserves the corresponding peripheral device B 1 and The memory segment required for B 2 .

接著,當電腦主機C 1佔用周邊裝置B 1,且電腦主機C 2欲使用周邊裝置B 1時,步驟S260會發送忙碌訊息至電腦主機C 2Then, when the computer host C 1 occupies the peripheral device B 1 and the computer host C 2 wants to use the peripheral device B 1 , step S260 sends a busy message to the computer host C 2 .

再者,當使用者欲更新預設連線組態CONF時,步驟S270會將預設連線組態CONF更新為更新後之預設連線組態CONF’,並進入步驟S272,根據更新後之預設連線組態CONF’將重新將匯流排BUS 1至BUS 18分別設定為電腦主機匯流排及周邊裝置匯流排,例如將原先設定為周邊裝置匯流排之至少一匯流排改成設定為至少一電腦主機匯流排,及/或將原先設定為電腦主機匯流排之至少一匯流排改成設定為至少一周邊裝置匯流排。接著,進入步驟S274根據更新後之預設連線組態CONF’建立調整後的電腦主機匯流排與調整後的周邊裝置匯流排之間的電性連接。 Furthermore, when the user wants to update the preset connection configuration CONF, step S270 updates the preset connection configuration CONF to the updated preset connection configuration CONF', and proceeds to step S272, according to the update. The preset connection configuration CONF' will re-set the bus bars BUS 1 to BUS 18 as the computer main bus and the peripheral device bus, for example, the at least one bus bar originally set as the peripheral device bus bar is changed to be set to At least one computer bus bar, and/or at least one bus bar originally set as a computer host bus bar is set to be set to at least one peripheral device bus bar. Then, proceeding to step S274, an electrical connection between the adjusted computer host busbar and the adjusted peripheral device busbar is established according to the updated preset connection configuration CONF'.

透過方法200,不同的電腦主機就能夠透過連線橋接平台110共用相同的周邊裝置,並且能夠動態地調整電腦主機與周邊裝置之間的連線,還可以方便使用者以熱插拔的方式將周邊裝置耦接至連線橋接平台110,因此能夠不僅增加硬體共用的效率,同時也大大提升了使用上的彈性。Through the method 200, different computer hosts can share the same peripheral device through the connection bridge platform 110, and can dynamically adjust the connection between the host computer and the peripheral device, and can also be conveniently inserted by the user in a hot swap manner. The peripheral device is coupled to the connection bridge platform 110, thereby not only increasing the efficiency of the hardware sharing, but also greatly improving the flexibility in use.

綜上所述,本發明之實施例所提供的硬體資源共用系統及連線橋接平台的操作方法能夠透過使不同的電腦主機共用相同的周邊裝置,並且能夠動態地調整電腦主機與周邊裝置之間的連線,還可以方便使用者以熱插拔的方式將周邊裝置耦接至連線橋接平台,因此能夠不僅增加硬體共用的效率,同時也大大提升了使用上的彈性。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。In summary, the hardware resource sharing system and the method for operating the connection bridge platform provided by the embodiments of the present invention can dynamically adjust the host computer and peripheral devices by sharing the same peripheral devices by different computer hosts. The connection between the two can also facilitate the user to connect the peripheral device to the connection bridge platform by hot plugging, thereby not only increasing the efficiency of the hardware sharing, but also greatly improving the flexibility of use. The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

100‧‧‧硬體資源共用系統
110‧‧‧連線橋接平台
120‧‧‧共用資源控制器
BUS1至BUS18‧‧‧匯流排
SW1至SW9‧‧‧橋接裝置
C1至C9‧‧‧電腦主機
B1至B9‧‧‧周邊裝置
CONF‧‧‧預設連線組態
CONF’‧‧‧更新後之預設連線組態
200‧‧‧方法
S210至S274‧‧‧步驟
100‧‧‧ hardware resource sharing system
110‧‧‧Connected bridge platform
120‧‧‧Shared resource controller
BUS 1 to BUS 18 ‧‧ ‧ busbar
SW 1 to SW 9 ‧‧‧Bridges
C 1 to C 9 ‧‧‧ Computer Host
B 1 to B 9 ‧‧‧ Peripheral devices
CONF‧‧‧Preset connection configuration
Pre-wired configuration after CONF'‧‧‧ update
200‧‧‧ method
Steps S210 to S274‧‧

第1圖為本發明一實施例之硬體資源共用系統的示意圖。 第2圖為第1圖之硬體資源共用系統的使用狀態示意圖。 第3圖為本發明一實施例之連線橋接平台的操作方法流程圖。FIG. 1 is a schematic diagram of a hardware resource sharing system according to an embodiment of the present invention. Fig. 2 is a schematic diagram showing the state of use of the hardware resource sharing system of Fig. 1. FIG. 3 is a flow chart showing an operation method of the connection bridge platform according to an embodiment of the present invention.

200‧‧‧方法 200‧‧‧ method

S210至S274‧‧‧步驟 Steps S210 to S274‧‧

Claims (12)

一種硬體資源共用系統,包含: 一連線橋接平台,包含複數個匯流排及複數個橋接裝置,該些匯流排係為支援周邊元件快速互連(Peripheral component interconnect express,PCIE)之傳輸格式的匯流排;及 一共用資源控制器,耦接於該連線橋接平台,用以根據一預設連線組態控制該連線橋接平台以將該些匯流排分別設定為複數個周邊裝置匯流排及複數個電腦主機匯流排,及根據該預設連線組態控制該連線橋接平台以建立該些電腦主機匯流排與該些周邊裝置匯流排之間的電性連接; 其中: 該預設連線組態包含該硬體資源共用系統所預設可支援之周邊裝置的數量、種類及/或使用資訊、可支援之電腦主機的數量、及該些匯流排與該些橋接裝置之間的預設連接組態; 該些電腦主機匯流排係用以與外部的電腦主機相耦接; 該些周邊裝置匯流排係用以與外部的周邊裝置相耦接;及 當一第一電腦主機耦接至該些電腦主機匯流排之一第一電腦主機匯流排,並執行一周邊元件快速互連匯流排掃描功能時,該共用資源控制器根據該預設連線組態將對應於該第一電腦主機匯流排之複數個周邊裝置匯流排所對應之複數個周邊裝置的種類及/或使用資訊回傳給該第一電腦主機,以使該第一電腦主機預留使用該些周邊裝置所需的記憶體區段。A hardware resource sharing system includes: a connection bridge platform, comprising a plurality of bus bars and a plurality of bridge devices, wherein the bus channels are supported by a Peripheral Component Interconnect Express (PCIE) transmission format. And a shared resource controller coupled to the connection bridge platform for controlling the connection bridge platform according to a preset connection configuration to set the bus bars to a plurality of peripheral device busbars respectively And a plurality of computer host bus bars, and controlling the connection bridge platform according to the preset connection configuration to establish an electrical connection between the computer host bus bars and the peripheral device bus bars; wherein: the preset The connection configuration includes the number, type, and/or usage information of peripheral devices that are supported by the hardware resource sharing system, the number of computer hosts that can be supported, and the between the bus bars and the bridge devices. Preset connection configuration; the computer mainframe bus is coupled to an external computer host; the peripheral devices are connected to external peripheral devices Coupling; and when a first computer host is coupled to one of the computer host busbars of the first computer host bus and performs a peripheral component quick interconnect bus bar scanning function, the shared resource controller is configured according to the The connection configuration is to return the type and/or usage information of the plurality of peripheral devices corresponding to the plurality of peripheral device bus bars of the first computer host bus to the first computer host, so that the first The host computer reserves the memory segments required for the peripheral devices. 如請求項1所述之硬體資源共用系統,其中當該第一電腦主機欲使用所對應之該些周邊裝置之一特定周邊裝置,且該特定周邊裝置並未耦接至該些周邊裝置匯流排中的一對應周邊裝置匯流排時,該共用資源控制器發送一忙碌訊息至該第一電腦主機。The hardware resource sharing system of claim 1, wherein the first computer host wants to use a specific peripheral device corresponding to one of the peripheral devices, and the specific peripheral device is not coupled to the peripheral device confluence When a corresponding peripheral device is in the bank, the shared resource controller sends a busy message to the first computer host. 如請求項1所述之硬體資源共用系統,其中當該第一電腦主機欲使用所對應之該些周邊裝置之一特定周邊裝置,且該特定周邊裝置已耦接至該些周邊裝置匯流排中的一對應周邊裝置匯流排時,該共用資源控制器控制該連線橋接平台以建立該第一電腦主機匯流排與該對應周邊裝置匯流排之間的電性連接。The hardware resource sharing system of claim 1, wherein the first computer host wants to use a specific peripheral device corresponding to one of the peripheral devices, and the specific peripheral device is coupled to the peripheral device bus When a corresponding peripheral device is connected to the bus, the shared resource controller controls the connection bridge platform to establish an electrical connection between the first computer host bus and the corresponding peripheral device bus. 如請求項1所述之硬體資源共用系統,其中: 當一第二電腦主機耦接至該些電腦主機匯流排之一第二電腦主機匯流排,並執行該周邊元件快速互連匯流排掃描功能時,該共用資源控制器根據該預設連線組態將對應於該第二電腦主機匯流排之複數個周邊裝置匯流排所對應之複數個周邊裝置的使用資訊回傳給該第二電腦主機,以使該第二電腦主機預留使用所對應之該些周邊裝置所需的記憶體區段;及 該第一電腦主機匯流排與該第二電腦主機匯流排係共同對應於至少一周邊裝置。The hardware resource sharing system of claim 1, wherein: a second computer host is coupled to the second computer host bus of one of the computer host bus bars, and the peripheral component fast interconnect bus bar scan is performed. In the function, the shared resource controller returns the usage information of the plurality of peripheral devices corresponding to the plurality of peripheral device bus bars corresponding to the second computer host bus bar to the second computer according to the preset connection configuration. a host, such that the second computer host reserves the memory segment required for the peripheral devices; and the first computer host bus and the second computer host bus line correspond to at least one periphery Device. 如請求項4所述之硬體資源共用系統,其中: 當該第一電腦主機佔用該第一電腦主機匯流排與該第二電腦主機匯流排所共同對應之一特定周邊裝置,且該第二電腦主機欲使用該特定周邊裝置時,該共用資源控制器發送一忙碌訊息至該第二電腦主機。The hardware resource sharing system of claim 4, wherein: the first computer host occupies a specific peripheral device corresponding to the first computer host bus and the second computer host bus, and the second When the host computer wants to use the specific peripheral device, the shared resource controller sends a busy message to the second computer host. 如請求項1所述之硬體資源共用系統,其中該共用資源控制器另用以根據一更新後之預設連線組態重新將該些匯流排分別設定為複數個電腦主機匯流排及複數個周邊裝置匯流排。The hardware resource sharing system of claim 1, wherein the shared resource controller is further configured to re-set the bus bars to a plurality of computer host bus bars and plurals according to an updated preset connection configuration. A peripheral device bus. 一種連線橋接平台的操作方法,該連線橋接平台包含複數個匯流排及複數個橋接裝置,該方法包含: 根據一預設連線組態將該些匯流排分別設定為複數個周邊裝置匯流排及複數個電腦主機匯流排; 根據該預設連線組態建立該些電腦主機匯流排與該些周邊裝置匯流排之間的電性連接;及 當一第一電腦主機耦接至該些電腦主機匯流排之一第一電腦主機匯流排,並執行一周邊元件快速互連匯流排掃描功能時,根據該預設連線組態將對應於該第一電腦主機匯流排之複數個周邊裝置匯流排所對應之複數個周邊裝置的使用資訊回傳給該第一電腦主機,以使該第一電腦主機預留使用該些周邊裝置所需的記憶體區段。A method for operating a connection bridge platform, the connection bridge platform comprising a plurality of bus bars and a plurality of bridge devices, the method comprising: setting the bus bars to a plurality of peripheral device convergences according to a preset connection configuration And a plurality of computer mainframe busbars; establishing an electrical connection between the computer mainframe busbars and the peripheral device busbars according to the preset connection configuration; and when a first computer host is coupled to the When one of the computer mainframe busbars is connected to the first computer mainframe bus and performs a peripheral component quick interconnection busbar scanning function, according to the preset connection configuration, a plurality of peripheral devices corresponding to the first computer host busbar are corresponding The usage information of the plurality of peripheral devices corresponding to the bus bar is returned to the first computer host, so that the first computer host reserves the memory segment required for using the peripheral devices. 如請求項7所述之連線橋接平台的操作方法,另包含: 當該第一電腦主機欲使用所對應之該些周邊裝置之一特定周邊裝置,且該特定周邊裝置並未耦接至該些周邊裝置匯流排中的一對應周邊裝置匯流排時,發送一忙碌訊息至該第一電腦主機。The method for operating the connection bridge platform of claim 7, further comprising: when the first computer host wants to use a specific peripheral device corresponding to one of the peripheral devices, and the specific peripheral device is not coupled to the When a peripheral device in the peripheral device bus bar is connected to the bus, a busy message is sent to the first computer host. 如請求項7所述之連線橋接平台的操作方法,另包含: 當該第一電腦主機欲使用所對應之該些周邊裝置之一特定周邊裝置,且該特定周邊裝置已耦接至該些周邊裝置匯流排中的一對應周邊裝置匯流排時,建立該第一電腦主機匯流排與該對應周邊裝置匯流排之間的電性連接。The method for operating the connection bridge platform of claim 7, further comprising: when the first computer host wants to use a specific peripheral device corresponding to one of the peripheral devices, and the specific peripheral device is coupled to the When a corresponding peripheral device busbar in the peripheral device busbar is connected to the busbar, an electrical connection between the first computer host busbar and the corresponding peripheral device busbar is established. 如請求項7所述之連線橋接平台的操作方法,另包含: 當一第二電腦主機耦接至該些電腦主機匯流排之一第二電腦主機匯流排,並執行該周邊元件快速互連匯流排掃描功能時,根據該預設連線組態將對應於該第二電腦主機匯流排之複數個周邊裝置匯流排所對應之複數個周邊裝置的使用資訊回傳給該第二電腦主機,以使該第二電腦主機預留使用所對應之該些周邊裝置所需的記憶體區段;及 其中該第一電腦主機匯流排與該第二電腦主機匯流排係共同對應於至少一周邊裝置。The method for operating the connection bridge platform of claim 7, further comprising: coupling a second computer host to the second computer host bus of the computer bus and performing fast interconnection of the peripheral components When the bus scanning function is performed, the usage information of the plurality of peripheral devices corresponding to the plurality of peripheral device bus bars corresponding to the second computer host bus bar is returned to the second computer host according to the preset connection configuration. So that the second computer host reserves the memory segment required for the peripheral devices corresponding thereto; and the first computer host bus bar and the second computer host bus bar line correspond to at least one peripheral device . 如請求項10所述之連線橋接平台的操作方法,另包含: 當該第一電腦主機佔用該第一電腦主機匯流排與該第二電腦主機匯流排所共同對應之一特定周邊裝置,且該第二電腦主機欲使用該特定周邊裝置時,發送一忙碌訊息至該第二電腦主機。The method for operating the connection bridge platform according to claim 10, further comprising: when the first computer host occupies a specific peripheral device corresponding to the first computer host bus bar and the second computer host bus bar, and When the second computer host wants to use the specific peripheral device, a busy message is sent to the second computer host. 如請求項7所述之連線橋接平台的操作方法,另包含: 將該預設連線組態更新為一更新後之預設連線組態;及 根據該更新後之預設連線組態重新將該些匯流排分別設定為複數個電腦主機匯流排及複數個周邊裝置匯流排。The method for operating the connection bridge platform according to claim 7, further comprising: updating the preset connection configuration to an updated preset connection configuration; and according to the updated preset connection group The state re-sets the bus bars into a plurality of computer host bus bars and a plurality of peripheral device bus bars.
TW105140382A 2016-12-07 2016-12-07 Hardware resource sharing system and method for operating a switching fabric TWI582597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105140382A TWI582597B (en) 2016-12-07 2016-12-07 Hardware resource sharing system and method for operating a switching fabric

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105140382A TWI582597B (en) 2016-12-07 2016-12-07 Hardware resource sharing system and method for operating a switching fabric

Publications (2)

Publication Number Publication Date
TWI582597B true TWI582597B (en) 2017-05-11
TW201822000A TW201822000A (en) 2018-06-16

Family

ID=59367681

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105140382A TWI582597B (en) 2016-12-07 2016-12-07 Hardware resource sharing system and method for operating a switching fabric

Country Status (1)

Country Link
TW (1) TWI582597B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100077117A1 (en) * 2008-09-22 2010-03-25 Micron Technology, Inc. SATA MASS STORAGE DEVICE EMULATION ON A PCIe INTERFACE
TW201439898A (en) * 2013-03-11 2014-10-16 Lsi Corp System, method and computer-readable medium for dynamic cache sharing in a flash-based caching solution supporting virtual machines
TW201541263A (en) * 2011-10-31 2015-11-01 Iii Holdings 2 Llc System board and node cards for system and method for modular compute provisioning in large scalable processor installations
US20160328333A1 (en) * 2014-12-23 2016-11-10 Yao Zu Dong Apparatus and method for managing a virtual graphics processor unit (vgpu)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100077117A1 (en) * 2008-09-22 2010-03-25 Micron Technology, Inc. SATA MASS STORAGE DEVICE EMULATION ON A PCIe INTERFACE
TW201541263A (en) * 2011-10-31 2015-11-01 Iii Holdings 2 Llc System board and node cards for system and method for modular compute provisioning in large scalable processor installations
TW201439898A (en) * 2013-03-11 2014-10-16 Lsi Corp System, method and computer-readable medium for dynamic cache sharing in a flash-based caching solution supporting virtual machines
US20160328333A1 (en) * 2014-12-23 2016-11-10 Yao Zu Dong Apparatus and method for managing a virtual graphics processor unit (vgpu)

Also Published As

Publication number Publication date
TW201822000A (en) 2018-06-16

Similar Documents

Publication Publication Date Title
US11200079B2 (en) System and method for virtual machine live migration
CN110312999B (en) Dynamic partitioning of PCIe disk arrays based on software configuration/policy distribution
TWI364663B (en) Configurable pci express switch and method controlling the same
TWI328168B (en) Method of and circuitry for reconfiguring links of a pci express bus of an information handling system, and information handling system
US20190384642A1 (en) Ultraconverged systems having multiple availability zones
WO2016107023A1 (en) Cloud server system
CN102497432B (en) Multi-path accessing method for input/output (I/O) equipment, I/O multi-path manager and system
US11573917B2 (en) Low latency computing architecture
CN113177018B (en) Server using double-slot CPU
WO2024103829A1 (en) Port configuration method, component, and hard disk expansion apparatus
US20210224216A1 (en) Configurable usb-c alternate mode for multi-level controller communication
CN105763488B (en) Data center aggregation core switch and backboard thereof
CN108090004B (en) Hardware resource sharing system and operation method of connection bridging platform
TWI582597B (en) Hardware resource sharing system and method for operating a switching fabric
TWI804719B (en) Processor/endpoint communication coupling configuration system
CN106030561A (en) Computing system control
WO2022186997A1 (en) Job target aliasing in disaggregated computing systems
TWI591483B (en) Switch system
CN108701117B (en) Interconnection system, interconnection control method and device
JP2017111597A (en) Bandwidth setting method, bandwidth setting program, information processor, and information processing system
CN114741347B (en) PCIe card control method and device and PCIe card
CN112835837B (en) Method for establishing data connection, related device and computer program product
CN113709066B (en) PCIe communication device and BMC
JP5943110B1 (en) Information processing system, information processing method, and program
CN117251039A (en) Equipment resetting method and device, storage medium and electronic equipment