CN106101108A - The transmission of media data packet, restoration methods and device - Google Patents

The transmission of media data packet, restoration methods and device Download PDF

Info

Publication number
CN106101108A
CN106101108A CN201610427132.1A CN201610427132A CN106101108A CN 106101108 A CN106101108 A CN 106101108A CN 201610427132 A CN201610427132 A CN 201610427132A CN 106101108 A CN106101108 A CN 106101108A
Authority
CN
China
Prior art keywords
packet
media data
media
data packet
data
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
CN201610427132.1A
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.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and Technology Co ltd
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 Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201610427132.1A priority Critical patent/CN106101108A/en
Publication of CN106101108A publication Critical patent/CN106101108A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Abstract

The invention discloses the transmission of a kind of media data packet, restoration methods and device.Said method includes: sends media data packet to receiving terminal one by one, and caches media data packet the most to be sent, wherein, all carries media type identification number, serial number, timestamp and data source identification in each media data packet;When the number of the media data packet in caching reaches the media data packet sum that current group sets, the media data packet using this packet generates redundant data packets, and send redundant data packets, wherein, redundant data packets carries the serial number of total medium packet, load data mask in medium type mask, timestamp mask, data source identification, this packet.Use technique scheme, repaired increasing the situation that one group of media data packet is lost at random on the basis of certain bandwidth single bag, it is to avoid the packet loss impact on receiving terminal.

Description

The transmission of media data packet, restoration methods and device
Technical field
The present invention relates to the communications field, in particular to transmission, restoration methods and the device of a kind of media data packet.
Background technology
Streaming Media is the media formats using streaming manner to play on the internet.Streaming Media is again streaming video, Media provider uses video delivery server to be sent with media data packet form by program, is sent on the Internet.Receiving terminal After these data are decompressed by user by decompression apparatus, program will show as before transmission.
But, stream medium data transmission on the internet often causes packet to occur because of the unreliability of network The phenomenons such as delay, packet loss, thus the transmission on data causes impact.Without certain data recovery technique support, number The play stream media data of smoothness is would become hard to according to receiving terminal.
Summary of the invention
Present invention is primarily targeted at and disclose the transmission of a kind of media data packet, restoration methods and device, with at least Solving stream medium data transmission on the internet in correlation technique often causes packet to go out because of the unreliability of network The now phenomenon such as delay, packet loss, without certain data recovery technique support, data receiver would become hard to the play stream of smoothness The problem of media data.
According to an aspect of the present invention, the sending method of a kind of media data packet is disclosed.
The sending method of the media data packet according to the present invention includes: step A, one by one to receiving terminal send media data Bag, and cache media data packet the most to be sent, wherein, each described media data packet all carries medium type mark Knowledge number, serial number, timestamp and data source identification;Step B, set when the number of media data packet in caching reaches current group During fixed media data packet sum, use the media data packet of this packet to generate redundant data packets, and send described redundant data Bag, wherein, carries the matchmaker that the media type identification number of the media data packet according to this packet generates in described redundant data packets Body Type Mask, the timestamp mask of timestamp generation of media data packet according to this packet, the media data packet of this packet Data source identification, the serial number of total medium packet in this packet, load data according to the media data packet of this packet The load data mask generated.
According to a further aspect in the invention, the sending method of a kind of media data packet is disclosed.
The sending method of the media data packet according to the present invention includes: step A, one by one reception come from the media of transmitting terminal Packet, wherein, all carries media type identification number, serial number, timestamp and data source in each described media data packet Mark;Step B, reception come from the redundant data packets of the described media data packet place packet correspondence of transmitting terminal, wherein, described Redundant data packets carries medium type mask, root that the media type identification number of the media data packet according to this packet generates According to this packet media data packet timestamp generate timestamp mask, this packet media data packet data source identification, The load data that the serial number of total medium packet in this packet, load data according to the media data packet of this packet generate Mask;Step C, judge whether not receive the situation of single medium packet in the media data packet of this packet;Step D, if there is not receiving the situation of single medium packet, use described redundant data packets and the total medium number received According to bag, the described single medium packet not received is recovered.
According to another aspect of the invention, the dispensing device of a kind of media data packet is disclosed.
The dispensing device of the media data packet according to the present invention includes: the first sending module, for sending out to receiving terminal one by one Send media data packet, wherein, each described media data packet all carries media type identification number, serial number, timestamp and Data source identification;Cache module, for caching media data packet the most to be sent;Generation module, for matchmaker in the buffer When the number of volume data bag reaches the media data packet sum that current group sets, the media data packet of this packet is used to generate superfluous Remaining packet;Second sending module, is used for sending described redundant data packets, wherein, carries basis in described redundant data packets Medium type mask that the media type identification number of the media data packet of this packet generates, according to the media data packet of this packet Total medium packet in the timestamp mask of timestamp generation, the data source identification of media data packet of this packet, this packet Serial number, the load data mask that generates according to the load data of the media data packet of this packet.
In accordance with a further aspect of the present invention, the recovery device of a kind of media data packet is disclosed.
The recovery device of the media data packet according to the present invention includes: the first receiver module, comes from for receiving one by one The media data packet of transmitting terminal, wherein, each described media data packet all carries media type identification number, serial number, time Between stamp and data source identification;Second receiver module, right for receiving the described media data packet place packet coming from transmitting terminal The redundant data packets answered, wherein, carries the medium type mark of the media data packet according to this packet in described redundant data packets Know number medium type mask generated, the timestamp mask of timestamp generation of media data packet according to this packet, this packet The data source identification of media data packet, the serial number of total medium packet in this packet, media data according to this packet The load data mask that the load data of bag generates;Judge module, for judging whether not receive the media of this packet The situation of single medium packet in packet;Recover module, for there is the situation not receiving single medium packet Time, use described redundant data packets and the total medium packet received that the described single medium packet not received is entered Row recovers.
Compared with prior art, the embodiment of the present invention at least have the advantage that increase on the basis of certain bandwidth right One group of media data packet loses the situation of single bag at random and repaired, it is to avoid the packet loss impact on receiving terminal, and receiving terminal is permissible Smooth broadcasting media data.
Accompanying drawing explanation
Fig. 1 is the flow chart of the sending method of media data packet according to embodiments of the present invention;
Fig. 2 is the flow chart of the restoration methods of media data packet according to embodiments of the present invention;
Fig. 3 is the structured flowchart of the dispensing device of media data packet according to embodiments of the present invention;
Fig. 4 is the structured flowchart of the dispensing device of media data packet according to the preferred embodiment of the invention;
Fig. 5 is the structured flowchart of the recovery device of media data packet according to embodiments of the present invention;And
Fig. 6 is the structured flowchart of the recovery device of media data packet according to the preferred embodiment of the invention.
Detailed description of the invention
Below in conjunction with Figure of description, the specific implementation of the present invention is made a detailed description.
Fig. 1 is the flow chart of the sending method of media data packet according to embodiments of the present invention.As it is shown in figure 1, these media The sending method of packet includes:
Step S101, send media data packet to receiving terminal one by one, and cache media data packet the most to be sent, its In, each described media data packet all carries media type identification number, serial number, timestamp and data source identification;
Step S103, reach the media data packet sum that current group sets when the number of media data packet in caching Time, use the media data packet of this packet to generate redundant data packets, and send described redundant data packets, wherein, described redundant digit According to the medium type mask of the media type identification number generation carrying the media data packet according to this packet in bag, according to this point The timestamp mask of timestamp generation of the media data packet of group, the data source identification of media data packet of this packet, this packet The load data mask that the serial number of middle total medium packet, load data according to the media data packet of this packet generate.
The method shown in Fig. 1 of employing, generates a redundant data packets at transmitting terminal and is sent to receiving terminal, this redundant data packets In carry relevant information, receiving terminal can be by the relevant information of this redundant data packets and one group of media number associated there The single medium packet of loss is recovered, to one group of media data on the basis of increasing certain bandwidth according to the relevant information of bag Bag is lost the situation of single bag at random and is repaired, it is to avoid the packet loss impact on receiving terminal, broadcasting matchmaker that receiving terminal can be smooth Volume data.
Preferably, in step S103, use the media data packet of this packet to generate redundant data packets and may further include: The media type identification number of each media data packet of this packet is carried out step-by-step XOR obtain described medium type mask and write Enter described redundant data packets;The timestamp of each media data packet of this packet carries out step-by-step XOR obtain described timestamp and cover Code also writes described redundant data packets;The data source identification of each media data packet of this packet is write described redundant data Bag;The serial number of total medium packet in this packet is write described redundant data packets;By each media data of this packet The load data of bag carries out step-by-step XOR and obtains load data mask and write described redundant data packets.
During being preferable to carry out, media data wraps in the media number being divided into often when being transmitted on network one by one Being transmitted according to bag, media data packet produces one by one, produces a media data packet and just sends one, caches simultaneously This media data packet.Predetermined some, as a packet, is divided into some groups serial number continuous print media data packet, Until after the media data packet number produced reaches a packet size, just by the media data packet of caching, (packet has many Individual) generate a redundant data packets, and this redundant data packets is sent out, then empty the packet of caching, again from the next one Packet starts caching after producing, so move in circles.
Wherein, the process generating redundant data packets is as follows: the media type identification of each group of media data packet is carried out by Position XOR obtains a medium type mask and this mask is write redundant data packets, the timestamp to each group of media data packet Carry out step-by-step XOR obtain a timestamp mask and this mask is also write redundant data packets, then each group of media data The data source identification of bag writes redundant data packets as the data source identification of redundant data packets, then writes this in redundant data packets The all sequences number of one group of media data packet, finally carries out XOR the data also step-by-step of the payload segment of media data packet and obtains Load data mask, and this load data mask is write redundant data packets.
When this redundant data packets is sent to receiving terminal, receiving terminal judges to have in one group of media data packet a media number Loss is there occurs, then just can recover loss by this redundant data packets and other media data packet do not lost according to bag Media data packet.
Such as, being one group by n continuous print media data packet, the serial number of media data packet is respectively as follows: Seq1, Seq2,…,Seqn;The medium type of media data packet is respectively as follows: Pt1, Pt2 ... Ptn;The timestamp of media data packet is respectively For: Ts1, Ts2 ... Tsn;The data source identification of media data packet is Ssrc;The load data of media data packet is respectively as follows: Payload1,Payload2,…Payloadn;Corresponding redundant data packets is Redundant.
The most then medium type mask is: Ptmask=(Pt1 | Pt2 | ... | Ptn);
Timestamp mask is: Tsmask=(Ts1 | Ts2 | ... | Tsn);
Load data mask is: Payloadmask=(Payload1 | Payload2 | ... | Payloadn);
And the composition of redundant data packets Redundant is as follows:
<Ptmask><Tsmask><Ssrc><Seq1,Seq2,…,Seqn><Payloadmask>;
Wherein, above-mentioned " | " is XOR symbol in logic, and XOR is also named and partly adds computing, its algorithm be equivalent to without The binary addition of carry.
Preferably, after step S103 sends described redundant data packets, also include: empty this packet in described caching Total medium packet;Circulation performs step S101 and step S103, until the media data packet of all packets is sent.
Fig. 2 is the flow chart of the restoration methods of media data packet according to embodiments of the present invention.As in figure 2 it is shown, these media The restoration methods of packet includes:
Step S201, one by one reception come from the media data packet of transmitting terminal, wherein, in each described media data packet all Carry media type identification number, serial number, timestamp and data source identification;
Step S203, reception come from the redundant data packets of the described media data packet place packet correspondence of transmitting terminal, its In, described redundant data packets carries the medium type that the media type identification number of the media data packet according to this packet generates Timestamp mask that mask, timestamp according to the media data packet of this packet generate, the data of the media data packet of this packet Source mark, the serial number of total medium packet in this packet, load data according to the media data packet of this packet generate Load data mask;
Step S205, judge whether not receive the feelings of single medium packet in the media data packet of this packet Condition;
Step S207, if there is not receiving the situation of single medium packet, use described redundant data packets and connect The described single medium packet not received is recovered by the total medium packet received.
The method shown in Fig. 2 of employing, can pass through a redundant data packets and one group of media data packet associated there Several media data packet recover the single medium packet of loss.To one group of media on the basis of increasing certain bandwidth Packet loses the situation of single bag at random and repaired, it is to avoid the packet loss impact on receiving terminal.
Preferably, in step S201, described redundant data packets and the media data packet received is used not to receive described To single medium packet carry out recovery and include:
The data source identification of the media data packet of this packet is read from described redundant data packets, and by this data source identification Described single medium packet is write with the serial number of this media data packet not received;Wherein, media data packet be all by Send one by one according to order, if there is the discontinuous situation of serial number of the media data packet received, then illustrate to exist Packet loss or the situation of delay, the most i.e. may determine that the serial number of the media data packet not received.
The media type identification number of the total medium packet received and the medium type of described redundant data packets are covered Code carries out step-by-step XOR and obtains the media type identification number of described single medium packet and write described single medium packet;
The timestamp of the total medium packet received and the timestamp mask of described redundant data packets are carried out step-by-step XOR obtains the timestamp of described single medium packet and writes described single medium packet;
The load data of the total medium packet received and the load data mask of described redundant data packets are carried out Step-by-step XOR obtains the load data of described single medium packet and writes described single medium packet.
Preferably, use described redundant data packets and the total medium packet that receives to described do not receive single After media data packet is recovered, it is also possible to including: circulation performs described S201, step S203, step S205 and step S207, until the single medium data packet recovery not received in each packet is complete.
Such as, when receiving terminal have received above-mentioned Redundant redundant data packets, and the institute in addition to i-th media bag There is n-1 media bag, it is possible to recover i-th media bag by Redundant and n-1 the media bag received.
The composition of i-th media bag is as follows:
<Pti><Tsi><Ssrc><Seqi><Payloadi>, wherein Seqi and Ssrc can be directly from Redundant In obtain, as long as so recovering Pti, Tsi and Payloadi.
Pti=(Ptmask | Pt1 | ... | Pti-1 | Pti+1 | ... | Ptn);
Tsi=(Tsmask | Ts1 | ... | Tsi-1 | Tsi+1 | ... | Tsn);
Payloadi=(Payloadmask | Payload1 | ... | Payloadi-1 | Payloadi+1 | ... | Payloadn);
So all data of i-th media bag can recover.
Fig. 3 is the structured flowchart of the dispensing device of media data packet according to embodiments of the present invention.As it is shown on figure 3, this matchmaker The dispensing device of volume data bag includes: the first sending module 30, for sending media data packet to receiving terminal one by one, wherein, respectively Individual described media data packet all carries media type identification number, serial number, timestamp and data source identification;Cache module 32, for caching media data packet the most to be sent;Generation module 34, the number for media data packet in the buffer reaches To current group set media data packet sum time, use this packet media data packet generate redundant data packets;Second Send module 36, be used for sending described redundant data packets, wherein, described redundant data packets carry the media number according to this packet The medium type mask that generates according to the media type identification number of bag, according to the timestamp of the media data packet of this packet generate time Between stab the serial number of total medium packet in mask, the data source identification of media data packet of this packet, this packet, according to should The load data mask that the load data of the media data packet of packet generates.
Using the dispensing device shown in Fig. 3, dispensing device generates a redundant data packets and is sent to receiving terminal, this redundant digit Carrying relevant information according in bag, receiving terminal can be by the relevant information of this redundant data packets and one group of matchmaker associated there The relevant information of volume data bag recovers the single medium packet of loss, to one group of media on the basis of increasing certain bandwidth Packet loses the situation of single bag at random and repaired, it is to avoid the packet loss impact on receiving terminal.
Preferably, as shown in Figure 4, described generation module 34 may further include: the first writing unit 340, and being used for will The media type identification number of each media data packet of this packet carries out step-by-step XOR and obtains described medium type mask and write Described redundant data packets;Second writing unit 342, different for the timestamp of each media data packet of this packet is carried out step-by-step Or obtain described timestamp mask and write described redundant data packets;3rd writing unit 344, for by each matchmaker of this packet The data source identification of volume data bag writes described redundant data packets;4th writing unit 346, for by total medium in this packet The serial number of packet writes described redundant data packets;5th writing unit 348, for by each media data packet of this packet Load data carry out step-by-step XOR and obtain load data mask and write described redundant data packets.
Fig. 5 is the structured flowchart of the recovery device of media data packet according to embodiments of the present invention.As it is shown in figure 5, this matchmaker The recovery device of volume data bag includes: the first receiver module 50, for receiving the media data packet coming from transmitting terminal one by one, its In, each described media data packet all carries media type identification number, serial number, timestamp and data source identification;Second Receiver module 52, for receiving the redundant data packets that the described media data packet place packet coming from transmitting terminal is corresponding, wherein, The medium type of the media type identification number generation carrying the media data packet according to this packet in described redundant data packets is covered Timestamp mask that code, timestamp according to the media data packet of this packet generate, the data source of the media data packet of this packet The load that mark, the serial number of total medium packet in this packet, load data according to the media data packet of this packet generate Lotus data mask;Judge module 54, single medium number in the media data packet judging whether not receive this packet Situation according to bag;Recover module 56, for when there is the situation not receiving single medium packet, using described redundant digit According to bag and the total medium packet received, the described single medium packet not received is recovered.
Preferably, as shown in Figure 6, described recovery module 56 includes: the 6th writing unit 560, for from described redundant digit According to bag reads the data source identification of media data packet of this packet, and by this data source identification and the media data that do not receives The serial number of bag writes described single medium packet;7th writing unit 562, for the total medium packet that will receive Media type identification number and the medium type mask of described redundant data packets carry out step-by-step XOR and obtain described single medium number According to bag media type identification number and write described single medium packet;8th writing unit 564, for complete by receive The timestamp of portion's media data packet and the timestamp mask of described redundant data packets carry out step-by-step XOR and obtain described single medium The timestamp of packet also writes described single medium packet;9th writing unit 566, for the total medium that will receive The load data of packet and the load data mask of described redundant data packets carry out step-by-step XOR and obtain described single medium number According to bag load data and write described single medium packet.
In sum, the above-described embodiment provided by the present invention, can be by a redundant data packets and associated therewith Several bags of one group of media data packet of connection recover the single medium packet of loss.On the basis of increasing certain bandwidth The situation that one group of media data packet is lost single bag at random repaired, it is to avoid the packet loss impact on receiving terminal.
The several specific embodiments being only the present invention disclosed above, but, the present invention is not limited to this, any ability What the technical staff in territory can think change all should fall into protection scope of the present invention.

Claims (10)

1. the sending method of a media data packet, it is characterised in that including:
Step A, send media data packet to receiving terminal one by one, and cache media data packet the most to be sent, wherein, each Described media data packet all carries media type identification number, serial number, timestamp and data source identification;
Step B, when the number of media data packet in caching reaches the media data packet sum that current group sets, using should The media data packet of packet generates redundant data packets, and sends described redundant data packets, wherein, carries in described redundant data packets Medium type mask that the media type identification number of the media data packet of this packet with good grounds generates, media number according to this packet According to total medium in the timestamp mask of timestamp generation wrapped, the data source identification of media data packet of this packet, this packet The load data mask that the serial number of packet, load data according to the media data packet of this packet generate.
Method the most according to claim 1, it is characterised in that use the media data packet of this packet to generate redundant data packets Including:
The media type identification number of each media data packet of this packet is carried out step-by-step XOR and obtains described medium type mask And write described redundant data packets;
The timestamp of each media data packet of this packet carries out step-by-step XOR obtain described timestamp mask and write described Redundant data packets;
The data source identification of each media data packet of this packet is write described redundant data packets;
The serial number of total medium packet in this packet is write described redundant data packets;
The load data of each media data packet of this packet carries out step-by-step XOR obtain load data mask and write described Redundant data packets.
Method the most according to claim 1, it is characterised in that after sending described redundant data packets, also include:
Empty the total medium packet of this packet in described caching;
Circulation performs described A and step B, until the media data packet of all packets is sent.
4. the restoration methods of a media data packet, it is characterised in that including:
Step A, one by one reception come from the media data packet of transmitting terminal, wherein, all carry in each described media data packet Media type identification number, serial number, timestamp and data source identification;
Step B, reception come from the redundant data packets of the described media data packet place packet correspondence of transmitting terminal, wherein, described Redundant data packets carries medium type mask, root that the media type identification number of the media data packet according to this packet generates According to this packet media data packet timestamp generate timestamp mask, this packet media data packet data source identification, The load data that the serial number of total medium packet in this packet, load data according to the media data packet of this packet generate Mask;
Step C, judge whether not receive the situation of single medium packet in the media data packet of this packet;
Step D, if there is not receiving the situation of single medium packet, use described redundant data packets and receive complete The described single medium packet not received is recovered by portion's media data packet.
Method the most according to claim 4, it is characterised in that use described redundant data packets and the media data received Bag carries out recovery to the described single medium packet not received and includes:
The data source identification of the media data packet of this packet is read from described redundant data packets, and by this data source identification and not The serial number of the media data packet received writes described single medium packet;
The media type identification number of the total medium packet received and the medium type mask of described redundant data packets are entered Row step-by-step XOR obtains the media type identification number of described single medium packet and writes described single medium packet;
The timestamp of the total medium packet received and the timestamp mask of described redundant data packets are carried out step-by-step XOR Obtain the timestamp of described single medium packet and write described single medium packet;
The load data of the total medium packet received and the load data mask of described redundant data packets are carried out step-by-step XOR obtains the load data of described single medium packet and writes described single medium packet.
Method the most according to claim 4, it is characterised in that use described redundant data packets and the total medium received After the described single medium packet not received is recovered by packet, also include: circulation perform described A, step B, Step C and step D, until the single medium data packet recovery not received in each packet is complete.
7. the dispensing device of a media data packet, it is characterised in that including:
First sending module, for sending media data packet to receiving terminal one by one, wherein, all takes in each described media data packet With media type identification number, serial number, timestamp and data source identification;
Cache module, for caching media data packet the most to be sent;
Generation module, the number for media data packet in the buffer reaches the media data packet sum that current group sets Time, use the media data packet of this packet to generate redundant data packets;
Second sending module, is used for sending described redundant data packets, wherein, carries according to this packet in described redundant data packets The media type identification number of media data packet generate medium type mask, according to the timestamp of the media data packet of this packet The sequence of total medium packet in the timestamp mask of generation, the data source identification of media data packet of this packet, this packet Number, the load data mask that generates according to the load data of the media data packet of this packet.
Device the most according to claim 7, it is characterised in that described generation module includes:
First writing unit, obtains for the media type identification number of each media data packet of this packet is carried out step-by-step XOR Described medium type mask also writes described redundant data packets;
Second writing unit, obtains the described time for the timestamp of each media data packet of this packet is carried out step-by-step XOR Stamp mask also writes described redundant data packets;
3rd writing unit, for writing described redundant data packets by the data source identification of each media data packet of this packet;
4th writing unit, for writing described redundant data packets by the serial number of total medium packet in this packet;
5th writing unit, obtains charge number for the load data of each media data packet of this packet is carried out step-by-step XOR According to mask and write described redundant data packets.
9. the recovery device of a media data packet, it is characterised in that including:
First receiver module, for receiving the media data packet coming from transmitting terminal, wherein, each described media data packet one by one In all carry media type identification number, serial number, timestamp and data source identification;
Second receiver module, for receiving the redundant data that the described media data packet place packet coming from transmitting terminal is corresponding Bag, wherein, carries the matchmaker that the media type identification number of the media data packet according to this packet generates in described redundant data packets Body Type Mask, the timestamp mask of timestamp generation of media data packet according to this packet, the media data packet of this packet Data source identification, the serial number of total medium packet in this packet, load data according to the media data packet of this packet The load data mask generated;
Judge module, the feelings of single medium packet in the media data packet judging whether not receive this packet Condition;
Recover module, for when there is the situation not receiving single medium packet, using described redundant data packets and connecing The described single medium packet not received is recovered by the total medium packet received.
Device the most according to claim 9, it is characterised in that described recovery module includes:
6th writing unit, for reading the data source identification of the media data packet of this packet from described redundant data packets, and This data source identification and the serial number of media data packet not received are write described single medium packet;
7th writing unit, for the media type identification number of total medium packet that will receive and described redundant data packets Medium type mask carry out step-by-step XOR and obtain the media type identification number of described single medium packet and write described list Individual media data packet;
8th writing unit, for the timestamp of total medium packet that will receive and the timestamp of described redundant data packets Mask carries out step-by-step XOR and obtains the timestamp of described single medium packet and write described single medium packet;
9th writing unit, for the load data of total medium packet that will receive and the load of described redundant data packets Data mask carries out step-by-step XOR and obtains the load data of described single medium packet and write described single medium packet.
CN201610427132.1A 2016-06-15 2016-06-15 The transmission of media data packet, restoration methods and device Pending CN106101108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610427132.1A CN106101108A (en) 2016-06-15 2016-06-15 The transmission of media data packet, restoration methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610427132.1A CN106101108A (en) 2016-06-15 2016-06-15 The transmission of media data packet, restoration methods and device

Publications (1)

Publication Number Publication Date
CN106101108A true CN106101108A (en) 2016-11-09

Family

ID=57236592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610427132.1A Pending CN106101108A (en) 2016-06-15 2016-06-15 The transmission of media data packet, restoration methods and device

Country Status (1)

Country Link
CN (1) CN106101108A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547467A (en) * 2018-12-19 2019-03-29 北京东土科技股份有限公司 Media data error correction transmission and error correction method, device, equipment and storage medium
CN110278058A (en) * 2019-06-05 2019-09-24 华为技术有限公司 A kind of redundancy feedback method and communication device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009663A (en) * 2007-01-19 2007-08-01 深圳市深信服电子科技有限公司 The method for improving the data transfer speed via the redundancy
WO2007089183A1 (en) * 2006-02-03 2007-08-09 Telefonaktiebolaget Lm Ericsson (Publ) Redundancy activation for voice over internet transmissions
CN101567794A (en) * 2008-04-23 2009-10-28 中广电信有限公司 Method and device for network transmission of digital movie
CN101719809A (en) * 2009-11-25 2010-06-02 中兴通讯股份有限公司 Method and system for recovering lost media data packet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007089183A1 (en) * 2006-02-03 2007-08-09 Telefonaktiebolaget Lm Ericsson (Publ) Redundancy activation for voice over internet transmissions
CN101009663A (en) * 2007-01-19 2007-08-01 深圳市深信服电子科技有限公司 The method for improving the data transfer speed via the redundancy
CN101567794A (en) * 2008-04-23 2009-10-28 中广电信有限公司 Method and device for network transmission of digital movie
CN101719809A (en) * 2009-11-25 2010-06-02 中兴通讯股份有限公司 Method and system for recovering lost media data packet

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547467A (en) * 2018-12-19 2019-03-29 北京东土科技股份有限公司 Media data error correction transmission and error correction method, device, equipment and storage medium
CN110278058A (en) * 2019-06-05 2019-09-24 华为技术有限公司 A kind of redundancy feedback method and communication device
CN110278058B (en) * 2019-06-05 2020-11-03 华为技术有限公司 Redundant information feedback method and communication device
WO2020244642A1 (en) * 2019-06-05 2020-12-10 华为技术有限公司 Redundancy information feedback method and communication apparatus

Similar Documents

Publication Publication Date Title
CN101359981B (en) Method, apparatus and system for data packet redundant encoding and decoding
CN101267210B (en) Data decoding and coding and receiving/transmission method and device
JP4321284B2 (en) Streaming data transmission apparatus and information distribution system
US9100180B2 (en) Method, device and communication system for retransmission based on forward error correction
CN106911426A (en) The method and apparatus of data is transmitted in a kind of flexible Ethernet
JP5795446B2 (en) Content delivery system with allocation of source data and repair data between HTTP servers
US20090063928A1 (en) Fec transmission processing apparatus and method and program recording medium
CN111953449B (en) Check code processing method, electronic equipment and storage medium
RU2009134145A (en) REDUCING THE INFLUENCE OF LOSS OF PACKAGES IN VIDEO TRANSMISSIONS
CN1964336A (en) System for transmitting single carrier and transmitting method thereof
CN101631064A (en) Method, device and system for sending and receiving data
KR20130050875A (en) Apparatus and method for transmitting/receiving application layer-forward error correction packet in multimedia communication system
CN102931997B (en) Message compression
CN106162374A (en) The intracoded frame robust transmission method of a kind of low complex degree and system
CN106101108A (en) The transmission of media data packet, restoration methods and device
CN113810769A (en) Data transmission method and system
CN102484616B (en) Transmitting terminal and band estimation method
CN103281178A (en) Concealment communication method and system
CN101540778A (en) Method, device and system for transmitting data
JP6371830B2 (en) Forward error correction packet transmission method
CN111225077B (en) Network distribution method, device and system for Internet of things equipment
KR20150046700A (en) Scheme for transmitting and receiving packets in communication system using error correcting codes
CN100384118C (en) Method and apparatus for processing general framing procedure frame
KR102464803B1 (en) A method and apparatus for the delivery of multimedia services using application layer forward error correction scheme
JP2005323171A (en) Transmitter, error correcting device, network connector and method for relaying packet

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: 20161109