Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data transfer method and device and electronic device

A data transmission method and data technology, applied in the field of data transmission, can solve the problems such as the number of retransmissions reducing transmission efficiency, transmission failure, etc., to reduce the repeated transmission of messages, improve data transmission performance, and improve transmission reliability and transmission efficiency. Effect

Active Publication Date: 2018-01-23
NEW H3C TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In particular, when the network delay exists intermittently, the number of retransmissions will continue to increase, which will seriously reduce the transmission efficiency and even lead to transmission failure.

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 transfer method and device and electronic device
  • Data transfer method and device and electronic device
  • Data transfer method and device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] In the embodiment provided by the present invention, the concept of a local timer is firstly defined, which is described as follows:

[0054] Local timer: The local timer is a timer based on the time when the data transmission connection is established. It is used to record the time difference of the latest locally sent message relative to the time base point, so as to identify the message sending order of the client or server. For example, in the operation of writing a request message, the client's timer time base point can be set to the moment when the first data message is sent to the server, and the server's timer time base point can be set to send the first data confirmation message time to the client.

[0055] In order to describe the data transmission process clearly, in this embodiment, the receiver that receives the data message is called the local end, and the local timer of the local end is called the local timer; the sender that sends the data message is cal...

Embodiment 2

[0066] In the embodiment provided by the present invention, concepts such as local timer, client timeout period, and server timeout period are firstly defined, wherein the definition of the local timer is the same as that in Embodiment 1, and will not be repeated here. For ease of description, the client's local timer is denoted as LTC, and the server's local timer is denoted as LTS.

[0067] The client timeout time and server timeout time are described as follows:

[0068] Client timeout time (TC for short): the timeout time set by the client, if no response from the server is received beyond this time, retransmission will be initiated.

[0069] Server timeout time (TS for short): the timeout time set by the server, if no response from the client is received beyond this time, retransmission will be initiated.

[0070] Wherein, since the timeout period of the client and the server can be customized by different vendors, the timeout periods of the two are not necessarily the s...

Embodiment 3

[0112] Figure 4 A schematic structural diagram of a data transmission device provided by an embodiment of the present invention is shown. Such as Figure 4 As shown, the data transmission device includes:

[0113] A data receiving module 11, configured to receive a data message, which includes data block number information and peer timer information;

[0114] The information comparison module 12 is used to compare the peer timer of the current data message when the data block number information in the current data message received is the same as the data block number information in the previous data message that has been received Whether the information is earlier than the peer timer information of the previous data message;

[0115] The first refusal to send module 13 is configured to not send a data confirmation message when the peer timer information of the current data message is earlier than the peer timer information of the previous data message.

[0116] Further, 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 provides a data transfer method and device and an electronic device and relates to the technical field of data transfer. The data transfer method comprises the steps of receiving a datamessage, wherein the data message comprises data block number information and opposite end timer information; comparing whether the opposite end timer information of the current data message is earlier than the opposite end timer information of the previous data message or not if the data block number information in the received current data message is the same as that in the received previous data message; and not sending a data acknowledgement message if the opposite end timer information of the current data message is earlier than the opposite end timer information. According to the data transfer method and device and the electronic device provided by the embodiment of the invention, the repeated message transfer resulting from network congestion or time delay can be effectively reduced, and the transfer reliability and transfer efficiency are improved.

Description

technical field [0001] The present invention relates to the technical field of data transmission, in particular to a data transmission method, device and electronic equipment. Background technique [0002] TFTP (Trivial File Transfer Protocol, Simple File Transfer Protocol) is a lightweight file transfer protocol based on UDP (UserDatagram Protocol, User Datagram Protocol), similar to FTP (File Transfer Protocol, File Transfer Protocol) but only Supports file upload and download functions, and does not include directory operations and user permissions in FTP. TFTP is often used in an environment that does not require high security and transfers small files. Especially in the enterprise internal network management system, the frequency of use is very high, and it is mainly used for network device software backup, upgrade, and configuration file backup and distribution. [0003] Although TFTP is based on UDP, each data packet has a confirmation mechanism, which can achieve a...

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/18H04L1/16H04L29/08
Inventor 王玲
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products