[go: up one dir, main page]

CN105356975A - Data transmission method - Google Patents

Data transmission method Download PDF

Info

Publication number
CN105356975A
CN105356975A CN201510851406.5A CN201510851406A CN105356975A CN 105356975 A CN105356975 A CN 105356975A CN 201510851406 A CN201510851406 A CN 201510851406A CN 105356975 A CN105356975 A CN 105356975A
Authority
CN
China
Prior art keywords
terminal
data
request
compensation
sequence number
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
Application number
CN201510851406.5A
Other languages
Chinese (zh)
Inventor
尹绍华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201510851406.5A priority Critical patent/CN105356975A/en
Publication of CN105356975A publication Critical patent/CN105356975A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0079Formats for control data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements 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/1607Details of the supervisory signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention discloses a data transmission method, comprising: sending, by a first terminal, data information to a second terminal, wherein the data information comprises data frames and serial numbers in one-to-one correspondence to the data frames; receiving a compensation request sent by the second terminal, wherein the compensation request is a certain number of bytes and is used for requesting the first terminal to send lost data frames corresponding to lost serial numbers to the second terminal; and sending the lost data frames to the second terminal. The method effectively solves the problem of packet loss compensation, and ensures original transmission quality by adding a little bandwidth under the acceptable delay requirement.

Description

A kind of data transmission method
Technical field
The present invention relates to the communications field, particularly relate to a kind of data transmission method.
Background technology
The present stage construction of internet is become better and better, for the audio/video communication extensive use based on internet provides the foundation.In order to reach the requirement of real-time audio and video communication, at present when internet transmissions, adopt User Datagram Protocol (UserDatagramProtocol, UDP) to transmit data more.And the feature of udp protocol to ensure that data arrive the other side reliably, therefore can because the reason of network cause packet loss in transmitting procedure, cause receiving terminal can not the data of complete decoding transmission, the effect therefore communicated be affected.There is mosaic in such as video, audio frequency occurs losing the phenomenons such as sound.Present stage generally takes the method for retransmitted packet and the method for forward error to solve packet loss problem.Retransmitted packet method is very effective to packet loss, but when not receiving confirmation of receipt, can ceaselessly retransmit this bag until receive opposite end confirmation.For real-time communication, repeating transmission can cause larger time delay, and blindly retransmits the burden that can increase bandwidth, causes more packet loss.The method of forward error is on the basis of transmission n frame, in addition subsidiary relevant checking data, and like this when Network Packet Loss, receiving terminal can recover relevant obliterated data by the data of these verifications.The delay of the method for forward error little but its recover methods of data and differ, can quality problems be caused.
Summary of the invention
The object of this invention is to provide a kind of passing through data frame number, the data transmission method of re-transmitting lost data targetedly.
For achieving the above object, first aspect, the invention provides a kind of data transmission method, comprising:
First terminal to second terminal send data message, wherein, data message comprise Frame and with Frame sequence number one to one;
Receiving the compensation request that the second terminal sends, wherein, compensate the byte of request for some, sending the lost data frames corresponding with losing sequence number for asking first terminal to the second terminal;
Lost data frames is sent to the second terminal.
Alternatively, data message comprises voice data information and video data information.
Alternatively, receive the compensation request that the second terminal sends, comprising:
First audio communication module of first terminal receives the request of compensation;
The lost data frames corresponding with losing sequence number is determined according to the request that compensates.
Alternatively, before determining the lost data frames corresponding with losing sequence number according to the request that compensates, also comprise:
The the first video communication module asking to be sent to first terminal will be compensated.
Alternatively, before receiving the compensation request of the second terminal transmission, method also comprises:
Data cached information.
Alternatively, the transmission of the compensation request transmitted by audio transmission channel is less than 60ms/ frame interval time.
On the other hand, present invention also offers a kind of data transmission method, comprising:
Second terminal receive first terminal send data message, wherein, data message comprise Frame and with Frame sequence number one to one;
The loss sequence number corresponding according to the lost data frames in sequence number determination data transmission procedure;
Sending to first terminal the request of compensation, wherein, compensate the byte of request for some, sending the lost data frames corresponding with losing sequence number for asking first terminal;
Receive the lost data frames that first terminal sends.
Alternatively, data message comprises voice data information and video data information.
Alternatively, send to first terminal the request of compensation, comprising:
Voice data information is enrolled in compensation request, and is sent to first terminal by audio transmission channel, wherein, compensate the byte of request for some.
Alternatively, the compensation request transmitted by audio transmission channel is sent and is less than 60ms/ frame interval time.
Based on the data transmission method of technique scheme, by data frame number, targetedly re-transmitting lost data, effectively solve the problem of Discarded Packets compensation, under acceptable postpones, ensure that original transmission quality.
Accompanying drawing explanation
The schematic process diagram of a kind of data transmission method that Fig. 1 provides for the embodiment of the present invention;
A kind of indicative flowchart receiving compensation requesting method that Fig. 2 provides for the embodiment of the present invention;
A kind of indicative flowchart receiving compensation requesting method that Fig. 3 provides for the embodiment of the present invention;
The schematic process diagram of a kind of data transmission method that Fig. 4 provides for the embodiment of the present invention;
A kind of indicative flowchart sending compensation requesting method that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Clearer for what make the technical scheme of the embodiment of the present invention and advantage express, below by drawings and Examples, technical scheme of the present invention is described in further detail.
The schematic process diagram of a kind of data transmission method that Fig. 1 provides for the embodiment of the present invention, as shown in Figure 1, the method can comprise:
Step 110, first terminal to second terminal send data message, wherein, data message comprise Frame and with Frame sequence number one to one.
Step 120, second terminal receive first terminal send data message, wherein, data message comprise Frame and with Frame sequence number one to one.
Step 130, the loss sequence number that the second terminal is corresponding according to the lost data frames in sequence number determination data transmission procedure.
Step 140, the second terminal sends to first terminal the request of compensation, wherein, compensates the byte of request for some, sends the lost data frames corresponding with losing sequence number for asking first terminal.
Step 150, first terminal receives the compensation request that the second terminal sends, and wherein, compensates the byte of request for some, sends the lost data frames corresponding with losing sequence number for asking first terminal to the second terminal.
Step 160, first terminal sends lost data frames to the second terminal.
Particularly, first terminal according to prefabricated information, can also determine whether resend lost data frames to the second terminal, such as, when network delay is excessive, then abandons resending lost data frames, thus reduces the burden of the network bandwidth.
Step 170, receives the lost data frames that first terminal sends.
Alternatively, data message comprises voice data information and video data information.
Alternatively, the transmission of the compensation request transmitted by audio transmission channel is less than 60ms/ frame interval time.
The data transmission method that the embodiment of the present invention provides, by data frame number, targetedly re-transmitting lost data, effectively solves the problem of Discarded Packets compensation, the basis of receive delay can ensure that original transmission quality.
In addition, the transmission intercal due to audio stream is less than the transmission intercal of video flowing, transmits by being enrolled in audio stream by the Frame of loss, thus reaches the effect object not affecting slowed-down video repeating transmission compensated video frames.
A kind of indicative flowchart receiving compensation requesting method that Fig. 2 provides for the embodiment of the present invention, as shown in Figure 2, step 150, receives the compensation request that the second terminal sends, can comprise:
Step 151, the first audio communication module of first terminal receives the request of compensation.
Step 153, determines the lost data frames corresponding with losing sequence number according to the request that compensates.
The data transmission method that the embodiment of the present invention provides, by data frame number, targetedly re-transmitting lost data, effectively solves the problem of Discarded Packets compensation, and decreases delay while the original transmission quality of guarantee.
In addition, the transmission intercal due to audio stream is less than the transmission intercal of video flowing, transmits by being enrolled in audio stream by the Frame of loss, thus reaches the effect object not affecting slowed-down video repeating transmission compensated video frames.
A kind of indicative flowchart receiving compensation requesting method that Fig. 3 provides for the embodiment of the present invention, as shown in Figure 3, receive and compensate requesting method except the step included by above-described embodiment, in step 153, before determining the lost data frames corresponding with losing sequence number according to the request that compensates, the method also can comprise:
Step 152, will compensate the first video communication module asking to be sent to first terminal.
The data transmission method that the embodiment of the present invention provides, by data frame number, targetedly re-transmitting lost data, effectively solves the problem of Discarded Packets compensation, and decreases delay while the original transmission quality of guarantee.
In addition, the transmission intercal due to audio stream is less than the transmission intercal of video flowing, transmits by being enrolled in audio stream by the Frame of loss, thus reaches the effect object not affecting slowed-down video repeating transmission compensated video frames.
The schematic process diagram of a kind of data transmission method that Fig. 4 provides for the embodiment of the present invention, as shown in Figure 4, the method except the step included by above-described embodiment, in step 150, before first terminal receives the compensation request of the second terminal transmission, the method also can comprise:
Step 180, data cached information.
The data transmission method that the embodiment of the present invention provides, first terminal sends data cached information after data message to the second terminal, and the data message of buffer memory is retained within the preset time, to retransmit this data message.
The data transmission method that the embodiment of the present invention provides, by data frame number, targetedly re-transmitting lost data, effectively solves the problem of Discarded Packets compensation, and decreases delay while the original transmission quality of guarantee.
In addition, the transmission intercal due to audio stream is less than the transmission intercal of video flowing, transmits by being enrolled in audio stream by the Frame of loss, thus reaches the effect object not affecting slowed-down video repeating transmission compensated video frames.
A kind of indicative flowchart sending compensation requesting method that Fig. 5 provides for the embodiment of the present invention, as shown in Figure 5, step 140, the second terminal sends to first terminal the request of compensation, can comprise:
Step 141, enrolls voice data information by compensation request.
Step 142, is sent to first terminal by compensation request by audio transmission channel, wherein, compensates the byte of request for some.
The data transmission method that the embodiment of the present invention provides, by data frame number, targetedly re-transmitting lost data, effectively solves the problem of Discarded Packets compensation, and decreases delay while the original transmission quality of guarantee.In addition, the transmission intercal due to audio stream is less than the transmission intercal of video flowing, transmits by being enrolled in audio stream by the Frame of loss, thus reaches the effect object not affecting slowed-down video repeating transmission compensated video frames.
It should be noted last that; above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted; although with reference to preferred embodiment to invention has been detailed description; be understood that; the foregoing is only the specific embodiment of the present invention, the protection range be not intended to limit the present invention, within the spirit and principles in the present invention all; any amendment of making, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a data transmission method, comprising:
First terminal to second terminal send data message, wherein, described data message comprise Frame and with described Frame sequence number one to one;
Receive the compensation request that described second terminal sends, wherein, the byte that described compensation request is some, sends the lost data frames corresponding with losing sequence number for asking described first terminal to described second terminal;
Described lost data frames is sent to described second terminal.
2. method according to claim 1, is characterized in that, described data message comprises voice data information and video data information.
3. method according to claim 2, is characterized in that, the compensation request that described second terminal of described reception sends, and comprising:
First audio communication module of described first terminal receives described compensation request;
The lost data frames corresponding with described loss sequence number is determined according to described compensation request.
4. method according to claim 3, is characterized in that, described determine the lost data frames corresponding with described loss sequence number according to described compensation request before, also comprise:
The first video communication module that request is sent to described first terminal is compensated by described.
5. method according to claim 4, is characterized in that, before the compensation request that described second terminal of described reception sends, described method also comprises:
Data message described in buffer memory.
6. method according to claim 5, is characterized in that, the described transmission compensating request transmitted by described audio transmission channel is less than 60ms/ frame interval time.
7. a data transmission method, comprising:
Second terminal receive first terminal send data message, wherein, described data message comprise Frame and with described Frame sequence number one to one;
The loss sequence number corresponding according to the lost data frames in described sequence number determination data transmission procedure;
Send to described first terminal the request of compensation, wherein, the byte that described compensation request is some, sends the described lost data frames corresponding with described loss sequence number for asking described first terminal;
Receive the described lost data frames that described first terminal sends.
8. method according to claim 7, is characterized in that, described data message comprises voice data information and video data information.
9. method according to claim 8, is characterized in that, described compensation to described first terminal transmission is asked, and comprising:
Described voice data information is enrolled in described compensation request, and is sent to described first terminal by audio transmission channel, wherein, the byte that described compensation request is some.
10. method according to claim 9, is characterized in that, the described compensation request transmitted by described audio transmission channel is sent and is less than 60ms/ frame interval time.
CN201510851406.5A 2015-11-27 2015-11-27 Data transmission method Pending CN105356975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510851406.5A CN105356975A (en) 2015-11-27 2015-11-27 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510851406.5A CN105356975A (en) 2015-11-27 2015-11-27 Data transmission method

Publications (1)

Publication Number Publication Date
CN105356975A true CN105356975A (en) 2016-02-24

Family

ID=55332860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510851406.5A Pending CN105356975A (en) 2015-11-27 2015-11-27 Data transmission method

Country Status (1)

Country Link
CN (1) CN105356975A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322836A (en) * 2018-01-24 2018-07-24 北京奇艺世纪科技有限公司 A kind of method and device of data transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845611A (en) * 2005-04-08 2006-10-11 华为技术有限公司 Video transmission protection method based on H.264
CN103501259A (en) * 2013-10-21 2014-01-08 腾讯科技(深圳)有限公司 Packet loss detection method and detector
CN103957169A (en) * 2014-05-14 2014-07-30 上海复兰信息科技有限公司 Reliable UDP achievement method based on reserve request

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845611A (en) * 2005-04-08 2006-10-11 华为技术有限公司 Video transmission protection method based on H.264
CN103501259A (en) * 2013-10-21 2014-01-08 腾讯科技(深圳)有限公司 Packet loss detection method and detector
CN103957169A (en) * 2014-05-14 2014-07-30 上海复兰信息科技有限公司 Reliable UDP achievement method based on reserve request

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322836A (en) * 2018-01-24 2018-07-24 北京奇艺世纪科技有限公司 A kind of method and device of data transmission

Similar Documents

Publication Publication Date Title
US10645448B2 (en) Buffer-aware transmission rate control for real-time video streaming system
US7693058B2 (en) Method for enhancing transmission quality of streaming media
CN104159166B (en) Based on the live video data transmission error control method of mobile network's packet loss state
US20130246876A1 (en) Method and Arrangement for Retransmission Control
CN102790666A (en) Error control method, receiving end, transmitting end and system
CN113346982B (en) Data transmission method, data receiving method and data receiving device
CN101552660A (en) Method as well as device and communication system for retransmitting streaming media data
CN102404187A (en) Congestion control method and system as well as network equipment
CN107257270A (en) Data transmission method and system based on hybrid automatic repeat-request
WO2011079822A1 (en) Method and apparatus for ensuring quality of service of internet protocol television live broadcast service
KR100732661B1 (en) Receiver control isochronous transmission
CN108965775A (en) Method of adjustment, device and the storage medium of data packetloss processing strategie
CN105430320A (en) Audio and video media data transmission method based on UDP (User Datagram Protocol) and TCP (Transmission Control Protocol)
EP3632020A1 (en) System and method for mitigating impact of hybrid automatic repeat request (harq) on delay sensitive bearers
US20180331880A1 (en) Method and system for streaming low-delay high-definition video with partially reliable transmission
KR102002939B1 (en) On-demand file recovery methods and systems
WO2011026414A1 (en) Data transmission method and apparatus thereof
CN110602568B (en) A method, device and storage device for packet loss and retransmission of video stream transmission based on RTP
CN105356975A (en) Data transmission method
CN104539402A (en) Broadcast transmission method for use in wireless network
CN109274980A (en) A kind of data transmission method for being quickly broadcast live
CN102694635B (en) Method and device for generating and using selective acknowledgement (SACK) option
JP4655870B2 (en) Packet transmission / reception system and elapsed time measurement method
JP2006304138A (en) Selective retransmission type communication device
JP2009260719A (en) Data transmission terminal device and data transmission method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160224