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

Method and device for receiving data message

A data message and receiving method technology, applied in the electronic field, can solve the problems of repeated data retransmission, waste of network resources, unstable use, etc., to reduce interaction, avoid packet loss, and improve efficiency.

Active Publication Date: 2022-04-08
TENDYRON CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under the existing communication protocol, after sending a data packet, the sending end needs to wait for an ACK response from the receiving end before continuing to send the next data packet. The sending end and the receiving end must have a data interaction. Strong, but less efficient
Moreover, in the case of poor network conditions, data will be retransmitted multiple times, the use is unstable, and network resources are wasted

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 and device for receiving data message
  • Method and device for receiving data message
  • Method and device for receiving data message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] This embodiment provides a data sending method. like figure 1 As shown, the data sending method includes the following steps (S101-S105):

[0043] S101. Obtain a message to be transmitted, where the message to be transmitted consists of N data packets;

[0044] In this embodiment, the message to be transmitted may be a TCP / IP protocol message, or may be a User Datagram Protocol (User Datagram Protocol, UDP for short) message. Wherein, the message to be transmitted may be divided into N data packets, where N is a positive integer.

[0045] Among the existing UDP transmission protocols, the UDP protocol is a connectionless transport layer protocol in the Open System Interconnection (OSI) reference model, which provides simple and unreliable information transmission services. It is used to process UDP data packets in the same way as TCP / IP protocol in the network. However, UDP does not provide data packet grouping, assembly, and cannot sort data packets. That is to say...

Embodiment 2

[0067] This embodiment provides a method for receiving data packets. The data packet receiving method corresponds to the data sending method provided in Embodiment 1. like Figure 5 As shown, the data message receiving method includes the following steps (S201-S205):

[0068] S201. Set S cache units in advance, and sequentially number the S cache units, wherein one cache unit is used to store one data packet;

[0069] In this implementation, in order to store N data packets of the message to be transmitted in Embodiment 1, the receiving end presets S buffer units, where S is a positive integer and should be greater than or equal to N. The receiving end sequentially numbers the S cache units 1, 2, ... S in advance, and the numbers of the first N cache units in the S cache units correspond to the numbers of the N data packets one by one, and one cache unit is used to store a The data packet, and the data packet can only be stored in the cache unit corresponding to its number....

Embodiment 3

[0090] This embodiment also provides a data transmission system. like Image 6 As shown, the system includes a data sending device and a data message receiving device, wherein the data sending device can be applied to the data sending method of Embodiment 1, and the specific structure is as follows Figure 7 As shown, the data message receiving device can be applied to the data message receiving method of Embodiment 2, and the specific structure is as follows Figure 8 shown. For the specific functions of the data sending device and the receiving device, refer to the specific descriptions in Embodiments 1 and 2. This embodiment is only briefly described.

[0091] like Figure 7 As shown, the data sending device includes:

[0092] The obtaining module is used to obtain the message to be transmitted, and the message to be transmitted is composed of N data packets;

[0093] The data packet processing module is used to number the N data packets sequentially, and perform check ...

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 message receiving method and device, the method comprising: presetting S cache units, and sequentially numbering the S cache units; receiving transmission data packets, the transmission data packets include Q data packets, wherein, The packet header of each data packet includes at least the number of the data packet and the data packet check value; the data packet check comparison value of each data packet is calculated by one of the following methods: the number and data of the data packet are checked and calculated to obtain The data packet check comparison value; or, the data of the data packet is checked and calculated to obtain the data packet check comparison value; the data packet check value and the data packet check comparison value of each data packet are compared, if If they are all consistent, it is judged in turn whether there are data packets stored in the cache units corresponding to the numbers of the Q data packets, and the data packets corresponding to the numbers are stored in the cache units that do not store the data packets, and the cache units that have stored the data packets are discarded. The data packet corresponding to the number.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a data message receiving method and device. Background technique [0002] In the existing network data transmission, every time the transport layer transmits a data packet, the receiving end returns a corresponding ACK (Acknowledgment, confirmation character) response to the successfully received data packet; if the sending end is within a reasonable round-trip delay ( If the ACK response is not received within the Round-Trip Time (abbreviated as RTT), then the corresponding data packet is assumed to be lost and will be retransmitted. Under the existing communication protocol, after sending a data packet, the sending end needs to wait for an ACK response from the receiving end before continuing to send the next data packet. The sending end and the receiving end must have a data interaction. Strong, but the transmission efficiency is low. Moreover, in the case of poor networ...

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): H04L1/18H04L1/00
CPCH04L1/1806H04L1/189H04L1/187H04L1/1835H04L1/0061
Inventor 李东声
Owner TENDYRON CORP