CN114610668B - Method and device for interaction between intelligent serial port screen and BMC - Google Patents

Method and device for interaction between intelligent serial port screen and BMC Download PDF

Info

Publication number
CN114610668B
CN114610668B CN202210203669.5A CN202210203669A CN114610668B CN 114610668 B CN114610668 B CN 114610668B CN 202210203669 A CN202210203669 A CN 202210203669A CN 114610668 B CN114610668 B CN 114610668B
Authority
CN
China
Prior art keywords
bmc
serial port
front panel
target
port screen
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
CN202210203669.5A
Other languages
Chinese (zh)
Other versions
CN114610668A (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.)
Baode Computer System Co ltd
Original Assignee
Baode Computer System 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 Baode Computer System Co ltd filed Critical Baode Computer System Co ltd
Priority to CN202210203669.5A priority Critical patent/CN114610668B/en
Publication of CN114610668A publication Critical patent/CN114610668A/en
Application granted granted Critical
Publication of CN114610668B publication Critical patent/CN114610668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Systems (AREA)

Abstract

The application discloses an intelligent serial port screen and BMC interaction method and device, which are used for realizing interaction of the intelligent serial port screen and the BMC, meanwhile, the intelligent serial port screen is not required to be embedded into a front panel to occupy space, and the influence on the heat dissipation effect of the front panel is reduced. The method is applied to a device for interaction between the intelligent serial port screen and the BMC, and comprises the following steps: the intelligent serial port screen, the BMC, the front panel and the signal switcher; the intelligent serial port screen is mounted on the front panel through a movable hanging buckle. The method comprises the following steps: the BMC receives a target switching instruction sent by the front panel; the BMC controls the signal switcher to establish communication connection between a first UART interface of the BMC and a first USB interface of the front panel according to the target switching instruction; the intelligent serial port screen establishes communication connection with the front panel through a second UART interface and a second USB interface of the front panel, and the second UART interface is arranged on the intelligent serial port screen; and the intelligent serial port screen establishes interaction with the BMC through the first UART interface, the first USB interface, the second USB interface and the second UART interface according to the target authentication handshake protocol.

Description

Method and device for interaction between intelligent serial port screen and BMC
Technical Field
The application relates to the field of data processing, in particular to a method and a device for interaction between an intelligent serial port screen and a BMC.
Background
In the process of on-site inspection of the server, operation staff generally judges the running state of the server through a front panel state indicator lamp of the server, and after the server state is abnormal, the operation staff needs to log in a baseboard management controller (Baseboard Management Controller, BMC) on site to check the health state of the mainboard.
The existing method for checking the health state of the main board by interaction between the field and the BMC is to embed an intelligent interaction screen in a front panel of a server, so that the functions of checking the health state of the system and interacting with the BMC by field operation and maintenance personnel are realized.
However, the manner of fixing the intelligent interactive screen in the front panel of the server occupies the space of the front panel of the server, and the heat dissipation effect of the front panel of the server is easily affected.
Disclosure of Invention
The application provides a method and a device for interaction between an intelligent serial port screen and a BMC, which are used for realizing interaction between the intelligent serial port screen and the BMC, meanwhile, the intelligent serial port screen is not required to be embedded into a front panel to occupy the space of the front panel, and the influence on the heat dissipation effect of the front panel is reduced.
The first aspect of the present application provides a method for interaction between an intelligent serial port screen and a BMC, where the method is applied to a device for interaction between the intelligent serial port screen and the BMC, and the device includes: the intelligent serial port screen, the baseboard management controller BMC, the front panel and the signal switcher; the intelligent serial port screen is mounted on the front panel through a movable hanging buckle; the BMC is connected with the signal switcher and the front panel; the signal switcher is connected with the front panel; the method comprises the following steps:
the BMC receives a target switching instruction sent by the front panel;
the BMC controls the signal switcher to establish communication connection between a first universal asynchronous receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART) interface of the BMC and a first universal serial bus (Universal Serial Bus, USB) interface of the front panel according to the target switching instruction;
the intelligent serial port screen establishes communication connection with the front panel through a second UART interface and a second USB interface of the front panel, and the second UART interface is arranged on the intelligent serial port screen;
and the intelligent serial port screen establishes interaction with the BMC through the first UART interface, the first USB interface, the second USB interface and the second UART interface according to a target authentication handshake protocol.
Optionally, the device further comprises a host system, wherein the host system is respectively connected with the BMC and the signal switcher; after the intelligent serial port screen establishes interaction with the BMC through the first UART interface, the first USB interface, the second USB interface and the second UART interface according to a target authentication handshake protocol, the method further comprises:
the host system enables a target UART device under a low pin bus (Low pin count Bus, LPC) of the BMC, the target UART device being applied to a Serial Over Lan (SOL) function;
and the intelligent serial port screen establishes interaction with the host system through the target UART equipment.
Optionally, the establishing, by the intelligent serial port screen through the target UART device, an interaction with the host system includes:
the intelligent serial port screen sends a host serial port switching command to the BMC;
the BMC establishes target communication connection from the target UART equipment to the second UART interface according to the serial port command of the switching host;
and the intelligent serial port screen establishes interaction with the host system through the target communication connection.
Optionally, the establishing the interaction with the host system by the intelligent serial screen through the target communication connection includes:
the intelligent serial screen accesses the host system through the target communication connection.
Optionally, the target UART device includes a UART1 controller or a UART2 controller.
Optionally, before the BMC controls the signal switcher to establish a communication connection between the first UART interface of the BMC and the first USB interface of the front panel according to the target switching instruction, the method further includes:
and the BMC controls the signal switcher to carry out communication disconnection between the host system and the front panel according to the target switching instruction.
Optionally, the target switch instruction is generated by triggering a physical button of the front panel.
Optionally, the controlling, by the BMC, the signal switcher according to the target switching instruction to establish a communication connection between a first universal asynchronous receiver transmitter UART interface of the BMC and a first universal serial bus USB interface of the front panel includes:
the BMC controls the signal switcher to establish communication connection between a first universal asynchronous receiving and transmitting transmitter UART interface of the BMC and a first universal serial bus USB interface of the front panel through a general purpose input output port (General Purpose Input Output, GPIO)/serial I2C (Inter-Integrated Circuit, I2C) according to the target switching instruction.
The second aspect of the present application provides a device for interaction between an intelligent serial port screen and a BMC, including:
the intelligent serial port screen, the BMC, the front panel and the signal switcher;
the intelligent serial port screen is mounted on the front panel through a movable hanging buckle;
the BMC is connected with the signal switcher and the front panel;
the signal switcher is connected with the front panel;
the BMC is used for receiving a target switching instruction sent by the front panel;
the BMC is also used for controlling the signal switcher to establish communication connection between a first UART interface of the BMC and a first USB interface of the front panel according to the target switching instruction;
the intelligent serial port screen is used for establishing communication connection with the front panel through a second UART interface and a second USB interface of the front panel, and the second UART interface is arranged on the intelligent serial port screen;
the intelligent serial port screen is further used for establishing interaction with the BMC through the first UART interface, the first USB interface, the second USB interface and the second UART interface according to a target authentication handshake protocol.
Optionally, the device further comprises a host system, wherein the host system is respectively connected with the BMC and the signal switcher;
the host system is used for starting target UART equipment under the LPC bus of the BMC, and the target UART equipment is applied to the SOL function;
the intelligent serial screen is also used for establishing interaction with the host system through the target UART equipment.
Optionally, the intelligent serial port screen is specifically configured to send a host serial port switching command to the BMC;
the BMC is specifically configured to establish a target communication connection from the target UART device to the second UART interface according to the serial port command of the switching host;
the intelligent serial screen is specifically used for establishing interaction with the host system through the target communication connection.
Optionally, the intelligent serial screen is specifically configured to access the host system through the target communication connection.
Optionally, the target UART device includes a UART1 controller or a UART2 controller.
Optionally, the BMC is further configured to control the signal switcher to perform communication disconnection between the host system and the front panel according to the target switching instruction.
Optionally, the target switch instruction is generated by triggering a physical button of the front panel.
Optionally, the BMC is specifically configured to control, according to the target switching instruction, the signal switcher to establish a communication connection between a first universal asynchronous receiver transmitter UART interface of the BMC and a first universal serial bus USB interface of the front panel through a GPIO/I2C bus.
A third aspect of the present application provides an apparatus for interaction between an intelligent serial port screen and a BMC, where the apparatus includes:
a processor, a memory, an input-output unit, and a bus;
the processor is connected with the memory, the input/output unit and the bus;
the memory stores a program that the processor invokes to perform the first aspect and any optional method of the first aspect for the intelligent serial screen to interact with the BMC.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon a program which, when executed on a computer, performs the method of the first aspect and any optional smart serial port screen of the first aspect for interacting with a BMC.
From the above technical scheme, the application has the following advantages:
the BMC receives a target switching instruction sent by the front panel; the BMC controls the signal switcher to establish communication connection between a first UART interface of the BMC and a first USB interface of the front panel according to the target switching instruction; the intelligent serial port screen establishes communication connection with the front panel through a second UART interface and a second USB interface of the front panel, and the second UART interface is arranged on the intelligent serial port screen; and the intelligent serial port screen establishes interaction with the BMC through the first UART interface, the first USB interface, the second USB interface and the second UART interface according to the target authentication handshake protocol.
By adopting the scheme, the intelligent serial port screen is hung and buckled on the front panel through the activity, and then the interaction between the intelligent serial port screen and the BMC is realized through the front panel as an intermediary of communication, so that the intelligent serial port screen is not required to be embedded into the front panel to occupy the space of the front panel, and the influence on the heat dissipation effect of the front panel is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an embodiment of a method for interaction between an intelligent serial port screen and a BMC according to the present application;
FIG. 2 is a flowchart illustrating another embodiment of a method for interaction between a smart serial screen and a BMC according to the present disclosure;
FIG. 3 is a schematic structural diagram of an embodiment of a device for interaction between an intelligent serial port screen and a BMC according to the present application;
fig. 4 is a schematic structural diagram of another embodiment of a device for interaction between an intelligent serial port screen and a BMC provided in the present application;
fig. 5 is a schematic structural diagram of another embodiment of a device for interaction between an intelligent serial port screen and a BMC provided in the present application.
Detailed Description
The application provides a method and a device for interaction between an intelligent serial port screen and a BMC, which are used for realizing interaction between the intelligent serial port screen and the BMC, meanwhile, the intelligent serial port screen is not required to be embedded into a front panel to occupy the space of the front panel, and the influence on the heat dissipation effect of the front panel is reduced.
It should be noted that, the method for interaction between the intelligent serial port screen and the BMC provided by the application is applied to a device for interaction between the intelligent serial port screen and the BMC, and the device comprises: the intelligent serial port screen, the BMC, the front panel and the signal switcher; the intelligent serial port screen is mounted on the front panel through a movable hanging buckle; the BMC is connected with the signal switcher and the front panel; the signal switcher is connected with the front panel.
Referring to fig. 1, fig. 1 is an embodiment of a method for interaction between an intelligent serial port screen and a BMC provided in the present application, where the method includes:
101. the BMC receives a target switching instruction sent by the front panel;
in this embodiment, a target switching instruction may be generated by pressing a physical button of the front panel, and after the front panel generates the target switching instruction, the target switching instruction is sent to the BMC, so that the BMC receives the target switching instruction. Alternatively, the BMC may receive the target switching instruction sent by the front panel through the wireless network.
102. The BMC controls the signal switcher to establish communication connection between a first UART interface of the BMC and a first USB interface of the front panel according to the target switching instruction;
in this embodiment, after receiving the target switching command, the BMC controls the signal switch to switch the signal channel according to the target switching command. Thereby establishing communication connection between the first UART interface of the BMC and the first USB interface of the front panel according to the signal channel switching. For example, when the signal switch is a multi-phase channel signal switch including at least channels No. 1, no. 2, and No. 3, the first UART interface of the BMC may be configured to be connected to the channel No. 1, and the first USB interface of the front panel may be configured to be connected to the channel No. 3. When a target switching command is received, the BMC controls the signal switcher to switch the signal channel according to the target switching command and communicate the channel No. 1 and the channel No. 3, so that the signal switcher establishes communication connection between a first UART interface of the BMC and a first USB interface of the front panel.
103. The intelligent serial port screen establishes communication connection with the front panel through a second UART interface and a second USB interface of the front panel, and the intelligent serial port screen is provided with the second UART interface;
in this embodiment, the intelligent serial port screen is mounted on the front panel through a movable hanging buckle, for example, the intelligent serial port screen can be hung in front of the front panel, or can be operated by hand. The intelligent serial port screen is provided with a second UART interface. The front panel is provided with a second USB interface. The intelligent serial port screen and the front panel establish communication connection through a second UART interface and a second USB interface, specifically, the second UART interface of the intelligent serial port screen is connected into the second USB interface of the front panel through a UART-to-USB cable, so that the communication connection between the intelligent serial port screen and the front panel is established.
104. And the intelligent serial port screen establishes interaction with the BMC through the first UART interface, the first USB interface, the second USB interface and the second UART interface according to a target authentication handshake protocol.
In this embodiment, the communication connection between the first UART interface of the BMC and the first USB interface of the front panel and the communication connection between the second USB interface of the front panel and the second UART interface of the intelligent serial port screen are established, so that a communication path from the intelligent serial port screen to the front panel and then to the intelligent serial port screen is established. Then, the intelligent serial screen is in communication connection with the BMC according to the target authentication handshake protocol, so that interaction between the intelligent serial screen and the BMC is established. Specifically, the target authentication handshake protocol may be a reply handshake protocol, for example, firstly, a handshake encryption key of a current BMC is input into an intelligent serial port screen, and after a signal channel is switched by a BMC control signal switcher to complete connection from a second USB interface of the intelligent serial port screen to a first UART interface of the BMC, the encryption handshake code is sent to the first UART interface. The encryption method may be, but not limited to, encryption by an advanced encryption standard (Advanced Encryption Standard, AES) or a data encryption algorithm (Data Encryption Algorithm, DEA). After the intelligent serial port screen receives the encryption handshake code, decoding and identifying the encryption handshake code, and sending a corresponding encryption response code to the BMC; and then, the BMC receives the encrypted response code and then decodes and identifies the encrypted response code, and if the identified response code is a preset response code, the communication channel communication from the intelligent serial port screen to the BMC is determined, so that the communication interaction from the intelligent serial port screen to the BMC is established. Alternatively, the target authentication handshake protocol may be another protocol, and is not limited herein.
In this embodiment, after communication interaction from the intelligent serial port screen to the BMC is established, state information of the BMC, such as log information, system detection information, heat dissipation information, etc., may be obtained through the intelligent serial port screen, or may be set through the intelligent serial port screen, or may be modified through the intelligent serial port screen.
In this embodiment, the intelligent serial port screen is mounted on the front panel through the movable hanging buckle, and then the signal switcher is controlled to connect the first UART interface of the BMC to the first USB interface of the front panel according to the target switching instruction, and meanwhile, the second USB interface of the front panel is connected to the second UART interface of the intelligent serial port screen, and then communication interaction from the intelligent serial port screen to the BMC is achieved according to the target authentication handshake protocol, so that state information of the BMC is obtained. Therefore, when information is required to be acquired in an interactive manner with the BMC, the intelligent serial port screen is not required to be embedded into the front panel to be fixedly connected with the front panel, the occupied space of the front panel is reduced, and the influence on the heat dissipation effect of the front panel is reduced.
In order to make the method of interaction between the intelligent serial port screen and the BMC more obvious and understandable, the method of interaction between the intelligent serial port screen and the BMC is described in detail as follows:
referring to fig. 2, fig. 2 is another embodiment of a method for interaction between an intelligent serial port screen and a BMC provided in the present application, where the method includes:
201. the BMC receives a target switching instruction sent by the front panel;
step 201 in this embodiment is similar to step 101 in the embodiment shown in fig. 1, and is not repeated here.
202. The BMC controls the signal switcher to carry out communication disconnection between the host system and the front panel according to the target switching instruction;
in general, a host system is in communication connection with a front panel, specifically, the host system is connected with a signal switch through a USB cable, the signal switch is connected with the front panel, and the host system and the front panel are gated through the signal switch, so that a communication connection between the host system and the front panel is established, so that a worker can access host information of the host system through the front panel. In this embodiment, after receiving the target switching instruction, the BMC may switch the signal channel according to the target switching instruction through the GPIO/I2C bus control signal switch, and disconnect the communication connection between the host system and the front panel. For example, when the signal switch is a multi-phase channel signal switch including at least channels No. 1, no. 2, and No. 3, the BMC may be configured to connect with channel No. 1, the host system may be configured to connect with channel No. 2, and the front panel may be configured to connect with channel No. 3. When the BMC receives the target switching command, the control signal switcher disconnects the No. 2 channel, so that the signal switcher disconnects the communication connection between the host system and the front panel.
203. The BMC establishes communication connection between a first UART interface of the BMC and a first USB interface of the front panel through the GPIO/I2C bus control signal switcher according to the target switching instruction;
in this embodiment, after the signal switch disconnects the communication connection between the host system and the front panel, the BMC controls the signal switch to switch the signal channel through the GPIO/I2C bus according to the target switching command, and establishes the communication connection between the first UART interface of the BMC and the first USB interface of the front panel according to the signal channel switching. For example, when receiving the target switching command, the BMC controls the signal switch to connect the channel No. 1 and the channel No. 3 through the GPIO/I2C bus according to the target switching command, so that the signal switch establishes a communication connection between the first UART interface of the BMC and the first USB interface of the front panel.
204. The intelligent serial port screen establishes communication connection with the front panel through a second UART interface and a second USB interface of the front panel, and the second UART interface is arranged on the intelligent serial port screen;
205. the intelligent serial port screen establishes interaction with the BMC through a first UART interface, a first USB interface, a second USB interface and a second UART interface according to a target authentication handshake protocol;
steps 204 and 205 in this embodiment are similar to steps 103 and 104 in the embodiment shown in fig. 1, and are not described here again.
206. Enabling a target UART device under the LPC bus of the BMC by the host system, wherein the target UART device is applied to the SOL function;
optionally, in this embodiment, the host system enables the target UART device under the LPC bus of the BMC as the serial port terminal, and specifically, the host system maps the system terminal of its own system to the target UART device. Meanwhile, the BMC enables the target UART equipment to be applied to the SOL function, so that the SOL function can be realized by gating other UART serial ports through the target UART equipment, or the target UART equipment can gate a second UART interface of the intelligent serial port screen to realize interaction between the host system and the intelligent serial port screen. It should be noted that the target UART device may be a UART1 controller or a UART2 controller, or may be other UART controllers, which is not limited herein.
207. The intelligent serial port screen establishes interaction with the host system through the target UART equipment.
Optionally, in this embodiment, the intelligent serial port screen sends the host serial port switching command to the BMC through communication interaction with the BMC. After the BMC receives the serial port command of the switching host, establishing target communication connection from the target UART equipment to the second UART interface of the intelligent serial port screen according to the serial port command of the switching host, namely, accessing the target UART equipment under the LPC bus to the second UART interface of the intelligent serial port screen. Then, the intelligent serial port screen establishes interaction with the host system through the target communication connection, specifically, the intelligent serial port screen can log in the host system through the target communication connection, then the host system is accessed, host data of the host system are obtained, and the like.
In this embodiment, the signal switcher is controlled to connect the first UART interface of the BMC to the first USB interface of the front panel according to the target switching instruction, and simultaneously, the second USB interface of the front panel is connected to the second UART interface of the intelligent serial port screen, so as to implement communication interaction from the intelligent serial port screen to the BMC according to the target authentication handshake protocol. In addition, the interaction between the host system and the intelligent serial port screen is realized by redirecting the host system to target UART equipment under the LPC bus of the BMC and then switching the target UART equipment to the intelligent serial port screen through the BMC. When not using at ordinary times, can also break off the USB of intelligent serial port screen and front panel and be connected, reduce the occupation of front panel USB interface, improve interactive flexibility, this intelligent serial port screen detachable carries on the front panel simultaneously, does not occupy the front panel space, for in with intelligent serial port screen embedding front panel among the prior art, reduced the influence to the front panel radiating effect.
The method for interaction between the intelligent serial port screen and the BMC provided by the application is described, and the device for interaction between the intelligent serial port screen and the BMC provided by the application is described below:
referring to fig. 3, fig. 3 is an embodiment of an apparatus for interaction between an intelligent serial port screen and a BMC provided in the present application, where the apparatus includes:
an intelligent serial screen 301, a baseboard management controller BMC302, a front panel 303, and a signal switcher 304;
the intelligent serial port screen 301 is mounted on the front panel 303 through a movable hanging buckle;
BMC302 is connected to signal switch 304 and front panel 303;
the signal switch 304 is connected to the front panel 303;
BMC302 is configured to receive a target switching instruction sent by front panel 303;
the BMC302 is further configured to control the signal switcher 304 to establish a communication connection between the first universal asynchronous receiver transmitter UART interface of the BMC302 and the first universal serial bus USB interface of the front panel 303 according to the target switching instruction;
the intelligent serial port screen 301 is configured to establish a communication connection with the front panel 303 through a second UART interface and a second USB interface of the front panel 303, where the second UART interface is disposed on the intelligent serial port screen 301;
the intelligent serial port screen 301 is further configured to establish interaction with the BMC302 through the first UART interface, the first USB interface, the second USB interface, and the second UART interface according to the target authentication handshake protocol.
In the apparatus of this embodiment, the functions executed by each unit correspond to the steps in the foregoing method embodiment shown in fig. 1, and are not described herein in detail.
In this embodiment, the intelligent serial port screen 301 is mounted on the front panel 303 through a movable hanging buckle, and the BMC302 controls the signal switcher 304 to perform communication connection between a first UART interface of the BMC302 and a first USB interface of the front panel 303 according to a target switching instruction, and meanwhile, a second USB interface of the front panel 303 is connected with a second UART interface of the intelligent serial port screen 301, and then communication interaction from the intelligent serial port screen 301 to the BMC302 is implemented according to a target authentication handshake protocol, so that state information of the BMC302 is obtained. Therefore, when information is required to be acquired by interaction with the BMC302, the intelligent serial port screen 301 is not required to be embedded into the front panel 303 and fixedly connected with the front panel 303, the occupied space of the front panel 303 is reduced, and the influence on the heat dissipation effect of the front panel 303 is reduced.
Referring to fig. 4, fig. 4 is another embodiment of an apparatus for interaction between an intelligent serial port screen and a BMC provided in the present application, where the apparatus includes:
an intelligent serial port panel 401, a baseboard management controller BMC402, a front panel 403 and a signal switcher 404;
the intelligent serial port screen 401 is mounted on the front panel 403 through a movable hanging buckle;
BMC402 is connected to signal switch 404 and front panel 403;
the signal switch 404 is connected to the front panel 403;
the BMC402 is configured to receive a target switching instruction sent by the front panel 403;
the BMC402 is further configured to control the signal switcher 404 to establish a communication connection between the first universal asynchronous receiver transmitter UART interface of the BMC402 and the first universal serial bus USB interface of the front panel 403 according to the target switching instruction;
the intelligent serial port screen 401 is configured to establish a communication connection with the front panel 403 through a second UART interface and a second USB interface of the front panel 403, where the second UART interface is disposed on the intelligent serial port screen 401;
the intelligent serial port 401 is further configured to establish interaction with the BMC402 through the first UART interface, the first USB interface, the second USB interface, and the second UART interface according to the target authentication handshake protocol.
Optionally, the apparatus further includes a host system 405, where the host system 405 is connected to the BMC402 and the signal switcher 404, respectively;
the host system 405 is configured to enable a target UART device under the LPC bus of the BMC402, the target UART device being applied to the SOL function;
the smart serial port screen 401 is also used to establish interaction with the host system through the target UART device.
Optionally, the intelligent serial port screen 401 is specifically configured to send a host serial port switching command to the BMC 402;
the BMC402 is specifically configured to establish a target communication connection from the target UART device to the second UART interface according to the serial command of the switching host;
the smart serial port 401 is specifically configured to establish interaction with a host system through a target communication connection.
Optionally, the smart serial port 401 is specifically used to access the host system through the target communication connection.
Optionally, the target UART device includes a UART1 controller or a UART2 controller.
Optionally, the BMC402 is further configured to control the signal switcher 404 to perform communication disconnection between the host system 405 and the front panel 403 according to the target switching instruction.
Alternatively, the target switch instruction is generated by triggering a physical button of the front panel 403.
Optionally, the BMC402 is specifically configured to establish a communication connection between the first universal asynchronous receiver transmitter UART interface of the BMC402 and the first universal serial bus USB interface of the front panel 403 through the GPIO/serial I2C bus control signal switcher 404 according to the target switching instruction.
In the apparatus of this embodiment, the functions executed by each unit correspond to the steps in the foregoing method embodiment shown in fig. 2, and are not described herein in detail.
In this embodiment, the BMC402 controls the signal switcher 404 to communicatively connect the first UART interface of the BMC402 to the first USB interface of the front panel 403 according to the target switching instruction, and meanwhile, the second USB interface of the front panel 403 is connected to the second UART interface of the intelligent serial port screen 401, so that the communication interaction between the intelligent serial port screen 401 and the BMC402 is realized through the target authentication handshake protocol. In addition, mapping the host system 405 to the target UART device under the LPC bus of the BMC, by switching the host serial port command to gate the target UART device to the second UART interface of the intelligent serial port screen 401, interaction between the host system 405 and the intelligent serial port screen 401 is achieved. When not using at ordinary times, can also break off intelligent serial port screen 401 and the USB of front panel 403 and be connected, reduce the occupation of front panel 403USB interface, improved interactive flexibility, this intelligent serial port screen 401 detachable carries on front panel 403 simultaneously, does not occupy the front panel 403 space, in for the embedding of intelligent serial port screen 401 in front panel 403 among the prior art, reduced the influence to front panel 403 radiating effect.
The application further provides a device for interaction between the intelligent serial port screen and the BMC, referring to fig. 5, fig. 5 is an embodiment of the device for interaction between the intelligent serial port screen and the BMC, where the device includes:
a processor 501, a memory 502, an input/output unit 503, and a bus 504;
the processor 501 is connected to the memory 502, the input/output unit 503, and the bus 504;
the memory 502 holds a program that the processor 501 invokes to perform any of the methods of intelligent serial screen interaction with the BMC as described above.
The application also relates to a computer readable storage medium, wherein a program is stored on the computer readable storage medium, and when the program runs on a computer, the computer is caused to execute the method for interaction between any intelligent serial port screen and the BMC.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (8)

1. The method for interaction between the intelligent serial port screen and the BMC is characterized by being applied to a device for interaction between the intelligent serial port screen and the BMC, and comprising the following steps: the intelligent serial port screen, the baseboard management controller BMC, the front panel and the signal switcher; the intelligent serial port screen is mounted on the front panel through a movable hanging buckle; the BMC is connected with the signal switcher and the front panel; the signal switcher is connected with the front panel; the method comprises the following steps:
the BMC receives a target switching instruction sent by the front panel;
the BMC controls the signal switcher to establish communication connection between a first universal asynchronous receiver transmitter UART interface of the BMC and a first universal serial bus USB interface of the front panel according to the target switching instruction;
the intelligent serial port screen establishes communication connection with the front panel through a second UART interface and a second USB interface of the front panel, and the second UART interface is arranged on the intelligent serial port screen;
the intelligent serial port screen establishes interaction with the BMC through the first UART interface, the first USB interface, the second USB interface and the second UART interface according to a target authentication handshake protocol;
the device also comprises a host system, wherein the host system is respectively connected with the BMC and the signal switcher; after the intelligent serial port screen establishes interaction with the BMC through the first UART interface, the first USB interface, the second USB interface and the second UART interface according to a target authentication handshake protocol, the method further comprises:
the host system starts target UART equipment under a low-pin bus LPC of the BMC, and the target UART equipment is applied to a serial port redirection SOL function;
the intelligent serial port screen establishes interaction with the host system through the target UART equipment, and the intelligent serial port screen comprises the following components:
the intelligent serial port screen sends a host serial port switching command to the BMC;
the BMC establishes target communication connection from the target UART equipment to the second UART interface according to the serial port command of the switching host;
and the intelligent serial port screen establishes interaction with the host system through the target communication connection.
2. The method of claim 1, wherein the intelligent serial screen establishing interaction with the host system over the target communication connection comprises:
the intelligent serial screen accesses the host system through the target communication connection.
3. The method according to claim 1 or 2, wherein the target UART device comprises a UART1 controller or a UART2 controller.
4. The method according to any one of claims 1 to 2, wherein before the BMC controls a signal switcher to establish a communication connection of a first UART interface of the BMC with a first USB interface of the front panel according to the target switching instruction, the method further comprises:
and the BMC controls the signal switcher to carry out communication disconnection between the host system and the front panel according to the target switching instruction.
5. The method according to any one of claims 1 to 2, wherein the target switch instruction is generated by triggering a physical button of the front panel.
6. The method according to any one of claims 1 to 2, wherein the BMC controlling the signal switch to establish a communication connection of a first universal asynchronous receiver transmitter UART interface of the BMC with a first universal serial bus USB interface of the front panel according to the target switching instruction comprises:
and the BMC controls the signal switcher through a general purpose input/output port GPIO/serial I2C bus according to the target switching instruction to establish communication connection between a first universal asynchronous receiver transmitter UART interface of the BMC and a first universal serial bus USB interface of the front panel.
7. An intelligent serial port screen and BMC interaction device, wherein the device comprises:
the intelligent serial port screen, the baseboard management controller BMC, the front panel and the signal switcher;
the intelligent serial port screen is mounted on the front panel through a movable hanging buckle;
the BMC is connected with the signal switcher and the front panel;
the signal switcher is connected with the front panel;
the BMC is used for receiving a target switching instruction sent by the front panel;
the BMC is also used for controlling the signal switcher to establish communication connection between a first universal asynchronous receiver transmitter UART interface of the BMC and a first universal serial bus USB interface of the front panel according to the target switching instruction;
the intelligent serial port screen is used for establishing communication connection with the front panel through a second UART interface and a second USB interface of the front panel, and the second UART interface is arranged on the intelligent serial port screen;
the intelligent serial port screen is further used for establishing interaction with the BMC through the first UART interface, the first USB interface, the second USB interface and the second UART interface according to a target authentication handshake protocol;
the device also comprises a host system, wherein the host system is respectively connected with the BMC and the signal switcher;
the host system is used for starting target UART equipment under the LPC bus of the BMC, and the target UART equipment is applied to the SOL function;
the intelligent serial port screen is also used for establishing interaction with the host system through the target UART equipment;
the intelligent serial port screen is specifically used for sending a host serial port switching command to the BMC;
the BMC is specifically configured to establish a target communication connection from the target UART device to the second UART interface according to the serial port command of the switching host;
the intelligent serial screen is specifically used for establishing interaction with the host system through the target communication connection.
8. An intelligent serial port screen and BMC interaction device, wherein the device comprises:
a processor, a memory, an input-output unit, and a bus;
the processor is connected with the memory, the input/output unit and the bus;
the memory holds a program which the processor invokes to perform the method of any one of claims 1 to 6.
CN202210203669.5A 2022-03-02 2022-03-02 Method and device for interaction between intelligent serial port screen and BMC Active CN114610668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210203669.5A CN114610668B (en) 2022-03-02 2022-03-02 Method and device for interaction between intelligent serial port screen and BMC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210203669.5A CN114610668B (en) 2022-03-02 2022-03-02 Method and device for interaction between intelligent serial port screen and BMC

Publications (2)

Publication Number Publication Date
CN114610668A CN114610668A (en) 2022-06-10
CN114610668B true CN114610668B (en) 2024-03-26

Family

ID=81860980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210203669.5A Active CN114610668B (en) 2022-03-02 2022-03-02 Method and device for interaction between intelligent serial port screen and BMC

Country Status (1)

Country Link
CN (1) CN114610668B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364210A (en) * 2007-08-06 2009-02-11 鸿富锦精密工业(深圳)有限公司 Portable computer with components expandable
CN104598153A (en) * 2015-01-28 2015-05-06 浪潮(北京)电子信息产业有限公司 Method for controlling server and server
CN105573431A (en) * 2015-12-17 2016-05-11 山东海量信息技术研究院 Multi-channel high-end server node state information display panel
CN106151827A (en) * 2016-08-08 2016-11-23 中电科泰雷兹航空电子有限公司 A kind of removable screen formula display
CN106793645A (en) * 2015-11-19 2017-05-31 重庆申叶机电设备安装有限公司 Electronic equipment chassis
CN206302663U (en) * 2016-12-16 2017-07-04 上海申彦通讯设备制造有限公司 A kind of cabinet with drawing-aid device, faceplate of insertion case module
CN207895357U (en) * 2018-03-16 2018-09-21 广州市宝擎科技有限公司 A kind of double screen reinforcing portable computer
CN110018934A (en) * 2019-04-09 2019-07-16 深圳市国鑫恒宇科技有限公司 A kind of system and method based on server master board quick diagnosis power-on error
CN209168079U (en) * 2018-12-05 2019-07-26 江苏特思达电子科技股份有限公司 A kind of touch display unit and electronic whiteboard
CN210442789U (en) * 2019-09-29 2020-05-01 江苏特思达电子科技股份有限公司 Touch display device and system
CN111305824A (en) * 2020-03-27 2020-06-19 北京环鼎科技有限责任公司 Depth interface panel separating display and operation and use method thereof
CN210864692U (en) * 2019-11-21 2020-06-26 苏州浪潮智能科技有限公司 UI panel and server
CN111737172A (en) * 2020-06-12 2020-10-02 浪潮电子信息产业股份有限公司 Server serial port access control method, device, equipment and medium
CN112306821A (en) * 2020-10-27 2021-02-02 苏州浪潮智能科技有限公司 State indication method, device, equipment and storage medium of server system
CN112468748A (en) * 2020-11-06 2021-03-09 广东长虹电子有限公司 Adapter plate applied to display screen and display device
CN213241020U (en) * 2020-11-05 2021-05-18 东莞飞思凌通信技术有限公司 Low-cost server security panel of instrument dismouting of exempting from
CN113760800A (en) * 2021-07-29 2021-12-07 苏州浪潮智能科技有限公司 Serial port path selection method, system, terminal and storage medium based on BMC
CN114090360A (en) * 2022-01-20 2022-02-25 苏州浪潮智能科技有限公司 Server debugging device, method and medium thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11061837B2 (en) * 2018-08-21 2021-07-13 American Megatrends International, Llc UBM implementation inside BMC

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364210A (en) * 2007-08-06 2009-02-11 鸿富锦精密工业(深圳)有限公司 Portable computer with components expandable
CN104598153A (en) * 2015-01-28 2015-05-06 浪潮(北京)电子信息产业有限公司 Method for controlling server and server
CN106793645A (en) * 2015-11-19 2017-05-31 重庆申叶机电设备安装有限公司 Electronic equipment chassis
CN105573431A (en) * 2015-12-17 2016-05-11 山东海量信息技术研究院 Multi-channel high-end server node state information display panel
CN106151827A (en) * 2016-08-08 2016-11-23 中电科泰雷兹航空电子有限公司 A kind of removable screen formula display
CN206302663U (en) * 2016-12-16 2017-07-04 上海申彦通讯设备制造有限公司 A kind of cabinet with drawing-aid device, faceplate of insertion case module
CN207895357U (en) * 2018-03-16 2018-09-21 广州市宝擎科技有限公司 A kind of double screen reinforcing portable computer
CN209168079U (en) * 2018-12-05 2019-07-26 江苏特思达电子科技股份有限公司 A kind of touch display unit and electronic whiteboard
CN110018934A (en) * 2019-04-09 2019-07-16 深圳市国鑫恒宇科技有限公司 A kind of system and method based on server master board quick diagnosis power-on error
CN210442789U (en) * 2019-09-29 2020-05-01 江苏特思达电子科技股份有限公司 Touch display device and system
CN210864692U (en) * 2019-11-21 2020-06-26 苏州浪潮智能科技有限公司 UI panel and server
CN111305824A (en) * 2020-03-27 2020-06-19 北京环鼎科技有限责任公司 Depth interface panel separating display and operation and use method thereof
CN111737172A (en) * 2020-06-12 2020-10-02 浪潮电子信息产业股份有限公司 Server serial port access control method, device, equipment and medium
CN112306821A (en) * 2020-10-27 2021-02-02 苏州浪潮智能科技有限公司 State indication method, device, equipment and storage medium of server system
CN213241020U (en) * 2020-11-05 2021-05-18 东莞飞思凌通信技术有限公司 Low-cost server security panel of instrument dismouting of exempting from
CN112468748A (en) * 2020-11-06 2021-03-09 广东长虹电子有限公司 Adapter plate applied to display screen and display device
CN113760800A (en) * 2021-07-29 2021-12-07 苏州浪潮智能科技有限公司 Serial port path selection method, system, terminal and storage medium based on BMC
CN114090360A (en) * 2022-01-20 2022-02-25 苏州浪潮智能科技有限公司 Server debugging device, method and medium thereof

Also Published As

Publication number Publication date
CN114610668A (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN100568200C (en) The method and the computer system of virtual communication port are provided for server
US9116821B2 (en) Method and system for USB device virtualization
US6363449B1 (en) Method and apparatus for providing interchassis communication and management
EP3575975B1 (en) Method and apparatus for operating smart network interface card
US6463495B1 (en) Command and control infrastructure for a computer system using the computer's power rail
US8566416B2 (en) Method and system for accessing storage device
US11761657B2 (en) Data sending method, multi-connected system, electronic device and storage medium
CN107360633B (en) Pairing connection method and device of virtual reality system and virtual reality system
US10616348B2 (en) System and method for providing multiple IPMI serial over LAN (SOL) sessions in management controller stack
US9244699B2 (en) Method and system for audio device virtualization
US20130055044A1 (en) Method And Apparatus For Restricting The Operation Of USB Devices
CN111654404A (en) Intelligent network card management and control method and device
CN106446654A (en) Isolation method based on fingerprint recognition of computer input and output devices
CN114020678B (en) Server serial console redirection method, device and system and electronic equipment
EP3020178A1 (en) Universal serial bus (usb) device access
CN114610668B (en) Method and device for interaction between intelligent serial port screen and BMC
US8661523B2 (en) Mass storage lockout for USB devices on extended USB system
CN116886749A (en) Connection method, connection device and electronic equipment
CN107239353A (en) Inter-process communication methods and system
CN113849267A (en) Virtual display method, system, terminal and storage medium for display card
CN113505089A (en) Electronic equipment and control method
US20150370729A1 (en) Bridge decoder for a vehicle infotainment system
KR101853544B1 (en) Apparatus and method for controlling the line
CN113900715B (en) Information management system, method, device and storage medium
CN108804367B (en) Wireless peripheral system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method and device for intelligent serial port screen and BMC interaction

Granted publication date: 20240326

Pledgee: Industrial and Commercial Bank of China Limited Shenzhen Buji sub branch

Pledgor: Baode computer system Co.,Ltd.

Registration number: Y2024980041330