CN117061306A - Control instruction forwarding method and system - Google Patents

Control instruction forwarding method and system Download PDF

Info

Publication number
CN117061306A
CN117061306A CN202311159701.5A CN202311159701A CN117061306A CN 117061306 A CN117061306 A CN 117061306A CN 202311159701 A CN202311159701 A CN 202311159701A CN 117061306 A CN117061306 A CN 117061306A
Authority
CN
China
Prior art keywords
interface
control instruction
control
forwarding
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311159701.5A
Other languages
Chinese (zh)
Inventor
王晓玲
高强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202311159701.5A priority Critical patent/CN117061306A/en
Publication of CN117061306A publication Critical patent/CN117061306A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a forwarding method and a forwarding system of a control instruction, wherein the method is applied to a motherboard substrate control manager connected with a network card and comprises the following steps: determining a first interface of a motherboard substrate control manager; under the condition that the first interface and the network card are in a communication state, forwarding a control instruction from the network card to a second interface of the mainboard baseplate control manager through the first interface; the first interface is communicated with the second interface, and the control instruction is sent to the network card by the upper computer through the local area network; and under the condition that the first interface and the network card are in a non-communication state, forwarding a control instruction from the upper computer to a second interface of the main board substrate control manager by using the switch, wherein the switch is respectively communicated with the first interface and the second interface. By the method and the device, the technical problem of how to improve the forwarding efficiency of the control instruction is solved, and the effect of improving the forwarding efficiency of the control instruction is achieved.

Description

Control instruction forwarding method and system
Technical Field
The embodiment of the application relates to the field of computer systems, in particular to a forwarding method and a forwarding system for control instructions.
Background
Currently, with the rapid development of the information technology of the present society, the data center has a larger and larger demand for, for example, AI-type servers, and accordingly, management designs of AI-type-oriented servers have become more and more complex. In the current design scheme, only a control instruction can be sent to the server substrate through the network card to perform network management, but the control instruction cannot be directly sent to the GPU BOX to perform management. In the related art, although it is proposed to communicate between the GPU BOX and the server substrate by means of a low-speed bus such as I2C or SPI, and the like, and then receive the local area network through the server substrate and forward the control instruction to the GPU BOX, so as to implement management on the GPU BOX, the method has high time delay and slow forwarding speed, and the control instruction is likely to lose information in the process, resulting in unreliable control instruction, and only has extremely low forwarding efficiency.
Accordingly, in the related art, there is a technical problem of how to improve the forwarding efficiency of the control instruction.
Aiming at the technical problem of how to improve the forwarding efficiency of the control instruction in the related art, no effective solution has been proposed yet.
Disclosure of Invention
The embodiment of the application provides a forwarding method and a forwarding system for a control instruction, which aim at least to solve the technical problem of how to improve the forwarding efficiency of the control instruction.
According to an embodiment of the present application, there is provided a forwarding method of a control instruction, applied to a motherboard baseboard control manager connected to a network card, including: determining a first interface of a motherboard substrate control manager; under the condition that the first interface and the network card are in a communication state, forwarding a control instruction from the network card to a second interface of the mainboard substrate control manager through the first interface; the first interface is communicated with the second interface, and the control instruction is sent to the network card by the upper computer through a local area network; and under the condition that the first interface and the network card are in a non-communication state, forwarding a control instruction from the upper computer to a second interface of the mainboard substrate control manager by using a switch, wherein the switch is respectively communicated with the first interface and the second interface.
In an exemplary embodiment, in a case where it is determined that the first interface is in a communication state with the network card, after forwarding, through the first interface, a control instruction from the network card to the second interface of the motherboard baseboard control manager, the method further includes: analyzing the control instruction received through the first interface to obtain a first analysis result; controlling the server according to the control instruction under the condition that the first analysis result is determined to be used for indicating the control server; and under the condition that the first analysis result is determined to be used for indicating to control the graphic processor equipment, sending the control instruction to a graphic processor baseboard control manager, and controlling the graphic processor baseboard control manager according to the control instruction.
In one exemplary embodiment, sending the control instruction to a graphics processor baseboard control manager includes: determining a first switching interface communicated with the local area network, a second switching interface communicated with the second interface and a third switching interface communicated with the graphics processor substrate control manager from switching interfaces of the switch; sending the control instruction to the switch through the second switching interface; forwarding the control instruction to the graphics processor baseboard control manager through the third switching interface.
In one exemplary embodiment, after forwarding the control instructions to the graphics processor baseboard control manager through the third switching interface, the method further comprises: under the condition that a response instruction generated when the graphics processor substrate control manager is controlled is received through a switching interface of the switch, analyzing the response instruction to obtain a second analysis result; and sending the second analysis result to an upper computer communicated with the local area network through a first interface so that the upper computer displays the second analysis result to a target object.
In an exemplary embodiment, in a case where it is determined that the first interface and the network card are in a non-connected state, forwarding, using a switch, a control instruction from the host computer to the second interface of the motherboard baseboard control manager includes: determining a first switching interface communicated with the local area network from switching interfaces of the switch, and a second switching interface communicated with the second interface; forwarding the control instruction to the second switching interface through the first switching interface, and forwarding the control instruction to the second interface through the second switching interface, wherein the first switching interface is communicated with the second switching interface.
In an exemplary embodiment, after forwarding the control instruction to the second interface through the second switching interface, the method further comprises: analyzing the control instruction forwarded by the second interface to obtain a third analysis result; controlling the server according to the control instruction under the condition that the third analysis result is determined to be used for controlling the server; and sending the control instruction to a graphics processor baseboard control manager under the condition that the third analysis result is determined to be used for indicating to control the graphics processor device.
In one exemplary embodiment, sending the control instruction to a graphics processor baseboard control manager includes: determining a third switching interface communicated with the graphics processor substrate control manager from switching interfaces of the switch, wherein the second switching interface is communicated with the third switching interface; forwarding the control instruction to the third switching interface through the second switching interface, and forwarding the control instruction to the graphics processor baseboard control manager through the third switching interface; under the condition that a response instruction generated when the graphics processor substrate control manager is controlled is received through a switching interface of the switch, analyzing the response instruction to obtain a fourth analysis result; the fourth analysis result is sent to an upper computer communicated with the local area network through a second interface, so that the upper computer displays the fourth analysis result to a target object; the sending the fourth analysis result to the upper computer communicated with the local area network through the second interface comprises the following steps: forwarding the fourth analysis result to the second switching interface through the second interface and the second switching interface; and forwarding the fourth analysis result to an upper computer communicated with the local area network through the second exchange interface and the first exchange interface.
According to another embodiment of the present application, there is provided a forwarding system for control instructions, a network card connected to a local area network, a motherboard baseboard control manager, a graphic processor baseboard control manager, and a switch connected to both the motherboard baseboard control manager and the graphic processor baseboard control manager; the first interface of the motherboard substrate control manager is connected with the network card, and a communication state or a non-communication state is formed between the first interface and the network card; the first switching interface of the switch is communicated with the local area network, the second switching interface of the switch is communicated with the second interface of the mainboard baseboard control manager, and the third switching interface of the switch is communicated with the graphics processor baseboard control manager; the main board substrate control manager is used for forwarding a control instruction from the network card to a second interface of the main board substrate control manager through the first interface under the condition that the first interface and the network card are in a communication state; the first interface is communicated with the second interface, and the control instruction is sent to the network card by the upper computer through a local area network; and under the condition that the first interface and the network card are in a non-communication state, forwarding a control instruction from the upper computer to a second interface of the mainboard baseboard control manager by using the switch, wherein the switch is respectively communicated with the first interface and the second interface.
According to a further embodiment of the application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the application there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the application, the first interface of the mainboard substrate control manager is determined; under the condition that the first interface and the network card are in a communication state, a control instruction sent to the network card by the upper computer through the local area network is forwarded to a second interface communicated with the first interface of the main board substrate control manager through the first interface; under the condition that the first interface and the network card are in a non-communication state, a switch which is respectively communicated with the first interface and the second interface is used for forwarding the control instruction from the upper computer to the second interface of the main board substrate control manager, so that the technical problem of how to improve the forwarding efficiency of the control instruction can be solved, and the effect of improving the forwarding efficiency of the control instruction is achieved.
Drawings
FIG. 1 is a schematic diagram of a control instruction forwarding method according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of forwarding control commands according to an embodiment of the present application;
FIG. 3 is a block diagram of a control instruction forwarding system according to an embodiment of the present application;
FIG. 4 schematically illustrates a block diagram of a computer system for an electronic device implementing an embodiment of the application;
fig. 5 schematically shows a schematic diagram of an electronic device for implementing an embodiment of the application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Some technical terms of the present application will be described below:
NCSI, network Controller Sideband Interface represents a network controller sideband interface protocol.
AI, artificial Intelligence artificial intelligence.
BMC, baseboard Management Controller baseboard management controller.
GPU, graphics processing unit graphics processor.
MB, mother Board motherboard.
QSFP, quad Small Form-factor plug 4 channel SFP interface.
DPU, data Processing Unit data processing unit.
According to an aspect of an embodiment of the present application, a forwarding method of a control instruction is provided. The method embodiments provided in the embodiments of the present disclosure may be performed in a motherboard baseboard control manager or similar computing device. Taking the operation on the motherboard substrate control manager as an example, as shown in fig. 1, a schematic diagram of a principle of a forwarding method for control instructions is provided, which includes a local area network, an upper computer, a network card, a CPU, an MB, and a GPU BOX.
Wherein the GPU BOX represents an external Graphics Processor (GPU) extension device. May be connected to a computer or notebook and provide additional computing power and graphics processing power. Graphics processor devices typically contain one or more high-performance GPUs that can be used to speed up computation, render graphics, and process complex images. By using a graphics processor device, a user may improve computing and graphics processing performance without upgrading or replacing the entire computer system.
As shown in fig. 1, a BMC chip (hereinafter, referred to as mb_bmc on the motherboard side for distinguishing the BMCs in the GPU BOM) is designed on the motherboard (i.e., MB).
The server can be managed by the path of "RJ45-MDI bus-BMC management dedicated port (port 2 of mb_bmc shown in fig. 1, i.e. the second interface described above)".
The process that the shared port based on the BMC performs network device management (abbreviated as a network card in the illustration of the present invention) through the NCSI bus by the shared port of the BMC (the port 1 of the mb_bmc shown in fig. 1, that is, the first interface), the NCSI bus, the network card, the optical port (QSFP), and the local area network is connected to the local area network deployed by the external switch through the QSFP optical cable can be realized.
As shown in fig. 1, a LAN SW chip (i.e., LAN Switch of fig. 1) is added to the GPU BOX, and the LAN SW pair is connected to a management port (i.e., port 2 of the gpu_bmc) of the on-board BMC chip (hereinafter referred to as gpu_bmc) through a path of "P2-MDI bus";
wherein, P1 (i.e. the second switching interface) of the LAN SW is respectively connected to the external gigabit ports rk45_1 through MDI buses, and P0 is connected to the external gigabit ports rkk45_0 through MDI buses (i.e. the first switching interface);
wherein, P0 is configured as an access port, P1 is configured as a hybrid port, i.e. performing routing configuration in FW (firmware) of the LAN SW to divide vlan, where P1 may be routed to P2 (i.e. the third switching interface described above), implementing intra-management, P1 may also be routed to P0 to implement extra-network-to-extra-communication, but P0 may not be directly routed to P2.
Optionally, when the user accesses the server through the local area network link to rq45_0, the acquired IP is the IP of the mb_bmc, and the IP of the gpu_bmc is invisible to the outside.
Optionally, when the network card accesses the local area network, the MB BMC chip may be accessed through the NCSI link and the BMC shared network port (i.e., P1 of the mb_bmc), so as to implement out-of-band management on the server.
In this embodiment, a method for forwarding a control instruction is provided, as shown in fig. 2, and specifically includes the following steps:
step S202, determining a first interface of a motherboard substrate control manager;
step S204, when the first interface and the network card are in a communication state, forwarding a control instruction from the network card to a second interface of the motherboard baseboard control manager through the first interface; the first interface is communicated with the second interface, and the control instruction is sent to the network card by the upper computer through a local area network;
and step S206, when the first interface and the network card are in a non-communication state, forwarding a control instruction from the upper computer to a second interface of the mainboard substrate control manager by using a switch, wherein the switch is respectively communicated with the first interface and the second interface.
Through the steps, the first interface of the main board baseplate control manager is determined; under the condition that the first interface and the network card are in a communication state, a control instruction sent to the network card by the upper computer through the local area network is forwarded to a second interface communicated with the first interface of the main board substrate control manager through the first interface; under the condition that the first interface and the network card are in a non-communication state, a switch which is respectively communicated with the first interface and the second interface is used for forwarding the control instruction from the upper computer to the second interface of the main board substrate control manager, so that the technical problem of how to improve the forwarding efficiency of the control instruction can be solved, and the effect of improving the forwarding efficiency of the control instruction is achieved.
Alternatively, the execution subject of the above steps may be a server, a terminal, or the like, but is not limited thereto.
Optionally, in an exemplary embodiment, after executing the technical solution in the step S204 that, in the case where it is determined that the first interface is in the connected state with the network card, the control instruction from the network card is forwarded to the second interface of the motherboard baseboard control manager through the first interface, the following steps may be further implemented: step S11, analyzing the control instruction received through the first interface to obtain a first analysis result; step S12, controlling the server according to the control instruction under the condition that the first analysis result is determined to be used for indicating the control server; and step S13, when the first analysis result is determined to be used for indicating to control the graphic processor equipment, the control instruction is sent to a graphic processor substrate control manager, and the graphic processor substrate control manager is controlled according to the control instruction.
Optionally, in this embodiment, in combination with the architecture diagram shown in fig. 1, the process of receiving the control instruction through the first interface may be understood as conveying the control instruction to the mb_bmc through the path of "local area network- > QSFP- > network card- > NCSI bus- > mb_bmc shared port", so that the mb_bmc performs instruction analysis.
By the embodiment, the control instruction can be sent to the base plate control manager of the graphic processor, so that the base plate control manager of the graphic processor is controlled according to the control instruction, and the control efficiency of the base plate control manager of the graphic processor is improved.
Optionally, in an exemplary embodiment, for the technical solution of sending the control instruction to the graphics processor baseboard control manager in step S13, the method may further include the following implementation steps: step S21, determining a first switching interface communicated with the local area network, a second switching interface communicated with the second interface and a third switching interface communicated with the graphics processor substrate control manager from switching interfaces of the switch; step S22, the control instruction is sent to the switch through the second switching interface; and step S23, forwarding the control instruction to the graphics processor substrate control manager through the third exchange interface.
By the embodiment, the method for sending the control instruction to the base plate control manager of the graphic processor is further enriched, so that the control efficiency of the base plate control manager of the graphic processor is improved according to the implementation mode of controlling the base plate control manager of the graphic processor according to the control instruction
Optionally, in an exemplary embodiment, after controlling the server according to the control instruction, in a case of receiving a reply message generated when the graphics processor substrate control manager is controlled, the reply message is presented on a visual interaction interface; generating an operation instruction based on the interactive operation of the target object on the visual interactive interface, and controlling the graphics processor substrate control manager according to the operation instruction.
Through the embodiment, a way of interactively controlling the base plate control manager of the graphic processor can be provided for a user, and the control efficiency of the base plate control manager of the graphic processor is improved.
Optionally, in an exemplary embodiment, after the forwarding of the control instruction to the graphics processor baseboard control manager through the third switching interface in the step S23, the step S13 may further include: step S24, under the condition that a response instruction generated when the graphics processor substrate control manager is controlled is received through a switching interface of the switch, analyzing the response instruction to obtain a second analysis result; and S25, transmitting the second analysis result to an upper computer communicated with the local area network through a first interface so that the upper computer displays the second analysis result to a target object.
Optionally, in this embodiment, in conjunction with the architecture schematic shown in fig. 1, the process of receiving, through the switch interface of the switch, a response instruction generated when the graphics processor baseboard control manager is controlled may be understood as that the mb_bmc receives, through the path of "gpu_bmc management port- > P2- > P1- > rq45- > mb_bmc management port", a response instruction generated by the gpu_bmc based on the control instruction.
Optionally, in this embodiment, in combination with the architecture diagram shown in fig. 1, the process of sending the second analysis result to an upper computer that is in communication with the local area network through a first interface, so that the upper computer displays the second analysis result to the target object may be understood as decoding, checking and recoding the data carried by the response instruction after the mb_bmc receives the response instruction, and implementing information interaction with the user once through "mb_bmc sharing- > NCSI bus- > network card- > QSFP- > local area network- > upper computer" after confirming.
Optionally, in an exemplary embodiment, in order to better understand the specific implementation process of the second interface of the motherboard baseboard control manager by using the switch to forward the control instruction from the upper computer when the first interface and the network card are determined to be in the non-connected state in the step S206, the following implementation steps are proposed: step S31, determining a first switching interface communicated with the local area network from switching interfaces of the switch, and determining a second switching interface communicated with the second interface; and step S32, forwarding the control instruction to the second switching interface through the first switching interface, and forwarding the control instruction to the second interface through the second switching interface, wherein the first switching interface is communicated with the second switching interface.
Optionally, in an exemplary embodiment, after performing the process of step S32 to forward the control instruction to the second interface through the second switching interface, step S206 may further include: step S33, analyzing the control instruction forwarded by the second interface to obtain a third analysis result; step S34, controlling the server according to the control instruction under the condition that the third analysis result is determined to be used for controlling the server; and step S35, transmitting the control instruction to a graphics processor substrate control manager in the case that the third analysis result is determined to be used for indicating to control the graphics processor device.
Optionally, in an exemplary embodiment, in a case of receiving a reply message generated when the graphics processor baseboard control manager is controlled, the reply message is displayed on a visual interaction interface; generating an operation instruction based on the interactive operation of the target object on the visual interactive interface, and controlling the graphics processor substrate control manager according to the operation instruction.
Optionally, in an exemplary embodiment, the technical solution of sending the control instruction to the graphics processor substrate control manager in the step S35 is described by the following steps: step S41, determining a third switching interface communicated with the graphics processor substrate control manager from switching interfaces of the switch, wherein the second switching interface is communicated with the third switching interface; step S42, forwarding the control instruction to the third switching interface through the second switching interface, and forwarding the control instruction to the graphics processor substrate control manager through the third switching interface; step S43, under the condition that a response instruction generated when the graphics processor substrate control manager is controlled is received through a switching interface of the switch, analyzing the response instruction to obtain a fourth analysis result; and S44, transmitting the fourth analysis result to an upper computer communicated with the local area network through a second interface so that the upper computer displays the fourth analysis result to a target object.
Through the embodiment, the control instruction can be forwarded to the base plate control manager of the graphic processor in time, a way of controlling the base plate control manager of the graphic processor by using the upper computer is provided for a user, and user experience is improved.
Optionally, in this embodiment, in conjunction with the architecture schematic shown in fig. 1, the above process of receiving, through the switch interface of the switch, a response instruction generated when the graphics processor baseboard control manager is controlled may be understood that the mb_bmc receives, through the path of "gpu_bmc management port- > P2- > P1- > rq45- > RJ45- > mb_bmc management port", a response instruction generated by the gpu_bmc based on the control instruction.
Optionally, in this embodiment, in combination with the architecture schematic shown in fig. 1, the process of sending the fourth analysis result to the upper computer that is connected to the local area network through the second interface, so that the upper computer displays the fourth analysis result to the target object may be understood as decoding, checking and recoding the data carried by the response instruction after the mb_bmc receives the response instruction, and implementing one-time information interaction with the user through the path of the "mb_bmc management port- > rq45- > rq45_1- > P1- > P0- > rq45- > local area network- > upper computer" after confirming.
Optionally, for step S44, the implementation process of sending the fourth analysis result to the upper computer that is in communication with the local area network through the second interface at least includes the following steps: step S51, forwarding the fourth analysis result to the second switching interface through the second interface and the second switching interface; and step S51, forwarding the fourth analysis result to an upper computer communicated with the local area network through the second exchange interface and the first exchange interface.
Optionally, in one embodiment, an implementation scheme based on forwarding control instructions in the system structure shown in fig. 1 is provided, including at least scheme 1 and scheme 2.
In this embodiment, the scheme 1 is a dedicated management portal scheme, and the following hardware base needs to be prepared:
1) The MB BMC special management network port is connected with the cascading network port of the BOX BMC through a network cable;
2) The RJ 45-0 of the GPU BOX is connected to the local area network through a network cable;
when the network card shown in fig. 1 is not in place (the server has no external network card, i.e. the BMC sharing port is in a no-connection state), the specific steps of the forwarding method of the control instruction are as follows:
step 1, a user accesses an upper computer into a local area network, acquires a server IP, namely an MB_BMC IP, and inputs an instruction for management access after network connection is successful;
Step 2, a control instruction defaults to RK45_0 through a local area network, and then is routed to a P1- > RK45_1- > RK45- > MB_BMC management network port through a LAN SW P0 to reach MB_BMC;
and 3, the MB_BMC receives the control instruction, and judges whether to control the management server or the GPU BOX based on the control instruction.
If the control command is the control server, executing the received control command, and enabling the user to continue to manage the server through the interactive interface.
If the control GPU BOX is the control GPU BOX, the instruction is forwarded through the switch RK45_0, so the instruction is directly forwarded to the GPU_BMC through the RK45_0- > P0- > P1- > Pt2- > GPU_BMC management port, and the quick forwarding of the control instruction is realized.
And 4, responding after the GPU_BMC receives the forwarded instruction, and transmitting the response instruction back to the MB_BMC through the path of the GPU_BMC management port- > P2- > P1- > RJ45- > MB_BMC management port.
And 5, after receiving the feedback instruction, the MB_BMC decodes, checks and recodes the data, and after confirming that the information is correct, one-time information interaction is realized through a path of an MB_BMC management port RJ45- > 1- > P1- > P0- > RJ45- > 0- > local area network- > upper computer (user).
The upper computer is provided with a (visual/non-visual) interaction interface through which a user can interact.
In this embodiment, the scheme 2 is a shared management portal scheme, and the following hardware base needs to be prepared: and connecting the MB BMC special management network port with the cascading network port of the BOX BMC through a network cable.
When the network card shown in fig. 1 is in place and the sharing port between the network card and the mb_bmc is connected, at this time, because the network card is connected to the sharing port of the mb_bmc, the management port of the mb_bmc is disabled, and the sharing management port scheme needs to be started, which specifically includes the following steps:
step 1, a user accesses an upper computer into a local area network to acquire a server IP, at the moment, the user can acquire the IP address of a network chip on a unique IP network card, and after network connection is successful, an instruction is input to carry out management access;
step 2, a control instruction is forwarded to the MB_BMC through a path of local area network- > QSFP- > network card- > NCSI bus- > MB_BMC sharing port, and the MB_BMC performs instruction identification;
step 3, after receiving and identifying the control instruction, the MB_BMC judges whether to control the management server or the GPU BOX:
if the control command is a control server, executing the received control command, wherein the user can continue to manage the server through the interactive interface;
if the control GPU BOX is the control GPU BOX, the MB_BMC transfers the received instruction to the GPU_BMC through the path of an MB_BMC management port- > RJ45- > 1- > P1- > P2- > GPU_BMC management port (namely, port 2 of the GPU_BMC shown in fig. 1), so that the quick forwarding of the control instruction is realized.
And 4, responding after the GPU_BMC receives the forwarded instruction, and transmitting the response instruction back to the MB_BMC through the path of the GPU_BMC management port- > P2- > P1- > RJ45- > MB_BMC management port.
And 5, after receiving the feedback instruction, the MB_BMC decodes, checks and recodes the data, and after confirming that the information is correct, realizes one-time information interaction through a path of 'MB_BMC sharing- > NCSI bus- > network card- > QSFP- > local area network- > upper computer (user').
Based on the steps, the Lan Switch is placed on the GPU BOX, so that the current mainstream server network management architecture is optimized, the network management efficiency of the server is improved, the operation and maintenance of the server are more convenient, the construction cost of a data center including the number of switches and network cables and the like is greatly reduced, in addition, the defect of poor network management compatibility under the condition of cascading multiple slave can be effectively solved, the local area network can directly access two BMC chips in the substrate and the GPU BOX through the network card, the network access efficiency is improved, all equipment states of the AI server are monitored in real time, one IP (Internet protocol) is used for managing a plurality of network equipment, the number of the IP is reduced, the operation cost of the data center is reduced, the operation and maintenance cost is reduced, and the operation and maintenance efficiency and the problem positioning efficiency are improved.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The present embodiment also provides a block diagram of a forwarding system for control instructions, where the block diagram is used to implement the foregoing embodiments and preferred implementations, and the description is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
In one embodiment, a control instruction forwarding system is provided in conjunction with fig. 3, where, as shown in fig. 3, the control instruction forwarding system includes: a network card (not shown in fig. 3) connected to a local area network, a motherboard baseboard control manager 32, a graphics processor baseboard control manager 34, and a switch 36 in communication with both the motherboard baseboard control manager and the graphics processor baseboard control manager;
wherein, the first interface of the motherboard baseboard control manager 32 is connected with the network card, and the first interface is in a communication state or a non-communication state with the network card;
wherein a first switching interface of the switch 36 is in communication with the lan, a second switching interface of the switch 36 is in communication with a second interface of the motherboard baseboard control manager 32, and a third switching interface of the switch 36 is in communication with the graphics processor baseboard control manager 34;
the main board substrate control manager is used for forwarding a control instruction from the network card to a second interface of the main board substrate control manager through the first interface under the condition that the first interface and the network card are in a communication state; the first interface is communicated with the second interface, and the control instruction is sent to the network card by the upper computer through a local area network; and under the condition that the first interface and the network card are in a non-communication state, forwarding a control instruction from the upper computer to a second interface of the mainboard baseboard control manager by using the switch, wherein the switch is respectively communicated with the first interface and the second interface.
Through the embodiment, the first interface of the motherboard substrate control manager is determined; under the condition that the first interface and the network card are in a communication state, a control instruction sent to the network card by the upper computer through the local area network is forwarded to a second interface communicated with the first interface of the main board substrate control manager through the first interface; and under the condition that the first interface and the network card are in a non-communication state, forwarding a control instruction from the upper computer to the second interface of the mainboard substrate control manager by using a switch which is respectively communicated with the first interface and the second interface. Therefore, the technical problem of how to improve the forwarding efficiency of the control instruction can be solved, and the effect of improving the forwarding efficiency of the control instruction is achieved.
Optionally, in an exemplary embodiment, the motherboard baseboard control manager 32 is further configured to: in the step S204, after the control instruction from the network card is forwarded to the second interface of the motherboard baseboard control manager through the first interface when the communication state between the first interface and the network card is determined, the following steps are further implemented: step S11, analyzing the control instruction received through the first interface to obtain a first analysis result; step S12, controlling the server according to the control instruction under the condition that the first analysis result is determined to be used for indicating the control server; and step S13, when the first analysis result is determined to be used for indicating to control the graphic processor equipment, the control instruction is sent to a graphic processor substrate control manager, and the graphic processor substrate control manager is controlled according to the control instruction.
Optionally, in this embodiment, in combination with the architecture diagram shown in fig. 1, the process of receiving the control instruction through the first interface may be understood as conveying the control instruction to the mb_bmc through the path of "local area network- > QSFP- > network card- > NCSI bus- > mb_bmc shared port", so that the mb_bmc performs instruction analysis.
Optionally, in an exemplary embodiment, the motherboard baseboard control manager 32 is further configured to perform the following implementation steps: step S21, determining a first switching interface communicated with the local area network, a second switching interface communicated with the second interface and a third switching interface communicated with the graphics processor substrate control manager from switching interfaces of the switch; step S22, the control instruction is sent to the switch through the second switching interface; and step S23, forwarding the control instruction to the graphics processor substrate control manager through the third exchange interface.
Optionally, in an exemplary embodiment, the motherboard baseboard control manager 32 is further configured to, after controlling the server according to the control instruction, display a reply message generated when the graphics processor baseboard control manager is controlled, on a visual interaction interface, where the reply message is received; generating an operation instruction based on the interactive operation of the target object on the visual interactive interface, and controlling the graphics processor substrate control manager according to the operation instruction.
Optionally, in an exemplary embodiment, the motherboard baseboard control manager 32 is further configured to perform the following implementation steps: step S24, under the condition that a response instruction generated when the graphics processor substrate control manager is controlled is received through a switching interface of the switch, analyzing the response instruction to obtain a second analysis result; and S25, transmitting the second analysis result to an upper computer communicated with the local area network through a first interface so that the upper computer displays the second analysis result to a target object.
Optionally, in an exemplary embodiment, in order to better understand the specific implementation process of the second interface of the motherboard baseboard control manager by using the switch to forward the control instruction from the host computer to the motherboard baseboard control manager in the case that the first interface and the network card are determined to be in the non-connected state in the step S206, the motherboard baseboard control manager 32 is further configured to perform the following implementation steps: step S31, determining a first switching interface communicated with the local area network from switching interfaces of the switch, and determining a second switching interface communicated with the second interface; and step S32, forwarding the control instruction to the second switching interface through the first switching interface, and forwarding the control instruction to the second interface through the second switching interface, wherein the first switching interface is communicated with the second switching interface.
Optionally, in an exemplary embodiment, after performing the above-mentioned process of forwarding the control instruction to the second interface through the second switching interface in step S32, the motherboard baseboard control manager 32 is further configured to implement the following steps: step S33, analyzing the control instruction forwarded by the second interface to obtain a third analysis result; step S34, controlling the server according to the control instruction under the condition that the third analysis result is determined to be used for controlling the server; and step S35, transmitting the control instruction to a graphics processor substrate control manager in the case that the third analysis result is determined to be used for indicating to control the graphics processor device.
Optionally, in an exemplary embodiment, the motherboard baseboard control manager 32 is further configured to perform the following steps: step S41, determining a third switching interface communicated with the graphics processor substrate control manager from switching interfaces of the switch, wherein the second switching interface is communicated with the third switching interface; step S42, forwarding the control instruction to the third switching interface through the second switching interface, and forwarding the control instruction to the graphics processor substrate control manager through the third switching interface; step S43, under the condition that a response instruction generated when the graphics processor substrate control manager is controlled is received through a switching interface of the switch, analyzing the response instruction to obtain a fourth analysis result; and S44, transmitting the fourth analysis result to an upper computer communicated with the local area network through a second interface so that the upper computer displays the fourth analysis result to a target object.
Optionally, the motherboard baseboard control manager 32 is further configured to perform the following steps: step S51, forwarding the fourth analysis result to the second switching interface through the second interface and the second switching interface; and step S51, forwarding the fourth analysis result to an upper computer communicated with the local area network through the second exchange interface and the first exchange interface.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present application also provide a computer readable storage medium having stored therein a computer program/instruction, wherein the computer program/instruction is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
In an exemplary embodiment, the computer program/instructions contain program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 409 and/or installed from the removable medium 411. When executed by the central processor 401, performs various functions provided by embodiments of the present application.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
Fig. 4 schematically shows a block diagram of a computer system of an electronic device for implementing an embodiment of the application.
It should be noted that, the computer system 400 of the electronic device shown in fig. 4 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 4, the computer system 400 includes a central processing unit 401 (Central Processing Unit, CPU) which can execute various appropriate actions and processes according to a program stored in a Read-Only Memory 402 (ROM) or a program loaded from a storage section 408 into a random access Memory 403 (Random Access Memory, RAM). In the random access memory 403, various programs and data required for the system operation are also stored. The central processing unit 401, the read only memory 402, and the random access memory 403 are connected to each other via a bus 404. An Input/Output interface 405 (i.e., an I/O interface) is also connected to bus 404.
The following components are connected to the input/output interface 405: an input section 406 including a keyboard, a mouse, and the like; an output portion 407 including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and the like, a speaker, and the like; a storage section 408 including a hard disk or the like; and a communication section 409 including a network interface card such as a local area network card, a modem, or the like. The communication section 409 performs communication processing through a network such as the internet. The driver 410 is also connected to the input/output interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.
In particular, the processes described in the various method flowcharts may be implemented as computer software programs according to embodiments of the application. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 409 and/or installed from the removable medium 411. The computer programs, when executed by the central processor 401, perform the various functions defined in the system of the present application.
According to still another aspect of the embodiment of the present application, there is also provided an electronic device for implementing the forwarding method of the control instruction. The electronic device of the present embodiment is shown in fig. 5, and comprises a memory 502 and a processor 504, the memory 502 storing a computer program, the processor 504 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, it will be appreciated by those skilled in the art that the configuration shown in fig. 5 is merely illustrative, and the electronic device may be a service control device. Fig. 5 is not limited to the structure of the electronic device described above. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
The memory 502 may be used to store software programs and modules, such as program instructions/modules corresponding to the forwarding method and apparatus for control instructions in the embodiments of the present application, and the processor 504 executes the software programs and modules stored in the memory 502 to perform various functional applications and data processing, that is, implement the forwarding method for control instructions. Memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 502 may further include memory located remotely from processor 504, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 502 may specifically, but not limited to, information such as a log for containing sensitive data. As an example, as shown in fig. 5, the memory 502 may include, but is not limited to, the motherboard baseboard control manager 32, the graphics processor baseboard control manager 34, and the switch 36 in communication with both the motherboard baseboard control manager and the graphics processor baseboard control manager. In addition, other module units in the forwarding system of the control instruction may be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission device 506 is configured to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 506 includes a network adapter (Network Interface Controller, NIC) that may be connected to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 506 is a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In addition, the electronic device further includes: a display 508, and a connection bus 510 for connecting the various module components in the electronic device.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. The forwarding method of the control command is characterized by being applied to a motherboard substrate control manager connected with a network card, and comprising the following steps of:
determining a first interface of a motherboard substrate control manager;
under the condition that the first interface and the network card are in a communication state, forwarding a control instruction from the network card to a second interface of the mainboard substrate control manager through the first interface; the first interface is communicated with the second interface, and the control instruction is sent to the network card by the upper computer through a local area network;
and under the condition that the first interface and the network card are in a non-communication state, forwarding a control instruction from the upper computer to a second interface of the mainboard substrate control manager by using a switch, wherein the switch is respectively communicated with the first interface and the second interface.
2. The method according to claim 1, wherein in case it is determined that the first interface is in a connected state with the network card, after forwarding the control instruction from the network card to the second interface of the motherboard baseboard control manager through the first interface, the method further comprises:
analyzing the control instruction received through the first interface to obtain a first analysis result;
controlling the server according to the control instruction under the condition that the first analysis result is determined to be used for indicating the control server;
and under the condition that the first analysis result is determined to be used for indicating to control the graphic processor equipment, sending the control instruction to a graphic processor baseboard control manager, and controlling the graphic processor baseboard control manager according to the control instruction.
3. The method of claim 2, wherein sending the control instruction to a graphics processor baseboard control manager comprises:
determining a first switching interface communicated with the local area network, a second switching interface communicated with the second interface and a third switching interface communicated with the graphics processor substrate control manager from switching interfaces of the switch;
Sending the control instruction to the switch through the second switching interface;
forwarding the control instruction to the graphics processor baseboard control manager through the third switching interface.
4. The method of claim 3, wherein after forwarding the control instructions to the graphics processor baseboard control manager through the third switching interface, the method further comprises:
under the condition that a response instruction generated when the graphics processor substrate control manager is controlled is received through a switching interface of the switch, analyzing the response instruction to obtain a second analysis result;
and sending the second analysis result to an upper computer communicated with the local area network through a first interface so that the upper computer displays the second analysis result to a target object.
5. The method according to claim 1, wherein, in the case where it is determined that the first interface and the network card are in a non-connected state, forwarding the control instruction from the host computer to the second interface of the motherboard baseboard control manager using a switch, includes:
determining a first switching interface communicated with the local area network from switching interfaces of the switch, and a second switching interface communicated with the second interface;
Forwarding the control instruction to the second switching interface through the first switching interface, and forwarding the control instruction to the second interface through the second switching interface, wherein the first switching interface is communicated with the second switching interface.
6. The method of claim 5, wherein after forwarding the control instruction to the second interface through the second switching interface, the method further comprises:
analyzing the control instruction forwarded by the second interface to obtain a third analysis result;
controlling the server according to the control instruction under the condition that the third analysis result is determined to be used for controlling the server;
and sending the control instruction to a graphics processor baseboard control manager under the condition that the third analysis result is determined to be used for indicating to control the graphics processor device.
7. The method of claim 6, wherein sending the control instruction to a graphics processor baseboard control manager comprises:
determining a third switching interface communicated with the graphics processor substrate control manager from switching interfaces of the switch, wherein the second switching interface is communicated with the third switching interface;
Forwarding the control instruction to the third switching interface through the second switching interface, and forwarding the control instruction to the graphics processor baseboard control manager through the third switching interface;
under the condition that a response instruction generated when the graphics processor substrate control manager is controlled is received through a switching interface of the switch, analyzing the response instruction to obtain a fourth analysis result;
the fourth analysis result is sent to an upper computer communicated with the local area network through a second interface, so that the upper computer displays the fourth analysis result to a target object;
the sending the fourth analysis result to the upper computer communicated with the local area network through the second interface comprises the following steps:
forwarding the fourth analysis result to the second switching interface through the second interface and the second switching interface;
and forwarding the fourth analysis result to an upper computer communicated with the local area network through the second exchange interface and the first exchange interface.
8. A control instruction forwarding system, comprising:
the system comprises a network card connected to a local area network, a main board baseboard control manager, a graphic processor baseboard control manager and a switch communicated with the main board baseboard control manager and the graphic processor baseboard control manager;
The first interface of the motherboard substrate control manager is connected with the network card, and a communication state or a non-communication state is formed between the first interface and the network card;
the first switching interface of the switch is communicated with the local area network, the second switching interface of the switch is communicated with the second interface of the mainboard baseboard control manager, and the third switching interface of the switch is communicated with the graphics processor baseboard control manager;
the main board substrate control manager is used for forwarding a control instruction from the network card to a second interface of the main board substrate control manager through the first interface under the condition that the first interface and the network card are in a communication state; the first interface is communicated with the second interface, and the control instruction is sent to the network card by the upper computer through a local area network; and under the condition that the first interface and the network card are in a non-communication state, forwarding a control instruction from the upper computer to a second interface of the mainboard baseboard control manager by using the switch, wherein the switch is respectively communicated with the first interface and the second interface.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, wherein the computer program, when executed by a processor, implements the steps of the method according to any of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method as claimed in any one of claims 1 to 7 when the computer program is executed by the processor.
CN202311159701.5A 2023-09-08 2023-09-08 Control instruction forwarding method and system Pending CN117061306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311159701.5A CN117061306A (en) 2023-09-08 2023-09-08 Control instruction forwarding method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311159701.5A CN117061306A (en) 2023-09-08 2023-09-08 Control instruction forwarding method and system

Publications (1)

Publication Number Publication Date
CN117061306A true CN117061306A (en) 2023-11-14

Family

ID=88660874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311159701.5A Pending CN117061306A (en) 2023-09-08 2023-09-08 Control instruction forwarding method and system

Country Status (1)

Country Link
CN (1) CN117061306A (en)

Similar Documents

Publication Publication Date Title
US9507743B2 (en) Computer system with groups of processor boards
US9424148B2 (en) Automatic failover in modular chassis systems
KR102126440B1 (en) Power distribution to mobile devices
US20070233833A1 (en) Data transmission system for electronic devices with server units
US9959240B2 (en) Manually configurable PCIe lane count for PCIe SSD backplane
US7886102B2 (en) Apparatus for determining compatibility between devices
US11128741B2 (en) Auto-negotiation over extended backplane
US9779037B2 (en) Establishing connectivity of modular nodes in a pre-boot environment
US10616348B2 (en) System and method for providing multiple IPMI serial over LAN (SOL) sessions in management controller stack
CN114650223B (en) Network configuration method and device of Kubernetes cluster and electronic equipment
CN113765712B (en) Server management method, device, electronic equipment and readable storage medium
US20220103415A1 (en) Remote network and cloud infrastructure management
US9712898B2 (en) Network aggregation in a computing shelf/tray
US20100250810A1 (en) Interrupt-driven link status feedback mechanism for embedded switches
US10891847B2 (en) Visible indication of a port as configured to management functionality
CN109150724B (en) Communication method and network card
CN117061306A (en) Control instruction forwarding method and system
CN115827517A (en) Control method and device and computing device
CN115580365A (en) Clock signal transmission method, device, equipment and medium
US20230140388A1 (en) Systems and methods for remote management of a network device
CN104407714A (en) Main board and use method thereof for remote multi-computer switching
CN117041147B (en) Intelligent network card equipment, host equipment, method and system
CN211180818U (en) Video processing apparatus
CN108228202A (en) A kind of information processing method, equipment and computer readable storage medium
CN114416625A (en) Server, extended service card, data processing method and service system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination