Data receiving and transmitting methods, devices and equipment

A technology of sending method and receiving method, applied in the field of communication, can solve problems such as packet loss, and achieve the effect of solving packet loss

Inactive Publication Date: 2018-06-29
SHENZHEN SINOBRY ELECTRONICS LTD
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a data sending and receiving method, device and equipment to sol

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 receiving and transmitting methods, devices and equipment
  • Data receiving and transmitting methods, devices and equipment
  • Data receiving and transmitting methods, devices and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] image 3 The implementation flow of the data sending method provided by Embodiment 1 of the present invention is shown, and the details are as follows:

[0030] In step S101, a sequence number for identifying the sending sequence of the data packet is added to the header of the sent data packet, and the sequence number is used by the receiving end to identify the unreceived data packet.

[0031] The sending end sends data to the receiving end in the form of sending a data packet, that is, the sending end stores the data to be sent in the data packet for transmission, and the sending end sends a data packet to the receiving end each time. In order to enable the receiving end to determine whether any data packets have not been received, in the embodiment of the present invention, a sequence number for identifying the sending order of the data packets is added to the packet header of the data packets sent by the sending end, and then the receiving end It is judged whether...

Embodiment 2

[0044] Figure 6 It shows the implementation process of the data receiving method provided by the second embodiment of the present invention. The data receiving method provided by the second embodiment of the present invention corresponds to the data sending method provided by the first embodiment of the present invention, and the contents are applicable to each other. The details are as follows:

[0045] In step S201, the data packet sent by the sending end is received, and the sequence number located in the packet header of the data packet is obtained, and the sequence number is used to identify the sending sequence of the data packet.

[0046] The receiving end corresponds to the sending end, the sending end sends data, and the receiving end receives the data sent by the sending end. Therefore, the receiving end can also be a computer, mobile phone or tablet computer, that is, the receiving end can also be any terminal that supports the modified protocol, and the receiving...

Embodiment 3

[0061] Figure 7 The data sending apparatus 100 provided by the third embodiment of the present invention is shown, including an adding unit 110 , a storage unit 120 and a sending unit 130 .

[0062] The adding unit 110 is configured to add a sequence number for identifying the sending sequence of the data packet in the packet header of the sent data packet, and the sequence number is used by the receiving end to identify the unreceived data packet;

[0063] The storage unit 120 is configured to store the sequence number of the unreceived data packet into a preset packet loss list if the receiving end returns the sequence number of the unreceived data packet;

[0064] The sending unit 130 is configured to detect whether the packet loss link list is empty, and if the packet loss link list is not empty, send the data packet corresponding to the sequence number stored in the packet loss link list to the receiving end.

[0065] When using the UDP protocol for data transmission, t...

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 is applicable to the field of communication technology, and provides data receiving and transmitting methods, devices and equipment. The data transmitting method comprises the steps of:adding a sequence number for identifying a transmitting sequence of a data packet to a packet header of the transmitted data packet, wherein the sequence number is used for identifying the unreceiveddata packet by a receiving end; if the receiving end returns the sequence number of the unreceived data packet, storing the sequence number of the unreceived data packet to a preset packet loss list;detecting whether the packet loss list is empty, and if the packet loss list is not empty, transmitting the data packet corresponding to the sequence number stored in the packet loss list to the receiving end. According to the method, a packet loss list is created at a transmitting end to store the sequence number of the data packet that is not received by the receiving end, and then the sequencenumber in the packet loss list is transmitted to solve the problem of packet loss during transmission using a user datagram protocol in the prior art.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a data sending and receiving method, device and equipment. Background technique [0002] In the field of computer communication technology, in order to realize the communication between one host and another host in the network, that is, the communication between the sending end and the receiving end, it is necessary to set up a network protocol. Among them, a network protocol is a collection of rules, standards or agreements established by hosts at different ends of a computer network for data exchange. For example, if a microcomputer user communicates with a mainframe operator in the network, since the two data terminals use different character sets, the commands entered by the operators do not know each other. In order to enable the two parties to communicate, it is stipulated that each terminal must first convert the characters in its own character set to th...

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
IPC IPC(8): H04L1/08H04L29/06
CPCH04L1/08H04L69/164
Inventor 李俊
Owner SHENZHEN SINOBRY ELECTRONICS LTD
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