Unlock instant, AI-driven research and patent intelligence for your innovation.

A data communication system and method capable of resumed data transmission

A data communication system, a technology of continuous transmission from breakpoints, applied in the field of data communication, which can solve the problems of time-consuming, low efficiency, and multiple bandwidth resources.

Active Publication Date: 2021-10-22
CHENGDU ZHONGQIAN AUTOMATION ENG
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This operation needs to consider two issues: first, it is necessary to know when the connection state between the client and the server is lost. The data transmission process is still carried out. Obviously, the data sent at this time has not been received by the server (but the client will think that the server has received it); second, in order to prevent the data transmission failure of the client due to disconnection, it is necessary to consider storing the data in advance. The sent data is backed up, waiting for the network to recover and resume the breakpoint data
This query method is not only time-consuming but also consumes too much bandwidth resources. Every time the normal sending and receiving of business data will first perform a status query, the efficiency is very low. If the amount of data to be sent is large and the sending frequency is high, this This method will lead to a large amount of data accumulation, which is not feasible in practical applications

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 system and method capable of resumed data transmission
  • A data communication system and method capable of resumed data transmission
  • A data communication system and method capable of resumed data transmission

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031]A data communication system capable of resuming transmission from breakpoints, including communication between the client and the server, and communication between the client and the server. A heartbeat mechanism is added to the client to monitor the network connection status between the client and the server; Send to the server, and at the same time establish a save queue in the client to save the sent data packets, the server will store the successfully received data in the database in chronological order and return the response data packet; the client judges whether there is In the case of a network failure, find the data packets that were not sent successfully when the network failure occurred in the storage queue, and resend to complete the resuming of the breakpoint.

[0032] In this embodiment, the client runs the production data sending thread (or process), and sends the current production data after each job step ends. Since the job steps are carried out in chro...

Embodiment 2

[0036] On the basis of Embodiment 1, the heartbeat mechanism is specifically: the client runs a heartbeat signal to maintain a thread or process to send a heartbeat packet to the server every Th seconds, and waits for the server to reply to a pre-agreed response packet. If a response packet is received within the specified timeout period, it can be judged that the current network connectivity is good, and the current server-side program is working normally; otherwise, it means that the network is interrupted; the specified timeout period can be set according to requirements.

Embodiment 3

[0038] On the basis of embodiment 2, the storage queue is Q=(a 1 ,a 2 ,...,a n ),a 1 It is the head element of the queue, which is the first packet to enter the queue; a n is the tail element of the queue, which is the last data packet entering the queue. In addition to the content of the data packet itself, each queue element is also attached with the sending timestamp of the data packet. In order to ensure that the implementation of each element ai in the queue is convenient and feasible, the size of a single element in the queue is set to the maximum number of bytes of the sent data packet, and the length of the queue is saved at the same time to initialize n; the client sends a real-time data packet each time , the data packets sent will be inserted into the tail of the storage queue Q, and the storage queue Q will be filled after the client sends n data packets, and the subsequent data packets will enter the queue sequentially through the tail of the queue, and the dat...

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 present invention provides a data communication system capable of resuming transmission from breakpoints, including a client and a server, communication between the client and the server, a heartbeat mechanism is added to the client to monitor the network connection status between the client and the server; the client connects itself The generated data is sent to the server in real time, and at the same time, a storage queue is established in the client to save the sent data packets. The server stores the successfully received data in the database in chronological order and returns a response packet; the client receives the reply packet according to Judging whether there is a network failure according to the situation, find the data packets that were not sent successfully when the network failure occurred in the storage queue, and resend to complete the breakpoint resume. The solution proposed by the invention can meet the system-intensive real-time operation requirements widely existing in the industrial automation system, improve the transmission efficiency and reduce the loss of real-time data as much as possible.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a data communication system and method capable of resuming transmission from breakpoints. Background technique [0002] Whether it is long-distance network data communication or short-distance data communication between devices, the logical relationship between communication entities can usually be divided by client and server. In a simple system, servers and clients exist one-to-one; in complex systems, servers and clients exist one-to-many. The application background of the present invention is the welding operation process of a certain welding robot. The welding robot (as a client) needs to send relevant information of the current welding torch (welding torch information, welding wire information, gas information, nozzle information, welding torch speed) during the operation and after the operation is completed. Position temperature, weld width and height, power consumption,...

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/08H04L12/26
CPCH04L43/10H04L67/06
Inventor 李驹光吴金华唐东明刘湛
Owner CHENGDU ZHONGQIAN AUTOMATION ENG
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