A monitoring management method, computer readable storage medium, system and device

After the BIOS self-test is completed, the BMC determines whether the information verification is successful based on the information byte length and identifier of the monitored component, and obtains or uses the previous type information for monitoring. This solves the monitoring failure problem caused by BIOS anomalies and improves the system's reliability and automation.

CN115543739BActive Publication Date: 2026-07-07INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2022-09-28
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

When a computer system is powered on, the BIOS may experience information acquisition errors or problems writing to H2B memory, causing the BMC to be unable to effectively monitor the monitored components and reducing the reliability of the computer system.

Method used

BMC determines whether the information meets the verification conditions by obtaining the byte length and identifier of the monitored component. If it does, it obtains the type information; otherwise, it uses the previously stored type information for monitoring.

Benefits of technology

It improves the monitoring reliability and efficiency of computer systems under abnormal conditions, ensures continuous monitoring of monitored components, and enhances the automation and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115543739B_ABST
    Figure CN115543739B_ABST
Patent Text Reader

Abstract

The application discloses a kind of monitoring management method, computer readable storage medium, system and device.It relates to monitoring management field.When receiving the power-on self-test completion instruction of BIOS, the byte length and the identification of the information of the monitored component in H2B memory are obtained;According to the byte length and the identification, it is judged whether the information of the monitored component in H2B memory satisfies the check-through condition;If yes, the type information representing the type of the monitored component in the information is obtained and stored;If no, the type information representing the type of the monitored component stored by itself is determined;The monitored component is monitored based on the type information.The byte length and the identification of the information of the monitored component are used to determine whether the information of the monitored component satisfies the check-through condition, when satisfied, the type information in the information of the monitored component is obtained, when not satisfied, the type information stored when the information of the previous monitored component satisfies the check-through condition is determined to be stored by itself, and the reliability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of monitoring and management, and in particular to a monitoring and management method, a computer-readable storage medium, a system, and an apparatus. Background Technology

[0002] When complex computer systems such as servers power on, the BIOS (Basic Input Output System) performs a power-on self-test (POST) to acquire information about monitored components such as the CPU, memory, and PCIe (Peripheral Component Interconnect Express). Upon completion of the POST, this information is written to the H2B memory. The BMC (Baseboard Management Controller) then uses this information to monitor and manage these components. However, during power-on, the BIOS may experience issues acquiring information, or it may acquire information normally but encounter problems writing it to the H2B memory. In such cases, the BMC cannot utilize the problematic information from the H2B memory for monitoring and management. Consequently, the computer system fails to monitor and manage these components during operation, significantly reducing the overall reliability of the computer system. Summary of the Invention

[0003] The purpose of this invention is to provide a monitoring and management method, a computer-readable storage medium, a system, and an apparatus. In this application, the BMC determines whether the information of the monitored component meets the verification conditions by using the byte length and identifier of the information of the monitored component. If it meets the conditions, it obtains the type information in the information of the monitored component. If it does not meet the conditions, it determines the type information stored when the information of the monitored component previously met the verification conditions, thereby improving reliability.

[0004] To address the aforementioned technical problems, this invention provides a monitoring and management method applied to a BMC, comprising:

[0005] When the BIOS power-on self-test completion command is received, the byte length and identifier of the monitored component information in the H2B memory are obtained;

[0006] Based on the byte length and the identifier, determine whether the information of the monitored component in the H2B memory meets the verification pass conditions;

[0007] If so, acquire and store the type information in the information that represents the type of the monitored component;

[0008] If not, determine the type information stored in itself that represents the type of the monitored component. This type information is the type information stored in the information when the information of the monitored component in the H2B memory was previously determined to meet the verification pass condition.

[0009] The monitored component is monitored based on the type information.

[0010] Preferably, upon receiving the BIOS power-on self-test completion command, the following are included:

[0011] Upon receiving a power-on command, determine whether the BIOS power-on self-test completion command has been received;

[0012] If the BIOS power-on self-test completion command is received, proceed to the step of obtaining the byte length and identifier of the monitored component information in the H2B memory.

[0013] Preferably, monitoring the monitored component based on the type information includes:

[0014] Invoke the process management tool corresponding to the type information and monitor the monitored component based on the process management tool.

[0015] Preferably, after acquiring and storing the type information representing the type of the monitored component in the information, the method further includes:

[0016] The type information stored in the H2B memory when the information of the monitored component in the previous determination met the verification pass conditions will be deleted.

[0017] Preferably, after monitoring the monitored component based on the type information, the method further includes:

[0018] When the temperature of the monitored component is detected to exceed the preset temperature, the heat dissipation module is controlled to perform heat dissipation on the monitored component.

[0019] Preferably, acquiring and storing type information characterizing the type of the monitored component from the information includes:

[0020] Obtain the type information that represents the type of the monitored component from the information, and store the type information as a log file in JSON format.

[0021] Preferably, determining whether the information of the monitored component in the H2B memory meets the verification pass conditions based on the byte length and the identifier includes:

[0022] Determine whether the byte length does not exceed the preset byte length and whether the content of each identifier bit of the identifier conforms to the preset identifier filling template, wherein each identifier bit in the preset identifier filling template is filled with fixed content;

[0023] If the byte length does not exceed the preset byte length and the content of each identifier bit of the identifier conforms to the preset identifier filling template, it is determined that the information of the monitored component in the H2B memory meets the verification pass condition.

[0024] If the byte length does not exceed the preset byte length or the content of each identifier bit of the identifier does not conform to the preset identifier filling template, it is determined that the information of the monitored component in the H2B memory does not meet the verification pass conditions.

[0025] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the monitoring and management method described above.

[0026] To address the aforementioned technical problems, the present invention also provides a monitoring and management system, comprising:

[0027] The byte length and identifier acquisition unit is used to acquire the byte length and identifier of the monitored component information in the H2B memory when the BIOS power-on self-test completion command is received.

[0028] The judgment unit is used to determine whether the information of the monitored component in the H2B memory meets the verification pass condition based on the byte length and the identifier. If yes, the first type of information acquisition unit is triggered; if no, the second type of information acquisition unit is triggered.

[0029] The first type of information acquisition unit is used to acquire and store type information in the information that represents the type of the monitored component;

[0030] The second type information acquisition unit is used to determine the type information representing the type of the monitored component stored in its own storage. The type information is the type information stored in the information when the information of the monitored component in the H2B memory was previously determined to meet the verification pass condition.

[0031] A monitoring unit is used to monitor the monitored component based on the type information.

[0032] To address the aforementioned technical problems, the present invention also provides a monitoring and management device, comprising:

[0033] Memory, used to store computer programs;

[0034] A processor for executing the computer program to implement the steps of any of the above-described monitoring and management methods.

[0035] This application provides a monitoring and management method, a computer-readable storage medium, a system, and an apparatus. Upon receiving a BIOS power-on self-test (POST) completion command, the method acquires the byte length and identifier of the monitored component's information in the H2B memory; it determines whether the monitored component's information in the H2B memory meets the verification pass conditions based on the byte length and identifier; if yes, it acquires and stores type information representing the type of the monitored component; if no, it determines the type information representing the type of the monitored component stored within itself, which is the type information stored when the monitored component's information in the H2B memory was previously determined to meet the verification pass conditions; and it monitors the monitored component based on the type information. This application's BMC determines whether the monitored component's information meets the verification pass conditions by using the byte length and identifier of the monitored component's information. If it meets the conditions, it acquires the type information from the monitored component's information; if it does not meet the conditions, it determines the type information stored within itself when the monitored component's information previously met the verification pass conditions, and then monitors the monitored component based on the type information. Even when the monitored component's information in the H2B memory is abnormal, monitoring of the monitored component can continue, improving reliability. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0037] Figure 1 A flowchart of a monitoring and management method provided by the present invention;

[0038] Figure 2 A schematic diagram of the structure of a monitoring and management system provided by the present invention;

[0039] Figure 3 This is a schematic diagram of a monitoring and management device provided by the present invention. Detailed Implementation

[0040] The core of this invention is to provide a monitoring and management method, a computer-readable storage medium, a system, and a device. In this application, the BMC determines whether the information of the monitored component meets the verification conditions by using the byte length and identifier of the information of the monitored component. If it meets the conditions, it obtains the type information in the information of the monitored component. If it does not meet the conditions, it determines the type information stored when the information of the monitored component in the previous instance met the verification conditions, thereby improving reliability.

[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0042] Please refer to Figure 1 , Figure 1 A flowchart illustrating a monitoring and management method provided by the present invention. The method includes:

[0043] S11: Upon receiving the BIOS power-on self-test completion command, obtain the byte length and identifier of the monitored component information in the H2B memory;

[0044] When the computer system powers on, the BIOS performs a power-on self-test (POST). Upon completion of the POST, the BIOS sends the acquired information about the monitored components to the H2B memory and then sends a POST completion command to the computer system's BMC. Upon receiving the POST completion command, the BMC retrieves the monitored component information from the H2B memory. However, it doesn't need to retrieve all the information initially; it only needs to obtain the byte length and identifier to determine if the monitored component information in the memory is abnormal. Errors may occur during the BIOS's retrieval of the monitored component information, or problems may arise during the writing of the information to the H2B memory. In these cases, the BMC needs to perform a judgment based on the byte length and identifier to determine if the monitored component information is abnormal, in order to execute the corresponding subsequent operations. The entire process is automated, improving the reliability of the solution.

[0045] The BIOS power-on self-test (POST) completion instruction can be achieved by sending a level set signal to a pin of the BMC when the BIOS self-test is complete. When the BMC detects the level change of this pin, it knows that the BIOS has completed the POST and then retrieves information about the monitored components in the memory. The whole process is automated, which improves the level of automation.

[0046] S12: Determine whether the information of the monitored component in the H2B memory meets the verification pass conditions based on the byte length and identifier. If yes, proceed to S13; otherwise, proceed to S14.

[0047] The BMC determines whether the information of the monitored component in the H2B memory meets the verification conditions based on the obtained byte length and identifier. If the conditions are met, it means that there are no abnormalities in the information obtained. If the verification conditions are not met, it means that the BIOS made an error when obtaining the information of the monitored component or when writing it to the H2B memory. The BIOS can then perform subsequent steps accordingly, which improves the reliability of the solution.

[0048] S13: Acquire and store type information that represents the type of the monitored component from the information;

[0049] When the information obtained from the monitored component meets the verification conditions, that is, when the BIOS obtains the information from the monitored component and writes it into the H2B memory without any abnormal problems, the type information that represents the type of the monitored component is obtained. Then, the type information of the monitored component needs to be stored. The purpose of storing it is so that if the computer system performs a power-on self-test next time, the BMC can use the stored type information of the monitored component to perform subsequent work, thereby improving the reliability of the solution.

[0050] Since the H2B memory deletes the data stored inside when the computer system is powered off, in order for the BMC to perform subsequent actions based on the stored type information, it is necessary to store the type information obtained each time the conditions are met, which improves the reliability and feasibility of the solution.

[0051] S14: Determine the type information stored in the device itself that represents the type of the monitored component. This type information is the type information stored in the previous determination when the information of the monitored component in the H2B memory met the verification pass condition.

[0052] If the information of the monitored component does not meet the verification conditions, it indicates that there is an anomaly in the information written to the H2B memory by the BIOS. At this time, the subsequent actions are performed based on the type information representing the type of the monitored component stored previously. As we know from the previous step, the type information in the information is stored each time the information of the monitored component meets the conditions. Therefore, if the conditions are not met this time, the type information stored by the BMC itself when the information of the monitored component was previously determined to meet the verification conditions is retrieved. After determining this type information, the subsequent steps are executed. The whole process is automated, which improves the automation level of the solution.

[0053] S15: Monitor the monitored component based on type information.

[0054] Afterwards, the BMC can monitor these monitored components based on the type information. The entire process is highly automated, executing coherent processing actions through control commands without human intervention. It also solves the problem in existing technologies where the BIOS cannot monitor the monitored components when the information obtained by the monitored components is abnormal, thus making the computer system more secure and reliable during operation and improving the user experience.

[0055] For the BIOS, after the server powers on, it reads information about the CPU, memory, and PCIe devices and stores it in the H2B. After the BIOS POST (Power-On Self-Test) is completed, the POST completion signal is set. The BMC involves two modules: during the process of monitoring the host's power-on / off state, it obtains the BIOS POST completion signal; the memory or PCIe device management process monitors the BIOS POST completion signal sent during the host's power-on / off state process. If POST is complete, it reads the updated information from the H2B memory again. If the information verification fails, the type information stored in the BMC is not updated, and the old type information remains unchanged. Reading the type information stored in the BMC allows for correct device management and monitoring.

[0056] It should be noted that BMC also obtains other information about the monitored devices besides their type information, which is then displayed during subsequent monitoring, thus improving the reliability of the solution.

[0057] In summary, this application provides a monitoring and management method. Upon receiving the BIOS power-on self-test completion command, the method obtains the byte length and identifier of the monitored component's information in the H2B memory; it determines whether the monitored component's information in the H2B memory meets the verification pass conditions based on the byte length and identifier; if yes, it obtains and stores the type information representing the type of the monitored component in the information; if no, it determines the type information representing the type of the monitored component stored in its own memory, which is the type information stored when the monitored component's information in the H2B memory was previously determined to meet the verification pass conditions; and it monitors the monitored component based on the type information. This application's BMC determines whether the monitored component's information meets the verification pass conditions by using the byte length and identifier of the monitored component's information. If it does, it obtains the type information in the monitored component's information; if it does not, it determines the type information stored in its own memory when the monitored component's information previously met the verification pass conditions, and then monitors the monitored component based on the type information. Even when the monitored component's information in the H2B memory is abnormal, monitoring of the monitored component can continue, improving reliability.

[0058] Based on the above embodiments:

[0059] In a preferred embodiment, receiving the BIOS power-on self-test completion command includes:

[0060] Upon receiving the power-on command, determine whether the BIOS power-on self-test completion command has been received;

[0061] If the BIOS power-on self-test completion command is received, proceed to the step of obtaining the byte length and identifier of the monitored component information in the H2B memory.

[0062] The process of receiving the BIOS power-on self-test (POST) completion command includes determining whether the computer system's power-on command has been received. If the power-on command is received, it means that the computer has already been powered on, and the BIOS performs a POST. At this point, it is only necessary to determine whether the BIOS's POST completion command has been received. If the BIOS's POST completion command has been received, the process proceeds to the step of obtaining the byte length and identifier of the monitored component information in the H2B memory. This allows the system to determine whether it needs to access its own storage type information based on the identifier and byte length. The entire process is automated, improving the reliability of the solution.

[0063] As a preferred embodiment, monitoring the monitored component based on type information includes:

[0064] Invoke the process management tool corresponding to the information type and monitor the monitored component based on the process management tool.

[0065] The process of monitoring a component based on type information includes calling the process management tool corresponding to the type information to monitor the component. Since the monitored component can be, but is not limited to, the CPU, memory, PCIe device, or other basic components of a computer system, once the type information is obtained, it can be determined which process management tool should be called to monitor the component, thus improving the reliability of the solution.

[0066] As a preferred embodiment, after acquiring and storing the type information representing the type of the monitored component, the method further includes:

[0067] Delete the type information stored in the H2B memory when the information of the monitored component in the previous determination met the verification conditions.

[0068] When new monitored component information that meets the verification conditions is obtained, the previously stored type information of the monitored component needs to be deleted, and then the type information of the monitored component in this instance needs to be stored. This saves space for other services and ensures that the type information stored in the BMC is the information that has passed the verification most recently, thus improving the reliability of the solution.

[0069] As a preferred embodiment, after monitoring the monitored component based on type information, the method further includes:

[0070] When the temperature of the monitored component exceeds the preset temperature, the heat dissipation module is controlled to dissipate heat from the monitored component.

[0071] When the temperature of a monitored component exceeds a preset temperature, the heat dissipation module can be controlled to cool the component. The BMC manages device temperature and alarm information. It monitors the real-time operation of the CPU, memory, and PCIe devices; if normal, monitoring continues; if abnormal, corresponding alarms are issued, and heat dissipation is adjusted promptly when the temperature is too high, improving the reliability of the solution.

[0072] As a preferred embodiment, acquiring and storing type information characterizing the type of the monitored component includes:

[0073] Obtain type information that represents the type of the monitored component from the information, and store the type information as a log file in JSON format.

[0074] When storing the type information of monitored components, this information can be stored as a JSON-formatted log file for easy viewing by staff. The one-click log file retrieval method is convenient and improves the overall processing efficiency of the solution. After successful verification, the information of the monitored components sent by the BIOS in H2B is queried and saved in JSON format to the BMC's memory, ensuring that it is not lost after power-off. The information saved by the BMC can be collected through one-click log collection, facilitating analysis when problems occur later, clarifying which devices are correctly recognized by the BIOS, etc., thus improving the comprehensiveness of the solution.

[0075] As a preferred embodiment, determining whether the information of the monitored component in the H2B memory meets the verification pass conditions based on the byte length and identifier includes:

[0076] Determine whether the byte length does not exceed the preset byte length and whether the content of each flag bit conforms to the preset flag filling template. The preset flag filling template is filled with fixed content for each flag bit.

[0077] If the byte length does not exceed the preset byte length and the content of each identifier bit conforms to the preset identifier filling template, the information of the monitored component in the H2B memory is determined to meet the verification pass condition.

[0078] If the byte length does not exceed the preset byte length or the content of each identifier bit does not conform to the preset identifier filling template, it is determined that the information of the monitored component in the H2B memory does not meet the verification pass conditions.

[0079] When determining whether the information of the monitored component meets the verification pass conditions, it is first necessary to determine whether the byte length of the information exceeds its own preset byte length. If it does, it indicates that there is a problem with the information. It is also necessary to determine whether the content of each flag bit of the identifier conforms to the preset identifier filling template. In an identifier, each flag bit should be filled with its corresponding content in a certain format. For example, one flag bit is used to write the name number. If the identifier is filled with something other than the name number, it means that the information of the monitored component obtained this time is abnormal. If either of the above two situations is abnormal, it is determined that the verification pass conditions are not met, thus improving the reliability of the solution.

[0080] Specifically, during BMC initialization, the values ​​from the H2B memory are read to verify whether the information content meets the format requirements. Since the H2B memory is partitioned, each partition has a defined offset (identifier bit), a maximum number of bytes that can be stored in each region, and read / write permissions. Therefore, the verification method is to explicitly identify the partition to be read and check whether the offset and content length exceed the maximum length. This solution can also map alarm information to the corresponding device when the BIOS detects errors in the memory or PCIe device during the POST process, such as bandwidth reduction. Because device management is performed by reading information from a JSON file stored within the BMC, the BMC has already correctly loaded the device alarm module before the BIOS performs a POST operation. Alarm information during the POST process can be mapped to specific devices. BIOS alarms occur during the POST process, which facilitates precise alarm location and improves the reliability of the solution.

[0081] The present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the monitoring and management method described above.

[0082] For a description of the computer-readable storage medium provided in this solution, please refer to the embodiments of the monitoring and management method described above; it will not be repeated here.

[0083] Please refer to Figure 2 , Figure 2 This is a schematic diagram of the structure of a monitoring and management system provided by the present invention.

[0084] The present invention also provides a monitoring and management system, comprising:

[0085] The byte length and identifier acquisition unit 10 is used to acquire the byte length and identifier of the monitored component information in the H2B memory when the BIOS power-on self-test completion command is received.

[0086] Judgment unit 11 is used to determine whether the information of the monitored component in the H2B memory meets the verification pass condition based on the byte length and the identifier. If yes, the first type of information acquisition unit is triggered; if no, the second type of information acquisition unit is triggered.

[0087] The first type of information acquisition unit 12 is used to acquire and store type information that represents the type of the monitored component in the information;

[0088] The second type of information acquisition unit 13 is used to determine the type information representing the type of the monitored component stored in itself. This type information is the type information stored in the information when the information of the monitored component in the H2B memory met the verification pass condition in the previous determination.

[0089] Monitoring unit 14 is used to monitor the monitored component based on type information.

[0090] The byte length and identifier acquisition unit includes:

[0091] The receiving and judging unit is used to determine whether the BIOS power-on self-test completion command has been received when the power-on command is received;

[0092] If the BIOS power-on self-test completion command is received, proceed to the step of obtaining the byte length and identifier of the monitored component information in the H2B memory.

[0093] The monitoring unit includes:

[0094] Invoke the process management tool corresponding to the information type and monitor the monitored component based on the process management tool.

[0095] Following the first type of information acquisition unit, it also includes:

[0096] Delete the type information stored in the H2B memory when the information of the monitored component in the previous determination met the verification conditions.

[0097] Following the monitoring unit, it also includes:

[0098] When the temperature of the monitored component exceeds the preset temperature, the heat dissipation module is controlled to dissipate heat from the monitored component.

[0099] The first type of information acquisition unit includes:

[0100] Obtain type information that represents the type of the monitored component from the information, and store the type information as a log file in JSON format.

[0101] The judgment unit includes:

[0102] The byte length and identifier judgment unit is used to determine whether the byte length does not exceed the preset byte length and whether the content of each identifier bit of the identifier conforms to the preset identifier filling template. Each identifier bit in the preset identifier filling template is filled with fixed content. If yes, the first judgment unit is triggered; otherwise, the second judgment unit is triggered.

[0103] The first determination unit is used to determine whether the information of the monitored component in the H2B memory meets the verification pass conditions.

[0104] The second determination unit is used to determine whether the information of the monitored component in the H2B memory meets the verification pass conditions.

[0105] For an introduction to the monitoring and management system provided in this solution, please refer to the above-described implementation examples of the monitoring and management methods; further details will not be provided here.

[0106] Please refer to Figure 3 , Figure 3 This is a schematic diagram of a monitoring and management device provided by the present invention.

[0107] The present invention also provides a monitoring and management device, comprising:

[0108] Memory 1 is used to store computer programs;

[0109] Processor 2 is used to execute computer programs to implement the steps of any of the above monitoring and management methods.

[0110] For a description of the monitoring and management device provided in this solution, please refer to the above-described embodiments of the monitoring and management method; further details will not be provided here.

[0111] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0112] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0113] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A monitoring and management method, characterized in that, Applied to BMC, including: Upon receiving the BIOS power-on self-test completion command, obtain the byte length and identifier of the monitored component information in the H2B memory; the identifier is the offset specified by each partition after partitioning of the H2B memory; Based on the byte length and the identifier, determine whether the information of the monitored component in the H2B memory meets the verification pass conditions; If so, acquire and store the type information in the information that represents the type of the monitored component; If not, determine the type information stored in itself that represents the type of the monitored component. The type information is the type information stored in the information when the information of the monitored component in the H2B memory was previously determined to meet the verification pass condition. The monitored component is monitored based on the type information; Determining whether the information of the monitored component in the H2B memory meets the verification pass conditions based on the byte length and the identifier includes: Determine whether the byte length does not exceed the preset byte length and whether the content of each identifier bit of the identifier conforms to the preset identifier filling template, wherein each identifier bit in the preset identifier filling template is filled with fixed content; If the byte length does not exceed the preset byte length and the content of each identifier bit of the identifier conforms to the preset identifier filling template, it is determined that the information of the monitored component in the H2B memory meets the verification pass condition. If the byte length does not exceed the preset byte length or the content of each identifier bit of the identifier does not conform to the preset identifier filling template, it is determined that the information of the monitored component in the H2B memory does not meet the verification pass conditions.

2. The monitoring and management method as described in claim 1, characterized in that, Received the BIOS power-on self-test completion command, including: Upon receiving a power-on command, determine whether the BIOS power-on self-test completion command has been received; If the BIOS power-on self-test completion command is received, proceed to the step of obtaining the byte length and identifier of the monitored component information in the H2B memory.

3. The monitoring and management method as described in claim 1, characterized in that, Monitoring the monitored component based on the type information includes: Invoke the process management tool corresponding to the type information and monitor the monitored component based on the process management tool.

4. The monitoring and management method as described in claim 1, characterized in that, After acquiring and storing the type information representing the type of the monitored component from the information, the method further includes: The type information stored in the previous H2B memory when the information of the monitored component met the verification pass conditions will be deleted.

5. The monitoring and management method as described in claim 1, characterized in that, After monitoring the monitored component based on the type information, the process further includes: When the temperature of the monitored component is detected to exceed the preset temperature, the heat dissipation module is controlled to perform heat dissipation on the monitored component.

6. The monitoring and management method as described in claim 1, characterized in that, Acquiring and storing type information characterizing the type of the monitored component from the information includes: Obtain the type information representing the type of the monitored component from the information, and store the type information as a log file in JSON format.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the monitoring and management method as described in any one of claims 1 to 6.

8. A monitoring and management system, characterized in that, include: The byte length and identifier acquisition unit is used to acquire the byte length and identifier of the monitored component information in the H2B memory when the BIOS power-on self-test completion command is received; the identifier is the offset specified by each partition after the H2B memory is partitioned; The judgment unit is used to determine whether the information of the monitored component in the H2B memory meets the verification pass condition based on the byte length and the identifier. If yes, the first type of information acquisition unit is triggered; if no, the second type of information acquisition unit is triggered. The first type of information acquisition unit is used to acquire and store type information in the information that represents the type of the monitored component; The second type information acquisition unit is used to determine the type information representing the type of the monitored component stored in itself. The type information is the type information in the information stored when the information of the monitored component in the H2B memory was determined to meet the verification pass condition in the previous determination. A monitoring unit is used to monitor the monitored component based on the type information. The judgment unit includes: a byte length and identifier judgment unit, used to determine whether the byte length does not exceed the preset byte length and whether the content of each identifier bit of the identifier conforms to the preset identifier filling template, in which each identifier bit is filled with fixed content; if yes, the first judgment unit is triggered; if no, the second judgment unit is triggered; the first judgment unit is used to determine whether the information of the monitored component in the H2B memory meets the verification pass conditions; the second judgment unit is used to determine whether the information of the monitored component in the H2B memory does not meet the verification pass conditions.

9. A monitoring and management device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the monitoring and management method according to any one of claims 1 to 6.