Data transmission method and device based on TCP protocol, electronic equipment and medium

A data transmission method and protocol technology, applied in the field of communication, can solve problems such as low efficiency, large data volume, and failure to meet actual needs, and achieve the effect of solving low data transmission efficiency and high-efficiency transmission

Pending Publication Date: 2022-05-13
上海新时达机器人有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

TCP uses bytes as the transmission unit. In the codesys-based engineering application of STEP robot controllers, the amount of data expressed by a single byte is too small to meet the actual needs.
If the mode of sending and receiving is adopted to transmit data, when the amount of data is large or the real-time requirements are high, it will lead to low efficiency. The interaction method of question and answer is not advisable

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
  • Data transmission method and device based on TCP protocol, electronic equipment and medium
  • Data transmission method and device based on TCP protocol, electronic equipment and medium
  • Data transmission method and device based on TCP protocol, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present invention, and the various embodiments can be combined and referred to each other on the premise of no contradiction.

[0017] When the data tr...

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 embodiment of the invention relates to the technical field of communication, and discloses a data transmission method and device based on a TCP protocol, electronic equipment and a medium. The data transmission method based on the TCP protocol comprises the following steps: creating a first data area according to a first data area format negotiated with a communication opposite terminal in advance; the first data area is used for storing data read from the communication opposite terminal; establishing a first transmission control protocol TCP connection with the communication opposite terminal; reading data in a first specified area of a first specified data area from the communication opposite terminal through the first TCP connection, and writing the read data into the first specified area in the first data area; the format of the first specified data area is the first data area format. Data transmission is carried out in the data areas of the communication home terminal and the communication opposite terminal, TCP communication and communication protocol formats of the communication home terminal and the communication opposite terminal do not need to be built, and efficient transmission of data streams between the communication home terminal and the communication opposite terminal can be achieved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communication, and in particular to a data transmission method, device, electronic equipment and medium based on the TCP protocol. Background technique [0002] Based on the most basic and efficient transmission method between devices, the transmission control protocol (Transmission Control Protocol, referred to as TCP) is used to communicate through the network port. But the biggest problem with using the TCP protocol is that TCP is transmitted in "stream" mode. In the same network flow, TCP can only guarantee byte information, and the order between bytes will not change. TCP uses bytes as the transmission unit. In the codesys-based engineering application of STEP robot controllers, the amount of data expressed by a single byte is too small to meet actual needs. If the mode of sending and receiving is adopted to transmit data, when the amount of data is large or the real-time ...

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): H04L69/163H04L69/24H04L67/14
CPCH04L69/163H04L69/24H04L67/14
Inventor 黄俊仁刘魁星王梦涛
Owner 上海新时达机器人有限公司
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