Serial port communication method and terminal

A serial port communication and serial port technology, applied in the Internet field, can solve the problem of difficult to determine which serial port device corresponds to which serial port number, reduce the success rate of communication between the main terminal and the serial port device, etc., to achieve the effect of improving the success rate

Active Publication Date: 2015-07-29
LAUNCH TECH CO LTD
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the serial port number is randomly assigned by the main terminal, when the main terminal is connected to multiple serial port devices, it will be difficult for the user to determine which serial port device corresponds to which serial port number; it is easy for the user to choose the wrong serial port number in the process of manually selecting the serial port number. Therefore, manual selection of the serial port number of the serial device by the user will reduce the success rate of communication between the main terminal and the serial device

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
  • Serial port communication method and terminal
  • Serial port communication method and terminal
  • Serial port communication method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The technical solutions of the present invention will be clearly and completely described below in conjunction with the drawings and embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] The embodiment of the present invention discloses a serial port communication method and a terminal, which can automatically obtain the serial port number corresponding to the serial port device, avoid the user from manually selecting the serial port number corresponding to the serial port device, and can improve the success rate of communication between the main terminal and the serial port device. Each will be described in detail below.

[0025] See figure 1 , figure 1 It is a...

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 communication method and terminal. The method includes the steps: receiving a first control instruction inputted by a user according to a target serial port device; acquiring a serial port number corresponding to identification information of the target serial port device according to a mapping relation between a pre-stored serial port number and identification information of a serial port device; transmitting the first control instruction to the target serial port device according to the serial port number corresponding to the identification information of the target serial port device to control the target serial port device to execute target operations according to the first control instruction. The first control instruction carries the identification information of the target serial port device. The serial port number corresponding to the serial port device can be automatically acquired, a user does not need to manually select the serial port number corresponding to the serial port device, and the success rate of communication between a main terminal and the serial port device can be increased.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a serial port communication method and a terminal. Background technique [0002] Serial interface, referred to as serial port, refers to the sequential transmission of data bit by bit. Its characteristic is that the communication line is simple, as long as a pair of transmission lines can realize two-way communication, which greatly reduces the cost, and is especially suitable for long-distance communication. [0003] In practical applications, users often connect the main terminal with multiple serial devices through the serial port, and control the serial devices through the main terminal. When each serial port device is connected to the main terminal through the serial port, the main terminal will randomly assign a corresponding serial port number to each serial port device. In the prior art, when the master terminal controls a serial port device, the user needs to manua...

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 Applications(China)
IPC IPC(8): H04L12/28H04L29/06
Inventor 刘均张业进邓芳鸿
Owner LAUNCH 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