Inter-device communication method and device based on serial port

A technology of inter-device communication and serial port, which is applied in the field of computer communication, can solve the problems of low efficiency and high cost, and achieve the effect of reducing time cost, improving work efficiency, and realizing self-adaptive communication

Pending Publication Date: 2021-07-20
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a serial port-based inter-device communication method and device to solve the problem of high cost and low efficiency of serial port-based communication between network devices in the prior art

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
  • Inter-device communication method and device based on serial port
  • Inter-device communication method and device based on serial port
  • Inter-device communication method and device based on serial port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Aiming at the problem of high cost and low efficiency of communication between network devices based on serial ports in the prior art, the method for communicating between devices based on serial ports provided by the embodiment of the present invention obtains the baud rate of the serial port of the first network device, and The baud rate of the serial port of the first network device is notified by broadcasting the baud rate through the serial port connected to the second network device, so that the baud rate of the serial port of the second network device is set to the baud rate value to realize the second Adaptive communication between a network device and a second network device. The flow process of the inventive method is as figure 1 As shown, the execution subject of this step can be realized by a programmable logic device (Complex Programmable Logic Device, CPLD), and the CPLD is respectively connected to the first network device and the second network device th...

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 an inter-device communication method and device based on a serial port, and the method comprises the steps: receiving a start-up character sent by a first network device through the serial port of the first network device when the first network device is started up; carrying out sampling analysis on the startup character according to a plurality of preset baud rates to obtain an analysis result corresponding to each baud rate; when the analysis result of the first Baud rate meets a preset condition, determining that the first Baud rate is the Baud rate of the serial port of the first network equipment; and broadcasting the first Baud rate to a second network device through a serial port of the second network device by adopting the plurality of Baud rates, so that the second network device sets the Baud rate of the serial port of the second network device as the first Baud rate. According to the embodiment of the invention, the problems of high cost and low efficiency of communication between network devices based on serial ports can be solved.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to a serial port-based inter-device communication method and device. Background technique [0002] The high-end switch in the data center usually contains two control processors, the Baseboard Management Controller (BMC) and the Central Processing Unit (CPU). Monitoring of system status such as temperature sensors and fans, as well as power-on and power-off operations. The role of the CPU is to manage each chip, as well as the management and monitoring of data flow. [0003] The external computer needs to communicate with the switch through the channel of the serial port to realize data interaction. In order to receive and send data correctly, the baud rate of the serial port of the external computer must be consistent with the baud rate of the BMC or CPU of the switch. [0004] The current implementation method is that the external computer must know the baud rate...

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
IPC IPC(8): H04L12/931
CPCH04L49/20H04L49/35
Inventor 陈界光胡守锋江楠
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products