Information transparent transmission method, device, equipment and storage medium of a monitoring system
By setting the IP address for the substrate management controller of the monitoring system and connecting it to the switch, the intelligent platform management interface is used to realize the transmission of monitoring data, which solves the problems of abnormal data transmission and the long time in the existing technology, realizes high-speed and stable data transmission, and makes version management more independent.
Patent Information
- Application Number
- CN202211407604.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-08
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2042-11-08
AI Technical Summary
In the prior art, when data in the substrate management controller monitoring the graphics processor computing module is obtained by monitoring the substrate management controller of the central processor, problems such as data transmission abnormalities and long transmission time are prone to occur.
By setting the IP address for the substrate management controller that monitors the central processor and the substrate management controller that monitors the graphics processor operation module, and connecting them to the switch containing the network chip through a network cable, editing the monitoring command using the intelligent platform management interface command format and static information of the monitored components, an intelligent platform management interface session is generated and sent to the corresponding second BMC to achieve high-speed and stable data transmission.
It realizes the rapid transmission of data between the central processor and the graphics processor computing module substrate management controller, and the transmitted data is larger, making the versions of the two types of substrate management controllers independent of each other, avoiding the problem of version mismatch.
Smart Images

Figure CN115878414B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer information transmission, and particularly relates to a method, device, equipment and storage medium for information transparent transmission of a monitoring system. Background Art
[0002] In order to adapt to artificial intelligence (AI) operations, a graphics processing unit (GPU) operation module is usually installed in a server. Compared with the main functions of a central processing unit (CPU) which are mainly responsible for management and control, the GPU operation module is mainly responsible for AI operations. The CPU and the GPU operation module are connected by an I 2 C cable. As the complexity and scale of the model increase, the amount of computation will increase. Correspondingly, the GPU operation module can be extended to multiple GPU operation modules. Currently, a whole cabinet server equipped with a GPU operation module has been applied in fields such as unmanned aerial vehicle driving and intelligent voice recognition. Therefore, the management and monitoring requirements for the GPU operation module are becoming increasingly large.
[0003] The monitoring of server modules can be achieved through a baseboard management controller (BMC), mainly including the health status of each hardware. The BMC monitors the health status of each hardware and obtains the information of each hardware, which helps the operation and maintenance personnel to timely understand the running status of the server and ensure the normal operation of the server. For a server equipped with a GPU operation module, a BMC is configured for each of the CPU and the GPU operation module, respectively, to monitor the components of the CPU and the GPU operation module and obtain the health information of each component. Usually, only the BMC for monitoring the CPU is connected to the operation and maintenance network, while the BMC for monitoring the GPU operation module is not connected to the operation and maintenance network. Therefore, the BMC for monitoring the CPU needs to have the function of viewing the running status of each component in the BMC for the GPU operation module.
[0004] However, through I 2When data is transmitted using the C protocol, there are disadvantages such as slow transmission speed and poor data stability. When obtaining data in the baseboard management controller (BMC) of the monitoring graphics processing unit (GPU) operation module through the BMC of the monitoring central processing unit (CPU), problems such as abnormal data transmission and excessive transmission time are likely to occur. Therefore, there is an urgent need for an information transparent transmission method, device, equipment, and storage medium for a monitoring system to achieve high-speed and stable data transmission between the BMC of the monitoring CPU and the BMC of the monitoring GPU operation module. Summary of the Invention
[0005] In order to solve the problems in the prior art that when obtaining data in the BMC of the monitoring GPU operation module through the BMC of the monitoring CPU, problems such as abnormal data transmission and excessive transmission time are likely to occur. Embodiments of the present invention provide an information transparent transmission method, device, equipment, and storage medium for a monitoring system to achieve high-speed and stable data transmission between the BMC of the monitoring CPU and the BMC of the monitoring GPU operation module.
[0006] In order to solve the above one or more technical problems, the technical solutions adopted by the present invention are as follows:
[0007] In a first aspect, an information transparent transmission method for a monitoring system is provided. The monitoring system includes: a monitoring client, a first BMC, and a second BMC. The first BMC is used to monitor the CPU and the peripheral components connected to the CPU. The second BMC is used to monitor the GPU operation module and the peripheral components connected to the GPU operation module. An information transmission path is provided between the monitoring client, the first BMC, and the second BMC. The method is characterized in that it includes:
[0008] Edit a monitoring command according to the intelligent platform management interface command format and the static information of the components monitored by the second BMC.
[0009] Generate an intelligent platform management interface session according to the monitoring command and send the intelligent platform management interface session to the corresponding second BMC.
[0010] Obtain the return value corresponding to the intelligent platform management interface session, where the return value represents the specified monitoring data of the corresponding second BMC.
[0011] Further, generating an intelligent platform management interface session according to the monitoring command and sending the intelligent platform management interface session to the corresponding second BMC includes:
[0012] Send the monitoring command to the first BMC.
[0013] Parse the monitoring command to obtain the command parsing content.
[0014] Fill the command parsing content into the Intelligent Platform Management Interface (IPMI) session, and send the IPMI session to the corresponding second Baseboard Management Controller (BMC).
[0015] Further, the command parsing content includes: network function, command content, and request data.
[0016] Further, the component static information includes: the manufacturer of the component
[0017] and / or
[0018] the model of the component.
[0019] Further, after obtaining the return value of the IPMI session, it further includes:
[0020] Send the return value to the monitoring client and display it on the terminal of the monitoring client.
[0021] Further, before the above method, it further includes:
[0022] Set an IP address for the second BMC and set an IP address for the first BMC;
[0023] Connect the second BMC to the switch through a network cable, where the switch includes a network chip;
[0024] Connect the first BMC to the switch through a network cable;
[0025] Connect the monitoring client to the switch.
[0026] Further, the model of the network chip is: Marvell 88E6321.
[0027] In a second aspect, an information pass-through device for a monitoring system is provided, where the monitoring system includes: a monitoring client, a first BMC, and a second BMC; the first BMC is used to monitor the CPU and the peripheral components connected to the CPU; the second BMC is used to monitor the GPU computing module and the peripheral components connected to the GPU computing module; an information transmission path is provided between the monitoring client, the first BMC, and the second BMC, and the device is characterized in that it includes: a command editing module, a session processing module, and a return value processing module;
[0028] The command editing module is used to edit a monitoring command according to the Intelligent Platform Management Interface command format and the static information of the components monitored by the second BMC;
[0029] The session processing module is used to generate an Intelligent Platform Management Interface session according to the monitoring command and send the IPMI session to the corresponding second BMC;
[0030] A return value processing module is used to obtain a return value corresponding to an Intelligent Platform Management Interface session, where the return value represents specified monitoring data of a corresponding second BMC.
[0031] In a third aspect, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of an information transparent transmission method of a monitoring system described in the first aspect above are implemented.
[0032] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of an information transparent transmission method of a monitoring system described in the first aspect above are implemented.
[0033] The beneficial effects brought by the technical solution provided by the embodiments of the present invention are as follows:
[0034] 1. After the baseboard management controller for monitoring the central processing unit and the baseboard management controller for monitoring the graphics processing unit operation module are connected to a switch containing a network chip through a network cable, by implementing an information transparent transmission method of a monitoring system disclosed in the embodiments of the present application, rapid transmission of data of the graphics processing unit operation module can be achieved. At the same time, the amount of data transmitted is larger.
[0035] 2. The version of the baseboard management controller for monitoring the central processing unit is made independent of the version of the baseboard management controller for monitoring the graphics processing unit operation module. Without upgrading the version of the baseboard management controller for the central processing unit according to the version of the baseboard management controller for the graphics processing unit operation module, monitoring information collection of the baseboard management controller for the graphics processing unit operation module can be performed. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for description in the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0037] Figure 1 It is a schematic diagram of an information transparent transmission method of a monitoring system provided by an embodiment of the present invention;
[0038] Figure 2 It is a schematic diagram of an information transparent transmission device provided by an embodiment of the present invention;
[0039] Figure 3 It is a schematic diagram of a computer device for implementing an information transparent transmission method provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0040] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0041] Unless otherwise defined, the technical terms or scientific terms used in this disclosure shall have the ordinary meanings understood by those of ordinary skill in the art to which this disclosure pertains. The terms "first", "second", and similar terms used in this disclosure do not denote any order, quantity, or importance, but are only used to distinguish different components. Similarly, terms such as "a", "an", or "the" do not denote a quantity limitation, but indicate the existence of at least one. The numbers in the drawings of the specification only represent the distinction between each functional component or module, and do not represent the logical relationship between the components or modules. The term "including" or "comprising" and similar terms mean that the elements or items appearing before this term cover the elements or items listed after this term and their equivalents, without excluding other elements or items. The term "connected" or "coupled" and similar terms are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The terms "upper", "lower", "left", "right", etc. are only used to represent relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly.
[0042] For the component symbols involved in the specification of this application, in a circuit diagram, they represent the types of components and distinguish each component, for example: R1, R2, C, etc.; in the corresponding formula, they represent the magnitudes of the corresponding physical quantities of the components, which are distinguished by italics, for example: the resistance value corresponding to the resistor R1 is R1.
[0043] Next, various embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It should be noted that in the drawings, the same reference numerals are assigned to components that basically have the same or similar structures and functions, and repeated descriptions thereof will be omitted.
[0044] To solve the problems in the prior art that when obtaining data in the baseboard management controller of the monitoring graphics processing unit operation module through the baseboard management controller of the monitoring central processing unit, data transmission anomalies, excessive transmission time, etc. are likely to occur. The embodiments of the present invention provide a method, device, equipment, and storage medium for information transparent transmission of a monitoring system to achieve high-speed and stable data transmission between the baseboard management controller of the monitoring central processing unit and the baseboard management controller of the monitoring graphics processing unit operation module.
[0045] In the prior art, when obtaining data in the baseboard management controller of the monitoring graphics processing unit operation module through the baseboard management controller that monitors the central processing unit, problems such as abnormal data transmission and excessive transmission time are likely to occur. An information transparent transmission method, device, equipment and storage medium of a monitoring system provided by an embodiment of the present invention are used to achieve high-speed and stable data transmission between the baseboard management controller that monitors the central processing unit and the baseboard management controller that monitors the graphics processing unit operation module.
[0046] In one embodiment, the baseboard management controller that monitors the central processing unit is connected to a network chip through a network cable, and the baseboard management controller that monitors the graphics processing unit operation module is connected to the network chip through a network cable. The carrier of this network chip is usually a switch. The monitoring client is also connected to this switch and is used to obtain relevant parameters of the graphics processing unit operation module and monitor the operating status and health status. The items to be monitored include: component temperature, whether overclocked, etc.
[0047] An information transparent transmission method of a monitoring system, wherein the monitoring system includes: a monitoring client, a first BMC (the baseboard management controller that monitors the central processing unit), and a second BMC (the baseboard management controller that monitors the graphics processing unit operation module); the first BMC is used to monitor the CPU and the peripheral components connected to the CPU; the second BMC is used to monitor the GPU operation module and the peripheral components connected to the GPU operation module; an information transmission path is provided between the monitoring client, the first BMC, and the second BMC, and the method includes:
[0048] S100: Edit a monitoring command according to the intelligent platform management interface command format and the static information of the components monitored by the second BMC;
[0049] S200: Generate an intelligent platform management interface session according to the monitoring command and send the intelligent platform management interface session to the corresponding second BMC;
[0050] S300: Obtain the return value corresponding to the intelligent platform management interface session, wherein the return value represents the specified monitoring data of the corresponding second BMC. The specified monitoring data includes: operating status, health status, etc., specifically including, but not limited to: component temperature, whether overclocked.
[0051] In another embodiment, an information transparent transmission method of a monitoring system:
[0052] S100: Edit a monitoring command according to the intelligent platform management interface command format and the static information of the components monitored by the second BMC; wherein the component static information includes: the manufacturer of the component, and / or the model of the component.
[0053] The intelligent platform management interface command usually has the following format:
[0054] Intelligent Platform Management Interface tool-I lanplus-H Baseboard Management Controller_IP-U username-Ppassword raw netfn cmd requestdata
[0055] Among them, netfn: part of it is specified in the Intelligent Platform Management Interface specification, such as: 0x00, 0x06, 0x0a; the other part is defined by the manufacturer, such as: 0x3a, 0x3c, 0x3e.
[0056] cmd: For the part of netfn defined in the Intelligent Platform Management Interface specification, cmd is fixed. For the netfn defined by the manufacturer, cmd is also defined by the manufacturer.
[0057] requestdata: For the part of netfn and cmd defined in the Intelligent Platform Management Interface specification, requestdata is fixed. For the netfn, cmd defined by the manufacturer, requestdata is also defined by the manufacturer.
[0058] Taking the command of "obtaining the information of the first PSU of the graphics processing unit operation module" as an example, the command is as follows:
[0059] Intelligent Platform Management Interface tool-I lanplus-H Baseboard Management Controller_IP-U username-Ppassword raw 0x3a 0xfc 0x3e 0x25 0x00
[0060] Among them:
[0061] 0x3a: The netfn of the cmd of the Intelligent Platform Management Interface received by the central processing unit side;
[0062] 0xfc: The cmd of the Intelligent Platform Management Interface received by the central processing unit side. This cmd indicates that the subsequent data is to be passed through to the graphics processing unit operation module.
[0063] 0x3e0x250x00: This set of data belongs to requestdata for the central processing unit side;
[0064] 0x3e: The netfn of the cmd of the Intelligent Platform Management Interface received by the graphics processing unit operation module;
[0065] 0x25: The cmd of the Intelligent Platform Management Interface received by the graphics processing unit operation module. This cmd indicates that the information of the psu of the graphics processing unit operation module is to be obtained;
[0066] 0x00: The request data of the Intelligent Platform Management Interface (IPMI) cmd received by the Graphics Processing Unit (GPU) operation module indicates the information of the first Power Supply Unit (PSU) to be retrieved.
[0067] In summary, the specific meaning of this command is: Retrieve the information of the first PSU of the GPU operation module.
[0068] S200: Generate an IPMI session based on the monitoring command and send the IPMI session to the corresponding second Baseboard Management Controller (BMC), specifically including:
[0069] S210: Send the monitoring command to the first BMC;
[0070] S220: Parse the monitoring command to obtain the command parsing content; among them, the command parsing content includes: network function, command content, and request data.
[0071] S230: Fill the command parsing content into the IPMI session and send the IPMI session to the corresponding second BMC.
[0072] S300: Obtain the return value corresponding to the IPMI session, where the return value represents the specified monitoring data of the corresponding second BMC.
[0073] After obtaining the return value of the IPMI session, it further includes:
[0074] S400: Send the return value to the monitoring client and display it on the terminal of the monitoring client.
[0075] Before an information pass-through method of a monitoring system, it further includes:
[0076] S010: Set an IP address for the second BMC and set an IP address for the first BMC;
[0077] S020: Connect the second BMC to the switch through a network cable, where the switch includes a network chip; the model of the network chip is: Marvell 88E6321.
[0078] S030: Connect the first BMC to the switch through a network cable.
[0079] By setting an IP address for the baseboard management controller that monitors the central processing unit and an IP address for the baseboard management controller that monitors the graphics processing unit computing module, and connecting the baseboard management controller that monitors the central processing unit and the baseboard management controller that monitors the graphics processing unit computing module to a network chip via a network cable, network isolation can be formed between the baseboard management controllers of the graphics processing unit computing module. That is, when accessing the baseboard management controller of the graphics processing unit computing module through the baseboard management controller of the central processing unit, only the baseboard management controller of the graphics processing unit computing module connected to the baseboard management controller of the central processing unit can be accessed and information obtained.
[0080] After connecting the baseboard management controller of the graphics processing unit computing module to a switch via a network cable and connecting the baseboard management controller of the central processing unit to the switch via a network cable, both of the above two types of baseboard management controllers are connected to the network chip in the switch and can transmit information through the network chip and the network cable.
[0081] S040: Connect the monitoring client to the switch.
[0082] Due to the need for operation and maintenance upgrades of the baseboard management controller of the graphics processing unit computing module, when obtaining the information of the baseboard management controller of the graphics processing unit computing module through the above information pass-through method, it is not necessary to consider the version of the baseboard management controller of the central processing unit. That is, when obtaining the information of the baseboard management controller of the graphics processing unit computing module, the version of the baseboard management controller of the central processing unit does not need to match the version of the baseboard management controller of the graphics processing unit computing module, which provides convenience for the implementation environment of the operation and maintenance monitoring behavior.
[0083] In another embodiment, as Figure 2 shown, an information pass-through device for a monitoring system, wherein the monitoring system includes: a monitoring client, a first BMC, and a second BMC; the first BMC is used to monitor the CPU and the peripheral components connected to the CPU; the second BMC is used to monitor the GPU computing module and the peripheral components connected to the GPU computing module; an information transmission path is provided among the monitoring client, the first BMC, and the second BMC, and the device is characterized in that it includes: a command editing module, a session processing module, and a return value processing module.
[0084] The command editing module is used to edit a monitoring command according to the intelligent platform management interface command format and the static information of the components of the monitored graphics processing unit computing module.
[0085] The session processing module is used to generate an intelligent platform management interface session according to the monitoring command and send the intelligent platform management interface session to the corresponding baseboard management controller of the graphics processing unit computing module.
[0086] A return value processing module is configured to obtain a return value corresponding to an Intelligent Platform Management Interface (IPMI) session, where the return value represents specified monitoring data of a Baseboard Management Controller (BMC) of a corresponding monitored Graphics Processing Unit (GPU) operation module.
[0087] In another embodiment, a computer device is provided. The computer device may be a terminal, and its internal structural diagram may be as shown in Figure 3 Figure [not shown]. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is configured to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements the information pass-through method of a monitoring system described in the first aspect above. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device may be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, a touchpad, or a mouse, etc.
[0088] In another embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the information pass-through method of a monitoring system described in the first aspect above.
[0089] After the BMC of the monitoring Central Processing Unit (CPU) and the BMC of the monitored GPU operation module are connected to a switch containing a network chip through a network cable, by implementing the information pass-through method of a monitoring system disclosed in the embodiments of the present application, fast transmission of GPU operation module data can be achieved. At the same time, the amount of data transmitted is larger; and it makes the versions of the BMC of the monitoring CPU and the BMC of the monitored GPU operation module independent of each other, and the monitoring information of the BMC of the GPU operation module can be collected without upgrading the version of the BMC of the CPU according to the version of the BMC of the GPU operation module.
[0090] All the above optional technical solutions can be combined arbitrarily to form alternative embodiments of the present invention, which will not be elaborated one by one here.
[0091] Embodiment 1
[0092] The following is combined with Figure 1, an information transparent transmission method for a monitoring system is described. By means of the baseboard management controller of the monitoring central processing unit, an information transmission path is established between the monitoring client and the baseboard management controllers of at least one monitored graphics processing unit operation module. The above method includes:
[0093] S100: Edit a monitoring command according to the Intelligent Platform Management Interface command format and the static information of the second BMC monitoring component.
[0094] S200: Generate an Intelligent Platform Management Interface session according to the monitoring command and send the Intelligent Platform Management Interface session to the corresponding second BMC.
[0095] S300: Obtain the return value corresponding to the Intelligent Platform Management Interface session, where the return value represents the specified monitoring data of the corresponding second BMC.
[0096] Embodiment 2
[0097] An information transparent transmission method for a monitoring system specifically includes:
[0098] S010: Set an IP address for the second BMC and set an IP address for the first BMC.
[0099] S020: Connect the second BMC to the switch through a network cable, where the switch includes a network chip; the model of the network chip is: Marvell88E6321.
[0100] S030: Connect the first BMC to the switch through a network cable.
[0101] S040: Connect the monitoring client to the switch.
[0102] S100: Edit a monitoring command according to the Intelligent Platform Management Interface command format and the static information of the second BMC monitoring component; where the component static information includes: the manufacturer of the component, and / or the model of the component.
[0103] S200: Generate an Intelligent Platform Management Interface session according to the monitoring command and send the Intelligent Platform Management Interface session to the corresponding second BMC, specifically including:
[0104] S210: Send the monitoring command to the first BMC.
[0105] S220: Analyze the monitoring command to obtain the command analysis content; where the command analysis content includes: network function, command content, request data.
[0106] S230: Fill the command analysis content into the Intelligent Platform Management Interface session and send the Intelligent Platform Management Interface session to the corresponding second BMC.
[0107] S300: Obtain the return value corresponding to the Intelligent Platform Management Interface session, where the return value represents the specified monitoring data of the corresponding second BMC.
[0108] After obtaining the return value of the Intelligent Platform Management Interface session, it further includes:
[0109] S400: Send the return value to the monitoring client and display it on the terminal of the monitoring client.
[0110] Embodiment III
[0111] The following combines with Figure 2 , and describes an information transparent transmission device of a monitoring system. The monitoring system includes: a monitoring client, a first BMC, and a second BMC; the first BMC is used to monitor the CPU and the peripheral components connected to the CPU; the second BMC is used to monitor the GPU computing module and the peripheral components connected to the GPU computing module; an information transmission path is provided between the monitoring client, the first BMC, and the second BMC. It is characterized in that the device includes: a command editing module, a session processing module, and a return value processing module.
[0112] The command editing module is used to edit a monitoring command according to the Intelligent Platform Management Interface command format and the static information of the components of the monitored graphics processor computing module.
[0113] The session processing module is used to generate an Intelligent Platform Management Interface session according to the monitoring command and send the Intelligent Platform Management Interface session to the baseboard management controller of the corresponding monitored graphics processor computing module.
[0114] The return value processing module is used to obtain the return value corresponding to the Intelligent Platform Management Interface session, where the return value represents the specified monitoring data of the baseboard management controller of the corresponding monitored graphics processor computing module.
[0115] Embodiment IV
[0116] The following combines with Figure 3 , and describes a computer device, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements an information transparent transmission method of a monitoring system described in the first aspect above, specifically including:
[0117] S010: Set an IP address for the second BMC and set an IP address for the first BMC;
[0118] S020: Connect the second BMC to the switch via a network cable, where the switch includes a network chip; the model of the network chip is: Marvell 88E6321.
[0119] S030: Connect the first BMC to the switch via a network cable;
[0120] S040: Connect the monitoring client to the switch.
[0121] S100: Edit a monitoring command according to the Intelligent Platform Management Interface command format and the static information of the components monitored by the second BMC; the component static information includes: the manufacturer of the component, and / or the model of the component.
[0122] S200: Generate an Intelligent Platform Management Interface session according to the monitoring command and send the Intelligent Platform Management Interface session to the corresponding second BMC, specifically including:
[0123] S210: Send the monitoring command to the first BMC;
[0124] S220: Parse the monitoring command to obtain the command parsing content; the command parsing content includes: network function, command content, request data.
[0125] S230: Fill the command parsing content into the Intelligent Platform Management Interface session and send the Intelligent Platform Management Interface session to the corresponding second BMC;
[0126] S300: Obtain the return value corresponding to the Intelligent Platform Management Interface session, where the return value represents the specified monitoring data of the corresponding second BMC.
[0127] After obtaining the return value of the Intelligent Platform Management Interface session, it further includes:
[0128] S400: Send the return value to the monitoring client and display it on the terminal of the monitoring client.
[0129] The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the outer shell of the computer device, or an external keyboard, touchpad or mouse, etc.
[0130] Embodiment Five
[0131] A computer-readable storage medium stores a computer program thereon. When the computer program is executed by a processor, the steps of an information transparent transmission method of a monitoring system described in the first aspect above are implemented, specifically including:
[0132] S010: Set an IP address for the second BMC and set an IP address for the first BMC;
[0133] S020: Connect the second BMC to a switch through a network cable, where the switch includes a network chip; the model of the network chip is: Marvell 88E6321.
[0134] S030: Connect the first BMC to the switch through a network cable;
[0135] S040: Connect the monitoring client to the switch.
[0136] S100: Edit a monitoring command according to the Intelligent Platform Management Interface (IPMI) command format and the static information of the components monitored by the second BMC; the component static information includes: the manufacturer of the component, and / or the model of the component.
[0137] S200: Generate an IPMI session according to the monitoring command and send the IPMI session to the corresponding second BMC, specifically including:
[0138] S210: Send the monitoring command to the first BMC;
[0139] S220: Parse the monitoring command to obtain the command parsing content; the command parsing content includes: network function, command content, request data.
[0140] S230: Fill the command parsing content into the IPMI session and send the IPMI session to the corresponding second BMC;
[0141] S300: Obtain the return value corresponding to the IPMI session, where the return value represents the specified monitoring data of the corresponding second BMC.
[0142] After obtaining the return value of the IPMI session, it further includes:
[0143] S400: Send the return value to the monitoring client and display it on the terminal of the monitoring client.
[0144] In particular, according to an embodiment of the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product that includes a computer program loaded on a computer-readable medium, and the computer program contains program code for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a memory, or installed from a ROM. When the computer program is executed by an external processor, the above-described functions defined in the method of the embodiment of the present application are performed.
[0145] It should be noted that the computer-readable medium of the embodiment of the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiment of the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the embodiment of the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0146] The above computer-readable medium may be included in the above server; or it may exist independently and not be assembled into the server. The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the server, the server is caused to: obtain the frame rate of an application on the terminal in response to detecting that the peripheral mode of the terminal is not activated; determine whether the user is obtaining the screen information of the terminal when the frame rate meets the screen-off condition; and control the screen to enter the immediate dimming mode in response to the determination result that the user is not obtaining the screen information of the terminal.
[0147] Computer program code for performing the operations of the embodiments of the present application may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).
[0148] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference may be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for a system or system embodiment, since it is basically similar to a method embodiment, the description is relatively simple. For the relevant parts, reference may be made to the partial description of the method embodiment. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative efforts.
[0149] The above has introduced the technical solution provided by this application in detail. Specific examples are used in this article to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to this application.
[0150] The foregoing is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. An information transparent transmission method for a monitoring system, wherein, The monitoring system includes: a monitoring client, a first BMC, and a second BMC; the first BMC is used to monitor the CPU and the peripheral components connected to the CPU; the second BMC is used to monitor the GPU computing module and the peripheral components connected to the GPU computing module; an information transmission path is provided between the monitoring client, the first BMC, and the second BMC, and it is characterized in that the method includes: Editing a monitoring command according to the Intelligent Platform Management Interface (IPMI) command format and the static information of the components monitored by the second BMC; Generating an IPMI session according to the monitoring command and sending the IPMI session to the corresponding second BMC; Obtaining a return value corresponding to the IPMI session, where the return value represents the specified monitoring data of the corresponding second BMC; The step of generating an IPMI session according to the monitoring command and sending the IPMI session to the corresponding second BMC includes: Sending the monitoring command to the first BMC; Parsing the monitoring command to obtain command parsing content; Filling the command parsing content into the IPMI session and sending the IPMI session to the corresponding second BMC.
2. The information transparent transmission method of a monitoring system according to claim 1, characterized in that The command parsing content includes: network function, command content, and request data.
3. The information transparent transmission method of a monitoring system according to claim 1, characterized in that, The static information of the components includes: the manufacturer of the components and / or the model of the components.
4. The information transparent transmission method of a monitoring system according to claim 1, characterized in that, After obtaining the return value corresponding to the IPMI session, it further includes: Sending the return value to the monitoring client and displaying it on the terminal of the monitoring client.
5. The information transparent transmission method of a monitoring system according to claim 1, characterized in that Before the method, it further includes: Setting an IP address for the second BMC and setting an IP address for the first BMC; Connecting the second BMC to a switch through a network cable, where the switch includes a network chip; Connecting the first BMC to the switch through a network cable; Connecting the monitoring client to the switch.
6. The information transparent transmission method of a monitoring system according to claim 5, characterized in that The model of the network chip is: Marvell 88E6321.
7. An information transparent transmission device of a monitoring system for implementing the information transparent transmission method of the monitoring system according to any one of claims 1 to 6, wherein, The monitoring system includes: a monitoring client, a first BMC, and a second BMC; the first BMC is used to monitor the CPU and the peripheral components connected to the CPU; the second BMC is used to monitor the GPU computing module and the peripheral components connected to the GPU computing module; an information transmission path is provided between the monitoring client, the first BMC, and the second BMC, and it is characterized in that the device includes: a command editing module, a session processing module, and a return value processing module; The command editing module is used to edit a monitoring command according to the IPMI command format and the static information of the components monitored by the second BMC; The session processing module is used to generate an IPMI session according to the monitoring command and send the IPMI session to the corresponding second BMC; The return value processing module is configured to obtain a return value corresponding to the intelligent platform management interface session, where the return value represents specified monitoring data of the corresponding second BMC.
8. A computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Server monitoring method and system and computer device
CN113986667A
AI server heat dissipation regulation and control method and system, terminal and storage medium
CN114035662A