CN113722211B - BMC debugging method, device, system and embedded equipment - Google Patents

BMC debugging method, device, system and embedded equipment Download PDF

Info

Publication number
CN113722211B
CN113722211B CN202110920676.2A CN202110920676A CN113722211B CN 113722211 B CN113722211 B CN 113722211B CN 202110920676 A CN202110920676 A CN 202110920676A CN 113722211 B CN113722211 B CN 113722211B
Authority
CN
China
Prior art keywords
debugging
server
bmc
equipment
serial port
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.)
Active
Application number
CN202110920676.2A
Other languages
Chinese (zh)
Other versions
CN113722211A (en
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 CN202110920676.2A priority Critical patent/CN113722211B/en
Publication of CN113722211A publication Critical patent/CN113722211A/en
Application granted granted Critical
Publication of CN113722211B publication Critical patent/CN113722211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a BMC debugging method, device, system and embedded equipment, wherein the method is applied to the embedded equipment and comprises the following steps: connecting to a network through an Ethernet interface and receiving the allocated IP address; transmitting the IP address and the device identification of the embedded device to a server; receiving a connection request sent by the debugging equipment, and establishing connection with the debugging equipment according to the connection request; and receiving a debugging instruction sent by the debugging equipment, debugging the target BMC according to the debugging instruction, generating a serial port debugging log, and sending the serial port debugging log to the server. According to the technical scheme, the plurality of BMCs are debugged through connection of the debugging equipment and the embedded equipment, and the BMCs connected with other embedded equipment can be debugged only by replacing the IP address of the embedded equipment, and meanwhile, the serial port debugging log is generated so as to reproduce according to the serial port debugging log, so that the consumed labor cost is reduced, and the debugging efficiency is improved.

Description

BMC debugging method, device, system and embedded equipment
Technical Field
The present disclosure relates to the field of BMC research and development technologies, and in particular, to a method, an apparatus, a system, and an embedded device for BMC debugging.
Background
The BMC (Baseboard Management Controller, substrate controller) can realize the functions of relevant control, information monitoring and the like of the server, and is a platform for visually presenting the information of the server.
At present, when the BMC is debugged, a researcher uses an independent desktop PC (Personal Computer) machine to directly connect the BMC through a BMC serial port for debugging, but because the related BMC machine types are relatively more, the debugging mode is realized by the fact that the researcher needs to move the independent desktop PC back and forth and frequently switch the BMC serial port, the labor cost is greatly increased, the debugging efficiency is relatively low, in addition, because the BMC serial port is not monitored by the traditional debugging method, a great amount of time is required to be spent by the researcher to reproduce the problem when the problem of small probability occurs, and the BMC debugging efficiency is further low.
In summary, how to improve the BMC debugging efficiency and reduce the labor cost consumed by the debugging is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of this, the present application aims to provide a method, a device, a system and an embedded device for BMC debugging, which are used for improving the BMC debugging efficiency and reducing the labor cost consumed by the debugging.
In order to achieve the above object, the present application provides the following technical solutions:
the BMC debugging method is applied to embedded equipment, and the embedded equipment is used for being connected with a server and a plurality of BMCs and comprises the following steps:
connecting to a network through an Ethernet interface and receiving the allocated IP address;
transmitting the IP address and the device identification of the embedded device to the server;
receiving a connection request sent by a debugging device according to the corresponding relation between the IP address and the device identifier stored in the server, and establishing connection with the debugging device according to the connection request;
and receiving a debugging instruction sent by the debugging equipment, debugging the target BMC according to the debugging instruction, generating a serial port debugging log, and sending the serial port debugging log to the server.
Preferably, before the IP address and the device identifier of the embedded device are sent to the server, the method further includes:
and connecting with the server through a preconfigured server address.
Preferably, after the connection with the server, the method further comprises:
and prompting the connection state with the server by using a connection indicator lamp.
Preferably, when the target BMC is debugged according to the debug instruction, the method further includes:
and generating a debug log corresponding to the target BMC, and sending the debug log to the server and the debug equipment.
Preferably, before connecting to the network through the ethernet interface, the method further comprises:
and powering up the embedded equipment, and prompting the embedded equipment to be successfully powered up by using a power-on indicator lamp.
Preferably, the embedded device is connected with the BMC through a UART interface;
sending the serial port debug log to the server, comprising:
and acquiring the serial port debugging log by utilizing the UART interface, forwarding the serial port debugging log to a fixed network port through the UART interface, and sending the serial port debugging log to the server through the fixed network port.
Preferably, the sending the serial port debug log to the server includes:
receiving a serial port debugging log obtaining instruction sent by the server, and sending the serial port debugging log to the server according to the serial port debugging log obtaining instruction.
A BMC debugging device, applied to an embedded device, where the embedded device is configured to connect to a server and a plurality of BMCs, and includes:
the first receiving module is used for connecting to a network through an Ethernet interface and receiving the distributed IP address;
a sending module, configured to send the IP address and the device identifier of the embedded device to the server;
the second receiving module is used for receiving a connection request sent by the debugging equipment according to the corresponding relation between the IP address and the equipment identifier stored in the server, and establishing connection with the debugging equipment according to the connection request;
the generation module is used for receiving the debugging instruction sent by the debugging equipment, debugging the target BMC according to the debugging instruction, generating a serial port debugging log, and sending the serial port debugging log to the server.
An embedded device, which is used for being connected with a server, comprises an Ethernet interface and a connection interface used for being connected with a plurality of BMCs;
the embedded device is used for implementing the steps of the BMC debugging method according to any one of the above.
A BMC debugging system comprises an embedded device, a server connected with the embedded device and a plurality of BMCs, wherein:
the embedded device is configured to implement the steps of the BMC debugging method according to any one of the foregoing embodiments;
the server is used for receiving the IP address distributed by the embedded equipment and the equipment identifier of the embedded equipment and storing the corresponding relation between the IP address and the equipment identifier; and receiving a serial port debugging log sent by the embedded equipment.
The application provides a BMC debugging method, device and system and embedded equipment, wherein the method is applied to the embedded equipment, and the embedded equipment is used for being connected with a server and a plurality of BMCs and can comprise the following steps: connecting to a network through an Ethernet interface and receiving the allocated IP address; transmitting the IP address and the device identification of the embedded device to a server; receiving a connection request sent by the debugging equipment according to the corresponding relation between the IP address stored in the server and the equipment identifier, and establishing connection with the debugging equipment according to the connection request; and receiving a debugging instruction sent by the debugging equipment, debugging the target BMC according to the debugging instruction, generating a serial port debugging log, and sending the serial port debugging log to the server.
According to the technical scheme, the embedded equipment is utilized to connect a plurality of BMCs, the distributed IP addresses and equipment identifications are sent to the server by the embedded equipment, the debugging equipment is connected with the embedded equipment according to the corresponding relation between the IP addresses and the equipment identifications stored in the server and is used for debugging the BMCs connected with the embedded equipment, the debugging equipment can realize the debugging of the BMCs by the embedded equipment, the debugging equipment does not need to frequently move and switch to realize the debugging of the BMCs like the prior art, so that the labor cost consumed by BMC debugging is reduced, the BMC debugging efficiency is improved, in addition, the serial port debugging logs can be simultaneously generated when the debugging is carried out, and the serial port debugging logs are sent to the server, so that research personnel can obtain the serial port debugging logs corresponding to the BMCs through the server, and can timely reproduce the serial port debugging logs when the BMC has problems, the manpower and material resources required for reproducing the problems are reduced, the BMC debugging efficiency is improved, and the BMC development efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flowchart of a BMC debugging method provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of an embedded device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a BMC debug system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a BMC debugging device according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a BMC debugging method, device and system and embedded equipment, which are used for improving BMC debugging efficiency and reducing labor cost consumed by debugging.
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Referring to fig. 1 to 3, fig. 1 shows a flowchart of a BMC debugging method provided by an embodiment of the present application, fig. 2 shows a schematic structural diagram of an embedded device provided by an embodiment of the present application, and fig. 3 shows a schematic structural diagram of a BMC debugging system provided by an embodiment of the present application. The BMC debugging method provided by the embodiment of the application is applied to embedded equipment, and the embedded equipment is used for being connected with a server and a plurality of BMCs and can comprise the following steps:
s11: is connected to the network through an ethernet interface and receives the assigned IP address.
In the application, the embedded device is used for being connected with the server through a network and correspondingly connected with the BMC through a plurality of connection interfaces (at least two connection interfaces) arranged inside, namely the embedded device can be connected with the BMC, and in addition, the embedded device can also be connected with the debugging device through the network. The embedded equipment consists of hardware and software, is a device capable of independently operating, and has the advantages of small size and low cost.
It should be noted that, the server mentioned here may be a TCP (Transmission Control Protocol, a connection-oriented, reliable, byte stream based transport layer communication protocol) server, and of course, may also be other types of servers, and the debug device mentioned here may be a stand alone desktop PC, and of course, may also be other debug devices.
In the case of BMC commissioning, the embedded device may be connected to a network via an ethernet interface contained therein, wherein the network mentioned here may be in particular a developed internal network.
After the embedded device is connected to the network, an IP (Internet Protocol Address, international protocol address) address assigned to it by the network may be received for communication with the server and the commissioning device.
S12: and sending the IP address and the device identification of the embedded device to the server.
On the basis of step S11, the embedded device may send the received IP address and the device identifier of the embedded device to the server, so that the server stores the IP address and the device identifier of the embedded device correspondingly, that is, the server may store the correspondence between the IP address and the device identifier of the embedded device, so that the IP address of the embedded device may be obtained through the device identifier. The device identifier mentioned above may specifically be an SN (Serial Number) of the embedded device, and of course, may also be other unique identifiers that can distinguish the embedded device.
It should be noted that, the server may be connected to a plurality of embedded devices, so as to reduce the number of the servers, thereby facilitating the reduction of the debug cost of the BMC, and further facilitating the reduction of the research and development cost of the BMC.
S13: and receiving a connection request sent by the debugging equipment according to the corresponding relation between the IP address stored in the server and the equipment identifier, and establishing connection with the debugging equipment according to the connection request.
On the basis of step S12, when the BMC needs to be debugged, a developer may acquire a device identifier of an embedded device to which the BMC to be debugged is connected, and input the device identifier into the debug device. After receiving the device identifier, the debugging device may send an embedded device IP address obtaining instruction (the obtaining instruction includes the received device identifier) to the server, and after receiving the embedded device IP address obtaining instruction, the server may obtain, according to a correspondence between the stored IP address of the embedded device and the device identifier of the embedded device, an IP address corresponding to the device identifier included in the embedded device IP address obtaining instruction, and send the obtained IP address to the debugging device.
The debugging device, after receiving the IP address of the embedded device, may send a connection request to the embedded device based on the IP address of the embedded device. After receiving the connection request, the embedded device can establish connection with the debugging device through a network (particularly, an internal network can be developed), and particularly, wireless connection can be established with the debugging device, so that the debugging device can realize the debugging of the BMC through the embedded device.
S14: and receiving a debugging instruction sent by the debugging equipment, debugging the target BMC according to the debugging instruction, generating a serial port debugging log, and sending the serial port debugging log to the server.
After the embedded device and the debugging device are connected, the debugging device can receive a debugging instruction input by a developer (wherein the debugging instruction comprises a target BMC to be debugged currently), and send the debugging instruction to the embedded device. After receiving the debug instruction sent by the debug equipment, the embedded equipment can debug the target BMC which is connected with the embedded equipment and corresponds to the debug instruction according to the debug instruction. Compared with the prior art that the debugging equipment is directly connected with the BMC to debug the BMC and frequent switching of the BMC serial ports is needed, the debugging of a plurality of BMCs on one embedded equipment can be realized through connection of the debugging equipment and the embedded equipment, and the debugging equipment can realize the debugging of the BMC connected with other embedded equipment only by replacing the IP address of the embedded equipment without moving the debugging equipment and switching of the BMC serial ports, so that labor cost consumed by BMC debugging can be reduced, and the debugging efficiency of the BMC can be improved.
In addition, in the application, when the target BMC is debugged, a serial port debugging log corresponding to the BMC serial port can be generated (the serial port debugging log contains information related to BMC serial port debugging), the generated serial port debugging log can be sent to a server through a network, so that the server can store the serial port debugging log conveniently, and when the BMC serial port has a problem, the serial port debugging log can be analyzed conveniently, so that research and development personnel can reproduce the BMC serial port according to analysis results, the reproduction difficulty and the reproduction workload are reduced, the BMC debugging efficiency is improved, and the BMC research and development efficiency is improved. The BMC serial port is generally used for debugging information printing, remote mounting instruction issuing and the like, and causes of abnormality are located through analysis of the printing information in the debugging process. In addition, when the serial port debugging log corresponding to the BMC serial port is generated, the serial port debugging log corresponding to the BMC serial port can be generated in real time, so that all information related to BMC serial port debugging in the debugging process can be conveniently obtained.
When the serial port debug log is analyzed, the server can compare the serial port debug log corresponding to the problem BMC serial port with the serial port debug log corresponding to the normal BMC serial port, so that the analysis of the serial port debug log corresponding to the problem BMC serial port is realized, and of course, the server can also realize the analysis of the serial port debug log in other modes. In addition, besides the method for analyzing the serial port debugging logs by adopting the server, the corresponding serial port debugging logs can be obtained from the server by the research and development personnel and manually analyzed.
According to the technical scheme, the embedded equipment is utilized to connect a plurality of BMCs, the distributed IP addresses and equipment identifications are sent to the server by the embedded equipment, the debugging equipment is connected with the embedded equipment according to the corresponding relation between the IP addresses and the equipment identifications stored in the server and is used for debugging the BMCs connected with the embedded equipment, the debugging equipment can realize the debugging of the BMCs by the embedded equipment, the debugging equipment does not need to frequently move and switch to realize the debugging of the BMCs like the prior art, so that the labor cost consumed by BMC debugging is reduced, the BMC debugging efficiency is improved, in addition, the serial port debugging logs can be simultaneously generated when the debugging is carried out, and the serial port debugging logs are sent to the server, so that research personnel can obtain the serial port debugging logs corresponding to the BMCs through the server, and can timely reproduce the serial port debugging logs when the BMC has problems, the manpower and material resources required for reproducing the problems are reduced, the BMC debugging efficiency is improved, and the BMC development efficiency is improved.
The method for debugging the BMC provided in the embodiment of the present application may further include, before sending the IP address and the device identifier of the embedded device to the server:
and connecting with the server through the preconfigured server address.
In the application, before the IP address and the device identifier of the embedded device are sent to the server, the embedded device can establish a connection with the corresponding server through the pre-configured server address, so that the connection with the server is accurate, and the server can smoothly receive and store the IP address and the device identifier of the embedded device. The server address may be specifically configured by a developer according to the requirement, and of course, the server address may also be automatically configured by other modes, which is not limited in this application.
The method for debugging the BMC provided in the embodiment of the present application may further include, after the connection with the server:
and prompting the connection state with the server by using a connection indicator lamp.
In this application, the inside connection pilot lamp that can be provided with of embedded equipment to can utilize the display state suggestion embedded equipment of this connection pilot lamp and the connected state of server through the control of embedded processor, so that research and development personnel can acquire the connected condition of embedded equipment and server according to the display state of connection pilot lamp, thereby the research and development personnel of being convenient for carry out subsequent work.
In addition, after the embedded device and the debugging device are connected, the embedded device can prompt the connection state of the debugging device through the display state of the connection indicator lamp, so that a research and development personnel can acquire the connection condition of the embedded device and the debugging device according to the display state of the connection indicator lamp, and the research and development personnel can conveniently send debugging instructions.
The embedded device may be configured to prompt the two connection conditions by setting two connection indicator lamps, for example: the red light connection indicator lamp can be set to prompt the connection state with the server, and the green light is set to prompt the connection state with the debugging equipment, so that a research and development personnel can clearly know the connection condition of the embedded equipment through the two connection indicator lamps. Of course, the embedded device may also separately prompt the two connection situations by setting a connection indicator lamp and displaying different light colors through the connection indicator lamp, for example: the connection indicator light shows that the red color indicates that the embedded device is connected with the server and the embedded device is not connected with the debugging device, the green color indicates that the embedded device is connected with the debugging device and the embedded device is not connected with the server, the yellow color indicates that the embedded device is connected with the server and the debugging device, and the connection indicator light is in an unoperated state and indicates that the embedded device is not connected with the server and the debugging device, so that the volume of the embedded device is reduced, the cost of the embedded device is reduced, and the BMC debugging cost is conveniently reduced.
The method for debugging the BMC provided by the embodiment of the application, when debugging the target BMC according to the debugging instruction, may further include:
and generating a debug log corresponding to the target BMC, and sending the debug log to the server and the debug equipment.
In the application, when the target BMC is debugged according to the debug instruction, besides the generation of the serial port debug log, the debug log corresponding to the target BMC can be generated (the debug log does not contain information related to the BMC serial port debug), and the debug log corresponding to the target BMC can be sent to the server and the debug equipment, so that a researcher can acquire and check the debug log of the target BMC through the server and/or the debug equipment, acquire the debug information related to the BMC debug from the debug log, and can conveniently discover the abnormality of the BMC in time and take countermeasures in time so as to reduce the loss caused by the BMC abnormality. When the debug log corresponding to the target BMC is generated, the debug log corresponding to the target BMC can be specifically generated in real time, so that BMC debug information related to the whole BMC debug process can be conveniently obtained.
It should be noted that the serial port debug log and the debug log may be two independent logs, so that a developer can acquire the corresponding log when needed, so as to improve the acquisition efficiency and the analysis efficiency of the corresponding portion. Of course, the serial port debug log may also be included in the debug log to reduce the occupation of storage resources.
The BMC debugging method provided in the embodiment of the present application may further include, before connecting to a network through an ethernet interface:
and powering up the embedded equipment, and prompting the embedded equipment to be successfully powered up by using a power-on indicator lamp.
In the application, the embedded equipment can be internally provided with the power-on indicator lamp, before being connected to a network through an Ethernet interface, the embedded equipment can be powered on, and after the power-on, the embedded equipment is prompted to be successfully powered on by the power-on indicator lamp in the embedded equipment, so that research and development personnel can acquire that the embedded equipment is successfully powered on through the prompt of the power-on indicator lamp, the BMC test can be performed, and the research and development personnel can perform related work of BMC debugging.
According to the BMC debugging method provided by the embodiment of the application, the embedded equipment is connected with the BMC through the UART interface;
the sending the serial port debug log to the server may include:
and acquiring a serial port debugging log by using the UART interface, forwarding the serial port debugging log to the fixed network port through the UART interface, and sending the serial port debugging log to the server through the fixed network port.
In this application, the connection interface included in the embedded device may specifically be a UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiver Transmitter) interface, so as to connect with the BMC correspondingly through the UART interface. On the basis, the mode that the embedded device sends the serial port debugging log to the server can be specifically that the embedded device obtains serial port debugging data corresponding to the BMC in the debugging process by using the UART interface, generates the serial port debugging log, forwards the serial port debugging log to a fixed network port of the embedded device through the UART interface, and then the embedded device can send the serial port debugging log to the server through the fixed network port. Wherein reference herein to a fixed network port specifically refers to a port in a logical sense.
In addition, in the present application, when the debug log is sent to the server and the debug device, a similar method to the above may be used to perform the debug log, and the specific process is referred to the above detailed description and will not be repeated here.
The method for BMC debugging provided in the embodiment of the present application, to send a serial port debug log to a server, may include:
receiving a serial port debugging log obtaining instruction sent by a server, and sending the serial port debugging log to the server according to the serial port debugging log obtaining instruction.
In the application, when the embedded device sends the serial port debugging log to the server, the embedded device specifically can firstly receive a serial port debugging log obtaining instruction sent by the server, and then the embedded device sends the serial port debugging log to the server according to the received serial port debugging log obtaining instruction so as to realize active access and obtaining of the serial port debugging log by the server.
Of course, for the debug log, the server and the debug device may also implement active access and acquisition of the debug log in a similar manner as described above.
The embodiment of the application also provides a BMC debugging device, which is applied to an embedded device, wherein the embedded device is used for being connected with a server and a plurality of BMCs, and referring to fig. 4, the structure schematic diagram of the BMC debugging device provided by the embodiment of the application is shown, and the BMC debugging device can comprise:
a first receiving module 41 for connecting to a network through an ethernet interface and receiving an allocated IP address;
a sending module 42, configured to send the IP address and the device identifier of the embedded device to a server;
a second receiving module 43, configured to receive a connection request sent by the debug device according to a correspondence between an IP address stored in the server and a device identifier, and establish a connection with the debug device according to the connection request;
the first generating module 44 is configured to receive a debug instruction sent by the debug device, debug the target BMC according to the debug instruction, generate a serial port debug log, and send the serial port debug log to the server.
The embodiment of the application provides a BMC debugging device, which may further include:
and the connection module is used for connecting with the server through a preconfigured server address before the IP address and the device identification of the embedded device are sent to the server.
The embodiment of the application provides a BMC debugging device, which may further include:
and the first prompting module is used for prompting the connection state with the server by using the connection indicator lamp after being connected with the server.
The embodiment of the application provides a BMC debugging device, which may further include:
the second generation module is used for generating a debug log corresponding to the target BMC when the target BMC is debugged according to the debug instruction, and sending the debug log to the server and the debug equipment.
The embodiment of the application provides a BMC debugging device, which may further include:
and the second prompting module is used for powering up the embedded equipment before being connected to the network through the Ethernet interface and prompting the embedded equipment to be successfully powered up by utilizing the power-on indicator lamp.
According to the BMC debugging device provided by the embodiment of the application, the embedded equipment is connected with the BMC through the UART interface;
the first generation module 44 may include:
the transmitting unit is used for acquiring the serial port debugging log by utilizing the UART interface, forwarding the serial port debugging log to the fixed network port through the UART interface, and transmitting the serial port debugging log to the server through the fixed network port.
The first generating module 44 of the BMC debugging device provided in the embodiment of the present application may include:
the receiving unit is used for receiving the serial port debugging log obtaining instruction sent by the server and sending the serial port debugging log to the server according to the serial port debugging log obtaining instruction.
The embodiment of the application also provides an embedded device, specifically referring to fig. 2, for connecting with a server, which may include an ethernet interface and a connection interface for connecting with a plurality of BMCs;
wherein, the embedded device is used for realizing the following steps:
connecting to a network through an Ethernet interface and receiving the allocated IP address; transmitting the IP address and the device identification of the embedded device to a server; receiving a connection request sent by the debugging equipment according to the corresponding relation between the IP address stored in the server and the equipment identifier, and establishing connection with the debugging equipment according to the connection request; and receiving a debugging instruction sent by the debugging equipment, debugging the target BMC according to the debugging instruction, generating a serial port debugging log, and sending the serial port debugging log to the server.
The embodiment of the application also provides a BMC debugging system, specifically referring to FIG. 3, the BMC debugging system may include an embedded device, a server connected with the embedded device, and a plurality of BMCs, wherein:
the embedded device is used for realizing the following steps: connecting to a network through an Ethernet interface and receiving the allocated IP address; transmitting the IP address and the device identification of the embedded device to a server; receiving a connection request sent by the debugging equipment according to the corresponding relation between the IP address stored in the server and the equipment identifier, and establishing connection with the debugging equipment according to the connection request; receiving a debugging instruction sent by a debugging device, debugging a target BMC according to the debugging instruction, generating a serial port debugging log, and sending the serial port debugging log to a server;
the server is used for receiving the IP address distributed by the embedded equipment and the equipment identifier of the embedded equipment and storing the corresponding relation between the IP address and the equipment identifier; and receiving a serial port debugging log sent by the embedded equipment.
The description of the relevant parts in the BMC debugging device, the system and the embedded device provided in the embodiment of the present application may refer to the detailed description of the corresponding parts in the BMC debugging method provided in the embodiment of the present application, which is not repeated here.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements is inherent to. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. In addition, the parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of the corresponding technical solutions in the prior art, are not described in detail, so that redundant descriptions are avoided.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The BMC debugging method is characterized by being applied to embedded equipment, wherein the embedded equipment is used for being connected with a server and a plurality of BMCs and comprises the following steps:
connecting to a network through an Ethernet interface and receiving the allocated IP address;
transmitting the IP address and the device identification of the embedded device to the server;
receiving a connection request sent by a debugging device according to the corresponding relation between the IP address and the device identifier stored in the server, and establishing connection with the debugging device according to the connection request;
and receiving a debugging instruction sent by the debugging equipment, debugging the target BMC according to the debugging instruction, generating a serial port debugging log, and sending the serial port debugging log to the server.
2. The BMC debugging method of claim 1, further comprising, prior to sending the IP address and the device identification of the embedded device to the server:
and connecting with the server through a preconfigured server address.
3. The BMC debugging method of claim 2, further comprising, after connecting with the server:
and prompting the connection state with the server by using a connection indicator lamp.
4. The BMC debugging method of claim 1, wherein when debugging the target BMC according to the debugging instruction, further comprising:
and generating a debug log corresponding to the target BMC, and sending the debug log to the server and the debug equipment.
5. The BMC debugging method of claim 1, further comprising, prior to connecting to the network through the ethernet interface:
and powering up the embedded equipment, and prompting the embedded equipment to be successfully powered up by using a power-on indicator lamp.
6. The BMC debugging method of claim 1, wherein the embedded device is connected to the BMC through a UART interface;
sending the serial port debug log to the server, comprising:
and acquiring the serial port debugging log by utilizing the UART interface, forwarding the serial port debugging log to a fixed network port through the UART interface, and sending the serial port debugging log to the server through the fixed network port.
7. The BMC debug method of claim 6, wherein sending the serial port debug log to the server comprises:
receiving a serial port debugging log obtaining instruction sent by the server, and sending the serial port debugging log to the server according to the serial port debugging log obtaining instruction.
8. The BMC debugging device is characterized by being applied to embedded equipment, wherein the embedded equipment is used for being connected with a server and a plurality of BMCs, and comprises:
the first receiving module is used for connecting to a network through an Ethernet interface and receiving the distributed IP address;
a sending module, configured to send the IP address and the device identifier of the embedded device to the server;
the second receiving module is used for receiving a connection request sent by the debugging equipment according to the corresponding relation between the IP address and the equipment identifier stored in the server, and establishing connection with the debugging equipment according to the connection request;
the generation module is used for receiving the debugging instruction sent by the debugging equipment, debugging the target BMC according to the debugging instruction, generating a serial port debugging log, and sending the serial port debugging log to the server.
9. The embedded device is characterized by comprising an Ethernet interface and a connection interface, wherein the Ethernet interface is used for being connected with a server;
wherein the embedded device is configured to implement the steps of the BMC debugging method according to any of claims 1 to 7.
10. The BMC debugging system is characterized by comprising an embedded device, a server connected with the embedded device and a plurality of BMCs, wherein:
the embedded device being configured to implement the steps of the BMC debugging method according to any of claims 1 to 7;
the server is used for receiving the IP address distributed by the embedded equipment and the equipment identifier of the embedded equipment and storing the corresponding relation between the IP address and the equipment identifier; and receiving a serial port debugging log sent by the embedded equipment.
CN202110920676.2A 2021-08-11 2021-08-11 BMC debugging method, device, system and embedded equipment Active CN113722211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110920676.2A CN113722211B (en) 2021-08-11 2021-08-11 BMC debugging method, device, system and embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110920676.2A CN113722211B (en) 2021-08-11 2021-08-11 BMC debugging method, device, system and embedded equipment

Publications (2)

Publication Number Publication Date
CN113722211A CN113722211A (en) 2021-11-30
CN113722211B true CN113722211B (en) 2023-07-14

Family

ID=78675604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110920676.2A Active CN113722211B (en) 2021-08-11 2021-08-11 BMC debugging method, device, system and embedded equipment

Country Status (1)

Country Link
CN (1) CN113722211B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022163A (en) * 2022-05-30 2022-09-06 深圳市遇贤微电子有限公司 Log collection method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339344A (en) * 2016-08-18 2017-01-18 浪潮(北京)电子信息产业有限公司 Multi-serial port switching system and method used for debugging server system
CN107911271A (en) * 2017-10-26 2018-04-13 深圳市沃特玛电池有限公司 A kind of BMS debugging systems
CN207650792U (en) * 2017-12-07 2018-07-24 龙芯中科技术有限公司 A kind of BMC cards and mainboard
CN110932887A (en) * 2019-11-15 2020-03-27 苏州浪潮智能科技有限公司 BMC debugging method, system and device
CN111367811A (en) * 2020-03-12 2020-07-03 山东超越数控电子股份有限公司 Method and system for improving debugging efficiency of management webpage of BMC

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339344A (en) * 2016-08-18 2017-01-18 浪潮(北京)电子信息产业有限公司 Multi-serial port switching system and method used for debugging server system
CN107911271A (en) * 2017-10-26 2018-04-13 深圳市沃特玛电池有限公司 A kind of BMS debugging systems
CN207650792U (en) * 2017-12-07 2018-07-24 龙芯中科技术有限公司 A kind of BMC cards and mainboard
CN110932887A (en) * 2019-11-15 2020-03-27 苏州浪潮智能科技有限公司 BMC debugging method, system and device
CN111367811A (en) * 2020-03-12 2020-07-03 山东超越数控电子股份有限公司 Method and system for improving debugging efficiency of management webpage of BMC

Also Published As

Publication number Publication date
CN113722211A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN109361562B (en) Automatic testing method based on associated network equipment access
CN109587005B (en) Connection detection method and device, computer equipment and readable storage medium
US6157956A (en) Heterogeneous computing interface apparatus and method using a universal character set
US20040010600A1 (en) Methods and apparatus for storage area network component registration
US6249812B1 (en) Interactive system support using a system management asic
US20070121527A1 (en) System and method for remote dynamic network configuration
CN108804313B (en) Method and device for remotely debugging program and server
CN109873728A (en) A kind of terminal test method, device and storage medium
CN113722211B (en) BMC debugging method, device, system and embedded equipment
CN111970166B (en) Test method, device, equipment, system and computer readable storage medium
TW201828658A (en) Method for detecting internet protocol address and media access control address
CN109660386B (en) Software upgrading method for semiconductor memory aging test system
CN111251613B (en) Internet of things access method, device and system of 3D printer
US8015373B2 (en) Information sharing between a backup storage device and a management appliance
CN114070763A (en) Improved REST protocol-based test method, client, server and medium
CN109150724B (en) Communication method and network card
WO2023124127A1 (en) Communication connection method, apparatus and device for host and storage system, and medium
US7284120B2 (en) Method and system for allowing a system under test (SUT) to boot a plurality of operating systems without a need for local media
WO2023276039A1 (en) Server management device, server management method, and program
KR20000047471A (en) Dynamic burn rack monitor listener server
CN115022163A (en) Log collection method and device, computer equipment and storage medium
CN110955537B (en) Method and device for containing pipes by physical machine
US20050021310A1 (en) System for testing network devices
JP4208494B2 (en) Load test system for network server
CN110266762A (en) A kind of data uploading method, system, device and storage medium

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
GR01 Patent grant
GR01 Patent grant