A monitoring management method and device of a non-address resolution device, equipment and medium

By updating hardware topology information and assigning endpoint IDs, the problem of identical device addresses in the new hardware topology was resolved, enabling accurate monitoring and enhanced scalability of non-address-resolving devices.

CN116795641BActive Publication Date: 2026-11-24INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310766178.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2026-11-24
Estimated Expiration
2043-06-27

AI Technical Summary

Technical Problem

Existing monitoring models cannot effectively distinguish between non-address-resolving devices with the same address in the new hardware topology, resulting in poor monitoring scalability and limiting the flexibility of hardware design.

Method used

Accurate monitoring of devices can be achieved by updating the hardware topology information of non-address-resolving device systems, assigning endpoint IDs, and building device tables and management component transport protocol device tables.

Benefits of technology

It enables accurate monitoring of new hardware topologies, enhances the scalability of the monitoring model, makes hardware design more flexible, and supports devices with multi-level integrated circuit conversion chip connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116795641B_ABST
    Figure CN116795641B_ABST
Patent Text Reader

Abstract

The application relates to a monitoring management method, device and equipment of a non-address resolution device and a medium, the monitoring management method comprises the following steps: a hardware topology information updating method: updating a non-address resolution device table according to current hardware topology information of a non-address resolution device system; the non-address resolution device table comprises current hardware topology parameters, which comprise integrated bus parameters, non-address resolution device address parameters and integrated circuit conversion chip parameters; the integrated circuit conversion chip parameters comprise integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters; an endpoint ID allocation method: each non-address resolution device is allocated with an endpoint ID, and the device hardware topology parameters in a management component transmission protocol device table are updated to the current hardware topology parameters, and the device endpoint ID parameters are updated to successfully allocated endpoint ID parameters. Through the technical scheme, the problem that each device address in the current non-address resolution device system is the same and cannot be distinguished can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of non-address resolution device technology, and in particular to a monitoring and management method, device, equipment and medium for non-address resolution devices. Background Technology

[0002] Currently, the MCToveriic monitoring model (i.e., the integrated bus management component transmission monitoring model) generally supports two types of hardware topologies for NonARP-capable devices (i.e., non-address resolution devices):

[0003] The first scenario is: each IICbus (i.e., integrated bus) of the BMC connects only one Non-ARP-capable device, and multiple devices are connected to multiple IICbuses respectively; in this case, it doesn't matter if the IICslave address (i.e., the slave address of the integrated bus) of each Non-ARP-capable device is the same, because they are connected to different IICbuses.

[0004] The second scenario is: each iicbus of the BMC connects to multiple NonARP-capable devices, but the iicslave address of each NonARP-capable device is different;

[0005] In both cases, each NonARP-capable device can be distinguished by using different iicslave of the NonARP-capable device or different iicbus combinations connected to it.

[0006] The new monitoring model adopts a new hardware topology, namely:

[0007] Each iicswitch (i.e., integrated circuit conversion chip) connects to two or more nonARP-capable devices with the same iicslave address (i.e., there is a first-level iicswitch);

[0008] Alternatively, two or more iicswitch connections may be connected to two or more nonARP-capable devices with the same iicslave address (i.e., there are multiple levels of iicswitch).

[0009] The new hardware topology described above will result in limited scalability of the existing monitoring model, and using the previous monitoring model will restrict hardware design.

[0010] In the new hardware topology, the iicslave address of NonARP-capable devices is the same, and the monitoring model cannot distinguish each NonARP-capable device. Summary of the Invention

[0011] To address the aforementioned technical problems, this invention provides a monitoring and management method, apparatus, device, and medium for non-address-resolving devices. The monitoring and management method is used to solve the problem that in current non-address-resolving device systems, each device has the same address and cannot be distinguished.

[0012] To achieve the above objectives, the present invention provides a monitoring and management method for non-address-resolving devices, used to monitor and manage a non-address-resolving device system based on BMC, transmitting protocols through an integrated bus management component, and extended using integrated circuit conversion chips. The monitoring and management method includes:

[0013] Hardware topology information update method: Update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information of the non-address resolution device system; wherein, the non-address resolution device table includes current hardware topology parameters, which include the integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, the non-address resolution device address parameters corresponding to each non-address resolution device, and the integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters;

[0014] Endpoint ID allocation method: When the management component transport protocol device table corresponding to the non-address resolution device system does not have the same hardware topology information as the non-address resolution device table, the system communicates with each non-address resolution device according to the current hardware topology parameters in the non-address resolution device table, allocates endpoint IDs to each device respectively, updates the device hardware topology parameters in the management component transport protocol device table to the current hardware topology parameters, and updates the device endpoint ID parameters in the management component transport protocol device table to the endpoint ID parameters of each non-address resolution device that have been successfully allocated.

[0015] Furthermore, the monitoring and management method also includes a device table construction method, which includes:

[0016] The non-address resolution device table is constructed based on the hardware topology information of the non-address resolution device system. The non-address resolution device table includes the integrated bus parameters, the non-address resolution device address parameters, and the integrated circuit conversion chip parameters. The integrated circuit conversion chip parameters include virtual bus parameters, which include the integrated circuit conversion chip address parameters and the integrated circuit conversion chip channel parameters.

[0017] Construct the management component transport protocol device table, which includes the device hardware topology parameters and device endpoint ID parameters corresponding to each non-address resolution device.

[0018] Furthermore, the non-address resolution device table is constructed based on the hardware topology information of the non-address resolution device system, specifically including:

[0019] Construct a corresponding array table of non-address-resolving device structures based on the non-address-resolving device table.

[0020] Furthermore, constructing the management component's transmission protocol device table specifically includes:

[0021] Construct a corresponding dynamic singly linked list of management component transmission protocol devices based on the management component transmission protocol device table.

[0022] Furthermore, the monitoring and management method also includes a device communication normal detection method, which includes:

[0023] The system iterates through the transport protocol device table of the management component, obtains the device hardware topology parameters corresponding to each non-address resolution device, communicates with the corresponding non-address resolution device according to the device hardware topology parameters, and determines that the device communication is normal when it receives a communication normal response information returned by the non-address resolution device.

[0024] Furthermore, the monitoring and management method also includes an upper-layer application communication method, which includes:

[0025] When the current device endpoint ID parameter in the management component's transmission protocol device table matches the preset endpoint ID information in the upper-layer application data packet, the current device hardware topology parameter of the corresponding entry in the management component's transmission protocol device table is obtained, and communication is established between the corresponding non-address resolution device and the upper-layer application based on the current device hardware topology parameter.

[0026] Furthermore, the integrated circuit conversion chip parameters include one of the following: first-level integrated circuit conversion chip parameters and multi-level integrated circuit conversion chip parameters.

[0027] The present invention also provides a monitoring and management device for non-address resolution devices, used to implement the aforementioned monitoring and management method for non-address resolution devices, the monitoring and management device comprising:

[0028] The hardware topology information update unit is used to: update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information of the non-address resolution device system; wherein, the non-address resolution device table includes current hardware topology parameters, which include integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, non-address resolution device address parameters corresponding to each non-address resolution device, and integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters;

[0029] The endpoint ID allocation unit is used to: when the management component transport protocol device table corresponding to the non-address resolution device system does not have the same hardware topology information as the non-address resolution device table, communicate with each non-address resolution device according to the current hardware topology parameters in the non-address resolution device table, allocate endpoint IDs respectively, update the device hardware topology parameters in the management component transport protocol device table to the current hardware topology parameters, and update the device endpoint ID parameters in the management component transport protocol device table to the endpoint ID parameters of each non-address resolution device that has been successfully allocated.

[0030] The present invention also provides a computer device, including a memory, a processor, and a computer program, wherein the computer program is stored in the memory and can run on the processor, and the processor executes the computer program to perform the following steps:

[0031] Hardware topology information update method: Update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information of the non-address resolution device system; wherein, the non-address resolution device table includes current hardware topology parameters, which include the integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, the non-address resolution device address parameters corresponding to each non-address resolution device, and the integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters;

[0032] Endpoint ID allocation method: When the management component transport protocol device table corresponding to the non-address resolution device system does not have the same hardware topology information as the non-address resolution device table, the system communicates with each non-address resolution device according to the current hardware topology parameters in the non-address resolution device table, allocates endpoint IDs to each device respectively, updates the device hardware topology parameters in the management component transport protocol device table to the current hardware topology parameters, and updates the device endpoint ID parameters in the management component transport protocol device table to the endpoint ID parameters of each non-address resolution device that have been successfully allocated.

[0033] The present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the following steps:

[0034] Hardware topology information update method: Update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information of the non-address resolution device system; wherein, the non-address resolution device table includes current hardware topology parameters, which include the integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, the non-address resolution device address parameters corresponding to each non-address resolution device, and the integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters;

[0035] Endpoint ID allocation method: When the management component transport protocol device table corresponding to the non-address resolution device system does not have the same hardware topology information as the non-address resolution device table, the system communicates with each non-address resolution device according to the current hardware topology parameters in the non-address resolution device table, allocates endpoint IDs to each device respectively, updates the device hardware topology parameters in the management component transport protocol device table to the current hardware topology parameters, and updates the device endpoint ID parameters in the management component transport protocol device table to the endpoint ID parameters of each non-address resolution device that have been successfully allocated.

[0036] The above-described technical solution of the present invention has the following technical effects compared with the prior art:

[0037] In this invention, the non-address resolution device system communicates based on BMC, transmits protocols through the integrated bus management component, and uses integrated circuit conversion chips for hardware topology expansion;

[0038] The monitoring and management methods include hardware topology information update methods and endpoint ID allocation methods;

[0039] The hardware topology information update method is used to update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information. This includes current hardware topology parameters; the current hardware topology parameters include the integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, the non-address resolution device address parameters corresponding to each non-address resolution device, and the integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology where the device is located; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters.

[0040] Therefore, BMC can access a specific non-address-resolving device by integrating three parameters: bus parameters, integrated circuit conversion chip parameters, and non-address-resolving device address parameters.

[0041] Meanwhile, the endpoint ID allocation method is used to allocate endpoint IDs to each non-address-resolving device, save the current hardware topology parameters to the device hardware topology parameters in the management component transport protocol device table, and save the endpoint ID parameters of each non-address-resolving device that has been successfully allocated to the management component transport protocol device table.

[0042] The above-described monitoring and management method for non-address-resolving devices allows for accurate communication with specific non-address-resolving devices and proper monitoring of the corresponding new hardware topology; the new hardware topology is as follows:

[0043] Each integrated circuit conversion chip connects to two or more non-address-resolving devices with the same integrated bus slave address;

[0044] Alternatively, two or more integrated circuit conversion chips are connected to two or more non-address resolution devices with the same integrated bus slave address. Attached Figure Description

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

[0046] Figure 1 This is a flowchart illustrating the monitoring and management method for non-address resolution devices in Embodiment 1 of the present invention;

[0047] Figure 2 This is a structural block diagram of the monitoring and management device for non-address resolution devices in Embodiment 2 of the present invention;

[0048] Figure 3 This is an internal structural diagram of the computer device in Embodiment 2 of the present invention. Detailed Implementation

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

[0050] Example 1:

[0051] like Figure 1 As shown, this embodiment of the invention provides a monitoring and management method for non-address-resolution devices, used to monitor and manage a non-address-resolution device system based on BMC, transmitting protocols through an integrated bus management component, and extended using an integrated circuit conversion chip. The monitoring and management method includes:

[0052] S12 Hardware Topology Information Update Method: Update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information of the non-address resolution device system; wherein, the non-address resolution device table includes current hardware topology parameters, which include the integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, the non-address resolution device address parameters corresponding to each non-address resolution device, and the integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters;

[0053] S2 endpoint ID allocation method: When the management component transport protocol device table corresponding to the non-address-resolved device system does not have the same hardware topology information as the non-address-resolved device table, it communicates with each non-address-resolved device according to the current hardware topology parameters in the non-address-resolved device table, allocates endpoint IDs respectively, updates the device hardware topology parameters in the management component transport protocol device table to the current hardware topology parameters, and updates the device endpoint ID parameters in the management component transport protocol device table to the endpoint ID parameters of each non-address-resolved device that has been successfully allocated.

[0054] In a specific embodiment, the non-address resolution device system communicates based on BMC, transmits protocols through the integrated bus management component, and uses integrated circuit conversion chips for hardware topology expansion.

[0055] The monitoring and management methods include hardware topology information update methods and endpoint ID allocation methods;

[0056] The hardware topology information update method is used to update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information. This includes current hardware topology parameters; the current hardware topology parameters include the integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, the non-address resolution device address parameters corresponding to each non-address resolution device, and the integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology where the device is located; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters.

[0057] Therefore, BMC can access a specific non-address-resolving device by integrating three parameters: bus parameters, integrated circuit conversion chip parameters, and non-address-resolving device address parameters.

[0058] Meanwhile, the endpoint ID allocation method is used to allocate endpoint IDs to each non-address-resolving device, save the current hardware topology parameters to the device hardware topology parameters in the management component transport protocol device table, and save the endpoint ID parameters of each non-address-resolving device that has been successfully allocated to the management component transport protocol device table.

[0059] The above-described monitoring and management method for non-address-resolving devices allows for accurate communication with specific non-address-resolving devices and proper monitoring of the corresponding new hardware topology; the new hardware topology is as follows:

[0060] Each integrated circuit conversion chip connects to two or more non-address-resolving devices with the same integrated bus slave address;

[0061] Alternatively, two or more integrated circuit conversion chips are connected to two or more non-address resolution devices with the same integrated bus slave address.

[0062] Meanwhile, the above monitoring and management methods are compatible with situations where iicswitch is not present in previous hardware topologies, enhancing the scalability of the corresponding monitoring model and making hardware design more flexible.

[0063] In a practical implementation, the NonARP-capable device table records the hardware topology information of each NonARP-capable device that the BMC needs to access using the MCToveriic protocol (i.e., the Integrated Bus Management Component Transport Protocol).

[0064] This table can be implemented using an array of structures. The key members of the structure include the following three parameters:

[0065] The iicbus parameters (i.e., integrated bus parameters) used by the BMC to communicate with NonARP-capable devices.

[0066] NonARP-capable device address parameters (i.e., non-address-resolving device address parameters)

[0067] The iicswitch parameters (i.e., integrated circuit conversion chip parameters) used between BMC and NonARP-capable devices;

[0068] The iicswitch parameter is represented by the virtualbus parameter, which includes: iicswitchaddress parameter (i.e., integrated circuit conversion chip address parameter) and iicswitchchannel parameter (i.e., integrated circuit conversion chip channel parameter).

[0069] Therefore, BMC can access a specific NONARP-capable device through three parameters: iicbus parameter, virtualbus parameter, and NonARP-capable device address parameter.

[0070] The mechanism by which the MCTP layer assigns EIDs to NonARP-capable devices is implemented as follows:

[0071] Iterate through the NonARP-capable device table to obtain the hardware topology information for each device;

[0072] Then, traverse the MCTP device list to check if there are any hardware topology parameters in the list members that are the same as the hardware topology information in the NonARP-capable device list.

[0073] If an EID exists, no action is taken; otherwise, the EID allocation process is initiated, as follows:

[0074] Based on the hardware topology information (i.e., iicbus parameters, Non ARP-capable device address parameters, and virtualbus parameters) in the NonARP-capable device table, communicate with the NonARP-capable device and send the MCTP control message SetEndpointID.

[0075] After receiving a successful SetEndpointID response from a NonARP-capable device, dynamically request a member of the MCTP device linked list;

[0076] Update the hardware topology information in the MCTP device list member to the hardware topology information of the NonARP-capable device table entry, update the EID parameter in the MCTP device list member to the successfully assigned EID, and then add the MCTP device list member to the MCTP device list.

[0077] That is, when the mechanism of assigning EID to NonARP-capable devices by the new monitoring model is successfully executed, the hardware topology information of the NonARP-capable device will be saved and recorded in the NonARP-capable device hardware topology parameters in the MCTP device chain list;

[0078] At the same time, the EID information assigned to the NonARP-capable device is saved and recorded in the EID parameter of the MCTP device chain list.

[0079] In practice, BMC, or Baseboard Management Controller, represents the baseboard management controller.

[0080] BIOS, or Basic Input Output System, represents the basic input / output system.

[0081] MCTP, or Management Component Transport Protocol, represents the transport protocol for management components.

[0082] ARP, or Address Resolution Protocol, stands for Address Resolution Protocol.

[0083] EID, or endpointID, represents the endpoint ID.

[0084] In a preferred embodiment, the monitoring and management method further includes a device table construction method, which includes:

[0085] S111 constructs a non-address-resolving device table based on the hardware topology information of the non-address-resolving device system. The non-address-resolving device table includes integrated bus parameters, non-address-resolving device address parameters, and integrated circuit conversion chip parameters. Among them, the integrated circuit conversion chip parameters include virtual bus parameters, which include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters.

[0086] S112 constructs the transport protocol device table for the management component. The transport protocol device table for the management component includes the device hardware topology parameters and device endpoint ID parameters corresponding to each non-address resolution device.

[0087] In a preferred embodiment, constructing a non-address-resolving device table based on the hardware topology information of the non-address-resolving device system specifically includes:

[0088] Construct a corresponding array table of non-address-resolving device structures based on the non-address-resolving device table.

[0089] In a preferred embodiment, constructing a management component transport protocol device table specifically includes:

[0090] Construct a corresponding dynamic singly linked list of management component transmission protocol devices based on the management component transmission protocol device table.

[0091] In a practical embodiment, the specific implementation steps of the above monitoring and management method are as follows:

[0092] Step 1: Define the data structures for the NonARP-capable device table and the MCTP device linked list;

[0093] And construct a NonARP-capable device table based on the new hardware topology information;

[0094] Step 2: Implement the following function: The MCTP layer assigns an EID to a NonARP-capable device;

[0095] Step 3: Implement the following function: MCTP layer detects whether NonARP-capable devices are functioning correctly;

[0096] Step 4: Implement the following function: The MCTP layer communicates with the upper layer application.

[0097] The NonARP-capable Device Table records the hardware topology information of each NonARP-capable device that the BMC needs to access using the MCToveriic protocol (i.e., the Integrated Bus Management Component Transport Protocol).

[0098] This table can be implemented using an array of structures. The key members of the structure include the following three parameters:

[0099] The iicbus parameters (i.e., integrated bus parameters) used by the BMC to communicate with NonARP-capable devices.

[0100] NonARP-capable device address parameters (i.e., non-address-resolving device address parameters)

[0101] The iicswitch parameters (i.e., integrated circuit conversion chip parameters) used between BMC and NonARP-capable devices;

[0102] The iicswitch parameter is represented by the virtualbus parameter, which includes: the iicswitchaddress parameter (i.e., the address parameter of the integrated circuit conversion chip) and the iicswitchchannel parameter (i.e., the channel parameter of the integrated circuit conversion chip).

[0103] In practice, the virtualbus parameter is a linked list. The list members may be empty (when there is no iicswitch in the hardware topology), or there may be one member (when there is one iicswitch in the hardware topology) or multiple members (when there are multiple iicswitch in the hardware topology).

[0104] In addition, the MCTP device list (i.e., the management component transport protocol device list) records information on all NonARP-capable devices that have been successfully assigned EID (i.e., endpoint ID), and is dynamically constructed into a singly linked list;

[0105] Each item in the linked list has two key members: one is the hardware topology information of the NonARP-capable device, and the other is the EID assigned to the NonARP-capable device.

[0106] In a preferred embodiment, the monitoring and management method further includes a device communication normality detection method, which includes:

[0107] S3 traverses the transport protocol device table of the management component, obtains the device hardware topology parameters corresponding to each non-address-resolving device, communicates with the corresponding non-address-resolving device according to the device hardware topology parameters, and determines that the device communication is normal when it receives a communication normal response information returned by the non-address-resolving device.

[0108] In a practical implementation, the mechanism by which the MCTP layer detects whether a NonARP-capable device is functioning correctly is implemented as follows:

[0109] Traverse the MCTP device list, and based on the hardware topology information (i.e., iicbus parameters, NonARP-capable device address parameters, and virtualbus parameters) of the NonARP-capable device in the list item, communicate with the NonARP-capable device and query whether the NonARP-capable device has a normal communication response message.

[0110] After receiving the above response information from a NonARP-capable device, no further action is taken.

[0111] Otherwise, remove the MCTP device list entry from the MCTP device list.

[0112] In a preferred embodiment, the monitoring and management method further includes an upper-layer application communication method, which includes:

[0113] S4 When the current device endpoint ID parameter in the management component's transport protocol device table matches the preset endpoint ID information in the upper-layer application data packet, obtain the current device hardware topology parameter of the corresponding entry in the management component's transport protocol device table, and establish communication between the corresponding non-address resolution device and the upper-layer application based on the current device hardware topology parameter.

[0114] In a practical implementation, the MCTP layer communicates with the upper-layer application, and the specific implementation process is as follows:

[0115] Communication between upper-layer applications and the MCTP layer can be achieved through EID identification and communication with corresponding NonARP-capable devices;

[0116] When the MCTP layer receives a data packet from the upper layer, it traverses the MCTP device list and finds the MCTP device list entry whose EID is the same as the EID in the data packet.

[0117] Then, based on the hardware topology information of the device's linked list entry (i.e., iicbus parameters, NonARP-capable device address parameters, and virtualbus parameters), the communication function with the corresponding NonARP-capable device is completed.

[0118] In a preferred embodiment, the integrated circuit conversion chip parameters include one of the following: first-level integrated circuit conversion chip parameters and multi-level integrated circuit conversion chip parameters.

[0119] In practical embodiments, the above-mentioned monitoring and management method for non-address resolution devices supports both cases where there is no iIC switch in the hardware topology and cases where there is one or more levels of iIC switches in the hardware topology. This enhances the scalability of the software architecture of the non-address resolution device system and makes its hardware design more flexible.

[0120] In summary, the monitoring and management method for non-address resolution devices provided in this embodiment of the invention is implemented as follows:

[0121] Step 1: Define the data structures for the NonARP-capable device table and the MCTP device linked list;

[0122] And construct a NonARP-capable device table based on the new hardware topology information;

[0123] Step 2: Implement the following function: The MCTP layer assigns an EID to a NonARP-capable device;

[0124] Step 3: Implement the following function: MCTP layer detects whether NonARP-capable devices are functioning correctly;

[0125] Step 4: Implement the following function: The MCTP layer communicates with the upper layer application.

[0126] The specific implementation process of the corresponding procedure is as follows:

[0127] 1) The mechanism by which the MCTP layer assigns EIDs to NonARP-capable devices is implemented as follows:

[0128] Iterate through the NonARP-capable device table to obtain the hardware topology information for each device;

[0129] Then, traverse the MCTP device list to check if there are any hardware topology parameters in the list members that are the same as the hardware topology information in the NonARP-capable device list.

[0130] If an EID exists, no action is taken; otherwise, the EID allocation process is initiated, as follows:

[0131] Based on the hardware topology information (i.e., iicbus parameters, Non ARP-capable device address parameters, and virtualbus parameters) in the NonARP-capable device table, communicate with the NonARP-capable device and send the MCTP control message SetEndpointID.

[0132] After receiving a successful SetEndpointID response from a NonARP-capable device, dynamically request a member of the MCTP device linked list;

[0133] Update the hardware topology information in the MCTP device list member to the hardware topology information of the NonARP-capable device table entry, update the EID parameter in the MCTP device list member to the successfully assigned EID, and then add the MCTP device list member to the MCTP device list.

[0134] 2) The mechanism for the MCTP layer to detect whether a NonARP-capable device is functioning correctly is implemented as follows:

[0135] Traverse the MCTP device list, and based on the hardware topology information (i.e., iicbus parameters, NonARP-capable device address parameters, and virtualbus parameters) of the NonARP-capable device in the list item, communicate with the NonARP-capable device and query whether the NonARP-capable device has a normal communication response message.

[0136] After receiving the above response information from a NonARP-capable device, no further action is taken.

[0137] Otherwise, remove the MCTP device list entry from the MCTP device list.

[0138] 3) Communication between the MCTP layer and the upper-layer application is implemented as follows:

[0139] Communication between upper-layer applications and the MCTP layer can be achieved through EID identification and communication with corresponding NonARP-capable devices;

[0140] When the MCTP layer receives a data packet from the upper layer, it traverses the MCTP device list and finds the MCTP device list entry whose EID is the same as the EID in the data packet.

[0141] Then, based on the hardware topology information of the device's linked list entry (i.e., iicbus parameters, NonARP-capable device address parameters, and virtualbus parameters), the communication function with the corresponding NonARP-capable device is completed.

[0142] Therefore, the above-mentioned monitoring and management method for non-address resolution devices can provide a monitoring model for non-ARP-capable devices based on BMC, through the MCT overiic protocol, and extended using iicswitch in the hardware topology.

[0143] This monitoring model supports both cases where there is no iIC switch in the hardware topology and cases where there is one or more iIC switches in the hardware topology; this monitoring model enhances the scalability of the software architecture and makes the hardware design more flexible.

[0144] That is, the new MCToveriic monitoring model described above can correctly monitor the corresponding new hardware topology; wherein the new hardware topology is:

[0145] Each iicswitch connects to two or more non-ARP-capable devices with the same iicslave address;

[0146] Alternatively, two or more iicswitch connections can be made to two or more nonARP-capable devices with the same iicslave address.

[0147] Meanwhile, the new MCTPoveriic monitoring model is compatible with previous hardware topologies that do not have an iicswitch, enhancing the scalability of the monitoring model and making hardware design more flexible.

[0148] It should be noted that this model supports one or more levels of IIC switches in the hardware topology; this model is also applicable to: component monitoring systems that use other technologies to set up one or more levels of extensions in the hardware topology.

[0149] It is important to note that although the steps in the flowchart are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the exact order indicated by the arrows. Unless explicitly stated herein, there is no strict order constraint on the execution of these steps; they can be executed in other orders. Furthermore, at least some steps in the flowchart may include multiple sub-steps or stages. These sub-steps or stages do not necessarily complete at the same time, but can be executed at different times. The execution order of these sub-steps or stages is also not necessarily sequential, but can be performed alternately or in rotation with other steps or at least some of the sub-steps or stages of other steps.

[0150] Example 2:

[0151] like Figure 2 As shown, this embodiment of the invention also provides a monitoring and management device for non-address resolution devices, used to implement the aforementioned monitoring and management method for non-address resolution devices. The monitoring and management device includes:

[0152] The hardware topology information update unit is used to: update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information of the non-address resolution device system; wherein, the non-address resolution device table includes current hardware topology parameters, which include the integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, the non-address resolution device address parameters corresponding to each non-address resolution device, and the integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters;

[0153] The endpoint ID allocation unit is used to: when the management component transport protocol device table corresponding to the non-address-resolved device system does not have the same hardware topology information as the non-address-resolved device table, communicate with each non-address-resolved device according to the current hardware topology parameters in the non-address-resolved device table, allocate endpoint IDs respectively, update the device hardware topology parameters in the management component transport protocol device table to the current hardware topology parameters, and update the device endpoint ID parameters in the management component transport protocol device table to the endpoint ID parameters of each non-address-resolved device that have been successfully allocated.

[0154] In a preferred embodiment, the monitoring and management device further includes a device table construction unit, used for:

[0155] A non-address-resolving device table is constructed based on the hardware topology information of the non-address-resolving device system. The non-address-resolving device table includes integrated bus parameters, non-address-resolving device address parameters, and integrated circuit conversion chip parameters. Among them, the integrated circuit conversion chip parameters include virtual bus parameters, which include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters.

[0156] Construct a transport protocol device table for the management component. The transport protocol device table for the management component includes the device hardware topology parameters and device endpoint ID parameters corresponding to each non-address resolution device.

[0157] In a preferred embodiment, the device table construction unit is further configured to:

[0158] Construct a corresponding array table of non-address-resolving device structures based on the non-address-resolving device table.

[0159] In a preferred embodiment, the device table construction unit is further configured to:

[0160] Construct a corresponding dynamic singly linked list of management component transmission protocol devices based on the management component transmission protocol device table.

[0161] In a preferred embodiment, the monitoring and management device further includes a device communication normality detection unit, which is used for:

[0162] Traverse the transport protocol device table of the management component, obtain the device hardware topology parameters corresponding to each non-address resolution device, communicate with the corresponding non-address resolution device according to the device hardware topology parameters, and determine that the device communication is normal when a normal communication response is received from the non-address resolution device.

[0163] In a preferred embodiment, the monitoring and management method further includes an upper-layer application communication unit, which is used for:

[0164] When the current device endpoint ID parameter in the transport protocol device table of the management component matches the preset endpoint ID information in the upper layer application data packet, the current device hardware topology parameter of the corresponding entry in the transport protocol device table of the management component is obtained, and communication is established between the corresponding non-address resolution device and the upper layer application based on the current device hardware topology parameter.

[0165] For specific limitations on the aforementioned apparatus, please refer to the limitations on the method described above, which will not be repeated here.

[0166] Each module in the aforementioned device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0167] Among them, such as Figure 3 As shown, the aforementioned computer device can be a terminal, comprising a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with external terminals via a network connection. The display screen can be an LCD screen or an e-ink display screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse, etc.

[0168] It is understood that the structures shown in the above figures are merely block diagrams of some structures related to the present invention and do not constitute a limitation on the computer device to which the present invention is applied. Specific computer devices may include more or fewer components than those shown in the figures, or combine certain components, or have different component arrangements.

[0169] The implementation of all or part of the processes in the methods of the above embodiments can be accomplished by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods.

[0170] Any references to memory, storage, database, or other media used in the embodiments provided in this invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0171] It should be noted that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A monitoring and management method for non-address resolution devices, characterized in that, For monitoring and managing non-address-resolution device systems based on BMC, transmitting protocols via integrated bus management components, and extended using integrated circuit conversion chips, the monitoring and management method includes: Hardware topology information update method: Update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information of the non-address resolution device system; wherein, the non-address resolution device table includes current hardware topology parameters, which include the integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, the non-address resolution device address parameters corresponding to each non-address resolution device, and the integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters; Endpoint ID allocation method: When the management component transport protocol device table corresponding to the non-address-resolving device system does not have the same hardware topology information as the non-address-resolving device table, communication is performed with each non-address-resolving device according to the current hardware topology parameters in the non-address-resolving device table, endpoint IDs are allocated respectively, and the device hardware topology parameters in the management component transport protocol device table are updated to the current hardware topology parameters, and the device endpoint ID parameters in the management component transport protocol device table are updated to the endpoint ID parameters of each non-address-resolving device that have been successfully allocated. The management component transport protocol device table is a dynamic singly linked list that includes the device hardware topology parameters and device endpoint ID parameters corresponding to each non-address-resolving device.

2. The monitoring and management method for non-address resolution devices according to claim 1, characterized in that, The monitoring and management method also includes a device table construction method, which includes: The non-address resolution device table is constructed based on the hardware topology information of the non-address resolution device system. The non-address resolution device table includes the integrated bus parameters, the non-address resolution device address parameters, and the integrated circuit conversion chip parameters. The integrated circuit conversion chip parameters include virtual bus parameters, which include the integrated circuit conversion chip address parameters and the integrated circuit conversion chip channel parameters. Construct the management component transport protocol device table, which includes the device hardware topology parameters and device endpoint ID parameters corresponding to each non-address resolution device.

3. The monitoring and management method for non-address resolution devices according to claim 2, characterized in that, The non-address resolution device table is constructed based on the hardware topology information of the non-address resolution device system, specifically including: Construct a corresponding array table of non-address-resolving device structures based on the non-address-resolving device table.

4. The monitoring and management method for non-address resolution devices according to claim 2 or 3, characterized in that, Constructing the management component's transport protocol device table specifically includes: Construct a corresponding dynamic singly linked list of management component transmission protocol devices based on the management component transmission protocol device table.

5. The monitoring and management method for non-address resolution devices according to claim 1, characterized in that, The monitoring and management method also includes a device communication normal detection method, which includes: The system iterates through the transport protocol device table of the management component, obtains the device hardware topology parameters corresponding to each non-address resolution device, communicates with the corresponding non-address resolution device according to the device hardware topology parameters, and determines that the device communication is normal when it receives a communication normal response information returned by the non-address resolution device.

6. The monitoring and management method for non-address resolution devices according to claim 1, characterized in that, The monitoring and management method also includes an upper-layer application communication method, which includes: When the current device endpoint ID parameter in the management component's transmission protocol device table matches the preset endpoint ID information in the upper-layer application data packet, the current device hardware topology parameter of the corresponding entry in the management component's transmission protocol device table is obtained, and communication is established between the corresponding non-address resolution device and the upper-layer application based on the current device hardware topology parameter.

7. The monitoring and management method for non-address resolution devices according to claim 1, characterized in that, The integrated circuit conversion chip parameters include one of the following: first-level integrated circuit conversion chip parameters and multi-level integrated circuit conversion chip parameters.

8. A monitoring and management device for a non-address resolution device, characterized in that, For implementing the monitoring and management method for a non-address resolution device as described in any one of claims 1-7, the monitoring and management device comprises: The hardware topology information update unit is used to: update the non-address resolution device table corresponding to the non-address resolution device system according to the current hardware topology information of the non-address resolution device system; wherein, the non-address resolution device table includes current hardware topology parameters, which include integrated bus parameters corresponding to each non-address resolution device when communicating with the BMC, non-address resolution device address parameters corresponding to each non-address resolution device, and integrated circuit conversion chip parameters corresponding to each non-address resolution device in the hardware topology; the integrated circuit conversion chip parameters include integrated circuit conversion chip address parameters and integrated circuit conversion chip channel parameters; The endpoint ID allocation unit is used to: when the management component transport protocol device table corresponding to the non-address resolution device system does not have the same hardware topology information as the non-address resolution device table, communicate with each non-address resolution device according to the current hardware topology parameters in the non-address resolution device table, allocate endpoint IDs respectively, update the device hardware topology parameters in the management component transport protocol device table to the current hardware topology parameters, and update the device endpoint ID parameters in the management component transport protocol device table to the endpoint ID parameters of each non-address resolution device that have been successfully allocated, wherein the management component transport protocol device table is a dynamic singly linked list including the device hardware topology parameters and device endpoint ID parameters corresponding to each non-address resolution device.

9. A computer device comprising a memory, a processor, and a computer program, wherein the computer program is stored in the memory and can run on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the monitoring and management method for a non-address resolution device as described in any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the monitoring and management method for non-address resolution devices as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Address resolution method, corresponding system, switch, and server

    CN103516821A

  • SSD MCTP control message verification method and device based on SMBUS, computer equipment and storage medium

    CN115454896A