CN114610668A - 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
CN114610668A
CN114610668A CN202210203669.5A CN202210203669A CN114610668A CN 114610668 A CN114610668 A CN 114610668A CN 202210203669 A CN202210203669 A CN 202210203669A CN 114610668 A CN114610668 A CN 114610668A
Authority
CN
China
Prior art keywords
bmc
front panel
serial port
target
uart
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.)
Granted
Application number
CN202210203669.5A
Other languages
Chinese (zh)
Other versions
CN114610668B (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

Images

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]

Abstract

The application discloses an intelligent serial port screen and BMC interaction method and device for achieving interaction of the intelligent serial port screen and BMC, meanwhile, the intelligent serial port screen does not need to be embedded into a front panel to occupy space, and influence on 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 the movable mounting 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; 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 BMC.
Background
In the process of inspecting the server on site, the operation and maintenance staff generally determine the operating state of the server through a front panel state indicator lamp of the server, and after finding that the state of the server is abnormal, the operation and maintenance staff need to log in a Baseboard Management Controller (BMC) on site to check the health state of the mainboard.
The existing method for checking the health state of a mainboard by interacting with a BMC on site is to embed an intelligent interaction screen in a front panel of a server, so that the functions of checking the health state of a system and interacting with the BMC by operation and maintenance personnel on site are realized.
However, the mode 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 an intelligent serial port screen and BMC interaction method and device for achieving interaction of the intelligent serial port screen and BMC, meanwhile, the intelligent serial port screen does not need to be embedded into a front panel to occupy the space of the front panel, and influence on the heat dissipation effect of the front panel is reduced.
The application provides a method for interaction between an intelligent serial port screen and a BMC (baseboard management controller), which 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 baseboard management controller BMC, the front panel and the signal switcher are arranged on the front panel; the intelligent serial port screen is mounted on the front panel through a movable mounting 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.
Optionally, the apparatus further comprises a host system, which is connected to the BMC and the signal switch, respectively; 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 includes:
enabling a target UART (universal asynchronous receiver/transmitter) device under a Low pin Bus (LPC) of the BMC by the host system, wherein the target UART device is 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, interaction with the host system includes:
the intelligent serial port screen sends a host serial port switching command to the BMC;
the BMC establishes a target communication connection from the target UART device to the second UART interface according to the host serial port switching command;
and the intelligent serial port screen establishes interaction with the host system through the target communication connection.
Optionally, the establishing, by the smart serial port screen through the target communication connection, interaction with the host system includes:
and the intelligent serial port 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 disconnect the communication between the host system and the front panel according to the target switching instruction.
Optionally, the target switching instruction is generated by triggering a physical button of the front panel.
Optionally, the controlling, by the BMC, the signal switch 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 according to the target switching instruction includes:
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 through a General Purpose Input Output (GPIO)/serial I2C (Inter-Integrated Circuit, I2C) according to the target switching instruction.
This application second aspect provides an interactive device of intelligence serial ports screen and BMC, includes:
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 mounting 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 apparatus further comprises a host system, which is connected to the BMC and the signal switch, respectively;
the host system is used for starting target UART equipment under an LPC bus of the BMC, and the target UART equipment is applied to an SOL function;
the intelligent serial port 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 host serial port switching command;
the intelligent serial port screen is specifically used for establishing interaction with the host system through the target communication connection.
Optionally, the smart serial port 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 switch to disconnect the communication between the host system and the front panel according to the target switching instruction.
Optionally, the target switching instruction is generated by triggering a physical button of the front panel.
Optionally, the BMC is specifically configured to control the signal switch 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 according to the target switching instruction.
This application third aspect provides an interactive device of intelligent serial ports screen and BMC, the device includes:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory stores a program, and the processor calls the program to execute the method for interaction between the intelligent serial port screen and the BMC in the first aspect and any one of the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium, where a program is stored, and when the program is executed on a computer, the method for interaction between an intelligent serial port screen and a BMC, which is optional in any of the first aspect and the first aspect, is executed.
According to the technical scheme, the method 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; 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 above scheme, through with intelligent serial ports screen through the activity carry on the front panel of hanging the knot, then through the intermediary of front panel as the communication, realize the interaction of intelligent serial ports screen and BMC to need not to occupy the front panel space in embedding the front panel with intelligent serial ports screen, reduced the influence to the front panel radiating effect.
Drawings
In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of an embodiment of a method for interaction between an intelligent serial port screen and a BMC provided by the present application;
fig. 2 is a schematic flowchart of another embodiment of a method for interaction between an intelligent serial port screen and a BMC provided by the present application;
fig. 3 is a schematic structural diagram of an embodiment of an intelligent serial port screen and BMC interaction device provided in the present application;
fig. 4 is a schematic structural diagram of another embodiment of the device for interaction between an intelligent serial port screen and a BMC provided by the present application;
fig. 5 is a schematic structural diagram of another embodiment of the device for interaction between an intelligent serial port screen and a BMC provided by the present application.
Detailed Description
The application provides an intelligent serial port screen and BMC interaction method and device for achieving interaction of the intelligent serial port screen and BMC, meanwhile, the intelligent serial port screen does not need to be embedded into a front panel to occupy the space of the front panel, and 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 mounting 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 a diagram illustrating an embodiment of a method for interaction between an intelligent serial port screen and a BMC, 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. Or, the BMC may also receive a target handover 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. Therefore, the communication connection between the first UART interface of the BMC and the first USB interface of the front panel is established according to the signal channel switching. For example, when the signal switch is a multi-phase channel signal switch including at least channels 1, 2, and 3, the first UART interface of the BMC may be configured to connect to channel 1, and the first USB interface of the front panel may be configured to connect to channel 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 the channel 1 is communicated with the channel 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 the movable mounting buckle, for example, the intelligent serial port screen can be mounted in front of the front panel, or the intelligent serial port screen 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 are in communication connection through a second UART interface and a second USB interface, and specifically, the second UART interface of the intelligent serial port screen is connected with the second USB interface of the front panel through a UART-to-USB cable, so that the communication connection of the intelligent serial port screen and the front panel is established.
104. 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 first UART interface of the BMC is in communication connection with the first USB interface of the front panel and the second USB interface of the front panel is in communication connection with the second UART interface of the intelligent serial port screen, 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. And then, the intelligent serial port screen is in communication connection with the BMC according to the target authentication handshake protocol, so that interaction between the intelligent serial port screen and the BMC is established. Specifically, the target authentication handshake protocol may be a response handshake protocol, for example, first, a handshake encryption key of the current BMC is input into the smart serial port screen, and after the BMC control signal switch switches signal channels to complete connection from the second USB interface of the smart serial port screen to the first UART interface of the BMC, an encrypted handshake code is sent to the first UART interface. The Encryption mode may be encrypted by Advanced Encryption Standard (AES) or Data Encryption Algorithm (DEA), and the like, and is not limited herein. After receiving the encrypted handshake code, the intelligent serial port screen decodes and identifies the encrypted handshake code and sends a corresponding encrypted response code to the BMC; and then, the BMC decodes and identifies the encrypted response code, and if the identified response code is a preset response code, the communication channel from the intelligent serial port screen to the BMC is communicated, so that the communication interaction from the intelligent serial port screen to the BMC is established. Alternatively, the target authentication handshake protocol may also be another protocol, which is not limited herein.
In this embodiment, after the communication interaction from the intelligent serial port screen to the BMC is established, the state information of the BMC, such as log information, system detection information, heat dissipation information, and the like, may be acquired 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, through with intelligent serial ports screen through the activity carry on the front panel of detaining, then switch the first UART interface connection that the instruction control signal switch carries out BMC to the first USB interface of front panel according to the target, the second USB interface connection of front panel simultaneously intelligent serial ports screen's second UART interface, the communication interaction of intelligent serial ports screen to BMC is realized according to the target authentication protocol of shaking hands again to make the status information who obtains BMC. Therefore, when information is required to be acquired interactively with the BMC, the intelligent serial port screen is not required to be embedded into the front panel and 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 for interaction between the intelligent serial port screen and the BMC provided by the present application more obvious and understandable, the following detailed description is made on the method for interaction between the intelligent serial port screen and the BMC provided by the present application:
referring to fig. 2, fig. 2 is another embodiment of a method for interaction between an intelligent serial port screen and a BMC, 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 detailed description thereof is omitted here.
202. The BMC controls the signal switcher to disconnect the communication between the host system and the front panel according to the target switching instruction;
generally, the host system is connected with the front panel in a communication manner, specifically, the host system is connected with the signal switcher through the USB cable, the signal switcher is connected with the front panel, and the host system and the front panel are gated through the signal switcher, so that the communication connection between the host system and the front panel is established, and a worker can access host information of the host system through the front panel. In this embodiment, after receiving the target switch instruction, the BMC may control the signal switch through the GPIO/I2C bus according to the target switch instruction to switch the signal channel, so as to 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 1, 2, and 3, the BMC may be configured to interface with channel 1, the host system may be configured to interface with channel 2, and the front panel may be configured to interface with channel 3. When the BMC receives the target switching command, the signal switcher is controlled to disconnect the channel No. 2, 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 switch 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 a target switch command is received, the BMC controls the signal switch to communicate the channel 1 and the channel 3 through the GPIO/I2C bus according to the target switch 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 the first UART interface, the first USB interface, the second USB interface and the 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 detailed description thereof is omitted here.
206. Enabling a target UART device under an LPC bus of the BMC by the host system, wherein the target UART device is applied to an SOL function;
optionally, in this embodiment, the host system enables a target UART device under the LPC bus of the BMC to serve as a serial port terminal, and specifically, the host system maps a 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 achieved by enabling the target UART equipment to gate other UART serial ports, or the target UART equipment is enabled to gate a second UART interface of the intelligent serial port screen to achieve interaction between a 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, and may also be another UART controller, which is not limited herein.
207. The intelligent serial port screen establishes interaction with a host system through target UART equipment.
Optionally, in this embodiment, the intelligent serial port screen sends a host serial port switching command to the BMC through communication interaction with the BMC. After receiving the host serial port switching command, the BMC establishes a target communication connection from the target UART device to the second UART interface of the intelligent serial port screen according to the host serial port switching command, namely, the target UART device under the LPC bus is connected 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 accesses the host system to obtain host data of the host system 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 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 between the intelligent serial port screen and the BMC according to the target authentication handshake protocol. In addition, the host system is redirected to the target UART device under the LPC bus of the BMC, and then the target UART device is switched to the intelligent serial port screen through the BMC, so that interaction between the host system and the intelligent serial port screen is achieved. When not using at ordinary times, can also break off the USB of intelligent serial ports screen and front panel and be connected, reduce the occupation of front panel USB interface, improve interactive flexibility, this intelligence serial ports screen detachable carries on the front panel simultaneously, does not occupy the front panel space, with intelligent serial ports screen embedding front panel in prior art, reduced the influence to the front panel radiating effect.
The above description is provided for the method for interaction between the intelligent serial port screen and the BMC, and the following description is provided for the device for interaction between the intelligent serial port screen and the BMC provided by the present application:
referring to fig. 3, fig. 3 is a diagram illustrating an embodiment of an intelligent serial port screen and BMC interaction apparatus provided in the present application, where the apparatus includes:
the system comprises an intelligent serial port 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 mounting buckle;
BMC302 is connected to signal switch 304 and front panel 303;
the signal switcher 304 is connected with the front panel 303;
BMC302 is configured to receive a target switch instruction sent by front panel 303;
BMC302 is further configured to control signal switch 304 to establish a communication connection between a first UART interface of BMC302 and a first USB interface of front panel 303 according to the target switching instruction;
the intelligent serial port screen 301 is used for establishing communication connection with the front panel 303 through a second UART interface and a second USB interface of the front panel 303, and the second UART interface is arranged 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 device of this embodiment, the functions performed by each unit correspond to the steps in the method embodiment shown in fig. 1, and detailed description thereof is omitted here.
In this embodiment, the intelligent serial port screen 301 is mounted on the front panel 303 through a movable mounting buckle, the BMC302 controls the signal switch 304 to perform communication connection between the first UART interface of the BMC302 and the first USB interface of the front panel 303 according to the target switching instruction, meanwhile, the second USB interface of the front panel 303 is connected to the second UART interface of the intelligent serial port screen 301, and then communication interaction between the intelligent serial port screen 301 and the BMC302 is realized according to the target authentication handshake protocol, so that the state information of the BMC302 is acquired. Therefore, when information is required to be acquired interactively 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.
The following describes in detail the device for interaction between an intelligent serial port screen and a BMC provided in the present application, please refer to fig. 4, where fig. 4 is another embodiment of the device for interaction between an intelligent serial port screen and a BMC provided in the present application, and the device includes:
the system comprises an intelligent serial port screen 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 mounting buckle;
the BMC402 is connected to the signal switch 404 and the front panel 403;
the signal switcher 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 switch 404 to establish a communication connection between a first universal asynchronous receiver/transmitter (UART) interface of the BMC402 and a first Universal Serial Bus (USB) interface of the front panel 403 according to the target switching instruction;
the intelligent serial port screen 401 is used for establishing communication connection with the front panel 403 through a second UART interface and a second USB interface of the front panel 403, and the second UART interface is arranged on the intelligent serial port screen 401;
the intelligent serial port screen 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 comprises a host system 405, the host system 405 being connected to the BMC402 and the signal switch 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;
smart serial 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 a target UART device to a second UART interface according to a switch host serial port command;
the smart serial port screen 401 is specifically configured to establish interaction with the host system through a target communication connection.
Optionally, smart serial port screen 401 is specifically configured to access the host system through a 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 switch 404 to disconnect the communication between the host system 405 and the front panel 403 according to the target switching command.
Alternatively, the target switching 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 a first UART interface of the BMC402 and a first USB interface of the front panel 403 through the GPIO/serial I2C bus control signal switch 404 according to the target switching instruction.
In the device of this embodiment, the functions performed by each unit correspond to the steps in the method embodiment shown in fig. 2, and detailed description thereof is omitted here.
In this embodiment, the BMC402 controls the signal switch 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 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 from the intelligent serial port screen 401 to the BMC402 is realized through the target authentication handshake protocol. In addition, the host system 405 is mapped to the target UART device under the LPC bus of the BMC, and the interaction between the host system 405 and the intelligent serial port screen 401 is realized 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. When not using at ordinary times, can also break off the USB of intelligent serial port screen 401 and front panel 403 and be connected, reduce the occupation of front panel 403USB interface, improve interactive flexibility, this intelligent serial port screen 401 detachable is mounted on front panel 403 simultaneously, does not occupy front panel 403 space, with intelligent serial port screen 401 embedding front panel 403 in the prior art in for, reduced the influence to front panel 403 radiating effect.
This application still provides an interactive device of intelligent serial ports screen and BMC, please refer to fig. 5, and fig. 5 is an embodiment of the interactive device of intelligent serial ports screen and BMC that this application provided, and the device includes:
a processor 501, a memory 502, an input/output unit 503, and a bus 504;
the processor 501 is connected with the memory 502, the input/output unit 503 and the bus 504;
the memory 502 stores a program, and the processor 501 calls the program to execute any one of the above methods for interaction between the smart serial screen and the BMC.
The application also relates to a computer readable storage medium, on which a program is stored, and when the program runs on a computer, the computer is enabled to execute the method for interaction between the intelligent serial port screen and the BMC.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is only a logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to 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), a magnetic disk or an optical disk, and the like.

Claims (10)

1. The method for interaction between the intelligent serial port screen and the BMC is applied to a device for interaction between the intelligent serial port screen and the BMC, and comprises the following steps: the system comprises an intelligent serial port screen, a substrate management controller (BMC), a front panel and a signal switcher; the intelligent serial port screen is mounted on the front panel through a movable mounting 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.
2. The method of claim 1, wherein the apparatus further comprises a host system connected to the BMC and the signal switch, respectively; 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 includes:
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;
and the intelligent serial port screen establishes interaction with the host system through the target UART equipment.
3. The method of claim 2, wherein the smart serial port screen establishing interaction with the host system via the target UART device comprises:
the intelligent serial port screen sends a host serial port switching command to the BMC;
the BMC establishes a target communication connection from the target UART device to the second UART interface according to the host serial port switching command;
and the intelligent serial port screen establishes interaction with the host system through the target communication connection.
4. The method of claim 3, wherein the smart serial port screen establishing interaction with the host system through the target communication connection comprises:
and the intelligent serial port screen accesses the host system through the target communication connection.
5. The method of claim 3 or 4, wherein the target UART device comprises a UART1 controller or a UART2 controller.
6. The method as claimed in any one of claims 2 to 4, wherein before the BMC controls the signal switch to establish the communication connection between the first UART interface of the BMC and the first USB interface of the front panel according to the target switch instruction, the method further comprises:
and the BMC controls the signal switcher to disconnect the communication between the host system and the front panel according to the target switching instruction.
7. The method of any of claims 1-4, wherein the target switching instruction is generated by triggering a physical button of the front panel.
8. The method as claimed in any one of claims 1 to 4, wherein the BMC controlling the signal switch to establish a communication connection between a first UART interface of the BMC and a first USB interface of the front panel according to the target switch instruction comprises:
and 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 through a general input/output port GPIO/serial I2C bus according to the target switching instruction.
9. The utility model provides an interactive device of intelligence serial ports screen and BMC, a serial communication port, the device includes:
the system comprises an intelligent serial port screen, a substrate management controller (BMC), a front panel and a signal switcher;
the intelligent serial port screen is mounted on the front panel through a movable mounting 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 receiving and transmitting 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.
10. The utility model provides an interactive device of intelligence serial ports screen and BMC, a serial communication port, the device includes:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory holds a program that the processor calls to perform the method of any one of claims 1 to 8.
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 true CN114610668A (en) 2022-06-10
CN114610668B 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 (19)

* 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
US20200065273A1 (en) * 2018-08-21 2020-02-27 American Megatrends International, Llc Ubm implementation inside bmc
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

Patent Citations (19)

* 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
US20200065273A1 (en) * 2018-08-21 2020-02-27 American Megatrends International, Llc Ubm implementation inside bmc
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
CN114610668B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
US9116821B2 (en) Method and system for USB device virtualization
US8656067B2 (en) Peripheral device identification for pairing
TWI224273B (en) Switching system for operation priority of I/O unit and method thereof
CN107026764B (en) Remote debugging method, device, server and system
CN104618793B (en) A kind of information processing method and electronic equipment
CN107220192B (en) Electronic equipment, channel switching control method and control circuit
CN107360633B (en) Pairing connection method and device of virtual reality system and virtual reality system
CN110691275A (en) Wireless screen transmission equipment, method and computer storage medium
US9244699B2 (en) Method and system for audio device virtualization
CN106445182B (en) Key mouse screen safety switching and isolating method suitable for dual-computer environment
CN108399136B (en) Control method and device of serial interface and host
CN114610668B (en) Method and device for interaction between intelligent serial port screen and BMC
CN110651255B (en) Load control method, movable platform and computer readable storage medium
CN111414327B (en) Network device
CN110290594B (en) Connection router judgment method and equipment control system
JP3913608B2 (en) Intelligent type device that allows all intelligent type modules to share the same user input / output interface
CN114138697A (en) Signal transmission system, signal transmission method, signal transmission device and medium
JP6846621B2 (en) Information processing device and network switching method
CN111090494A (en) Communication control method and system
US11281599B2 (en) Shared peripheral devices
CN211180818U (en) Video processing apparatus
CN113900715B (en) Information management system, method, device and storage medium
CN219477981U (en) Intelligent remote start-up monitoring system
JP2014107952A (en) Simplified supervision control device
WO2016140476A1 (en) Device for decoding encoded data and method therefor

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