Unlock instant, AI-driven research and patent intelligence for your innovation.

A method of managing ipmi based on serial port

A serial port and text technology, applied in the field of IPMI based on serial port management, can solve the problems of complex line procedures on the serial port, and achieve the effect of ensuring integrity and strong readability

Active Publication Date: 2019-01-01
NANJING BALANCE NETWORK TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For overcoming the defective that prior art exists, the present invention provides a kind of method based on serial port management IPMI, in this method, linux application layer and BMC directly communicate through serial port, need not drive IPMI by linux kernel, overcome serial port in the prior art Defects such as complex online procedures

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method of managing ipmi based on serial port
  • A method of managing ipmi based on serial port
  • A method of managing ipmi based on serial port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments, but these embodiments should not be construed as limiting the present invention.

[0028] The invention provides a method for managing IPMI based on a serial port, and the communication between the linux application layer and the BMC is directly performed through the serial port.

[0029] Among them, the communication between the linux application layer and the BMC includes the following steps:

[0030] 1) The device file / dev / ttyS uses the open, read or write functions to read and write the hexadecimal data of the serial port of the linux application layer, wherein the linux application layer uses the select function to asynchronously read and write the opened serial port file handle;

[0031] 2) The hexadecimal data first adds the carriage return character 0X0D as a boundary limit and then converts it into ASCII text, and the serial p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a serial port-based IPMI (Intelligent Platform Management Interface) management method. The method comprises the following steps: a linux application layer serial port is read and written through a device file / dev / ttyS, the hexadecimal data are added with characters 0X0D as a boundary limit, and then transformed into an ASCII text; the ASCII text is transformed on BMC to corresponding hexadecimal data; otherwise, the responding data of BMC are subjected to similar encoding transformation and then sent to the linux application layer through the serial port, wherein the ASCII text communication protocol adopts the IPMI protocol rule; in addition, the linux application layer adopts a select function to carry out asynchronous reading and writing on the opened serial port file handle. According to the invention, the serial port adopts the ASCII text to perform data communication, and the character enter is adopted to limit the data boundary, so that the serial port has the advantage of high readability.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for managing IPMI based on a serial port. Background technique [0002] IPMI is an Intelligent Platform Management interface (Intelligent Platform Management interface). Users can use IPMI to monitor the physical characteristics of the server, such as temperature, voltage, fan working status, power supply, and chassis intrusion. The core of IPMI is a dedicated chip / baseboard management controller (Baseboard Management Controller, BMC), which is independent of the CPU, BIOS and OS, so users can monitor the server as long as it is powered on or off. . IPMI is a normative standard formulated by companies such as Intel, Hewlett-Packard, NEC, Dell Computer and SuperMicro, and its latest version is IPMI2.0. [0003] The traditional implementation of ipmi under linux consists of the following kernel modules: ipmi_msghandler, ipmi_devintf, ipmi_serial and ipmi_serial_codec. These ke...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/10G06F11/30G06F9/30G06F13/42
CPCG06F9/30025G06F11/1004G06F11/3058G06F11/3089G06F13/4282
Inventor 王乾马红兵
Owner NANJING BALANCE NETWORK TECH CO LTD