Communication port connection method and device

The invention provides a communication port connection method and device, wherein, the method comprises the following steps: obtaining a port list and a communication baud rate list of a target device; Determining a target port according to the port list; Determining a baud rate of the target port a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HUANG BINGNAN, OU XIANGZHU, CHEN JIANFENG, WANG ZHIPENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a communication port connection method and device, wherein, the method comprises the following steps: obtaining a port list and a communication baud rate list of a target device; Determining a target port according to the port list; Determining a baud rate of the target port according to the communication baud rate list; performing communication with the target port set at adetermined baud rate. The scheme solves the problem that the existing software needs the user to select the port number and set the baud rate, which leads to the low efficiency, and achieves the technical effect that the software automatically identifies the port and the baud rate, so as to realize the automatic connection. 本发明提供了种通讯端口连接方法和装置,其中,该方法包括:获取目标设备的端口列表和通讯波特率列表;根据所述端口列表,确定目标端口;根据所述通讯波特率列表,确定所述目标端口的波特率;以所述目标端口设置在确定的波特率,进行通讯。通过上述方案解决了现有的软件需要用户选择端口号,设置波特率而导致的效率低下的问题,达到了软件自动识别端口和波特率,以实现自动连接的技术效果。