Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method, system and readable storage medium for realizing communication between PC terminal and remote device

A remote device and PC-side technology, applied in the field of communication, can solve the problems of complex development process, low versatility, and relatively high ability requirements of developers, and achieve the effect of high versatility and simple development process

Active Publication Date: 2021-12-07
QKM TECH (DONG GUAN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Based on the existing technology, developers often need to realize the TCP / IP network communication server / client of various remote devices on the PC control program software side for each remote device during the development process of the PC control program as the control center Customized development such as terminal creation, mutual connection, sending data, receiving data, connection disconnection reconnection mechanism, command parallel processing, etc. The development process is complex and requires relatively high ability of developers, and the developed software is all for specific devices Customized products with low versatility

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
  • Method, system and readable storage medium for realizing communication between PC terminal and remote device
  • Method, system and readable storage medium for realizing communication between PC terminal and remote device
  • Method, system and readable storage medium for realizing communication between PC terminal and remote device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] This embodiment provides a system for realizing communication between a PC terminal and a remote device, such as figure 1 As shown, including the PC end and the remote device, the PC end and the remote device can communicate in two directions. The PC end includes the server end and the client end. The PC end control program is designed for server / client creation, interconnection between the PC end and remote devices, sending data / receiving data, and encapsulating the received data to become a packaged communication module. The communication module provides a server configuration file. Users can set the IP address of the PC and two server ports as the server of the communication module. Each server port can accept a user-defined number of client connections to meet the corresponding requirements. Communication needs. There is an instruction storage area at the bottom of the communication module, which can connect the data request end and the action execution end, store...

Embodiment 2

[0039] This embodiment provides a method for realizing communication between a PC terminal and a remote device. The PC terminal includes a server terminal, and the server terminal includes a first server port. Such as figure 2 As shown, the method includes the following steps:

[0040] S100. The first server port accepts the connection of the remote device, and performs point-to-point communication with the remote device, so that data is received and sent between the server and the remote device;

[0041] S200. The server matches and groups the received data according to the predefined groups, and stores them according to the remote device number and the data group number;

[0042] S300. After processing the data, the server sends the processed data to the corresponding remote device according to the remote device number and the data packet number.

[0043] Further, the server also includes a second server port. Such as image 3 As shown, the method also includes the foll...

Embodiment 3

[0070] On the basis of Embodiment 2, in this embodiment, the PC end also includes a client, such as Figure 4 As shown, the method for realizing communication between the PC terminal and the remote device also includes the following steps:

[0071] S700. The client initiates a connection to the remote device, and performs point-to-point communication with the remote device, so that data is received and sent between the server and the remote device;

[0072] S800. The client matches and groups the received data according to the predefined groups, and stores them according to the remote device number and the data group number;

[0073] S900. After processing the data, the client sends the processed data to the corresponding remote device according to the remote device number and the data packet number.

[0074] In step S700, the difference between the client and the server is that the client can actively initiate a connection with the remote device, while the server can only pa...

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 method, a system and a readable storage medium for realizing communication between a PC terminal and a remote device, and relates to the technical field of communication. The method includes: the first server port accepts the connection of the remote device, and performs point-to-point communication with the remote device; the server matches and groups the received data according to the predefined groups, and stores them according to the remote device number and the data group number; the service After processing the data, the terminal sends the processed data to the corresponding remote device according to the remote device number and the data packet number. The present invention encapsulates functions such as server / client creation, PC-end and remote device interconnection / send data / receive data, and received data grouping through the PC-side control program to become a packaged communication module, thereby realizing the The data receiving and sending between the server end of the communication module and the remote device, and the grouping and storage of the received data, the development process is simple and the versatility is high.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method, a system and a readable storage medium for realizing communication between a PC terminal and a remote device. Background technique [0002] TCP / IP: Transmission Control Protocol / Internet Protocol, also known as the Internet Protocol Suite, which enables each device connected over a network to communicate with every other such device simultaneously, in accordance with this protocol. [0003] Socket: Two programs on the network exchange data through a two-way communication connection, and one end of this connection is called a Socket. [0004] In the control process of existing automation equipment, PC control programs and remote equipment such as robots are often used for network communication and interaction through TCP / IP to realize action and logic control. Based on the existing technology, developers often need to realize the TCP / IP network communication serve...

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): H04L29/06H04L29/08
CPCH04L67/104H04L69/162
Inventor 李家清石金博邬荣飞
Owner QKM TECH (DONG GUAN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More