CN108199811A - A kind of data transmission method - Google Patents
A kind of data transmission method Download PDFInfo
- Publication number
- CN108199811A CN108199811A CN201711466513.1A CN201711466513A CN108199811A CN 108199811 A CN108199811 A CN 108199811A CN 201711466513 A CN201711466513 A CN 201711466513A CN 108199811 A CN108199811 A CN 108199811A
- Authority
- CN
- China
- Prior art keywords
- data
- sending terminal
- packet
- receiver
- sent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/1607—Details of the supervisory signal
- H04L1/1628—List acknowledgements, i.e. the acknowledgement message consisting of a list of identifiers, e.g. of sequence numbers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses a kind of data transmission method, including:Data sending terminal is sent with numbered data packet, data receiver received data packet and the total data packet number arrived to data sending terminal feedback reception, data sending terminal compares the package number of the package number sent and data receiver feedback, it obtains the package number of packet loss, and retransmits.Data are divided into data packet by a certain byte number by data sending terminal and numbered by the present invention, again data receiver is delivered a packet to by the number order of data packet, the package number received is fed back to data sending terminal by data receiver, the package number that data sending terminal is fed back according to data receiver judges packet drop and the data re-transmitting to packet loss, and accumulative confirmation or ACK overtime timers without relying on multiple DACK carry out trigger data repeating transmission, greatly promote data transmission bauds, stability, real-time and success rate.
Description
Technical field
The present invention relates to technical field of data transmission more particularly to a kind of data transmission methods.
Background technology
Traditional TCP-IP agreements be not only used as transmitting message sequence the byte count of transmission but also as transmittings
Confirmation mark, this method relies on the accumulative confirmation of multiple DACK or ACK overtime timers come trigger data repeating transmission, while client
End faces extremely complex network environment in the process carried out data transmission with server, as data are easily touched in network transmission
To network congestion and the influence of packet loss, it is particularly likely to encounter in remote transmission, this leads to the number of client and server
According to transmission speed it is slow, be not sufficiently stable, real-time is poor, success rate is not high.
Therefore, the prior art is defective, needs to improve.
Invention content
The technical problem to be solved by the present invention is to:A kind of data transmission method is provided, promotes the number of client and server
According to transmission speed, stability, success rate.
Technical scheme is as follows:A kind of data transmission method is provided, is included the following steps:
S1:The data for needing to send are divided into data packet by a certain fixed word joint number and numbered by data sending terminal, and by volume
Number sequence sends several data packets to data receiver, to package number, it is convenient to each data packet into line trace.
S2:Data receiver is received with numbered data packet, and to the total data that data sending terminal transmits and receives
The number of packet, the data packet that data receiver has received to data sending terminal feedback.
S3:Data sending terminal receives the number of data packet that data receiver is sent, and the package number that will be received
Compared with the package number sent, judge data transmission procedure whether lost data packets.
S4:When data sending terminal judges the non-lost data packets of data transmission procedure, data sending terminal continues suitable according to numbering
Sequence sends subsequent several data packets to data receiver;When data sending terminal judges data transmission procedure lost data packets, number
The data packet of loss and subsequent several continuation are sent to data receiver according to the data packet of number order according to transmitting terminal.
S5:The numbered data packet of band that data sending terminal is sent in data receiver receiving step S4, and sent out to data
The number for the entire packet that sending end transmits and receives.
S6:After data sending terminal receives the total data packet number of data receiver transmission, data sending terminal terminates
Data are sent.
Further, the data transmission method in step S6, further includes:When data sending terminal receives data receiver
During the package number that the package number sent is held to be not all of, data sending terminal repeats step S4 and step S5.
Further, the fixed word joint number is 1024 bytes.
Further, the data are encrypted before step S1, avoid being stolen by data.
Further, the data sending terminal is client or server, the data receiver also for client or
Person's server;When transmitting file is to server in client, client is data sending terminal, and server is data receiver;When
Client from server download file when, the server be data sending terminal, the client be receiving terminal.
Using the above scheme, the present invention provides a kind of data transmission method, and data are pressed a certain byte number by data sending terminal
It is divided into data packet and numbers, then data receiver is delivered a packet to by the number order of data packet, data receiver will connects
The package number received feeds back to data sending terminal, and the package number that data sending terminal is fed back according to data receiver is sentenced
Disconnected packet drop and the data re-transmitting to packet loss, and accumulative confirmation or ACK overtime timers without relying on multiple DACK come
Trigger data is retransmitted, and greatly promotes data transmission bauds, stability, real-time and success rate.
Description of the drawings
Fig. 1 is the flow chart of the present invention;
Fig. 2 is a kind of application scenario diagram of the present invention.
Specific embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Referring to Fig. 1, the present invention provides a kind of data transmission method, include the following steps:
S1:The data for needing to send are divided into data packet by a certain fixed word joint number and numbered by data sending terminal, and by volume
Number sequence sends several data packets to data receiver, to package number, it is convenient to each data packet into line trace.
S2:Data receiver is received with numbered data packet, and to the total data that data sending terminal transmits and receives
The number of packet, the data packet that data receiver has received to data sending terminal feedback.
S3:Data sending terminal receives the number of data packet that data receiver is sent, and the package number that will be received
Compared with the package number sent, judge data transmission procedure whether lost data packets.
S4:When data sending terminal judges the non-lost data packets of data transmission procedure, data sending terminal continues suitable according to numbering
Sequence sends subsequent several data packets to data receiver;When data sending terminal judges data transmission procedure lost data packets, number
The data packet of loss and subsequent several continuation are sent to data receiver according to the data packet of number order according to transmitting terminal.
S5:The numbered data packet of band that data sending terminal is sent in data receiver receiving step S4, and sent out to data
The number for the entire packet that sending end transmits and receives.
S6:After data sending terminal receives the total data packet number of data receiver transmission, data sending terminal terminates
Data are sent.
The data transmission method in step S6, further includes:When data sending terminal receives the number that data receiver sends
During the package number being not all of according to packet number, step S4 and step S5 is repeated.
The fixed word joint number is 1024 bytes.
The data are encrypted before step S1, avoid being stolen by data.
Referring to Fig. 2, the data sending terminal is client 10 or server 20, the data receiver is also client
End 10 or server 20;When transmitting file is to server 20 in client 10, client 10 be data sending terminal, server 20
For data receiver;When client 10 from server 20 download file when, the server 20 be data sending terminal, the client
End 10 is data receiver.
Referring to Fig. 2, when user needs the file being locally stored in disk 30 being transmitted to cloud disk, client 10 is then number
According to transmitting terminal, server 20 is data receiver, and data are divided into data packet and numbered by client 10, are then sent to server
20, the number of data packet that then 20 feedback reception of server arrives is to client 10;When user downloads the file into this from cloud disk 40
During ground storage dish 30, server 20 is data sending terminal, and client 10 is data receiver, and data are divided into data by server 20
It wraps and numbers, be then sent to client 10, the number of data packet that then 10 feedback reception of client arrives is to server 20.
In conclusion the present invention provides a kind of data transmission method, data are divided by data sending terminal by a certain byte number
Data packet is simultaneously numbered, then delivers a packet to data receiver by the number order of data packet, and data receiver will receive
Package number feed back to data sending terminal, the package number that data sending terminal is fed back according to data receiver judges to lose
Packet situation and the data re-transmitting to packet loss, and triggered without relying on accumulative confirmation or the ACK overtime timers of multiple DACK
Data re-transmitting greatly promotes data transmission bauds, stability, real-time and success rate.
The foregoing is merely a prefered embodiment of the invention, is not intended to restrict the invention, it is all the present invention spirit and
All any modification, equivalent and improvement made within principle etc., should all be included in the protection scope of the present invention.
Claims (5)
1. a kind of data transmission method, which is characterized in that include the following steps:
S1:The data for needing to send are divided into data packet by a certain fixed word joint number and numbered, and suitable by number by data sending terminal
Sequence sends several data packets to data receiver;
S2:Data receiver is received with numbered data packet, and the entire packet transmitted and received to data sending terminal
Number;
S3:Data sending terminal receives the number of data packet sent of data receiver, and by the package number received and hair
The package number seen off is compared, judge data transmission procedure whether lost data packets;
S4:When data sending terminal judges the non-lost data packets of data transmission procedure, data sending terminal continuation is sent out according to number order
Subsequent several data packets are sent to data receiver;When data sending terminal judges data transmission procedure lost data packets, data hair
The data packet of loss and subsequent several continuation are sent to data receiver by sending end according to the data packet of number order;
S5:The numbered data packet of band that data sending terminal is sent in data receiver receiving step S4, and to data sending terminal
The number of the entire packet transmitted and received;
S6:After data sending terminal receives the total data packet number of data receiver transmission, data sending terminal terminates data
It sends.
2. a kind of data transmission method according to claim 1, which is characterized in that in step S6, further include:When data are sent out
When sending end receives the package number that the package number that data receiver is sent is not all of, step S4 and step are repeated
S5。
3. a kind of data transmission method according to claim 1, which is characterized in that the fixed word joint number is 1024 words
Section.
4. a kind of data transmission method according to claim 1, which is characterized in that the data carry out before step S1
Encryption.
5. a kind of data transmission method according to claim 1, which is characterized in that the data sending terminal for client or
Person's server, the data receiver are also client or server;When transmitting file is to server in client, client
For data sending terminal, server is data receiver;When client downloads file from server, the server is sent out for data
Sending end, the client are data receiver.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711466513.1A CN108199811A (en) | 2017-12-28 | 2017-12-28 | A kind of data transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711466513.1A CN108199811A (en) | 2017-12-28 | 2017-12-28 | A kind of data transmission method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108199811A true CN108199811A (en) | 2018-06-22 |
Family
ID=62586107
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711466513.1A Pending CN108199811A (en) | 2017-12-28 | 2017-12-28 | A kind of data transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108199811A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109617659A (en) * | 2019-02-12 | 2019-04-12 | 上海奥感电子科技有限公司 | A kind of blind repeating method of data |
CN110311721A (en) * | 2019-06-19 | 2019-10-08 | 海丰通航科技有限公司 | Data transmission method, transmitting terminal, receiving end and data transmission system |
CN110491217A (en) * | 2019-08-02 | 2019-11-22 | 安徽易百互联科技有限公司 | A kind of computer teaching system |
CN111262653A (en) * | 2020-01-07 | 2020-06-09 | 安徽文香信息技术有限公司 | Data packet loss resisting method, sending end, receiving end and related server |
CN112422242A (en) * | 2020-11-15 | 2021-02-26 | 珠海市一微半导体有限公司 | Method for improving security of transmitted data and heterogeneous system |
CN113110369A (en) * | 2021-03-09 | 2021-07-13 | 广东安朴电力技术有限公司 | Hierarchical control system time synchronization method and communication architecture |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101072431A (en) * | 2006-05-08 | 2007-11-14 | 中兴通讯股份有限公司 | Method for preventing wireless bearing data missing |
US20080219267A1 (en) * | 2007-03-06 | 2008-09-11 | Ascen Vision Technology Inc. | Method for transmitting network packets |
CN105790899A (en) * | 2016-02-17 | 2016-07-20 | 北京理工大学 | Fountain code based one-time feedback retransmission method |
CN107425944A (en) * | 2011-10-10 | 2017-12-01 | 国民技术股份有限公司 | Radio frequency link transmission batch data method and system, radio frequency transmission/receiving terminal |
-
2017
- 2017-12-28 CN CN201711466513.1A patent/CN108199811A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101072431A (en) * | 2006-05-08 | 2007-11-14 | 中兴通讯股份有限公司 | Method for preventing wireless bearing data missing |
US20080219267A1 (en) * | 2007-03-06 | 2008-09-11 | Ascen Vision Technology Inc. | Method for transmitting network packets |
CN107425944A (en) * | 2011-10-10 | 2017-12-01 | 国民技术股份有限公司 | Radio frequency link transmission batch data method and system, radio frequency transmission/receiving terminal |
CN105790899A (en) * | 2016-02-17 | 2016-07-20 | 北京理工大学 | Fountain code based one-time feedback retransmission method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109617659A (en) * | 2019-02-12 | 2019-04-12 | 上海奥感电子科技有限公司 | A kind of blind repeating method of data |
CN110311721A (en) * | 2019-06-19 | 2019-10-08 | 海丰通航科技有限公司 | Data transmission method, transmitting terminal, receiving end and data transmission system |
CN110491217A (en) * | 2019-08-02 | 2019-11-22 | 安徽易百互联科技有限公司 | A kind of computer teaching system |
CN111262653A (en) * | 2020-01-07 | 2020-06-09 | 安徽文香信息技术有限公司 | Data packet loss resisting method, sending end, receiving end and related server |
CN112422242A (en) * | 2020-11-15 | 2021-02-26 | 珠海市一微半导体有限公司 | Method for improving security of transmitted data and heterogeneous system |
CN112422242B (en) * | 2020-11-15 | 2022-03-04 | 珠海一微半导体股份有限公司 | Method for improving security of transmitted data and heterogeneous system |
CN113110369A (en) * | 2021-03-09 | 2021-07-13 | 广东安朴电力技术有限公司 | Hierarchical control system time synchronization method and communication architecture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108199811A (en) | A kind of data transmission method | |
CN102395156B (en) | Data transmission methods and device applied between packet data convergence protocol (PDCP) entity and radio link control (RLC) entity | |
US20050185585A1 (en) | Data receiving apparatus and data receiving method | |
CN107257270A (en) | Data transmission method and system based on hybrid automatic repeat-request | |
WO2011028565A4 (en) | Galois/counter mode encryption in a wireless network | |
CN106452688A (en) | Beidou data lost message retransmission method and system | |
CN102006283A (en) | Data transmission method and device | |
EP1746801A3 (en) | Transmission of packet data over a network with a security protocol | |
ES2352587T3 (en) | PROCEDURE FOR THE IMPROVEMENT OF A TCP DATA TRANSMISSION PROCESS IN CASE OF AN INTERRUPTION THE PHYSICAL TRANSMISSION ENVIRONMENT. | |
CN108306715A (en) | A kind of method and system carrying out long file transmission based on Big Dipper generation satellite short message communication function | |
EP2963876A1 (en) | Method for preventing repeated use of digital packet data | |
CN104780028A (en) | Method and equipment for retransmitting TCP (transmission control protocol) data messages | |
CN105933319A (en) | Method and device for transmitting and receiving video data packets | |
KR20130065619A (en) | Method of transporting data from sending node to destination node | |
CN104065643A (en) | Method and system of multimedia network transmission based on tree logic | |
JP2012186839A (en) | Communication method based on udp | |
CN102938791A (en) | Information-transmission-rate-adaptive-control file transferring method for 3D (Three-Dimensional) television content | |
CN105227276B (en) | A kind of peer-to-peer network data transmission method based on UDT | |
CN106789916A (en) | Network transmission method and device based on UDP (user Datagram protocol), and network transmission method and device | |
CN103368690B (en) | The transmission method of the audio/video information of mobile unit | |
CN110719228B (en) | Big data packet transmission method and device based on real-time data distribution service | |
MX2021007683A (en) | Data retransmission indication and processing method and device. | |
CN103297348A (en) | Method for preventing ESP/AH (encapsulating security payload/ authentication header) packet fragmentation | |
RU2009132357A (en) | PROCESSING THE SENDING REPORT IN THE PROTOCOL OF INITIATING SESSIONS OF TRANSFER OF SHORT MESSAGES | |
CN105553986A (en) | UDP-based multi-addressing limited real-time node communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180622 |