[go: up one dir, main page]

TWI839271B - Method of backuping media access control address and server system - Google Patents

Method of backuping media access control address and server system Download PDF

Info

Publication number
TWI839271B
TWI839271B TW112126577A TW112126577A TWI839271B TW I839271 B TWI839271 B TW I839271B TW 112126577 A TW112126577 A TW 112126577A TW 112126577 A TW112126577 A TW 112126577A TW I839271 B TWI839271 B TW I839271B
Authority
TW
Taiwan
Prior art keywords
media access
access address
address data
control unit
management control
Prior art date
Application number
TW112126577A
Other languages
Chinese (zh)
Other versions
TW202505893A (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 TW112126577A priority Critical patent/TWI839271B/en
Application granted granted Critical
Publication of TWI839271B publication Critical patent/TWI839271B/en
Publication of TW202505893A publication Critical patent/TW202505893A/en

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

A method of backuping media access control address is implemented by a server system. The server system includes a complex programmable logic device which includes a first storing module and a baseboard manager controller which includes a second storing module. The method of backuping media access control address includes: reading a first address and a second address by the baseboard manager controller to determine whether a first media access control address data and a second media access control address data are the same; when it determined that the first media access control address data and the second media access control address data are not the same, determining whether the first media access control address data or the second media access control address data is empty; when it determined that the first media access control address data is empty, copying the second media access control address data to a first storing space corresponding to the first address.

Description

媒體存取位址備份方法及其伺服系統Media access address backup method and server system thereof

本發明是有關於一種備份方法,特別是指一種相關於媒體存取位址之媒體存取位址備份方法及其伺服系統。The present invention relates to a backup method, and more particularly to a media access address backup method related to a media access address and a server system thereof.

媒體存取控制位址(Media Access Control Address,簡稱 MAC address)是一組由國際組織認證後,由合法授權之產品製造公司所配發的以六個位元組(Byte)所組成之位置代碼,任何一片網路卡都有唯一的媒體存取控制位址,在生產時直接燒入網路卡上的電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,簡稱EEPROM)中,而通常主機板內建網路晶片 (LAN On Motherboard,簡稱LOM)沒有電子抹除式可複寫唯讀記憶體可以寫入媒體存取控制位址,所以在生產過程中會將媒體存取控制位址寫入基板管理控制器(Baseboard Manager Controller,簡稱BMC)的快閃記憶體裡,若離線更新基板管理控制器之韌體(Offline update BMC)或是基板管理控制器啟動復原機制(Recovery BMC),基板管理控制器會將自身的快閃記憶體作更新,導致出廠時寫入的媒體存取控制位址被清除,所對應之聯網設備(Network device)沒有媒體存取控制位址便會喪失聯網能力,因此,勢必得提出一解決方案。The Media Access Control Address (MAC address) is a six-byte location code issued by a legally authorized product manufacturer after being certified by an international organization. Each network card has a unique MAC address, which is burned directly into the Electrically-Erasable Programmable Read-Only Memory (EEPROM) on the network card during production. Usually, the LAN On Motherboard (LOM) does not have an EEPROM that can be written into the MAC address. Therefore, the MAC address is written into the flash memory of the Baseboard Manager Controller (BMC) during the production process. If the firmware of the Baseboard Management Controller is updated offline, the MAC address will be written into the flash memory of the Baseboard Manager Controller (BMC). When the BMC or baseboard management controller starts the recovery mechanism (Recovery BMC), the baseboard management controller will update its own flash memory, causing the media access control address written at the factory to be cleared. The corresponding network device will lose its networking capability without the media access control address. Therefore, a solution must be proposed.

因此,本發明之目的,即在提供一種可避免媒體存取控制位址遺失之媒體存取位址備份方法。Therefore, the purpose of the present invention is to provide a media access address backup method that can avoid the loss of the media access control address.

於是,本發明一種媒體存取位址備份方法,藉由一伺服系統來實施,該伺服系統包含一複雜可程式邏輯單元及一電連接複雜可程式邏輯單元之基板管理控制單元,該複雜可程式邏輯單元包括一第一儲存模組,該基板管理控制單元包括一第二儲存模組,該第一儲存模組包括一對應一第一位址且用於儲存一第一媒體存取位址資料的第一儲存空間,該第二儲存模組包括一對應一第二位址且用於儲存一第二媒體存取位址資料的第二儲存空間,該媒體存取位址備份方法包含一步驟(A)、一步驟(B),及一步驟(C)。Therefore, the present invention provides a media access address backup method, which is implemented by a server system. The server system includes a complex programmable logic unit and a baseboard management control unit electrically connected to the complex programmable logic unit. The complex programmable logic unit includes a first storage module, and the baseboard management control unit includes a second storage module. The first storage module includes a first storage space corresponding to a first address and used to store a first media access address data. The second storage module includes a second storage space corresponding to a second address and used to store a second media access address data. The media access address backup method includes a step (A), a step (B), and a step (C).

該步驟(A)是該基板管理控制單元讀取該第一位址及該第二位址,以判定該第一位址對應之第一儲存空間的該第一媒體存取位址資料及該第二位址對應之第二儲存空間的該第二媒體存取位址資料是否相同。The step (A) is that the baseboard management control unit reads the first address and the second address to determine whether the first media access address data of the first storage space corresponding to the first address and the second media access address data of the second storage space corresponding to the second address are the same.

該步驟(B)是當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料不相同時,該基板管理控制單元根據該第一位址及該第二位址判定該第一位址對應之第一儲存空間的該第一媒體存取位址資料及該第二位址對應之第二儲存空間的該第二媒體存取位址資料之任一者是否為空值。In step (B), when the baseboard management control unit determines that the first media access address data and the second media access address data are different, the baseboard management control unit determines whether any one of the first media access address data of the first storage space corresponding to the first address and the second media access address data of the second storage space corresponding to the second address is a null value based on the first address and the second address.

該步驟(C)是當該基板管理控制單元判定出該第一媒體存取位址資料為空值時,該基板管理控制單元將該第二媒體存取位址資料複製到該第一位址對應之第一儲存空間。The step (C) is that when the baseboard management control unit determines that the first media access address data is a null value, the baseboard management control unit copies the second media access address data to the first storage space corresponding to the first address.

本發明的另一目的,即在提供一種可避免媒體存取控制位址遺失之用於備份媒體存取位址的伺服系統。Another object of the present invention is to provide a servo system for backing up media access addresses that can avoid the loss of media access control addresses.

於是,本發明伺服系統,包含一複雜可程式邏輯單元及一基板管理控制單元。Therefore, the servo system of the present invention includes a complex programmable logic unit and a baseboard management control unit.

該複雜可程式邏輯單元包括一第一儲存模組,該第一儲存模組包括一對應一第一位址且用於儲存一第一媒體存取位址資料的第一儲存空間。The CPLU includes a first storage module, which includes a first storage space corresponding to a first address and used to store a first media access address data.

該基板管理控制單元電連接該複雜可程式邏輯單元並包括一第二儲存模組,該第二儲存模組包括一對應一第二位址且用於儲存一第二媒體存取位址資料的第二儲存空間。The baseboard management control unit is electrically connected to the complex programmable logic unit and includes a second storage module. The second storage module includes a second storage space corresponding to a second address and used for storing a second media access address data.

其中,該基板管理控制單元讀取該第一位址及該第二位址,以判定該第一位址對應之第一儲存空間的該第一媒體存取位址資料及該第二位址對應之第二儲存空間的該第二媒體存取位址資料是否相同,當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料不相同時,該基板管理控制單元讀取該第一位址及該第二位址,以判定該第一位址對應之第一儲存空間的該第一媒體存取位址資料及該第二位址對應之第二儲存空間的該第二媒體存取位址資料之任一者是否為空值,當該基板管理控制單元判定出該第一媒體存取位址資料為空值時,該基板管理控制單元將該第二媒體存取位址資料複製到該第一位址對應之第一儲存空間。The substrate management control unit reads the first address and the second address to determine whether the first media access address data of the first storage space corresponding to the first address and the second media access address data of the second storage space corresponding to the second address are the same. When the substrate management control unit determines that the first media access address data and the second media access address data are not the same, the substrate management control unit reads the first address and the second address to determine whether either the first media access address data of the first storage space corresponding to the first address and the second media access address data of the second storage space corresponding to the second address is a null value. When the substrate management control unit determines that the first media access address data is a null value, the substrate management control unit copies the second media access address data to the first storage space corresponding to the first address.

本發明的功效在於:藉由該基板管理控制單元讀取該第一媒體存取位址資料及該第二媒體存取位址資料,並在該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料不相同,以及該基板管理控制單元判定出該第一媒體存取位址資料為空值後,將該第二媒體存取位址資料複製到該第一位址對應之第一儲存空間,以達到備份媒體存取位址,避免遺失媒體存取位址之功效。The effect of the present invention is that: the first media access address data and the second media access address data are read by the baseboard management control unit, and after the baseboard management control unit determines that the first media access address data and the second media access address data are different, and the baseboard management control unit determines that the first media access address data is a null value, the second media access address data is copied to the first storage space corresponding to the first address, so as to achieve the effect of backing up the media access address and avoiding the loss of the media access address.

參閱圖1,本發明媒體存取位址備份方法的一實施例,藉由一伺服系統來實施,該伺服系統包含一複雜可程式邏輯單元1(Complex Programmable Logic Device, 簡稱CPLD)及一電連接複雜可程式邏輯單元1之基板管理控制單元2(Baseboard Manager Controller,簡稱BMC),該複雜可程式邏輯單元1包含一第一儲存模組11,該基板管理控制單元2包含一第二儲存模組21。Referring to FIG. 1 , an embodiment of the media access address backup method of the present invention is implemented by a servo system, which includes a complex programmable logic device 1 (CPLD) and a baseboard management control unit 2 (BMC) electrically connected to the complex programmable logic device 1. The complex programmable logic device 1 includes a first storage module 11, and the baseboard management control unit 2 includes a second storage module 21.

該第一儲存模組11包括一對應一第一位址且用於儲存一第一媒體存取位址資料的第一儲存空間111。The first storage module 11 includes a first storage space 111 corresponding to a first address and used to store a first medium access address data.

該第二儲存模組21包括一對應一第二位址且用於儲存一第二媒體存取位址資料的第二儲存空間211。The second storage module 21 includes a second storage space 211 corresponding to a second address and used to store a second media access address data.

值得特別說明的是,該複雜可程式邏輯單元1具有一平臺韌體保護恢復標準功能(Intel Platform Firmware Resilience,簡稱Intel PFR),該平臺韌體保護恢復標準功能為一項安全技術,可在該伺服系統遭受阻斷服務攻擊(Denial-of-Service attack,簡稱DoS攻擊)時保護該伺服系統,該複雜可程式邏輯單元1為確保其平臺韌體保護恢復標準功能的可靠性,安裝於該複雜可程式邏輯單元1中之韌體禁止被使用者隨意更新,因此,相較於該基板管理控制單元2之韌體及一基本輸入輸出系統(Basic Input/Output System,簡稱BIOS)之更新頻率,該複雜可程式邏輯單元1的更新頻率大幅低於該基板管理控制單元2之韌體及該基本輸入輸出系統的更新頻率,如此一來,該複雜可程式邏輯單元1的該第一儲存模組11之第一儲存空間111所儲存之第一媒體存取位址資料即不會輕易地被清除,因而可安全的被保存,由於本發明之特徵並不在於熟知此技藝者所已知的該平臺韌體保護恢復標準功能的細部運作,為了簡潔,故在此省略了他們的細節。It is worth mentioning that the complex programmable logic unit 1 has a platform firmware protection and recovery standard function (Intel Platform Firmware Resilience, referred to as Intel PFR). The platform firmware protection and recovery standard function is a security technology that can protect the server system when the server system is subjected to a denial-of-service attack (DoS attack). In order to ensure the reliability of the platform firmware protection and recovery standard function of the complex programmable logic unit 1, the firmware installed in the complex programmable logic unit 1 is prohibited from being updated at will by the user. Therefore, compared with the firmware of the baseboard management control unit 2 and a basic input/output system (Basic Input/Output The update frequency of the BIOS (System) is much lower than that of the firmware of the baseboard management control unit 2 and the basic input and output system. In this way, the first media access address data stored in the first storage space 111 of the first storage module 11 of the complex programmable logic unit 1 will not be easily cleared and can be safely stored. Since the feature of the present invention does not lie in the detailed operation of the platform firmware protection and recovery standard function known to those familiar with this technology, their details are omitted here for the sake of brevity.

在本實施例中,該伺服系統之實施態樣例如為一叢集式伺服器或一機櫃伺服器,但不以此為限。In this embodiment, the server system is implemented as, for example, a cluster server or a cabinet server, but is not limited thereto.

參閱圖1與圖2,以下將藉由本發明媒體存取位址備份方法之該實施例來說明該伺服系統之各元件的作動,該實施例包括以下步驟。Referring to FIG. 1 and FIG. 2 , the operation of each component of the servo system will be described below by using the embodiment of the media access address backup method of the present invention. The embodiment includes the following steps.

在步驟601中,該基板管理控制單元2讀取該第一位址及該第二位址,以判定該第一位址對應之第一儲存空間111的該第一媒體存取位址資料及該第二位址對應之第二儲存空間211的該第二媒體存取位址資料是否相同,當該基板管理控制單元2判定出該第一媒體存取位址資料及該第二媒體存取位址資料不相同時,流程進行步驟602,當該基板管理控制單元2判定出該第一媒體存取位址資料及該第二媒體存取位址資料相同時,流程進行步驟604。In step 601, the baseboard management control unit 2 reads the first address and the second address to determine whether the first media access address data of the first storage space 111 corresponding to the first address and the second media access address data of the second storage space 211 corresponding to the second address are the same. When the baseboard management control unit 2 determines that the first media access address data and the second media access address data are not the same, the process proceeds to step 602. When the baseboard management control unit 2 determines that the first media access address data and the second media access address data are the same, the process proceeds to step 604.

在步驟602中,該基板管理控制單元2根據該第一位址及該第二位址判定該第一位址對應之第一儲存空間111的該第一媒體存取位址資料及該第二位址對應之第二儲存空間211的該第二媒體存取位址資料之任一者是否為空值,當該基板管理控制單元2判定出該第一媒體存取位址資料為空值時(亦即,該第一媒體存取位址資料及該第二媒體存取位址資料之任一者有值),流程進行步驟603;當該基板管理控制單元2判定出該第二媒體存取位址資料為空值時(亦即,該第一媒體存取位址資料及該第二媒體存取位址資料之任一者有值),流程進行步驟607;當該基板管理控制單元2判定出該第一媒體存取位址資料及該第二媒體存取位址資料之任一者皆不為空值時(亦即,該第一媒體存取位址資料及該第二媒體存取位址資料皆有值且不相同),流程進行步驟607。In step 602, the baseboard management control unit 2 determines whether any one of the first media access address data of the first storage space 111 corresponding to the first address and the second media access address data of the second storage space 211 corresponding to the second address is a null value according to the first address and the second address. When the baseboard management control unit 2 determines that the first media access address data is a null value (that is, any one of the first media access address data and the second media access address data has a value), the process proceeds to step 603. Step 603; when the baseboard management control unit 2 determines that the second media access address data is a null value (that is, either the first media access address data or the second media access address data has a value), the process proceeds to step 607; when the baseboard management control unit 2 determines that either the first media access address data or the second media access address data is not a null value (that is, both the first media access address data and the second media access address data have values and are different), the process proceeds to step 607.

在步驟603中,該基板管理控制單元2將該第二媒體存取位址資料複製到該第一位址對應之第一儲存空間111。如此一來,便可將該第二媒體存取位址資料備份至該複雜可程式邏輯單元1之第一儲存模組11。In step 603, the baseboard management control unit 2 copies the second media access address data to the first storage space 111 corresponding to the first address. In this way, the second media access address data can be backed up to the first storage module 11 of the complex programmable logic unit 1.

在步驟604中,該基板管理控制單元2判定該第一媒體存取位址資料及該第二媒體存取位址資料是否皆為空值,當該基板管理控制單元2判定出該第一媒體存取位址資料及該第二媒體存取位址資料皆為空值時,流程進行步驟605,此時該第一媒體存取位址資料及該第二媒體存取位址資料皆相同且為空值,代表該基板管理控制單元2之該第二儲存模組21和該複雜可程式邏輯單元1之該第一儲存模組11都沒有媒體存取位址資料,表示工廠沒有寫入媒體存取位址資料或是使用者同時對該基板管理控制單元2和該複雜可程式邏輯單元1進行更新,導致該第一媒體存取位址資料及該第二媒體存取位址資料皆為空值;當該基板管理控制單元2判定出該第一媒體存取位址資料及該第二媒體存取位址資料皆非為空值時,流程結束。此時該第一媒體存取位址資料及該第二媒體存取位址資料皆相同且不為空值,代表該基板管理控制單元2已經該第二媒體存取位址資料備份至該複雜可程式邏輯單元1,並沒有出現任何異常導致該第一媒體存取位址資料或該第二媒體存取位址資料遺失。In step 604, the baseboard management control unit 2 determines whether the first media access address data and the second media access address data are both null values. When the baseboard management control unit 2 determines that the first media access address data and the second media access address data are both null values, the process proceeds to step 605. At this time, the first media access address data and the second media access address data are the same and null values, indicating that the second storage module 21 of the baseboard management control unit 2 and the complex The first storage module 11 of the complex programmable logic unit 1 has no media access address data, which means that the factory has not written the media access address data or the user has updated the baseboard management control unit 2 and the complex programmable logic unit 1 at the same time, resulting in the first media access address data and the second media access address data being null values; when the baseboard management control unit 2 determines that the first media access address data and the second media access address data are not null values, the process ends. At this time, the first media access address data and the second media access address data are the same and not null, indicating that the baseboard management control unit 2 has backed up the second media access address data to the complex programmable logic unit 1, and no abnormality has occurred to cause the first media access address data or the second media access address data to be lost.

在步驟605中,該基板管理控制單元2判定是否接收到該另一第二媒體存取位址資料,當該基板管理控制單元2判定出接收到該另一第二媒體存取位址資料時,流程進行步驟606;當該基板管理控制單元2判定出未接收到該另一第二媒體存取位址資料時,回到流程605,直到接收到該另一第二媒體存取位址資料。In step 605, the baseboard management control unit 2 determines whether the other second media access address data is received. When the baseboard management control unit 2 determines that the other second media access address data is received, the process proceeds to step 606; when the baseboard management control unit 2 determines that the other second media access address data is not received, the process returns to step 605 until the other second media access address data is received.

在步驟606中,該基板管理控制單元2將該另一第二媒體存取位址資料複製到該第二位址對應之第二儲存空間211,並回到步驟601。In step 606, the baseboard management control unit 2 copies the other second media access address data to the second storage space 211 corresponding to the second address, and returns to step 601.

在步驟607中,該基板管理控制單元2將該第一媒體存取位址資料複製到該第二位址對應之第二儲存空間211。藉此,以在該基板管理控制單元2進行韌體更新後,發生該第二儲存空間211所儲存之該第二媒體存取位址資料被清空的情況時,或是該基板管理控制單元2在經由該複雜可程式邏輯單元1執行該平臺韌體保護恢復標準功能驗證失敗並啟動復原機制後,發生該第二儲存空間211所儲存之該第二媒體存取位址資料被清空的情況時,或是該伺服系統在測試階段因該第二媒體存取位址資料被更動導致該第二儲存空間211所儲存之該第二媒體存取位址資料與該第一儲存空間111所儲存之該第一媒體存取位址資料有不一致的情況時,即時的復原該第二媒體存取位址資料。值得別說明的是,該伺服系統在測試階段為了測試方便會更動該基板管理控制單元2之該第二媒體存取位址資料,但理想上該基板管理控制單元2之該第二媒體存取位址資料應返回原廠設定才對,因此每當該伺服系統在開機時便需要判定該第二媒體存取位址資料及該第一媒體存取位址資料是否皆有值且一致,若兩者皆有值但不一致,便需要將該第一媒體存取位址資料複製到該第二位址對應之第二儲存空間211,便可將該基板管理控制單元2之該第二媒體存取位址資料復原原廠設定。In step 607, the baseboard management control unit 2 copies the first media access address data to the second storage space 211 corresponding to the second address. In this way, after the baseboard management control unit 2 performs a firmware update, when the second media access address data stored in the second storage space 211 is cleared, or after the baseboard management control unit 2 fails to execute the platform firmware protection recovery standard function verification through the complex programmable logic unit 1 and activates the recovery mechanism, when the second storage space 211 stores the second media access address data. When the second media access address data stored in the servo system is cleared, or when the second media access address data stored in the second storage space 211 is changed during the test phase, resulting in inconsistency between the second media access address data stored in the second storage space 211 and the first media access address data stored in the first storage space 111, the second media access address data is restored immediately. It is worth mentioning that the servo system will change the second media access address data of the baseboard management control unit 2 for the convenience of testing during the testing phase, but ideally the second media access address data of the baseboard management control unit 2 should be returned to the original factory settings. Therefore, every time the servo system is turned on, it is necessary to determine whether the second media access address data and the first media access address data are both valuable and consistent. If both have values but are inconsistent, it is necessary to copy the first media access address data to the second storage space 211 corresponding to the second address, so that the second media access address data of the baseboard management control unit 2 can be restored to the original factory settings.

值得特別說明的是,該實施例為該基板管理控制單元2之韌體的一部份,也就是說該實施例之所有步驟皆是由該基板管理控制單元2來執行。It is worth mentioning that the embodiment is a part of the firmware of the baseboard management control unit 2, that is, all the steps of the embodiment are executed by the baseboard management control unit 2.

綜上所述,本發明媒體存取位址備份方法,藉由該基板管理控制單元2讀取該第一媒體存取位址資料及該第二媒體存取位址資料,以判定該第一媒體存取位址資料及該第二媒體存取位址資料是否相同,當判定出該第一媒體存取位址資料及該第二媒體存取位址資料不相同時,判定該第一媒體存取位址資料及該第二媒體存取位址資料之任一者是否為空值,當判定出該第一媒體存取位址資料為空值時,將該第二媒體存取位址資料複製到該第一位址對應之第一儲存空間111,以備份該第二媒體存取位址資料,此外,當判定出該第二媒體存取位址資料為空值時,以及當判定出該第一媒體存取位址資料及該第二媒體存取位址資料之任一者皆不為空值時,將該第一媒體存取位址資料複製到該第二位址對應之第二儲存空間211,以在該基板管理控制單元2重置或更新韌體導致該第二媒體存取位址資料被清除,或該第二媒體存取位址資料與該第一媒體存取位址資料不一致的情況發生時,即時的復原該第二媒體存取位址資料,且當判定出該第一媒體存取位址資料及該第二媒體存取位址資料相同時,亦須判定該第一媒體存取位址資料及該第二媒體存取位址資料是否皆為空值,以在判定出兩者皆為空值且接收到該另一第二媒體存取位址資料後,將該另一第二媒體存取位址資料複製到該第二位址對應之第二儲存空間211,並接續判定該第一媒體存取位址資料及該另一第二媒體存取位址資料是否相同,當判定出該第一媒體存取位址資料為空值時,將該另一第二媒體存取位址資料複製到該第一位址對應之第一儲存空間111,以備份該另一第二媒體存取位址資料,故確實能達成本發明的目的。In summary, the media access address backup method of the present invention reads the first media access address data and the second media access address data by the baseboard management control unit 2 to determine whether the first media access address data and the second media access address data are the same. When it is determined that the first media access address data and the second media access address data are not the same, it is determined whether either the first media access address data or the second media access address data is a null value. When it is determined that the first media access address data and the second media access address data are different, it is determined whether either the first media access address data or the second media access address data is a null value. When the access address data is a null value, the second media access address data is copied to the first storage space 111 corresponding to the first address to back up the second media access address data. In addition, when it is determined that the second media access address data is a null value, and when it is determined that neither the first media access address data nor the second media access address data is a null value, the first media access address data is copied to the second storage space 211 corresponding to the second address to back up the second media access address data in the baseboard management control. When the second media access address data is cleared due to the reset or firmware update of unit 2, or when the second media access address data is inconsistent with the first media access address data, the second media access address data is immediately restored, and when it is determined that the first media access address data and the second media access address data are the same, it is also necessary to determine whether the first media access address data and the second media access address data are both null values, so as to recover the second media access address data when it is determined that both are null values and the second media access address data is received. After the media access address data is obtained, the other second media access address data is copied to the second storage space 211 corresponding to the second address, and then it is determined whether the first media access address data and the other second media access address data are the same. When it is determined that the first media access address data is a null value, the other second media access address data is copied to the first storage space 111 corresponding to the first address to back up the other second media access address data, so the purpose of the present invention can be achieved.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above is only an embodiment of the present invention and should not be used to limit the scope of implementation of the present invention. All simple equivalent changes and modifications made according to the scope of the patent application of the present invention and the content of the patent specification are still within the scope of the present patent.

1:複雜可程式邏輯單元1: Complex Programmable Logic Unit

11:第一儲存模組11: First storage module

111:第一儲存空間111: First storage space

2:基板管理控制單元2: Baseboard Management Control Unit

21:第二儲存模組21: Second storage module

211:第二儲存空間211: Second storage space

601~607:步驟601~607: Steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明一用於執行本發明媒體存取位址備份方法之實施例之伺服系統;及 圖2為一流程圖,說明本發明媒體存取位址備份方法的該實施例。 Other features and effects of the present invention will be clearly presented in the implementation method of the reference figures, in which: FIG. 1 is a block diagram illustrating a servo system for executing an implementation of the media access address backup method of the present invention; and FIG. 2 is a flow chart illustrating the implementation of the media access address backup method of the present invention.

601~607:步驟 601~607: Steps

Claims (10)

一種媒體存取位址備份方法,藉由一伺服系統來實施,該伺服系統包含一複雜可程式邏輯單元及一電連接複雜可程式邏輯單元之基板管理控制單元,該複雜可程式邏輯單元包括一第一儲存模組,該基板管理控制單元包括一第二儲存模組,該第一儲存模組包括一對應一第一位址且用於儲存一第一媒體存取位址資料的第一儲存空間,該第二儲存模組包括一對應一第二位址且用於儲存一第二媒體存取位址資料的第二儲存空間,該媒體存取位址備份方法包含以下步驟:(A)該基板管理控制單元讀取該第一位址及該第二位址,以判定該第一位址對應之第一儲存空間的該第一媒體存取位址資料及該第二位址對應之第二儲存空間的該第二媒體存取位址資料是否相同;(B)當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料不相同時,該基板管理控制單元根據該第一位址及該第二位址判定該第一位址對應之第一儲存空間的該第一媒體存取位址資料及該第二位址對應之第二儲存空間的該第二媒體存取位址資料之任一者是否為空值;及(C)當該基板管理控制單元判定出該第一媒體存取位址資料為空值時,該基板管理控制單元將該第二媒體存取位址資料複製到該第一位址對應之第一儲存空間。 A method for backing up a media access address is implemented by a servo system. The servo system includes a complex programmable logic unit and a baseboard management control unit electrically connected to the complex programmable logic unit. The complex programmable logic unit includes a first storage module. The baseboard management control unit includes a second storage module. The first storage module includes a first storage space corresponding to a first address and used to store a first media access address data. The second storage module includes a second storage space corresponding to a second address and used to store a second media access address data. The method for backing up a media access address includes the following steps: (A) the baseboard management control unit reads the first address and the second address to determine the first storage space corresponding to the first address. (A) when the baseboard management control unit determines that the first media access address data and the second media access address data of the second storage space corresponding to the second address are the same; (B) when the baseboard management control unit determines that the first media access address data and the second media access address data are not the same, the baseboard management control unit determines whether any one of the first media access address data of the first storage space corresponding to the first address and the second media access address data of the second storage space corresponding to the second address is a null value according to the first address and the second address; and (C) when the baseboard management control unit determines that the first media access address data is a null value, the baseboard management control unit copies the second media access address data to the first storage space corresponding to the first address. 如請求項1所述的媒體存取位址備份方法,在該步驟(B) 後,還包含以下步驟:(D)當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料相同時,該基板管理控制單元判定該第一媒體存取位址資料及該第二媒體存取位址資料是否皆為空值;(E)當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料皆為空值且接收到另一第二媒體存取位址資料時,該基板管理控制單元將該另一第二媒體存取位址資料複製到該第二位址對應之第二儲存空間,並回到步驟(A);及(F)當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料皆非為空值時,結束。 The media access address backup method as described in claim 1, after step (B), further comprises the following steps: (D) when the baseboard management control unit determines that the first media access address data and the second media access address data are the same, the baseboard management control unit determines whether the first media access address data and the second media access address data are both null values; (E) when the baseboard management control unit determines that the first media access address data and the second media access address data are both null values and receives another second media access address data, the baseboard management control unit copies the another second media access address data to the second storage space corresponding to the second address and returns to step (A); and (F) when the baseboard management control unit determines that the first media access address data and the second media access address data are both not null values, the process ends. 如請求項1所述的媒體存取位址備份方法,在步驟(C)之後,還包含以下步驟:(G)當該基板管理控制單元判定出該第二媒體存取位址資料為空值時,該基板管理控制單元將該第一媒體存取位址資料複製到該第二位址對應之第二儲存空間。 The media access address backup method as described in claim 1, after step (C), further comprises the following step: (G) when the baseboard management control unit determines that the second media access address data is a null value, the baseboard management control unit copies the first media access address data to the second storage space corresponding to the second address. 如請求項1所述的媒體存取位址備份方法,在步驟(C)之後,還包含以下步驟:(H)當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料之任一者皆不為空值時,該基板管理控制單元將該第一媒體存取位址資料複製到該第二位址對應之第二儲存空間。 The media access address backup method as described in claim 1, after step (C), further comprises the following step: (H) when the baseboard management control unit determines that neither the first media access address data nor the second media access address data is a null value, the baseboard management control unit copies the first media access address data to the second storage space corresponding to the second address. 如請求項1所述的媒體存取位址備份方法,其中,該複雜 可程式邏輯單元具有一平臺韌體保護恢復標準功能。 The media access address backup method as described in claim 1, wherein the complex programmable logic unit has a platform firmware protection and recovery standard function. 一種用於備份媒體存取位址的伺服系統,包含:一複雜可程式邏輯單元,包括一第一儲存模組,該第一儲存模組包括一對應一第一位址且用於儲存一第一媒體存取位址資料的第一儲存空間;及一基板管理控制單元,電連接該複雜可程式邏輯單元並包括一第二儲存模組,該第二儲存模組包括一對應一第二位址且用於儲存一第二媒體存取位址資料的第二儲存空間;其中,該基板管理控制單元讀取該第一位址及該第二位址,以判定該第一位址對應之第一儲存空間的該第一媒體存取位址資料及該第二位址對應之第二儲存空間的該第二媒體存取位址資料是否相同,當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料不相同時,該基板管理控制單元讀取該第一位址及該第二位址,以判定該第一位址對應之第一儲存空間的該第一媒體存取位址資料及該第二位址對應之第二儲存空間的該第二媒體存取位址資料之任一者是否為空值,當該基板管理控制單元判定出該第一媒體存取位址資料為空值時,該基板管理控制單元將該第二媒體存取位址資料複製到該第一位址對應之第一儲存空間。 A servo system for backing up a media access address comprises: a complex programmable logic unit, including a first storage module, the first storage module including a first storage space corresponding to a first address and used to store a first media access address data; and a baseboard management control unit, electrically connected to the complex programmable logic unit and including a second storage module, the second storage module including a second storage space corresponding to a second address and used to store a second media access address data; wherein the baseboard management control unit reads the first address and the second address to determine the first media access address data of the first storage space corresponding to the first address and the second media access address data of the second storage space corresponding to the second address. When the substrate management control unit determines that the first media access address data and the second media access address data are different, the substrate management control unit reads the first address and the second address to determine whether any one of the first media access address data of the first storage space corresponding to the first address and the second media access address data of the second storage space corresponding to the second address is a null value. When the substrate management control unit determines that the first media access address data is a null value, the substrate management control unit copies the second media access address data to the first storage space corresponding to the first address. 如請求項6所述的用於備份媒體存取位址的伺服系統,其中,當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料相同時,該基板管理控制單 元判定該第一媒體存取位址資料及該第二媒體存取位址資料是否皆為空值,當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料皆為空值且接收到另一第二媒體存取位址資料時,該基板管理控制單元將該另一第二媒體存取位址資料複製到該第二位址對應之第二儲存空間,並重新判定該第一媒體存取位址資料及該另一第二媒體存取位址資料是否相同,當該基板管理控制單元判定出該第一媒體存取位址資料及該另一第二媒體存取位址資料不相同時,該基板管理控制單元判定該第一媒體存取位址資料是否為空值,當該基板管理控制單元判定出該第一媒體存取位址資料為空值時,該基板管理控制單元將該另一第二媒體存取位址資料複製到該第一位址對應之第一儲存空間。 The servo system for backing up a media access address as described in claim 6, wherein when the baseboard management control unit determines that the first media access address data and the second media access address data are the same, the baseboard management control unit determines whether the first media access address data and the second media access address data are both null values, and when the baseboard management control unit determines that the first media access address data and the second media access address data are both null values and receives another second media access address data, the baseboard management control unit copies the another second media access address data to the baseboard management control unit. to the second storage space corresponding to the second address, and re-determine whether the first media access address data and the other second media access address data are the same. When the baseboard management control unit determines that the first media access address data and the other second media access address data are not the same, the baseboard management control unit determines whether the first media access address data is a null value. When the baseboard management control unit determines that the first media access address data is a null value, the baseboard management control unit copies the other second media access address data to the first storage space corresponding to the first address. 如請求項6所述的用於備份媒體存取位址的伺服系統,其中,當該基板管理控制單元判定出該第二媒體存取位址資料為空值時,該基板管理控制單元將該第一媒體存取位址資料複製到該第二位址對應之第二儲存空間。 A servo system for backing up a media access address as described in claim 6, wherein when the baseboard management control unit determines that the second media access address data is a null value, the baseboard management control unit copies the first media access address data to the second storage space corresponding to the second address. 如請求項6所述的用於備份媒體存取位址的伺服系統,其中,當該基板管理控制單元判定出該第一媒體存取位址資料及該第二媒體存取位址資料之任一者皆不為空值時,該基板管理控制單元將該第一媒體存取位址資料複製到該第二位址對應之第二儲存空間。 A servo system for backing up a media access address as described in claim 6, wherein when the baseboard management control unit determines that neither the first media access address data nor the second media access address data is a null value, the baseboard management control unit copies the first media access address data to the second storage space corresponding to the second address. 如請求項6所述的用於備份媒體存取位址的伺服系統,其中,該複雜可程式邏輯單元具有一平臺韌體保護恢復標 準功能。 A servo system for backing up media access addresses as described in claim 6, wherein the complex programmable logic unit has a platform firmware protection and recovery standard function.
TW112126577A 2023-07-17 2023-07-17 Method of backuping media access control address and server system TWI839271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112126577A TWI839271B (en) 2023-07-17 2023-07-17 Method of backuping media access control address and server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112126577A TWI839271B (en) 2023-07-17 2023-07-17 Method of backuping media access control address and server system

Publications (2)

Publication Number Publication Date
TWI839271B true TWI839271B (en) 2024-04-11
TW202505893A TW202505893A (en) 2025-02-01

Family

ID=91618628

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112126577A TWI839271B (en) 2023-07-17 2023-07-17 Method of backuping media access control address and server system

Country Status (1)

Country Link
TW (1) TWI839271B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US1088020A (en) * 1911-12-06 1914-02-24 Joseph Haskins Generator.
WO2008095365A1 (en) * 2007-02-05 2008-08-14 Huawei Technologies Co., Ltd. Reliability processing method and system of metro ethernet network which provides multi-service group network
US20120136889A1 (en) * 2010-11-30 2012-05-31 Rajesh Jagannathan Hash Collision Resolution with Key Compression in a MAC Forwarding Data Structure
US20190327147A1 (en) * 2018-04-23 2019-10-24 Hewlett Packard Enterprise Development Lp Assigning network devices
TW202135506A (en) * 2020-03-04 2021-09-16 神雲科技股份有限公司 Method for managing the addresses of baseboard management controllers and server system
TW202139675A (en) * 2020-03-31 2021-10-16 神雲科技股份有限公司 Method for address allocating with accessing and server system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US1088020A (en) * 1911-12-06 1914-02-24 Joseph Haskins Generator.
WO2008095365A1 (en) * 2007-02-05 2008-08-14 Huawei Technologies Co., Ltd. Reliability processing method and system of metro ethernet network which provides multi-service group network
US20120136889A1 (en) * 2010-11-30 2012-05-31 Rajesh Jagannathan Hash Collision Resolution with Key Compression in a MAC Forwarding Data Structure
US20190327147A1 (en) * 2018-04-23 2019-10-24 Hewlett Packard Enterprise Development Lp Assigning network devices
TW202135506A (en) * 2020-03-04 2021-09-16 神雲科技股份有限公司 Method for managing the addresses of baseboard management controllers and server system
TW202139675A (en) * 2020-03-31 2021-10-16 神雲科技股份有限公司 Method for address allocating with accessing and server system

Also Published As

Publication number Publication date
TW202505893A (en) 2025-02-01

Similar Documents

Publication Publication Date Title
EP3811202B1 (en) Memory-efficient upgrade staging
US7480819B1 (en) Method for boot recovery
CN105122258B (en) Method, computing system, and article of configuring a system
US7444360B2 (en) Method, system, and program for storing and using metadata in multiple storage locations
US20040255106A1 (en) Recovery of operating system configuration data by firmware of computer system
US20120060048A1 (en) Recovering a system that has experienced a fault
CN107479823B (en) Data verification method and device in random read-write file test
CN106133704A (en) Memory failure partition method and device
WO2019217112A1 (en) Fault tolerant device upgrade
CN110956284A (en) Method, system, equipment and storage medium for maintaining reliability of product information
US20070143591A1 (en) Method for non-destructive restoration of a corrupted operating system
CN118245282A (en) Snapshot backup method and device
TWI839271B (en) Method of backuping media access control address and server system
JP7266067B2 (en) storage system
CN114443060A (en) Operating system deployment method and system
CN115756521B (en) Cloud application processing method, device, computer equipment, and storage medium
CN119473705A (en) Media access address backup method and servo system thereof
TWI709036B (en) Method of recovering the bios configuration parameter and server system
JP6682897B2 (en) Communication setting method, communication setting program, information processing apparatus, and information processing system
CN119669245B (en) Shared library management method and device
CN120803550B (en) Processor peripheral settings loading method and server system
JP2008293468A (en) Method for manufacturing motherboard
US7069471B2 (en) System PROM integrity checker
JP2019159721A (en) Storage device, control method, and control program
CN119271228A (en) Image updating method, device, computer equipment, and storage medium