Equipment information gathering system, method and device, electronic equipment and storage medium

Through the collaborative work of the asset information management module and the object retrieval module, the unified DBus interface and target directory service are used to realize efficient summary of PCIE device information, solving the problems of high code complexity and high maintenance costs caused by different desktop bus structures in the existing technology, and improving system response speed and management efficiency.

CN120540943AActive Publication Date: 2025-08-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511045198.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-28
Publication Date
2025-08-26
Estimated Expiration
2045-07-28

AI Technical Summary

Technical Problem

The existing PCIE equipment information management methods have high code complexity, high maintenance costs, slow system response speed and low scalability due to the differences in desktop bus structures of each module, which affects the overall management efficiency and system stability.

Method used

The asset information management module provides the address information of the peripheral components interconnecting high-speed devices. The information summary module is passed to the object search module. The object search module directly obtains out-of-band monitoring information, without writing independent processing logic for different device types, and uses a unified DBus interface and target directory service to merge information.

Benefits of technology

It solves the problems of high code complexity and high maintenance costs, improves system response speed and scalability, and improves overall management efficiency and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120540943A_ABST
    Figure CN120540943A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment information summarization system, method and device, electronic equipment and a storage medium, and relates to the technical field of computers. According to the application, an asset information management module can provide address information of peripheral component interconnection high-speed equipment, and an information summarization module transmits the address information to an object retrieval module; therefore, the object retrieval module can directly obtain the corresponding out-of-band monitoring information according to the address information, and does not need to compile independent processing logic for different equipment types. The problems of high code complexity, high maintenance cost, low system response speed and low expandability caused by structural difference of desktop buses of modules in an existing peripheral component interconnection high-speed equipment information management method can be solved, and the technical effect of improving the overall management efficiency and the system stability is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a system, method, apparatus, electronic device, and storage medium for aggregating device information. Background Art

[0002] Peripheral Component Interconnect Express (PCIE), a core communication bus standard in server hardware architecture, is widely used to connect various expansion devices, such as disk array controllers (RAID), network cards, Fibre Channel host bus adapters (FC HBAs), and graphics processing units (GPUs). It is a key technology for achieving high-performance data transmission and device management. With the increasing complexity of server systems, out-of-band management has become an important means of ensuring stable system operation. The baseboard management controller (BMC), as a core component of out-of-band management, undertakes key functions such as device monitoring, information collection, and remote management.

[0003] In existing PCIE device information management methods, due to the differences in the Desktop Bus (DBus) structures defined by each module, upper-layer applications need to write independent processing logic for different device types, which increases code complexity and maintenance costs, while reducing system response speed and scalability, affecting overall management efficiency and system stability. Summary of the Invention

[0004] The present application provides a device information aggregation system, method, apparatus, electronic device and storage medium to at least solve the problem in the related art of writing independent processing logic for different device types, which increases code complexity and maintenance costs, while reducing system response speed and scalability, affecting overall management efficiency and system stability.

[0005] This application provides a device information aggregation system, including: an information aggregation module, an asset information management module and an object retrieval module; The asset information management module is configured to send address information of the PCI Express device to the information aggregation module in response to an information acquisition instruction from the information aggregation module; wherein the information acquisition instruction is an information acquisition instruction for the PCI Express device; and the address information includes a bus number, a device number, and a service number; The information aggregation module is configured to receive the address information and send the address information to the object retrieval module; The object retrieval module is configured to receive the address information and send out-of-band monitoring information of the PCI Express device corresponding to the address information to the information aggregation module.

[0006] Optionally, the system further includes: an out-of-band device management module; The out-of-band device management module is configured to obtain out-of-band monitoring information of the out-of-band device and send the out-of-band monitoring information to the object retrieval module.

[0007] This application provides a method for aggregating device information, including: Acquire address information of a peripheral component interconnect high-speed device; the address information includes a bus number, a device number, and a service number; determining out-of-band monitoring information of the PCI Express device in a target directory service based on the address information; The address information and the out-of-band monitoring information are combined to obtain device information of the PCI high-speed device.

[0008] Optionally, determining the out-of-band monitoring information of the PCI Express device in the target directory service based on the address information further includes: Building a desktop bus interface according to the address information; Based on a preset algorithm, the desktop bus interface is used as a query condition, and a desktop bus path and a service name corresponding to the desktop bus interface are determined in the target directory service; Obtaining out-of-band monitoring attribute information according to the desktop bus path and service name; The address information and the out-of-band monitoring attribute information are integrated into complete device information.

[0009] Optionally, the combining the address information and the out-of-band monitoring information to obtain the device information of the PCI high-speed device further includes: Establishing a device information mapping table using the address information as a unique identifier; The device information of the PCI high-speed device is associated with the out-of-band monitoring attribute information and stored.

[0010] Optionally, before obtaining the address information of the PCI high-speed device, the method further includes: Obtain out-of-band monitoring attribute information based on standardized desktop bus ports; The out-of-band monitoring attribute information is stored in a device information mapping table.

[0011] Optionally, the out-of-band monitoring attribute information includes at least one of a device serial number, device version information, and device temperature.

[0012] This application also provides a device information aggregation device, including: an acquiring unit, configured to acquire address information of a peripheral component interconnect high-speed device; the address information includes a bus number, a device number, and a service number; a determining unit, configured to determine out-of-band monitoring information of the PCI Express device in a target directory service based on the address information; A merging unit is configured to merge the address information and the out-of-band monitoring information to obtain device information of the PCI high-speed device.

[0013] Optionally, the determining unit is further configured to: Building a desktop bus interface according to the address information; Based on a preset algorithm, the desktop bus interface is used as a query condition, and a desktop bus path and a service name corresponding to the desktop bus interface are determined in the target directory service; Obtaining out-of-band monitoring attribute information according to the desktop bus path and service name; The address information and the out-of-band monitoring attribute information are integrated into complete device information.

[0014] Optionally, the merging unit is further configured to: Establishing a device information mapping table using the address information as a unique identifier; The device information of the PCI high-speed device is associated with the out-of-band monitoring attribute information and stored.

[0015] Optionally, the device further includes: The acquiring unit is further configured to acquire out-of-band monitoring attribute information based on the standardized desktop bus port before the acquiring unit acquires address information of the peripheral component interconnect high-speed device; The storage unit is configured to store the out-of-band monitoring attribute information in a device information mapping table.

[0016] Optionally, the out-of-band monitoring attribute information includes at least one of a device serial number, device version information, and device temperature.

[0017] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned device information aggregation methods when executing the computer program.

[0018] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned device information aggregation methods are implemented.

[0019] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned device information aggregation methods when the computer program is executed by a processor.

[0020] Through this application, since the asset information management module can provide the address information of the peripheral component interconnect high-speed device, after the information aggregation module passes it to the object retrieval module, the object retrieval module can directly obtain the corresponding out-of-band monitoring information based on the address information, without the need to write independent processing logic for different device types. Therefore, it can solve the problems of high code complexity, high maintenance cost, low system response speed and scalability caused by the differences in the desktop bus structure of each module in the existing peripheral component interconnect high-speed device information management method, and achieve the technical effect of improving overall management efficiency and system stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0022] Figure 1 A schematic diagram of a device information aggregation system provided by an embodiment of the present disclosure; Figure 2 A schematic diagram of another device information aggregation system provided by an embodiment of the present disclosure; Figure 3 A flowchart of a method for aggregating device information provided by an embodiment of the present disclosure; Figure 4 A schematic diagram of the structure of a device information aggregation apparatus provided in an embodiment of the present disclosure; Figure 5 A schematic diagram of the structure of another device information aggregation apparatus provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0024] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0025] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0026] See also Figure 1 , Figure 1 A schematic diagram of a device information aggregation system provided by an embodiment of the present disclosure includes: an information aggregation module 12, an asset information management module 11, and an object retrieval module 13; The asset information management module 11 is configured to send address information of the PCI Express device to the information aggregation module 12 in response to an information acquisition instruction from the information aggregation module 12; wherein the information acquisition instruction is an information acquisition instruction for the PCI Express device; and the address information includes a bus number, a device number, and a service number; The information aggregation module 12 is configured to receive the address information and send the address information to the object retrieval module 13; The object retrieval module 13 is configured to receive the address information and send the out-of-band monitoring information of the PCI Express device corresponding to the address information to the information aggregation module 12 .

[0027] The asset information management module 11 is the core management unit for PCIe device address information. It pre-receives and stores PCIe device asset information from the BIOS. This asset information covers various basic data about the device, particularly address information used to uniquely identify the PCIe device. This address information specifically consists of the bus number (Bus Number), device number (Device Number), and function number (Function Number), namely, the BDF address information. The asset information management module 11 provides a standard DBus interface. When the information aggregation module 12 needs to obtain information about a specific PCIe device, it sends an information acquisition instruction for the PCIe device to the asset information management module 11. Upon receiving this instruction, the asset information management module 11 will quickly respond and send the address information corresponding to the PCIe device, including the bus number, device number, and function number, to the information aggregation module 12 via the DBus interface, providing a key basis for subsequent information retrieval.

[0028] The information aggregation module 12 serves as the information integration hub in the system. Its primary responsibility is to coordinate the information flow between the asset information management module 11 and the object retrieval module. It first initiates an information acquisition request for the target PCIe device to the asset information management module 11. After successfully receiving the address information returned by the asset information management module 11, which includes the bus number, device number, and function number, it uses this address information as a retrieval identifier and sends it to the object retrieval module in real time to trigger the retrieval process for the out-of-band monitoring information for the PCIe device. The object retrieval module, specifically implemented as the ObjectMapper service in the OpenBMC system, is the key link between the information aggregation module 12 and the various out-of-band monitoring and management modules for PCIe devices. Its core function is to locate and retrieve the corresponding out-of-band monitoring information based on the received address information. When the object retrieval module receives the address information containing the bus number, device number, and function number sent by the information aggregation module 12, it will construct a unified search condition based on the address information. For example, it will embed the BDF information into a specific format of DBus Interface (such as xyz.interface.pcie.bXX.dXX.fXX, where XX corresponds to the specific values ​​of the bus number (bXX), device number (dXX), and function number (fXX) respectively). Then, by calling its own GetSubTree method, it will dynamically search the system for the DBus Service (service) and Path (path) of the out-of-band monitoring management module associated with the PCIe device corresponding to the address information. Then, through these Services and Paths, it will extract the out-of-band monitoring information of the PCIe device (such as firmware version, serial number, temperature, etc.) from the out-of-band monitoring management module, and feed this out-of-band monitoring information to the information aggregation module 12 in a timely and accurate manner, thereby achieving efficient aggregation and management of PCIe device information.

[0029] See also Figure 2 , Figure 2 This is a schematic diagram of a device information aggregation system provided in an embodiment of the present application, such as Figure 2 As shown, the system further includes: an out-of-band device management module 14; The out-of-band device management module 14 is configured to obtain out-of-band monitoring information of out-of-band devices and send the out-of-band monitoring information to the object retrieval module 13 .

[0030] The out-of-band device management module 14 deploys corresponding monitoring and management services for different types of PCIe devices, such as RAID cards, network cards, and FC HBA cards. These services communicate with PCIe devices through the Management Component Transport Protocol (MCTP) over PCIe, thereby obtaining out-of-band monitoring information of the devices in real time. This out-of-band monitoring information includes, but is not limited to, key operating parameters such as the device's firmware version (FirmwareVersion), serial number (SerialNumber), and operating temperature (Temperature). Please refer to Table 1, which is an example of the data type in an out-of-band monitoring module provided in an embodiment of the present application. Table 1 shows: Table 1

[0031] When acquiring device information, the out-of-band device management module 14 parses the MCTP physical address to obtain the corresponding PCIe device address information (i.e., the BDF address information consisting of the bus number, device number, and function number). Based on this address information, it constructs a unified DBus interface. For example, for a device with a BDF address of 30.00.00, the constructed DBus interface might be xyz.interface.pcie.b30.d00.f00. All out-of-band monitoring information under this interface follows a unified attribute naming convention, ensuring consistent identification of the same type of information across different types of devices. Using this method, the out-of-band device management module 14 associates the acquired out-of-band monitoring information with the corresponding DBus interface. When the object retrieval module needs to obtain out-of-band monitoring information for a specific PCIe device, the out-of-band device management module 14, based on the object retrieval module's request, sends the corresponding out-of-band monitoring information to the object retrieval module via a pre-defined DBus service and path, providing support for subsequent information aggregation module 12 to integrate the information.

[0032] The embodiments of the present application provide a method for aggregating device information, and the method is described in detail in conjunction with the execution process of the XX method. Figure 3 A flowchart of a method for aggregating device information provided by an embodiment of the present disclosure.

[0033] like Figure 3 As shown, the method comprises the following steps: Step 201: Acquire address information of a PCI high-speed device; the address information includes a bus number, a device number, and a service number.

[0034] In some embodiments, the address information is specifically the BDF address information of the PCIe device, which consists of the bus number, device number, and function number. These three numbers together constitute the key information that uniquely identifies the location of the PCIe device in the system. In the OpenBMC system, obtaining this address information primarily relies on the asset information management module. This module pre-receives PCIe device asset information from the BIOS (Basic Input and Output System) via an in-band channel. This asset information contains basic data for all PCIe devices in the system, including the bus number, device number, and function number corresponding to each PCIe device.

[0035] The Asset Information Management Module organizes and stores the received asset information, forming a device information library that can be queried by other system modules. It also provides a standard DBus interface to respond to information retrieval requests. When the Information Aggregation Module needs to obtain information about a specific PCIe device, it sends an information retrieval instruction for that device to the Asset Information Management Module. Upon receiving this instruction, the Asset Information Management Module extracts the bus number, device number, and function number corresponding to the PCIe device from its own device information library and feeds this address information back to the Information Aggregation Module via the DBus interface, completing the process of obtaining PCIe device address information.

[0036] Step 202: Determine out-of-band monitoring information of the PCI Express device in a target directory service based on the address information.

[0037] The target directory service specifically refers to the ObjectMapper service in the OpenBMC system. This service has the functions of managing hardware objects and resources and providing DBus object retrieval. It can dynamically locate and obtain corresponding hardware object information in the system based on specific conditions.

[0038] Specifically, a unified search condition is constructed based on the acquired BDF address information, thereby generating a DBus interface containing the BDF information. For example, if the PCIe device has a bus number of 30, a device number of 00, and a function number of 00, the constructed DBus interface can be "xyz.interface.pcie.b30.d00.f00," where "b30" corresponds to bus number 30, "d00" corresponds to device number 00, and "f00" corresponds to function number 00. This way, the BDF address information is embedded in the interface name, forming a unique and unified search identifier.

[0039] The target directory service (ObjectMapper) receives the search criteria (i.e., the DBus interface containing the BDF information) and calls its GetSubTree method to search the system. This method traverses all DBus services and paths registered by all out-of-band device management modules in the system, matching entries associated with the DBus interface. Because out-of-band device management modules, when providing out-of-band monitoring information, associate this monitoring information with the DBus interface containing the corresponding BDF information according to a unified standard, the target directory service can accurately locate the service and path of the out-of-band device management module corresponding to the PCIe device.

[0040] After finding the corresponding Service and Path, the target directory service uses this information to retrieve the out-of-band monitoring information stored under the interface. This out-of-band monitoring information is obtained from the device by the out-of-band device management module using MCTP over PCIe and stored using a unified attribute naming convention (for example, "FirmwareVersion" for firmware version, "SerialNumber" for serial number, and "Temperature" for temperature). Therefore, it can be directly identified and retrieved by the target directory service, ultimately determining the out-of-band monitoring information for the PCIe device.

[0041] Step 203: Merge the address information and the out-of-band monitoring information to obtain device information of the PCI high-speed device.

[0042] The address information is the BDF address information consisting of the bus number, device number, and function number. It is the unique identifier of the PCIe device in the system and is also associated with the device address information obtained from the asset information management module, such as the device slot, manufacturer, device model, PCIe device bandwidth, PCIe device rate, chip manufacturer ID, chip device ID, etc. The out-of-band monitoring information is the device operating status information obtained from the out-of-band device management module, including the device serial number, firmware (FW) version, temperature, etc.

[0043] After receiving the address information and its associated address information, as well as the out-of-band monitoring information returned by the object retrieval module, the information aggregation module will organically integrate the two parts of information according to the preset information integration rules: on the one hand, the address information will be retained as the core identification of the device to ensure its basic positioning in the complete device information; on the other hand, the various parameters in the out-of-band monitoring information will be added to the address information to form a full range of device information covering device identity, hardware attributes and operating status. For example, for a RAID card with a BDF address of 30.00.00, its address information may include slot "Slot 1", manufacturer "XX Company", bandwidth "16GB / s", speed "Gen4", etc. Out-of-band monitoring information may include serial number "SN01010101", firmware version "1.2.6.0", and temperature "52°C". The information aggregation module will merge this information to form complete RAID card device information including slot, manufacturer, bandwidth, speed, BDF (30.00.00), serial number, firmware version, temperature, etc. This information can be displayed externally through the Redfish / Restful interface provided by OpenBMC for users to remotely view and manage, realizing the comprehensive integration and unified presentation of PCIe device information.

[0044] Through this application, since the asset information management module can provide the address information of the peripheral component interconnect high-speed device, after the information aggregation module passes it to the object retrieval module, the object retrieval module can directly obtain the corresponding out-of-band monitoring information based on the address information, without the need to write independent processing logic for different device types. Therefore, it can solve the problems of high code complexity, high maintenance cost, low system response speed and scalability caused by the differences in the desktop bus structure of each module in the existing peripheral component interconnect high-speed device information management method, and achieve the technical effect of improving overall management efficiency and system stability.

[0045] In some embodiments, determining the out-of-band monitoring information of the PCI Express device in a target directory service based on the address information further comprises: Building a desktop bus interface according to the address information; Based on a preset algorithm, the desktop bus interface is used as a query condition, and a desktop bus path and a service name corresponding to the desktop bus interface are determined in the target directory service; Obtaining out-of-band monitoring attribute information according to the desktop bus path and service name; The address information and the out-of-band monitoring attribute information are integrated into complete device information.

[0046] A desktop bus interface (DBus Interface) is constructed based on the obtained address information. The desktop bus interface here is a standardized interface for DBus communication. Its construction rule is to embed the BDF address information into the interface name to form an identifier in a unified format. For example, for a PCIe device with a bus number of 30, a device number of 00, and a function number of 00, the constructed desktop bus interface can be "xyz.interface.pcie.b30.d00.f00", where "b30" corresponds to the bus number, "d00" corresponds to the device number, and "f00" corresponds to the function number. In this way, the address information of the interface and the device are directly associated to ensure uniqueness and identifiability.

[0047] Then, based on a preset algorithm, the desktop bus interface constructed above is used as a query condition to determine the corresponding desktop bus path (DBus Path) and service name (DBus Service) in the target directory service. The target directory service here is specifically the ObjectMapper service in the OpenBMC system, and the preset algorithm is the GetSubTree method provided by ObjectMapper. This method can traverse all registered DBus objects within the system. By matching the desktop bus interface query condition, it can accurately locate the out-of-band device management module to which the interface belongs. It then returns the desktop bus path and service name corresponding to the module, enabling rapid location of the device-associated management module.

[0048] After obtaining the desktop bus path and service name, out-of-band monitoring attribute information can be obtained from the corresponding out-of-band device management module based on these two parameters.

[0049] Because the out-of-band device management module follows a unified standard attribute naming convention, such as naming the software version as "FirmwareVersion", the serial number as "SerialNumber", and the temperature as "Temperature", the information aggregation module can directly extract this attribute information from the specified path and service through the DBus Properties interface (such as calling the GetAll method), ensuring the standardization and efficiency of the acquisition process.

[0050] Finally, the address information obtained from the asset information management module is integrated with the out-of-band monitoring attribute information obtained above to form a complete device profile covering device identification, hardware attributes, and operating status. During this integration process, address information is used as the core connection point to ensure that the two pieces of information accurately correspond to the same device, ultimately resulting in comprehensive and unified PCIe device information that can be displayed externally.

[0051] In some embodiments, the combining the address information and the out-of-band monitoring information to obtain the device information of the PCI Express device further comprises: Establishing a device information mapping table using the address information as a unique identifier; The device information of the PCI high-speed device is associated with the out-of-band monitoring attribute information and stored.

[0052] Because BDF address information uniquely identifies each PCIe device in the system, it is selected as the core index key for the device information mapping table. The device information mapping table is established as follows: After obtaining the address information (BDF) and associated device address information (such as slot, manufacturer, model, etc.), as well as out-of-band monitoring attribute information (such as serial number, firmware version, temperature, etc.), the information aggregation module creates a corresponding entry in the mapping table using the BDF address as the unique key value. This entry contains two related contents: one is the PCIe device address information obtained from the asset information management module, and the other is the out-of-band monitoring attribute information obtained from the out-of-band device management module.

[0053] During the associated storage phase, the information aggregation module associates device address information with out-of-band monitoring attribute information in corresponding entries of the mapping table according to a pre-set data structure, ensuring a close association between the two through the BDF address. For example, for a RAID card with a BDF of 30.00.00, its mapping table entry uses "30.00.00" as the key to associate and store the card's address information, such as slot "Slot 1," manufacturer "XX Company," and bandwidth "16GB / s," with out-of-band monitoring attribute information, such as serial number "SN01010101," firmware version "1.2.6.0," and temperature "52°C." This associated storage method, using the BDF address as a unique identifier, not only ensures the uniqueness and accuracy of device information and avoids confusion between different devices, but also enables subsequent systems to quickly locate the complete device information entry directly by using the BDF address when querying or retrieving device information. This significantly improves information query and management efficiency and lays the data foundation for the OpenBMC system to provide a unified device information display interface (such as Redfish / RESTful).

[0054] In some embodiments, before obtaining the address information of the PCI Express device, the method further includes: Obtain out-of-band monitoring attribute information based on standardized desktop bus ports; The out-of-band monitoring attribute information is stored in a device information mapping table.

[0055] The standardized desktop bus port specifically refers to the desktop bus interface (DBus Interface) in a unified format provided by the out-of-band device management module. These interfaces follow preset standardization rules, and their names contain the address information of the corresponding PCIe device (i.e., the BDF information consisting of the bus number, device number, and function number). For example, the format is xyz.interface.pcie.bXX.dXX.fXX (XX corresponds to the specific values ​​of the bus number, device number, and function number, respectively). At the same time, the out-of-band monitoring attribute information under the interface also adopts a unified naming convention. For example, the software version is uniformly named "FirmwareVersion", the serial number is uniformly named "SerialNumber", and the temperature is uniformly named "Temperature". This ensures that the out-of-band monitoring information of different types of PCIe devices is standardized at the interface level, providing a basis for unified information acquisition.

[0056] The process of the out-of-band device management module obtaining the out-of-band monitoring attribute information through the above-mentioned standardized desktop bus port is as follows: the out-of-band device management module establishes communication with different types of PCIe devices (such as RAID cards, network cards, FC HBA cards, etc.) through MCTP Over PCIe to collect the operating status information of the devices in real time (i.e., out-of-band monitoring attribute information); after the collection is completed, this information is associated with the corresponding DBusInterface according to the rules of the standardized desktop bus port. For example, the firmware version "1.2.6.0" and serial number "SN01010101" of the RAID card with BDF 30.00.00 are stored in the xyz.interface.pcie.b30.d00.f00 interface.

[0057] The out-of-band device management module then stores the acquired out-of-band monitoring attribute information in a device information mapping table. This device information mapping table uses the PCIe device's BDF address information as the core index and associates the out-of-band monitoring attribute information with the corresponding BDF address, forming a "BDF address - out-of-band monitoring attribute information" correspondence entry.

[0058] For example, in the mapping table, the entry with BDF=30.00.00 will record its corresponding attribute values ​​such as FirmwareVersion, SerialNumber, and Temperature. By pre-acquiring out-of-band monitoring attribute information based on the standardized desktop bus port and storing it in the device information mapping table, a data foundation can be provided for the subsequent information merging process after obtaining address information. This ensures that when the information aggregation module obtains the address information, it can quickly retrieve the corresponding out-of-band monitoring attribute information from the mapping table directly using the BDF address, thereby efficiently completing the information merging process and improving the consistency and processing efficiency of the entire device information aggregation process.

[0059] In some embodiments, the out-of-band monitoring attribute information includes at least one of a device serial number, device version information, and device temperature.

[0060] The following example illustrates the method for aggregating device information provided by this application.

[0061] 1) OpenBMC provides asset information management services, receives asset information sent by BIOS, and provides a DBus interface for other modules to query and obtain PCIE device information; 2) OpenBMC provides out-of-band monitoring and management services for various PCIE components, including but not limited to RAID card monitoring and management, network card monitoring and management, FC HBA card monitoring and management, etc. 3) The out-of-band monitoring and management service of various PCIE components in OpenBMC accesses PCIE devices and obtains information through MCTP Over PCEI, and can obtain the device's BDF information from the MCTP physical communication address; 4) Out-of-band monitoring and management services for various PCIE components in OpenBMC provide a DBus interface based on device BDF information, and place the information that needs to be summarized obtained from out-of-band monitoring under this interface in the form of standard attribute names, such as software version number FirmwareVersion, serial number SerialNumber, and temperature; 5) OpenBMC supports ObjectMapper service, provides DBus object retrieval function, and supports GetSubTress method to retrieve DBus objects based on DBus Interface; 6) OpenBMC provides information aggregation and acquisition services, supporting external access via Redfish / Restful, etc., including a PCIE device information aggregation and query interface for external access to PCIE device summary information. See Table 2, which is a DBus information example table provided in this embodiment of the application, as shown in Table 2: Table 2

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

[0063] The embodiment of the present application also provides a device information aggregation device, Figure 4 This is a schematic diagram of a device information aggregation apparatus provided by an embodiment of the present disclosure, such as Figure 4 Shown, including: An acquiring unit 31 is configured to acquire address information of a PCI high-speed device; the address information includes a bus number, a device number, and a service number; A determining unit 32 is configured to determine out-of-band monitoring information of the PCI Express device in a target directory service based on the address information; The merging unit 33 is configured to merge the address information with the out-of-band monitoring information to obtain device information of the PCI high-speed device.

[0064] Furthermore, in a possible implementation of the embodiment of the present disclosure, the determining unit 32 is further configured to: Building a desktop bus interface according to the address information; Based on a preset algorithm, the desktop bus interface is used as a query condition, and a desktop bus path and a service name corresponding to the desktop bus interface are determined in the target directory service; Obtaining out-of-band monitoring attribute information according to the desktop bus path and service name; The address information and the out-of-band monitoring attribute information are integrated into complete device information.

[0065] Furthermore, in a possible implementation of the embodiment of the present disclosure, the merging unit 33 is further configured to: Establishing a device information mapping table using the address information as a unique identifier; The device information of the PCI high-speed device is associated with the out-of-band monitoring attribute information and stored.

[0066] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 5 As shown, the device also includes: The acquiring unit 31 is further configured to acquire out-of-band monitoring attribute information based on the standardized desktop bus port before the acquiring unit 31 acquires the address information of the peripheral component interconnect high-speed device; The storage unit 34 is configured to store the out-of-band monitoring attribute information in a device information mapping table.

[0067] Furthermore, in a possible implementation of the embodiment of the present disclosure, the out-of-band monitoring attribute information includes at least one of a device serial number, device version information, and device temperature.

[0068] For the description of the features in the embodiment corresponding to the device information aggregation apparatus, please refer to the relevant description of the embodiment corresponding to the device information aggregation method, which will not be repeated here.

[0069] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned device information aggregation method embodiments.

[0070] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned device information aggregation method embodiments when running.

[0071] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0072] 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 of the above-mentioned device information aggregation method embodiments are implemented.

[0073] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, implementing the steps in any of the above-mentioned device information aggregation method embodiments.

[0074] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0075] The above is a detailed introduction to the device information aggregation system, method, apparatus, electronic device and storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A device information aggregation system, characterized in that: include: Information aggregation module, asset information management module and object retrieval module; The asset information management module is configured to send address information of the PCI Express device to the information aggregation module in response to an information acquisition instruction from the information aggregation module; wherein the information acquisition instruction is an information acquisition instruction for the PCI Express device; and the address information includes a bus number, a device number, and a service number; The information aggregation module is configured to receive the address information and send the address information to the object retrieval module; The object retrieval module is configured to receive the address information and send out-of-band monitoring information of the PCI Express device corresponding to the address information to the information aggregation module.

2. The device information aggregation system according to claim 1, characterized in that: The system further includes: an out-of-band device management module; The out-of-band device management module is configured to obtain out-of-band monitoring information of the out-of-band device and send the out-of-band monitoring information to the object retrieval module.

3. A method for summarizing device information, characterized in that: include: Obtain address information of a peripheral component interconnect high-speed device; The address information includes bus number, device number and service number; determining out-of-band monitoring information of the PCI Express device in a target directory service based on the address information; The address information and the out-of-band monitoring information are combined to obtain device information of the PCI high-speed device.

4. The method for aggregating device information according to claim 3, characterized in that: The determining, in a target directory service based on the address information, out-of-band monitoring information of the PCI Express device further comprises: Building a desktop bus interface according to the address information; Based on a preset algorithm, the desktop bus interface is used as a query condition, and a desktop bus path and a service name corresponding to the desktop bus interface are determined in the target directory service; Obtaining out-of-band monitoring attribute information according to the desktop bus path and service name; The address information and the out-of-band monitoring attribute information are integrated into complete device information.

5. The method for aggregating device information according to claim 3, characterized in that: The combining of the address information and the out-of-band monitoring information to obtain device information of the PCI high-speed device further includes: Establishing a device information mapping table using the address information as a unique identifier; The device information of the PCI high-speed device is associated with the out-of-band monitoring attribute information and stored.

6. The method for aggregating device information according to claim 3, characterized in that: Before acquiring the address information of the PCI Express device, the method further includes: Obtain out-of-band monitoring attribute information based on standardized desktop bus ports; The out-of-band monitoring attribute information is stored in a device information mapping table.

7. The method for aggregating device information according to any one of claims 3 to 6, characterized in that: The out-of-band monitoring attribute information includes at least one of a device serial number, device version information, and device temperature.

8. A device for aggregating device information, characterized in that: include: an acquisition unit, configured to acquire address information of a peripheral component interconnect high-speed device; The address information includes bus number, device number and service number; a determining unit, configured to determine out-of-band monitoring information of the PCI Express device in a target directory service based on the address information; A merging unit is configured to merge the address information and the out-of-band monitoring information to obtain device information of the PCI high-speed device.

9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the device information aggregation method according to any one of claims 3 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the device information aggregation method according to any one of claims 3 to 7 are implemented.

Citation Information

Patent Citations

  • Method for out-of-band management of server asset information

    CN104734887A

  • Equipment supervision method and device

    CN114595848A

  • Hardware equipment operation monitoring system and method

    CN116107836A

  • Method and system for capturing and displaying lead information

    US20110145729A1