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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com