CN-121985048-A - System and method based on unified management transmission abstract protocol
Abstract
The embodiment of the application provides a system and a method based on a unified management transmission abstract protocol, and relates to the technical field of server management. The system runs on a basic management controller, and comprises a protocol layer and an adapter layer, wherein the protocol layer and the adapter layer are used for supporting message transmission between a physical layer and an application layer under the condition that the basic management controller is communicated with a main processor, the protocol layer and the adapter layer are used for generating or analyzing messages according to unified message header processing rules when receiving and transmitting the messages, and the protocol layer and the adapter layer are also used for adjusting the effective load of the messages according to a dynamic slicing algorithm under the condition that the basic management controller is communicated with the main processor. The system can realize decoupling of upper business logic and a bottom physical channel, is widely compatible with a plurality of different physical channels and ensures high efficiency and stability of message transmission under a bandwidth fluctuation scene through 4-layer architecture design, unified message header processing rules and dynamic fragmentation algorithm.
Inventors
- ZHANG HAITAO
- YANG JIAN
Assignees
- 云尖信息技术股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251211
Claims (10)
- 1. A system based on a unified management transmission abstract protocol, which is characterized in that the system is operated in a basic management controller and comprises a protocol layer and an adapter layer; The protocol layer and the adapter layer are used for supporting message transmission between the physical layer and the application layer under the condition that the basic management controller is communicated with the main processor, wherein a transmission path through which the message from the application layer sequentially passes comprises the application layer, the protocol layer, the adapter layer and the physical layer, and a transmission path through which the message from the physical layer sequentially passes comprises the physical layer, the adapter layer, the protocol layer and the application layer; When receiving and transmitting a message, the protocol layer and the adapter layer are used for generating or analyzing the message according to a unified message header processing rule, wherein the unified message header processing rule is used for indicating that the message header of the message comprises a plurality of message compatibility fields, and the message compatibility fields are compatible with a plurality of different physical channels; and under the condition that the basic management controller is communicated with the main processor, the protocol layer and the adapter layer are also used for adjusting the effective load of the message according to a dynamic slicing algorithm, wherein the dynamic slicing algorithm indicates that the effective load of the message and the real-time bandwidth of a physical channel form a positive correlation relation.
- 2. The system based on unified management transmission abstraction protocol according to claim 1, wherein the header includes the following fields: Version number, message type, source device ID, destination device ID, transaction sequence number, control flag, load length, security field, check field; The message type can indicate functions including control command, file transmission, data flow, payload of the message bearing platform level data model PLDM, payload of the message bearing security protocol and the data model SPDM, transaction sequence numbers for matching requests and responses, and control mark can indicate functions including message fragmentation and security encryption.
- 3. The system based on unified management transmission abstraction protocol according to claim 2, wherein the protocol layer and the adapter layer are further configured to adjust a payload of a message according to a dynamic fragmentation algorithm, comprising the steps of: The adapter layer acquires the real-time bandwidth of the physical channel; The protocol layer adjusts the size of the payload of the message according to the real-time bandwidth of the physical channel and a preset threshold, wherein the size of the payload of the message is indicated by the control mark.
- 4. The system according to claim 3, wherein the protocol layer is further configured to adjust the preset threshold according to a control instruction, so that a size of the preset threshold matches a current transmission scenario.
- 5. The unified management transport abstraction protocol based system of claim 2, wherein when the message type indicates a payload of a message bearer SPDM, the protocol layer and the adapter layer are further configured to initiate authentication of the host processor, encrypted transport of a message, and message integrity verification via the message type, the control flag, the security field, and the check field.
- 6. The system based on unified management transport abstraction protocol according to claim 1, wherein the adapter layer is further configured to feed back a real-time health status of a physical channel to the protocol layer; and the protocol layer is further used for switching the standby physical channel when the real-time health status indication fault is judged, and performing breakpoint continuous transmission based on the cached message.
- 7. The system based on unified management transmission abstraction protocol according to claim 6, wherein the adapter layer is further configured to use the shared video memory area as a buffer for the message; The protocol layer and the adapter layer are also used for acquiring a message from the shared video memory area according to a doorbell interrupt signal of the main processor under the condition that the basic management controller is communicated with the main processor, wherein the doorbell interrupt signal is used for indicating the main processor to buffer the message into the shared video memory area; The protocol layer and the adapter layer are also used for adjusting the effective load of the message according to the real-time video memory occupancy rate, wherein the effective load of the message and the real-time video memory occupancy rate form a positive correlation.
- 8. The system according to any one of claims 1-7, wherein the protocol layer and the adapter layer are further configured to obtain a real-time health status of each physical channel, and take a physical channel with an optimal real-time health status as an initial transmission physical channel, where the real-time health status indicates a communication health condition of the physical channel.
- 9. A method based on unified management of transmission abstraction protocols, applied to the system according to any one of claims 1-8, wherein the method comprises: the protocol layer responds to a communication request initiated by the application layer, generates a unified management transmission abstract protocol UMTA message, and sends the UMTA message to the adapter layer; the adapter layer performs format conversion on the UMTA message according to the format of the target physical channel of the physical layer corresponding to the UMTA message; the adapter layer sends UMTA messages after format conversion to the target physical channel; the adapter layer acquires the real-time health state of the target physical channel and sends the real-time health state to the protocol layer; the adapter layer restores the message from the physical layer to UMTA message and sends the UMTA message to the protocol layer; And the protocol layer sends the UMTA message to the application layer.
- 10. The method according to claim 9, wherein the method further comprises: and under the condition that the physical channel of the physical layer is updated, the adapter layer is updated according to an updating instruction, wherein the updated adapter layer comprises an adapter module corresponding to the updated physical channel.
Description
System and method based on unified management transmission abstract protocol Technical Field The application relates to the technical field of server management, in particular to a system and a method based on a unified management transmission abstract protocol. Background In modern high performance servers, data centers, and cloud computing infrastructure, the basic management controllers (BMCs, baseboard Management Controller) are core operation and maintenance components independent of the main processor (CPU/SoC), and serve key functions such as system power control, remote fault diagnosis, firmware upgrade, health status monitoring, etc. The BMC needs to develop rich information interactions with the host side (including BIOS/UEFI, operating system). However, the current communication architecture is often limited by the designs of various manufacturers between different types of BMC socs and different brands of CPUs, so that the fragmentation problem exists in the physical channel. Specifically, because each manufacturer of the BMC and CPU manufacturer make a private communication design scheme based on own product planning and technical routes, unified physical channel interface standards and adaptation specifications are not formed, so that physical communication links between BMCs of different models and CPUs have serious isomerism, and the compatibility, expansibility and operation and maintenance convenience of a server system are seriously restricted. Disclosure of Invention Therefore, the present application aims to provide a system and a method based on a unified management transmission abstract protocol, which can realize decoupling of an upper layer business logic and a bottom layer physical channel, widely compatible with a plurality of different physical channels and ensure high efficiency and stability of message transmission under a bandwidth fluctuation scene through a 4-layer architecture design, a unified message header processing rule and a dynamic fragmentation algorithm. In order to achieve the above object, the technical scheme adopted by the embodiment of the application is as follows: In a first aspect, the present application provides a system based on a unified management transport abstraction protocol. The system is operated on a basic management controller, the system comprises a protocol layer and an adapter layer, the protocol layer and the adapter layer are used for supporting message transmission between a physical layer and an application layer under the condition that the basic management controller is communicated with a main processor, a transmission path through which messages from the application layer sequentially pass comprises the application layer, the protocol layer, the adapter layer and the physical layer, the transmission path through which messages from the physical layer sequentially pass comprises the physical layer, the adapter layer and the application layer, when the messages are received and transmitted, the protocol layer and the adapter layer are used for generating or analyzing the messages according to a unified message header processing rule, wherein the unified message header processing rule is used for indicating that a message header of the message comprises a plurality of message compatibility fields which are compatible with a plurality of different physical channels, and the protocol layer and the adapter layer are also used for adjusting the effective load of the message according to a dynamic slicing algorithm under the condition that the basic management controller is communicated with the main processor, and the dynamic slicing algorithm indicates that the real-time relation between the effective load of the message and the physical channel is positive and the bandwidth of the dynamic slicing algorithm. Based on the above, the application has the beneficial effects that for BMC, through the 4-layer architecture design of an application layer, a protocol layer, an adapter layer and a physical layer, the deep decoupling of the upper business logic and the bottom physical channel is realized, namely, the upper layer does not need to pay attention to the type difference and the transmission characteristic of the physical channel, the update of the bottom physical channel does not need to change the upper logic, the development and maintenance cost of the system is reduced, and the expansion flexibility is improved. And through the design of the compatible field of the unified message header, the BMC can be widely compatible with a plurality of different physical channels, the custom development for a specific channel is not needed, and the adaptation range of the BMC is widened. In addition, the dynamic matching of the message load size and the real-time bandwidth of the physical channel is realized through a dynamic slicing algorithm, the limit of a fixed MTU (maximum transmission unit) can be broken through without upper-layer interventi