TWI731562B - Setting method, system, device and computer readable medium of configuration of mainboard expansion slot - Google Patents
Setting method, system, device and computer readable medium of configuration of mainboard expansion slot Download PDFInfo
- Publication number
- TWI731562B TWI731562B TW109102173A TW109102173A TWI731562B TW I731562 B TWI731562 B TW I731562B TW 109102173 A TW109102173 A TW 109102173A TW 109102173 A TW109102173 A TW 109102173A TW I731562 B TWI731562 B TW I731562B
- Authority
- TW
- Taiwan
- Prior art keywords
- configuration
- expansion slot
- motherboard
- setting
- motherboard expansion
- Prior art date
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本發明係關於通訊技術領域,特別係關於一種PCIE槽的配置設置方法、系統、裝置及電腦可讀取媒體。The present invention relates to the field of communication technology, in particular to a PCIE slot configuration setting method, system, device and computer readable medium.
在先前主機板擴充插槽設置為自動化的時候,其實是五種設置(X16/X8x8/X4x4x8/X8x4x4/X4x4x4x4)的其中一個,並沒有達到含義的自動選項的實現。對於主機板擴充插槽自動調整配置主要有兩種實現方法,一個是根據BMC FRU(BMC:Baseboard Management Controller,為基板管理控制器;FRU:Field Replaceable Unit,為可現場更換單元)的資訊來設置,另外一個是根據識別到的設備的頻寬來設置,其缺點是BIOS(Basic Input Output System,為基本輸入輸出系統)執行到中期才能獲取到FRU資訊及識別到設備,導致設置完主機板擴充插槽後,BIOS還需要重啟一次,另外讀取FRU還需在BMC運行正常的情況下才能執行。When the previous motherboard expansion slot was set to automatic, it was actually one of the five settings (X16/X8x8/X4x4x8/X8x4x4/X4x4x4x4), and it did not achieve the meaning of the automatic option. There are two main ways to automatically adjust the configuration of the motherboard expansion slot. One is to set according to the information of BMC FRU (BMC: Baseboard Management Controller; FRU: Field Replaceable Unit). The other one is to set according to the bandwidth of the identified device. The disadvantage is that the BIOS (Basic Input Output System, for the basic input output system) can only obtain FRU information and identify the device until the middle of the execution, which leads to the motherboard expansion after the setting is completed. After the slot is installed, the BIOS needs to be restarted once, and reading the FRU also needs to be executed when the BMC is running normally.
因此,希望能夠解決如何進行主機板擴充插槽的配置的自動設定,不需要進行基本輸入輸出系統的重啟的問題。Therefore, it is hoped that the problem of how to automatically set the configuration of the expansion slot of the motherboard can be solved without restarting the basic input output system.
鑒於上述,本發明提供一種以滿足上述需求的主機板擴充插槽的配置設置方法、系統、裝置及電腦可讀取媒體,用以解決現有技術中如何進行主機板擴充插槽的配置的自動設定,不需要進行基本輸入輸出系統的重啟的問題。In view of the above, the present invention provides a method, system, device, and computer readable medium for the configuration and setting of the motherboard expansion slot to meet the above requirements, so as to solve how to automatically set the configuration of the motherboard expansion slot in the prior art , There is no need to restart the basic input output system.
依據本發明一實施例的主機板擴充插槽的配置設置方法,該方法包含:判斷一主機版擴充插槽的配置是否為自動設定;當主機版擴充插槽的配置為自動設定時,基於一第一預設規則完成該主機版擴充插槽的配置的設定;以及當主機版擴充插槽的配置不為自動設定時,按照一預設值完成該主機版擴充插槽的配置的設定。According to an embodiment of the present invention, a method for configuring the expansion slot of a motherboard includes: determining whether the configuration of a motherboard expansion slot is automatically set; when the configuration of the motherboard expansion slot is automatically set, based on a The first preset rule completes the configuration setting of the console version expansion slot; and when the configuration of the console version expansion slot is not automatically set, the configuration setting of the console version expansion slot is completed according to a preset value.
於本發明的一實施例中,基於該第一預設規則完成該主機版擴充插槽的配置的設定包含:藉由一基本輸入輸出系統讀取該主機板擴充插槽的三個通用輸入/輸出口的值;以及基於一第二預設規則依據該三個通用輸入/輸出口的值設定該主機板擴充插槽的配置。In an embodiment of the present invention, completing the configuration setting of the motherboard expansion slot based on the first preset rule includes: reading the three universal inputs of the motherboard expansion slot through a basic input output system. The value of the output port; and the configuration of the expansion slot of the motherboard is set according to the value of the three universal input/output ports based on a second preset rule.
於本發明的一實施例中,其中該主機版擴充插槽的配置包含X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4。In an embodiment of the present invention, the configuration of the mainframe expansion slot includes X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4.
於本發明的一實施例中,其中該第二預設規則係:該主機版擴充插槽的配置X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4分別對應三個通用輸入/輸出口的值為五個不同的三位二進位制的數值。In an embodiment of the present invention, the second preset rule is: the configuration of the console version expansion slot X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4 respectively correspond to five different values of the three universal input/output ports The value of the three-digit binary system.
依據本發明一實施例的主機板擴充插槽的配置設置系統,包含:一自動設定判斷模組,用以判斷一主機板擴充插槽的配置是否為自動設定;一第一設定模組,用以當該主機板擴充插槽的配置為自動設定時,基於一第一預設規則完成該主機板擴充插槽的配置的設定;以及一第二設定模組,用以當該主機板擴充插槽的配置不為自動設定時,按照一預設值完成該主機板擴充插槽的配置的設定。According to an embodiment of the present invention, a motherboard expansion slot configuration setting system includes: an automatic setting judging module for judging whether the configuration of a motherboard expansion slot is automatically set; a first setting module using When the configuration of the motherboard expansion slot is automatically set, the configuration of the motherboard expansion slot configuration is completed based on a first preset rule; and a second configuration module is used when the motherboard expansion slot When the slot configuration is not set automatically, the configuration of the motherboard expansion slot configuration is completed according to a preset value.
於本發明的一實施例中,其中該第一設定模組更用以:藉由一基本輸入輸出系統讀取該主機板擴充插槽的三個通用輸入/輸出口的值,以及基於一第二預設規則依據該三個通用輸入/輸出口的值設定該主機板擴充插槽的配置。In an embodiment of the present invention, the first setting module is further used for: reading the values of the three universal input/output ports of the motherboard expansion slot by a basic input output system, and based on a first The second preset rule sets the configuration of the expansion slot of the motherboard according to the values of the three universal input/output ports.
於本發明的一實施例中,其中該主機版擴充插槽的配置包含X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4。In an embodiment of the present invention, the configuration of the mainframe expansion slot includes X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4.
於本發明的一實施例中,其中該第二預設規則係:該主機版擴充插槽的配置X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4分別對應三個通用輸入/輸出口的值為五個不同的三位二進位制的數值。In an embodiment of the present invention, the second preset rule is: the configuration of the console version expansion slot X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4 respectively correspond to five different values of the three universal input/output ports The value of the three-digit binary system.
於本發明的一實施例中,一電腦程式被一處理器執行,以執行上述的任一項的該主機板擴充插槽的配置設置方法。In an embodiment of the present invention, a computer program is executed by a processor to execute any one of the above-mentioned methods for configuring and setting the expansion slot of the motherboard.
依據本發明一實施例的電腦可讀取媒體,存儲有一電腦程式,其中該電腦程式被以一處理器執行時實現任一上述該主機板擴充插槽的配置設置方法。A computer readable medium according to an embodiment of the present invention stores a computer program, wherein when the computer program is executed by a processor, any of the above-mentioned methods for configuring and setting the motherboard expansion slot is implemented.
依據本發明一實施例的主機板擴充插槽的配置設置裝置,包含:一記憶體,用以儲存一電腦程式;以及一處理器,連接於該記憶體,該處理器用以執行該記憶體儲存的該電腦程式,以使該主機板擴充插槽的配置設置裝置執行任一上述的該主機板擴充插槽的配置設置方法。An arrangement and setting device for a motherboard expansion slot according to an embodiment of the present invention includes: a memory for storing a computer program; and a processor connected to the memory, the processor for executing the memory storage The computer program to make the configuration setting device of the motherboard expansion slot execute any of the above-mentioned methods for the configuration and setting of the motherboard expansion slot.
如上所述,本發明的一種主機板擴充插槽的配置設置方法、系統、裝置及電腦可讀取媒體,具有以下有益效果:能夠在主機板擴充插槽的配置為自動設定時,完成主機板擴充插槽的配置的設定,不需要基本輸入輸出系統再次重啟,真正達到自動設定。As described above, the method, system, device, and computer-readable medium for the configuration and setting of the motherboard expansion slot of the present invention have the following beneficial effects: it can complete the motherboard when the motherboard expansion slot configuration is automatically set The configuration of the expansion slot does not need to restart the basic input and output system again, and it is truly automatic.
以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the implementation manners are used to demonstrate and explain the spirit and principle of the present invention, and to provide a further explanation of the patent application scope of the present invention.
以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are described in detail in the following embodiments. The content is sufficient to enable anyone familiar with the relevant art to understand the technical content of the present invention and implement it accordingly, and is based on the content disclosed in this specification, the scope of patent application and the drawings. Anyone who is familiar with relevant skills can easily understand the purpose and advantages of the present invention. The following examples further illustrate the viewpoints of the present invention in detail, but do not limit the scope of the present invention by any viewpoint.
需要說明的是,以下實施例中所提供的圖示僅以示意方式說明本發明的基本構想,故圖式中僅顯示與本發明中有關的組件而非按照實際實施時的元件數目、形狀及尺寸繪製,其實際實施時各元件的型態、數量及比例可為一種隨意的變更,且其元件設置型態也可能更為複雜。It should be noted that the illustrations provided in the following embodiments only illustrate the basic idea of the present invention in a schematic manner, so the figures only show the components related to the present invention instead of the number, shape and number of elements in the actual implementation. For the size drawing, the type, quantity, and ratio of each component can be changed at will during actual implementation, and the component setting type may also be more complicated.
本發明的主機板擴充插槽(PCIE Slot)的配置設置方法、系統、裝置及電腦可讀取媒體,能夠在主機板擴充插槽的配置為自動設定時,完成主機板擴充插槽的配置的設定,不需要基本輸入輸出系統再次重啟一次,達到自動設定。The configuration setting method, system, device and computer readable medium of the motherboard expansion slot (PCIE Slot) of the present invention can complete the configuration of the motherboard expansion slot when the configuration of the motherboard expansion slot is automatically set Setting does not need to restart the basic input and output system again to achieve automatic setting.
如圖1a所示,於一實施例中,本發明的PCIE槽的配置設置方法,包含以下步驟:As shown in Figure 1a, in one embodiment, the PCIE slot configuration setting method of the present invention includes the following steps:
S11:判斷主機板擴充插槽的配置是否為自動設定。S11: Determine whether the configuration of the motherboard expansion slot is set automatically.
具體而言,如圖1b所示,本發明的PCIE槽的配置設置方法,包含以下步驟:當有N個主機板擴充插槽時,從第一個所述主機板擴充插槽開始判斷(N=1,N表示第幾個PCIE Slot(主機板擴充插槽))。基本輸入輸出系統依次判斷主機板擴充插槽的配置是否為自動設定(BIOS檢查第N個PCIE Slot是否設置為Auto(自動的))。當主機板擴充插槽的配置為自動設定時,基於第一預設規則完成主機板擴充插槽的配置的設定。藉由基本輸入輸出系統讀取所述主機板擴充插槽的三個通用輸入/輸出口的值(讀取相應的PCIE Slot對應的GPIO0~2的值);基於第二預設規則依據所述三個通用輸入/輸出口的值設定主機板擴充插槽的配置(BIOS依據讀取到的GPIO0~2的值,配置Auto(自動的)實際行為)。檢查是否是最後一個主機板擴充插槽(PCIE Slot),當為「是」時結束;當為「否」時,N=N+1。當主機板擴充插槽的配置不為自動設定時,按照預設值完成主機板擴充插槽的配置的設定。檢查是否是最後一個 PCIE Slot (主機板擴充插槽),當為「是」時結束;當為「否」時,N=N+1。Specifically, as shown in FIG. 1b, the PCIE slot configuration setting method of the present invention includes the following steps: when there are N motherboard expansion slots, start from the first said motherboard expansion slot to determine (N =1, N represents the number of PCIE Slot (motherboard expansion slot)). The basic input and output system sequentially determines whether the configuration of the motherboard expansion slot is automatically set (BIOS checks whether the Nth PCIE Slot is set to Auto (automatic)). When the configuration of the motherboard expansion slot is automatically set, the configuration of the motherboard expansion slot configuration is completed based on the first preset rule. Read the values of the three general-purpose input/output ports of the expansion slot of the motherboard through the basic input and output system (read the values of GPIO0~2 corresponding to the corresponding PCIE Slot); based on the second preset rule The values of the three general-purpose input/output ports set the configuration of the motherboard expansion slot (BIOS configures the actual behavior of Auto (automatic) according to the read value of GPIO0~2). Check whether it is the last PCIE Slot. When it is "Yes", it ends; when it is "No", N=N+1. When the configuration of the motherboard expansion slot is not set automatically, the configuration of the motherboard expansion slot configuration is completed according to the default value. Check whether it is the last PCIE Slot (motherboard expansion slot), when it is "Yes", it ends; when it is "No", N=N+1.
具體而言,還包含依次判斷主機板擴充插槽的配置是否為自動設定,是指所述主機板擴充插槽的數量至少為1個,所述主機板擴充插槽也可以為2個、3個或者其他更多數量,也可以基於本發明的步驟S11、步驟S12、步驟S13對每個主機板擴充插槽進行判斷,依次實現全部主機板擴充插槽的配置的設置。所述自動設定是指所述主機板擴充插槽的配置被預先設置為自動(Auto)。當所述主機板擴充插槽的配置為自動設定時,經由步驟S12完成主機板擴充插槽的配置的設定。當所述主機板擴充插槽的配置不為自動設定時,經由步驟S13完成主機板擴充插槽的配置的設定。Specifically, it also includes sequentially determining whether the configuration of the motherboard expansion slots is automatically set, which means that the number of the motherboard expansion slots is at least one, and the motherboard expansion slots can also be two or three. It is also possible to judge each motherboard expansion slot based on step S11, step S12, and step S13 of the present invention, and realize the configuration setting of all the motherboard expansion slots in turn. The automatic setting means that the configuration of the expansion slot of the motherboard is preset to automatic (Auto). When the configuration of the motherboard expansion slot is automatically set, the configuration of the motherboard expansion slot configuration is completed through step S12. When the configuration of the motherboard expansion slot is not automatically set, the configuration of the motherboard expansion slot configuration is completed through step S13.
步驟S12,當主機板擴充插槽的配置為自動設定時,基於第一預設規則完成主機板擴充插槽的配置的設定。In step S12, when the configuration of the motherboard expansion slot is automatically set, the configuration of the motherboard expansion slot configuration is completed based on the first preset rule.
具體而言,所述基於第一預設規則完成主機板擴充插槽的配置的設定包含以下步驟:通過基本輸入輸出系統讀取所述主機板擴充插槽的三個通用輸入/輸出口的值;基於第二預設規則根據所述三個通用輸入/輸出口的值設定主機板擴充插槽的配置。所述通用輸入/輸出口為GPIO(General-purpose input/output)。Specifically, the completion of the setting of the configuration of the motherboard expansion slot based on the first preset rule includes the following steps: reading the values of the three universal input/output ports of the motherboard expansion slot through the basic input output system ; Based on the second preset rule, the configuration of the motherboard expansion slot is set according to the values of the three universal input/output ports. The general-purpose input/output port is GPIO (General-purpose input/output).
具體而言,所述主機板擴充插槽的配置包含X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4。所述X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4代表現有主機板擴充插槽的配置的具體規格。Specifically, the configuration of the motherboard expansion slot includes X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4. The X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4 represent specific specifications of the configuration of the expansion slots of the existing motherboard.
具體而言,所述第二預設規則為:所述主機板擴充插槽的配置X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4分別對應三個通用輸入/輸出口的值為五個不同的三位二進位制的數值。例如,具體對應數值如下表所示:
即所述主機板擴充插槽的配置X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4分別對應三個通用輸入/輸出口的值為*0*、111、011、110、010。換句話說,當主機板擴充插槽的配置為自動設定時,當通過基本輸入輸出系統讀取所述主機板擴充插槽的三個通用輸入/輸出口的值為*0*(表示第三位和第一位可以為任意值的三位二進位制的數值),則將所述主機板擴充插槽的配置設為X16。That is, the configurations of the motherboard expansion slots X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4 respectively correspond to the values of the three general input/output ports *0*, 111, 011, 110, 010. In other words, when the configuration of the motherboard expansion slot is automatically set, when the value of the three universal input/output ports of the motherboard expansion slot is read through the basic input output system *0* (indicating the third The bit and the first bit can be any value (three-digit binary value), then the configuration of the motherboard expansion slot is set to X16.
或者,基於基本輸入輸出系統讀取所述主機板擴充插槽的三個通用輸入/輸出口的值進行主機板擴充插槽的配置的自動設定,基本輸入輸出系統即可在很前期就讀取對應三個通用輸入/輸出口的值。讀取結束後,按照第二預設規則就可以直接設置主機板擴充插槽的實際運作模式,而不需要基本輸入輸出系統再次重啟一次,真正達到自動設定。顯而易見地,所述主機板擴充插槽的配置X16、X8x8、X4x4x8、X8x4x4和X4x4x4x4分別對應三個通用輸入/輸出口的值為*0*、111、011、110、010僅為示例,所述三個通用輸入/輸出口的值也可以是其他五個不同的三位二進位制的數值。Or, based on the basic input output system reading the values of the three universal input/output ports of the motherboard expansion slot to automatically set the configuration of the motherboard expansion slot, the basic input output system can be read at a very early stage Corresponds to the values of the three general-purpose input/output ports. After the reading is completed, the actual operating mode of the motherboard expansion slot can be directly set according to the second preset rule, without the basic input and output system restarting again, and the automatic setting is truly achieved. Obviously, the configuration of the motherboard expansion slots X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4 respectively corresponds to the values of the three general-purpose input/output ports *0*, 111, 011, 110, 010, which are just examples. The values of the three general-purpose input/output ports can also be other five different three-digit binary values.
步驟S13,當主機板擴充插槽的配置不為自動設定時,按照預設值完成主機板擴充插槽的配置的設定。In step S13, when the configuration of the motherboard expansion slot is not set automatically, the configuration of the motherboard expansion slot configuration is completed according to the preset value.
具體而言,所述預設值是指所述主機板擴充插槽的配置包含X16、X8x8、X4x4x8、X8x4x4和X4x4x4x4的其中一種。即所述主機板擴充插槽的配置設定為X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4的其中一種。Specifically, the preset value means that the configuration of the motherboard expansion slot includes one of X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4. That is, the configuration of the motherboard expansion slot is set to one of X16, X8x8, X4x4x8, X8x4x4 and X4x4x4x4.
如圖2所示,於一實施例中,本發明的PCIE槽的配置設置系統,包含自動設定判斷模組21、第一設定模組22及第二設定模組23。As shown in FIG. 2, in one embodiment, the PCIE slot configuration setting system of the present invention includes an automatic
自動設定判斷模組21用於判斷主機板擴充插槽的配置是否為自動設定。The automatic
具體而言,自動設定判斷模組21更用於依次判斷主機板擴充插槽的配置是否為自動設定,換句話說,主機板擴充插槽的數量至少為1個,所述主機板擴充插槽也可以為2個、3個或者其他更多數量,也可以基於本發明的自動設定判斷模組21、第一設定模組22及第二設定模組23對每個主機板擴充插槽進行判斷,依次實現全部主機板擴充插槽的配置的設置。所述自動設定是指所述主機板擴充插槽的配置被預先設置為自動(Auto)。當所述主機板擴充插槽的配置為自動設定時,通過所述第一設定模組22完成主機板擴充插槽的配置的設定。當所述主機板擴充插槽的配置不為自動設定時,通過所述第二設定模組23完成主機板擴充插槽的配置的設定。Specifically, the automatic
第一設定模組22用於當主機板擴充插槽的配置為自動設定時,基於第一預設規則完成主機板擴充插槽的配置的設定。The
具體而言,第一設定模組22用於通過基本輸入輸出系統讀取所述主機板擴充插槽的三個通用輸入/輸出口的值;基於第二預設規則根據所述三個通用輸入/輸出口的值設定主機板擴充插槽的配置。所述通用輸入/輸出口為GPIO(General-purpose input/output)。Specifically, the
具體而言,所述主機板擴充插槽的配置包含X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4。所述X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4代表現有主機板擴充插槽的配置的具體規格。Specifically, the configuration of the motherboard expansion slot includes X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4. The X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4 represent specific specifications of the configuration of the expansion slots of the existing motherboard.
具體而言,所述第二預設規則為:所述主機板擴充插槽的配置X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4分別對應三個通用輸入/輸出口的值為五個不同的三位二進位制的數值。例如,具體對應數值如下表所示:
即所述主機板擴充插槽的配置X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4分別對應三個通用輸入/輸出口的值為*0*、111、011、110、010。換句話說,當主機板擴充插槽的配置為自動設定時,當通過基本輸入輸出系統讀取所述主機板擴充插槽的三個通用輸入/輸出口的值為*0*(表示第三位和第一位可以為任意值的三位二進位制的數值),則將所述主機板擴充插槽的配置設為X16。That is, the configurations of the motherboard expansion slots X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4 respectively correspond to the values of the three general input/output ports *0*, 111, 011, 110, 010. In other words, when the configuration of the motherboard expansion slot is automatically set, when the value of the three universal input/output ports of the motherboard expansion slot is read through the basic input output system *0* (indicating the third The bit and the first bit can be any value (three-digit binary value), then the configuration of the motherboard expansion slot is set to X16.
或者,基於基本輸入輸出系統讀取所述主機板擴充插槽的三個通用輸入/輸出口的值進行主機板擴充插槽的配置的自動設定,基本輸入輸出系統即可在很前期就讀取對應三個通用輸入/輸出口的值。讀取結束後,按照第二預設規則就可以直接設置主機板擴充插槽的實際運作模式,而不需要基本輸入輸出系統再次重啟一次,真正達到自動設定。顯而易見地,所述主機板擴充插槽的配置X16、X8x8、X4x4x8、X8x4x4和X4x4x4x4分別對應三個通用輸入/輸出口的值為*0*、111、011、110、010僅為示例,所述三個通用輸入/輸出口的值也可以是其他五個不同的三位二進位制的數值。Or, based on the basic input output system reading the values of the three universal input/output ports of the motherboard expansion slot to automatically set the configuration of the motherboard expansion slot, the basic input output system can be read at a very early stage Corresponds to the values of the three general-purpose input/output ports. After the reading is completed, the actual operating mode of the motherboard expansion slot can be directly set according to the second preset rule, without the basic input and output system restarting again, and the automatic setting is truly achieved. Obviously, the configuration of the motherboard expansion slots X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4 respectively corresponds to the values of the three general-purpose input/output ports *0*, 111, 011, 110, and 010 are just examples. The values of the three general-purpose input/output ports can also be other five different three-digit binary values.
第二設定模組23用於當主機板擴充插槽的配置不為自動設定時,按照預設值完成主機板擴充插槽的配置的設定。The
具體而言,所述預設值是指所述主機板擴充插槽的配置包含X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4的其中一種。即所述主機板擴充插槽的配置設定為X16、X8x8、X4x4x8、X8x4x4及X4x4x4x4的其中一種。Specifically, the preset value means that the configuration of the motherboard expansion slot includes one of X16, X8x8, X4x4x8, X8x4x4, and X4x4x4x4. That is, the configuration of the motherboard expansion slot is set to one of X16, X8x8, X4x4x8, X8x4x4 and X4x4x4x4.
需要說明的是,自動設定判斷模組21、第一設定模組22和第二設定模組23的結構和原理與上述PCIE槽的配置設置方法中的步驟一一對應,故在此不再贅述。It should be noted that the structures and principles of the automatic
需要說明的是,應理解以上系統的各個模組的劃分僅僅是一種邏輯功能的劃分,實際實現時可以全部或部分集成到一個物理實體上,也可以是數個物理實體,且這些模組可以全部以軟體並藉由處理元件調用的形式實現;也可以全部以硬體的形式實現;更可以是以部分模組藉由處理元件調用軟體的形式實現,及部分模組藉由硬體的形式實現。例如,x模組可以為單獨設立的處理元件,也可以集成在上述裝置的某一個晶片中實現,此外,也可以是以程式碼的形式存儲於上述裝置的記憶體中,由上述裝置的某一個處理元件調用並執行以上x模組的功能。其它模組的實現與之類似。此外這些模組可以全部或部分集成在一起,也可以獨立實現。這裡所述的處理元件可以是一種積體電路,且具有處理訊號的能力。在實現過程中,上述方法的各步驟或以上各個模組可以藉由處理器元件中的硬體的集成邏輯電路或者軟體形式的指令完成。It should be noted that it should be understood that the division of each module of the above system is only a division of logical functions. In actual implementation, it can be fully or partially integrated into one physical entity, or several physical entities, and these modules can be All are realized in the form of software and called by processing components; it can also be realized in the form of hardware; it can also be realized in the form of some modules calling software by processing components, and some modules are realized by hardware achieve. For example, the x module can be a separate processing element, or it can be integrated into a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code. A processing element calls and executes the functions of the above x module. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or can be implemented independently. The processing element described here can be an integrated circuit and has the ability to process signals. In the implementation process, each step of the above method or each of the above modules can be completed by hardware integrated logic circuits in the processor element or instructions in the form of software.
例如,以上這些模組可以是被配置成實施以上方法的一個或多個積體電路,例如:一個或多個特殊應用積體電路(Application Specific Integrated Circuit,簡稱ASIC),或,一個或多個數位訊號處理器(Digital Signal Processor,簡稱DSP),或,一個或者多個現場可程式邏輯閘陣列(Field Programmable Gate Array,簡稱FPGA)等。再如,當以上某個模組是藉由處理元件調度程式碼的形式實現時,該處理元件可以是通用處理器,例如中央處理器(Central Processing Unit,簡稱CPU)或其它可以調用程式碼的處理器。再如,這些模組可以集成在一起,以系統整合晶片(system-on-a-chip,簡稱SOC)的形式實現。For example, the above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more Application Specific Integrated Circuits (ASIC for short), or one or more Digital Signal Processor (DSP), or one or more Field Programmable Gate Array (FPGA), etc. For another example, when one of the above modules is implemented in the form of processing component scheduling code, the processing component can be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU for short) or other programs that can call program codes. processor. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC for short).
於本發明一實施例中,本發明更包含一種電腦可讀取媒體,其上存儲有電腦程式,該電腦程式被處理器執行時實現上述任一所述PCIE槽(主機板擴充插槽)的配置設置方法。In one embodiment of the present invention, the present invention further includes a computer-readable medium on which a computer program is stored, and the computer program is executed by the processor to realize the operation of any of the above-mentioned PCIE slots (motherboard expansion slots) Configuration setting method.
本領域的相關技術人員可以理解:實現上述各方法實施例的全部或部分步驟可以通過電腦程式相關的硬體來完成。前述的電腦程式可以存儲於一電腦可讀取儲存媒體中。在執行該程式時,執行包含上述各方法實施例的步驟;而前述的電腦可讀取儲存媒體包含:唯讀記憶體(Read-Only Memory,簡稱ROM)、隨機存取記憶體(Random Access Memory,簡稱RAM)、磁碟或者光碟等各種可以儲存程式碼的媒體。Those skilled in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by hardware related to computer programs. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps including the foregoing method embodiments are executed; and the foregoing computer-readable storage medium includes: Read-Only Memory (ROM), Random Access Memory (Random Access Memory) , Referred to as RAM), magnetic disks or CD-ROMs and other media that can store program codes.
如圖3所示,於一實施例中,本發明的PCIE槽(主機板擴充插槽)的配置設置裝置包含:處理器31及記憶體32;記憶體32用於存儲電腦程式;處理器31與記憶體32相連,用於執行所述記憶體32儲存的電腦程式,以使所述PCIE槽的配置設置裝置可以執行任一所述的PCIE槽的配置設置方法。As shown in FIG. 3, in one embodiment, the PCIE slot (motherboard expansion slot) configuration setting device of the present invention includes: a
具體而言,所述記憶體32包含:ROM、RAM、磁碟、USB記憶體、記憶卡或者光碟等各種可以儲存程式碼的媒體。Specifically, the
較佳地,所述處理器31可以是通用處理器,包含中央處理器(Central Processing Unit,簡稱CPU)、網路處理器(Network Processor,簡稱NP)等;還可以是數位訊號處理器(Digital Signal Processor,簡稱DSP)、特殊應用積體電路(Application Specific Integrated Circuit,簡稱ASIC)、現場可程式邏輯閘陣列(Field Programmable Gate Array,簡稱FPGA)或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件。Preferably, the
綜上所述,依據本發明的一或多個實施例的主機板(PCIE槽)擴充插槽的配置設置方法、系統、裝置及電腦可讀取媒體,能夠在主機板擴充插槽的配置為自動設定時,完成主機板擴充插槽的配置的設定,不需要基本輸入輸出系統再次重啟一次,真正達到自動設定。因此,本發明有效地克服了現有技術中的種種缺點而具高度產業利用價值。In summary, according to one or more embodiments of the present invention, the method, system, device, and computer readable medium for configuring the expansion slot of a motherboard (PCIE slot) can be configured as In the automatic setting, the setting of the configuration of the motherboard expansion slot is completed, without the basic input and output system restarting again, and the automatic setting is truly achieved. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial value.
雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention is disclosed in the foregoing embodiments, it is not intended to limit the present invention. All changes and modifications made without departing from the spirit and scope of the present invention fall within the scope of the patent protection of the present invention. For the scope of protection defined by the present invention, please refer to the attached scope of patent application.
21:自動設定判斷模組21: Automatically set the judgment module
22:第一設定模組22: The first setting module
23:第二設定模組23: The second setting module
31:處理器31: processor
32:記憶體32: memory
圖1a係依據本發明一實施例所繪示的主機板擴充插槽(PCIE Slot)的配置設置方法的流程圖。 圖1b係依據本發明一實施例所繪示的主機板擴充插槽(PCIE Slot)的配置設置方法的流程圖。 圖2係依據本發明一實施例所繪示的主機板擴充插槽(PCIE Slot)的配置設置系統的方塊圖。 圖3係依據本發明一實施例所繪示的主機板擴充插槽(PCIE Slot)的配置設置裝置的方塊圖。 FIG. 1a is a flowchart of a method for configuring and setting a motherboard expansion slot (PCIE Slot) according to an embodiment of the present invention. FIG. 1b is a flowchart of a method for configuring and setting a motherboard expansion slot (PCIE Slot) according to an embodiment of the present invention. FIG. 2 is a block diagram of the configuration and setting system of a motherboard expansion slot (PCIE Slot) according to an embodiment of the present invention. FIG. 3 is a block diagram of the configuration and setting device of a motherboard expansion slot (PCIE Slot) according to an embodiment of the present invention.
S11~S13:步驟 S11~S13: steps
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109102173A TWI731562B (en) | 2020-01-21 | 2020-01-21 | Setting method, system, device and computer readable medium of configuration of mainboard expansion slot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109102173A TWI731562B (en) | 2020-01-21 | 2020-01-21 | Setting method, system, device and computer readable medium of configuration of mainboard expansion slot |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI731562B true TWI731562B (en) | 2021-06-21 |
TW202129640A TW202129640A (en) | 2021-08-01 |
Family
ID=77517511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109102173A TWI731562B (en) | 2020-01-21 | 2020-01-21 | Setting method, system, device and computer readable medium of configuration of mainboard expansion slot |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI731562B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120036220A1 (en) * | 2008-12-19 | 2012-02-09 | Openpeak Inc. | Systems for accepting and approving applications and methods of operation of same |
TW201250475A (en) * | 2011-06-03 | 2012-12-16 | Hon Hai Prec Ind Co Ltd | System and method for extending PCI-E |
TW201439848A (en) * | 2013-01-06 | 2014-10-16 | Intel Corp | A method, apparatus, and system for distributed pre-processing of touch data and display region control |
CN207148841U (en) * | 2017-04-05 | 2018-03-27 | 山东超越数控电子有限公司 | A kind of credible encryption PCIE expansion cards of multifunctional safe |
-
2020
- 2020-01-21 TW TW109102173A patent/TWI731562B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120036220A1 (en) * | 2008-12-19 | 2012-02-09 | Openpeak Inc. | Systems for accepting and approving applications and methods of operation of same |
TW201250475A (en) * | 2011-06-03 | 2012-12-16 | Hon Hai Prec Ind Co Ltd | System and method for extending PCI-E |
TW201439848A (en) * | 2013-01-06 | 2014-10-16 | Intel Corp | A method, apparatus, and system for distributed pre-processing of touch data and display region control |
CN207148841U (en) * | 2017-04-05 | 2018-03-27 | 山东超越数控电子有限公司 | A kind of credible encryption PCIE expansion cards of multifunctional safe |
Also Published As
Publication number | Publication date |
---|---|
TW202129640A (en) | 2021-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021056393A1 (en) | Test method, electronic device and computer-readable storage medium | |
WO2023147748A1 (en) | Method and apparatus for initializing smart network interface card by server, device, and medium | |
TWI774089B (en) | METHOD AND SYSTEM FOR AUTOMATIC BIFURCATION OF PCIe | |
US11847085B2 (en) | Method, system, and server for monitoring status of solid state drive | |
US20150100776A1 (en) | Non-disruptive code update of a single processor in a multi-processor computing system | |
US20130173897A1 (en) | Computer system | |
JP6662987B2 (en) | Method and system for checking cable errors | |
CN111949332A (en) | Method, system and device for modifying options of basic input and output system | |
CN114003416B (en) | Memory error dynamic processing method, system, terminal and storage medium | |
TWI731562B (en) | Setting method, system, device and computer readable medium of configuration of mainboard expansion slot | |
TW201117094A (en) | Basic input/output system capable of supporting multi-platforms and constructing method thereof | |
WO2024113884A1 (en) | Resource allocation method and apparatus for peripheral, server, and storage medium | |
US20210208897A1 (en) | Setting method, system, device and computer readable medium of configuration of mainboard expansion slot | |
CN109254932B (en) | Multi-network-port driving method, device and storage medium | |
US20240289294A1 (en) | Pcie device positioning method and apparatus, and related device | |
CN111611135B (en) | CPLD or FPGA signal processing method, device, equipment and readable medium | |
WO2017124918A1 (en) | Hot-processing method and device for apparatus | |
TWI834147B (en) | Hot plug method,server system and computer-readable storage medium | |
TWI758865B (en) | Modification method, system and device of bios option | |
CN111414201A (en) | PCIe card loading method, device, equipment and storage medium | |
TW591377B (en) | Dual basic input/output system for a computer cross-reference to related applications | |
CN113485768B (en) | PHY parameter configuration device and SSD | |
TWI758867B (en) | Error message recording method, system and terminal of basic input output system based on gpnv | |
CN115061558B (en) | Hot reset method and device of PCIE equipment, storage medium and PCIE equipment | |
TWI831654B (en) | Storage expansion system and resource configuration method thereof |