Media access address backup method and servo system thereof

By using the substrate management control unit in the servo system to read and compare the media access address data, and perform copying operations when inconsistent or empty values ​​are found, the problem of media access control address is solved, ensuring that the networked device is Stable networking capabilities.

CN119473705APending Publication Date: 2025-02-18MITAC COMP (SHUN DE) LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310995516.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-08
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

During production, media access control addresses may be cleared, causing networked devices to lose networking capabilities, and a method is needed to avoid the loss of media access control addresses.

Method used

Through a servo system, the substrate management control unit is used to read and compare the two sets of media access address data. If inconsistent or empty values ​​are found, corresponding copy operations are performed to ensure data backup and recovery.

Benefits of technology

It effectively avoids the loss of media access control addresses, ensures that networked devices always have the correct media access control addresses, thereby maintaining networking capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473705A_ABST
    Figure CN119473705A_ABST
Patent Text Reader

Abstract

A media access address backup method is implemented by a servo system, and the servo system comprises a complex programmable logic unit comprising a first storage module and a baseboard management control unit comprising a second storage module. The media access address backup method comprises the following steps: the baseboard management control unit reads a first address and a second address to judge whether first media access address data and second media access address data are the same or not, when it is judged that the first media access address data and the second media access address data are different, whether any one of the first media access address data and the second media access address data is a null value or not is judged, and when it is judged that the first media access address data is a null value, the first media access address data and the second media access address data are not the same; copying the second media access address data to a first storage space corresponding to the first address;
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] 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 servo system thereof. Background Art

[0002] 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) built-in network chip does not have an EEPROM to write the MAC address, so the MAC address will be written into the flash memory of the Baseboard Manager Controller (BMC) during the production process. If the firmware of the Baseboard Manager Controller is updated offline (Offline update BMC) or the recovery mechanism (RecoveryBMC) of the Baseboard Management Controller is activated, the Baseboard Management Controller will update its own flash memory, resulting in the MAC address written at the factory being cleared, and the corresponding network device (Network Device) will be deleted. If a device does not have a media access control address, it will lose its networking capability, so a solution must be proposed. Summary of the invention

[0003] Therefore, an object of the present invention is to provide a media access address backup method that can avoid the loss of media access control addresses.

[0004] Therefore, the present invention provides a method for backing up a media access address, which 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, 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, and 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 the media access address includes a step (A), a step (B), and a step (C). 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. The step (B) is 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. The step (C) is 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.

[0005] In particular, after step (B), the following steps are also included: (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; and (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 (B).

[0006] In particular, after step (C), the following steps are also included: (F) 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.

[0007] In particular, after step (C), the following steps are also included: (G) when the baseboard management control unit determines that either the first media access address data or the second media access address data is not 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.

[0008] Particularly, the CPLU has a platform firmware protection recovery standard function.

[0009] 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.

[0010] Therefore, the servo system of the present invention includes a complex programmable logic unit and a baseboard management control unit. The complex programmable logic unit includes a first storage module, and 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 baseboard management control unit is electrically connected to the complex programmable logic unit and includes a second storage module, and the second storage module includes a second storage space corresponding to a second address and used to store a second media access address data. Among them, 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. 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 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 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.

[0011] In particular, 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; 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 re-determines whether the first media access address data and the another second media access address data are the same; when the baseboard management control unit determines that the first media access address data and the another 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 another second media access address data to the first storage space corresponding to the first address.

[0012] Particularly, 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.

[0013] Particularly, when the baseboard management control unit determines that either the first media access address data or the second media access address data is not 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.

[0014] Particularly, the CPLU has a platform firmware protection recovery standard function.

[0015] Compared with the prior art, the media access address backup method and servo system of the present invention read the first media access address data and the second media access address data 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. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the accompanying drawings, in which:

[0017] Figure 1is a block diagram illustrating a server system for executing an embodiment of the media access address backup method of the present invention; and

[0018] Figure 2 is a flow chart illustrating the embodiment of the media access address backup method of the present invention. DETAILED DESCRIPTION

[0019] Before the present invention is described in detail, it should be noted that similar elements are denoted by the same reference numerals in the following description.

[0020] See also Figure 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 (Complex Programmable Logic Device, referred to as CPLD) and a baseboard management control unit 2 (Baseboard Manager Controller, referred to as 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.

[0021] The first storage module 11 includes a first storage space 111 corresponding to a first address and used for storing first media access address data.

[0022] The second storage module 21 includes a second storage space 211 corresponding to a second address and used for storing second media access address data.

[0023] It is worth mentioning that the CPLU 1 has a platform firmware protection recovery standard function (Intel Platform Firmware Resilience, referred to as Intel PFR), which is a security technology that can protect the servo system when the servo system is subjected to a denial-of-service attack (Denial-of-Service attack, referred to as DoS attack). In order to ensure the reliability of the platform firmware protection recovery standard function of the CPLU 1, the firmware installed in the CPLU 1 is prohibited from being updated by the user at will. 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 firmware of the baseboard management control unit 2 and the basic input / output system (BIOS) is much lower than that of the complex programmable logic unit 1. 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 features of the present invention do not lie in the detailed operation of the platform firmware protection recovery standard function known to those skilled in the art, their details are omitted here for simplicity.

[0024] In this embodiment, the server system is implemented as, for example, a cluster server or a cabinet server, but is not limited thereto.

[0025] See also Figure 1 and Figure 2 The following will use the embodiment of the media access address backup method of the present invention to illustrate the operation of each component of the servo system. The embodiment includes the following steps.

[0026] 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.

[0027] 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; when the baseboard management control unit 2 determines that the second 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 607; when the baseboard management control unit 2 determines that any one of the first media access address data and the second media access address data is not a null value (that is, the first media access address data and the second media access address data both have values ​​and are different), the process proceeds to step 607.

[0028] 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 .

[0029] 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 first storage module 11 of the complex programmable logic unit 1 do not have media access address data, indicating 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 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 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, which means 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.

[0030] 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.

[0031] In step 606 , the BMC 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 .

[0032] 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, when the second media access address data stored in the second storage space 211 is cleared after the baseboard management control unit 2 performs a firmware update, or when the baseboard management control unit 2 fails to perform the platform firmware protection recovery standard function verification through the complex programmable logic unit 1 and activates the recovery mechanism, the second media access address data stored in the second storage space 211 is cleared, or when the second media access address data stored in the second storage space 211 is inconsistent with the first media access address data stored in the first storage space 111 due to the modification of the second media access address data during the test phase of the servo system, the second media access address data can be restored in real time. 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 valid and consistent. If both are valid but inconsistent, the first media access address data needs to be copied 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.

[0033] 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 .

[0034] 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 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 either the first media access address data or the second media access address data is not 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. 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 restored in real time, 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 that after determining that both are null values ​​and receiving the other second media access address data, 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 null, 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 that the purpose of the present invention can be achieved.

[0035] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for backing up a media access address, implemented by a servo system, the servo system comprising a complex programmable logic unit and a baseboard management control unit electrically connected to the complex programmable logic unit, the complex programmable logic unit comprising a first storage module, the baseboard management control unit comprising a second storage module, the first storage module comprising a first storage space corresponding to a first address and used to store a first media access address data, the second storage module comprising a second storage space corresponding to a second address and used to store a second media access address data, characterized in that: The media access address backup method comprises the following steps: (A) 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) 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 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.

2. The method for backing up a media access address according to claim 1, wherein: After step (B), the following steps are also included: (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; and (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 (B).

3. The method for backing up a media access address according to claim 1, wherein: After step (C), the following steps are also included: (F) 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 a second storage space corresponding to the second address.

4. The method for backing up a media access address according to claim 1, wherein: After step (C), the following steps are also included: (G) When the baseboard management control unit determines that either the first media access address data or the second media access address data is not 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.

5. The method for backing up a media access address according to claim 1, wherein: The complex programmable logic unit has a platform firmware protection recovery standard function.

6. A servo system for backing up media access addresses, characterized in that: Include: A complex programmable logic unit includes a first 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; and a baseboard management control unit, electrically connected to the complex programmable logic unit and comprising a second storage module, the second storage module comprising a second storage space corresponding to a second address and used for storing a second media access address data; Among them, 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. 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 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 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.

7. The servo system for backing up media access addresses according to claim 6, characterized in that: 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. 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 re-determines whether the first media access address data and the another second media access address data are the same. When the baseboard management control unit determines that the first media access address data and the another 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 another second media access address data to the first storage space corresponding to the first address.

8. The servo system for backing up media access addresses according to claim 6, characterized in that: 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 a second storage space corresponding to the second address.

9. The servo system for backing up media access addresses according to claim 6, characterized in that: When the baseboard management control unit determines that either the first media access address data or the second media access address data is not a null value, the baseboard management control unit copies the first media access address data to a second storage space corresponding to the second address.

10. The servo system for backing up media access addresses according to claim 6, characterized in that: The complex programmable logic unit has a platform firmware protection recovery standard function.

Citation Information

Patent Citations

  • Reliability processing method and system of multi-service networking provided by metro Ethernet

    CN101014035A

  • Configuration data partition saving method and system and configuration data checking method and system

    CN108228091A

  • Address configuration access method and server system

    CN113766038A

  • Method and system for disguising a computer system's identity on a network by disguising the system's MAC address

    US20020095514A1