A Data Communication Method Based on TCP

A technology of data communication and communication link, which is applied in the field of data communication based on TCP, and can solve problems such as flexible expansion, tailoring and interference monitoring system of business types and quantities, increased development difficulty and debugging difficulty, etc. , to achieve the effects of simplifying business data management methods, avoiding redundant code development, and high program execution efficiency

Active Publication Date: 2022-03-18
THE 41ST INST OF CHINA ELECTRONICS TECH GRP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the above method, the main disadvantages are: firstly, the communication functions of the server and the client of TCP in the electromagnetic spectrum monitoring system are implemented by developing and implementing the server program and the client program respectively. One is divided into two, and the communication function between the server and the client is realized in the program framework of the corresponding role.
This increases development costs and debugging costs. Developers with different roles need to embed TCP communication functions in their respective program frameworks, and jointly debug and verify indicators such as communication reliability and speed.
Secondly, the communication function between the server and the client is mixed with other businesses on the local role side in a program framework. The business functions are not independent, and the data interaction interface is not unified. If the business functions change, the communication functions may be changed synchronously in order to meet the needs. It is not easy to realize flexible expansion and tailoring of business types and quantities, which interferes with the development of the pure business layer in the monitoring system and reduces development efficiency
Again, in actual business scenarios, a large amount of data or continuous data transmission (for example: automatic monitoring) is required, and based on the above-mentioned communication function implementation method, it is necessary to open up a separate The fast information path meets the real-time requirements of data transmission. This cross-program data communication development method undoubtedly increases the difficulty of development and debugging.

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 Data Communication Method Based on TCP
  • A Data Communication Method Based on TCP
  • A Data Communication Method Based on TCP

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] One embodiment of the present invention is to provide a TCP data communication method based on the framework implemented by QT plug-in technology, through which the flexible networking of monitoring nodes, servers, and clients can be realized to meet the data interaction requirements between roles in the monitoring network , to ensure communication reliability and speed.

[0044] QT is a cross-platform C++ graphical user interface application framework developed in 1991. With its excellent development performance, it has become the mainstream of current cross-platform application development tools. QT plug-in is a technology based on QT, based on this technology, it can realize the dynamic library of one or more interfaces, and the communication between the dynamic library and the main program.

[0045] The electromagnetic spectrum monitoring system based on the QT plug-in can be divided into two parts: the main program framework and the business function plug-in collec...

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 data communication method based on TCP in an electromagnetic spectrum monitoring system, comprising the following steps: step 1: creating included items and public interface files; step 2: implementing a TCP communication function module in the main frame; step 3: Generate application executable files and plug-in dynamic link libraries; Step 4: Set up a center and node monitoring network to test the remote communication function. By adopting the technical solution of the present invention, the communication function is realized in the main frame, and a remote communication link is established, and the data interaction between the frame and the business function is realized through only one public interface file. This method realizes the communication function and the business function. Isolation ensures the independence and commonality of communication functions, simplifies the implementation logic of communication functions, reduces the number of data communication links, and effectively improves the communication rate.

Description

technical field [0001] The invention relates to the technical field of electromagnetic spectrum monitoring, in particular to a TCP-based data communication method in an electromagnetic spectrum monitoring system. Background technique [0002] TCP (Transmission Control Protocol, Transmission Control Protocol) is a low-level network protocol for data transmission, and is a connection-oriented, reliable, byte-stream-based communication protocol. The so-called connection-oriented means that a connection must be established before the data is transmitted, and then the data is transmitted, and the connection needs to be disconnected after the transmission is completed. TCP programming is generally divided into client and server, the so-called C / S (Client / Server) model. Before sending and receiving data, the client needs to establish a TCP connection with the server, that is, through the mutual transmission of three data packets between the client and the server, commonly known as...

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): H04L69/16H04L67/141H04L69/163H04L67/146
CPCH04L69/16H04L67/141H04L69/163H04L67/146
Inventor 赵明芳刘军杨青王瑞霞赵世伟
Owner THE 41ST INST OF CHINA ELECTRONICS TECH GRP
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