Method and apparatus for monitoring hardware partition of server host system

By dividing multiple partition management systems and target link units on the substrate management controller, independent monitoring of server hardware partitions is achieved, and the problem of low efficiency in server operation data acquisition in the prior art is solved, and monitoring efficiency is improved.

WO2025030986A1PCT designated stage expired Publication Date: 2025-02-13INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
PCT/CN2024/095307
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-09
Filing Date
2024-05-24
Publication Date
2025-02-13

AI Technical Summary

Technical Problem

The prior art is less efficient when acquiring server operation data (such as CPU temperature and register data), resulting in low server operation monitoring efficiency.

Method used

By dividing multiple partition management systems on the substrate management controller, each target partition management system corresponds to a target link unit in a complex programmable logic device, and the target link unit is connected to the hardware partition of the server to realize the hardware partition. Independent monitoring.

Benefits of technology

It improves the efficiency of the substrate management controller to obtain server operation data and enhances the monitoring efficiency of server operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024095307_13022025_PF_FP_ABST
    Figure CN2024095307_13022025_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method and apparatus for monitoring a hardware partition of a server host system. The method comprises: determining a target partition management system on a baseboard management controller, wherein the target partition management system is any partition management system among a plurality of partition management systems divided on the baseboard management controller; selecting, for the target partition management system, a target link unit among a plurality of link units divided on a complex programmable logic device, wherein the target link unit is configured to connect the target partition management system and a target hardware partition among a plurality of hardware partitions divided on the server host system; and monitoring the running of the target hardware partition by means of the target partition management system and the target link unit. The present application improves the running monitoring efficiency of a server. The present application relates to the field of computers.
Need to check novelty before this filing date? Find Prior Art

Description

Method and device for monitoring hardware partitions of server host system

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application number 2023109976278, filed with the Patent Office of China on August 9, 2023, entitled “Method and Device for Monitoring Hardware Partitions of a Server Host System,” the entire contents of which are incorporated herein by reference. Technical Field

[0003] The embodiments of the present application relate to the field of computers, and more specifically, to a method and apparatus for monitoring hardware partitions of a server host system. Background Art

[0004] In the server industry, hardware partitioning of computing resources, such as the central processing unit (CPU) of a general-purpose host system, has emerged. A single server is partitioned into two or more physical host systems, each independently carrying and providing services. This presents difficulties and challenges in the design of hardware partitioned BMC systems. To ensure long-term, stable, and efficient server operation, server systems must possess powerful fault monitoring and management capabilities. Traditional servers typically use the Management Engine (ME) in the Southbridge (Platform Controller Hub) to acquire CPU temperature and collect key register information, then send this data to the Baseboard Management Controller (BMC) for further processing. However, the ME itself handles multiple complex server management tasks, and CPU temperature acquisition and register collection are often interrupted by other tasks. Furthermore, when a server experiences a system outage, the ME is also likely to be affected and unable to function. Therefore, existing technologies for acquiring server operational data (e.g., CPU temperature and register data) are relatively inefficient, resulting in inefficient server operation monitoring.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a method and apparatus for monitoring hardware partitions of a server host system, so as to at least solve the problem of low efficiency in monitoring server operation in the related art.

[0007] According to one embodiment of the present application, a method for monitoring hardware partitions of a server host system of a server monitoring component is provided, comprising: determining a target partition management system on the above-mentioned baseboard management controller, wherein the above-mentioned target partition management system is any partition management system among multiple partition management systems divided on the above-mentioned baseboard management controller; selecting a target link unit from multiple link units divided on a complex programmable logic device for the above-mentioned target partition management system, wherein the above-mentioned target link unit is configured to connect the above-mentioned target partition management system and a target hardware partition among multiple hardware partitions divided on the server host system; and monitoring the operation of the above-mentioned target hardware partition through the above-mentioned target partition management system and the above-mentioned target link unit.

[0008] According to one embodiment of the present application, a baseboard management controller is also provided, including: multiple partition management systems, wherein a target partition management system among the multiple partition management systems is connected to a target link unit on a complex programmable logic device, wherein the target partition management system is any partition management system among the multiple partition management systems, and the target link unit is any link management unit among the multiple link units divided on the complex programmable logic device; the target link unit is connected to a target hardware partition among the multiple hardware partitions divided on a server host system, wherein the target hardware partition is any hardware partition among the multiple hardware partitions, and the target partition management system is configured to monitor the operation of the target hardware partition through the target link unit.

[0009] In an exemplary embodiment, the target partition management system includes a target operating system and a target hardware interface, wherein the target hardware interface is configured to connect the target partition management and the target link unit, and is configured to read the operating data of the target hardware partition from the target link unit; the target operating system is configured to monitor the operation of the target hardware partition using the operating data.

[0010] In an exemplary embodiment, the target partition management system includes an interrupt interface, wherein the interrupt interface is configured to transmit an interrupt signal sent by the target link unit to the target partition management system, and the interrupt signal is used to indicate that the operating data of the target hardware partition has been sent to the target link unit.

[0011] According to one embodiment of the present application, a complex programmable logic device is also provided, including: multiple link units, wherein a target link unit among the multiple link units is connected to a target hardware partition among multiple hardware partitions divided on a server host system, wherein the above-mentioned target link unit is any link unit among the multiple link units, and the above-mentioned target hardware partition is any hardware partition among the multiple hardware partitions; the above-mentioned target link unit is also connected to a target partition management system among multiple partition management systems divided on a baseboard management controller, wherein the above-mentioned target partition management system is any partition management system among the multiple partition management systems, and the above-mentioned target partition management system is configured to monitor the operation of the above-mentioned target hardware partition through the above-mentioned target link unit.

[0012] In an exemplary embodiment, the target link unit is connected to the target partition management system via a target hardware interface in the target partition management system, and transmits the operation data of the target hardware partition to the target partition management system via the target hardware interface.

[0013] In an exemplary embodiment, the target link unit further includes a target controller, wherein the target controller is configured to convert data transmitted between the target hardware partition and the target partition management system. The target controller is a controller that supports the Platform Environment Control Interface (PECI) transmission protocol. The target controller is linked to the target hardware partition through the target control interface.

[0014] According to one embodiment of the present application, a server host system is also provided, including: multiple hardware partitions, wherein a target hardware partition among the multiple hardware partitions is connected to a target link unit, wherein the above-mentioned target link unit is any link unit among the multiple link units divided on a complex programmable logic device; the above-mentioned target link unit is connected to a target partition management system, wherein the above-mentioned target partition management system is any partition management system among the multiple partition management systems divided on a baseboard management controller, and the above-mentioned target partition management system is configured to monitor the operation of the above-mentioned target hardware partition through the above-mentioned target link unit.

[0015] According to one embodiment of the present application, a server is further provided, comprising: the above-mentioned baseboard management controller, the above-mentioned complex programmable logic device, and the above-mentioned server host system.

[0016] According to one embodiment of the present application, a monitoring device for hardware partitions of a server host system is also provided, including: a determination module, configured to determine a target partition management system on the above-mentioned baseboard management controller, wherein the above-mentioned target partition management system is any partition management system among multiple partition management systems divided on the above-mentioned baseboard management controller; a selection module, configured to select a target link unit from multiple link units divided on a complex programmable logic device for the above-mentioned target partition management system, wherein the above-mentioned target link unit is configured to connect the above-mentioned target partition management system and a target hardware partition among multiple hardware partitions divided on the server host system; a monitoring module, configured to monitor the operation of the above-mentioned target hardware partition through the above-mentioned target partition management system and the above-mentioned target link unit.

[0017] An embodiment of the present application further provides a computer non-volatile readable storage medium, in which a computer program is stored.

[0018] An embodiment of the present application further provides an electronic device, comprising at least one processor; and a memory, wherein the memory stores computer instructions that can be run on the processor, and when the instructions are executed by the processor, the steps of the above method are implemented.

[0019] An embodiment of the present application further provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.

[0020] Through this application, since multiple partition management systems are divided on the baseboard management controller, each target partition management system corresponds to a target link unit divided in a complex programmable logic device, and the target link unit is connected to the target hardware partition in the multiple hardware partitions divided in the server. This allows the target partition management system to independently manage the target hardware partition through the target link unit. This forms an interconnected topology of PECI links, achieves the purpose of building an independent PECI link between the partition management system and the server, and improves the efficiency of the BMC in obtaining the server's operating data. Therefore, the efficiency of monitoring the operation of the server is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying any creative work.

[0022] FIG1 is a hardware structure block diagram of a mobile terminal for a method of monitoring hardware partitions of a server host system according to an embodiment of the present application;

[0023] FIG2 is a flow chart of a method for monitoring hardware partitions of a server host system according to an embodiment of the present application;

[0024] FIG3 is a schematic structural diagram of a specific embodiment of a server monitoring system according to an embodiment of the present application;

[0025] FIG4 is a schematic diagram of the data format of request data according to an embodiment of the present application;

[0026] FIG5 is a schematic diagram of the PECI data format according to an embodiment of the present application;

[0027] FIG6 is a schematic diagram of the format of target response data according to an embodiment of the present application;

[0028] FIG7 is a flowchart of command sending according to an embodiment of the present application;

[0029] FIG8 is a flowchart of command reception according to an embodiment of the present application;

[0030] 9 is a structural block diagram of a device for monitoring hardware partitions of a server host system according to an embodiment of the present application;

[0031] FIG10 is a schematic diagram of an optional electronic device according to an embodiment of the present application;

[0032] FIG11 is a schematic diagram of an embodiment of a computer non-volatile readable storage medium for a method for monitoring hardware partitions of a server host system provided in the present application. DETAILED DESCRIPTION

[0033] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0034] It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0035] It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0036] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking operation on a mobile terminal as an example, FIG1 is a hardware structure block diagram of a mobile terminal of a method for monitoring the hardware partition of a server host system in an embodiment of the present application. As shown in FIG1 , the mobile terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data, wherein the mobile terminal may also include a transmission device 106 and an input and output device 108 configured for a communication function. It will be understood by those skilled in the art that the structure shown in FIG1 is only for illustration and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .

[0037] The memory 104 can be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for monitoring the hardware partition of the server host system in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0038] The transmission device 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the mobile terminal's telecommunications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.

[0039] In this embodiment, a method for monitoring hardware partitions of a server host system is provided. FIG2 is a flow chart of the method for monitoring hardware partitions of a server host system according to an embodiment of the present application. As shown in FIG2 , the flow chart includes the following steps:

[0040] Step S202: determining a target partition management system on the baseboard management controller, wherein the target partition management system is any one of a plurality of partition management systems divided on the baseboard management controller;

[0041] Step S204: selecting a target link unit from among the multiple link units divided on the complex programmable logic device for the target partition management system, wherein the target link unit is configured to connect the target partition management system and a target hardware partition from among the multiple hardware partitions divided on the server host system;

[0042] Step S206: Monitor the operation of the target hardware partition through the target partition management system and the target link unit.

[0043] The execution subject of the above steps may be a processor, or a processor or processing device that is relatively independent from the terminal or server, etc., but is not limited thereto.

[0044] This embodiment can be applied to scenarios where partition management of hosts is required. For example, a server is partitioned into multiple hardware partition systems, each of which independently carries and provides services. Each physical host system needs to be monitored separately.

[0045] Through the above steps, since multiple partition management systems are divided on the baseboard management controller, each target partition management system corresponds to a target link unit divided in a complex programmable logic device, and the target link unit is connected to the target hardware partition in the multiple hardware partitions divided in the server. This allows the target partition management system to independently manage the target hardware partition through the target link unit. This forms an interconnection topology of the PECI link, achieves the purpose of building an independent PECI link between the partition management system and the server, and improves the efficiency of the BMC in obtaining the server's operating data. Therefore, the problem of low efficiency of server operation monitoring in the related art can be solved, and the effect of improving the efficiency of server operation monitoring can be achieved.

[0046] Optionally, in this embodiment, the baseboard management controller can be, but is not limited to, a dedicated controller configured to monitor and manage servers, such as a BMC, that provides intelligent management of the motherboard based on IPMI technical design specifications. A BMC can have an independent arithmetic unit, a secondary controller, memory, and input / output devices. It can also have an independent software system, including a basic boot system, an operating system, and various applications running on the BMC system. On the motherboard, the BMC can be a standalone plug-in board or integrated into the motherboard, and is often designed on the motherboard of a server or computer.

[0047] Optionally, in this embodiment, complex programmable logic devices include but are not limited to devices with link functions and data conversion functions. For example, CPLD. CPLD can have an independent arithmetic unit, followed by a controller, as well as a memory and input and output devices. It can also have an independent software system, including a basic boot system, an operating system and various application programs running on the BMC system. On the motherboard, the CPLD can be an independent plug-in board or can be designed as a component integrated on the motherboard, and is often designed on the motherboard of a server or computer. The CPLD logic unit and the FPGA logic unit are inherent devices in the server system. There is no need to add additional hardware structure, and the hardware resources in the server system can be fully utilized. It should be noted that hardware equipment can also be added according to actual needs to meet the conversion function of the PECI link.

[0048] Optionally, in this embodiment, the server host system can be, but is not limited to, an operating system installed on a computer host equipped with multiple CPU processors, typically Windows, Mac, OS and other systems, which manage the computer's hardware and software resources and provide services and interfaces for users or applications to use.

[0049] Optionally, in this embodiment, the server host system's hardware resources can be partitioned using, but not limited to, CPU processors as partition units to obtain multiple hardware partitions. Each of the multiple hardware partitions corresponds to an independent operating system, meaning that each hardware partition contains the computing, storage, network, and I / O hardware resources required for its own system operation.

[0050] Optionally, in this embodiment, at the software level, each hardware partition can run a different operating system or a different version of the same operating system, and is configured to manage the independent operation of the corresponding operating system of each hardware partition.

[0051] In an exemplary embodiment, a target link unit from a plurality of link units divided on a complex programmable logic device is selected for a target partition management system, including: obtaining a plurality of link units on the complex programmable logic device; assigning a target operating system on a baseboard management controller to each of the plurality of link units, wherein the target link unit at least meets the link requirements of the target operating system; assigning a hardware interface on the baseboard management controller to the target link unit to obtain a target hardware interface, wherein the target hardware interface at least meets the hardware connection requirements of the target operating system; establishing a corresponding relationship between the target link unit having a corresponding relationship with the target operating system and the target hardware interface and the target partition management system, thereby obtaining a link unit and a partition management system having a corresponding relationship. In this embodiment, the target operating system can be, but is not limited to, any operating system running on a baseboard management controller. It can be any of multiple operating systems deployed on a processor in an embedded system, i.e., an embedded operating system. Embedded operating systems can be divided into real-time operating systems (RTOS) and non-real-time operating systems based on their sensitivity to response time. Real-time operating systems can include, but are not limited to, FreeRTOS and RTLinux (AReal-Time Linux, also known as real-time Linux, a real-time operating system within Linux). Linux, short for GNU / Linux, is a free and freely disseminated Unix-like operating system. It is a POSIX-based multi-user, multi-tasking operating system that supports multi-threading and multiple CPUs. Non-real-time operating systems can include, but are not limited to, Contiki (a small, open-source, and highly portable multi-tasking computer operating system), HeliOS (an extensible mobile backend framework developed using Ruby), and Linux. The Linux system runs independently in the partition management system, achieving the purpose of independent monitoring of each server.

[0052] Optionally, in this embodiment, the multiple operating systems may be, but are not limited to, multiple heterogeneous or homogeneous operating systems configured to manage the BMC, that is, the type of each operating system may be the same or different.

[0053] Optionally, in this embodiment, an embedded system is a device configured to control, monitor, or assist in the operation of machinery and equipment, and is a dedicated computer system. An embedded system is application-centric, based on computer technology, and its software and hardware can be customized to meet the application's stringent requirements for functionality, reliability, cost, size, power consumption, and other aspects. Defined by the application object, an embedded system is a combination of software and hardware, and may also include ancillary devices such as machinery.

[0054] Optionally, in this embodiment, the embedded system may include, but is not limited to, hardware devices such as a processor, memory, and peripheral circuits from a hardware perspective, and the target operating system may be, but is not limited to, running on the processor of the embedded system. From a software perspective, the target operating system may include, but is not limited to, underlying drivers, an operating system, and application programs, and the target operating system is the operating system in the embedded system.

[0055] In an exemplary embodiment, before establishing a corresponding relationship between the target link unit that has a corresponding relationship with the target operating system and the target hardware interface and the target partition management system, the above method also includes: obtaining multiple partition management systems on the baseboard management controller; assigning an operating system on the baseboard management controller to each target partition management system in the multiple partition management systems to obtain a target operating system; assigning a hardware interface on the baseboard management controller to each target partition management system to obtain a target hardware interface; establishing a corresponding relationship between the target partition management system and the target operating system and the target hardware interface to obtain a partition management system, an operating system link, and a hardware interface with a corresponding relationship. In this embodiment, one partition management system corresponds to one operating system, and the operating system is configured to process data received or required to be sent from the partition management system. One or more target hardware interfaces are provided in the partition management system. The target hardware interface is an interface with data transmission capability, which is correspondingly connected to the link management unit, including but not limited to an I2C interface. For example, the target partition management system and the target link unit in the BMC are connected via I2C.

[0056] In an exemplary embodiment, after establishing a correspondence between the target link unit that has a correspondence with the target operating system and the target hardware interface and the target partition management system, the above method also includes: obtaining multiple hardware partitions of the host system; allocating a controller on a complex programmable logic device to each target hardware partition in the multiple hardware partitions to obtain a target controller, wherein the target controller at least meets the control operation requirements of the target hardware partition; allocating a control interface on a complex programmable logic device to the target hardware partition to obtain a target control interface, wherein the target control interface at least meets the connection requirements of the target hardware partition; establishing a correspondence between the target hardware partition and the target controller and the target control interface to obtain a hardware partition and link unit with a corresponding relationship. In this embodiment, the target controller includes but is not limited to a processor, or other devices with control capabilities, such as a PECI controller. A controller can also be set in the hardware partition, and connected to the target controller through a target control interface. For example, the PECI controller in the target link unit is connected to the PECI controller in the target hardware partition through the PECI interface to transmit data.

[0057] In an exemplary embodiment, monitoring the operation of a target hardware partition through a target partition management system and a target link unit includes: sending request data to the target link unit through the target partition management system, wherein the request data is configured to request operation data of the target hardware partition; converting the request data into data supporting the PECI transmission protocol through the target link unit to obtain target request data, and sending the target request data to the target hardware partition; obtaining response data including operation data generated by the target hardware partition when the target hardware partition responds to the target request data; receiving the response data sent by the target hardware partition through the target link unit and converting the response data into data supporting the I2C transmission protocol to obtain target response data, wherein the response data is data supporting the PECI transmission protocol; obtaining the target response data from the target link unit through the target partition management system, extracting the operation data generated by the target hardware partition from the target response data, and monitoring the operation of the target hardware partition using the operation data. In this embodiment, the request data includes at least one of the following: the address of the target hardware partition, detection information of the target hardware partition, a data format of the request data, and parameter information for requesting to obtain the operation data of the target hardware partition, wherein the detection information is configured to request to detect whether a link supporting the transmission of PECI data is set in the target hardware partition. The conversion of request data is mainly to speed up the transmission of request data. For example, the request data is converted into PECI data, which can be quickly transmitted to the target hardware partition through the target link unit. The response data includes the operating data of the target hardware partition (for example, temperature, operating speed and other information). The conversion of response data is also to speed up the transmission of response data. The operating data of the server includes the temperature of the CPU in the server, CPU power consumption, information of key registers, fault status information of UPI link, memory controller, PCIe link, etc. The partition management system and the link unit in this embodiment transmit data through the I2C interface, and there is no need to set up a PECI controller in the partition management system. The PECI transmission between the partition management system and the hardware partition can be realized through the conversion of the link unit. This can save the design cost of the BMC and the host system and improve computing performance.

[0058] For example, the format of the request data is shown in Figure 4. The request data includes the server address (PECI target address in Figure 4), server detection information, data format information (command code in Figure 4), and parameter information for the requested server's operating data (parameter 1-parameter N in Figure 4). The server detection information is used to request whether a PECI link is set up in the server. The data format information includes the data transmission formats supported by the request data, and the parameter information includes the parameters for the requested server's operating data. The request data includes a Ping command to detect the PECI link status and commands to obtain temperature and registers. If the link unit is a partition in a CPLD, the request data also includes the CPLD address. The request data is sent to the corresponding link unit according to the Complex Programmable Logic Device (CPLD) address. In the CPLD, a conversion module converts the request data into PECI formatted data, resulting in the target request data. The target request data is in PECI format. The PECI data format includes fields such as the target address (i.e., the PECI controller address on the host system, which ranges from 0x30 to 0x37), write length, read length, and command code. For example, when the PECI data format is a Ping command, the fields included in the PECI data format are shown in Figure 5. The address rate negotiation bit and message rate negotiation bit are fixed formats, consisting of two 0 bits and one 0 bit, respectively, and the write length and read length are both 0x00. Because the Ping command is uniquely identified by the write length and read length, both of which are 0x00, the command code field is not required. The Frame Check Sequence (FCS) field is the response data from the host-side hardware partition and uses a CRC checksum.

[0059] Optionally, sending request data to the target link unit through the target partition management system includes: generating request data through the target operating system corresponding to the target partition management system; sending the request data to the target link unit through the target hardware interface corresponding to the target partition management system, wherein the target hardware interface allows transmission of request data that supports the I2C transmission protocol.

[0060] Optionally, the target link unit converts the request data into data that supports the PECI transmission protocol to obtain target request data, and sends the target request data to the target hardware partition, including: converting the request data into target request data through a target controller corresponding to the target link unit, wherein the target controller is a controller that supports the PECI transmission protocol, the target controller is connected to a register in the target link unit, and the register is configured to store the target request data; and sending the target request data from the register to the target hardware partition through a target control interface corresponding to the target link unit. PECI is a one-wire bus configured to monitor the temperature of the CPU and chipset, and its full name is Platform Environment Control Interface. Its main application is to monitor the CPU temperature.

[0061] Optionally, the target link unit receives response data sent by the target hardware partition and converts the response data into data supporting the I2C transmission protocol. Obtaining the target response data includes: converting the response data into target response data through a target controller corresponding to the target link unit, wherein the target controller is a controller supporting the PECI transmission protocol, the target controller is connected to a register in the target link unit, and the register is configured to store the target response data. In this embodiment, the target controller is mainly configured to perform format conversion on the request data. The request data obtained from the partition management system is in the I2C format, and the request data needs to be converted into target request data in the PECI format. PECI format data includes multiple formats, such as the message format of the ping command, which includes a target address field, a write length field, a read length field, etc. It should be noted that the conversion of data is merely a conversion of the data format, mainly for transmission between different devices, and the specific content of the request remains unchanged. In addition, in this embodiment, different types of request data correspond to different registers. The registers mainly perform PECI protocol logic control on the data according to the PECI transmission protocol and convert it into waveform signal transmission. The registers can be read-write registers.

[0062] Optionally, the target controller is an entity implemented by the PECI protocol, and the PECI interface in the target controller is connected to the PECI pin of the CPU in the hardware partition; the hardware partition is connected to the first PECI interface through the second PECI interface in the second PECI controller included in the hardware partition, thereby realizing the transmission of PECI request data and response data between the hardware partition and the link unit.

[0063] Optionally, before the target partition management system obtains the target response data from the target link unit, the above method further includes: sending an interrupt signal to the target partition management system through the target link unit, wherein the interrupt signal is used to indicate that the response data has been sent to the target link unit. In this embodiment, the partition management system is the master device in the server monitoring component, and the link unit is the slave device in the server monitoring component. The interaction between the partition management system and the link unit requires the partition management system to actively initiate and the link unit to respond. After receiving the response message, the link unit does not actively send a response message to the partition management system, but informs the partition management system through an interrupt signal that the response message has been received, prompting the partition management system to actively initiate an acquisition instruction for obtaining the response data to read the response data from the register in the link unit. By sending an interrupt signal to the partition management system in this embodiment, the link unit can enable the partition management system to obtain the response data in the first time, thereby improving the efficiency of monitoring the server.

[0064] Optionally, the processing of the response message is similar to the processing of the request data, both requiring format conversion and transmission to the register, so as to achieve the purpose of quickly obtaining the operating data of the server.

[0065] Optionally, the target partition management system obtains target response data from the target link unit, extracts operation data generated by the target hardware partition from the target response data, and monitors the operation of the target hardware partition using the operation data, including: generating a read instruction through a target operating system corresponding to the target partition management system, and sending the read instruction to the target link unit through a target hardware interface corresponding to the target partition management system, wherein the target hardware interface allows the transmission of request data supporting the I2C transmission protocol; reading target response data from a register corresponding to the target link unit through the target hardware interface; parsing the target response data through the target operating system to obtain operation data, and monitoring the operation of the target hardware partition according to the operation data. In this embodiment, the physical addresses of the hardware interfaces on the BMC adopt a unified addressing method, that is, resources such as LPC0, LPC1, I2C0-I2C5, LAN0, LAN1, PCIE, etc. have mutually exclusive address spaces in the BMC system. In this way, as long as the hardware resources defined by different management partitions on the BMC are different, it can be ensured that each management partition will not affect other management partitions when accessing hardware resources.

[0066] In an optional embodiment, taking the baseboard management controller as BMC as an example, the BMC is divided into three partition management systems, and the operating system in each partition management system is the Linux system. As shown in Figure 3, each hardware partition is equivalent to an independent server system in the Host partition system. The Host partition system is divided into N hardware partitions according to the number of CPU units. Each hardware partition corresponds to a CPU processor in a server, which is equivalent to the entire host system being split into N independent server systems. In order to achieve independent monitoring and management of each independent server system, the BMC multi-core processor is divided into N partition management systems based on the core, corresponding to Core1, Core2, ..., CoreN respectively. One Core is equivalent to one partition management system. Correspondingly, the CPLD logic unit is divided into N partitions, and one partition is equivalent to one link unit.

[0067] Optionally, a standalone server system in the host partition system includes a PECI controller interface. As shown in Figure 3, control interface PECI1 is configured in hardware partition 1. Each core partition in the BMC also has one I2C hardware connection interface and one GPIO interface. Each of the N partitions in the CPLD logic unit includes N parallel link units, each corresponding to a specific conversion function for the PECI link in a hardware partition on the host side.

[0068] Optionally, as shown in Figure 3, the I2C interface in Core 1 is connected to the I2C interface in the link unit in the CPLD logic unit. The I2C link between the link unit and the partition management system is responsible for transmitting PECI request and response data between the BMC and the CPLD. Requests include request data, and responses include response data. The partition management system's GPIO interface is configured to receive an interrupt signal from the link unit, indicating that the link unit is ready to send PECI response data to the partition management system. In addition to the aforementioned I2C and GPIO interfaces, the link unit also includes a PECI controller module and a corresponding PECI external interface. The PECI controller module is the entity that implements the PECI protocol. The PECI interface is configured to connect to the PECI interface of the host hardware partition. This PECI interface connects to the PECI pin of the hardware partition's CPU. On the host side, the PECI interface of the hardware partition system is connected to the PECI interface of the CPLD logic unit, enabling PECI request and response data transmission between the host hardware partition unit and the CPLD logic unit.

[0069] Optionally, the response data is data transmitted via the PECI link, and the data format of the response data is the same as the data format of the target request data. The conversion module in the link unit converts it into target response data in PECI format, and the target response data is data in I2C format. For example, as shown in FIG6 , the target response data includes the CPLD address, the command code, the PECI target address, and the response bytes (i.e., the server's operating data).

[0070] Optionally, this embodiment uses the system structure of the CPLD implementing the PECI communication link under the hardware partition system as an example to illustrate the server monitoring system: the Host side and the BMC are divided into different hardware partitions. The Core partition of each partition management system corresponds to a Host hardware partition, which is responsible for the independent management and control of the Host hardware partition. The BMC and the CPLD logic unit are interconnected through the I2C (and GPIO) interface, and the hardware partition system on the Host side and the CPLD logic unit are interconnected through the PECI interface, thereby forming a PECI link interconnection topology of the BMC-CPLD-Host partition system. Based on the PECI data interaction method of the specific I2C data format and the PECI data processing flow of the whole system, the construction of an independent PECI link between the Host and the BMC under the hardware partition system is realized. No additional hardware investment is required, and there is no need to upgrade the BMC architecture. While saving hardware costs, it improves the resource utilization of the CPLD and avoids the time cost of developing a completely new architecture BMC.

[0071] Optionally, in a specific embodiment, the link topology between the BMC, CPLD, and Host is used as an example for description, which mainly includes a command sending process and a command receiving process. As shown in FIG7 , the command sending process in this embodiment includes the following steps:

[0072] S702, BMC initiates PECI request command;

[0073] S703, the BMC converts the PECI request command into an I2C protocol format;

[0074] S704, the BMC sends the request data after format conversion through the I2C interface;

[0075] S705, the CPLD receives request data supporting the I2C protocol from the BMC through the I2C interface, and parses the request data to obtain the request content;

[0076] S706, the CPLD operates the register of the PEC controller according to the parsed data, converts the format of the request data into target request data in PECI format;

[0077] S707, the CPLD sends the PECI waveform of the target request data to the hardware partition of the Host through the PECI interface.

[0078] Optionally, as shown in FIG8 , the command receiving process in this embodiment includes the following steps:

[0079] S802, the CPLD sends the PECI waveform of the target request data to the hardware partition of the host through the PECI interface;

[0080] S803, the hardware partition of the Host receives PECI data (i.e., the waveform of the target request data) from the CPLD through the PECI interface;

[0081] S804: The Host partition verifies the target address field. If the target address matches its own address, it responds to the request data.

[0082] S805, the host partition sends the response data to the PECI interface of the CPLD logic unit through the PECI interface on the host side;

[0083] S806, the CPLD logic unit receives response data from the host system partition through the PECI interface;

[0084] S807, the CPLD parses the response data, which is then buffered in a register by the PECI controller;

[0085] S808, the BMC sends a PECI response data read command (i.e., a read command) to the CPLD via the I2C interface;

[0086] S809, CPLD sends target response data to BMC via I2C interface;

[0087] S810: The BMC receives target response data from the CPLD and parses it to obtain valid data (eg, server operation data).

[0088] In summary, this embodiment can realize the construction of independent PECI links from the partition management system under each hardware partition system to the host side through the PECI link, so as to achieve the purpose of independent monitoring of multiple hardware partition systems of the host by a single partition management system.

[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the above-mentioned methods of each embodiment of the present application.

[0090] In this embodiment, a baseboard management controller is provided, including: multiple partition management systems, wherein a target partition management system among the multiple partition management systems is connected to a target link unit on a complex programmable logic device, wherein the target partition management system is any partition management system among the multiple partition management systems, and the target link unit is any link management unit among the multiple link units divided on the complex programmable logic device; the target link unit is connected to a target hardware partition among multiple hardware partitions divided on a server host system, wherein the target hardware partition is any hardware partition among the multiple hardware partitions, and the target partition management system is configured to monitor the operation of the target hardware partition through the target link unit.

[0091] Through the above-mentioned baseboard management controller, since multiple partition management systems are divided on the baseboard management controller, each target partition management system corresponds to a target link unit divided in a complex programmable logic device, and the target link unit is connected to the target hardware partition in the multiple hardware partitions divided in the server. This allows the target partition management system to independently manage the target hardware partition through the target link unit. This forms an interconnection topology of PECI links, achieves the purpose of building an independent PECI link between the partition management system and the server, and improves the efficiency of the BMC in obtaining the server's operating data. Therefore, it can solve the problem of low efficiency of server operation monitoring in related technologies and achieve the effect of improving the efficiency of server operation monitoring.

[0092] Optionally, in this embodiment, the baseboard management controller can be, but is not limited to, a dedicated controller configured to monitor and manage servers, such as a BMC, that provides intelligent management of the motherboard based on IPMI technical design specifications. A BMC can have an independent arithmetic unit, a secondary controller, memory, and input / output devices. It can also have an independent software system, including a basic boot system, an operating system, and various applications running on the BMC system. On the motherboard, the BMC can be a standalone plug-in board or integrated into the motherboard, and is often designed on the motherboard of a server or computer.

[0093] In an exemplary embodiment, the target partition management system includes a target operating system and a target hardware interface, wherein the target hardware interface is configured to connect the target partition management and the target link unit, and is configured to read the operating data of the target hardware partition from the target link unit; the target operating system is configured to use the operating data to monitor the operation of the target hardware partition.

[0094] In an exemplary embodiment, the target partition management system includes an interrupt interface, wherein the interrupt interface is configured to transmit an interrupt signal sent by the target link unit to the target partition management system, and the interrupt signal is used to indicate that the operation data of the target hardware partition has been sent to the target link unit.

[0095] In this embodiment, a complex programmable logic device is provided, including: multiple link units, wherein a target link unit among the multiple link units is connected to a target hardware partition among multiple hardware partitions divided on a server host system, wherein the target link unit is any link unit among the multiple link units, and the target hardware partition is any hardware partition among the multiple hardware partitions; the target link unit is also connected to a target partition management system among multiple partition management systems divided on a baseboard management controller, wherein the target partition management system is any partition management system among the multiple partition management systems, and the target partition management system is configured to monitor the operation of the target hardware partition through the target link unit.

[0096] Through the aforementioned complex programmable logic device, since each target partition management system corresponds to a target link unit divided in the complex programmable logic device, the target link unit is connected to the target hardware partition in the multiple hardware partitions divided in the server. This allows the target partition management system to independently manage the target hardware partition through the target link unit. This forms an interconnected topology of PECI links, achieving the purpose of building independent PECI links between the partition management system and the server, and improving the efficiency of the BMC in obtaining the server's operating data. Therefore, it can solve the problem of low efficiency in server operation monitoring in related technologies and achieve the effect of improving the efficiency of server operation monitoring.

[0097] Optionally, in this embodiment, complex programmable logic devices include but are not limited to devices with link functions and data conversion functions. For example, CPLD. CPLD can have an independent arithmetic unit, followed by a controller, as well as a memory and input and output devices. It can also have an independent software system, including a basic boot system, an operating system and various application programs running on the BMC system. On the motherboard, the CPLD can be an independent plug-in module or can be designed as a component integrated on the motherboard, and is often designed on the motherboard of a server or computer. The CPLD logic unit and the Field Programmable Gate Array (FPGA) logic unit are inherent devices in the server system. There is no need to add additional hardware structure, and the hardware resources in the server system can be fully utilized. It should be noted that hardware equipment can also be added according to actual needs to meet the conversion function of the PECI link.

[0098] In an exemplary embodiment, the target link unit is connected to the target partition management system through a target hardware interface in the target partition management system, and transmits the operating data of the target hardware partition to the target partition management system through the target hardware interface.

[0099] In an exemplary embodiment, the target link unit also includes a target controller, wherein the target controller is configured to convert data transmitted between the target hardware partition and the target partition management system. The target controller is a controller that supports the PECI transmission protocol. The target controller is linked to the target hardware partition through a target control interface.

[0100] In this embodiment, a server host system is provided, including: multiple hardware partitions, wherein a target hardware partition among the multiple hardware partitions is connected to a target link unit, wherein the target link unit is any link unit among multiple link units divided on a complex programmable logic device; the target link unit is connected to a target partition management system, wherein the target partition management system is any partition management system among multiple partition management systems divided on a baseboard management controller, and the target partition management system is configured to monitor the operation of the target hardware partition through the target link unit.

[0101] The server host system described above includes multiple hardware partitions, each of which corresponds to a target partition management system on a baseboard management controller and a target link unit partitioned within a complex programmable logic device. This allows the target partition management system to independently manage the target hardware partition via the target link unit. This forms an interconnected topology of PECI links, achieving the goal of building independent PECI links between the partition management system and the server, and improving the efficiency of the BMC in acquiring server operation data. Therefore, the low efficiency of server operation monitoring in related technologies can be resolved, achieving the effect of improving server operation monitoring efficiency.

[0102] Optionally, in this embodiment, the server host system can be, but is not limited to, an operating system installed on a computer host equipped with multiple CPU processors, typically Windows, Mac, OS and other systems, which manage the computer's hardware and software resources and provide services and interfaces for users or applications to use.

[0103] Optionally, in this embodiment, the server host system's hardware resources can be partitioned using, but not limited to, CPU processors as partition units to obtain multiple hardware partitions. Each of the multiple hardware partitions corresponds to an independent operating system, meaning that each hardware partition contains the computing, storage, network, and I / O hardware resources required for its own system operation.

[0104] Optionally, in this embodiment, at the software level, each hardware partition can run a different operating system or a different version of the same operating system, and the corresponding operating system for managing each hardware partition runs independently.

[0105] In this embodiment, a server is provided, including: a baseboard management controller, a complex programmable logic device, and a server host system.

[0106] In this embodiment, a device for monitoring hardware partitions of a server host system is provided. FIG9 is a block diagram of the device for monitoring hardware partitions of a server host system according to this embodiment, including:

[0107] The determination module 92 is configured to determine a target partition management system on the baseboard management controller, wherein the target partition management system is any one of a plurality of partition management systems divided on the baseboard management controller;

[0108] a selection module 94 configured to select a target link unit from among the plurality of link units divided on the complex programmable logic device for the target partition management system, wherein the target link unit is configured to connect the target partition management system and a target hardware partition from among the plurality of hardware partitions divided on the server host system;

[0109] The monitoring module 96 is configured to monitor the operation of the target hardware partition through the target partition management system and the target link unit.

[0110] In an exemplary embodiment, the selection module 94 includes: a first acquisition unit, configured to acquire the multiple link units on the complex programmable logic device; a first allocation unit, configured to allocate a target operating system on the baseboard management controller to each of the target link units in the multiple link units, wherein the target link unit at least meets the link requirements of the target operating system; a second allocation unit, configured to allocate a hardware interface on the baseboard management controller to the target link unit to obtain a target hardware interface, wherein the target hardware interface at least meets the hardware connection requirements of the target operating system; a first establishment unit, configured to establish a correspondence between the target link unit having a correspondence with the target operating system and the target hardware interface and the target partition management system, to obtain a link unit and a partition management system having a correspondence.

[0111] In an exemplary embodiment, the above-mentioned device also includes: a first acquisition module, which is configured to obtain multiple partition management systems on the above-mentioned baseboard management controller before establishing a correspondence between the above-mentioned target link unit that has a correspondence with the above-mentioned target operating system and the above-mentioned target hardware interface and the above-mentioned target partition management system; a first allocation module, which is configured to allocate the operating system on the above-mentioned baseboard management controller to each target partition management system in the above-mentioned multiple partition management systems, and obtain the above-mentioned target operating system; a second allocation module, which is configured to allocate the hardware interface on the above-mentioned baseboard management controller to each of the above-mentioned target partition management systems, and obtain the above-mentioned target hardware interface; a first establishment module, which is configured to establish a correspondence between the above-mentioned target partition management system and the above-mentioned target operating system and the above-mentioned target hardware interface, and obtain a partition management system, operating system link and hardware interface with a corresponding relationship.

[0112] In an exemplary embodiment, the above-mentioned device also includes: a second acquisition module, which is configured to establish a correspondence between the above-mentioned target link unit that has a correspondence with the above-mentioned target operating system and the above-mentioned target hardware interface and the above-mentioned target partition management system, and then obtain the above-mentioned multiple hardware partitions of the above-mentioned host system; a third allocation module, which is configured to allocate a controller on the above-mentioned complex programmable logic device to each of the above-mentioned target hardware partitions in the above-mentioned multiple hardware partitions, and obtain a target controller, wherein the above-mentioned target controller at least meets the control operation requirements of the above-mentioned target hardware partition; a fourth allocation module, which is configured to allocate a control interface on the above-mentioned complex programmable logic device to the above-mentioned target hardware partition, and obtain the above-mentioned target control interface, wherein the above-mentioned target control interface at least meets the connection requirements of the above-mentioned target hardware partition; a second establishment module, which is configured to establish a correspondence between the above-mentioned target hardware partition and the above-mentioned target controller and the above-mentioned target control interface, and obtain a hardware partition and link unit with a corresponding relationship.

[0113] In an exemplary embodiment, the monitoring module 96 includes: a first sending unit, configured to send request data to the target link unit through the target partition management system, wherein the request data is configured to request the operation data of the target hardware partition; a first conversion unit, configured to convert the request data into data supporting the PECI transmission protocol through the target link unit, obtain target request data, and send the target request data to the target hardware partition; a second acquisition unit, configured to obtain response data including operation data generated by the target hardware partition when the target hardware partition responds to the target request data; a first receiving unit, configured to receive the response data sent by the target hardware partition through the target link unit, and convert the response data into data supporting the I2C transmission protocol to obtain target response data, wherein the response data is data supporting the PECI transmission protocol; a third acquisition unit, configured to obtain the target response data from the target link unit through the target partition management system, extract the operation data generated by the target hardware partition from the target response data, and use the operation data to monitor the operation of the target hardware partition.

[0114] In an exemplary embodiment, the above-mentioned first sending unit includes: a first generating sub-unit, configured to generate the above-mentioned request data through the target operating system corresponding to the above-mentioned target partition management system; the first sending sub-unit, configured to send the above-mentioned request data to the above-mentioned target link unit through the target hardware interface corresponding to the above-mentioned target partition management system, wherein the above-mentioned target hardware interface allows the transmission of the above-mentioned request data supporting the I2C transmission protocol.

[0115] In an exemplary embodiment, the first conversion unit includes: a first conversion subunit, configured to convert the above-mentioned request data into the above-mentioned target request data through the target controller corresponding to the above-mentioned target link unit, wherein the above-mentioned target controller is a controller supporting the above-mentioned PECI transmission protocol, and the above-mentioned target controller is connected to the register in the above-mentioned target link unit, and the above-mentioned register is configured to store the above-mentioned target request data; a second sending subunit, configured to send the above-mentioned target request data from the register to the above-mentioned target hardware partition through the target control interface corresponding to the above-mentioned target link unit.

[0116] In an exemplary embodiment, the first receiving unit includes: a second conversion subunit, configured to convert the above-mentioned response data into the above-mentioned target response data through a target controller corresponding to the above-mentioned target link unit, wherein the above-mentioned target controller is a controller supporting the above-mentioned PECI transmission protocol, and the above-mentioned target controller is connected to the register in the above-mentioned target link unit, and the above-mentioned register is configured to store the above-mentioned target response data.

[0117] In an exemplary embodiment, the above-mentioned device also includes: a first sending module, which is configured to send an interrupt signal to the above-mentioned target partition management system through the above-mentioned target link unit before obtaining the above-mentioned target response data from the above-mentioned target link unit through the above-mentioned target partition management system, wherein the above-mentioned interrupt signal is used to indicate that the above-mentioned response data has been sent to the above-mentioned target link unit.

[0118] In an exemplary embodiment, the third acquisition unit includes: a first generation unit, configured to generate a read instruction through a target operating system corresponding to the above-mentioned target partition management system, and send the above-mentioned read instruction to the above-mentioned target link unit through the target hardware interface corresponding to the above-mentioned target partition management system, wherein the above-mentioned target hardware interface allows the transmission of the above-mentioned request data supporting the I2C transmission protocol; a first reading unit, configured to read the above-mentioned target response data from the register corresponding to the above-mentioned target link unit through the above-mentioned target hardware interface; a fourth reading unit, configured to parse the above-mentioned target response data through the above-mentioned target operating system, obtain the above-mentioned operation data, and monitor the operation of the above-mentioned target hardware partition according to the above-mentioned operation data.

[0119] In an exemplary embodiment, the request data includes at least one of the following: the address of the target hardware partition, the detection information of the target hardware partition, the data format of the request data, and parameter information for requesting to obtain the operating data of the target hardware partition, wherein the detection information is used to request detection of whether a link supporting the transmission of PECI data is set in the target hardware partition.

[0120] An embodiment of the present application also provides an electronic device, wherein Figure 10 is a schematic diagram of an optional electronic device according to an embodiment of the present application. As shown in Figure 10, the electronic device includes one or more processors; a memory configured to store one or more programs, and when the one or more programs are executed by one or more processors, the one or more processors are configured to run the programs, wherein the programs are set to execute the above-mentioned method for monitoring the hardware partitions of the server host system when running.

[0121] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0122] The present application also provides a computer non-volatile readable storage medium, which stores a computer program that, when executed by a processor, performs a method for monitoring hardware partitions of a server host system.

[0123] FIG11 is a schematic diagram of an embodiment of a non-volatile computer-readable storage medium for the method for monitoring hardware partitions of a server host system provided herein. Taking the non-volatile computer-readable storage medium shown in FIG11 as an example, the non-volatile computer-readable storage medium 1101 stores a computer program 1102 that, when executed by a processor, performs the method described above.

[0124] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0125] An embodiment of the present application further provides another computer program product, comprising a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above method embodiments are implemented.

[0126] An embodiment of the present application also provides a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any of the above method embodiments.

[0127] Finally, it should be noted that those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The program of the method for monitoring the hardware partitions of the server host system can be stored in a computer non-volatile readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the non-volatile readable storage medium of the program can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. The above-mentioned computer program embodiment can achieve the same or similar effects as any of the corresponding aforementioned method embodiments.

[0128] The above are exemplary embodiments disclosed in the present application, but it should be noted that various changes and modifications may be made without departing from the scope of the present application as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present application may be described or required in individual form, they may also be understood as multiple unless expressly limited to the singular.

[0129] It should be understood that, as used herein, the singular forms "a" and "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" is intended to include any and all possible combinations of one or more of the associated listed items.

[0130] The serial numbers of the embodiments disclosed in the above embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0131] Those skilled in the art will understand that all or part of the steps for implementing the above embodiments may be accomplished by hardware, or may be accomplished by instructing the relevant hardware through a program, and the program may be stored in a computer non-volatile readable storage medium, and the above-mentioned non-volatile readable storage medium may be a read-only memory, a disk or an optical disk, etc.

[0132] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the disclosure of the embodiments of the present application (including the claims) is limited to these examples; based on the ideas of the embodiments of the present application, the technical features of the above embodiments or different embodiments can also be combined, and there are many other variations of different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the embodiments of the present application.

Claims

1. A method for monitoring hardware partitions of a server host system, characterized in that: include: Determining a target partition management system on a baseboard management controller, wherein the target partition management system is any partition management system among a plurality of partition management systems divided on the baseboard management controller; Selecting a target link unit from among the multiple link units divided on the complex programmable logic device for the target partition management system, wherein the target link unit is configured to connect the target partition management system and a target hardware partition from among the multiple hardware partitions divided on the server host system; The operation of the target hardware partition is monitored through the target partition management system and the target link unit.

2. The method according to claim 1, characterized in that: Selecting a target link unit from a plurality of link units divided on a complex programmable logic device for the target partition management system includes: Acquire the plurality of link units on the complex programmable logic device; Allocating a target operating system on the baseboard management controller to each of the target link units in the plurality of link units, wherein the target link unit at least meets the link requirement of the target operating system; Allocating a hardware interface on the baseboard management controller to the target link unit to obtain a target hardware interface, wherein the target hardware interface at least meets the hardware connection requirements of the target operating system; A corresponding relationship is established between the target link unit having a corresponding relationship with the target operating system and the target hardware interface and the target partition management system, so as to obtain a link unit and a partition management system having a corresponding relationship.

3. The method according to claim 2, characterized in that Before establishing a corresponding relationship between the target link unit having a corresponding relationship with the target operating system and the target hardware interface and the target partition management system, the method further includes: Acquire multiple partition management systems on the baseboard management controller; Allocating the operating system on the baseboard management controller to each target partition management system in the multiple partition management systems to obtain the target operating system; Allocating a hardware interface on the baseboard management controller to each target partition management system to obtain the target hardware interface; A correspondence between the target partition management system and the target operating system and the target hardware interface is established to obtain a partition management system, an operating system link and a hardware interface having a corresponding relationship, wherein the operating system link is a link connecting the target partition management system and the target operating system.

4. The method according to claim 2, characterized in that: After establishing a corresponding relationship between the target link unit having a corresponding relationship with the target operating system and the target hardware interface and the target partition management system, the method further includes: Acquire the multiple hardware partitions of the host system; Allocating a controller on the complex programmable logic device to each of the target hardware partitions in the multiple hardware partitions to obtain a target controller, wherein the target controller at least meets the control operation requirements of the target hardware partition; Allocating a control interface on the complex programmable logic device to the target hardware partition to obtain a target control interface, wherein the target control interface at least meets the connection requirements of the target hardware partition; A corresponding relationship between the target hardware partition, the target controller, and the target control interface is established to obtain hardware partitions and link units having a corresponding relationship.

5. The method according to claim 1, characterized in that Monitoring the operation of the target hardware partition by the target partition management system and the target link unit includes: Sending request data to the target link unit through the target partition management system, wherein the request data is used to request the operation data of the target hardware partition; Converting the request data into data supporting the PECI transmission protocol through the target link unit to obtain target request data, and sending the target request data to the target hardware partition; When the target hardware partition responds to the target request data, obtaining response data including operation data generated by the target hardware partition; Receiving the response data sent by the target hardware partition through the target link unit, and converting the response data into data supporting the I2C transmission protocol to obtain target response data, wherein the response data is data supporting the PECI transmission protocol; The target response data is acquired from the target link unit through the target partition management system, and the operation data generated by the target hardware partition is extracted from the target response data, and the operation of the target hardware partition is monitored using the operation data.

6. The method according to claim 5, characterized in that Sending request data to the target link unit through the target partition management system includes: Generate the request data by using a target operating system corresponding to the target partition management system; The request data is sent to the target link unit through a target hardware interface corresponding to the target partition management system, wherein the target hardware interface allows transmission of the request data supporting an I2C transmission protocol.

7. The method according to claim 5, characterized in that The method converts the request data into data supporting the PECI transmission protocol through the target link unit to obtain target request data, and sends the target request data to the target hardware partition, including: Converting the request data into the target request data through a target controller corresponding to the target link unit, wherein the target controller is a controller supporting the PECI transmission protocol, the target controller is connected to a register in the target link unit, and the register is configured to store the target request data; The target request data is sent from a register to the target hardware partition through a target control interface corresponding to the target link unit.

8. The method according to claim 5, characterized in that Receiving the response data sent by the target hardware partition through the target link unit and converting the response data into data supporting the I2C transmission protocol, to obtain the target response data includes: The response data is converted into the target response data by a target controller corresponding to the target link unit, wherein the target controller is a controller supporting the PECI transmission protocol, the target controller is connected to a register in the target link unit, and the register is configured to store the target response data.

9. The method according to claim 5, characterized in that Before acquiring the target response data from the target link unit through the target partition management system, the method further includes: An interrupt signal is sent to the target partition management system through the target link unit, wherein the interrupt signal is used to indicate that the response data has been sent to the target link unit.

10. The method according to claim 5 or 9, characterized in that: The target response data is acquired from the target link unit by the target partition management system, and the operation data generated by the target hardware partition is extracted from the target response data, and the operation of the target hardware partition is monitored by using the operation data, including: Generate a read instruction through a target operating system corresponding to the target partition management system, and send the read instruction to the target link unit through a target hardware interface corresponding to the target partition management system, wherein the target hardware interface allows transmission of the request data supporting the I2C transmission protocol; Reading the target response data from a register corresponding to the target link unit through the target hardware interface; The target response data is parsed by the target operating system to obtain the operation data, and the operation of the target hardware partition is monitored according to the operation data.

11. The method according to claim 5, characterized in that The request data includes at least one of the following: the address of the target hardware partition, the detection information of the target hardware partition, the data format of the request data, and parameter information for requesting to obtain the running data of the target hardware partition, wherein the detection information is used to request to detect whether a link supporting the transmission of PECI data is set in the target hardware partition.

12. A baseboard management controller, characterized in that: include: Multiple partition management systems, where A target partition management system among the plurality of partition management systems is connected to a target link unit on a complex programmable logic device, wherein the target partition management system is any partition management system among the plurality of partition management systems, and the target link unit is any link management unit among the plurality of link units divided on the complex programmable logic device; The target link unit is connected to a target hardware partition among multiple hardware partitions divided on the server host system, wherein the target hardware partition is any hardware partition among the multiple hardware partitions, and the target partition management system is configured to monitor the operation of the target hardware partition through the target link unit.

13. The baseboard management controller according to claim 12, characterized in that: The target partition management system includes a target operating system and a target hardware interface, wherein: The target hardware interface is configured to connect the target partition management and the target link unit, and is configured to read the operation data of the target hardware partition from the target link unit; The target operating system is configured to monitor the operation of the target hardware partition using the operation data.

14. The baseboard management controller according to claim 12, characterized in that: The target partition management system includes an interrupt interface, wherein: The interrupt interface is configured to transmit an interrupt signal sent by the target link unit to the target partition management system, wherein the interrupt signal is used to indicate that the operation data of the target hardware partition has been sent to the target link unit.

15. A complex programmable logic device, characterized in that: include: A plurality of link units, wherein: A target link unit among the plurality of link units is connected to a target hardware partition among the plurality of hardware partitions divided on the server host system, wherein the target link unit is any link unit among the plurality of link units, and the target hardware partition is any hardware partition among the plurality of hardware partitions; The target link unit is also connected to a target partition management system among multiple partition management systems divided on the baseboard management controller, wherein the target partition management system is any partition management system among the multiple partition management systems, and the target partition management system is configured to monitor the operation of the target hardware partition through the target link unit.

16. The complex programmable logic device according to claim 15, characterized in that: The target link unit is connected to the target partition management system via a target hardware interface in the target partition management system, and transmits the operation data of the target hardware partition to the target partition management system via the target hardware interface.

17. The complex programmable logic device according to claim 15, characterized in that: The target link unit also includes a target controller, wherein: The target controller is configured to convert data transmitted between the target hardware partition and the target partition management system. The target controller is a controller supporting the PECI transmission protocol. The target controller is connected to the target hardware partition via a target control interface.

18. A server host system, characterized in that: include: Multiple hardware partitions, among which, A target hardware partition among the multiple hardware partitions is connected to a target link unit, wherein the target link unit is any link unit among the multiple link units divided on the complex programmable logic device; The target link unit is connected to a target partition management system, wherein the target partition management system is any partition management system among a plurality of partition management systems divided on a baseboard management controller, and the target partition management system is configured to monitor the operation of the target hardware partition through the target link unit.

19. A server, characterized in that: include: The baseboard management controller as described in any one of claims 12 to 14, the complex programmable logic device as described in any one of claims 15 to 17, and the server host system as described in claim 18.

20. A monitoring device for hardware partitions of a server host system, characterized in that: include: A determination module is configured to determine a target partition management system on a baseboard management controller, wherein the target partition management system is any partition management system among a plurality of partition management systems divided on the baseboard management controller; A selection module is configured to select a target link unit from among a plurality of link units divided on a complex programmable logic device for the target partition management system, wherein the target link unit is configured to connect the target partition management system and a target hardware partition from among a plurality of hardware partitions divided on a server host system; The monitoring module is configured to monitor the operation of the target hardware partition through the target partition management system and the target link unit.

21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 11 when executed by a processor.

22. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 11 are implemented.

23. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Fan control method and system in multi-partition server system

    CN106678067A

  • FPGA-based multipath server PECI link control system

    CN112069106A

  • Trusted starting method for multi-core BMC (Baseboard Management Controller) firmware system

    CN114462050A

  • Access method and device of hardware controller, storage medium and electronic equipment

    CN116244229A

  • Upgrading method and device of operating system, storage medium and electronic equipment

    CN116521209A

Cited By

  • Host partition management method and framework

    CN120407495A

  • Host partition management architecture, server and method

    CN120407496A

  • Hard disk sequence identification method, electronic equipment and server

    CN120723849A